/*  StreamNest — Tactile Console
 *  Design system for the StreamNest kid-safe YouTube streaming portal.
 *  Aesthetic: durable, kid-owned remote control — chunky 3px borders with
 *  a 6px bottom thickness that "presses down" on active state. Inset
 *  screen containers for content, hardware-silver shell for chrome.
 *  Anti-pattern: no fintech-teal, no cream paper, no pill radii, no
 *  sticker drop-shadows, no rounded-everything SaaS look.
 */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* shell + surface */
  --shell:        #F2F5F9;          /* cool off-white background */
  --surface:      #FFFFFF;          /* inset screen surface */
  --ink:          #1A1D24;          /* navy-charcoal — borders + primary text */
  --ink-soft:     #4A4E58;          /* secondary text */
  --muted:        #6E7480;          /* helper / disabled text */
  --silver:       #D9E1EB;          /* hardware silver — fine dividers */
  --silver-soft:  #E8EDF4;          /* pale surface for alternating rows */

  /* brand action colors */
  --pink:         #FF3366;          /* hyper pink — kid primary */
  --pink-dk:      #E61E51;
  --blue:         #3B82F6;          /* guardian blue — parent primary */
  --blue-dk:      #2563EB;
  --sunburst:     #FFC400;          /* accent — play glyph, highlights */
  --sunburst-dk:  #E6AF00;
  --mint:         #16C98D;          /* status: ok / verified */

  /* status */
  --danger:       #DC2626;
  --danger-pale:  #FEE2E2;

  /* geometry — the signature bezel */
  --bezel:        3px;
  --bezel-press:  6px;
  --r-card:       18px;
  --r-btn:        14px;
  --r-input:      12px;
  --r-pill:       999px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--shell);
  color: var(--ink);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100dvh;
}

/* ── Shell ──────────────────────────────────────────────────────────── */
.v2-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 18px;
}
.v2-shell.view-parent { max-width: 720px; }

.v2-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0 28px;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.v2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 14px;
}
.v2-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;            /* removes descender gap under the PNG */
}
.v2-mark img {
  height: 38px;
  width: auto;
  display: block;
}
.v2-nav { display: flex; gap: 14px; }
.v2-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--r-input);
  transition: background 120ms;
}
.v2-nav a:hover { background: var(--silver-soft); color: var(--ink); }

/* ── Inset-screen cards ─────────────────────────────────────────────── */
.v2-card {
  background: var(--surface);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-card);
  padding: 26px 22px;
  position: relative;
}

/* kid card — hyper-pink accent rail */
.v2-kid-card {
  background: var(--surface);
  border-color: var(--ink);
  padding: 28px 24px 26px;
}
.v2-kid-card::before {
  /* top accent rail — hyper pink stripe inside the bezel */
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  height: 6px;
  background: var(--pink);
  border: var(--bezel) solid var(--ink);
  border-radius: 4px;
}
.v2-kid-card h1 {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-weight: 400;            /* Paytone One is one-weight */
  font-size: 1.625rem;
  color: var(--ink);
  margin: 14px 0 6px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.v2-kid-card .v2-helper {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-weight: 500;
}

.v2-kid-card .v2-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v2-kid-card .v2-label:first-of-type { margin-top: 0; }

.v2-kid-card input {
  width: 100%;
  padding: 16px 18px;
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-input);
  background: var(--surface);
  font-family: inherit;
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 600;
  transition: transform 100ms ease, border-bottom-width 100ms ease, box-shadow 120ms;
  -webkit-appearance: none;
}
.v2-kid-card input:focus {
  outline: none;
  transform: translateY(2px);
  border-bottom-width: var(--bezel);
  box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.25);
}
.v2-kid-card input::placeholder { color: var(--muted); font-weight: 500; }

