.cw-root{--cw-word-em:4.1;--cw-word-space:.8;--cw-hud:var(--text-hud);--cw-min:var(--text-min);flex-direction:column;align-items:center;display:flex;position:absolute;inset:0}.cw-root[data-locale=en]{--cw-word-em:4.45}.tutorial-area .cw-root{--cw-hud:min(var(--text-hud), 6cqw);--cw-min:min(var(--text-min), 4.5cqw);container-type:size}.tutorial-area .cw-strip{--answer-h:min(22cqw, 128px);--text-instruction:min(5.5cqw, 28px);--gutter:min(4cqw, 24px)}:root[data-color-cues] .cw-root{--cw-word-space:.66}.cw-root [data-ink=red]{--cw-ink:var(--cw-ink-red)}.cw-root [data-ink=blue]{--cw-ink:var(--cw-ink-blue)}.cw-root [data-ink=yellow]{--cw-ink:var(--cw-ink-yellow)}.cw-root [data-ink=white]{--cw-ink:var(--cw-ink-white)}.cw-root [data-ink=green]{--cw-ink:var(--cw-ink-green)}.cw-board{--cw-chrome:calc(var(--cw-hud) * 2 + var(--cw-min) * 3 + 40px);--cw-card-w:min(100cqw, calc((100cqh - var(--cw-chrome)) * 1.5));--cw-card-h:calc(var(--cw-card-w) / 3.2);flex-direction:column;flex:auto;align-items:center;width:100%;min-height:0;display:flex;container-type:size}.cw-head{height:calc(var(--cw-hud) * 1.4);justify-content:space-between;align-items:center;gap:.5em;margin-bottom:4px;display:flex}.cw-pill-slot{flex:none;align-items:center;display:flex}.cw-pill{--glow-size:calc(var(--cw-hud) * 1.6);font-size:var(--cw-hud);font-variant-numeric:tabular-nums;color:var(--tile-ink);background:var(--tile-correct);animation:game-pop var(--pop-duration) ease-out;border-radius:999px;padding:.1em .7em;font-weight:900;line-height:1.3}:root[data-color-cues] .cw-pill{box-shadow:inset 0 0 0 max(2px, calc(var(--glow-size) * .07)) #0b111c99}.cw-pill[data-still],.cw-cards[data-still]{animation:none}.cw-center{min-height:0;padding-bottom:var(--cw-min);flex-direction:column;flex:auto;justify-content:center;display:flex}.cw-stack{width:var(--cw-card-w);flex-direction:column;display:flex}.cw-label{font-size:var(--cw-min);color:var(--color-play-muted);white-space:nowrap;line-height:1.4}.cw-label[data-for=ink]{text-align:right;margin-top:4px}.cw-pair{position:relative}.cw-cards{flex-direction:column;gap:12px;animation:80ms ease-out cw-enter;display:flex}.cw-card{height:var(--cw-card-h);background:var(--tile-board);border:2px solid var(--tile-board-line);border-radius:0;justify-content:center;align-items:center;display:flex;overflow:hidden}.cw-content{font-size:calc(var(--cw-card-w) * var(--cw-word-space) / var(--cw-word-em));justify-content:center;align-items:center;gap:.2em;display:flex}.cw-word{font-size:calc(var(--cw-card-w) * var(--cw-word-space) / var(--cw-word-em));letter-spacing:.01em;white-space:nowrap;color:var(--cw-ink);font-weight:900;line-height:1}.cw-content .cw-word{font-size:1em}.cw-swatches{gap:calc(var(--cw-card-h) * .12);display:flex}.cw-swatch{width:calc(var(--cw-card-h) * .45);height:calc(var(--cw-card-h) * .45);background:var(--cw-ink)}.cw-marker{width:.5em;height:.5em;fill:var(--cw-ink);flex:none;display:none}:root[data-color-cues] .cw-marker{display:block}.cw-frame{--glow-size:var(--cw-card-h);border:3px solid var(--tile-correct);pointer-events:none;opacity:0;position:absolute;inset:-6px}.cw-frame[data-result=correct]{--glow-color:var(--tile-correct);box-shadow:var(--glow-active);animation:.45s linear cw-frame}.cw-frame[data-result=wrong]{--glow-color:var(--tile-wrong);border-color:color-mix(in srgb, var(--tile-wrong) var(--glow-matte-surface-opacity), var(--tile-board));box-shadow:var(--glow-matte);animation:.45s linear cw-frame}.cw-strip{flex:none;width:max(100%,76cqw)}.cw-legend{padding:0 var(--gutter);font-size:var(--cw-min);color:var(--color-play-ink);flex-wrap:wrap;justify-content:center;gap:.3em .6em;margin:0 0 8px;list-style:none;display:none}:root[data-color-cues] .cw-legend{display:flex}.cw-legend-item{align-items:center;gap:.3em;display:flex}.cw-legend .cw-marker{width:.9em;height:.9em}.cw-answer{--glow-size:var(--answer-h)}.cw-answer[data-feedback=correct][data-flip="0"]{animation:cw-press-0 var(--pop-duration) ease-out}.cw-answer[data-feedback=correct][data-flip="1"]{animation:cw-press-1 var(--pop-duration) ease-out}.cw-answer[data-feedback=wrong][data-flip="0"]{animation:.3s linear cw-wrong-0}.cw-answer[data-feedback=wrong][data-flip="1"]{animation:.3s linear cw-wrong-1}.cw-root[data-reduced-motion] .cw-cards,.cw-root[data-reduced-motion] .cw-pill,.cw-root[data-reduced-motion] .cw-answer[data-feedback=correct]{animation:none}.cw-root[data-reduced-motion] .cw-frame[data-result]{animation:.25s step-end cw-frame-steady!important}.cw-root[data-reduced-motion] .cw-answer[data-feedback=wrong][data-flip="0"]{animation:.3s step-end cw-wrong-steady-0!important}.cw-root[data-reduced-motion] .cw-answer[data-feedback=wrong][data-flip="1"]{animation:.3s step-end cw-wrong-steady-1!important}@keyframes cw-enter{0%{opacity:.4;transform:scale(.97)}}@keyframes cw-frame{0%,55%{opacity:1}to{opacity:0}}@keyframes cw-frame-steady{0%{opacity:1}to{opacity:0}}@keyframes cw-press-0{0%{transform:scale(var(--press-scale))}}@keyframes cw-press-1{0%{transform:scale(var(--press-scale))}}@keyframes cw-wrong-0{0%,99%{background:var(--cue-hatch), color-mix(in srgb, var(--tile-wrong) var(--glow-matte-surface-opacity), var(--tile-board));border-color:var(--tile-wrong)}0%{transform:translate(0)}16%{transform:translate(-6px)}33%{transform:translate(6px)}50%{transform:translate(-6px)}66%{transform:translate(6px)}83%{transform:translate(-6px)}to{transform:translate(0)}}@keyframes cw-wrong-1{0%,99%{background:var(--cue-hatch), color-mix(in srgb, var(--tile-wrong) var(--glow-matte-surface-opacity), var(--tile-board));border-color:var(--tile-wrong)}0%{transform:translate(0)}16%{transform:translate(-6px)}33%{transform:translate(6px)}50%{transform:translate(-6px)}66%{transform:translate(6px)}83%{transform:translate(-6px)}to{transform:translate(0)}}@keyframes cw-wrong-steady-0{0%{background:var(--cue-hatch), color-mix(in srgb, var(--tile-wrong) var(--glow-matte-surface-opacity), var(--tile-board));border-color:var(--tile-wrong);box-shadow:inset 0 0 0 6px var(--tile-wrong)}}@keyframes cw-wrong-steady-1{0%{background:var(--cue-hatch), color-mix(in srgb, var(--tile-wrong) var(--glow-matte-surface-opacity), var(--tile-board));border-color:var(--tile-wrong);box-shadow:inset 0 0 0 6px var(--tile-wrong)}}.game-shell[data-game=color-word][data-crt-console]{--tile-correct:#31ed82}.game-shell[data-game=color-word][data-crt-console] main{--crt-scan-opacity:10%}.game-shell[data-game=color-word][data-crt-console] .play-area{aspect-ratio:1;width:min(100cqw,100cqh)}.game-shell[data-game=color-word][data-crt-console] .cw-root{--cw-g:clamp(8px, 2.6cqw, 22px);--cw-hud:clamp(12px, 4.2cqw, 36px);--cw-min:clamp(12px, 4.2cqw, 34px);--cw-key-h:clamp(50px, 14cqw, 112px);--cw-word-em:4.35;--cw-stroke:.07em;gap:var(--cw-g);padding:var(--cw-g);font-synthesis:none;font-family:CRT Plex Mono,ui-monospace,monospace;container-type:size}.game-shell[data-game=color-word][data-crt-console] .cw-root[data-locale=en]{--cw-word-em:3.75}:root[data-classroom] .game-shell[data-game=color-word][data-crt-console] .cw-root{--cw-hud:clamp(14px, 5.4cqw, 44px);--cw-min:clamp(14px, 5.4cqw, 44px);--cw-key-h:clamp(56px, 17cqw, 136px)}.game-shell[data-game=color-word][data-crt-console] .tutorial-area .cw-root{--cw-g:2.4cqw;--cw-hud:5.2cqw;--cw-min:min(var(--text-instruction), 5.2cqw);--cw-key-h:14cqw}.game-shell[data-game=color-word][data-crt-console] .cw-board{--cw-chrome:calc(var(--cw-hud) * 1.4 + var(--cw-min) * 1.4 + 8px + var(--cw-g));--cw-card-w:min(100cqw, calc((100cqh - var(--cw-chrome)) / 2 * 3.2))}.game-shell[data-game=color-word][data-crt-console] .cw-center{padding-bottom:0}.game-shell[data-game=color-word][data-crt-console] .cw-label{color:var(--crt-surface-muted)}.game-shell[data-game=color-word][data-crt-console] .cw-pill{border-radius:0;padding:0 .5em;font-weight:400;line-height:1.25}.game-shell[data-game=color-word][data-crt-console] .cw-cards{gap:var(--cw-g)}.game-shell[data-game=color-word][data-crt-console] .cw-card{background:var(--tile-board);box-shadow:inset 0 0 0 1px var(--crt-surface-line);border:0}.game-shell[data-game=color-word][data-crt-console] .cw-word{letter-spacing:0;-webkit-text-stroke:var(--cw-stroke) currentcolor;paint-order:stroke fill;font-weight:400}.game-shell[data-game=color-word][data-crt-console] .cw-frame{inset:calc(var(--cw-g) * -.5);border-width:2px}.game-shell[data-game=color-word][data-crt-console] .cw-frame[data-result=wrong]{border-color:var(--tile-wrong)}.game-shell[data-game=color-word][data-crt-console] .cw-strip{--gutter:0px;--answer-h:var(--cw-key-h);--text-instruction:var(--cw-min);width:100%}.game-shell[data-game=color-word][data-crt-console] .cw-strip>div{gap:var(--cw-g)}.game-shell[data-game=color-word][data-crt-console] .cw-legend{margin:0 0 var(--cw-g);color:var(--crt-surface-ink);gap:.1em .5em;padding:0;line-height:1.2}.game-shell[data-game=color-word][data-crt-console] .cw-legend-item{gap:.25em}.game-shell[data-game=color-word][data-crt-console] .cw-legend .cw-marker{width:.8em;height:.8em}:root[data-color-cues] .game-shell[data-game=color-word][data-crt-console] .cw-root{--cw-word-space:.69}.game-shell[data-game=color-word][data-crt-console] .cw-answer{border:1px solid var(--crt-surface-line);background:var(--crt-surface-panel);color:var(--crt-surface-ink);border-radius:0;flex:1 1 0;font-weight:400}
