:root{font-family:system-ui,sans-serif;color:#f5fff7;background:#163a4a;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}header{display:flex;align-items:center;gap:22px;padding:12px 22px;height:70px}header>a{text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.1em}h1{font-size:22px;margin:0;flex:1}h1 span{font-weight:400;color:#bcd9c4;margin-left:10px}.quiet{font-size:13px;letter-spacing:0;text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffe56b;outline-offset:4px}.playfield{height:calc(100svh - 124px);min-height:400px;position:relative;overflow:hidden;border-radius:22px;margin:0 12px;background:#5b9a59}#game{width:100%;height:100%;touch-action:none}#game canvas{display:block}.hud{position:absolute;left:20px;right:20px;top:14px;display:flex;gap:20px;align-items:center;pointer-events:none}.hud>div{background:#123e35e8;padding:8px 15px;border-radius:12px;min-width:85px}.hud span{font-size:11px;letter-spacing:.12em;display:block;color:#c6e2cc}.hud strong{font-size:26px}.hud button{pointer-events:auto;margin-left:auto;border:1px solid #e5f4ce55;border-radius:12px;background:#163a4ae8;color:white;padding:12px 18px}.hud button:disabled{opacity:.45}.hint{position:absolute;top:94px;left:50%;transform:translateX(-50%);background:#163a4ae3;padding:8px 18px;border-radius:20px;text-align:center;font-size:14px;white-space:nowrap;pointer-events:none}.hint span{color:#dceab9;margin-left:12px}.cue{position:absolute;top:145px;left:0;right:0;text-align:center;color:#fff9a3;font-size:24px;font-weight:800;text-shadow:0 2px 10px #143b31;pointer-events:none}.card{position:absolute;left:50%;top:53%;transform:translate(-50%,-50%);width:min(410px,calc(100% - 40px));padding:24px;border:1px solid #c3e4ae55;border-radius:24px;background:#163a4af0;text-align:center;box-shadow:0 18px 60px #062c2540}.card[hidden]{display:none}.eyebrow{font-size:11px;letter-spacing:.15em;color:#d6eb89;font-weight:800}h2{font:700 clamp(25px,3vw,38px)/1.1 Georgia,serif;margin:15px 0}p{font-size:15px;line-height:1.5;color:#d9ebdf}.primary{background:#f7db61;color:#193d31;border:0;border-radius:15px;font-size:23px;font-weight:900;padding:14px 40px;min-width:180px;box-shadow:0 4px 0 #b6942b}.card small{display:block;margin-top:15px;color:#bbd8bf;min-height:15px}.steer{position:absolute;bottom:17px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.steer button{pointer-events:auto;touch-action:none;border:2px solid #effbe2aa;border-radius:18px;color:#fff9de;background:#173e50da;padding:15px 22px;font-size:24px;font-weight:900;user-select:none}.steer span{font-size:12px;letter-spacing:.1em;vertical-align:middle}.steer button:active{background:#517a44}footer{height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;color:#bed5c5;font-size:12px}footer details{position:relative}summary{cursor:pointer}details[open]{position:absolute;bottom:10px;right:20px;max-width:380px;background:#143b32;padding:20px;border-radius:14px;z-index:4}details p{font-size:13px}@media(max-width:650px){header{height:62px;padding:8px 14px;gap:12px}header>a{font-size:11px}h1{font-size:16px}h1 span{display:block;margin:0;font-size:12px}.quiet{max-width:50px;font-size:11px}.playfield{margin:0 6px;height:calc(100svh - 104px);border-radius:15px;min-height:430px}.hud{left:10px;right:10px;gap:7px}.hud>div{padding:6px 10px;min-width:59px}.hud strong{font-size:22px}.hud span{font-size:10px}.hud button{padding:10px}.hint{top:84px;font-size:12px;white-space:normal;width:90%;padding:6px 10px}.hint span{display:block;margin:2px 0 0}.cue{top:136px;font-size:20px}.steer{left:12px;right:12px}.steer button{padding:14px 18px}.card{padding:22px 18px;top:52%}footer{height:42px;font-size:10px;padding:8px 14px}footer>span{max-width:240px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

#road{width:100%;height:100%;display:block;touch-action:none}.place{position:absolute;left:20px;bottom:110px;color:#fff2c8;font-weight:800;letter-spacing:.1em;font-size:14px;text-shadow:0 2px 8px #143c48;pointer-events:none}#brake{font-size:12px;padding:12px 20px;align-self:end;background:#204a5dc9}.steer{gap:15px}.steer #right{margin-left:auto}.steer #brake{margin:auto auto 0}header h1 span{color:#c1dfec}footer details[open]{background:#173e50}@media(max-width:650px){.place{left:16px;bottom:97px;font-size:11px}.steer button{padding:13px 15px}}
