/* Shared language routing control; intentionally isolated from page layout. */
.site-language-toggle{position:fixed;z-index:100;width:44px;height:44px;right:40px;top:102px;display:grid;place-items:center;border:1px solid var(--line,rgba(0,0,0,.16));background:var(--surface,rgba(255,255,255,.68));color:var(--text,var(--ink,#111));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:50%;font:700 11px/1 Inter,"PingFang SC","Microsoft YaHei",sans-serif;text-decoration:none;cursor:pointer;transition:transform .25s,background .25s,color .25s}
.site-language-toggle:hover{transform:scale(1.08)}.site-language-toggle:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:3px}
.site-language-toggle--offset{right:24px;top:130px}
html[lang="en"] .zh-wrap,html[lang="en"] .zh-only,html[lang="en"] .bilingual-block-hover .cn,html[lang="en"] .cap-zh,html[lang="en"] .num-cn,html[lang="en"] p.cn{display:none!important}
html[lang="zh-CN"] .en-text,html[lang="zh-CN"] .en-only,html[lang="zh-CN"] .bi-en,html[lang="zh-CN"] .bilingual-block-hover .en,html[lang="zh-CN"] .cap-en{display:none!important}
html[lang="zh-CN"] .zh-wrap,html[lang="zh-CN"] .zh-only,html[lang="zh-CN"] .bilingual-block-hover .cn,html[lang="zh-CN"] .cap-zh,html[lang="zh-CN"] .num-cn,html[lang="zh-CN"] p.cn{display:block!important;max-height:none!important;opacity:1!important;transform:none!important;overflow:visible!important;margin-top:0!important}
html[lang="zh-CN"] .zh-text{opacity:1!important;transform:none!important}
html[lang="zh-CN"] #numbers .num-cn,html[lang="zh-CN"] #approach .cn,html[lang="zh-CN"] #effie .cn{display:none!important}
html[lang="zh-CN"] #trusted .testimonial-quote.en{display:none!important}
html[lang="zh-CN"] #trusted .testimonial-quote.cn{display:block!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;opacity:1!important}
#top .hero-sub.zh,#top .summary .cn{display:none!important}
/* Creative OS: keep dark media/UI edges legible on the black theme without
   affecting geometry or the light theme. Mirrors Reco's rgba white edge. */
:root[data-theme="dark"] #collect .ref-card,
:root[data-theme="dark"] #extract .analysis-card,
:root[data-theme="dark"] #extract .desktop-shot,
:root[data-theme="dark"] #create .directions article,
:root[data-theme="dark"] #create .directions article:nth-child(2) img,
:root[data-theme="dark"] #create .agent-line,
:root[data-theme="dark"] #workspace .final-desktop,
:root[data-theme="dark"] #workspace .phone{outline:1px solid rgba(255,255,255,.20);outline-offset:-1px}
@media(max-width:768px){.site-language-toggle{right:20px;top:116px;width:44px;height:44px}.site-language-toggle--offset{right:14px}}
@media(prefers-reduced-motion:reduce){.site-language-toggle{transition:none}}
/* zh: 短引文下推荐卡留白过大，收紧 */
html[lang="zh-CN"] .testimonial-card{min-height:240px}
