:root{color-scheme:light;--ink:#243331;--paper:#f7f8f6;--orange:#e35e2c;--muted:#78847e;--line:#d4dad4;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--ink);background-color:#f5f7f4;background-image:linear-gradient(rgba(92,119,104,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(92,119,104,.055) 1px,transparent 1px),radial-gradient(ellipse at 12% 12%,rgba(186,222,212,.35),transparent 45%),radial-gradient(ellipse at 95% 80%,rgba(225,218,198,.38),transparent 45%);background-size:32px 32px,32px 32px,100% 100%,100% 100%}body:before{content:"";position:fixed;z-index:-1;width:500px;height:500px;border:1px solid rgba(105,141,123,.08);border-radius:40%;right:-240px;top:180px;transform:rotate(-28deg);pointer-events:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}
.masthead{max-width:1600px;margin:0 auto;padding:29px 0 27px;display:flex;align-items:center;justify-content:space-between;gap:24px;width:calc(100% - 88px)}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;letter-spacing:1.3px}.brand b{font-weight:500;letter-spacing:2px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:1px;margin-top:5px;color:var(--muted)}.brand-mark{display:flex;align-items:center;justify-content:center;position:relative;background:var(--ink);color:var(--paper);width:38px;height:38px;border-radius:10px;font-size:34px;font-weight:900;line-height:1;padding-bottom:6px;letter-spacing:-4px}.brand-mark>span{font-size:17px;align-self:flex-start;margin-top:4px;margin-right:3px;letter-spacing:0}nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:600}nav a{transition:opacity .2s}nav a:hover{opacity:.6}nav a>span{padding-left:5px}.nav-action{padding:11px 16px;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 2px 3px rgba(30,60,40,.03)}.homepage{width:calc(100% - 88px);max-width:1600px;margin:0 auto 30px}.game-shell{border:1px solid #53635b;border-radius:12px;overflow:hidden;box-shadow:0 4px 0 rgba(58,76,66,.08),0 16px 45px rgba(38,66,50,.09);background:var(--paper)}.game-topbar{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:11px;background:#fafbf8;border-bottom:1px solid rgba(61,83,67,.2);letter-spacing:.5px}.game-topbar>div{display:flex;align-items:center;gap:10px}.game-topbar strong{font-size:12px;font-weight:700}.topbar-divider{color:#a8b2aa;margin:0 3px}.topbar-note{font-size:9px;color:#819087;letter-spacing:1.5px}.live-dot{height:6px;width:6px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 3px rgba(227,94,44,.08)}.game-stage{position:relative;height:clamp(400px,65vh,760px);overflow:hidden;background:#b9d1c9;isolation:isolate}#game{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none}#game:focus-visible{outline:2px solid rgba(227,94,44,.6);outline-offset:-2px}.vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(242,243,231,.3),transparent 20%,transparent 70%,rgba(16,41,34,.24));z-index:1}
.intro{position:absolute;inset:0;z-index:4;pointer-events:none;display:flex;align-items:center;padding:45px 5%}.intro:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(243,241,230,.96),rgba(243,241,230,.7) 29%,rgba(243,241,230,.08) 60%,transparent 75%);pointer-events:none}.intro-copy{max-width:500px;pointer-events:auto}.eyebrow{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.8px;font-weight:700}h1{font-weight:900;letter-spacing:-3px;font-size:clamp(42px,5vw,76px);line-height:1.15;margin:21px 0 6px;white-space:nowrap}.title-dot{font-weight:400;margin:0 4px}.title-arrow{font-size:.55em;margin-left:12px;vertical-align:top;line-height:1.3;color:var(--orange)}.english-title{font-size:clamp(12px,1.45vw,20px);font-weight:800;letter-spacing:3.5px;margin:0 0 25px 2px}.intro-description{font-size:14px;line-height:1.85;font-weight:500;margin:0 0 24px 2px}.start-button{display:flex;align-items:center;justify-content:space-between;gap:35px;border:0;background:var(--orange);color:#fff9ee;font-weight:700;font-size:12px;letter-spacing:1px;padding:14px 18px;min-width:210px;border-radius:5px;box-shadow:0 5px 20px rgba(140,63,31,.12);transition:background .2s,transform .2s;width:fit-content}.start-button:hover{background:#cb4b1c;transform:translateY(-2px)}.button-arrow{font-size:22px;font-weight:400;line-height:1}.endless-note{font-size:9px;color:#64756a;margin:13px 0 0 2px;letter-spacing:.3px}.intro-bottom{position:absolute;left:5%;right:5%;bottom:22px;display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:600;letter-spacing:1.2px}.route-marker{display:flex;align-items:center;gap:10px}.route-marker i{display:inline-block;width:25px;height:1px;background:var(--ink)}.intro-hint{color:var(--paper);letter-spacing:1px}.intro-hint>span{margin-left:10px;font-size:16px}
.hud{position:absolute;left:26px;bottom:38px;z-index:3;color:#f8f8ec;text-shadow:0 1px 12px rgba(0,30,20,.2);pointer-events:none}.hud-label{display:block;font-size:8px;font-weight:600;letter-spacing:1.4px;opacity:.8}.speed-value{display:flex;align-items:baseline;gap:10px}.speed-value>#speed{font-size:66px;line-height:1.15;font-weight:800;letter-spacing:-4px;font-variant-numeric:tabular-nums}.speed-unit{font-size:10px;letter-spacing:1px;font-weight:700}.stamina{width:113px;height:3px;background:rgba(255,255,255,.24);border-radius:4px;margin:4px 0 10px;overflow:hidden}.stamina>span{display:block;height:100%;width:100%;background:#f3cd72;transform-origin:left;transition:transform .1s}.ride-stats{display:flex;gap:26px;margin-top:9px;padding-top:11px;border-top:1px solid rgba(248,248,236,.3)}.ride-stats strong{display:block;font-weight:600;letter-spacing:.3px;font-size:18px;margin-top:3px;font-variant-numeric:tabular-nums}.ride-stats small{font-size:9px;margin-left:5px;font-weight:400;opacity:.7}.ride-status{position:absolute;left:0;top:100%;white-space:nowrap;font-size:10px;letter-spacing:.5px;opacity:.9;margin-top:13px}.game-footer{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 18px;border-top:1px solid rgba(61,83,67,.2);background:#fafbf8}.controls-legend{display:flex;gap:20px;align-items:center;color:#718077;font-size:10px;white-space:nowrap}.controls-legend>span{display:flex;gap:5px;align-items:center}.controls-legend kbd{font-family:inherit;font-size:9px;line-height:1;padding:5px 5px 6px;border:1px solid #ccd3cc;border-bottom-width:2px;border-radius:4px;background:white;min-width:20px;text-align:center;color:#4e6257}.utility-controls{display:flex;gap:7px;flex-shrink:0}.utility-button{width:30px;height:30px;background:white;border:1px solid #cfd7cf;border-radius:6px;color:#5b6e61;font-size:16px;display:flex;align-items:center;justify-content:center}.utility-button:hover{background:#eaf0e8}.loading{position:absolute;z-index:20;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;padding:11px 17px;border-radius:30px;background:var(--paper);font-size:10px;color:var(--muted);box-shadow:0 5px 25px rgba(22,46,35,.1);white-space:nowrap;pointer-events:none}.loading-wheel{width:13px;height:13px;border:1px solid var(--line);border-top:2px solid var(--orange);border-radius:50%;animation:wheel 1s linear infinite}@keyframes wheel{to{transform:rotate(360deg)}}.fallback{position:absolute;z-index:30;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:25px;text-align:center;background:var(--paper)}.fallback h2{font-size:24px;letter-spacing:-1px;margin:15px 0 0}.fallback p{font-size:12px;line-height:2;color:var(--muted);margin:0 0 15px}.touch-controls,.touch-hint{display:none}.page-note{display:flex;align-items:center;justify-content:space-between;margin:20px 2px;color:#92a095;font-size:10px;letter-spacing:1px}.page-note>span:last-child{font-size:8px;letter-spacing:1.8px}
body.playing .intro{opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s}body:not(.playing) .hud,body:not(.playing) #pause{opacity:0;pointer-events:none}body.playing .hud{transition:opacity .8s .3s}body.playing .vignette{background:linear-gradient(180deg,rgba(242,243,231,.25),transparent 20%,transparent 65%,rgba(16,41,34,.4))}
@media(max-width:900px){.masthead,.homepage{width:calc(100% - 36px)}.masthead{padding:23px 0 22px}.brand{font-size:15px;gap:9px}.brand-mark{width:34px;height:34px;font-size:30px}.brand small{font-size:9px}nav{gap:18px;font-size:11px}.game-stage{height:clamp(420px,64vh,650px)}.controls-legend{gap:12px;font-size:9px}.controls-legend kbd{font-size:8px;min-width:16px;padding:4px}.game-footer{padding:9px 13px;gap:10px}.intro-description{font-size:13px}.intro-bottom{font-size:7px}.intro-hint{display:none}}
@media(max-width:600px){.masthead,.homepage{width:calc(100% - 24px)}.masthead{padding:19px 2px 21px;gap:12px}.brand{font-size:13px;letter-spacing:1px;gap:8px}.brand b{letter-spacing:1px}.brand small{font-size:8px;letter-spacing:.5px}.brand-mark{width:30px;height:30px;font-size:27px;border-radius:8px}.brand-mark>span{font-size:14px}nav{gap:12px;font-size:10px}nav a:nth-child(2){display:none}.nav-action{padding:9px 10px}nav a>span{display:none}.game-shell{border-radius:9px}.game-topbar{height:40px;padding:0 13px;font-size:10px}.game-topbar strong{font-size:11px}.topbar-note{font-size:7px;letter-spacing:.5px}.game-stage{height:clamp(460px,68vh,650px)}.intro{padding:40px 7%;align-items:center}.intro:before{background:linear-gradient(90deg,rgba(243,241,230,.95),rgba(243,241,230,.6) 65%,rgba(243,241,230,.08))}.eyebrow{font-size:7px;letter-spacing:1px}h1{font-size:52px;margin-top:18px}.english-title{font-size:13px;letter-spacing:2px;margin-bottom:23px}.title-arrow{margin-left:7px}.intro-description{font-size:13px}.endless-note{font-size:8px;max-width:260px;line-height:1.8}.start-button{font-size:12px;min-width:205px}.intro-bottom{bottom:20px;left:7%;right:7%;font-size:6px;letter-spacing:.7px}.route-marker{gap:7px}.controls-legend{gap:9px;flex-wrap:wrap;font-size:8px}.controls-legend kbd{font-size:7px;min-width:14px;padding:3px}.game-footer{gap:8px;min-height:49px}.utility-button{height:27px;width:27px;font-size:15px}.hud{left:19px;bottom:36px}.speed-value>#speed{font-size:56px}.page-note{font-size:8px;margin:16px 3px}.page-note>span:last-child{font-size:7px;letter-spacing:1px}.fallback h2{font-size:20px}.fallback p{font-size:11px}}
@media(pointer:coarse){body.playing .touch-controls{display:flex;position:absolute;left:20px;right:20px;bottom:20px;z-index:8;justify-content:space-between;gap:20px;pointer-events:none}.touch-steer,.touch-actions{display:flex;gap:7px;align-items:end;pointer-events:auto}.touch-controls button{height:46px;min-width:46px;border-radius:11px;border:1px solid rgba(248,248,236,.45);background:rgba(29,48,45,.36);color:#f8f8ec;backdrop-filter:blur(10px);font-size:11px;font-weight:600;touch-action:none;user-select:none;-webkit-user-select:none}.touch-controls button:active,.touch-controls button.active{background:var(--orange);border-color:var(--orange)}.touch-steer button{font-size:23px;min-width:48px;height:50px}.touch-actions{flex-wrap:wrap;justify-content:flex-end;max-width:165px}.touch-actions button{height:38px;min-width:44px}.touch-actions .touch-accent{background:rgba(227,94,44,.8)}.controls-legend{display:none}.touch-hint{display:block;color:#8a978e;font-size:9px;letter-spacing:.3px}.hud{bottom:128px}.speed-value>#speed{font-size:52px}.ride-stats{margin-top:5px;padding-top:9px}.ride-stats strong{font-size:16px}.ride-status{font-size:9px}.stamina{width:95px}}
@media(max-height:600px) and (min-width:700px){.game-stage{height:420px}.masthead{padding:16px 0}h1{font-size:55px}.intro-description{font-size:12px;margin-bottom:18px}.english-title{margin-bottom:18px}.endless-note{font-size:8px}.intro{padding-top:25px;padding-bottom:40px}.speed-value>#speed{font-size:50px}.hud{bottom:37px}.ride-stats{margin-top:5px;padding-top:8px}.ride-stats strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}.loading-wheel{animation-duration:3s}}
.utility-controls #pause{width:auto;min-width:80px;height:32px;padding:0 12px;flex:0 0 auto;white-space:nowrap;word-break:keep-all;font-size:12px;line-height:1.2}
