:root {
  color-scheme: dark;
  --ink: #f3ead7;
  --muted: #d4c7a8;
  --bg: #12101a;
  --card: #1c1826;
  --accent: #c4a574;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
}
button, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid #3a3348;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
button[aria-pressed="true"], .chip.is-on {
  background: #3a2f1c;
  border-color: var(--accent);
  color: var(--accent);
}
.wrap { min-height: 100%; display: grid; }
.picker, .empty {
  max-width: 40rem;
  margin: auto;
  padding: 2rem 1.25rem 3rem;
}
h1 { font-weight: 400; font-size: 2rem; margin: 0 0 0.4rem; }
.lede { color: var(--muted); line-height: 1.5; margin: 0 0 1.75rem; }
fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
legend { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.primary {
  background: var(--accent);
  color: #1a140c;
  border-color: var(--accent);
  margin-top: 0.5rem;
}
.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.scene {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #12101a;
}
.scene.is-on { opacity: 1; }
.scene-title { background: radial-gradient(circle at 50% 30%, #2a2438, #12101a 70%); }
.scene-s01 { background: radial-gradient(ellipse at 50% 80%, #5a3a22 0%, #1a120c 55%, #0c0a10 100%); }
.scene-s02 { background: radial-gradient(ellipse at 70% 20%, #e8c07a 0%, #8a5a28 40%, #2a1c12 100%); }
.scene-s03 { background: radial-gradient(circle at 78% 18%, #f2f0e4 0 2%, #7b8cb0 8%, #1b2744 55%, #0c1018 100%); }
.scene-s04 { background: linear-gradient(#0d1220, #1a2030 40%, #0a0c12); }
.scene-s05 { background: radial-gradient(circle at 30% 70%, #6b3d7a, #1a1020 60%); }
.scene-s06 { background: radial-gradient(circle at 50% 40%, #24304a, #0b0c12 70%); }
.scene-end { background: #0c0a10; }
.overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.5rem 7.5rem;
  background: linear-gradient(transparent, rgba(8,6,12,0.88) 40%);
  font-size: 1.35rem;
  line-height: 1.45;
  text-align: center;
  min-height: 8rem;
}
.controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.25rem;
}
.time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.hidden { display: none; }
