*{box-sizing:border-box}body{margin:0;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#142a31;color:#f4ebd0;font-family:Arial,sans-serif}header{height:54px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;gap:8px}a{color:#c8d8cd;text-decoration:none;font-size:13px}strong{letter-spacing:2px}strong span{color:#d3c369}nav{display:flex;gap:6px}button{font:inherit;cursor:pointer;border:1px solid #a4b3a088;background:#294449;color:#f4ebd0;border-radius:10px;padding:10px;touch-action:none;user-select:none}button:disabled{opacity:.4;cursor:default}button:focus-visible{outline:3px solid #ffd775}nav button{width:37px}main{position:relative;flex:1;min-height:0}canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}.hud{position:absolute;left:14px;right:14px;top:14px;display:flex;justify-content:space-between;gap:8px;font:bold 12px monospace;pointer-events:none}.hud span{padding:10px;background:#142a31cc;border-radius:8px}meter{width:90px;height:12px;display:block;margin-top:4px}.controls{position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:15px;right:15px;display:flex;justify-content:space-between;pointer-events:none}.controls div{display:flex;gap:8px}.controls button{width:85px;height:70px;background:#142a31ad;font-weight:bold;pointer-events:auto}.controls button:active{background:#d6bf6a;color:#142a31}#gas{background:#ba713dcc}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0e273166;padding:16px}section{width:min(480px,100%);max-height:100%;overflow:auto;background:#152d35f2;border:1px solid #96b6a9;border-radius:22px;padding:28px}h1{font-size:46px;margin:10px 0;letter-spacing:-2px}p{line-height:1.5;color:#cbd6c6}.eyebrow{font-size:10px;letter-spacing:2px;color:#d7c576}#stats{font:12px monospace}#garage{display:flex;gap:10px;margin:20px 0}#garage button{flex:1;font-size:12px}.primary{background:#d7c576;color:#20372f;border:0;padding:16px;width:100%;font-weight:bold}small{display:block;color:#aabcaf;font-size:11px;line-height:1.7;margin-top:15px}[hidden]{display:none!important}@media(max-width:500px){header{padding:6px 10px}strong{font-size:12px;letter-spacing:1px}.controls button{width:65px;height:76px;font-size:11px}.hud{font-size:10px;left:8px;right:8px}.hud span{padding:7px}meter{width:65px}section{padding:22px}h1{font-size:39px}}@media(max-height:500px){header{height:40px}section{width:620px;padding:16px 24px}h1{font-size:27px;margin:3px 0}p{font-size:12px;margin:5px 0}#garage{margin:8px 0}small{font-size:10px;line-height:1.4;margin-top:7px}.primary{padding:10px}.controls button{height:57px}}
