:root { --ink: #f7f1e7; --soft: rgb(247 241 231 / 0.76); --line: rgb(247 241 231 / 0.26); }
html, body { margin: 0; height: 100%; background: #0d0b0a; 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: radial-gradient(60% 45% at 0% 0%, rgb(10 8 7 / 0.42), rgb(10 8 7 / 0) 70%), linear-gradient(180deg, rgb(10 8 7 / 0.5) 0%, rgb(10 8 7 / 0) 30%), linear-gradient(0deg, rgb(10 8 7 / 0.5) 0%, rgb(10 8 7 / 0) 26%); }
.mast { position: fixed; z-index: 2; left: clamp(28px, 3.6vw, 56px); top: clamp(26px, 3.8vw, 54px); max-width: 420px; pointer-events: none; }
.overline { margin: 0 0 12px; font: 600 11.5px/1 var(--kit-grotesk); letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
h1 { margin: 0; font: 400 clamp(32px, 3.3vw, 44px)/1.08 var(--kit-serif); letter-spacing: -0.015em; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
.line { margin: 14px 0 0; max-width: 340px; font: 400 14.5px/1.55 var(--kit-grotesk); color: var(--soft); text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }
.dock { position: fixed; z-index: 2; left: clamp(28px, 3.6vw, 56px); bottom: clamp(26px, 3.6vw, 50px); }
.time { width: min(340px, 40vw); }
.time-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.time label { font: 600 11px/1 var(--kit-grotesk); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.time output { font: 400 15px/1 var(--kit-serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.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; border-radius: 2px; background: linear-gradient(90deg, #fff1d6, #f29a62 50%, #2b3a63); }
.time input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fff8ee; box-shadow: 0 0 0 5px rgb(255 248 238 / 0.18), 0 2px 8px rgb(0 0 0 / 0.4); }
.time input:focus-visible { outline: 2px solid #f6c48a; outline-offset: 4px; border-radius: 4px; }
.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(247 241 231 / 0.55); transition: color 0.2s; }
.time-marks button:hover, .time-marks button.is-on { color: var(--ink); }
.time-marks button:focus-visible { outline: 2px solid #f6c48a; outline-offset: 3px; border-radius: 3px; }
.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.93); box-shadow: 0 6px 20px rgb(0 0 0 / 0.28); }
.hint { position: fixed; z-index: 2; right: clamp(28px, 3.6vw, 56px); top: clamp(30px, 3.8vw, 58px); margin: 0; font: 500 12px/1.3 var(--kit-grotesk); color: var(--soft); }
