.game-shell.crt-shell[data-crt-console][data-crt-keyboard]{--crt-keys-row:46px;--crt-keys-gap:4px;--crt-keys-pad:5px;--crt-keys-height:calc(var(--crt-keys-row) * 3 + var(--crt-keys-gap) * 2 + var(--crt-keys-pad) * 2 + 16px);--crt-keys-width:min(100vw, 640px);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.game-shell.crt-shell[data-crt-console][data-crt-words][data-crt-keyboard]{--crt-main-width:min(calc(100vw - var(--crt-words-inset)), calc(100svh - var(--crt-words-touch) - 118px - var(--crt-words-height) - var(--crt-keys-height) - 8px), 880px)}.crt-keyboard{box-sizing:border-box;width:var(--crt-keys-width);height:var(--crt-keys-height);background-blend-mode:multiply, normal, normal;background:url(/textures/crt-plastic-grain.svg) 0 0/128px 128px,radial-gradient(at 18% 5%,#fffae48c,#0000 60%),linear-gradient(145deg,#e9d9b9,#cdb68e);border:1px solid #e4d4b5;border-radius:14px;flex:none;order:1;padding:7px;box-shadow:inset 0 2px 2px #fff4d7,inset -2px -4px 5px #5b442447,0 3px #806b4b,0 8px 24px #0006}.crt-kb-deck{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:var(--crt-keys-row);gap:var(--crt-keys-gap);box-sizing:border-box;height:100%;padding:var(--crt-keys-pad);font-synthesis:none;background:linear-gradient(#171912,#0d0f0b);border:2px solid #26271e;border-radius:9px;font-family:CRT Plex Mono,ui-monospace,monospace;display:grid;box-shadow:inset 0 2px 4px #000,0 0 0 1px #726445;container-type:inline-size}.crt-kb-key{color:#f6efcf;min-width:0;font:inherit;font-size:min(calc(var(--crt-keys-row) * .46), 4.6cqw);white-space:nowrap;cursor:var(--cursor-pointer,pointer);touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:linear-gradient(#2c2e23,#1c1e16);border:1px solid #4b4a37;border-radius:4px;margin:0;padding:0;font-weight:700;line-height:1;transition:transform 80ms ease-out;box-shadow:inset 0 1px #5a5944,0 2px #050604}.crt-kb-key[data-crt-key=submit]{color:#8cf7b4;font-size:min(calc(var(--crt-keys-row) * .36), 3.9cqw);border-color:#31ed82;grid-column:span 3}.crt-kb-key[data-blank]{opacity:.25;box-shadow:none;cursor:default}.crt-kb-key[data-off]:not([data-blank]){opacity:.4;cursor:default}.crt-keyboard[data-enabled] .crt-kb-key:active:not([data-off]){transform:scale(.94)}.crt-kb-key[data-lit]{color:#06140c;opacity:1;background:#31ed82;border-color:#31ed82;transform:scale(.94);box-shadow:0 0 10px #31ed828c}.crt-keyboard:not([data-enabled]) .crt-kb-key:not([data-lit],[data-blank]){opacity:.55;cursor:default}.crt-keyboard[data-hidden] .crt-kb-deck>*{visibility:hidden}@media (width<=999px),(aspect-ratio<=6/5){.game-shell.crt-shell[data-crt-console][data-crt-words][data-crt-keyboard]{--crt-words-height:calc(var(--crt-words-font) * 1.4 + 26px)}.game-shell[data-crt-keyboard] .crt-word-panel .crt-word-list{display:none}.game-shell[data-crt-keyboard] .crt-word-panel .crt-word-header{border-bottom:0}}@media (width<=720px) and (orientation:portrait){.game-shell.crt-shell[data-crt-console][data-crt-words][data-crt-keyboard]{--crt-main-width:100vw;--crt-keys-width:100vw;justify-content:space-between}.game-shell[data-crt-console][data-crt-keyboard] .shell-frame{flex:0 auto;min-height:0;max-height:none}.game-shell[data-crt-console][data-crt-keyboard] .shell-frame>:not(main){flex-shrink:0}.game-shell[data-crt-console][data-crt-keyboard] .shell-frame>main{aspect-ratio:auto;height:calc(var(--crt-main-width) - 28px);flex:0 auto;min-height:140px}}@media (width>=600px){.game-shell.crt-shell[data-crt-console][data-crt-keyboard]{--crt-keys-row:52px;--crt-keys-gap:6px}}@media (width>=1000px) and (aspect-ratio>=6/5){.game-shell.crt-shell[data-crt-console][data-crt-words][data-crt-keyboard]{--crt-main-width:min(calc(100vw - 280px), calc(100svh - var(--crt-words-touch) - 150px - var(--crt-keys-height) - 16px), 880px);--crt-keys-width:var(--crt-main-width);grid-template-rows:auto auto}.game-shell[data-crt-keyboard] .crt-keyboard{grid-area:2/1}.game-shell[data-crt-keyboard] .crt-word-panel{grid-row:1}}:root[data-classroom] .game-shell.crt-shell[data-crt-console][data-crt-keyboard]{--crt-keys-row:64px;--crt-keys-gap:8px}@media (prefers-reduced-motion:reduce){.crt-kb-key{transition:none}.crt-kb-key[data-lit],.crt-keyboard[data-enabled] .crt-kb-key:active:not([data-off]){transform:none}}@media (width>=1180px) and (aspect-ratio>=3/2){.crt-station:has(.game-shell[data-crt-keyboard]){--station-keys-row:48px;--station-keys-height:calc(var(--station-keys-row) * 3 + 54px);--station-header-gap:14px;--station-screen-gap:14px;--station-monitor-width:min(960px, calc(( 100svh - var(--station-touch) - 120px - var(--station-header-gap) - var(--station-screen-gap) - var(--station-counter-height) - var(--station-keys-height) ) / (1 - var(--station-bezel-ratio) * 2)), calc((100vw - 48px - var(--station-reserve) - var(--station-gap) * 2) * .675675), calc(100vw - 48px - var(--station-reserve) - var(--station-gap) * 2 - 320px))}.crt-station:has(.game-shell[data-crt-keyboard]) .disk-rack{height:calc(var(--station-housing-height) + var(--station-keys-height))}.crt-station .crt-station-monitor .game-shell.crt-shell[data-crt-console][data-crt-keyboard]{--crt-keys-row:var(--station-keys-row);--crt-keys-gap:6px;--crt-keys-width:min(calc(var(--station-monitor-width) + var(--station-reserve)), 820px);flex-direction:column;align-items:flex-start;gap:16px}.crt-station-monitor .game-shell[data-crt-keyboard] .crt-word-panel{bottom:var(--station-keys-height)}:root[data-classroom] .crt-station:has(.game-shell[data-crt-keyboard]){--station-keys-row:64px}}.game-shell[data-crt-console] .crt-result{color:#f6efcf;font-synthesis:none;text-shadow:0 0 4px #7affad29;background:radial-gradient(at 45% 35%,#07331b,#03180d 85%);flex-direction:column;min-height:0;padding:clamp(12px,2.5svh,24px);font-family:CRT Plex Mono,ui-monospace,monospace;font-weight:400;line-height:1.4;display:flex;position:absolute;inset:0;container:crt-result/inline-size}.crt-result-header{background:linear-gradient(#186d3b40,#062f1940);border:1px solid #40ba75;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:4px 12px;min-height:clamp(40px,12cqw,70px);padding:8px 12px;display:flex;box-shadow:inset 0 0 12px #31ed820d}.game-shell[data-crt-console] .crt-result-header h1{color:#f6efcf;overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(16px,4.6cqw,32px);font-weight:400}.crt-result-header>span{color:#9ee6b4;font-size:clamp(12px,3.3cqw,23px)}.crt-result-body{flex-direction:column;flex:1;min-height:0;display:flex}.crt-result-report{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#40ba75 transparent;flex:1;min-height:0;overflow-y:auto}.crt-result-stats{flex-shrink:0;margin:clamp(12px,4cqw,28px) 0 0}.crt-result-row{border-bottom:1px solid #40ba7599;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;min-height:clamp(42px,12cqw,78px);padding:8px 2px;font-size:clamp(14px,4cqw,28px);display:flex}.crt-result-row dt{overflow-wrap:anywhere;min-width:0}.crt-result-row dd{color:#b6f5c9;font-variant-numeric:tabular-nums;white-space:nowrap;margin:0 0 0 auto}.crt-result-record{flex-shrink:0;justify-content:center;align-items:center;gap:clamp(8px,3cqw,22px);margin:0;padding-block:clamp(10px,3cqw,20px);display:flex}.crt-result-trophy{color:#7dffaf;filter:drop-shadow(0 0 3px #31ed8259);flex-shrink:0;width:clamp(48px,15cqw,104px);height:auto}.crt-result-record-copy{min-width:0}.game-shell[data-crt-console] .crt-result-record h2{color:#ffdc8a;text-shadow:0 0 5px #ffcf7733;margin:0 0 6px;font-size:clamp(16px,4.4cqw,30px);font-weight:400}.crt-result-record p{overflow-wrap:anywhere;margin:0;font-size:clamp(12px,3.2cqw,22px)}.crt-result-hint{color:#9ee6b4;text-align:center;text-wrap:balance;border-top:1px solid #40ba75;flex-shrink:0;padding:clamp(10px,3cqw,20px) 4px 0;font-size:clamp(12px,3.6cqw,24px)}.crt-result-progress{color:#a4e5b9;overflow-wrap:anywhere;margin:0 0 10px;font-size:clamp(12px,3cqw,22px)}.crt-result-progress a{text-underline-offset:3px;text-decoration:underline;display:inline-block;position:relative}.crt-result-progress a:after{content:"";height:max(40px,100%);position:absolute;inset:0 -6px auto}.crt-result-progress span{color:#e8bb70}.crt-result-spark{transform-box:fill-box;transform-origin:50%;animation:1.4s ease-out both crt-result-sparkle}.crt-result-spark-two{animation-delay:.16s}.crt-result-spark-three{animation-delay:.32s}@keyframes crt-result-sparkle{0%{opacity:.3;transform:scale(.5)}35%{opacity:1;transform:scale(1.15)}to{opacity:.65;transform:scale(1)}}.crt-result[data-reduced-motion] .crt-result-spark{animation:none}@media (prefers-reduced-motion:reduce){.crt-result-spark{animation:none}}
