:root {
  --ink: #eef8fb;
  --ink-2: rgb(232 246 250 / 0.72);
  --ink-3: rgb(232 246 250 / 0.48);
  --line: rgb(220 245 255 / 0.16);
  --accent: #ffb08a;
}
html, body { margin: 0; height: 100%; overflow: hidden; background: #062236; color: var(--ink); }
body { font: 400 14px/1.45 var(--kit-grotesk); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.boot, .boot * { transition: none !important; }
#stage { position: fixed; inset: 0; }
#stage canvas { cursor: grab; }
#stage canvas:active { cursor: grabbing; }
body.is-hot #stage canvas { cursor: pointer; }

.mast { position: fixed; left: 60px; top: 50px; z-index: 3; max-width: 560px; pointer-events: none; text-shadow: 0 2px 30px rgb(0 20 40 / 0.35); }
.over { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 500 12px/1 var(--kit-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.over::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
h1 { margin: 0; font: 500 64px/0.98 var(--kit-geometric); letter-spacing: -0.02em; }
.sub { margin: 16px 0 0; max-width: 400px; font: 400 16px/1.5 var(--kit-grotesk); color: var(--ink-2); }

.bar {
  position: fixed; left: 60px; bottom: 44px; z-index: 3;
  display: grid; grid-template-columns: 300px 260px auto; align-items: center; gap: 0 28px;
  padding: 18px 20px 18px 26px;
  background: rgb(4 30 48 / 0.4); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 60px rgb(0 10 20 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.07);
}
.label { font: 500 10.5px/1 var(--kit-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.depth-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.depth-head b { font: 500 22px/1 var(--kit-grotesk); font-variant-numeric: tabular-nums; }
.depth-head small { font: 500 12px/1 var(--kit-mono); color: var(--ink-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 0; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, #7fe0e6, #2a9cc4 40%, #0c4a78 75%, #06223e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #f3fbfd; box-shadow: 0 2px 10px rgb(0 0 0 / 0.4), 0 0 0 4px rgb(255 255 255 / 0.12); }
.scale { display: flex; justify-content: space-between; margin-top: 8px; font: 400 11px/1 var(--kit-mono); color: var(--ink-3); }
.note { margin: 0; font: 400 13px/1.45 var(--kit-grotesk); color: var(--ink-2); padding-left: 28px; border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 23px; background: var(--ink); color: #06283d; font: 500 14.5px/1 var(--kit-grotesk); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.btn:hover { filter: brightness(1.05); }

.hint { position: fixed; right: 60px; bottom: 22px; margin: 0; z-index: 3; font: 400 12px/1 var(--kit-grotesk); color: var(--ink-3); white-space: nowrap; }
.is-capturing .kit-hint { display: none; }
.tip { position: fixed; left: 0; top: 0; z-index: 6; pointer-events: none; padding: 9px 12px 10px; border-radius: 12px; background: rgb(3 22 36 / 0.84); color: #eef8fb; opacity: 0; transition: opacity 0.18s; display: grid; gap: 3px; }
.tip b { font: 600 13px/1.1 var(--kit-grotesk); }
.tip span { font: 400 11.5px/1.2 var(--kit-grotesk); color: rgb(238 248 251 / 0.66); }
.tip.is-on { opacity: 1; }

@media (max-width: 1250px) {
  .bar { grid-template-columns: 260px 200px auto; }
  h1 { font-size: 56px; }
}
