:root {
  color-scheme: light;
  --ink: #10201b;
  --ink-soft: #365047;
  --pine: #0a2d24;
  --lichen: #587461;
  --mist: #d9edf0;
  --mist-line: #b9dce2;
  --gold: #e2b85c;
  --gold-deep: #c89a36;
  --paper: #fafaf7;
  --white: #ffffff;
  --line: #d9dfda;
  --muted: #596d65;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 14px 38px rgba(16, 32, 27, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 300px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, select, input { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
a { color: #2f5f50; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-shell { overflow: clip; }
.breadcrumbs {
  width: min(100% - 40px, 1370px);
  margin: 0 auto;
  padding: 14px 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
}
.breadcrumbs ol { display: flex; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa8a2; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  min-height: 200px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 3.2vw, 44px) clamp(30px, 5vw, 76px);
}
.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: .99;
}
.hero-lede {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: clamp(.95rem, 1.08vw, 1.08rem);
  line-height: 1.48;
}
.start-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0 27px;
  border: 1px solid #d5a53f;
  border-radius: 12px;
  background: var(--gold);
  box-shadow: 0 8px 19px rgba(154, 109, 23, 0.22);
  color: #0a1f19;
  cursor: pointer;
  font-size: 1.14rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.start-button:hover { transform: translateY(-2px); background: #edc76d; box-shadow: 0 12px 24px rgba(154, 109, 23, 0.26); }
.start-button:active { transform: translateY(0); }
.start-button svg { width: 30px; height: 30px; }
.hero-media {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background: #0c2c23 url("assets/hero-cat-window.jpg") 58% center / cover no-repeat;
}
.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(to top, rgba(6, 26, 21, 0.2), transparent);
  content: "";
  pointer-events: none;
}
.hero-window-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  max-width: 210px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 10px;
  background: rgba(8, 31, 25, .78);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  color: white;
  font-size: .72rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.setup {
  width: min(100% - 48px, 1415px);
  margin: 0 auto;
  padding: 16px 0 28px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 10px;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: .84rem; }