.v2-kid-card .v2-help {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* parent card — guardian blue accent rail */
.v2-parent-card {
  background: var(--surface);
  padding: 26px 22px;
}
.v2-parent-card::before {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  height: 6px;
  background: var(--blue);
  border: var(--bezel) solid var(--ink);
  border-radius: 4px;
}
.v2-parent-card h2 {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 14px 0 8px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.v2-parent-card p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.v2-demo-divider {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 2px dashed var(--silver);
}

/* ── Buttons — the tactile bezel signature ──────────────────────────── */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-btn);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: var(--surface);
  color: var(--ink);
  transition: transform 80ms ease, border-bottom-width 80ms ease, filter 120ms;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.v2-btn-block { width: 100%; }
.v2-btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.875rem; border-bottom-width: 5px; }

/* kid primary — hyper pink. The chunky bottom border presses down on tap. */
.v2-btn-amber {
  background: var(--pink);
  color: #fff;
  box-shadow: none;
}
.v2-btn-amber:hover { filter: brightness(1.04); background: var(--pink); }
.v2-btn-amber:active {
  transform: translateY(3px);
  border-bottom-width: var(--bezel);
}
.v2-btn-amber:focus-visible {
  outline: 3px solid var(--sunburst);
  outline-offset: 3px;
}

/* parent primary — guardian blue */
.v2-btn-teal {
  background: var(--blue);
  color: #fff;
}
.v2-btn-teal:hover { filter: brightness(1.04); background: var(--blue); }
.v2-btn-teal:active {
  transform: translateY(3px);
  border-bottom-width: var(--bezel);
}
.v2-btn-teal:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ghost / secondary — silver border */
.v2-btn-ghost {
  background: var(--surface);
  color: var(--ink-soft);
  border-color: var(--silver);
  border-bottom-color: var(--ink);
  border-bottom-width: 4px;
}
.v2-btn-ghost:hover { background: var(--silver-soft); color: var(--ink); }
.v2-btn-ghost:active {
  transform: translateY(2px);
  border-bottom-width: var(--bezel);
}

/* ── Greeting / logged-in kid ──────────────────────────────────────── */
.v2-greet {
  font-family: 'Paytone One', sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 14px 0 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.v2-greet strong { color: var(--ink); font-weight: 400; }
.v2-greet em {
  font-style: normal;
  color: var(--pink);
}
.v2-logout { margin-top: 18px; }

/* ── Bedtime countdown badge ─────────────────────────────────────────
 * The killer differentiator from YouTube Kids: a server-enforced,
 * client-clock-proof countdown that appears on the kid's home, queue,
 * and play surfaces. Sunburst yellow pill with a chunky bezel; pulses
 * faster as bedtime approaches; flips to ink pill + "Time for bed" copy
 * once bedtime has passed.
 *
 * State thresholds (chosen so the pill only nags when it matters):
 *   approaching  (11–30 min) — calm pill, no animation
 *   urgent       (1–10 min)  — faster pulse
 *   imminent     (0 min)     — hyper-pink pill, fastest pulse
 *   passed       (<0 min)    — ink pill, "Time for bed" copy
 */
.v2-bedtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sunburst);
  color: var(--ink);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-pill);
  padding: 7px 14px 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 14px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: 1.1;
}
.v2-bedtime-badge__icon {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
}
.v2-bedtime-badge__count {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}
.v2-bedtime-badge--approaching { /* default */ }
.v2-bedtime-badge--urgent {
  animation: bedtime-pulse 1.4s ease-in-out infinite;
}
.v2-bedtime-badge--imminent {
  background: var(--pink);
  color: #fff;
  animation: bedtime-pulse 0.7s ease-in-out infinite;
}
.v2-bedtime-badge--passed {
  background: var(--ink);
  color: var(--shell);
  border-color: var(--ink);
}
/* --- Hidden-videos banner -----------------------------------------------
   Surfaces ONLY when _rank_kid_queue's verified-creator filter dropped
   entries AND the request is from a parent (parent cookie present). Helps
   parents see why some cards aren't appearing for their kid and points
   them straight to /admin/parent/creators to add the creator. Visually
   quiet (secondary token) so it doesn't compete with the bedtime-badge. */
