/*  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 */
  --tomasetti-purple: #5235A4;
  --tomasetti-purple-dark: #30206C;
  --tomasetti-purple-soft: #E8E1FF;

  /* 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;
}
.v2-mark img {
  height: 38px;
  width: auto;
  display: block;
}
.v2-mark img { width: 38px; height: 38px; object-fit: contain; border-radius: 11px; margin-right: 8px; }
.v2-mark-text {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.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; }

.demo-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;margin-bottom:18px;background:#f3efff;border:2px solid #5235a4;border-radius:14px;color:#30206c;font-size:.8rem;font-weight:700}.demo-status span{color:#665f7b;font-weight:500}.demo-status a,.demo-status form{margin-left:auto}.demo-status form{display:inline-flex}.demo-status--kid{margin:0 0 14px;background:#f3efff}.demo-status--kid a{color:#5235a4;text-decoration:none}.demo-status--kid button{min-height:38px;padding:7px 10px;border:2px solid #d34b66;border-radius:9px;background:#fff4f6;color:#a52b48;font:700 .75rem 'Outfit',sans-serif}.demo-status--kid form{margin-left:0}.demo-status:focus-within{outline:3px solid #f0c640;outline-offset:2px}

/* ── 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);
}

/* ── Profile picker cards ───────────────────────────────────────────── */
.v2-profile-picker {
  padding-top: 18px;
}
.v2-picker-title {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.2;
}
.v2-profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 6px;
  justify-content: center;
}
.v2-profile-card-form {
  margin: 0; padding: 0; border: none; background: none;
  flex: 0 0 auto;
}
.v2-profile-card {
  --kid-hue: 340;
  --kid-color: hsl(var(--kid-hue), 75%, 65%);
  --kid-color-dk: hsl(var(--kid-hue), 70%, 50%);
  --kid-color-bg: hsl(var(--kid-hue), 75%, 94%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 140px;
  padding: 28px 14px 22px;
  background: var(--kid-color-bg);
  border: 3px solid var(--kid-color-dk);
  border-bottom-width: 6px;
  border-radius: 28px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: transform 100ms, border-bottom-width 100ms, box-shadow 100ms;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 4px 0 var(--kid-color-dk);
}
.v2-profile-card:active {
  transform: translateY(4px);
  border-bottom-width: 3px;
  box-shadow: 0 0 0 var(--kid-color-dk);
}
.v2-profile-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--kid-color);
  flex-shrink: 0;
}
.v2-profile-emoji {
  font-size: 2.5rem;
  line-height: 1;
}
.v2-profile-name {
  font-family: 'Paytone One', 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  word-break: break-word;
}
.v2-profile-avatar-link {
  display: block; text-decoration: none; color: inherit;
  margin-bottom: 4px;
}
.v2-profile-avatar-sub {
  font-size: 0.75rem; color: var(--muted); margin-top: 2px;
}