.scene-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(104px, 1fr));
  gap: 11px;
}
.scene-choice {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.scene-choice:hover { transform: translateY(-2px); }
.scene-choice.is-selected { border-color: var(--pine); box-shadow: 0 0 0 1px var(--paper), 0 0 0 3px var(--pine); }
.scene-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.85 / 1;
  border-radius: 9px;
  background-color: #dbe8df;
  background-position: center;
  background-size: cover;
}
.scene-choice strong { display: block; padding: 6px 6px 5px; font-size: .82rem; line-height: 1.15; text-align: center; }
.scene-check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--pine);
  color: white;
  box-shadow: 0 3px 9px rgba(0,0,0,.24);
}
.scene-choice.is-selected .scene-check { display: grid; }
.scene-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.control-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--mist-line);
  border-radius: 15px;
  background: var(--mist);
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
.control-field {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-height: 76px;
  align-items: center;
  padding: 10px 18px;
}
.control-field + .control-field { border-left: 1px solid #afd3da; }
.control-icon { display: grid; width: 32px; height: 32px; place-items: center; color: #174537; }
.control-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-field label, .toggle-copy span { display: block; color: #526860; font-size: .72rem; font-weight: 680; letter-spacing: .02em; }
.control-field select {
  width: 100%;
  min-height: 46px;
  margin: -4px 0 -3px;
  padding: 0 30px 0 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: .98rem;
  font-weight: 760;
}
.control-field select:focus-visible {
  outline: 3px solid #2d7a65;
  outline-offset: 2px;
  background: rgba(255,255,255,.55);
}
.control-field .toggle-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.toggle-copy strong { display: block; font-size: .98rem; line-height: 1.25; }
.switch { display: block; position: relative; flex: 0 0 auto; width: 51px; height: 44px; }
.switch input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.switch span {
  position: absolute;
  inset: 7px 0 8px;
  border: 1px solid #78968b;
  border-radius: 999px;
  background: #edf5f3;
  cursor: pointer;
  transition: background 160ms ease;
}
.switch input:focus-visible + span {
  outline: 3px solid #2d7a65;
  outline-offset: 3px;
}
.switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(10,45,36,.25);
  content: "";
  transition: transform 160ms ease;
}
.switch input:checked + span { background: var(--lichen); }
.switch input:checked + span::after { transform: translateX(22px); }
.custom-volume { grid-column: 1 / -1; padding: 0 18px 13px 60px; }
.custom-volume label { display: block; margin-bottom: 5px; color: #53685f; font-size: .72rem; }
.custom-volume input { width: 100%; min-height: 44px; accent-color: var(--lichen); }
.launch-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.launch-note { max-width: 760px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.launch-note strong { color: var(--ink); }

.content-wrap { border-top: 1px solid var(--line); }
.content-section {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) 0;
}
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section h2 {
  max-width: 870px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.content-section h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.2;
}
.content-section p { max-width: 790px; margin: 0 0 18px; color: #3c5149; }
.definition { max-width: 880px !important; color: var(--ink) !important; font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.58; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 70px); margin-top: 38px; }
.how-step { position: relative; padding-top: 20px; border-top: 2px solid var(--mist-line); }
.how-step::before { position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); content: ""; }
.how-step p { font-size: .93rem; }
.scene-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}
.scene-copy aside {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--pine);
  box-shadow: var(--shadow-soft);
}
.scene-copy aside img { display: block; width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; }
.scene-copy aside p { margin: 0; padding: 16px 20px; color: rgba(255,255,255,.8); font-size: .8rem; }
.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 42px 70px; margin-top: 40px; }
.answer-block { padding-top: 19px; border-top: 1px solid #cfd8d3; }
.answer-block h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 780; }
.answer-block p { margin: 0; font-size: .93rem; }
.scene-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.scene-links a { padding: 9px 14px; border: 1px solid #bacac3; border-radius: 9px; background: white; color: var(--ink); font-size: .82rem; font-weight: 700; text-decoration: none; }
.scene-links a:hover { border-color: var(--lichen); background: #f1f6f3; }
.sources { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--gold); background: #f2f5ef; }
.sources h3 { font-family: var(--sans); font-size: 1rem; }
.sources p, .sources li { font-size: .84rem; }
.sources ul { margin: 10px 0 0; padding-left: 20px; }
.reviewed { margin-top: 28px !important; color: #5f726a !important; font-size: .78rem; }

.site-footer { overflow-wrap: anywhere; padding: 42px 24px 52px; background: var(--pine); color: rgba(255,255,255,.76); text-align: center; }
.site-footer strong { display: block; margin-bottom: 7px; color: white; font-family: var(--serif); font-size: 1.35rem; }
.site-footer a { color: #f2ca78; }

.cat-tv-player {
  position: fixed;
  z-index: 100000;
  inset: 0;
  overflow: hidden;
  background: #071913;
  cursor: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}
.cat-tv-player.cursor-active { cursor: default; }
.cat-tv-player canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.exit-hold {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  opacity: .14;
  background: rgba(4, 25, 20, .78);
  color: white;
  cursor: pointer;
  font-size: .65rem;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  transition: opacity 260ms ease;
}
.exit-hold:hover, .exit-hold:focus-visible, .exit-hold.is-holding, .exit-hold.is-introduced { opacity: 1; }
.exit-hold::before {
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: inherit;
  content: "";
}
.exit-hold.is-holding::before { border-color: transparent; background: conic-gradient(var(--gold) 0 100%, rgba(255,255,255,.25) 0); animation: hold-progress 2s linear both; mask: radial-gradient(transparent 58%, #000 60%); }
@keyframes hold-progress { from { transform: rotate(-90deg); clip-path: inset(0 100% 0 0); } to { transform: rotate(-90deg); clip-path: inset(0); } }
html.cat-tv-playing, body.cat-tv-playing { overflow: hidden; }
body.cat-tv-playing > random-express-nav, body.cat-tv-playing .site-shell, body.cat-tv-playing .site-footer { visibility: hidden; }

.session-dialog {
  width: min(92vw, 540px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(4, 25, 20, .34);
  color: var(--ink);
}
.session-dialog::backdrop { background: rgba(5, 28, 22, .66); backdrop-filter: blur(5px); }
.session-card { padding: 34px; }
.session-card h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 2.3rem; letter-spacing: -.035em; }
.session-card > p { margin: 0 0 22px; color: #5d7069; }
.session-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.session-stats p { margin: 0; padding: 14px; border-radius: 12px; background: var(--mist); color: var(--ink); font-size: .88rem; font-weight: 700; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.dialog-actions button { min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid #b9c6c0; background: white; color: var(--ink); cursor: pointer; font-weight: 730; }
.dialog-actions .primary { border-color: var(--gold-deep); background: var(--gold); }

:focus-visible { outline: 3px solid #2d7a65; outline-offset: 3px; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); }
  .scene-rail { grid-template-columns: repeat(8, minmax(0, 1fr)); padding: 3px; }
  .control-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-field:nth-child(3) { border-left: 0; border-top: 1px solid #afd3da; }
  .control-field:nth-child(4) { border-top: 1px solid #afd3da; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .breadcrumbs { width: min(100% - 24px, 760px); padding: 9px 0 5px; }
  .hero { grid-template-columns: minmax(0, 1.16fr) minmax(250px, .84fr); min-height: 230px; }
  .hero-copy { padding: 23px 24px; }
  .hero h1 { font-size: clamp(2.15rem, 5.8vw, 3rem); line-height: 1; }
  .hero-lede { margin-top: 11px; font-size: .93rem; line-height: 1.42; }
  .hero-media { min-height: 230px; }
  .setup { width: min(100% - 24px, 760px); padding: 13px 0 24px; }
  .section-heading { gap: 12px; }
  .scene-choice strong { font-size: .78rem; }
  .content-section { width: min(100% - 34px, 720px); padding: 55px 0; }
  .how-grid, .answer-grid, .scene-copy { grid-template-columns: 1fr; }
  .how-grid { gap: 26px; }
  .answer-grid { gap: 25px; }
  .scene-copy aside { order: -1; }
}

@media (max-width: 640px) {
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 20px 18px 16px; }
  .hero h1 { max-width: 560px; font-size: 1.75rem; }
  .hero-lede { max-width: 560px; margin-top: 10px; font-size: .91rem; }
  .hero-media { display: none; }
  .scene-rail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.6rem), 1fr)); }
  .scene-thumb { display: none; }
  .scene-choice { min-height: 48px; align-items: center; background: #eef3ed; }
  .scene-choice.is-selected { background: var(--mist); }
  .scene-choice.is-selected .scene-check { display: none; }
  .scene-choice strong { font-size: .8rem; }
  .section-heading p { display: none; }
  .setup { width: min(100% - 18px, 560px); }
  .section-heading { align-items: center; }
  .control-field { min-height: 70px; padding: 8px 12px; }
  .control-field label, .toggle-copy span { font-size: .68rem; }
  .control-field select { font-size: .92rem; }
}

@media (max-width: 520px) {
  .hero-copy { padding: 16px 18px 12px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-lede { margin-top: 9px; font-size: .88rem; line-height: 1.38; }
  .setup { width: min(100% - 16px, 500px); padding: 10px 0 18px; }
  .section-heading { gap: 8px; margin-bottom: 7px; }
  .section-heading h2 { font-size: 1.35rem; }
  .section-heading p { font-size: .72rem; }
  .scene-rail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.6rem), 1fr)); gap: 7px; padding: 3px; }
  .scene-choice strong { padding: 5px 4px 4px; font-size: .8rem; }
  .scene-check { top: 4px; right: 4px; width: 22px; height: 22px; }
  .control-band { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); margin-top: 9px; border-radius: 13px; }
  .control-field { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; min-height: 66px; padding: 6px 9px; }
  .control-icon { width: 24px; height: 24px; }
  .control-icon svg { width: 21px; height: 21px; }
  .control-field label, .toggle-copy span { font-size: .7rem; }
  .control-field select { min-height: 46px; margin: -5px 0 -4px; padding-right: 18px; font-size: .84rem; }
  .toggle-wrap { gap: 4px; }
  .toggle-copy strong { font-size: .84rem; }
  .switch { width: 44px; height: 44px; }
  .switch span { top: 9px; bottom: 9px; }
  .switch span::after { width: 18px; height: 18px; }
  .switch input:checked + span::after { transform: translateX(18px); }
  .custom-volume { padding: 0 10px 10px 38px; }
  .launch-row { display: block; margin-top: 10px; }
  .start-button { width: 100%; min-height: 56px; padding: 0 18px; font-size: 1.05rem; }
  .start-button svg { width: 27px; height: 27px; }
  .launch-note { margin-top: 7px; font-size: .7rem; line-height: 1.35; text-align: center; }
  .content-section h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .session-card { padding: 26px 22px; }
  .session-stats { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 190px; }
  .hero-copy { padding-top: 18px; padding-bottom: 18px; }
  .hero h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
  .hero-media { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .start-button, .scene-choice, .switch span, .switch span::after { transition: none; }
  .start-button:hover, .scene-choice:hover { transform: none; }
}

/* Cat TV setup: clear scene previews and a single ready-to-play action. */
.hero { min-height: 160px; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); }
.hero-copy { padding: 24px max(24px, calc((100vw - 1240px)/2)); }
.hero h1 { font-size: 40px; line-height: 1.1; }
.hero-media { min-height: 160px; }
.hero-window-label { display: none; }
.setup { max-width: 1240px; padding-top: 18px; }
.section-heading h2 { font-size: 28px; }
.scene-rail { gap: 12px; }
.scene-choice { overflow: hidden; border: 1px solid #d8e0d7; background: white; }
.scene-choice.is-selected { border-color: #b88925; box-shadow: 0 0 0 2px var(--gold); }
.scene-thumb { aspect-ratio: 1.6; border-radius: 9px 9px 0 0; }
.scene-choice strong { padding: 9px 4px; font-size: .85rem; }
.scene-description { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--gold); background: #eef3ed; }
.scene-description strong { display: block; font-size: .93rem; line-height: 1.3; }
.scene-description p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.control-band { background: #eef3ed; border-color: #d6dfd5; box-shadow: none; margin-top: 12px; }
.control-field + .control-field { border-color: #d6dfd5; }
.setting-help { color: var(--muted); font-size: .8rem; margin: 7px 0; line-height: 1.4; }
.launch-row { grid-template-columns: minmax(210px,.5fr) 1fr; gap: 18px; margin-top: 10px; }
.start-button { background: var(--pine); color: white; border-color: var(--pine); box-shadow: none; }
.start-button:hover { background: #194a39; box-shadow: 0 4px 14px #0a2d2418; }
.start-button svg circle { fill: var(--gold); }
.start-button svg path { fill: var(--pine); }
.session-preview { margin: 0 0 3px; font-weight: 700; color: var(--ink); font-size: .87rem; }
.launch-note { font-size: .78rem; }
.content-section { padding: 44px 0; }
.content-section h2 { font-size: clamp(28px,3vw,40px); }
.audio-credits h2 { font-size: 26px; }
.audio-credits p { font-size: .84rem; }
#cat-tv-player { background: #0a2d24; }
@media (max-width: 1120px) and (min-width: 641px) {
 .control-band { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .control-field { padding: 8px; grid-template-columns: minmax(0,1fr); gap: 0; min-height: 68px; }
 .control-icon { display: none; }
 .control-field:nth-child(3),.control-field:nth-child(4) { border-top: 0; border-left: 1px solid #d6dfd5; }
 .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
 .hero { display: block; min-height: 0; }
 .hero-copy { padding: 12px 14px 10px; }
 .hero h1 { font-size: 28px; }
 .hero-lede { margin-top: 5px; font-size: .87rem; line-height: 1.35; }
 .setup { width: calc(100% - 24px); padding: 10px 0 18px; }
 .section-heading h2 { font-size: 23px; }
 .scene-rail { grid-template-columns: repeat(auto-fit,minmax(min(100%,4.6rem),1fr)); gap: 6px; padding: 2px; }
 .scene-choice { min-height: 68px; grid-template-rows: 34px auto; }
 .scene-thumb { display: block; height: 34px; aspect-ratio: auto; border-radius: 7px 7px 0 0; }
 .scene-choice strong { padding: 4px 2px; font-size: .73rem; line-height: 1.2; }
 .scene-description { margin-top: 8px; padding: 6px 9px; }
 .scene-description strong { font-size: .78rem; }
 .scene-description p { font-size: .76rem; margin-top: 1px; }
 .control-band { grid-template-columns: repeat(auto-fit,minmax(min(100%,9.4rem),1fr)); margin-top: 8px; }
 .control-field { min-height: 60px; padding: 4px 7px; }
 .control-field select { font-size: .84rem; }
 .setting-help { font-size: .72rem; margin: 5px 0; }
 .launch-row { display: block; margin-top: 7px; }
 .start-button { min-height: 48px; }
 .session-preview { font-size: .76rem; margin-top: 5px; text-align: center; }
 .launch-note { font-size: .7rem; margin-top: 3px; }
 .content-section h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .scene-choice:hover { transform: none; } }

@media (max-width:640px) { .hero-copy { padding: 8px 14px; } .scene-choice { min-height: 62px; grid-template-rows: 30px auto; } .scene-thumb { height: 30px; } .scene-description { margin-top: 6px; padding: 4px 9px; } }

@media (max-width:640px) { .custom-volume { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:center; gap:10px; padding:0 12px 4px; } .custom-volume[hidden] { display:none; } .custom-volume label { margin:0; } }
@media (max-width:640px) and (max-height:700px) { .setup { display:flex; flex-direction:column; } .section-heading { order:0; } .scene-rail { order:1; } .control-band { order:2; } .setting-help { order:3; } .launch-row { order:4; } .scene-description { order:5; } }
