:root { --bg: #08090c; --text: #e8eaee; --muted: #9aa1ad; --panel: rgba(12, 14, 19, 0.74); --line: #2a2f3a; --accent: #5ab0ff; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; overflow: hidden; }
canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
canvas:active { cursor: grabbing; }
.panel { position: absolute; left: 16px; top: 16px; max-width: 400px; padding: 14px 16px; background: var(--panel); border-radius: 10px; border-left: 3px solid var(--accent); }
.panel h1 { margin: 0 0 4px; font-size: 18px; font-weight: 650; }
.panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.panel a.back { display: inline-block; margin-bottom: 8px; color: var(--accent); font-size: 12px; text-decoration: none; }
#controls { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
button { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
button:hover { border-color: var(--accent); }
.slider { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.slider input { width: 200px; accent-color: var(--accent); }
.readout { background: var(--panel); border-radius: 8px; padding: 8px 14px; font-size: 14px; margin-right: auto; }
.readout span { color: var(--muted); font-size: 12px; margin-right: 6px; }
.credit { position: absolute; right: 16px; top: 16px; max-width: 320px; font-size: 11px; color: var(--muted); text-align: right; }
.credit a { color: var(--muted); }
#status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; pointer-events: none; }
@media (max-width: 640px) { .panel { max-width: none; right: 16px; } .panel p { display: none; } .slider input { width: 130px; } .credit { display: none; } }
body.reel .panel, body.reel #controls, body.reel .credit, body.reel #status { display: none !important; }
body.reel canvas { cursor: default; }
