*{box-sizing:border-box}html,body{margin:0;height:100%;background:#07090c;color:#e8eef0}#app{position:relative;height:100%;overflow:hidden;font-family:system-ui,-apple-system,Segoe UI,sans-serif}#stage{display:block;width:100%;height:100%;touch-action:none}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at center,transparent 58%,rgba(2,4,10,.55))}.screen{position:absolute;inset:0;display:grid;place-content:center;align-content:center;gap:.7rem;text-align:center;padding:1.5rem;z-index:6;overflow:auto;background:radial-gradient(ellipse at center,#070a1480,#03050be6)}.screen[hidden],#hud[hidden],.touch-controls[hidden],#warn-banner[hidden]{display:none}.eyebrow{margin:0;font-size:.7rem;letter-spacing:.32em;text-transform:uppercase;color:#ffc46b}h1{margin:0;font-size:clamp(2.4rem,9vw,5rem);line-height:1;letter-spacing:-.02em}h2{margin:0;font-size:clamp(1.8rem,6vw,3rem);line-height:1.1}.lede{margin:0 auto;max-width:38rem;color:#c9d3dc}.lede strong{color:#ffd98a}.hint{margin:0 auto;max-width:38rem;font-size:.8rem;color:#b0bdc8}.primary{justify-self:center;padding:.7rem 1.6rem;border-radius:999px;font:inherit;border:1px solid #ffc46b;background:#ffc46b;color:#1a1005;font-weight:700;cursor:pointer}.primary:hover{background:#ffd48f}.ghost{padding:.7rem 1.4rem;border-radius:999px;border:1px solid #8fa3b8;background:transparent;color:#e8eef0;font:inherit;font-weight:600;cursor:pointer}.ghost:hover{border-color:#ffc46b}.row{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center}.stars{margin:0;font-size:2rem;letter-spacing:.25em;color:#ffc766}.score-line{margin:0;font-weight:700}button:focus-visible{outline:3px solid #6fd6c0;outline-offset:3px}#levels{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}#levels button{display:grid;gap:.15rem;min-width:8rem;padding:.6rem .9rem;border-radius:.9rem;border:1px solid #3a4a60;background:#0c1220d9;color:#eef3f7;cursor:pointer;font:inherit}#levels button[aria-checked=true]{border-color:#ffc46b;background:#ffc46b29;box-shadow:0 0 0 1px #ffc46b inset}.lv-name{font-weight:700}.lv-meta{font-size:.72rem;color:#c0cbd6}#hud{position:absolute;inset:0;pointer-events:none;z-index:4}#hud-top{position:absolute;top:0;left:0;right:0;padding:.6rem .6rem 0;display:flex;flex-direction:column;gap:.4rem;align-items:flex-start}.hud-row{display:flex;flex-wrap:wrap;gap:.4rem}.hud-chip{padding:.28rem .7rem;border-radius:999px;font-size:.8rem;font-weight:600;font-family:inherit;background:#070a14cc;border:1px solid rgba(255,196,107,.5);color:#e8eef2;white-space:nowrap}.hud-chip.warn{color:#ffb08a;border-color:#ff8a5a}.hud-chip.good{color:#ffe08a}.hud-btn{pointer-events:auto;cursor:pointer}.hud-btn:hover{border-color:#ffc46b}.meter{display:inline-flex;align-items:center;gap:.45rem}.meter-label{font-size:.75rem}.meter-track{width:5.5rem;height:.55rem;border-radius:999px;background:#fff3;overflow:hidden;display:inline-block}#stam-fill{display:block;height:100%;width:100%;background:linear-gradient(90deg,#6fd6c0,#b8f0e0);border-radius:999px}.meter.low #stam-fill{background:#ff9a5a}#warn-banner{margin:0;padding:.4rem 1.1rem;border-radius:1.2rem;font-weight:800;font-size:.95rem;background:#b0341cf2;border:1px solid #ffd479;color:#fff;animation:warn .6s ease-in-out infinite alternate;max-width:94vw}@keyframes warn{to{transform:scale(1.04)}}#toast{margin:0;align-self:center;min-height:1.9rem;padding:.3rem 1.1rem;border-radius:999px;font-weight:700;font-size:.92rem;background:#070a14d9;color:#ffe08a;opacity:0;transition:opacity .25s;max-width:94vw;text-align:center}#toast.show{opacity:1}#pips-wrap{position:absolute;left:.6rem;right:.6rem;bottom:.6rem}#pips{position:relative;height:1.5rem;margin-bottom:.35rem}#pips b{position:absolute;top:.3rem;width:.9rem;height:.9rem;margin-left:-.45rem;border-radius:50%;background:#222a3a;border:2px solid #5a6a84}#pips b.lit{background:#ffc46b;border-color:#fff2c8;box-shadow:0 0 8px #ffb44a}#pips b.low{background:#ff9a50}#pips b.shut{border-color:#9fe0ff;box-shadow:0 0 8px #9fe0ff}#pips b.target{outline:2px solid #ff6a4a;outline-offset:2px}#who{position:absolute;top:1.05rem;width:0;height:0;margin-left:-.35rem;border-left:.35rem solid transparent;border-right:.35rem solid transparent;border-bottom:.55rem solid #6fd6c0}#ferry-mark{position:absolute;top:.1rem;width:2.6rem;height:.6rem;margin-left:-1.3rem;border-radius:.3rem .3rem .8rem .8rem;background:#c8452a;border:1px solid #ffd2c0;opacity:.9}.dawn-bar{height:8px;border-radius:999px;background:#fff3;overflow:hidden}#dawn-fill{height:100%;width:0%;background:linear-gradient(90deg,#4a6ea8,#ffd479)}#hud-status{position:absolute;left:50%;bottom:3.6rem;transform:translate(-50%);margin:0;padding:.25rem .9rem;border-radius:999px;font-size:.82rem;font-weight:600;background:#070a14b3;color:#e8eef2;max-width:94vw;text-align:center}#hud-status:empty{display:none}.touch-controls{position:absolute;left:0;right:0;bottom:5.3rem;display:flex;justify-content:space-between;align-items:flex-end;padding:0 .7rem;pointer-events:none}.touch-controls .pad{display:flex;gap:.5rem;pointer-events:auto}.touch-controls .acts{display:grid;grid-template-columns:repeat(2,auto);gap:.5rem}.touch-controls button{width:4.1rem;height:3.1rem;border-radius:14px;font:inherit;font-size:.9rem;font-weight:700;touch-action:manipulation;user-select:none;-webkit-user-select:none;border:1px solid #ffc46b;background:#070a14d9;color:#f0f4f8;cursor:pointer}.touch-controls button:active{background:#ffc46b59}.touch-controls button:disabled{opacity:.5}#t-left,#t-right{width:4.4rem;height:4rem;font-size:1.4rem}#t-fender{border-color:#6fd6c0;color:#8ff0d8}#t-shutter{border-color:#9fe0ff;color:#b6e6ff}#t-line{border-color:#ff9a6a;color:#ffb690}@media(max-width:560px){.hud-chip{font-size:.74rem;padding:.24rem .55rem}#hud-score{display:none}}#hud.touch #hud-status{bottom:13.6rem}@media(prefers-reduced-motion:reduce){#toast{transition:none}#warn-banner{animation:none}}