.v2-hidden-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 10px 14px 12px;
  background: var(--silver-soft);
  color: var(--ink);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-card);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  position: relative;
}
.v2-hidden-banner__icon {
  font-size: 1.05rem;
  line-height: 1;
}
.v2-hidden-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.v2-hidden-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sunburst);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-bottom-width: 5px;
  border-radius: var(--r-pill);
  padding: 6px 12px 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.v2-hidden-banner__cta:hover {
  filter: brightness(1.04);
  background: var(--pink);
  color: #fff;
}
.v2-hidden-banner__cta:active {
  transform: translateY(1px);
  border-bottom-width: 3px;
}
.v2-hidden-banner__cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.v2-bedtime-badge--passed .v2-bedtime-badge__icon {
  color: var(--sunburst);
}

@keyframes bedtime-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 196, 0, 0);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 6px rgba(255, 196, 0, 0.22);
  }
}
.v2-bedtime-badge--imminent {
  animation-name: bedtime-pulse-imminent;
}
@keyframes bedtime-pulse-imminent {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 8px rgba(255, 51, 102, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-bedtime-badge,
  .v2-bedtime-badge--urgent,
  .v2-bedtime-badge--imminent {
    animation: none;
  }
}

/* On the dark theater surface (.view-player), the default --ink border
   blends into the ink-black background and the tactile-console bezel
   language is lost. Switch the border to sunburst so the chip reads as
   a discrete badge on the dark surface, not a floating yellow ghost. */
.v2-shell.view-player .v2-bedtime-badge {
  border-color: var(--sunburst);
}
.v2-shell.view-player .v2-bedtime-badge--passed {
  border-color: var(--ink);
}

/* ── Locked screen ─────────────────────────────────────────────────── */
.v2-locked-screen {
  text-align: center;
  padding: 56px 28px;
  background: var(--ink);
  color: var(--shell);
  border-radius: var(--r-card);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
}
.v2-locked-screen h1 {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 2.25rem;
  margin-bottom: 14px;
  color: var(--sunburst);
  letter-spacing: -0.01em;
}
.v2-locked-screen p {
  font-size: 1rem;
  color: var(--silver);
  margin-bottom: 6px;
  font-weight: 500;
}

/* ── Error ─────────────────────────────────────────────────────────── */
.v2-error {
  padding: 26px 22px;
  background: var(--danger-pale);
  border: var(--bezel) solid var(--danger);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-card);
}
.v2-error h1 {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  color: var(--danger);
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.v2-error p { color: var(--danger); font-size: 0.9375rem; font-weight: 500; }

/* ── Eyebrow (queue, play) ─────────────────────────────────────────── */
.v2-home-eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 10px;
  background: var(--sunburst);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

/* ── Admin / parent forms ──────────────────────────────────────────── */
.v2-admin h1 {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 14px 0 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.v2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  border: var(--bezel) solid var(--ink);
  border-radius: var(--r-input);
  overflow: hidden;
}
.v2-table th, .v2-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--silver);
}
.v2-table tr:last-child td { border-bottom: 0; }
.v2-table th {
  font-weight: 800;
  color: var(--ink);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--silver-soft);
}
.v2-table a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}
.v2-table a:hover { text-decoration: underline; }

