:root{font-family:Inter,Segoe UI,sans-serif;color-scheme:dark;color:#e4eee7;background:#101916;font-synthesis:none;--muted: #aebfb5;--green: #a3e6b3;--edge: #354a3d}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{color:inherit;background:#1b2a24;border:1px solid var(--edge);border-radius:8px;cursor:pointer}button:hover{background:#2b4034}button[aria-pressed=true]{background:#314c3b;border-color:#69a783}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--green);outline-offset:2px}.app{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100vh;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.topbar,.timeline{display:flex;align-items:center;gap:16px;padding:10px 20px}.topbar{min-height:62px;border-bottom:1px solid var(--edge)}.brand{display:flex;align-items:center;gap:13px;margin-right:auto}.emblem{width:25px;height:25px;border-radius:7px;background:linear-gradient(140deg,#c9f8a9 0 47%,#6fb392 49%);transform:rotate(-13deg)}.brand strong{display:block;font-size:21px;letter-spacing:-.04em}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase}.mode{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;white-space:nowrap}.mode:before{content:"";width:7px;height:7px;background:#e3be7c;border-radius:50%;flex:0 0 auto}.mode[data-state=live]:before{background:#94df9d}#overview,#source,#retry{min-height:36px;padding:4px 13px}.stage{position:relative;min-height:0;overflow:hidden;background:#23302b}#arena{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}#arena:focus-visible{outline-offset:-3px}.status{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:12px 16px;border-radius:8px;background:#111c18;text-align:center}.status[hidden]{display:none}.map-panel,.desktop-controls,.zoom,.reset{background:#12201bed;border:1px solid var(--edge);border-radius:9px}.map-panel{position:absolute;top:16px;right:16px;padding:8px;pointer-events:none}.map-label{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:11px;color:var(--muted)}#zone{color:#e4eee7}#map{display:block;width:132px;height:88px;border-radius:5px}.zoom{position:absolute;top:16px;left:16px;display:grid;overflow:hidden}.zoom button{width:39px;height:38px;border:0;border-radius:0;font-size:21px}.zoom button+button{border-top:1px solid var(--edge)}.desktop-controls{position:absolute;bottom:16px;left:16px;display:flex;align-items:center;gap:10px;padding:8px 12px;color:var(--muted);font-size:12px;pointer-events:none}kbd{color:var(--green);font:600 11px Segoe UI,sans-serif;border:1px solid var(--edge);padding:3px 5px;border-radius:4px}.reset{position:absolute;right:16px;bottom:16px;padding:8px 10px;font-size:12px}.timeline{min-height:70px;border-top:1px solid var(--edge)}.timeline[hidden],.stage:not(.local-control) :is(.desktop-controls,.mobile-controls,.reset){display:none}.play{width:42px;height:40px;background:var(--green);color:#132b1d;border-color:transparent;flex:0 0 auto}.play:hover,.play[aria-pressed=true]{background:#c6f6d1;color:#132b1d}.timeline-content{min-width:0;flex:1}.timeline-label{display:flex;align-items:baseline;gap:14px;white-space:nowrap}.timeline-label strong{font-size:13px}#cue{color:var(--muted);overflow:hidden;text-overflow:ellipsis;font-size:12px}#scrub{display:block;width:100%;margin:4px 0 0;accent-color:var(--green)}#time{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted);font-size:12px}.mobile-controls{display:none}@media(pointer:coarse){.desktop-controls{display:none}.mobile-controls{position:absolute;inset:auto 16px 15px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.pad,.shoot{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}.pad{position:relative;width:82px;height:82px;border:1px solid #98c4a684;border-radius:50%;background:#14231ec7}.knob{position:absolute;width:30px;height:30px;left:25px;top:25px;border:1px solid #b5e4b8;border-radius:50%;background:#6ea380;pointer-events:none}.pad small{position:absolute;top:100%;left:50%;transform:translate(-50%);color:#eff7ee;font-size:11px;pointer-events:none}.shoot{order:0;min-height:44px;padding:0 15px;color:#14291c;background:var(--green);font-weight:600}.shoot:hover{background:#c6f6d1}#aim-pad{order:1}.reset{top:120px;bottom:auto}}@media(max-width:560px){.topbar,.timeline{padding-inline:11px;gap:9px}.brand{gap:8px}.brand strong{font-size:18px}.brand small{font-size:10px}.emblem{width:19px;height:19px}.mode{font-size:11px}#overview,#source,#retry{font-size:12px;padding-inline:7px}.topbar{flex-wrap:wrap}.mode{order:1;flex-basis:100%}.map-panel{top:8px;right:8px}#map{width:103px;height:65px}.zoom{top:8px;left:8px}.timeline-label{flex-direction:column;gap:3px}.timeline-label strong,#cue{font-size:11px}#cue{width:100%}.reset{right:8px;top:110px}}@media(max-height:440px){.topbar,.timeline{min-height:44px;padding-block:5px}.pad{transform:scale(.76)}.mobile-controls{bottom:3px}}
