:root { --ink: #fbf7f1; --soft: rgb(251 247 241 / 0.78); --line: rgb(251 247 241 / 0.28); }
html, body { margin: 0; height: 100%; background: #0b0b0b; overflow: hidden; }
body { font-family: var(--kit-grotesk); color: var(--ink); -webkit-font-smoothing: antialiased; }
#stage canvas { touch-action: none; }
.shade { position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgb(12 9 6 / 0.42) 0%, rgb(12 9 6 / 0) 28%), linear-gradient(0deg, rgb(12 9 6 / 0.42) 0%, rgb(12 9 6 / 0) 24%); }
.mast { position: fixed; z-index: 2; left: clamp(28px, 3.4vw, 52px); top: clamp(24px, 3.6vw, 48px); max-width: 560px; pointer-events: none; }
.overline { margin: 0 0 10px; font: 600 11.5px/1 var(--kit-grotesk); letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
h1 { margin: 0; font: 400 clamp(30px, 2.9vw, 42px)/1.08 var(--kit-serif); letter-spacing: -0.01em; text-shadow: 0 1px 18px rgb(0 0 0 / 0.25); }
.line { margin: 12px 0 0; max-width: 420px; font: 400 14.5px/1.5 var(--kit-grotesk); color: var(--soft); }
.dock { position: fixed; z-index: 2; left: clamp(28px, 3.4vw, 52px); right: clamp(28px, 3.4vw, 52px); bottom: clamp(22px, 3vw, 40px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.time { width: min(380px, 42vw); }
.time label { display: block; margin-bottom: 10px; font: 600 11px/1 var(--kit-grotesk); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.time input { width: 100%; margin: 0; -webkit-appearance: none; appearance: none; height: 18px; background: transparent; cursor: pointer; }
.time input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #cfe0f5, #fff6e2 50%, #ffb066); border-radius: 2px; }
.time input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fffaf2; box-shadow: 0 0 0 5px rgb(255 250 242 / 0.18), 0 2px 8px rgb(0 0 0 / 0.35); }
.time-marks { display: flex; justify-content: space-between; margin-top: 8px; }
.time-marks button { all: unset; cursor: pointer; font: 500 12.5px/1 var(--kit-grotesk); color: rgb(251 247 241 / 0.6); }
.time-marks button.is-on { color: var(--ink); }
.toggles { display: flex; gap: 10px; }
.toggles button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 12px; border-radius: 999px;
  font: 500 13px/1 var(--kit-grotesk); color: var(--ink); background: rgb(20 16 12 / 0.34); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.toggles i { width: 8px; height: 8px; border-radius: 50%; background: rgb(251 247 241 / 0.35); }
.toggles button[aria-pressed="true"] i { background: #ffc46b; box-shadow: 0 0 10px 2px rgb(255 196 107 / 0.7); }
.toggles button:hover { background: rgb(20 16 12 / 0.5); }
.tip { position: fixed; z-index: 3; margin: 0; padding: 7px 11px; border-radius: 8px; pointer-events: none; font: 500 12.5px/1.2 var(--kit-grotesk); color: #1b1612; background: rgb(255 251 245 / 0.92); box-shadow: 0 6px 20px rgb(0 0 0 / 0.25); }
.hint { position: fixed; z-index: 2; right: clamp(28px, 3.4vw, 52px); top: clamp(26px, 3.6vw, 50px); margin: 0; font: 500 12px/1.3 var(--kit-grotesk); color: var(--soft); }