/* ── Character avatars ──────────────────────────────────────────────── */
.av-face {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.av-face::before,
.av-face::after { content: ''; position: absolute; }
/* eyes (shared) */
.av-face::before {
  width: 10px; height: 14px;
  background: #fff; border-radius: 50%;
  top: 28px; left: 22px;
  box-shadow: 26px 0 0 #fff;
}
/* pupils */
.av-face::after {
  width: 6px; height: 6px;
  background: #1a1a2e; border-radius: 50%;
  top: 32px; left: 24px;
  box-shadow: 26px 0 0 #1a1a2e;
}

/* fox */
.av-fox { background: #FF6B35; }
.av-fox .av-ear-l,
.av-fox .av-ear-r {
  position: absolute; top: -8px;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid #FF6B35;
}
.av-fox .av-ear-l { left: 4px; transform: rotate(-15deg); }
.av-fox .av-ear-r { right: 4px; transform: rotate(15deg); }
.av-fox .av-ear-l::after,
.av-fox .av-ear-r::after {
  content: ''; position: absolute;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #fff;
  top: 10px; left: -8px;
}
.av-fox .av-nose {
  position: absolute; left: 36px; top: 42px;
  width: 8px; height: 6px;
  background: #1a1a2e; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* cat */
.av-cat { background: #7C7C8A; }
.av-cat .av-ear-l,
.av-cat .av-ear-r {
  position: absolute; top: -10px;
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid #7C7C8A;
}
.av-cat .av-ear-l { left: 6px; transform: rotate(-12deg); }
.av-cat .av-ear-r { right: 6px; transform: rotate(12deg); }
.av-cat .av-ear-l::after,
.av-cat .av-ear-r::after {
  content: ''; position: absolute;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #F8BACD;
  top: 10px; left: -7px;
}
.av-cat .av-whisker-l,
.av-cat .av-whisker-r {
  position: absolute; top: 44px;
  width: 20px; height: 1px;
  background: #fff; opacity: 0.5;
}
.av-cat .av-whisker-l { left: 8px; }
.av-cat .av-whisker-r { right: 8px; }
.av-cat .av-nose {
  position: absolute; left: 36px; top: 42px;
  width: 8px; height: 6px;
  background: #F8BACD; border-radius: 50%;
}

/* panda */
.av-panda { background: #fff; border: 2px solid #D9D9D9; }
.av-panda .av-ear-l,
.av-panda .av-ear-r {
  position: absolute; top: -6px;
  width: 22px; height: 22px;
  background: #1a1a2e; border-radius: 50%;
}
.av-panda .av-ear-l { left: 6px; }
.av-panda .av-ear-r { right: 6px; }
.av-panda .av-patch-l,
.av-panda .av-patch-r {
  position: absolute; top: 20px;
  width: 16px; height: 18px;
  background: #1a1a2e; border-radius: 50%;
  transform: rotate(-15deg);
}
.av-panda .av-patch-l { left: 14px; }
.av-panda .av-patch-r { right: 14px; transform: rotate(15deg); }
.av-panda::before { background: #1a1a2e; }
.av-panda .av-nose {
  position: absolute; left: 36px; top: 44px;
  width: 8px; height: 5px;
  background: #1a1a2e; border-radius: 50%;
}

/* bunny */
.av-bunny { background: #FFB5C2; }
.av-bunny .av-ear-l,
.av-bunny .av-ear-r {
  position: absolute; top: -14px;
  width: 14px; height: 32px;
  background: #FFB5C2; border-radius: 10px;
}
.av-bunny .av-ear-l { left: 16px; transform: rotate(-10deg); }
.av-bunny .av-ear-r { right: 16px; transform: rotate(10deg); }
.av-bunny .av-ear-l::after,
.av-bunny .av-ear-r::after {
  content: ''; position: absolute;
  width: 8px; height: 18px;
  background: #fff; border-radius: 6px;
  top: 4px; left: 3px;
}
.av-bunny .av-nose {
  position: absolute; left: 36px; top: 42px;
  width: 8px; height: 6px;
  background: #FF6B80; border-radius: 50%;
}

/* bear */
.av-bear { background: #8B5E3C; }
.av-bear .av-ear-l,
.av-bear .av-ear-r {
  position: absolute; top: -4px;
  width: 20px; height: 20px;
  background: #8B5E3C; border-radius: 50%;
}
.av-bear .av-ear-l { left: 8px; }
.av-bear .av-ear-r { right: 8px; }
.av-bear .av-ear-l::after,
.av-bear .av-ear-r::after {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  background: #D4A574; border-radius: 50%;
  top: 5px; left: 5px;
}
.av-bear .av-snout {
  position: absolute; left: 30px; top: 46px;
  width: 20px; height: 16px;
  background: #D4A574; border-radius: 50%;
}
.av-bear .av-nose {
  position: absolute; left: 37px; top: 48px;
  width: 6px; height: 5px;
  background: #1a1a2e; border-radius: 50%;
}

/* frog */
.av-frog { background: #4CAF50; }
.av-frog .av-eye-l,
.av-frog .av-eye-r {
  position: absolute; top: 16px;
  width: 20px; height: 22px;
  background: #fff; border-radius: 50%;
  border: 2px solid #388E3C;
}
.av-frog .av-eye-l { left: 10px; }
.av-frog .av-eye-r { right: 10px; }
.av-frog .av-pupil-l,
.av-frog .av-pupil-r {
  position: absolute; top: 22px;
  width: 8px; height: 10px;
  background: #1a1a2e; border-radius: 50%;
}
.av-frog .av-pupil-l { left: 16px; }
.av-frog .av-pupil-r { right: 16px; }
.av-frog .av-mouth {
  position: absolute; left: 24px; top: 52px;
  width: 32px; height: 12px;
  border-bottom: 3px solid #1a1a2e;
  border-radius: 0 0 16px 16px;
}

/* owl */
.av-owl { background: #7C3AED; }
.av-owl .av-eye-l,
.av-owl .av-eye-r {
  position: absolute; top: 24px;
  width: 22px; height: 22px;
  background: #fff; border-radius: 50%;
}
.av-owl .av-eye-l { left: 10px; }
.av-owl .av-eye-r { right: 10px; }
.av-owl .av-pupil-l,
.av-owl .av-pupil-r {
  position: absolute; top: 30px;
  width: 8px; height: 10px;
  background: #1a1a2e; border-radius: 50%;
}
.av-owl .av-pupil-l { left: 17px; }
.av-owl .av-pupil-r { right: 17px; }
.av-owl .av-beak {
  position: absolute; left: 34px; top: 44px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #FFC400;
}
.av-owl .av-brow-l,
.av-owl .av-brow-r {
  position: absolute; top: 18px; width: 16px; height: 3px;
  background: #5B21B6; border-radius: 2px;
}
.av-owl .av-brow-l { left: 13px; }
.av-owl .av-brow-r { right: 13px; }

/* penguin */
.av-penguin { background: #1A1A2E; }
.av-penguin .av-belly {
  position: absolute; left: 14px; top: 28px;
  width: 52px; height: 44px;
  background: #fff; border-radius: 50%;
}
.av-penguin .av-beak {
  position: absolute; left: 32px; top: 44px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #FFC400;
}
.av-penguin .av-eye-l,
.av-penguin .av-eye-r {
  position: absolute; top: 30px;
  width: 8px; height: 10px;
  background: #fff; border-radius: 50%;
}
.av-penguin .av-eye-l { left: 20px; }
.av-penguin .av-eye-r { right: 20px; }
.av-penguin .av-pupil-l,
.av-penguin .av-pupil-r {
  position: absolute; top: 32px;
  width: 4px; height: 5px;
  background: #1a1a2e; border-radius: 50%;
}
.av-penguin .av-pupil-l { left: 22px; }
.av-penguin .av-pupil-r { right: 22px; }

/* robot */
.av-robot { background: #A0AEC0; border-radius: 16px; }
.av-robot .av-antenna {
  position: absolute; top: -8px; left: 36px;
  width: 8px; height: 12px; background: #718096;
}
.av-robot .av-antenna::after {
  content: ''; position: absolute; top: -6px; left: -2px;
  width: 12px; height: 12px;
  background: #F56565; border-radius: 50%;
}
.av-robot .av-eye-l,
.av-robot .av-eye-r {
  position: absolute; top: 26px;
  width: 16px; height: 16px;
  background: #fff; border-radius: 4px;
  border: 2px solid #4A5568;
}
.av-robot .av-eye-l { left: 16px; }
.av-robot .av-eye-r { right: 16px; }
.av-robot .av-mouth {
  position: absolute; left: 24px; top: 52px;
  width: 32px; height: 4px;
  background: #4A5568;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px;
}
.av-robot .av-mouth::before {
  content: ''; display: none;
}
.av-robot .av-mouth-g {
  position: absolute; width: 4px; height: 4px;
  background: #4A5568;
}
.av-robot .av-mouth { /* simple line mouth */
  background: #4A5568; border-radius: 2px;
}

/* dino */
.av-dino { background: #48BB78; }
.av-dino .av-spike-l,
.av-dino .av-spike-r {
  position: absolute; top: -6px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #38A169;
}
.av-dino .av-spike-l { left: 14px; }
.av-dino .av-spike-r { right: 14px; }
.av-dino .av-spike-c {
  position: absolute; top: -10px; left: 32px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 16px solid #38A169;
}
.av-dino .av-eye-l,
.av-dino .av-eye-r {
  position: absolute; top: 28px;
  width: 8px; height: 10px;
  background: #fff; border-radius: 50%;
}
.av-dino .av-eye-l { left: 20px; }
.av-dino .av-eye-r { right: 20px; }
.av-dino .av-pupil-l,
.av-dino .av-pupil-r {
  position: absolute; top: 30px;
  width: 4px; height: 5px;
  background: #1a1a2e; border-radius: 50%;
}
.av-dino .av-pupil-l { left: 22px; }
.av-dino .av-pupil-r { right: 22px; }
.av-dino .av-mouth {
  position: absolute; left: 24px; top: 52px;
  width: 32px; height: 12px;
  border-bottom: 3px solid #1a1a2e;
  border-radius: 0 0 16px 16px;
}

/* unicorn */
.av-unicorn { background: #F8A5C2; }
.av-unicorn .av-horn {
  position: absolute; top: -14px; left: 32px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 20px solid #FFD700;
}
.av-unicorn .av-horn::after {
  content: ''; position: absolute; top: 18px; left: -4px;
  width: 8px; height: 6px; background: #FF6B9D;
  border-radius: 50%;
}
.av-unicorn .av-ear-l,
.av-unicorn .av-ear-r {
  position: absolute; top: 4px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #F8A5C2;
}
.av-unicorn .av-ear-l { left: 8px; transform: rotate(-20deg); }
.av-unicorn .av-ear-r { right: 8px; transform: rotate(20deg); }
.av-unicorn .av-mane-l,
.av-unicorn .av-mane-r {
  position: absolute; top: 16px;
  width: 12px; height: 14px;
  background: #C084FC; border-radius: 0 50% 50% 0;
}
.av-unicorn .av-mane-l { left: 2px; }
.av-unicorn .av-mane-r { right: 2px; transform: scaleX(-1); }

/* alien */
.av-alien { background: #A3E635; }
.av-alien .av-antenna-l,
.av-alien .av-antenna-r {
  position: absolute; top: -12px;
  width: 3px; height: 14px;
  background: #65A30D;
}
.av-alien .av-antenna-l { left: 22px; transform: rotate(-15deg); }
.av-alien .av-antenna-r { right: 22px; transform: rotate(15deg); }
.av-alien .av-antenna-l::after,
.av-alien .av-antenna-r::after {
  content: ''; position: absolute; top: -6px; left: -4px;
  width: 10px; height: 10px;
  background: #F56565; border-radius: 50%;
}
.av-alien .av-eye-l,
.av-alien .av-eye-r {
  position: absolute; top: 24px;
  width: 18px; height: 20px;
  background: #1a1a2e; border-radius: 50%;
}
.av-alien .av-eye-l { left: 14px; }
.av-alien .av-eye-r { right: 14px; }
.av-alien .av-eye-l::after,
.av-alien .av-eye-r::after {
  content: ''; position: absolute; top: 4px; left: 6px;
  width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
}
.av-alien .av-mouth {
  position: absolute; left: 32px; top: 56px;
  width: 16px; height: 8px;
  border-bottom: 3px solid #1a1a2e;
  border-radius: 0 0 8px 8px;
}

/* default / no avatar */
.av-default { background: var(--silver); }
.av-default::after {
  content: '?'; font-family: 'Paytone One', sans-serif;
  font-size: 2rem; color: #fff;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: none; box-shadow: none;
  width: auto; height: auto;
}

/* picker grid */
.av-picker-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin: 20px 0;
}
.av-pick-btn {
  width: 72px; height: 72px; border: 4px solid transparent;
  border-radius: 50%; cursor: pointer; padding: 0;
  background: none; position: relative;
  transition: transform 100ms, border-color 100ms;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.av-pick-btn:hover,
.av-pick-btn:focus-visible { border-color: var(--pink); transform: scale(1.1); }
.av-pick-btn .av-face { pointer-events: none; width: 64px; height: 64px; }
.av-pick-btn .av-face.av-panda { border: none; }
