@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ═══════════ ROLETA SECRETA DE DESAFIOS — Design Tokens ═══════════
   Conceito: "Baralho da Meia-Noite" — um baralho de desafios com
   5 categorias temáticas (Manuais, Orais, Velocidade, Fantasias,
   Juntos), cada uma com sua cor de assinatura.
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Tema escuro — "Baralho da Meia-Noite" */
  --bg: #120821;
  --bg2: #1B0E30;
  --card: #1F1038;
  --card2: #29143F;
  --border: #3A1F5C;
  --border2: #4F2A7A;
  --violet: #B14EFF;
  --violet-dim: #8E2FE0;
  --violet-pale: #2C1447;
  --gold: #FFC857;
  --gold-dim: #D9A53E;
  --coral: #FF5D73;
  --teal: #3DD6C5;
  --indigo: #6E7BF2;
  --text: #F4EEFF;
  --text-dim: #C6B7DE;
  --text-faint: #93819F;
  --paper: #FBF3E4;
  --glow: rgba(177, 78, 255, 0.38);
  --shadow: rgba(6, 0, 16, 0.55);
  --ok: #46C2A8;
  --r: 16px;
  --r2: 24px;

  /* Categorias de desafio — cor de assinatura de cada uma */
  --n-manuais: #FF8C42;
  --n-manuais-text: #3A1B02;
  --n-orais: #E0447A;
  --n-orais-text: #FFEEF4;
  --n-velocidade: #FFD23F;
  --n-velocidade-text: #3A2504;
  --n-fantasias: #B14EFF;
  --n-fantasias-text: #FBF0FF;
  --n-juntos: #3DD6C5;
  --n-juntos-text: #062824;
  --n-posicoes: #FF5A5F;
  --n-posicoes-text: #3A0508;
}

[data-theme="light"] {
  /* Tema claro — "Confete Diurno" */
  --bg: #FBF3FA;
  --bg2: #F5E4F2;
  --card: #FFFFFF;
  --card2: #FBF1FA;
  --border: #EEDAEB;
  --border2: #DFBEDA;
  --violet: #8331E0;
  --violet-dim: #6A22BE;
  --violet-pale: #F1E3FB;
  --gold: #A9760D;
  --gold-dim: #8A600B;
  --coral: #E23A57;
  --teal: #128C7C;
  --indigo: #4956D8;
  --text: #2A1338;
  --text-dim: #6E5480;
  --text-faint: #937E9E;
  --paper: #FFFCF6;
  --glow: rgba(131, 49, 224, 0.16);
  --shadow: rgba(60, 10, 90, 0.14);
  --ok: #157A66;

  --n-manuais: #C1590E;
  --n-manuais-text: #FFF3E9;
  --n-orais: #B8265A;
  --n-orais-text: #FFEEF4;
  --n-velocidade: #8A6A0A;
  --n-velocidade-text: #FFFAE8;
  --n-fantasias: #8331E0;
  --n-fantasias-text: #FBF0FF;
  --n-juntos: #128C7C;
  --n-juntos-text: #E9FFFC;
  --n-posicoes: #C42B30;
  --n-posicoes-text: #FFECEC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100dvh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 60% 45% at 50% -5%, var(--glow), transparent 70%),
    radial-gradient(ellipse 45% 35% at 90% 100%, var(--glow), transparent 70%);
  background-attachment: fixed;
  transition: background-color 0.35s, color 0.35s;
}

::selection { background: var(--violet); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--violet); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; z-index: 999; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── HEADER ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 4vw, 40px);
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.brand-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name em { color: var(--violet); font-style: italic; }

.theme-toggle {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--card);
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px var(--shadow);
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.06); border-color: var(--gold); }
.theme-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: clamp(8px, 2vw, 20px) 20px 10px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border2);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--card);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5.6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--violet);
}
.hero p {
  color: var(--text-dim);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  max-width: 540px;
  margin: 10px auto 0;
}

/* ── LAYOUT PRINCIPAL ── */
.stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 40px) 60px;
  align-items: start;
}
@media (min-width: 1000px) {
  .stage { grid-template-columns: minmax(380px, 480px) 1fr; }
  .wheel-column { position: sticky; top: 24px; }
}

