@font-face{font-family:Game;src:local("Trebuchet MS")}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#bde1e2;color:#173e49;font-family:Game,Segoe UI,sans-serif;-webkit-user-select:none;user-select:none}button,select,input{font:inherit}button{cursor:pointer;border:0;color:inherit;min-height:56px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #ffb248;outline-offset:3px}#app,#scene,.screen,#hud,#controls{position:absolute;inset:0}#app{overflow:hidden}#scene{width:100%;height:100%;display:block;touch-action:none}.hidden{display:none!important}.screen,#hud,#controls{pointer-events:none}.screen button,#hud button,#controls>*{pointer-events:auto}.brand{position:absolute;top:max(6%,env(safe-area-inset-top));left:8%;text-shadow:0 2px 25px #e4fbff}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800}h1{font-size:clamp(42px,8.5vh,83px);line-height:.92;letter-spacing:-.045em;margin:17px 0 13px;font-weight:900}h1 span{color:#16858f}.brand p{margin:0;letter-spacing:.055em;font-size:18px}.menu-bottom{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:6%;right:6%;max-width:370px;margin:auto;text-align:center}.instruction{font-size:15px;font-weight:700;color:#163e43;text-shadow:0 1px 12px #fff;margin:0 0 15px}.primary{background:#ffcf69;box-shadow:0 5px #c78c3c,0 9px 26px #29473d30;display:flex;align-items:center;justify-content:center;gap:30px;width:100%;border-radius:19px;padding:17px 24px;font-size:22px;font-weight:800;min-height:64px;transition:transform .1s}.primary:active{transform:translateY(3px);box-shadow:0 2px #c78c3c}.primary span{font-size:28px}.menu-tools{display:flex;gap:10px;margin-top:18px}.menu-tools button{flex:1;background:#fff9eedd;border:1px solid #ffffffb3;border-radius:16px;font-size:14px;font-weight:700;box-shadow:0 4px 20px #23392c10}.keyboard-hint{display:block;margin-top:15px;font-size:11px;color:#365e60}.hud-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 13px max(20px,env(safe-area-inset-left));background:linear-gradient(#f4f5eecd,transparent)}.stage{display:flex;flex-direction:column;gap:5px}.stage span{font-size:10px;font-weight:800;letter-spacing:.16em}.stage strong{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.icon-button{width:56px;border-radius:19px;background:#fff9ebd9;font-size:25px;font-weight:700}.progress{height:4px;background:#173e4920;margin:0 20px;border-radius:4px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:#249da3;border-radius:4px}#toast{position:absolute;top:145px;left:10%;right:10%;font-size:22px;font-weight:800;text-align:center;text-shadow:0 2px 12px white;transition:opacity .2s;opacity:0}#count-panel{position:absolute;top:21%;left:5%;right:5%;text-align:center}#count-number{font-size:clamp(80px,15vh,144px);line-height:1;font-weight:900;color:#fff6dc;text-shadow:0 5px 0 #438b93,0 8px 30px #183d4540}.brief{max-width:380px;margin:22px auto 0;padding:18px 20px 20px;border-radius:24px;background:#fffaf0ed;box-shadow:0 7px 30px #20454c1c}.brief p{font-size:17px;line-height:1.5;margin:0 0 14px}.brief strong{display:block;font-size:23px;color:#087b81;letter-spacing:.06em}.plate-diagram{display:flex;justify-content:center;gap:10px}.plate-diagram span{width:64px;height:46px;background:#dbd0b6;border-bottom:6px solid #9d8e73;display:grid;place-items:center;transform:skew(-8deg);border-radius:8px;color:#fff;font-size:23px}.plate-diagram .active{background:#29b8af;border-color:#127b80;box-shadow:0 0 0 3px #bef0e6}.modal{position:absolute;inset:0;display:grid;place-items:center;background:#163f4854;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom));z-index:5}.panel{width:min(100%,390px);padding:30px 26px 20px;background:#fff9ec;border:1px solid #fffef6;border-radius:30px;box-shadow:0 20px 60px #213e4a30;text-align:center}.panel h2{font-size:33px;letter-spacing:-.04em;margin:13px 0}.panel p{font-size:16px;line-height:1.5;color:#58706d;margin:0 0 25px}.secondary{width:100%;margin-top:14px;background:#e9efde;border-radius:16px;font-weight:700}.text-button{background:transparent;font-size:14px;color:#536a64;margin-top:9px;min-width:90px}.panel fieldset{padding:0;border:0;text-align:left;margin:22px 0}.panel legend{font-size:14px;font-weight:700;margin-bottom:10px}.segmented{display:flex;border-radius:16px;background:#e9ecdf;padding:4px;gap:5px}.segmented button{flex:1;border-radius:13px;min-height:56px;background:transparent;font-size:15px}.segmented button[aria-pressed=true]{background:#268e90;color:#fff}.switch{display:flex;text-align:left;justify-content:space-between;align-items:center;min-height:69px;font-size:15px;border-bottom:1px solid #e5e3d5}.switch small{display:block;font-size:11px;color:#6c7b70;margin-top:5px}.switch input{width:24px;height:24px;accent-color:#228d90}.quality{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:18px 0 25px}.quality select{max-width:60%;padding:10px;background:#edf0e2;border:0;border-radius:9px;color:#173e49;min-height:48px}#result-icon{font-size:44px;color:#e7ab3b;margin-bottom:12px}#result-time{display:block;font-size:38px;margin:-10px 0 25px;font-variant-numeric:tabular-nums}#drag-area{position:absolute;left:0;right:0;bottom:0;height:29%;touch-action:none}.drag-hint{position:absolute;bottom:max(34px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;gap:20px;align-items:center;color:#fff;font-size:31px;opacity:.75;filter:drop-shadow(0 2px 5px #143f45)}.drag-hint i{display:block;width:80px;height:4px;border-radius:4px;background:#fffcdf}#arrows{position:absolute;inset:auto 20px max(24px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;pointer-events:none}#arrows button{pointer-events:auto;width:80px;height:68px;border:1px solid #fff8;border-radius:23px;background:#fff9eeb3;font-size:32px;touch-action:none}#loading{position:absolute;inset:0;background:#edf1df;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px}#loading small{letter-spacing:.12em;color:#58807c}.loader{height:44px;width:44px;border:4px solid #c6e0d2;border-top-color:#26969c;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-aspect-ratio:1/1){.brand{top:10%;left:7%}.menu-bottom{left:7%;right:auto;bottom:7%;width:330px}.brand h1{font-size:clamp(45px,10vh,80px)}#count-panel{top:18%;display:flex;align-items:center;justify-content:center;gap:35px}.brief{margin:0;min-width:280px}#drag-area{height:28%}.hud-top{padding-top:16px}#toast{top:110px}.modal .panel{max-height:94dvh;overflow:auto}.keyboard-hint{margin-top:9px}}@media(max-height:650px)and (max-aspect-ratio:1/1){.brand{top:4%}h1{font-size:46px}.menu-bottom{bottom:15px}.menu-tools{margin-top:13px}.keyboard-hint{display:none}#count-panel{top:22%}.brief{margin-top:15px;padding:12px}.brief p{font-size:15px;margin-bottom:8px}.brief strong{font-size:20px}.panel{padding:20px}.panel h2{font-size:27px}.switch{min-height:58px}}#orbit-hint{pointer-events:none;font-size:11px;line-height:1.5;letter-spacing:.015em;margin:0 0 11px;color:#24565e;text-shadow:0 1px 9px #fff}.instruction{line-height:1.4;margin-bottom:14px}.keyboard-hint{font-size:10px;line-height:1.45}.speedometer{display:flex;align-items:baseline;gap:5px;margin-left:auto;padding:7px 11px;background:#fff9ebc4;border:1px solid #ffffff91;border-radius:15px;min-width:77px;justify-content:center}#speed-number{font-size:27px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}.speedometer span{font-size:10px;font-weight:800}.hud-top{gap:11px}.hud-top .stage{min-width:0}.stage span{max-width:160px}#controls{inset:auto 0 0;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;padding:0 max(14px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));pointer-events:none}#drag-area{position:relative;inset:auto;flex:0 0 auto;width:clamp(128px,40vmin,184px);height:auto;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;border:1px solid #fff9;background:#fff9ecd9;color:#245761;box-shadow:0 5px 20px #143f4528;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);touch-action:none;cursor:ew-resize;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#drag-area svg{display:block;width:80%;height:80%;pointer-events:none}.wheel-rim{fill:none;stroke:currentColor;stroke-width:9}.wheel-spokes{fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round}.wheel-hub{fill:currentColor}.wheel-mark{fill:#f3b83b}#drag-area.steering{border-color:#32aaa8;box-shadow:0 5px 20px #143f4528,0 0 0 3px #61c5b965}#drag-area:focus-visible{outline:4px solid #ffb248;outline-offset:3px}.steering-label{position:absolute;inset:auto 0 9px;text-align:center;font-size:9px;font-weight:800;letter-spacing:.12em;color:#37666c;pointer-events:none}#arrows{position:relative;inset:auto;display:flex;width:clamp(128px,40vmin,184px);flex:0 0 auto;gap:8px;justify-content:space-between;pointer-events:none}#arrows button{width:calc((100% - 8px)/2);min-width:0;height:80px;flex:1;border-radius:22px;border:1px solid #fff9;background:#fff9ecd9;font-size:32px;touch-action:none}#arrows button.pressed{background:#34b8bbd9;color:#fff9e4;transform:translateY(2px)}.pedal-console{display:grid;gap:8px;justify-items:end;pointer-events:none!important}.pedal-tools{display:flex;align-items:center;gap:5px;pointer-events:none}#swap-controls{width:44px;min-height:44px;flex:none;border-radius:15px;background:#fff9ecd9;border:1px solid #fff9;color:#245761;font-size:23px;font-weight:800;pointer-events:auto}#control-speed{font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:13px;background:#fff9ecd9;padding:9px 10px;color:#245761}#pedals{position:relative;inset:auto;display:flex;align-items:flex-end;gap:8px;pointer-events:none}#pedals .pedal{pointer-events:auto;touch-action:none;width:clamp(64px,20vmin,94px);height:clamp(76px,21vmin,96px);min-height:64px;min-width:0;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:20px;border:1px solid #fff9;box-shadow:0 4px #183c492d,0 5px 14px #15394217;transition:background .08s,transform .08s;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.pedal-mark{font-size:25px;font-weight:900;line-height:1}.pedal b{font-size:10px;letter-spacing:.08em}#brake{background:#fff1dedf;color:#945946}#pedals #throttle{width:clamp(74px,22vmin,104px);height:clamp(116px,33vmin,156px);background:#40bdb3ed;color:#123f47}#pedals .pedal.pressed{transform:translateY(3px);box-shadow:0 1px #183c492d,inset 0 0 0 2px #fff7}#pedals #throttle.pressed{background:#ffe19c}#brake.pressed{background:#f0b19a}#controls.swapped{flex-direction:row-reverse}#controls.swapped .pedal-console{justify-items:start}#controls.swapped .pedal-tools,#controls.swapped #pedals{flex-direction:row-reverse}.panel p.manual-note{font-size:12px;line-height:1.5;text-align:left;margin:-8px 0 9px;color:#516d68}.launch-speed{display:block;font-size:11px;font-weight:700;color:#516d68;margin-top:14px;line-height:1.4}@media(min-width:600px)and (min-height:650px){#controls{padding-right:max(28px,env(safe-area-inset-right));padding-left:max(28px,env(safe-area-inset-left));padding-bottom:max(26px,env(safe-area-inset-bottom))}}@media(min-aspect-ratio:1/1){.menu-bottom{width:330px;bottom:5%}.menu-bottom .instruction{font-size:13px;line-height:1.35}.menu-tools{margin-top:13px}#orbit-hint{margin-bottom:7px;font-size:10px}.keyboard-hint{margin-top:7px}.brand{top:7%}.brand h1{font-size:clamp(42px,9vh,76px)}}@media(max-width:350px){#controls{padding-right:max(10px,env(safe-area-inset-right));padding-left:max(10px,env(safe-area-inset-left));gap:8px}#drag-area,#arrows{width:120px}#pedals .pedal{width:64px}#pedals #throttle{width:74px}#control-speed{font-size:11px;padding:9px 8px}.hud-top{padding-left:14px;padding-right:14px;gap:8px}.stage span{font-size:9px;letter-spacing:.08em}.speedometer{padding:7px 8px;min-width:65px}#speed-number{font-size:24px}}@media(max-height:500px)and (min-aspect-ratio:1/1){.brand{top:5%}.brand h1{font-size:36px;line-height:1;margin:10px 0 8px;white-space:nowrap}.brand h1 br{display:none}.brand h1 span{padding-left:8px}.brand p{font-size:14px}.brand .eyebrow{font-size:9px}.menu-bottom .instruction{font-size:12px;line-height:1.35}.menu-bottom{bottom:4%}}#word-gate{position:fixed;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-width:0;padding:24px;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:radial-gradient(ellipse at 12% 12%,#d9eee1e8,transparent 65%),linear-gradient(140deg,#c3e4e6f5,#d4e9d6f5);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}#loading{z-index:10}#fatal{z-index:11}.word-gate-card{display:grid;grid-template-columns:minmax(230px,.86fr) minmax(0,1.2fr);grid-template-rows:auto auto;width:min(100%,860px);flex-shrink:0;margin:auto 0;overflow:hidden;border:1px solid #fffdf5;border-radius:32px;background:#fff9ec;box-shadow:0 22px 65px #244b4a28}.word-gate-character{grid-area:1/1/3/2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:25px 14px;background:radial-gradient(ellipse at 45% 43%,#f9f1e2,#ece7d7);border-right:1px solid #e9e1cf;min-width:0}.pix-portrait{position:relative;width:min(100%,300px);aspect-ratio:576/676;overflow:hidden;border-radius:24px;mix-blend-mode:multiply;pointer-events:none}.pix-portrait img{position:absolute;left:0;top:0;display:block;width:266.666667%;max-width:none;height:auto}.gate-character-label{font-size:10px;font-weight:800;letter-spacing:.18em;color:#46736e}.word-gate-intro{grid-area:1/2/2/3;padding:32px 30px 0;align-self:end;min-width:0}.word-gate-intro .eyebrow{color:#278e92;font-size:10px;letter-spacing:.14em}.word-gate-intro h2{font-size:34px;font-weight:900;line-height:1.1;letter-spacing:-.04em;margin:12px 0 10px}.word-gate-intro p{font-size:15px;line-height:1.5;color:#526e69;margin:0;max-width:390px}#word-gate-form{grid-area:2/2/3/3;padding:23px 30px 30px;min-width:0}.gate-poem{display:grid;gap:10px}.gate-stanza{min-width:0}.gate-poem-line{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;column-gap:6px;font-size:18px;line-height:1.45;font-weight:700}.gate-poem-line>span{white-space:nowrap}.gate-poem-line>span:last-child{margin-left:-4px}.gate-poem-line input{display:block;min-width:0;width:100%;height:47px;border:2px solid #b7d8d0;border-radius:12px;background:#fffdf6;color:#173e49;padding:8px 9px;font-size:18px;font-weight:700;line-height:1.2;caret-color:#117f83;touch-action:manipulation;-webkit-user-select:text;user-select:text;transition:border-color .15s,background .15s,box-shadow .15s}.gate-poem-line input::placeholder{color:#7b8f86;font-size:13px;font-weight:400;opacity:1}.gate-poem-line input:focus{outline:none;border-color:#1b979a;box-shadow:0 0 0 3px #2aa5a41c;background:#fff}.gate-stanza>p{margin:5px 0 0;font-size:18px;line-height:1.45;font-weight:700}.word-gate-hint{display:block;min-height:18px;margin-top:3px;color:#a64438;font-size:12px;line-height:1.35}.word-gate-hint[data-correct=true]{color:#177e67}#word-gate .word-correct{border-color:#2b9980;background:#eff9ec}#word-gate .word-correct~span{color:inherit}#word-gate .word-error,#word-gate input[aria-invalid=true]{border-color:#c36b53;background:#fff1e9}#word-gate .word-error:focus,#word-gate input[aria-invalid=true]:focus{box-shadow:0 0 0 3px #c36b531c}#word-gate-status{min-height:21px;margin:8px 0 16px;font-size:13px;line-height:1.4;text-align:center;color:#61756c}#word-gate[aria-invalid=true] #word-gate-status{color:#a64438}#word-gate-submit{min-height:58px;font-size:19px;padding:15px 14px;border-radius:17px;gap:8px}#word-gate-submit:disabled{cursor:default;opacity:.72}.gate-video{display:flex;align-items:center;gap:12px;min-height:58px;margin-top:14px;padding:10px 14px 10px 10px;border:1px solid #d3e6dc;border-radius:16px;background:#f1f8f2;color:#173e49;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .12s,border-color .12s}.gate-video:hover{background:#e7f3ea;border-color:#a9d3c3}.gate-video:active{background:#ddeee2}.gate-video:focus-visible{outline:4px solid #ffb248;outline-offset:3px}.gate-video-play{position:relative;flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:#177e86;box-shadow:0 3px 10px #177e8640}.gate-video-play:after{content:"";position:absolute;left:15px;top:12px;border-style:solid;border-width:7px 0 7px 12px;border-color:transparent transparent transparent #fffdf3}.gate-video-text{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px;line-height:1.35;color:#496f70}.gate-video-text strong{font-size:14px;font-weight:800;color:#173e49}.gate-video-go{margin-left:auto;flex:0 0 auto;font-size:18px;font-weight:800;color:#177e86}#word-gate.gate-success .word-gate-card{border-color:#89cdb7;box-shadow:0 22px 65px #244b4a28,0 0 0 3px #c0e6ce}#word-gate.gate-success #word-gate-status{color:#177e67;font-weight:700}#word-gate.gate-success .word-gate-hint{color:#177e67}@media(max-width:599px){#word-gate{padding:14px;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.word-gate-card{width:min(100%,430px);grid-template-columns:112px minmax(0,1fr);border-radius:25px}.word-gate-character{grid-area:1/1/2/2;padding:14px 0 0 8px;background:transparent;border:0;gap:0;align-self:center}.pix-portrait{width:108px;border-radius:15px}.gate-character-label{display:none}.word-gate-intro{padding:23px 18px 0 8px;align-self:center}.word-gate-intro .eyebrow{font-size:8px;line-height:1.5;letter-spacing:.1em}.word-gate-intro h2{font-size:25px;margin:7px 0 8px;line-height:1.1}.word-gate-intro p{font-size:13px;line-height:1.45}#word-gate-form{grid-area:2/1/3/3;padding:20px 19px 23px}.gate-poem{gap:7px}.gate-poem-line,.gate-stanza>p{font-size:17px}.gate-poem-line input{font-size:17px;height:45px;padding:8px}#word-gate-status{font-size:12px;margin:7px 0 14px;min-height:17px}#word-gate-submit{font-size:18px;min-height:56px}}@media(max-width:350px){#word-gate{padding:10px;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.word-gate-card{grid-template-columns:91px minmax(0,1fr);border-radius:22px}.word-gate-character{padding-left:3px}.pix-portrait{width:89px}.word-gate-intro{padding:18px 13px 0 6px}.word-gate-intro h2{font-size:23px}.word-gate-intro p{font-size:12px}#word-gate-form{padding:16px 14px 19px}.gate-poem-line{column-gap:5px}.gate-poem-line,.gate-stanza>p{font-size:16px}.gate-poem-line input{font-size:16px;padding:7px 6px}.gate-poem-line input::placeholder{font-size:11px}.word-gate-hint{font-size:11px;min-height:16px}#word-gate-submit{font-size:17px;min-height:52px}}@media(min-width:600px)and (max-height:500px){#word-gate{padding:12px;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.word-gate-card{grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr);max-width:820px;border-radius:24px}.word-gate-character{padding:10px;gap:4px}.pix-portrait{max-width:215px}.gate-character-label{font-size:8px}.word-gate-intro{padding:16px 23px 0}.word-gate-intro .eyebrow{font-size:8px}.word-gate-intro h2{font-size:27px;margin:6px 0}.word-gate-intro p{font-size:12px;line-height:1.4;max-width:none}#word-gate-form{padding:10px 23px 18px}.gate-poem{gap:3px}.gate-poem-line,.gate-stanza>p{font-size:16px}.gate-poem-line input{height:39px;font-size:16px;padding:6px 8px}.gate-stanza>p{margin-top:3px;line-height:1.35}.word-gate-hint{font-size:10px;min-height:14px;margin-top:2px}#word-gate-status{margin:4px 0 8px;font-size:11px;min-height:16px}#word-gate-submit{min-height:47px;font-size:17px;padding:11px}}@media(prefers-reduced-motion:reduce){#word-gate input,#word-gate .primary{transition:none}}#attract-screen{position:fixed;inset:0;z-index:25;width:100%;height:100%;border:0;border-radius:0;margin:0;padding:0;background:transparent;box-shadow:none;transform:none;touch-action:none;cursor:pointer;color:#fff8e7;display:flex;align-items:flex-end;justify-content:center}#attract-screen:focus-visible{outline:3px solid #ffd36c;outline-offset:-5px}.attract-caption{display:grid;gap:6px;max-width:calc(100% - 32px);margin:0 16px max(24px,env(safe-area-inset-bottom));padding:14px 22px;border-radius:18px;background:#173c50d9;box-shadow:0 8px 30px #153f4826;text-align:center;pointer-events:none}.attract-caption strong{font-size:18px;letter-spacing:.02em}.attract-caption>span{font-size:14px;font-weight:400;line-height:1.4}.series-card{position:fixed;top:7%;right:5%;display:flex;align-items:center;gap:13px;width:310px;padding:17px 19px;background:#fff9ecef;border:1px solid #fffdf3;border-radius:21px;box-shadow:0 7px 24px #173e491c;text-shadow:none}.series-icon{width:31px;height:31px;flex:0 0 auto;color:#188c91}.series-card h2{margin:0;font-size:16px;font-weight:800;line-height:1.35;letter-spacing:-.015em}.series-card p{margin:6px 0 0;font-size:12px;line-height:1.4;color:#496f70;letter-spacing:0}.series-link{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin-top:10px;padding:10px 14px;border-radius:12px;background:#177e86;color:#fffdf3;font-size:14px;font-weight:800;line-height:1.2;text-decoration:none;letter-spacing:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.series-link:hover{background:#116b73}.series-link:focus-visible{outline:4px solid #ffb248;outline-offset:3px}.series-link:active{background:#105d64}@media(max-aspect-ratio:1/1){.series-card{position:relative;top:auto;right:auto;width:min(84vw,370px);margin:16px 0 0;padding:11px 14px;gap:11px;border-radius:17px}.series-card h2{font-size:14px}.series-card p{display:none}.series-icon{width:27px;height:27px}}@media(max-height:500px)and (min-aspect-ratio:1/1){.series-card{top:5%;right:3%;width:255px;padding:12px 14px;gap:10px}.series-card h2{font-size:13px}.series-card p{font-size:10px}.series-icon{width:25px;height:25px}}@media(max-height:560px)and (max-aspect-ratio:1/1){.brand .eyebrow{font-size:9px}.brand h1{font-size:34px;margin:10px 0 8px}.brand>p{font-size:13px}.series-card{margin-top:10px;padding:9px 12px}.series-card h2{font-size:12px}.series-icon{width:22px;height:22px}}@media(max-width:700px)and (max-height:500px)and (min-aspect-ratio:1/1){.brand{left:4%}.brand h1{font-size:28px}.series-card{width:210px}.series-card p{display:none}#menu .menu-bottom{left:4%;width:260px}#menu #orbit-hint,#menu .keyboard-hint{display:none}#menu .instruction{font-size:11px;margin-bottom:8px}#menu .primary{min-height:48px;padding:9px 16px;font-size:18px}#menu .menu-tools{margin-top:10px}#menu .menu-tools button{min-height:42px}}.start-row{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:10px;align-items:stretch}.start-row #play{min-width:0;padding:14px 12px;gap:9px;font-size:21px}.start-row #play span{font-size:24px}.difficulty-choice{pointer-events:auto;display:flex;flex-direction:column;justify-content:center;text-align:left;min-width:0;border:1px solid #fffdf3;border-radius:18px;background:#fff9ecef;box-shadow:0 4px 16px #173e4914;padding:7px 7px 4px}.difficulty-choice>span{font-size:9px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;padding-left:7px;color:#4b6a69}.difficulty-choice select{width:100%;min-height:40px;padding:4px 5px;border:0;border-radius:8px;background:transparent;color:#173e49;font-size:15px;font-weight:800;cursor:pointer;touch-action:manipulation}.difficulty-choice select:focus-visible{outline:3px solid #ffb248;outline-offset:0}#difficulty-badge{font-size:10px;font-weight:700;line-height:1.1;color:#426c6d}.modal .panel{max-height:calc(100dvh - 40px - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}.difficulty-settings .segmented button{min-width:0;padding:8px 5px;font-size:13px}.panel #difficulty-description{margin:11px 0 0;font-size:13px;line-height:1.5;text-align:left;color:#496c69}@media(max-width:350px){.start-row{grid-template-columns:minmax(0,1fr) 115px;gap:8px}.start-row #play{font-size:19px;padding:12px 8px}.difficulty-choice select{font-size:14px}}@media(max-height:500px)and (min-aspect-ratio:1/1){.difficulty-choice{padding-top:3px;padding-bottom:2px}.difficulty-choice select{min-height:34px}.start-row #play{padding:9px 10px;font-size:18px}}.share-vk{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;margin-top:14px;padding:11px 8px;border-radius:15px;background:#07f;color:#fff;font-size:15px;font-weight:800;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.share-vk:hover{background:#0065dc}.share-vk:active{transform:translateY(1px)}.share-vk:focus-visible{outline:4px solid #ffb248;outline-offset:3px}.share-vk[aria-disabled=true]{opacity:.65;pointer-events:none}.share-vk[hidden],.result-content p[hidden],.save-result-image[hidden]{display:none}.save-result-image{display:block;padding:13px 4px 5px;color:#147d81;font-size:13px;line-height:1.4;touch-action:manipulation}#share-image-status{font-size:12px;line-height:1.4;margin:8px 0 0}#share-image-status:empty{display:none}#share-copy-details{margin-top:10px;color:#526c6b;font-size:11px;text-align:center}#share-copy-details summary{cursor:pointer;padding:5px;touch-action:manipulation}#share-result-text{display:block;width:100%;margin:9px 0 0;padding:10px;border:1px solid #c8d5ca;border-radius:10px;resize:vertical;background:#fffdf5;color:#173e49;font:16px/1.5 Game,Segoe UI,sans-serif;-webkit-user-select:text;user-select:text}#share-copy-status{font-size:12px;line-height:1.5;margin:8px 0 0}#share-copy-status:empty{display:none}.race-goal{font-size:12px;font-weight:800;color:#173e49;margin:0 0 9px;text-shadow:0 1px 10px #fff}.stage #lap-number{color:#147d81;font-size:12px;letter-spacing:.09em}.stage #stage-name{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.pizza-counter{display:flex;align-items:center;justify-content:center;gap:5px;min-width:52px;margin-left:auto;padding:9px;background:#fff9ebe8;border:1px solid #fff9;border-radius:15px}.pizza-counter>span{font-size:23px}.pizza-counter strong{font-size:21px;font-variant-numeric:tabular-nums}.speedometer{margin-left:0}.count-lap{position:absolute;left:0;right:0;top:-32px;font-size:17px;font-weight:800;color:#173e49;text-shadow:0 1px 8px #fff}.lap-card{position:absolute;top:128px;left:50%;transform:translate(-50%);width:min(330px,calc(100% - 36px));padding:13px 16px;border:1px solid #fffef8;border-radius:21px;background:#fff9eced;box-shadow:0 8px 25px #163f4826;text-align:center;pointer-events:none;z-index:2}.lap-reward{float:right;background:#ffe2a1;border-radius:10px;padding:6px 9px;color:#705020;font-size:14px;font-weight:800}.lap-card h2{font-size:17px;letter-spacing:-.02em;margin:4px 0 10px;text-align:left}.lap-time-label{display:inline;font-size:11px;color:#526e6b;margin-right:9px}#lap-time{display:inline;font-size:25px;line-height:1.2;font-variant-numeric:tabular-nums}#lap-best{display:block;font-size:11px;color:#39716f;margin-top:5px}.lap-card p{font-size:11px;font-weight:800;color:#177e86;margin:6px 0 0}#result .result-panel{display:grid;grid-template-columns:220px minmax(0,1fr);width:min(700px,100%);padding:0;overflow:auto}.result-art{display:block;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:29px 0 0 29px;background:#e8e2d6}.result-content{padding:27px 24px 16px;min-width:0}.result-content .eyebrow{font-size:9px;line-height:1.4}.result-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0 12px}.result-stats>div{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;padding:13px 7px;background:#f2ecd9;border-radius:16px}.result-stats span{font-size:11px;font-weight:700;color:#506b67}.result-stats strong,#result-time{display:block;font-size:28px;font-weight:800;font-variant-numeric:tabular-nums;margin:0;white-space:nowrap}.pizza-total b{font:inherit}#result-note{font-size:11px;line-height:1.4;margin:0 0 14px}#result-message{font-size:13px;line-height:1.45;margin:0 0 19px}.result-content .primary{font-size:20px;min-height:57px;padding:13px}.result-content .text-button{min-height:44px;margin-top:8px}@media(max-width:550px){#result{padding:14px;padding-bottom:max(14px,env(safe-area-inset-bottom))}#result .result-panel{display:block;max-width:380px;max-height:calc(100dvh - 28px - env(safe-area-inset-bottom))}.result-art{height:clamp(130px,26dvh,225px);object-fit:contain;border-radius:29px 29px 0 0;background:#e7e5d7}.result-content{padding:19px 20px 12px}.result-content h2{margin:9px 0 14px;font-size:29px}.result-stats{margin-top:0}.result-stats strong,#result-time{font-size:27px}}@media(max-width:350px){.hud-top{gap:6px}.hud-top .icon-button{width:44px;min-height:48px;flex:none}.stage #stage-name{max-width:98px;font-size:8px}.stage #lap-number{font-size:10px}.pizza-counter{min-width:45px;padding:7px 5px;gap:3px}.pizza-counter>span{font-size:18px}.pizza-counter strong{font-size:18px}.speedometer{min-width:59px;padding:7px 5px;gap:3px}#speed-number{font-size:22px}}@media(max-height:650px)and (max-width:550px){.result-art{height:120px}.result-content{padding:13px 16px 8px}.result-content h2{font-size:25px;margin:6px 0 12px}.result-stats>div{padding:9px 5px}.result-stats strong,#result-time{font-size:25px}#result-note{margin-bottom:9px;font-size:10px}#result-message{font-size:12px;margin-bottom:13px}.result-content .primary{min-height:50px;font-size:18px}.result-content .text-button{margin-top:6px}}@media(max-height:500px)and (min-aspect-ratio:1/1){.lap-card{top:100px;padding:10px 15px;max-width:310px}.lap-card h2{margin:4px 0 8px;font-size:16px}#lap-time{font-size:22px}.lap-card p{display:none}#result .result-panel{grid-template-columns:160px minmax(0,1fr);max-width:620px}.result-content{padding:14px 18px 8px}.result-content h2{font-size:25px;margin:7px 0 12px}.result-stats{margin:0 0 9px}.result-stats>div{padding:9px 5px}#result-note{margin-bottom:8px}#result-message{margin-bottom:12px}.result-content .primary{min-height:48px;padding:9px}.result-content .text-button{min-height:40px;margin-top:5px}}
