@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');
:root{color-scheme:dark;--lime:#c2f970;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}*{box-sizing:border-box}body{margin:0;background:#090e0c;color:#e7eee3;font-family:'DM Sans',sans-serif;overflow:hidden;height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:none;color:inherit;font:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:5px}[hidden]{display:none!important}#scene,.shade{position:fixed;inset:0}#scene canvas{width:100%;height:100%;display:block}.shade{background:linear-gradient(90deg,#07100be8,transparent 80%),linear-gradient(0deg,#07100b88,transparent 20%,transparent 80%,#07100b99);pointer-events:none;transition:opacity .5s}body.riding .shade{opacity:.2}header{position:fixed;top:0;left:4%;right:4%;height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6e8bd22;z-index:3}.brand{font:600 25px 'Space Grotesk',sans-serif;letter-spacing:-1px;text-decoration:none;color:#e7eee3}.brand span{color:var(--lime)}.brand sup{font:9px var(--mono);margin-left:5px}.session{font:9px var(--mono);letter-spacing:1.5px;color:#b1c7ad}#pause{border:1px solid #c2f97055;background:#0b1712b3;border-radius:4px;padding:9px 15px;min-height:40px}#pause span{font:9px var(--mono);letter-spacing:1px;margin-left:7px}#welcome{position:absolute;left:6%;top:50%;transform:translateY(-42%)}.eyebrow{font:9px var(--mono);letter-spacing:2px;color:var(--lime)}h1{font:500 clamp(65px,8vw,115px)/.98 'Space Grotesk',sans-serif;letter-spacing:-5px;margin:24px 0}h1 em{font-style:normal;color:var(--lime)}#welcome p{color:#adc1ae;font-size:15px;line-height:1.8;margin:0 0 26px}.primary{background:var(--lime);color:#14220d;border:0;padding:18px 24px;font:700 11px var(--mono);letter-spacing:1px;min-width:210px;border-radius:3px}.primary:hover{background:#d7ff9c}.primary:disabled{opacity:.6;cursor:wait}#load-status{font:8px var(--mono);letter-spacing:.7px;margin-top:15px;color:#8ca28c;max-width:350px;line-height:1.7}.intro-controls{display:flex;gap:24px;margin-top:30px;font:10px var(--mono);color:#c6dac2}.intro-controls span{display:flex;flex-direction:column;gap:7px}.intro-controls b{font-size:7px;letter-spacing:1px;font-weight:400;color:#829c83}.arena-link{display:inline-block;margin-top:23px;color:#738c76;text-decoration:none;font:8px var(--mono);letter-spacing:1px}#hud{position:fixed;top:115px;left:4%;display:flex;gap:35px;pointer-events:none;text-shadow:0 2px 8px #000}#hud>div{display:flex;flex-direction:column;gap:8px}#hud label{font:8px var(--mono);letter-spacing:1.3px;color:#c3d4bb}#hud strong{font:500 31px 'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums}#hud small{font:8px var(--mono)}#hud .line-stat strong{font:11px var(--mono);padding-top:10px;color:var(--lime)}#ride-bottom{position:fixed;bottom:65px;left:4%;right:4%;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.energy{width:190px;font:9px var(--mono);letter-spacing:1px;text-shadow:0 2px 6px #000}.energy>div:first-child{display:flex;justify-content:space-between;color:#d9ebcd}.energy-track{height:4px;background:#c2f97030;margin-top:10px}#energy-fill{height:100%;background:var(--lime);width:100%}.energy p{font-size:8px;color:var(--lime);margin:12px 0 0}#map{width:170px;height:93px;background:#09130c99;border:1px solid #aac99122;border-radius:5px}footer{position:fixed;bottom:20px;left:4%;right:4%;display:flex;justify-content:space-between;color:#8ca086;font:8px var(--mono);letter-spacing:1px;text-shadow:0 2px 5px #000}#pause-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(400px,90%);padding:38px;background:#09140fee;border:1px solid #b0cfa644;border-radius:6px;backdrop-filter:blur(15px);text-align:center;z-index:5}#pause-panel h2{font:500 32px 'Space Grotesk',sans-serif;letter-spacing:-1px}#pause-panel p{font-size:13px;color:#91a58d}#pause-panel .primary{width:100%;margin-top:15px}.secondary{font:9px var(--mono);background:none;border:0;margin-top:24px;color:#9eb694}#touch{position:fixed;bottom:67px;left:4%;right:4%;display:flex;gap:10px;justify-content:space-between;z-index:4}#touch button{min-width:55px;height:53px;border:1px solid #c2f97066;border-radius:6px;background:#102215c9;color:var(--lime);font:23px var(--mono);user-select:none;-webkit-user-select:none}#touch .word{font-size:10px;padding:0 14px;letter-spacing:1px}#touch .pedal{background:#c2f970dd;color:#17260e}#touch button:active{background:#80aa54}body.touch #ride-bottom{bottom:145px}body.touch .intro-controls{display:none}body.touch #hint{font-size:7px}body.touch #hint:empty{display:none}
@media(max-width:650px){header{height:73px;left:5%;right:5%}.brand{font-size:22px}.session{font-size:6px;letter-spacing:.5px;max-width:110px;line-height:1.8;text-align:right}body.riding .session{display:none}#welcome{left:7%;top:46%}h1{font-size:78px}#welcome p{font-size:14px}#load-status{font-size:7px;max-width:280px}#hud{top:96px;left:5%;gap:24px}#hud strong{font-size:27px}#hud label{font-size:7px}#hud .line-stat{position:absolute;top:77px;left:0;gap:0}#hud .line-stat strong{font-size:9px}footer{left:5%;right:5%;font-size:6px;bottom:19px;gap:20px;line-height:1.6}footer>span:last-child{max-width:135px;text-align:right}.energy{width:145px}#map{width:130px;height:71px}#ride-bottom{left:5%;right:5%}#touch{left:5%;right:5%;gap:7px}#touch button{min-width:48px}#touch .word{padding:0 10px}#pause{padding:7px 12px}}
@media(max-height:550px){header{height:60px}#welcome{top:53%}h1{font-size:52px;margin:12px 0}#welcome p{font-size:12px;margin-bottom:15px}.intro-controls,.arena-link{display:none}#hud{top:80px}#ride-bottom{bottom:48px}body.touch #ride-bottom{bottom:110px}.primary{padding:14px}#load-status{margin-top:8px}#touch{bottom:42px}footer{bottom:8px}}
