.mw-hero { background: linear-gradient(120deg, #075985, #0d9488); }
.mw-matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: .55rem; max-height: 330px; overflow-y: auto; }
.mw-match { text-align: left; border: 1px solid #d8e3e8; background: #fff; border-radius: .7rem; padding: .7rem .85rem; min-height: 76px; }
.mw-match:hover, .mw-match:focus-visible { border-color: #0d9488; background: #f0fdfa; }
.mw-match[aria-pressed="true"] { border: 2px solid #0d9488; background: #f0fdfa; }
.mw-match strong { display: block; font-size: 1.35rem; line-height: 1.4; }
.mw-match span { color: #53636b; font-size: .87rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-pair { font-size: clamp(2.3rem, 8vw, 3.5rem); font-weight: 700; color: #0f766e; letter-spacing: .08em; }
.mw-reading { color: #475569; margin-bottom: .6rem; }
.mw-prompt { font-size: 1.35rem; font-weight: 600; margin: 1.25rem 0; }
.mw-prompt strong { color: #0f766e; font-size: 1.8rem; }
.mw-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; max-width: 440px; }
.mw-option { padding: .7rem; border: 1px solid #b8ced4; border-radius: .7rem; background: white; font-size: 1.35rem; }
.mw-option:hover:not(:disabled), .mw-option:focus-visible { background: #f0fdfa; border-color: #0d9488; }
.mw-option.is-correct { border-color: #198754; background: #e9f7ee; }
.mw-option.is-wrong { border-color: #dc3545; background: #fff0f0; }
.mw-feedback { min-height: 3.2rem; margin: 1rem 0 .4rem; }
@media (max-width: 400px) { .mw-matches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Classifier Sprint ─────────────────────────────────────────────
   Every effect is chrome: it never takes a click (pointer-events: none), it is spawned inside
   #mwStage and nowhere near an ad unit, and it is switched off under prefers-reduced-motion. */
.mw-stage { position: relative; overflow: hidden; }
.mw-bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.mw-band { text-align: left; border: 1px solid #cbd5e1; background: #fff; border-radius: .7rem; padding: .6rem .75rem; }
.mw-band strong { display: block; }
.mw-band span { display: block; font-size: .8rem; color: #53636b; }
.mw-band[aria-pressed="true"] { border: 2px solid #0d9488; background: #f0fdfa; }
.mw-hud { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.mw-band-pill { background: #0f766e; color: #fff; border-radius: 999px; padding: .1rem .6rem; font-weight: 600; }
.mw-lives { color: #dc2626; letter-spacing: .1em; font-size: 1.05rem; }
.mw-combo { font-weight: 700; color: #b45309; display: inline-block; }
.mw-timer-track { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: .75rem; }
.mw-timer { height: 100%; width: 100%; background: #0d9488; transition: background-color .3s; }
.mw-timer.mw-timer-low { background: #f59e0b; }
.mw-card { position: relative; }
.mw-prompt { display: flex; flex-direction: column; gap: .15rem; margin: .5rem 0 1rem; }
.mw-q-lead { font-size: .95rem; color: #53636b; font-weight: 500; }
.mw-q-phrase { color: #0f766e; font-size: clamp(2rem, 7vw, 2.6rem); letter-spacing: .06em; }
.mw-q-hint { color: #475569; font-size: 1rem; font-weight: 400; }
.mw-option { position: relative; display: flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .12s; }
.mw-option:active:not(:disabled) { transform: scale(.96); }
.mw-key { position: absolute; left: .55rem; top: .35rem; font-size: .7rem; color: #94a3b8; }
.mw-opt-hanzi { font-size: 1.6rem; }
.mw-banner { position: absolute; top: -.25rem; left: 50%; transform: translateX(-50%); background: #f59e0b; color: #111827;
    font-weight: 700; padding: .25rem .8rem; border-radius: 999px; z-index: 2; white-space: nowrap; pointer-events: none; }
.mw-final { font-size: 2.6rem; font-weight: 800; color: #0f766e; }
.mw-missed-item { padding: .35rem 0; border-bottom: 1px solid #e2e8f0; }
.mw-missed-phrase { font-size: 1.25rem; font-weight: 600; margin-right: .25rem; }
.mw-particle { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 3;
    animation: mw-burst .8s ease-out forwards; }
.mw-confetti { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; pointer-events: none; z-index: 3;
    animation: mw-fall 2.2s ease-in forwards; }
.mw-shake { animation: mw-shake .4s ease; }
.mw-pop { animation: mw-pop .35s ease-out; }
@keyframes mw-burst { from { transform: translate(-50%, -50%); opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 30px)); opacity: 0; } }
@keyframes mw-fall { from { transform: translateY(0) rotate(0); opacity: 1; } to { transform: translateY(420px) rotate(540deg); opacity: 0; } }
@keyframes mw-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes mw-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.mw-banner.mw-pop { animation-name: mw-pop-banner; }
@keyframes mw-pop-banner { 0% { transform: translateX(-50%) scale(.85); } 60% { transform: translateX(-50%) scale(1.12); } 100% { transform: translateX(-50%) scale(1); } }
[data-bs-theme="dark"] .mw-band, [data-bs-theme="dark"] .mw-option, [data-bs-theme="dark"] .mw-match { background: #1e293b; color: #e2e8f0; border-color: #334155; }
@media (max-width: 400px) { .mw-bands { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .mw-particle, .mw-confetti, .mw-shake, .mw-pop, .mw-banner.mw-pop { animation: none; }
    .mw-option, .mw-timer { transition: none; }
}