.v2-form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v2-form input, .v2-form select {
  width: 100%;
  padding: 12px 14px;
  border: var(--bezel) solid var(--ink);
  border-bottom-width: 5px;
  border-radius: var(--r-input);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  -webkit-appearance: none;
  transition: transform 80ms ease, border-bottom-width 80ms ease;
}
.v2-form input:focus, .v2-form select:focus {
  outline: none;
  transform: translateY(2px);
  border-bottom-width: var(--bezel);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.v2-flash {
  padding: 14px 16px;
  border: var(--bezel) solid var(--ink);
  border-bottom-width: 5px;
  border-radius: var(--r-input);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}
.v2-flash-danger {
  background: var(--danger-pale);
  color: var(--danger);
  border-color: var(--danger);
}
.v2-flash a { color: inherit; font-weight: 800; text-decoration: underline; }

.v2-byline { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.v2-card-narrow { max-width: 480px; margin: 0 auto; }

/* ── Footer (gated-through banner) ────────────────────────────────── */
.v2-foot {
  padding: 14px 0 32px;
  text-align: center;
}
.v2-foot-banner-link {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  border: var(--bezel) solid var(--ink);
  border-radius: var(--r-input);
  padding: 12px 16px;
  transition: transform 120ms ease, filter 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.v2-foot-banner-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.v2-foot-banner-link:focus-visible {
  outline: 3px solid var(--sunburst);
  outline-offset: 3px;
}
.v2-foot-banner {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}
.v2-foot-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.v2-foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
}
.v2-foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* ── Tiered pricing ────────────────────────────────────────────────── */
.v2-pricing-hero { padding: 28px 0 4px; }
.v2-pricing-hero h1 {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  margin: 14px 0 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.v2-pricing-hero .v2-pitch {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 8px;
  font-weight: 500;
}

.v2-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 14px 0 22px;
}
.v2-tier-col { display: flex; flex-direction: column; gap: 12px; }
.v2-tier-head {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.v2-tier-sub { font-size: 0.8125rem; color: var(--muted); margin: -4px 0 4px; font-weight: 600; }

.v2-tier-card {
  background: var(--surface);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-card);
  padding: 22px 20px;
  position: relative;
}
.v2-tier-card-highlight {
  border-color: var(--ink);
  background: var(--surface);
}
.v2-tier-card-highlight::before {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  height: 6px;
  background: var(--sunburst);
  border: var(--bezel) solid var(--ink);
  border-radius: 4px;
}
.v2-tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sunburst);
  color: var(--ink);
  border: var(--bezel) solid var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.v2-tier-name {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  margin: 16px 0 6px;
  letter-spacing: -0.005em;
}
.v2-tier-price {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
.v2-tier-card-highlight .v2-tier-price { color: var(--pink); }
.v2-tier-currency {
  font-family: 'Paytone One', sans-serif;
  font-size: 1rem;
  vertical-align: top;
  margin-right: 2px;
  font-weight: 400;
}
.v2-tier-period {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.v2-tier-kids { font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 14px; font-weight: 600; }
.v2-tier-kids strong { color: var(--ink); font-weight: 800; }
.v2-tier-extras {
  text-align: center;
  padding: 18px 0 4px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-top: 2px dashed var(--silver);
  font-weight: 500;
}
.v2-tier-extras strong { color: var(--ink); font-weight: 800; }

.v2-pricing-pitch-deep { margin-top: 28px; max-width: 560px; }
.v2-pricing-pitch-deep h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 28px 0 10px;
  font-weight: 800;
}
.v2-pricing-pitch-deep p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 500;
}

.v2-not-here { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.v2-not-here li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}
.v2-miss-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--danger);
  background: var(--danger-pale);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-weight: 800;
  margin-top: 2px;
}
.v2-miss-text strong { color: var(--ink); font-weight: 800; }

.v2-hit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--silver-soft);
  border: var(--bezel) solid var(--ink);
  border-bottom-width: 5px;
  border-radius: var(--r-input);
  padding: 16px 18px;
  margin-top: 20px;
}
.v2-hit-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  background: var(--sunburst);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 800;
  margin-top: 1px;
}
.v2-hit-text { color: var(--ink); font-size: 0.875rem; line-height: 1.55; font-weight: 600; }
.v2-hit-text strong { font-weight: 800; }

/* --- /pricing "vs YouTube Premium" footnote ------------------------------
   Sunburst left rail — same accent rail v2-tier-card-highlight uses on the
   recommended tier — so the footnote visually inherits the "comparison
   anchor" semantic without competing with the tier cards. Quiet typography
   (ink-soft body, ink strong-tags) keeps it a footnote, not a CTA.
   max-width 560px centers on desktop (overrides v2-pricing-pitch-deep wrapper)
   and prevents overflow on 320px phones. */