/* ── COLUNA DA ROLETA ── */
.wheel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.wheel-frame {
  position: relative;
  width: min(92vw, 560px);
  aspect-ratio: 520 / 300;
  margin-bottom: 40px;
  filter: drop-shadow(0 16px 36px var(--shadow));
}
.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 200, 87, 0.75)) drop-shadow(0 3px 8px var(--shadow));
  pointer-events: none;
  animation: flicker 1.8s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: translateX(-50%) scale(1) rotate(0deg); }
  25%      { transform: translateX(-50%) scale(1.1) rotate(-3deg); }
  50%      { transform: translateX(-50%) scale(1) rotate(0deg); }
  75%      { transform: translateX(-50%) scale(1.08) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-pointer { animation: none; }
}
#wheelSvg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  transition: filter 0.3s;
}
#wheelSvg:hover { filter: brightness(1.05); }
.wheel-rotor { transform-origin: 50% 50%; will-change: transform; }

.spin-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 34%);
  width: clamp(88px, 22%, 116px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: radial-gradient(circle at 32% 28%, var(--card2), var(--bg2));
  color: var(--gold);
  font-family: 'Fraunces', serif;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 8px 24px var(--shadow), inset 0 2px 10px rgba(255,255,255,0.08);
  transition: transform 0.18s, box-shadow 0.25s, color 0.2s;
}
.spin-btn:hover:not(:disabled) {
  transform: translate(-50%, 34%) scale(1.07);
  box-shadow: 0 0 34px var(--glow), 0 8px 24px var(--shadow);
}
.spin-btn:active:not(:disabled) { transform: translate(-50%, 34%) scale(0.96); }
.spin-btn:disabled { cursor: wait; opacity: 0.75; }
.spin-btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.wheel-hint {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 300;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wheel-hint::before, .wheel-hint::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--border2);
}
.spin-count {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 400;
}
.spin-count strong { color: var(--gold); font-weight: 700; }

/* Legenda dos naipes */
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  max-width: 380px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}
.legend-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PAINEL DE RESULTADO ── */
.result-panel { min-width: 0; }

.placeholder-card {
  background: var(--card);
  border: 1px dashed var(--border2);
  border-radius: var(--r2);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  text-align: center;
}
.placeholder-card .ph-icon { font-size: 44px; margin-bottom: 14px; }
.placeholder-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  margin-bottom: 8px;
}
.placeholder-card p {
  color: var(--text-dim);
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto;
  font-size: 15px;
}

.chal-card {
  scroll-margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 20px 50px var(--shadow);
  animation: cardIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── FACE DA CARTA (estilo carta de baralho premium) ── */
.card-face {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 36px);
  min-height: clamp(210px, 32vw, 270px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  --naipe-cor: var(--n-manuais);
  --naipe-texto: var(--n-manuais-text);
}
.card-face::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid color-mix(in srgb, var(--naipe-cor) 55%, transparent);
  border-radius: 14px;
  pointer-events: none;
}
.card-face::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--naipe-cor) 16%, transparent), transparent 55%),
    radial-gradient(circle at 85% 85%, color-mix(in srgb, var(--naipe-cor) 12%, transparent), transparent 55%);
  pointer-events: none;
}

.card-index {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--naipe-cor);
  z-index: 2;
}
.card-index-tl { top: 16px; left: 18px; }
.card-index-br { bottom: 16px; right: 18px; transform: rotate(180deg); }
.idx-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
}
.idx-naipe { font-size: 16px; margin-top: 2px; }

.card-watermark {
  position: absolute;
  font-size: clamp(90px, 18vw, 150px);
  color: color-mix(in srgb, var(--naipe-cor) 14%, transparent);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.card-face-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 420px;
}
.card-categoria {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naipe-texto);
  background: var(--naipe-cor);
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--naipe-cor) 45%, transparent);
}
.card-titulo {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  margin-top: 12px;
  color: #2A1338;
}
[data-theme="light"] .card-titulo { color: #2A1338; }
.card-tagline {
  color: #6E5480;
  font-weight: 500;
  font-size: 14.5px;
  margin-top: 8px;
  font-style: italic;
}

.chal-body { padding: clamp(22px, 4vw, 36px); }

.chal-resumo {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 15.5px;
}

/* Badges e medidores */
.chal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--card2);
  color: var(--text-dim);
}
.badge .meter { letter-spacing: 2px; font-size: 12px; }
.badge .meter .on { color: var(--coral); }
.badge .meter .off { color: var(--border2); }
.badge.nivel { border-color: var(--gold-dim); color: var(--gold); }

/* Seções internas */
.chal-section { margin-top: 26px; }
.chal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
}
.chal-section-title .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}
.chal-section p { color: var(--text-dim); font-weight: 300; font-size: 15px; }

.steps { list-style: none; counter-reset: passo; }
.steps li {
  counter-increment: passo;
  position: relative;
  padding: 10px 0 10px 46px;
  color: var(--text-dim);
  font-weight: 300;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0; top: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--violet-pale);
  border: 1px solid var(--violet-dim);
  color: var(--violet);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}
