:root {
  --night: #050302;
  --text: #f6e7d3;
  --muted: #c9b39a;
  --ember: #ff9a3d;
  --panel: rgba(20, 12, 7, 0.62);
  --line: rgba(246, 231, 211, 0.22);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

/* No grey or blue flash on phones when a button is tapped; buttons show their own pressed state. */
button, a { -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--night);
}

.scene.idle { cursor: none; }

/* Long-press on phones shouldn't offer to save or share the video. */
.stage, .stage video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

.stage {
  position: absolute;
  inset: 0;
  background-position: 45% 50%;
  background-size: cover;
  transition: opacity 0.6s ease;
}

.stage.changing { opacity: 0; }

.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keeps the flames in frame when a tall phone screen crops the sides. */
  object-position: 45% 50%;
  opacity: 0;
}

/* Darkens the screen when the timer ends, so a frozen frame doesn't light the room all night. */
.dim {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s linear;
}

/* The play or pause sign that flashes in the middle after a click, like a video player. */
.flash {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
}

.flash svg { width: 36px; height: 36px; fill: currentColor; }
.flash.show { animation: flash 0.7s ease-out; }

@keyframes flash {
  from { opacity: 1; transform: scale(0.9); }
  to { opacity: 0; transform: scale(1.35); }
}

/* Sleep mode: a black screen over the paused picture while the sound keeps playing. */
.sleep {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px calc(max(20px, env(safe-area-inset-bottom)) + 24px);
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

.sleep-hint { margin: 0; color: var(--muted); font-size: 0.95rem; opacity: 0; }
.sleeping { cursor: none; }
.sleeping .sleep { opacity: 1; }
.sleeping .sleep-hint { animation: hint 6s ease forwards; }
.sleeping .controls, .sleeping .panel { opacity: 0; pointer-events: none; }

@keyframes hint {
  0%, 20% { opacity: 0; }
  35%, 75% { opacity: 0.8; }
  100% { opacity: 0; }
}

.clock {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 9;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

/* Dim enough to read across a dark bedroom without lighting it. */
.sleeping .clock { opacity: 0.32; }

.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px; }

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
}

.share-button:hover { background: rgba(246, 231, 211, 0.12); }
.share-button svg { width: 16px; height: 16px; fill: currentColor; }

/* A thin line along the bottom while a scene is still loading: it fills as the video buffers, and
   shimmers while only the sound is still on its way. It fades out once everything is playing. */
.load-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  height: 3px;
  overflow: hidden;
  background: rgba(246, 231, 211, 0.08);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.load-line.done { opacity: 0; }

.load-line-bar {
  width: 0;
  height: 100%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  transition: width 0.3s ease;
}

.load-line.waiting .load-line-bar {
  width: 30%;
  animation: loading-shimmer 1.6s ease-in-out infinite;
}

@keyframes loading-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(340%); }
}

/* Shown for a moment when the volume changes from the keyboard. */
.volume-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

.volume-hint.show { opacity: 1; transition: none; }

.shortcuts {
  width: min(360px, calc(100vw - 32px));
  padding: 18px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 12, 7, 0.92);
  color: var(--text);
}

.shortcuts::backdrop { background: rgba(0, 0, 0, 0.45); }
.shortcuts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 6px; font-size: 0.9rem; }
.shortcuts dt { white-space: nowrap; }
.shortcuts dd { margin: 0; color: var(--muted); }
.shortcuts form { display: flex; justify-content: flex-end; }

kbd {
  display: inline-block;
  min-width: 24px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  font: inherit;
  font-size: 0.8rem;
  text-align: center;
}

.coming-soon {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 6;
  margin: 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
  transform: translateY(-50%);
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

.start {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 12px;
  padding: 24px;
  overflow-y: auto;
  text-align: center;
  background: rgba(5, 3, 2, 0.62);
  transition: opacity 1.2s ease;
}

.start.leaving {
  opacity: 0;
  pointer-events: none;
}

.start h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.start h1.logo { line-height: 0; }
.start h1.logo img { width: auto; height: clamp(110px, 22vh, 170px); }

.start .intro { max-width: 560px; line-height: 1.45; }
.start .intro strong { color: var(--text); font-weight: 600; }

.start p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.scene-grid {
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 16px;
}

/* Holds the cards' space before the script adds them, so the start screen doesn't jump.
   Eight cards plus the "coming soon" tile: three rows of three, or on phones four rows of two plus a slim full-width row. */
.scene-grid:empty { aspect-ratio: 1.57; }

.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  aspect-ratio: 16 / 10;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-position: 45% 50%;
  background-size: cover;
  /* Darkens the bottom of the image so the name stays readable. */
  box-shadow: inset 0 -56px 40px -16px rgba(0, 0, 0, 0.75);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.scene-card:hover { border-color: var(--text); transform: translateY(-2px); }
.scene-card[aria-current="true"] { border-color: var(--ember); box-shadow: inset 0 -56px 40px -16px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--ember); }
.scene-card.loading { animation: pulse 1.2s ease-in-out infinite; }

