@font-face {
  font-family: Fraunces Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fraunces-vietnamese-wght-normal-CnvboYUG.woff2) format("woff2-variations");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Fraunces Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2) format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./fraunces-latin-wght-normal-ukD16Tqj.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Outfit Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./outfit-latin-ext-wght-normal-DdQaqQDo.woff2) format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./outfit-latin-wght-normal-Bc-8i84L.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-2: #141c2e;
  --ink: #e8eef6;
  --muted: #9aadc2;
  --line: #e8eef61f;
  --accent: #7faf93;
  --accent-strong: #9ec9ad;
  --accent-ink: #0b1220;
  --moon: #dce6f2;
  --warn: #f0d2c4;
  --warn-bg: #2a1c18;
  color: var(--ink);
  background: #070b14;
  font-family: Outfit Variable, Avenir Next, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #070b14; }
img { max-width: 100%; }
a { color: var(--accent-strong); }
a:hover { color: var(--moon); }

body {
  min-height: 100dvh;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 70% 45% at 82% -8%, rgba(220, 230, 242, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 8%, rgba(127, 175, 147, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(30, 50, 70, 0.55), transparent 55%),
    var(--bg);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(1px 1px at 8% 18%, #fff8, transparent),
    radial-gradient(1.4px 1.4px at 22% 8%, #fff6, transparent),
    radial-gradient(1px 1px at 36% 26%, #fff5, transparent),
    radial-gradient(1.6px 1.6px at 48% 6%, #fffb, transparent),
    radial-gradient(1px 1px at 62% 20%, #fff6, transparent),
    radial-gradient(1.2px 1.2px at 74% 12%, #fff7, transparent),
    radial-gradient(1px 1px at 88% 28%, #fff5, transparent),
    radial-gradient(1.5px 1.5px at 14% 42%, #fff4, transparent),
    radial-gradient(1px 1px at 28% 58%, #fff3, transparent),
    radial-gradient(1.3px 1.3px at 70% 48%, #fff4, transparent),
    radial-gradient(1px 1px at 92% 62%, #fff3, transparent),
    radial-gradient(1.4px 1.4px at 4% 72%, #fff4, transparent);
}

.site-header, .site-footer, .wrap, .narrow, main, .skip {
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  font-family: Fraunces Variable, Iowan Old Style, Palatino, Georgia, serif;
  font-weight: 560;
  line-height: 1.08;
}
h1 { margin: 0.2rem 0 0.8rem; font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { margin: 2.2rem 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { margin: 1.4rem 0 0.4rem; font-size: 1.2rem; }
p { margin: 0.7rem 0; }

.skip {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  position: absolute;
  top: -4rem;
  left: 1rem;
}
.skip:focus { z-index: 5; top: 0.6rem; }

.site-header, .site-footer, .wrap, .narrow {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

.site-header {
  padding-top: max(1rem, env(safe-area-inset-top));
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  display: flex;
}

.wordmark {
  color: var(--ink);
  font-family: Fraunces Variable, Georgia, serif;
  font-size: 1.55rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wordmark:hover { color: var(--moon); }
.mark {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  display: block;
}

.site-nav, .site-footer nav {
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  display: flex;
}
.site-nav a, .site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover, .site-footer a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0 max(1.5rem, env(safe-area-inset-bottom));
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  font-size: 0.75rem;
}
.lede {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.15rem;
}
.prose section { margin-top: 2.4rem; }
.quiet { color: var(--muted); }

.btn, button.btn, a.btn {
  border: 1px solid var(--line);
  min-height: 3.25rem;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  background: transparent;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  display: inline-flex;
}
a.btn.btn-primary, button.btn.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  width: 100%;
}
.cta-row a.btn.btn-primary, .cta-row button.btn.btn-primary { width: auto; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.text-link { color: var(--muted); }

.warning {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid #f0d2c459;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.warning a { color: #ffd8bf; }

.ad-slot {
  border: 1px dashed var(--line);
  background: #0000002e;
  border-radius: 1rem;
  margin: 1.5rem 0;
  padding: 0.8rem;
}
.ad-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
}
.ad-frame {
  min-height: 6rem;
  color: var(--muted);
  text-align: center;
  place-items: center;
  font-size: 0.92rem;
  display: grid;
}
.ad-frame:empty { display: none; }

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0 1.4rem;
  font-size: 0.98rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.5rem;
}
th { color: var(--muted); font-weight: 500; }

details { border-top: 1px solid var(--line); padding: 0.8rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 560; }
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: 0.55rem 0; }

.cta-row {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 0.4rem;
  display: flex;
}
.cta-row .btn { width: auto; }

.narrow { width: min(100% - 2rem, 32rem); }
.session-main { padding-bottom: 2rem; }
.stack { gap: 0.7rem; display: grid; }
.stack h2 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.8rem 0 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
}

.choice, .chip {
  font: inherit;
  color: inherit;
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}
.choice {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  display: flex;
}
.choice small, .chip small {
  color: var(--muted);
  font-size: 0.86rem;
  display: block;
}
.choice em {
  color: var(--accent-strong);
  font-family: Fraunces Variable, Georgia, serif;
  font-style: normal;
}
.choice.is-on, .chip.is-on {
  background: #7faf9324;
  border-color: #7faf93cc;
}
.chip-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  display: grid;
}
.chip { text-align: center; }
.chip i {
  border: 1px solid #ffffff40;
  border-radius: 999px;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0 auto 0.35rem;
  display: block;
}

.check {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  display: flex;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  margin-top: 0.2rem;
}
.volume { width: 100%; accent-color: var(--accent); }
.volume-label { color: var(--muted); }
.volume-label span { float: right; color: var(--ink); }

.stub {
  background: #15241e;
  border: 1px solid #7faf9373;
  border-radius: 1rem;
  padding: 1rem;
}
.stub h2 { margin-top: 0.2rem; font-size: 1.7rem; }
.row { gap: 0.5rem; display: grid; }
.huge { font-size: clamp(3.4rem, 12vw, 5.5rem); }

.form { gap: 0.8rem; display: grid; }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem 0.8rem;
}
.form textarea { resize: vertical; min-height: 8rem; }

.flicker {
  z-index: 50;
  color: transparent;
  cursor: pointer;
  touch-action: none;
  background: #000;
  border: 0;
  width: 100%;
  height: 100dvh;
  margin: 0;
  position: fixed;
  inset: 0;
}
html[data-session="on"], html[data-session="on"] body {
  background: #000;
  overflow: hidden;
}
html[data-session="on"] body::before { display: none; }

/* Daily affirmation card */
.affirm-section { margin: 2.2rem 0 0.4rem; }
.affirm-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0.8rem 0 0;
  padding: 2.1rem 1.6rem 1.4rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(232, 238, 246, 0.12);
  background:
    radial-gradient(ellipse 80% 70% at 88% 8%, rgba(220, 230, 242, 0.22), transparent 52%),
    radial-gradient(ellipse 60% 50% at 8% 92%, rgba(127, 175, 147, 0.22), transparent 55%),
    linear-gradient(180deg, #152033 0%, #0c1424 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.affirm-card::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.3rem;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: #e8eef6;
  box-shadow: -1.15rem -0.35rem 0 0 #152033, 0 0 28px rgba(232, 238, 246, 0.28);
  z-index: 0;
}
.affirm-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: 0.72rem;
}
.affirm-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 7rem 1.4rem 0;
  font-family: Fraunces Variable, Georgia, serif;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--moon);
}
.affirm-card figcaption {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: Fraunces Variable, Georgia, serif;
}

.intention-banner {
  background: #7faf931a;
  border: 1px solid #7faf9366;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
}
.intention-banner strong {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.intention-banner p { margin: 0; font-family: Fraunces Variable, Georgia, serif; font-size: 1.15rem; }

@media (width <= 720px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .affirm-card blockquote { margin-right: 0; padding-right: 4.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.6rem 0 0.4rem;
}
.feature-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  text-decoration: none;
}
.feature-tile:hover { border-color: #7faf93aa; color: var(--ink); }
.feature-tile strong {
  font-family: Fraunces Variable, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 560;
}
.feature-tile span { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }
.feature-tile-tv {
  grid-column: 1 / -1;
  min-height: 5.2rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, #7faf9326, #141c2e 55%);
  border-color: #7faf9388;
}
.feature-tile-tv strong { font-size: 1.5rem; }

.settings-panel {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
}
.toggle.is-on { border-color: #7faf93aa; background: #7faf9314; }
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.toggle-ui {
  width: 2.6rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #2a3548;
  border: 1px solid var(--line);
  position: relative;
  margin-top: 0.15rem;
}
.toggle-ui::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #9aadc2;
  transition: transform 0.2s ease;
}
.toggle.is-on .toggle-ui { background: #7faf93; border-color: transparent; }
.toggle.is-on .toggle-ui::after { transform: translateX(1.1rem); background: #0b1220; }
.toggle-copy { display: grid; gap: 0.2rem; }
.toggle-copy strong { font-size: 1.05rem; }
.toggle-copy small { color: var(--muted); font-size: 0.92rem; }

.feature-off { margin: 2rem 0; }
.vision-form, .sign-pref {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0.6rem;
}
.vision-form label, .sign-pref {
  color: var(--muted);
}
.vision-form input, .sign-pref select {
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem 0.8rem;
}
.vision-toolbar { margin: 0.8rem 0 1rem; }
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 2rem;
}
.vision-tile {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
}
.vision-photo, .vision-photo-empty {
  aspect-ratio: 1;
  background: radial-gradient(circle at 70% 20%, #e8eef622, transparent 40%), #101828;
}
.vision-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vision-tile p {
  margin: 0;
  padding: 0.8rem 0.85rem 0.2rem;
  font-family: Fraunces Variable, Georgia, serif;
  font-size: 1.05rem;
}
.vision-tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem 0.8rem;
}
.vision-tile-actions .btn {
  min-height: 2.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
}

.tarot-face {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  margin: 1.4rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.tarot-face span { color: var(--muted); }
.tarot-art { display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)); }
.tarot-revealed {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  margin: 1.2rem 0 2rem;
}
.tarot-meaning {
  font-family: Fraunces Variable, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.4;
}

.horoscope-list { display: grid; gap: 0.9rem; margin: 1.2rem 0 2rem; }
.horoscope-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.1rem 1.15rem 0.4rem;
}
.horoscope-card h2 { margin: 0.15rem 0 0.5rem; font-size: 1.7rem; }

/* TV mode */
body.tv-page {
  background: #070b14;
  min-height: 100dvh;
  overflow: hidden;
}
body.tv-page::before { opacity: 0.35; }
.tv-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 82% -10%, rgba(220,230,242,0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(80,130,110,0.22), transparent 55%),
    #0b1220;
}
.tv-sky, .tv-forest, .tv-moon, .tv-stars {
  position: absolute;
  pointer-events: none;
}
.tv-stars { inset: 0; background-image:
  radial-gradient(1.2px 1.2px at 8% 18%, #fff8, transparent),
  radial-gradient(1.6px 1.6px at 18% 42%, #fff6, transparent),
  radial-gradient(1px 1px at 28% 12%, #fff5, transparent),
  radial-gradient(1.8px 1.8px at 42% 28%, #fffb, transparent),
  radial-gradient(1px 1px at 58% 16%, #fff6, transparent),
  radial-gradient(1.4px 1.4px at 72% 36%, #fff7, transparent),
  radial-gradient(1px 1px at 86% 14%, #fff5, transparent),
  radial-gradient(1.5px 1.5px at 12% 68%, #fff4, transparent),
  radial-gradient(1.2px 1.2px at 33% 78%, #fff3, transparent),
  radial-gradient(1.6px 1.6px at 63% 62%, #fff4, transparent),
  radial-gradient(1px 1px at 81% 72%, #fff3, transparent),
  radial-gradient(1.3px 1.3px at 91% 48%, #fff5, transparent);
  animation: tv-twinkle 14s ease-in-out infinite;
  opacity: 0.85;
}
.tv-moon {
  width: 18rem;
  height: 18rem;
  right: 8%;
  top: 12%;
  border-radius: 50%;
  background: #e8eef6;
  box-shadow: -4.6rem -1.4rem 0 0 #0b1220, 0 0 80px rgba(232,238,246,0.28);
  animation: tv-drift 160s ease-in-out infinite;
}
.tv-forest {
  left: -10%;
  right: -10%;
  bottom: -6%;
  height: 38vh;
  background:
    radial-gradient(ellipse 18% 80% at 8% 100%, #0a1a14 60%, transparent 62%),
    radial-gradient(ellipse 16% 90% at 22% 100%, #10241c 60%, transparent 62%),
    radial-gradient(ellipse 22% 100% at 40% 100%, #0c1c16 60%, transparent 62%),
    radial-gradient(ellipse 14% 70% at 58% 100%, #13281f 60%, transparent 62%),
    radial-gradient(ellipse 20% 95% at 74% 100%, #0b1a14 60%, transparent 62%),
    radial-gradient(ellipse 18% 80% at 90% 100%, #10221b 60%, transparent 62%),
    linear-gradient(#0000 30%, #07110e);
  animation: tv-pan 210s linear infinite;
  opacity: 0.9;
}
.tv-stage {
  position: relative;
  z-index: 2;
  width: min(58vw, 42rem);
  margin: 12vh 0 0 clamp(1.5rem, 6vw, 5rem);
  min-height: 58vh;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 2.2s ease, transform 2.2s ease;
  animation: tv-text-drift 90s ease-in-out infinite;
}
.tv-stage.is-in { opacity: 1; transform: translate3d(0, 0, 0); }
.tv-slide { text-align: left; }
.tv-art { margin-bottom: 1.4rem; }
.tv-art .tarot-art { width: min(42vw, 280px); height: auto; }
.tv-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  margin: 0 0 0.8rem;
}
.tv-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 1rem;
  color: var(--moon);
  text-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.tv-body {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: #d5deea;
  max-width: 40rem;
  max-height: 42vh;
  overflow: auto;
}
.tv-controls {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  width: min(100% - 2rem, 46rem);
}
body.tv-cursor .tv-controls, .tv-controls:focus-within { opacity: 1; }
.tv-controls .btn { min-height: 2.8rem; background: #0b1220cc; }
#tv-hint { color: var(--muted); font-size: 0.9rem; margin: 0; text-align: center; width: 100%; }
body.tv-page { cursor: none; }
body.tv-page.tv-cursor { cursor: default; }

@keyframes tv-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}
@keyframes tv-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-3%, 4%, 0); }
}
@keyframes tv-pan {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-6%, 0, 0); }
}
@keyframes tv-text-drift {
  0%, 100% { translate: 0 0; }
  33% { translate: 1.6% 1.2%; }
  66% { translate: -1.2% 0.8%; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-stars, .tv-moon, .tv-forest, .tv-stage { animation: none; }
  .tv-stage { transition-duration: 0.01s; }
}

@media (width <= 720px) {
  .feature-grid, .vision-grid { grid-template-columns: 1fr; }
  .tarot-revealed { grid-template-columns: 1fr; }
  .tv-moon { width: 9rem; height: 9rem; top: 6%; right: 4%; }
  .tv-stage { margin: 8vh auto 0; width: min(100% - 2rem, 42rem); }
  .tv-title { font-size: clamp(2rem, 9vw, 3rem); }
}
