html:not(.maerd-zh) .wp-site-blocks .maerd-copy-zh{display:none!important}
html.maerd-zh .wp-site-blocks .maerd-copy-en{display:none!important}
html.maerd-zh .wp-site-blocks .maerd-copy-zh{font-family:'GenJyuu Gothic',sans-serif;letter-spacing:normal}
.maerd-lang-switch{position:fixed;right:24px;bottom:24px;z-index:50;background:#fff;border:1px solid #bbb;border-radius:4px;padding:10px 14px;display:flex;gap:8px;font:16px/1.4 Arial,'GenJyuu Gothic',sans-serif;color:#111}
.maerd-lang-switch a{color:inherit;text-decoration:none;padding:4px}
.maerd-lang-switch a[aria-current=true]{text-decoration:underline;text-underline-offset:5px}
.maerd-lang-switch a:hover,.maerd-lang-switch a:focus-visible{background:#ed352f;color:white}
.editor-styles-wrapper .maerd-copy-en,.editor-styles-wrapper .maerd-copy-zh{display:inline!important}
.editor-styles-wrapper .maerd-copy-zh{color:#565656;margin-left:.5em;border-left:1px solid #bbb;padding-left:.5em}
.editor-styles-wrapper .maerd-copy-en:before{content:'EN · ';font:10px Arial;color:#777}
.editor-styles-wrapper .maerd-copy-zh:before{content:'中 · ';font:10px Arial;color:#777}
@media(max-width:600px){.maerd-lang-switch{right:12px;bottom:12px;padding:6px 10px}}

/* v0.8: Chinese logo uses the source aspect ratio; English branding is unchanged. */
.maerd-logo-zh{display:block;width:180px;height:auto;max-width:100%;object-fit:contain}
.maerd-logo-wrap{display:inline-block;vertical-align:middle}
.maerd-header .maerd-logo-zh{width:138px}
.work-synopsis{max-width:72ch;margin:0 0 32px;line-height:1.7}
@media(max-width:600px){.inner-header .maerd-logo-zh{width:145px}.maerd-header .maerd-logo-zh{width:95px}.work-synopsis{margin-bottom:24px}}
