body::before { content: ''; position: fixed; left: 0; right: 0; top: 0; height: 300px; z-index: 2; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgb(255 236 220 / 0.55), rgb(255 236 220 / 0) 70%); }
:root {
  --ink: #33294d;
  --ink-2: rgb(51 41 77 / 0.78);
  --ink-3: rgb(51 41 77 / 0.55);
  --glass: rgb(255 246 240 / 0.42);
  --line: rgb(255 255 255 / 0.32);
}
html, body { margin: 0; height: 100%; overflow: hidden; background: #c9a7c3; color: var(--ink); }
body { font: 400 14px/1.5 var(--kit-humanist); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
#stage { background: linear-gradient(#6c83c8, #b9a3d6 45%, #ffcdab 70%, #e6b7c2); }

.mast { position: fixed; left: 0; right: 0; top: 54px; z-index: 3; text-align: center; pointer-events: none; }
.overline { margin: 0 0 14px; font: 600 12px/1 var(--kit-humanist); letter-spacing: 0.32em; text-transform: uppercase; color: #8a5a6e; }
h1 { margin: 0; font: 400 60px/1 var(--kit-humanist); letter-spacing: 0.01em; color: #3a2f55; }
.sub { margin: 16px auto 0; max-width: 470px; font-size: 16px; line-height: 1.5; color: rgb(58 47 85 / 0.78); }

.bar {
  position: fixed; left: 50%; bottom: 40px; z-index: 3; translate: -50% 0;
  display: flex; align-items: center; gap: 22px; padding: 10px 14px 10px 22px; border-radius: 30px;
  background: var(--glass); border: 1px solid rgb(255 255 255 / 0.55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 40px rgb(70 50 110 / 0.18);
}
.k { font: 600 10.5px/1 var(--kit-humanist); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.tod { display: flex; align-items: center; gap: 16px; }
.ends { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.tod input { -webkit-appearance: none; appearance: none; width: 150px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ffb47e, #fff4e0 60%, #9cc5ee); cursor: pointer; }
.tod input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fffaf2; box-shadow: 0 0 0 5px rgb(255 255 255 / 0.45), 0 2px 8px rgb(80 60 120 / 0.35); }
.lantern { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 12px; border-radius: 19px; border: 1px solid rgb(51 41 77 / 0.16); background: rgb(255 255 255 / 0.35); cursor: pointer; }
.lantern:hover { background: rgb(255 255 255 / 0.6); }
.lantern .state { font-size: 14px; color: var(--ink); min-width: 44px; text-align: left; }
.flame { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #fff3d6, #ffb45c 60%, #e07a2c); box-shadow: 0 0 10px rgb(255 170 80 / 0.9); transition: opacity 0.3s, box-shadow 0.3s; }
.lantern[aria-pressed="false"] .flame { opacity: 0.35; box-shadow: none; }
.hint { position: fixed; left: 0; right: 0; bottom: 104px; margin: 0; text-align: center; z-index: 3; font-size: 12.5px; color: var(--ink-3); }
.is-capturing .hint { display: none; }
@media (min-aspect-ratio: 5/4) { .mast { left: 56px; right: auto; text-align: left; top: 50px; } .sub { margin-left: 0; } }