@media (min-width: 640px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  border-left: 3px solid var(--border2);
}
.duo-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 6px;
}
.duo-gold { border-left-color: var(--gold-dim); }
.duo-gold h4 { color: var(--gold); }
.duo-bonus { border-left-color: var(--coral); }
.duo-bonus h4 { color: var(--coral); }
.duo-card p { color: var(--text-dim); font-weight: 300; font-size: 14.5px; }

.tips { list-style: none; }
.tips li {
  position: relative;
  padding: 7px 0 7px 28px;
  color: var(--text-dim);
  font-weight: 300;
  font-size: 15px;
}
.tips li::before {
  content: '✦';
  position: absolute;
  left: 2px; top: 7px;
  color: var(--gold);
  font-size: 13px;
}

.variacoes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) { .variacoes { grid-template-columns: 1fr 1fr; } }
.var-chip {
  background: var(--card2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet-dim);
  border-radius: 12px;
  padding: 12px 16px;
}
.var-chip strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
}
.var-chip span { color: var(--text-dim); font-weight: 300; font-size: 13.5px; }

.care-note {
  margin-top: 26px;
  background: var(--violet-pale);
  border: 1px solid var(--violet-dim);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 300;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.care-note .ic { flex-shrink: 0; font-size: 16px; }

.again-btn {
  margin-top: 28px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, var(--violet), var(--violet-dim));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.25s;
  box-shadow: 0 8px 24px var(--glow);
}
.again-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--glow); }
.again-btn:active { transform: translateY(0); }
.again-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── LETREIRO (caça-níquel) ── */
.name-ticker {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--card);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.3s, transform 0.3s;
}
.name-ticker.spinning {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.name-ticker.landed {
  color: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 26px var(--glow);
  transform: scale(1.06);
}

/* ── RODAPÉ ── */
.foot {
  border-top: 1px solid var(--border);
  padding: 28px 20px 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.foot .foot-brand {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
}
.foot p {
  font-size: 12.5px;
  color: var(--text-faint);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 6px;
}

/* ── ACESSIBILIDADE / MOVIMENTO ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chal-card { animation: none; }
  .wheel-rotor { transition: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Telas muito pequenas */
@media (max-width: 380px) {
  .brand-name { font-size: 15px; }
  .wheel-pointer { font-size: 26px; }
}


/* ── Badge de sorteio do executor ── */
.sorteio-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px dashed var(--border2);
  background: var(--card2);
  font-weight: 700;
  line-height: 1.35;
  animation: sorteioPop .45s cubic-bezier(.2,1.6,.4,1);
}
.sorteio-badge:empty { display: none; }
.sorteio-badge em { font-style: normal; font-weight: 600; color: var(--text-dim); margin-right: 4px; }
.sorteio-badge .sorteio-icone { font-size: 1.35rem; flex: none; }
.sorteio-badge .sorteio-texto { flex: 1; }
.sorteio-badge.ele  { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo) inset; }
.sorteio-badge.ela  { border-color: var(--coral);  box-shadow: 0 0 0 1px var(--coral) inset; }
.sorteio-badge.casal{ border-style: solid; border-color: var(--n-juntos); }
.resorteio-btn {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--card);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .25s ease, border-color .2s ease;
}
.resorteio-btn:hover { transform: rotate(180deg); border-color: var(--violet); }
@keyframes sorteioPop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sorteio-badge { animation: none; }
  .resorteio-btn:hover { transform: none; }
}


/* ── Aviso de conteúdo adulto (+18) ── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: color-mix(in srgb, var(--bg) 88%, black);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
[data-ageok="1"] .age-gate { display: none; }
.age-gate-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 34px 28px 26px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border2);
  box-shadow: 0 24px 70px var(--shadow);
}
.age-gate-icon { font-size: 2.6rem; margin-bottom: 10px; }
.age-gate-card h2 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text); }
.age-gate-card p { color: var(--text-dim); line-height: 1.55; margin-bottom: 22px; }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; }
.age-btn {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border2);
  transition: transform .15s ease, filter .15s ease;
}
.age-btn:active { transform: scale(.98); }
.age-btn-yes { background: var(--violet); border-color: var(--violet); color: #fff; }
.age-btn-yes:hover { filter: brightness(1.12); }
.age-btn-no { background: var(--card2); color: var(--text-dim); }
.age-btn-no:hover { filter: brightness(1.08); }
.age-gate-fine { font-size: .8rem; color: var(--text-faint); margin: 16px 0 0 !important; }
html:has(.age-gate:not([hidden])):not([data-ageok="1"]) body { overflow: hidden; }
