:root{--ink:#173653;--muted:#627581;--paper:#fffdf7;--sky:#e9f3f2;--mint:#b8eee0;--coral:#ff8868;--gold:#ffc85c;--line:#dbe6e4;--font:ui-rounded,'Avenir Next','Trebuchet MS',sans-serif;color-scheme:light;font-family:var(--font);color:var(--ink);background:var(--sky);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e75f40;outline-offset:5px}button{color:inherit}svg{display:block}button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}.app-shell{max-width:1152px;margin:0 auto;padding:0 28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;height:94px}.brand{color:var(--ink);text-decoration:none;font-size:21px;display:flex;align-items:center;gap:11px;font-weight:500;white-space:nowrap}.brand strong{font-weight:850}.brand-symbol{position:relative;font-size:42px;line-height:44px;font-weight:900;display:grid;place-items:center;width:43px;height:43px;transform:rotate(-10deg)}.brand-symbol span{position:absolute;font-size:22px;color:#df7956;right:-1px;top:-11px}.header-note{font-size:13px;color:var(--muted);margin-left:auto}.header-actions{display:flex;gap:10px}.icon-button{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border:1.5px solid #cbdcda;background:transparent;border-radius:50%;font-weight:800;font-size:20px;transition:background .15s}.icon-button:hover:not(:disabled){background:#d8eae7}.flight-panel{border-radius:23px;overflow:hidden;background:var(--paper);box-shadow:0 8px 0 #d3e3e0,0 18px 36px #1736530b;border:1px solid #d5e4e0}.dashboard{display:flex;align-items:center;gap:30px;height:88px;padding:0 30px}.level-badge{display:flex;align-items:center;gap:13px;margin-right:auto}.level-orbit{background:#e5efef;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;font-size:27px;color:#3c827f;transform:rotate(-8deg)}.stat-label{display:block;font-size:11px;letter-spacing:.1px;color:var(--muted);margin-bottom:2px;font-weight:650}.dashboard strong{font-size:23px;line-height:1.15;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.flight-stats{display:flex;gap:38px}.score-stat,.timer-stat{display:flex;align-items:center;gap:10px;min-width:98px}.star-small{width:27px;height:27px;color:#eab64b}.timer-stat>svg{width:25px;height:25px;stroke:#668d94;stroke-width:1.8;fill:none}.pause-button{width:37px;height:37px;border-color:var(--line)}.pause-button svg{width:19px;stroke-width:3}.space-scene{height:290px;background:#173a59;position:relative;overflow:hidden;color:#fffaf0}.space-background{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.scene-message{position:absolute;z-index:3;left:44px;top:26px;max-width:530px}.message-kicker{display:block;color:#a7d9d7;font-size:13px;font-weight:650;margin-bottom:7px}.scene-message h1{font-size:41px;line-height:1.06;letter-spacing:-1.2px;margin:0 0 12px;font-weight:850}.scene-message p{font-size:14px;line-height:1.5;color:#d0e4e8;margin:0 0 20px;max-width:370px}.launch-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:46px;padding:10px 23px;background:var(--coral);color:#173653;border:0;border-radius:13px;font-weight:850;font-size:16px;box-shadow:0 4px 0 #c65c48;transition:transform .15s,background .15s}.launch-button:hover{background:#ff9b7c;transform:translateY(-1px)}.launch-button:active{transform:translateY(3px);box-shadow:0 1px 0 #c65c48}.launch-button span{font-size:23px;line-height:20px}.rocket{--journey:0;position:absolute;z-index:2;width:205px;left:calc(5% + var(--journey)*67%);top:102px;transition:left .35s ease,top .35s ease,transform .35s;filter:drop-shadow(0 12px 8px #0f29454a)}.space-scene[data-state=ready] .rocket{left:56%;top:77px;width:232px;transform:rotate(-12deg)}.space-scene[data-state=paused] .rocket,.space-scene[data-state=lost] .rocket{left:58%;top:84px;transform:rotate(-10deg)}.space-scene[data-state=won] .rocket{left:65%;top:89px;transform:rotate(-10deg)}.rocket svg{width:100%}.space-scene[data-state=playing] .rocket-flame{animation:fire .3s ease-in-out infinite alternate;transform-origin:60px 78px}.destination{position:absolute;right:31px;top:22px;display:flex;align-items:flex-end;flex-direction:column;gap:5px}.destination>span:first-child{font-size:14px;font-weight:750}.destination>span:last-child{font-size:11px;color:#a4c7d4}.flight-caption{position:absolute;left:32px;top:28px;display:flex;align-items:center;gap:8px;color:#d9eee8;font-weight:650;font-size:14px}.live-dot{width:7px;height:7px;background:#b8eee0;border-radius:50%}.fuel-track{height:7px;background:#cadbd8}.fuel-track>div{height:100%;width:100%;background:#8bd3bc;transition:width .1s linear,background .5s}.fuel-track.low>div{background:#ef8969}.typing-card{padding:23px 32px 20px;position:relative}.typing-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);font-weight:650;margin-bottom:15px}.sentence-counter{color:#4b7975}.tiny-star{color:#bb9542;font-size:17px;margin-right:5px}.typing-surface{position:relative;min-height:65px;border-radius:8px;cursor:text}.typing-surface:focus-within{outline:2px solid #87beb8;outline-offset:8px}.sentence{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:center;min-height:62px;user-select:none}.word{display:inline-flex;gap:3px;white-space:nowrap}.letter{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:49px;font-size:30px;font-weight:800;line-height:1;border-radius:7px;color:#819298;border-bottom:3px solid #e7ece7;position:relative}.letter.space{min-width:20px;width:20px;font-size:20px;color:#a2b5b7;border-bottom-color:transparent}.letter.correct{color:#397c6a;background:#edf7ed;border-bottom-color:#aad9b6}.letter.current{color:var(--ink);background:var(--gold);border-bottom-color:#d4a54d;box-shadow:0 2px 0 #f4e2b2}.letter.current:after{content:'';position:absolute;bottom:-7px;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid #c38d29}.letter.error{background:#ffb7a6;border-bottom-color:#dc6e55;animation:shake .22s}.typing-surface input{position:absolute;inset:0;width:100%;height:100%;opacity:.01;border:0;caret-color:transparent;background:transparent;color:transparent;font-size:16px;outline:none;cursor:text;padding:0}.typing-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px;margin-top:17px}.typing-footer p{margin:0;font-size:12px;color:#6e8083}.typing-footer p strong{color:#476265}.typing-footer .error-hint{color:#ad4e3b}.accuracy{font-size:11px;font-weight:650;color:#5b8374;white-space:nowrap}.keyboard-guide{max-width:874px;margin:28px auto 0}.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 17px}.finger-instruction{display:flex;align-items:center;gap:9px}.finger-instruction p{font-size:13px;font-weight:700;margin:0}.finger-dot{width:10px;height:10px;border-radius:50%;background:#70cbb9}.finger-instruction kbd{font:800 12px var(--font);min-width:25px;height:25px;display:grid;place-items:center;border:1px solid #bacdc9;border-bottom-width:3px;border-radius:5px;background:#fffdf8;padding:0 6px}.layout-control{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.layout-control select{border:1px solid #bfd3ce;border-radius:7px;color:#3e625f;padding:6px 26px 6px 8px;background:#f5faf6;font-size:11px;max-width:170px}.keyboard-stage{width:100%;max-width:790px;margin:12px auto 0}.keyboard-stage svg{width:100%;overflow:visible}.key-bg{fill:#f7faf6;stroke:#c2d3ce;stroke-width:1}.key-base{fill:#cbdad4}.key-label{fill:#526967;font:650 13px var(--font);text-anchor:middle;dominant-baseline:central}.key-label.special{font-size:10px;fill:#78908a}.key-zone{opacity:.7}.key.is-next .key-bg{fill:#fbe6a1;stroke:#c5a448;stroke-width:2}.key.is-next .key-label{fill:#173653;font-weight:900}.key.is-pressed .key-bg{fill:#a9e5c8;stroke:#4c9d83;stroke-width:2}.key.is-wrong .key-bg{fill:#ffb9aa;stroke:#d57561;stroke-width:2}.home-bump{stroke:#7e9690;stroke-width:2.5;stroke-linecap:round}.hand-palm{fill:#eebc96;fill-opacity:.52;stroke:#ae805f;stroke-opacity:.5;stroke-width:1.5}.hand-finger{fill:none;stroke:#a77b5e;stroke-opacity:.4;stroke-width:28;stroke-linecap:round}.hand-finger-fill{fill:none;stroke:#f2c7a1;stroke-opacity:.65;stroke-width:25;stroke-linecap:round}.hand-finger-fill.active{stroke:#f2b976;stroke-opacity:.98}.finger-nail{fill:#fff4d8;fill-opacity:.65;stroke:#b28560;stroke-opacity:.3;stroke-width:1}.active-ring{fill:#fff7e8;stroke:#bf8338;stroke-width:2}.finger-path{fill:none;stroke:#f2c66e;stroke-width:2;stroke-dasharray:3 5;opacity:.7}.wrist-line{fill:none;stroke:#b98966;stroke-opacity:.4;stroke-width:1.5;stroke-linecap:round}.home-row-tip{margin:-8px 0 0;text-align:center;font-size:10px;color:#6d827d;line-height:1.8}.home-row-tip>span:first-child{font-size:18px;vertical-align:middle;margin-right:5px}.home-row-tip strong{font-weight:700}.tip-divider{padding:0 10px}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:24px 3px 21px;font-size:10px;color:#6e8582}.page-footer>span{display:flex;align-items:center;gap:6px}.page-footer strong{font-size:12px;color:#496d65}.star-tiny{height:13px;width:13px;color:#c6a14e}.point-pop{position:absolute;left:50%;top:100px;z-index:6;font-size:30px;font-weight:900;color:#ffdc76;pointer-events:none;opacity:0;text-shadow:0 2px #173653}.point-pop.pop{animation:point-pop 1.2s ease-out forwards}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:5}.confetti i{position:absolute;top:-10px;left:var(--x);height:12px;width:7px;background:var(--color);border-radius:2px;animation:confetti 1.8s var(--delay) ease-out both}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}dialog{width:min(470px,calc(100vw - 32px));border:0;background:var(--paper);padding:34px;border-radius:24px;color:var(--ink);box-shadow:0 20px 80px #102e5066}dialog::backdrop{background:#0c263ab3;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:15px;top:15px}.help-planet{font-size:40px;color:#cf9833}dialog h2{font-size:27px;letter-spacing:-.6px;margin:10px 0 20px}dialog ol{padding-left:20px;font-size:14px;line-height:1.7}dialog li{padding-left:4px;margin:8px 0}.help-note{font-size:12px;color:#5c777b;line-height:1.65}dialog .launch-button{margin-top:10px;width:100%}.noscript{position:fixed;bottom:0;width:100%;background:white;padding:24px;text-align:center}
@keyframes fire{from{transform:scaleX(.9)}to{transform:scaleX(1.15)}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes point-pop{0%{opacity:0;transform:translateY(12px) scale(.8)}20%{opacity:1;transform:translateY(0) scale(1)}80%{opacity:1}100%{opacity:0;transform:translateY(-50px)}}@keyframes confetti{0%{transform:translateY(-10px) rotate(0);opacity:1}100%{transform:translateY(350px) rotate(440deg);opacity:0}}
@media(min-width:1100px) and (max-height:850px){.topbar{height:75px}.space-scene{height:260px}.scene-message{top:23px}.scene-message h1{font-size:36px}.scene-message p{margin-bottom:15px}.dashboard{height:76px}.typing-card{padding-top:18px;padding-bottom:15px}.keyboard-guide{margin-top:22px}.keyboard-stage{max-width:690px}.page-footer{padding-top:19px}}
@media(max-width:1050px),(hover:none),(pointer:coarse){.keyboard-guide{display:none}.app-shell{max-width:900px}.page-footer{padding-top:26px}.header-note{display:none}.space-scene{height:310px}.scene-message{top:30px}.scene-message h1{font-size:39px}.space-scene[data-state=ready] .rocket{left:58%;top:107px;width:190px}.typing-card{padding:26px 26px}.sentence{gap:6px}.letter{min-width:27px;font-size:27px}.letter.space{width:15px;min-width:15px}.typing-footer p{font-size:13px}.typing-surface:focus-within{outline-offset:7px}}
@media(max-width:600px){.app-shell{padding:0 14px}.topbar{height:75px;gap:8px}.brand{font-size:16px;gap:7px}.brand-symbol{width:34px;font-size:35px}.brand-symbol span{font-size:19px;right:0;top:-7px}.header-actions{gap:7px}.icon-button{width:35px;height:35px;font-size:18px}.header-actions svg{width:19px}.flight-panel{border-radius:19px}.dashboard{height:77px;padding:0 15px;gap:12px}.level-badge{gap:7px}.level-orbit{display:none}.dashboard strong{font-size:21px}.stat-label{font-size:9px}.flight-stats{gap:14px}.score-stat,.timer-stat{gap:6px;min-width:0}.star-small{width:20px;height:20px}.timer-stat>svg{width:18px;height:18px}.pause-button{width:30px;height:30px}.pause-button svg{width:15px}.space-scene{height:275px}.space-background{width:150%;max-width:none;left:-26%}.scene-message{left:23px;top:24px;right:18px;max-width:240px}.scene-message h1{font-size:33px;letter-spacing:-.9px;max-width:215px}.scene-message p{font-size:12px;max-width:205px;line-height:1.5;margin-bottom:20px}.message-kicker{font-size:11px;margin-bottom:8px}.launch-button{font-size:14px;min-height:44px;padding:10px 18px;gap:13px;border-radius:11px}.rocket{width:125px;top:117px;left:calc(1% + var(--journey)*56%)}.space-scene[data-state=ready] .rocket{width:125px;left:63%;top:155px;transform:rotate(-24deg)}.space-scene[data-state=paused] .rocket,.space-scene[data-state=lost] .rocket{width:118px;left:65%;top:150px}.space-scene[data-state=won] .rocket{width:118px;left:67%;top:150px}.destination{right:18px;top:22px;gap:4px}.destination>span:first-child{font-size:11px}.destination>span:last-child{font-size:9px}.space-scene:not([data-state=playing]) .destination{display:none}.flight-caption{font-size:11px;left:20px;top:27px;max-width:160px;line-height:1.5;align-items:baseline}.live-dot{width:5px;height:5px;flex-shrink:0}.typing-card{padding:20px 18px 16px}.typing-heading{font-size:10px;margin-bottom:16px}.sentence{column-gap:5px;row-gap:11px;justify-content:flex-start;min-height:70px}.word{gap:3px}.letter{font-size:24px;min-width:25px;height:39px;border-radius:5px}.letter.space{min-width:14px;width:14px;font-size:18px}.typing-surface{min-height:92px}.typing-footer{margin-top:17px;align-items:flex-start}.typing-footer p{font-size:11px;line-height:1.5;max-width:225px}.accuracy{font-size:10px;margin-top:2px}.page-footer{font-size:9px;padding:23px 2px}.page-footer strong{font-size:10px}.point-pop{left:55%;top:100px;font-size:24px}.fuel-track{height:6px}dialog{padding:28px}dialog h2{font-size:24px}}
@media(max-width:365px){.app-shell{padding:0 9px}.brand{font-size:14px}.header-actions{gap:5px}.flight-stats{gap:10px}.dashboard{padding:0 12px;gap:8px}.score-stat>svg,.timer-stat>svg{display:none}.letter{font-size:22px;min-width:22px}.typing-card{padding-left:15px;padding-right:15px}.sentence{column-gap:3px}.letter.space{min-width:11px;width:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.point-pop.pop{opacity:1}.confetti{display:none}}
@media(max-width:1050px),(hover:none),(pointer:coarse){body.keyboard-open .topbar{height:52px}body.keyboard-open .dashboard{height:58px}body.keyboard-open .space-scene{height:110px}body.keyboard-open .rocket{width:110px;top:20px}body.keyboard-open .destination{top:12px}body.keyboard-open .flight-caption{top:13px}body.keyboard-open .typing-card{padding-top:13px;padding-bottom:12px}body.keyboard-open .typing-heading{margin-bottom:9px}body.keyboard-open .typing-footer{margin-top:9px}body.keyboard-open .page-footer{display:none}}
