:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#164b43;background:#dcefee}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #db852c;outline-offset:5px}button:disabled{opacity:.65;cursor:wait}[hidden]{display:none!important}#game{height:100svh;min-height:320px;position:relative;overflow:hidden;isolation:isolate}#scene{position:absolute;inset:0;background:#dcefee url('/assets/pelican/poster.webp') center/cover no-repeat}canvas{display:block;width:100%;height:100%}.topbar{position:absolute;z-index:3;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:24px 32px;pointer-events:none}.topbar>*{pointer-events:auto}.back{color:inherit;text-decoration:none;font-weight:650;font-size:20px;letter-spacing:-1px}.game-name{font-size:12px;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}.round{border:0;background:#fffdf0e8;width:42px;height:42px;border-radius:50%;font-size:20px;color:#164b43}.hud{position:absolute;top:92px;left:32px;display:flex;gap:30px;pointer-events:none}.hud>div>span{display:block;font-size:11px;margin-bottom:5px;color:#375b54}.hud strong{font-size:27px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-1px}.hud b{font-weight:inherit}.hud small{font-size:12px;letter-spacing:0}.hud .hearts strong{font-size:14px;letter-spacing:4px;line-height:32px;color:#b85838}.overlay{position:absolute;inset:0;z-index:2;display:flex;align-items:center;background:linear-gradient(90deg,#e3f0ebe8 0%,#e3f0ebcd 27%,#e3f0eb00 66%)}.intro{margin:65px 0 35px 8%;max-width:390px}.eyebrow{font-size:12px;margin:0 0 18px;letter-spacing:1px}h1{font-size:clamp(40px,6.6vw,80px);font-weight:650;line-height:1.12;letter-spacing:-3px;margin:0 0 20px}.description{font-size:14px;line-height:1.9;margin:0 0 24px}.primary{border:0;border-radius:999px;background:#164b43;color:white;padding:14px 24px;display:flex;gap:44px;align-items:center;min-height:48px;font-size:14px}.primary:hover{background:#24685b}.hint{font-size:11px;line-height:1.9;color:#456a61;margin-top:20px}.best{font-size:11px;color:#456a61;min-height:14px;margin:12px 0 0}.controls{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;gap:12px}.steering{display:flex;gap:10px}.controls button{width:62px;height:54px;border:1px solid #fff8;border-radius:17px;background:#f5f7eceb;color:#164b43;font-size:25px;touch-action:none;user-select:none;-webkit-user-select:none}.controls button.pressed{background:#164b43;color:white;transform:translateY(2px)}.controls .brake{font-size:13px;width:72px}.ride-caption{font-size:11px;letter-spacing:1px;background:#f5f7ecd9;padding:8px 14px;border-radius:20px}.toast{position:absolute;left:50%;top:155px;transform:translateX(-50%);font-size:14px;font-weight:600;border-radius:20px;padding:10px 18px;background:#fffdf0ed;opacity:0;transition:opacity .15s;pointer-events:none;white-space:nowrap}.toast.show{opacity:1}.result{font-size:16px;line-height:1.8;margin-bottom:18px}.nojs{position:absolute;bottom:0;background:white;padding:15px;z-index:5}#error{max-width:330px;font-size:13px;line-height:1.8;color:#8c3526}.paused .overlay,.ended .overlay{background:#e3f0ebcf}.paused .intro,.ended .intro{margin-left:auto;margin-right:auto;text-align:center;max-width:90%}.paused .primary,.ended .primary{margin:auto}.paused h1,.ended h1{font-size:48px}.paused .hint,.ended .hint{display:none}@media(max-width:600px){.topbar{padding:18px 20px}.back{font-size:18px}.game-name{font-size:10px}.hud{top:80px;left:20px;right:20px;gap:0;justify-content:space-between}.hud strong{font-size:24px}.hud .hearts strong{font-size:11px;letter-spacing:2px}.hud>div>span{font-size:10px}.overlay{align-items:flex-end;background:linear-gradient(0deg,#e3f0ebf5 0%,#e3f0ebe6 36%,#e3f0eb00 76%)}.intro{margin:0 24px 30px;max-width:340px}h1{font-size:49px;letter-spacing:-2px;margin-bottom:15px}.eyebrow{margin-bottom:12px;font-size:11px}.description{font-size:12px;line-height:1.8;margin-bottom:18px}.hint{font-size:10px;margin-top:12px}.controls{left:18px;right:18px;bottom:20px}.ride-caption{display:none}.toast{top:140px;font-size:12px}.paused .overlay,.ended .overlay{align-items:center}.paused h1,.ended h1{font-size:36px}}@media(max-height:520px){.topbar{padding:12px 20px}.game-name{font-size:10px}.intro{margin:50px 0 15px 6%}.overlay{align-items:center;background:linear-gradient(90deg,#e3f0ebef,#e3f0ebb0 40%,#e3f0eb00 80%)}h1{font-size:38px;letter-spacing:-1.5px;margin-bottom:10px}.eyebrow{font-size:10px;margin-bottom:9px}.description{font-size:11px;line-height:1.7;margin-bottom:12px}.primary{min-height:40px;padding:10px 20px;font-size:12px}.hint{font-size:9px;margin:9px 0 0}.best{font-size:10px;margin:7px 0 0;min-height:0}.hud{top:61px;gap:25px;left:20px;right:auto}.hud strong{font-size:21px}.hud .hearts strong{font-size:10px;line-height:24px}.controls{bottom:12px}.controls button{height:44px;width:54px}.toast{top:108px}.round{width:34px;height:34px}.paused h1,.ended h1{font-size:34px}.result{font-size:13px;margin-bottom:10px}.paused .intro,.ended .intro{margin-top:40px}.ride-caption{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:600px) and (min-height:521px){#scene{background-size:auto 76%;background-position:84% top}}
