/* AW Chinese V8.5 — accessibility fixes; does not touch copybook */
html[data-theme="dark"],html.dark,[data-theme="dark"]{--aw-cloud-canvas:#111B2B;--aw-cloud-paper:#202D40;--aw-cloud-text:#F1F5FF;--aw-cloud-subtext:#C4D0E2;--aw-cloud-mist:#2D4159;--aw-cloud-border:#40516A;--bg:#111B2B;--ink:#F1F5FF;--muted:#C4D0E2;--line:#40516A;--white:#202D40; color-scheme:dark}
html[data-theme="dark"] body,html.dark body{background:#111B2B!important;color:#F1F5FF!important}
html[data-theme="dark"] :is(#main,.game-main) :is(h1,h2,h3,h4,.description,.muted,.eyebrow,.section-head,.small-label),html.dark :is(#main,.game-main) :is(h1,h2,h3,h4,.description,.muted,.eyebrow,.section-head,.small-label){color:#F1F5FF!important}
html[data-theme="dark"] :is(#main,.game-main) p,html.dark :is(#main,.game-main) p{color:#C4D0E2}
html[data-theme="dark"] :is(#main,.game-main) :is(.card,.v8-panel,.setup-card,.play-card,.summary-card,.grammar-card,.grammar-item),html.dark :is(#main,.game-main) :is(.card,.v8-panel,.setup-card,.play-card,.summary-card,.grammar-card,.grammar-item){background:#202D40!important;color:#F1F5FF!important;border-color:#40516A!important}
html[data-theme="dark"] :is(#main,.game-main) :is(input,select,textarea),html.dark :is(#main,.game-main) :is(input,select,textarea){background:#26364C!important;color:#F1F5FF!important;border-color:#60738C!important}
html[data-theme="dark"] :is(#main,.game-main) :is(.card,.v8-panel,.grammar-card,.grammar-item) :is(small,span,p),html.dark :is(#main,.game-main) :is(.card,.v8-panel,.grammar-card,.grammar-item) :is(small,span,p){color:#C4D0E2}
html[data-theme="dark"] :is(#main,.game-main) :is(a,button):focus-visible{outline-color:#B2C9FF!important}
.aw-v85-setting-note{display:block;font-size:12px;line-height:1.4;color:#52657c;margin-top:5px}
html[data-theme="dark"] .aw-v85-setting-note{color:#C4D0E2}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