.v2-pricing-yt-compare {
  margin: 18px auto 22px;
  padding: 12px 18px 14px;
  background: var(--silver-soft);
  border-left: 3px solid var(--sunburst);
  border-radius: var(--r-input);
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  max-width: 560px;
}
.v2-pricing-yt-compare strong { color: var(--ink); font-weight: 800; }
.v2-pricing-yt-compare br + strong { margin-top: 6px; display: inline-block; }
@media (max-width: 480px) {
  .v2-pricing-yt-compare { font-size: 0.8125rem; padding: 12px 14px; }
}

/* ── Variant sub-blocks inside each tier card ───────────────────────
 * Each tier card (Solo / Family / Big Family) contains two variants:
 * a Monthly block and a Lifetime block, separated by a sunburst rail
 * with an "or pay once" pill. The variant label is uppercase Outfit
 * 80-weight eyebrow; the price is Paytone One at a slightly smaller
 * scale than the standalone tier-card price.
 */
.v2-tier-variant {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}
.v2-tier-variant:first-of-type { padding-top: 18px; }
.v2-tier-variant-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: -2px;
}
.v2-tier-variant .v2-tier-price {
  /* Slightly lean than the standalone tier price so two prices per
     card don't visually shout. */
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}
.v2-tier-variant .v2-tier-currency { font-size: 0.95rem; }
.v2-tier-variant .v2-tier-period { font-size: 0.8125rem; }
.v2-tier-variant-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  margin-top: -2px;
}

/* Sunburst micro-rail between Monthly and Lifetime blocks. The pill
   "or pay once" sits centered on the rail so the variant boundary
   reads instantly. */
.v2-tier-variant-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
}
.v2-tier-variant-divider::before,
.v2-tier-variant-divider::after {
  content: "";
  flex: 1;
  height: 6px;
  background: var(--sunburst);
  border: 2px solid var(--ink);
  border-radius: 4px;
}
/* Small "Best value" eyebrow above the lifetime variant on the
   highlighted tier. Sits just above the variant label so the lifetime
   price on the Family card doesn't read as a footnote to monthly. */
.v2-tier-variant-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--sunburst);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  margin-bottom: -4px;
}

.v2-tier-variant-divider-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--sunburst);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

/* ── Play page (IFrame embed) ──────────────────────────────────────── */
.v2-play-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: var(--bezel) solid var(--ink);
  border-bottom-width: var(--bezel-press);
  border-radius: var(--r-card);
  background: var(--ink);
}
.v2-play-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .v2-shell { max-width: 720px; padding: 0 24px; }
  .v2-main { gap: 22px; }
  .v2-kid-card h1 { font-size: 2rem; }
}

/* Pricing tier grid -- 1 col mobile, 3 cols at desktop so the 3
   Solo/Family/Big Family cards sit side-by-side. Tablet (700-979px)
   keeps a 2-col flow but the third card wraps to a full-width row. */
@media (min-width: 700px) {
  .v2-tier-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .v2-pricing-hero h1 { font-size: 2.4rem; }
}
@media (min-width: 860px) {
  .v2-tier-grid { grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .v2-pricing-hero h1 { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-btn, .v2-btn:active, .v2-form input, .v2-form input:focus,
  .v2-kid-card input, .v2-kid-card input:focus {
    transition: none;
    transform: none;
  }
}

/* ── Backwards-compat aliases for the older CSS files ─────────────────
 * feed.css (queue/play) and admin templates still reference the legacy
 * --teal / --amber / --stone / --paper / --honey token names. Map them
 * to the new Tactile Console palette so those surfaces stay coherent
 * without rewriting the older stylesheets.
 */
:root {
  --teal:        var(--blue);
  --teal-dk:     var(--blue-dk);
  --teal-pale:   var(--silver-soft);
  --amber:       var(--pink);
  --amber-dk:    var(--pink-dk);
  --amber-pale:  var(--silver-soft);
  --honey:       var(--sunburst-dk);
  --stone:       var(--silver);
  --stone-dk:    var(--ink);
  --paper:       var(--shell);
  --coral:       var(--pink);
}