@keyframes pulse {
  50% { opacity: 0.55; }
}

.scene-name { font-size: 0.95rem; font-weight: 600; }
.more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.scene-soon { color: var(--muted); font-size: 0.78rem; }

.status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.status:has(> :not([hidden])) { margin-top: 8px; }

.panel {
  position: absolute;
  left: 50%;
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 68px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.picker { width: min(970px, calc(100vw - 32px)); }
.mixer { width: min(340px, calc(100vw - 32px)); padding: 14px 16px; }

.timer { width: min(340px, calc(100vw - 32px)); padding: 14px 16px; gap: 12px; }

.panel-heading { margin: 0; font-size: 0.9rem; }

.timer-options { display: flex; gap: 6px; }

.timer-options button {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.timer-options button:hover { background: rgba(246, 231, 211, 0.12); }
.timer-options button[aria-pressed="true"] { border-color: var(--ember); background: var(--ember); color: #201006; font-weight: 600; }

.mix-rows { display: flex; flex-direction: column; gap: 8px; }
.mix-soon { margin: 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

.mix-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  font-size: 0.9rem;
}

.mix-row input {
  width: 100%;
  accent-color: var(--ember);
  cursor: pointer;
}

.mix-divider { height: 1px; background: var(--line); }

/* Short phone screens: tighter rows so all ten sounds and the links below them fit without scrolling. */
@media (max-height: 700px) {
  .mix-rows { gap: 3px; }
  .mix-row { min-height: 27px; }
}

.mix-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.footer-links { display: flex; align-items: center; gap: 14px; line-height: 1; }
.support-link { color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.support-link:hover { color: var(--ember); }

.mix-reset {
  margin-left: auto;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.mix-reset:hover { background: rgba(246, 231, 211, 0.12); color: var(--text); }

.scene-strip {
  display: flex;
  gap: 8px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

/* Holds the row of scenes and its scroll arrows. */
.strip-wrap { position: relative; }
.strip-wrap.more-right .scene-strip { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.strip-wrap.more-left .scene-strip { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.strip-wrap.more-left.more-right .scene-strip { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.strip-arrow {
  position: absolute;
  top: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 12, 7, 0.88);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
}
.strip-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.strip-arrow.left { left: 2px; }
.strip-arrow.right { right: 2px; }
.more-left .strip-arrow.left, .more-right .strip-arrow.right { display: flex; }
.scene-strip .scene-card { flex: none; width: 150px; }
.scene-strip .scene-card:hover { transform: none; }
.scene-strip .more-card { flex: none; width: 150px; aspect-ratio: 16 / 10; font-size: 0.82rem; }

.progress {
  width: min(240px, 70vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress div {
  width: 0;
  height: 100%;
  background: var(--ember);
  transition: width 0.15s linear;
}

p.error { margin: 0; color: #ffc6a8; font-size: 0.95rem; text-align: center; }

.controls {
  position: absolute;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: opacity 0.5s ease;
}

.idle .controls { opacity: 0; pointer-events: none; }

.control {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: pointer;
}

.control.text { width: auto; min-width: 92px; padding: 0 12px; }
.control:hover { background: rgba(246, 231, 211, 0.12); }
.control svg { width: 22px; height: 22px; fill: currentColor; }

button:focus-visible, input:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.start .page-links { margin-top: 12px; font-size: 0.9rem; }
.page-links a { color: var(--muted); }
.page-links a:hover { color: var(--text); }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.5;
}

.page-back { display: flex; align-items: center; gap: 6px; width: fit-content; margin: -8px 0 12px -8px; padding: 8px; color: var(--muted); font-size: 1rem; text-decoration: none; }
.page-back svg { width: 18px; height: 18px; fill: currentColor; }
.page-back:hover { color: var(--text); }
/* Pinned version: stays at the top of the screen while the page scrolls. */
.page-back.sticky {
  position: sticky;
  top: max(10px, env(safe-area-inset-top));
  z-index: 5;
  margin: -8px 0 12px -10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
}
.page-brand { display: inline-block; margin-bottom: 32px; }
.page-brand img { display: block; width: auto; height: 42px; }
.not-found { padding-top: 12vh; }
.not-found .support-button { margin: 8px 0; }
.prose h2 { margin: 32px 0 8px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.prose li { margin: 4px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.updated { margin-top: 0; font-size: 0.9rem; }
.page h1 { margin: 0 0 8px; font-size: 2.25rem; font-weight: 600; }
.page p { color: var(--muted); }
.page a { color: var(--ember); }
.page table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.page th, .page td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.page h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 600; }
.support-option { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.support-option p { margin: 0 0 16px; }
.page .support-button { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--ember); color: #201006; font-weight: 600; text-decoration: none; }
.page a.support-button:hover { filter: brightness(1.08); }
.feedback-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.feedback-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.feedback-types legend { margin-bottom: 8px; padding: 0; color: var(--text); font-size: 0.95rem; }

.feedback-types label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.feedback-types label:has(input:checked) { border-color: var(--ember); background: var(--ember); color: #201006; font-weight: 600; }
.feedback-types label:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.feedback-types input { position: absolute; opacity: 0; pointer-events: none; }

.feedback-field { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.feedback-field small { color: var(--muted); font-size: 0.85rem; }
.feedback-field .field-note { margin-top: -4px; }

.feedback-field textarea,
.feedback-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(246, 231, 211, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
}

.feedback-field textarea:focus-visible, .feedback-field input:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.cf-turnstile { min-height: 65px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.feedback-form .support-button { align-self: flex-start; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.feedback-form .support-button:disabled { opacity: 0.6; cursor: default; }
.feedback-form .error { text-align: left; }
.feedback-email-line { margin-top: 32px; }

.support-option strong { color: var(--text); }
.qr-phone-tip { margin: 16px 0 8px !important; font-size: 0.9rem; }
.page a.text-link { font-size: 0.95rem; }
.qr-option summary { list-style: none; cursor: pointer; }
.qr-option summary::-webkit-details-marker { display: none; }
.qr-option summary h2 { margin: 0 0 4px; }
.qr-summary-note { color: var(--muted); font-size: 0.95rem; }
.qr-show { color: var(--ember); text-decoration: underline; }
.qr-option[open] .qr-summary-note { display: none; }
.qr-option[open] summary { margin-bottom: 8px; }
/* An arrow on every foldable section: points down when closed, up when open. */
.qr-option summary { position: relative; padding-right: 32px; }
.qr-option summary::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.qr-option[open] summary::after { top: 10px; transform: rotate(-135deg); }
.support-qr { display: block; max-width: 100%; height: auto; border-radius: 12px; background: #fff; }
.crypto-wallet { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.crypto-wallet h3 { margin: 0 0 4px; font-size: 1rem; color: var(--text); }
.crypto-badge { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ember); color: #1a0d06; font-size: 0.75rem; font-weight: 600; vertical-align: middle; }
.crypto-qr { width: 200px; margin: 12px 0 0; }
.crypto-qr[hidden] { display: none; }
.crypto-address { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.85rem; overflow-wrap: anywhere; user-select: all; }
/* Address on the left, the two small buttons stacked on its right. */
/* One row: the address box (only as wide as the address), then Copy and QR. */
.crypto-row { display: flex; gap: 6px; align-items: center; }
.crypto-row .crypto-address { flex: 0 1 auto; min-width: 0; width: fit-content; padding: 8px 10px; }
.crypto-actions { display: flex; flex-direction: row; gap: 6px; flex: 0 0 auto; }
.crypto-actions .copy-button { margin-top: 0; padding: 6px 10px; white-space: nowrap; }
.crypto-actions .copy-button[data-copy] { min-width: 64px; }
.crypto-actions .qr-toggle { min-width: 64px; }
@media (max-width: 420px) {
  .crypto-row .crypto-address { font-size: 0.72rem; padding: 7px 8px; }
  .crypto-actions .copy-button { padding: 6px 8px; font-size: 0.82rem; }
  .crypto-actions .copy-button[data-copy], .crypto-actions .qr-toggle { min-width: 52px; }
}
.crypto-actions .copy-button { margin-top: 0; }
.copy-button { margin-top: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 0.9rem; cursor: pointer; }
.copy-button:hover { border-color: var(--ember); }
.page th { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

@media (max-width: 560px) {
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid:empty { aspect-ratio: 0.67; }
  .more-card { grid-column: 1 / -1; aspect-ratio: auto; min-height: 52px; }
  .page { padding: 32px 16px; }
  .page th, .page td { padding-right: 8px; font-size: 0.85rem; }
}

@media (max-width: 460px) {
  .controls { gap: 0; }
  .control { width: 40px; }
  .control.text { min-width: 72px; padding: 0 6px; }
}

@media (max-width: 385px) {
  .controls { gap: 0; }
  .control { width: 32px; }
  .control.text { min-width: 58px; padding: 0 3px; font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card, .stage { transition: none; }
  .scene-card.loading { animation: none; opacity: 0.55; }
  .flash.show { animation-name: flash-still; }
  .load-line.waiting .load-line-bar { width: 100%; animation: none; opacity: 0.5; }
  @keyframes flash-still { from { opacity: 1; } to { opacity: 0; } }
}
