/* Girlies Night — midnight cocktail bar.
   Plum room, gold-foil deco, neon for the one thing to tap. Every question is an art-deco playing card:
   gold double border, a fan of gold rays behind the text, the mode's colour on the top edge and its suit in two corners. */
:root {
  color-scheme: dark;
  --plum: #2A1428;
  --charcoal: #17131A;
  --plum-2: #3A2238;
  --plum-3: #4A2C47;
  --gold: #D9A441;
  --gold-hi: #E8C46A;
  --gold-lo: #A87B28;
  --gold-grad: linear-gradient(135deg, #E8C46A 0%, #D9A441 50%, #A87B28 100%);
  --neon: #FF4D8D;
  --cream: #FAF3E8;
  --blush: #EFC9C0;
  --muted: rgba(250, 243, 232, 0.66);
  --line: rgba(217, 164, 65, 0.32);
  --line-soft: rgba(250, 243, 232, 0.12);
  --yes: #3DD68C;
  --no: #E5484D;

  --f-display: 'Playfair Display', 'Didot', Georgia, serif;
  --f-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-card: 20px;
  --r-btn: 16px;
  --r-sm: 12px;
  --shadow: 0 24px 48px -20px rgba(8, 2, 8, 0.75), 0 2px 8px rgba(8, 2, 8, 0.25);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  /* art-deco card back: a gold diamond lattice */
  --lattice:
    repeating-linear-gradient(45deg, rgba(217, 164, 65, 0.16) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-45deg, rgba(217, 164, 65, 0.16) 0 1px, transparent 1px 16px);
  /* the deco fan that rises behind every question */
  --fan:
    radial-gradient(120% 75% at 50% 0%, transparent 0 22%, var(--plum-2) 68%),
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(217, 164, 65, 0.13) 0 0.6deg, transparent 0.6deg 7deg);
}

html, body { min-height: 100%; overflow-x: clip; }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(90% 60% at 50% 30%, #3A1C37 0%, transparent 70%),
    radial-gradient(120% 80% at 50% 110%, var(--charcoal) 10%, transparent 70%),
    var(--plum);
  background-attachment: fixed;
}
body::after { content: ""; position: fixed; inset: 0; background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; z-index: 0; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.app {
  position: relative; z-index: 1;
  max-width: 520px; min-height: 100vh; min-height: 100dvh; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 10px 28px;
  display: flex; flex-direction: column;
}

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
/* The top bar (Back, name, language) stays on screen while scrolling long pages. */
.topbar {
  position: sticky; top: 0; z-index: 30;
  margin: -10px calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 0;
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 8px;
  background: rgba(36, 17, 34, 0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.wordmark-sm {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 0;
  font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--gold-hi);
}
.wordmark-sm em { font-style: italic; }
.lang-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; }

.screen { display: flex; flex-direction: column; gap: 20px; flex: 1; padding-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 14px 22px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 17px; text-decoration: none;
  border: 0; transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--neon); color: var(--charcoal); box-shadow: 0 10px 28px -10px rgba(255, 77, 141, 0.7); }
.btn-gold { background: var(--gold-grad); color: var(--charcoal); box-shadow: 0 10px 24px -12px rgba(217, 164, 65, 0.6); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 8px 4px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

/* ---------- home ---------- */
.home-hero { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 8px 0 4px; }
.emblem { width: 112px; height: 112px; margin-bottom: 2px; filter: drop-shadow(0 0 18px rgba(217, 164, 65, 0.25)); }
.hero-title {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(46px, 13.5vw, 64px); line-height: 1.02; letter-spacing: -0.01em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 21px; color: var(--blush); }

.section-label { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--cream); }
.home-section { display: grid; gap: 12px; }

/* the mode tiles: little playing cards, two across */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-tile {
  --mode: var(--gold);
  position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 18px;
  min-height: 112px; padding: 14px 14px 12px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--mode) 16%, var(--plum-2)) 0%, var(--plum-2) 60%);
  box-shadow: inset 0 3px 0 var(--mode);
}
.mode-tile .suit { font-family: var(--f-display); font-size: 26px; line-height: 1; color: var(--mode); font-variant-emoji: text; }
.mode-tile strong { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.15; color: var(--cream); }
.mode-tile small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.mode-tile.wide { grid-column: 1 / -1; min-height: 0; grid-template-columns: auto 1fr; align-items: center; }

/* feature rows: bachelorette, secret mission, bestie test */
.feature {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  width: 100%; padding: 14px 16px; text-align: left; border-radius: var(--r-card);
  background: var(--plum-2); border: 1px solid var(--line);
}
.feature .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: var(--charcoal); border: 1px solid var(--line); }
.feature strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.feature small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.feature .badge { position: absolute; top: -9px; right: 14px; }
.feature.bach {
  background: linear-gradient(135deg, #F6D9D1 0%, var(--blush) 55%, #E3AFA4 100%); color: var(--charcoal); border: 0;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.0), inset 0 0 0 1px rgba(168, 123, 40, 0.5), var(--shadow);
}
.feature.bach small { color: rgba(23, 19, 26, 0.72); }
.feature.bach .ico { background: rgba(255, 255, 255, 0.45); border-color: rgba(168, 123, 40, 0.4); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-grad); color: var(--charcoal); white-space: nowrap; }
.badge.neon { background: var(--neon); }

/* paid packs: two card-backs side by side */
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pack {
  position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 12px;
  min-height: 190px; padding: 16px 14px 14px; border-radius: var(--r-card); text-align: left;
  background: var(--lattice), var(--charcoal);
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 5px var(--charcoal), inset 0 0 0 6px var(--line), var(--shadow);
}
.pack .pack-ico { font-size: 30px; line-height: 1; }
.pack strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.pack small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.pack .btn { min-height: 44px; padding: 8px 12px; font-size: 15px; border-radius: 12px; width: 100%; }
.pack .done { font-size: 13px; font-weight: 600; color: var(--gold); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.how-steps li { display: grid; gap: 4px; justify-items: center; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); line-height: 1.3; }
.how-steps b { font-size: 22px; line-height: 1; font-weight: 400; }

/* legacy promo block (still used on a few inner screens) */
.promo { position: relative; display: grid; gap: 10px; padding: 20px; text-align: left; width: 100%; border-radius: var(--r-card); background: var(--plum-2); border: 1px solid var(--line); }
.promo h3 { margin: 0; font-family: var(--f-display); font-size: 26px; font-weight: 700; line-height: 1.12; }
.promo p { margin: 0; color: var(--muted); font-size: 15px; max-width: 42ch; }
.promo .btn { justify-self: start; min-height: 46px; padding: 10px 18px; font-size: 15px; }
.price-tag { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ---------- setup ---------- */
.h2 { margin: 0; font-family: var(--f-display); font-size: 32px; font-weight: 800; line-height: 1.1; }
.h3 { font-size: 24px; }
.group { display: grid; gap: 12px; }
.names { display: grid; gap: 8px; }
.name-row { display: flex; gap: 8px; }
.input {
  flex: 1; min-width: 0; min-height: 54px; padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--charcoal); border: 1px solid var(--line-soft); font-size: 17px; color: var(--cream);
}
.input::placeholder { color: rgba(250, 243, 232, 0.38); }
.input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18); }
.screen > .input { flex: 0 0 auto; }
.icon-btn { width: 54px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line-soft); background: transparent; font-size: 22px; line-height: 1; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 13px; font-size: 14px; color: var(--cream); }
.chip.selected { border-color: var(--neon); background: rgba(255, 77, 141, 0.16); }
.chips .lbl { font-size: 13px; color: var(--muted); margin-right: 2px; }

.opt-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--plum-2); border: 1px solid var(--line-soft); cursor: pointer;
}
.opt-row:has(input:checked) { border-color: var(--gold); background: linear-gradient(135deg, rgba(217, 164, 65, 0.14), var(--plum-2) 70%); }
.opt-row input { appearance: none; width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid var(--muted); display: grid; place-items: center; margin: 0; }
.opt-row input[type="radio"] { border-radius: 50%; }
.opt-row input:checked { background: var(--gold-grad); border-color: var(--gold); }
.opt-row input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--charcoal); border-bottom: 2.5px solid var(--charcoal); transform: translateY(-2px) rotate(-45deg); }
.opt-row input[type="radio"]:checked::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--charcoal); transform: none; }
.opt-row.disabled { opacity: 0.42; cursor: not-allowed; }
.opt-row.disabled input { background: transparent; border-color: var(--line-soft); }
.opt-row.disabled input::after { content: none; }
.opt-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.opt-text strong { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.25; }
.opt-text span { font-size: 14px; color: var(--muted); }
.swatch { width: 10px; height: 10px; flex: none; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.mini-btn { flex: none; border: 0; border-radius: 999px; background: var(--gold-grad); color: var(--charcoal); font-size: 13px; font-weight: 600; padding: 7px 12px; }
.error { margin: 0; color: var(--neon); font-size: 15px; min-height: 1.5em; }
.sticky-cta { position: sticky; bottom: 0; padding-block: 12px env(safe-area-inset-bottom, 0px); background: linear-gradient(to top, var(--plum) 72%, transparent); display: grid; gap: 6px; }

/* ---------- game ---------- */
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.round-info { display: grid; gap: 0; min-width: 0; }
.round-info small { font-size: 13px; color: var(--muted); }
.round-info strong { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.game-actions { display: flex; gap: 4px; flex: none; }
.progress { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 4px; background: var(--gold-grad); transition: width 0.3s ease; }

/* The question card: an art-deco playing card. */
.card {
  --mode: var(--gold);
  --suit: "◆\FE0E";
  position: relative; overflow: hidden; border-radius: var(--r-card);
  min-height: clamp(360px, 56vh, 600px); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 16px;
  color: var(--cream); background: var(--fan), var(--plum-2);
  box-shadow:
    inset 0 4px 0 var(--mode),
    inset 0 0 0 1px var(--gold),
    inset 0 0 0 7px var(--plum-2),
    inset 0 0 0 8px rgba(217, 164, 65, 0.45),
    var(--shadow);
}
/* suits in opposite corners, like a real deck */
.card::before, .card::after {
  content: var(--suit); position: absolute; z-index: 1;
  font-family: var(--f-display); font-size: 26px; line-height: 1; color: var(--mode); font-variant-emoji: text;
}
.card::before { top: 20px; right: 22px; }
.card::after { bottom: 18px; left: 22px; transform: rotate(180deg); }
.card > * { position: relative; z-index: 2; }
.card.enter { animation: deal 0.42s cubic-bezier(.2, .8, .2, 1); }
@keyframes deal { from { transform: translateY(18px) rotate(-1.5deg) scale(0.98); opacity: 0.3; } to { transform: none; opacity: 1; } }

.card[data-mode="this-or-that"] { --mode: #FF4D8D; --suit: "⇄"; }
.card[data-mode="deep"] { --mode: #D9A441; --suit: "◆\FE0E"; }
.card[data-mode="deep"].nhie { --mode: #FF4D8D; }
.card[data-mode="most-likely"] { --mode: #A274F2; --suit: "♛\FE0E"; }
.card[data-mode="red-flag"] { --mode: #E5484D; --suit: "⚑\FE0E"; }
.card[data-mode="princess"] { --mode: #EFC9C0; --suit: "♕\FE0E"; }
.card[data-mode="cute-cringe"] { --mode: #7ED3B2; --suit: "♡\FE0E"; }
.card[data-mode="guess-who"] { --mode: #C9B8F0; --suit: "?"; }
.card[data-mode="dare"] { --mode: #FF7A45; --suit: "✦\FE0E"; }
.card[data-mode="intro"] { --mode: var(--gold); --suit: "✦\FE0E"; }
.card[data-mode="award"], .card[data-mode="gq"] { --mode: var(--blush); --suit: "♕\FE0E"; }
.card[data-mode="award"] { --suit: "★\FE0E"; }

/* card backs: paywall, pass-the-phone gates, sealed missions */
.card[data-mode="paywall"], .card[data-mode="sm-gate"], .card[data-mode="guess-who"][data-gw="gate"], .card[data-mode="sm-private"], .card[data-mode="sm-out"] {
  background:
    radial-gradient(70% 55% at 50% 50%, var(--charcoal) 35%, transparent 75%),
    var(--lattice), var(--charcoal);
}
.card[data-mode="paywall"] { --mode: var(--neon); --suit: "🔒"; }
.card[data-mode="sm-gate"], .card[data-mode="guess-who"][data-gw="gate"] { --mode: var(--gold); --suit: "✦\FE0E"; }
.card[data-mode="sm-private"], .card[data-mode="sm-out"] { --mode: var(--neon); --suit: "✦\FE0E"; }

.card-band { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 36px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mode); background: color-mix(in srgb, var(--mode) 15%, transparent);
}
.tag.spicy { color: var(--neon); background: rgba(255, 77, 141, 0.15); }
.card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; text-align: center; align-items: center; }
.card-text {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 7.8vw, 38px);
  line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere;
}
.card-kicker { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--blush); }
.card-hint { margin: 0; font-size: 15px; color: var(--muted); max-width: 34ch; }
.turn { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--mode); color: var(--charcoal); font-size: 15px; font-weight: 600; }

.tot { display: grid; gap: 10px; width: 100%; }
.tot .side { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 7.8vw, 38px); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.tot .side.a { color: var(--cream); }
.tot .side.b { color: var(--neon); }
.tot .or { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold); }
.tot .or::before, .tot .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.vote-legend { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.vote-legend span { padding: 7px 14px; border-radius: 999px; background: rgba(250, 243, 232, 0.08); border: 1px solid var(--line-soft); font-size: 15px; font-weight: 500; }

.countdown { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(23, 19, 26, 0.94); color: var(--cream); z-index: 5; padding: 20px; }
.countdown b { font-family: var(--f-display); font-weight: 800; font-size: clamp(120px, 40vw, 200px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: beat 0.7s ease both; }
.countdown .vote-now { display: grid; gap: 10px; animation: beat 0.5s ease both; }
.countdown .vote-now strong { font-family: var(--f-display); font-size: 40px; line-height: 1.1; color: var(--neon); }
.countdown .vote-now span { font-size: 54px; letter-spacing: 0.12em; }
@keyframes beat { from { transform: scale(1.4); opacity: 0; } to { transform: none; opacity: 1; } }

.controls { display: grid; gap: 10px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.controls .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crown-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.crown-btn { min-height: 58px; padding: 10px 12px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--plum-2); font-family: var(--f-display); font-weight: 700; font-size: 19px; overflow-wrap: anywhere; transition: transform 0.12s ease; }
.crown-btn:active { background: var(--neon); color: var(--charcoal); transform: scale(1.03); }
.crown-btn small { display: block; font-family: var(--f-ui); font-weight: 400; font-size: 13px; color: var(--muted); }
.hint { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* guess who */
.gw-q { font-size: clamp(24px, 6.6vw, 30px); }
.gw-answer { font-size: clamp(36px, 10.5vw, 54px); color: var(--neon); font-style: italic; line-height: 1.15; }
.card p.gw-who { margin: 0; padding: 8px 18px; border-radius: 999px; background: var(--gold-grad); color: var(--charcoal); font-family: var(--f-display); font-weight: 800; font-size: 24px; animation: beat 0.35s ease both; }
.gw-count { color: var(--neon); }
.gw-num { font-size: 28px; text-align: center; }
.gw-mode { width: 100%; text-align: left; color: var(--cream); }
.gw-mode:active { border-color: var(--gold); }
.tally { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; text-align: left; }
.tally li { display: grid; grid-template-columns: minmax(0, 7.5em) 1fr auto; gap: 10px; align-items: center; font-size: 17px; }
.tally.reveal li { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 4px; border-bottom: 1px solid var(--line-soft); }
.tally.reveal li:last-child { border-bottom: 0; }
.tally-label { overflow-wrap: anywhere; font-family: var(--f-display); font-weight: 700; font-size: 19px; }
.tally b { font-weight: 600; text-align: right; color: var(--gold); }
.yn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.yn-split span { display: grid; justify-items: center; padding: 14px 8px; font-size: 15px; border-radius: 16px; background: rgba(250, 243, 232, 0.06); }
.yn-split b { font-family: var(--f-display); font-weight: 800; font-size: 60px; line-height: 1; }
.yn-split .yes b { color: var(--yes); }
.yn-split .no b { color: var(--no); }
.sm-hidden { font-size: 64px; }

/* ---------- end / boards ---------- */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--plum-2); border: 1px solid var(--line-soft); }
.board .rank { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--gold); text-align: center; }
.board .who { min-width: 0; display: grid; gap: 2px; }
.board .who strong { font-family: var(--f-display); font-weight: 700; font-size: 19px; }
.board .who span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.board .count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.board li.top { border-color: var(--gold); background: linear-gradient(135deg, rgba(217, 164, 65, 0.18), var(--plum-2) 70%); }
.board li.top .count { color: var(--gold); }
.empty { margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.cross { border: 1px solid var(--neon); background: rgba(255, 77, 141, 0.1); color: var(--cream); border-radius: var(--r-btn); padding: 14px 16px; font-weight: 600; font-size: 15px; text-align: left; }

/* ---------- bestie test ---------- */
.lede { margin: 0; color: var(--muted); font-size: 17px; max-width: 40ch; }
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-text { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 7.8vw, 36px); line-height: 1.25; text-wrap: balance; }
.answers { display: grid; gap: 10px; }
.answers.yn { grid-template-columns: 1fr 1fr; }
.answers.yn .answer { text-align: center; font-size: 22px; min-height: 76px; }
.answer { min-height: 60px; padding: 14px 18px; border-radius: var(--r-btn); text-align: left; font-size: 17px; font-weight: 500; border: 1px solid var(--line-soft); background: var(--plum-2); transition: transform 0.12s ease; }
.answer.picked, .answer:active { background: var(--neon); color: var(--charcoal); border-color: var(--neon); transform: scale(1.02); }
.answer.correct { background: var(--yes); border-color: var(--yes); color: var(--charcoal); }
.answer.wrong { background: var(--no); border-color: var(--no); color: var(--cream); }
.answer.dim { opacity: 0.4; }
.answer[disabled] { cursor: default; }
.juicy-tag { margin: 0; color: var(--neon); }
.swap { justify-self: center; }
.g-score { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--gold); }
.g-says { color: var(--blush); margin: 0; }
.g-feedback { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.25; }
.g-feedback.ok { color: var(--yes); }
.g-feedback.no { color: var(--neon); }
.link-box { display: flex; gap: 8px; }
.link-box .input { font-size: 14px; }
.share-grid { display: grid; gap: 10px; }
.qr-wrap { display: grid; justify-items: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--plum-2); }
.qr { padding: 12px; background: var(--cream); border-radius: 12px; line-height: 0; }
.qr img, .qr canvas { display: block; width: 168px; height: 168px; }
.bt-hero { display: grid; gap: 8px; justify-items: start; }
.bt-emoji { font-size: 52px; line-height: 1; }
.emoji-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.emoji-btn { aspect-ratio: 1; max-width: 100%; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--plum-2); font-size: 22px; padding: 0; }
.emoji-btn.selected { border-color: var(--neon); background: rgba(255, 77, 141, 0.18); }

/* result cards: gold double border on plum, made to be screenshotted */
.score-card, .recap {
  position: relative; overflow: hidden; border-radius: var(--r-card); padding: 34px 24px; text-align: center;
  background: var(--fan), var(--plum-2); color: var(--cream); display: grid; gap: 6px;
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 7px var(--plum-2), inset 0 0 0 8px rgba(217, 164, 65, 0.45), var(--shadow);
}
.score-card small, .recap small { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.score-card .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(92px, 30vw, 140px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-card .verdict { font-family: var(--f-display); font-style: italic; font-size: 28px; font-weight: 700; color: var(--neon); }
.tier-sub { margin: 2px 0 0; font-size: 16px; color: var(--muted); }
.recap { text-align: left; }
.recap h2 { margin: 0; font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1.12; }
.recap ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.recap li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.recap li span { min-width: 0; color: var(--muted); }
.recap li b { text-align: right; flex: none; font-family: var(--f-display); font-size: 18px; color: var(--cream); }
.review { list-style: none; margin: 0; padding: 0; display: grid; }
.review li { padding: 12px 2px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 4px; font-size: 14px; }
.review li strong { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.review .ok { color: var(--yes); }
.review .no { color: var(--neon); }
.review-wrap summary { cursor: pointer; color: var(--muted); padding: 8px 0; }

/* ---------- bachelorette, after-party ---------- */
.bach-promo { background: linear-gradient(135deg, #F6D9D1, var(--blush) 55%, #E3AFA4); color: var(--charcoal); border: 0; }
.bach-promo h3 { color: var(--charcoal); }
.bach-promo p { color: rgba(23, 19, 26, 0.75); }
.bach-promo .price-tag { color: #8A2E52; }
.after-party { border-color: rgba(255, 77, 141, 0.5); }
.bach-hero { display: grid; gap: 8px; justify-items: start; }
.bach-title { font-size: clamp(40px, 12vw, 58px); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stage { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border-radius: var(--r-card); background: var(--plum-2); border: 1px solid var(--line-soft); }
.stage-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--charcoal); background: var(--gold-grad); }
.stage-text { display: grid; gap: 4px; min-width: 0; }
.stage-text small { font-size: 13px; color: var(--muted); }
.stage-text strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.stage-text > span { color: var(--muted); font-size: 15px; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.stage-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.stage-status { margin: 4px 0 0; font-size: 14px; color: var(--muted); width: 100%; }
.price-block { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.one-time { margin: -2px 0 2px; text-align: center; font-size: 13px; font-weight: 600; color: var(--blush); }
.price-block .now { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-block .note { font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--blush); }
.card[data-mode="gq"] .gw-answer { color: var(--neon); }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; background: rgba(12, 6, 12, 0.72); backdrop-filter: blur(4px); }
.sheet {
  width: 100%; max-width: 520px; margin: 0 auto; background: var(--plum-2); border-radius: 24px 24px 0 0; border-top: 1px solid var(--gold);
  padding: 26px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: grid; gap: 16px; max-height: 92%; overflow-y: auto;
}
.sheet h3 { margin: 0; font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1.12; }
.sheet p { margin: 0; color: var(--muted); }
.taste { display: grid; gap: 8px; }
.taste div { padding: 14px 16px; border-radius: 14px; background: var(--charcoal); border: 1px solid var(--line); font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1.3; }
.taste small { display: block; margin-bottom: 4px; font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); }
.checkout { text-align: center; padding: 24px 8px; display: grid; gap: 6px; }
.checkout strong { font-family: var(--f-display); font-size: 22px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 40; background: var(--cream); color: var(--charcoal); padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; font-weight: 600;
}

@media (max-width: 360px) { .emoji-row { grid-template-columns: repeat(4, 1fr); } .mode-tile strong { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =====================================================================
   Finish layer: materials instead of boxes.
   Surfaces get a lit top edge, a foil hairline that catches light top-left and fades,
   and layered soft shadows, so they read as objects on a table rather than outlines.
   ===================================================================== */
:root {
  --surf: linear-gradient(165deg, #45283F 0%, #36203A 45%, #2C1A2E 100%);
  --foil: linear-gradient(150deg, rgba(240, 210, 140, 0.75) 0%, rgba(217, 164, 65, 0.18) 32%, rgba(217, 164, 65, 0.06) 60%, rgba(217, 164, 65, 0.4) 100%);
  --foil-strong: linear-gradient(150deg, #F3D68E 0%, #C7922F 30%, #7A5518 55%, #D9A441 80%, #F0CF83 100%);
  --lift: inset 0 1px 0 rgba(255, 236, 214, 0.09), 0 1px 1px rgba(10, 4, 10, 0.35), 0 10px 22px -10px rgba(10, 4, 10, 0.7), 0 28px 50px -30px rgba(10, 4, 10, 0.8);
}
.ico-svg { width: 24px; height: 24px; display: block; }

/* buttons with light on them */
.btn-primary {
  background: linear-gradient(180deg, #FF7AAB 0%, #FF4D8D 48%, #E73A7A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(120, 10, 50, 0.25), 0 10px 26px -10px rgba(255, 77, 141, 0.75), 0 2px 4px rgba(10, 4, 10, 0.4);
}
.btn-gold {
  background: linear-gradient(180deg, #F1D48C 0%, #D9A441 52%, #B5862F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), inset 0 -2px 0 rgba(90, 60, 10, 0.25), 0 10px 24px -12px rgba(217, 164, 65, 0.6), 0 2px 4px rgba(10, 4, 10, 0.4);
}
.btn-ghost {
  border: 1px solid transparent; color: var(--gold-hi);
  background: linear-gradient(#211723, #211723) padding-box, var(--foil-strong) border-box;
}

/* home */
.how-steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
.how-steps li { border: 0; padding: 4px 4px; gap: 8px; color: var(--muted); position: relative; }
.how-steps li .ico-svg { width: 30px; height: 30px; color: var(--gold-hi); }
.how-steps li + li::before { content: ""; position: absolute; left: -14%; top: 18px; width: 28%; border-top: 1px dotted rgba(217, 164, 65, 0.45); }

.mode-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 4px max(16px, env(safe-area-inset-left, 0px)) 22px;
  scroll-padding-inline: 16px;
}
.mode-rail::-webkit-scrollbar { display: none; }
.mini-card {
  --mode: var(--gold);
  position: relative; scroll-snap-align: start; aspect-ratio: 5 / 7.4;
  display: grid; grid-template-rows: 1fr auto; padding: 14px 12px 16px; text-align: center; color: var(--cream);
  border-radius: 14px; border: 1px solid transparent;
  background:
    radial-gradient(90% 60% at 50% 34%, color-mix(in srgb, var(--mode) 24%, transparent) 0%, transparent 70%) padding-box,
    repeating-conic-gradient(from 180deg at 50% 34%, rgba(217, 164, 65, 0.07) 0 0.8deg, transparent 0.8deg 9deg) padding-box,
    var(--surf) padding-box,
    var(--foil-strong) border-box;
  box-shadow: var(--lift);
  transition: transform 0.18s ease;
}
.mini-card:active { transform: translateY(-3px) rotate(-1deg); }
.mini-card::before, .mini-card::after { content: attr(data-suit); position: absolute; font-family: var(--f-display); font-size: 14px; line-height: 1; color: var(--mode); }
.mini-card::before { top: 10px; left: 11px; }
.mini-card::after { bottom: 10px; right: 11px; transform: rotate(180deg); }
.mini-card .big-suit { align-self: center; font-family: var(--f-display); font-size: 46px; line-height: 1; color: var(--mode); text-shadow: 0 0 22px color-mix(in srgb, var(--mode) 55%, transparent); }
.mini-name strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.18; text-wrap: balance; }
.mini-name small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

.medallion {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi);
  border: 1px solid transparent; background: radial-gradient(circle at 35% 30%, #3E2440, #1E1220) padding-box, var(--foil-strong) border-box;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
}
.medallion .ico-svg { width: 26px; height: 26px; }
.medallion.light { color: #7A4B2A; background: radial-gradient(circle at 35% 30%, #FFF4EE, #F1CFC4) padding-box, var(--foil-strong) border-box; }

.feature-hero {
  position: relative; display: grid; justify-items: start; gap: 6px; width: 100%; padding: 20px 20px 22px; text-align: left; color: var(--charcoal);
  border-radius: var(--r-card); border: 1px solid transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 55%) padding-box,
    linear-gradient(160deg, #F8E3DB 0%, #EFC9C0 50%, #DDA597 100%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 40px -18px rgba(239, 160, 150, 0.45), 0 2px 4px rgba(10, 4, 10, 0.35);
}
.feature-hero .medallion { margin-bottom: 6px; }
.feature-hero strong { font-family: var(--f-display); font-weight: 800; font-size: 25px; line-height: 1.1; }
.feature-hero small { font-size: 15px; line-height: 1.45; color: rgba(23, 19, 26, 0.72); max-width: 34ch; }
.feature-hero .badge { position: absolute; top: 18px; right: 18px; }

.list-group {
  border-radius: var(--r-card); overflow: hidden; border: 1px solid transparent;
  background: var(--surf) padding-box, var(--foil) border-box; box-shadow: var(--lift);
}
.list-row { display: grid; grid-template-columns: 46px 1fr 14px; gap: 14px; align-items: center; width: 100%; padding: 15px 16px; background: none; border: 0; text-align: left; color: var(--cream); }
.list-row + .list-row { border-top: 1px solid rgba(250, 243, 232, 0.07); }
.list-row:active { background: rgba(250, 243, 232, 0.04); }
.ring-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: rgba(217, 164, 65, 0.1); box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.35); }
.list-text strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.list-text small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.chev { width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); transform: rotate(45deg); opacity: 0.8; }

.pack {
  min-height: 0; padding: 18px 14px 14px; gap: 12px; justify-items: center; text-align: center; border: 1px solid transparent;
  background:
    radial-gradient(80% 50% at 50% 28%, rgba(23, 19, 26, 0.95) 30%, transparent 75%) padding-box,
    var(--lattice) padding-box, linear-gradient(#1C1520, #141017) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 0 0 5px #17131A, inset 0 0 0 6px rgba(217, 164, 65, 0.3), var(--lift);
}
.pack .pack-text { display: grid; gap: 4px; }
.pack strong { font-size: 18px; }

/* the question card: foil edge, an inner printed rule, the mode glowing from its corner */
.card {
  border: 1.5px solid transparent;
  background:
    radial-gradient(70% 40% at 100% 0%, color-mix(in srgb, var(--mode) 20%, transparent), transparent 70%) padding-box,
    radial-gradient(120% 75% at 50% 0%, transparent 0 22%, #33203A 68%) padding-box,
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(217, 164, 65, 0.11) 0 0.6deg, transparent 0.6deg 7deg) padding-box,
    var(--surf) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.08), 0 2px 3px rgba(10, 4, 10, 0.4), 0 30px 60px -28px rgba(8, 2, 8, 0.9);
  outline: 1px solid rgba(217, 164, 65, 0.32); outline-offset: -9px;
}
.card::before, .card::after { text-shadow: 0 0 14px color-mix(in srgb, var(--mode) 50%, transparent); }
.card[data-mode="paywall"], .card[data-mode="sm-gate"], .card[data-mode="guess-who"][data-gw="gate"], .card[data-mode="sm-private"], .card[data-mode="sm-out"] {
  background:
    radial-gradient(70% 55% at 50% 50%, #17131A 35%, transparent 75%) padding-box,
    var(--lattice) padding-box, linear-gradient(#1C1520, #141017) padding-box,
    var(--foil-strong) border-box;
}
.tag { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mode) 35%, transparent); }

/* inner surfaces share the material */
.opt-row, .answer, .crown-btn, .board li, .stage, .qr-wrap, .promo, .score-card, .recap, .emoji-btn {
  border: 1px solid transparent;
  background: var(--surf) padding-box, var(--foil) border-box;
  box-shadow: var(--lift);
}
.opt-row:has(input:checked) { background: linear-gradient(150deg, rgba(217, 164, 65, 0.2), transparent 60%) padding-box, var(--surf) padding-box, var(--foil-strong) border-box; }
.board li.top { background: linear-gradient(150deg, rgba(217, 164, 65, 0.2), transparent 60%) padding-box, var(--surf) padding-box, var(--foil-strong) border-box; }
.answer.picked, .answer:active { background: linear-gradient(180deg, #FF7AAB, #FF4D8D 48%, #E73A7A) padding-box, linear-gradient(#FF4D8D, #FF4D8D) border-box; }
.answer.correct { background: var(--yes) padding-box, var(--yes) border-box; }
.answer.wrong { background: var(--no) padding-box, var(--no) border-box; }
.emoji-btn.selected { background: rgba(255, 77, 141, 0.22) padding-box, linear-gradient(var(--neon), var(--neon)) border-box; }
.score-card, .recap {
  background: radial-gradient(120% 75% at 50% 0%, transparent 0 22%, #33203A 68%) padding-box,
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(217, 164, 65, 0.11) 0 0.6deg, transparent 0.6deg 7deg) padding-box,
    var(--surf) padding-box, var(--foil-strong) border-box;
  outline: 1px solid rgba(217, 164, 65, 0.32); outline-offset: -9px;
}
.input { background: #1A121C; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35); border-color: rgba(250, 243, 232, 0.08); }
.sheet { background: linear-gradient(180deg, #3E2540, #2A1A2C); box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5); }
.taste div { background: linear-gradient(#1C1520, #141017) padding-box, var(--foil) border-box; border: 1px solid transparent; }
.cross { background: rgba(255, 77, 141, 0.1); }

/* explainer card (Secret Mission intro) */
.card.explain { min-height: 0; padding: 26px 24px 30px; gap: 14px; }
.explain-title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 7.4vw, 32px); line-height: 1.18; text-wrap: balance; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; color: rgba(250, 243, 232, 0.86); }
.rule-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--charcoal); background: var(--gold-grad); }

/* back */
.topbar { justify-content: flex-start; }
.topbar .lang-btn { margin-left: auto; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(23, 19, 26, 0.5); color: var(--cream); font-size: 14px; font-weight: 600; flex: none; }
.home-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; color: var(--gold-hi); cursor: pointer; flex: none; }
.home-ico[hidden] { display: none; }
.topbar .home-ico:not([hidden]) + .lang-btn { margin-left: 8px; }   /* the house sits next to ES/EN */
.home-ico .ico-svg { width: 20px; height: 20px; stroke-width: 1.6; }
.sheet-back { margin: -6px 0 14px; align-self: flex-start; width: fit-content; max-width: max-content; }   /* 24 oct: Atrás at the top left of a sheet */
.back-chev { width: 8px; height: 8px; border-left: 1.75px solid var(--gold-hi); border-bottom: 1.75px solid var(--gold-hi); transform: rotate(45deg); margin-left: 3px; }
.back-btn:not([hidden]) + .wordmark-sm { font-size: 16px; margin-left: 12px; }

.sheet .card.explain { box-shadow: none; }
.controls .link-btn { justify-self: center; }

.reread { padding: 16px; border-radius: var(--r-card); border: 1px solid transparent; background: var(--surf) padding-box, var(--foil) border-box; box-shadow: var(--lift); gap: 8px; }
.reread .section-label { font-size: 19px; }
.reread .hint { text-align: left; }
.card[data-mode="sm-out"] { min-height: 0; padding-block: 48px; }

.write-own { display: flex; gap: 8px; }
.write-own .btn { min-height: 54px; flex: none; }
.answer.own { color: var(--gold-hi); text-align: center; background: transparent padding-box, var(--foil) border-box; box-shadow: none; border-style: dashed; border-color: rgba(217, 164, 65, 0.5); }
.answer.own.picked { color: var(--charcoal); }

/* open questions */
.open-tag { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.open-input { font-size: 20px; min-height: 60px; }
.open-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.open-compare > div { display: grid; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid transparent; background: var(--surf) padding-box, var(--foil) border-box; box-shadow: var(--lift); min-width: 0; }
.open-compare .hers { background: linear-gradient(150deg, rgba(255, 77, 141, 0.22), transparent 70%) padding-box, var(--surf) padding-box, var(--foil-strong) border-box; }
.open-compare small { font-size: 13px; color: var(--muted); }
.open-compare strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* gradient text is clipped to its line box: give descenders (the g in Night) room */
.hero-title, .bach-title, .score-card .num, .price-block .now, .countdown b { line-height: 1.15; padding-bottom: 0.12em; margin-bottom: -0.08em; }


/* ---------- round intro: big mode medallion ---------- */
.card.is-intro {
  background:
    radial-gradient(55% 32% at 50% 26%, color-mix(in srgb, var(--mode) 32%, transparent), transparent 75%),
    radial-gradient(circle at 50% 26%, transparent 0, transparent 22%, var(--plum-2) 70%),
    repeating-conic-gradient(from 0deg at 50% 26%, rgba(217, 164, 65, 0.16) 0deg 1.2deg, transparent 1.2deg 7deg),
    var(--plum-2);
}
.card.is-intro .card-body { gap: 10px; }
.card.is-intro .card-hint { margin-top: 2px; }
.intro-medal {
  align-self: center; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; margin-top: 12px; flex: none;
  border: 1.5px solid rgba(217, 164, 65, 0.85);
  background: radial-gradient(circle, var(--plum) 0%, color-mix(in srgb, var(--plum) 85%, transparent) 100%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--plum) 75%, transparent), 0 0 0 7px rgba(217, 164, 65, 0.35), 0 0 46px color-mix(in srgb, var(--mode) 40%, transparent);
}
.intro-medal span { font-family: var(--f-display); font-size: 56px; line-height: 1; color: var(--mode); font-variant-emoji: text; text-shadow: 0 0 18px color-mix(in srgb, var(--mode) 75%, transparent); }
.intro-rule { display: block; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- game header: one "···" button instead of two links ---------- */
.more-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(217, 164, 65, 0.5); background: transparent; color: var(--gold);
}
.more-btn span, .more-btn span::before, .more-btn span::after { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.more-btn span { position: relative; }
.more-btn span::before, .more-btn span::after { content: ""; position: absolute; top: 0; }
.more-btn span::before { left: -8px; }
.more-btn span::after { left: 8px; }
.sheet .link-btn { justify-self: center; }

/* ---------- setup: sticky button no longer shows cards through it ---------- */
.sticky-cta {
  padding-top: 26px; margin-top: -10px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, color-mix(in srgb, var(--plum) 55%, var(--charcoal)) calc(100% - 26px), transparent);
}
.sticky-cta .error:empty { display: none; }

/* ---------- mode rail: swipe dots ---------- */
.mode-rail { padding-bottom: 12px; }
.rail-dots { display: flex; justify-content: center; gap: 6px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(250, 243, 232, 0.22); transition: background .2s, width .2s; }
.rail-dots i.on { width: 16px; border-radius: 3px; background: var(--gold); }

/* ---------- legal links ---------- */
.legal-foot { margin-top: 18px; padding: 22px 0 8px; border-top: 1px solid rgba(217, 164, 65, 0.18); text-align: center; display: grid; gap: 10px; }
.legal-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.legal-foot a { color: var(--muted); font-size: 14px; text-decoration: underline; text-decoration-color: rgba(217, 164, 65, 0.35); text-underline-offset: 4px; padding: 6px 2px; }
.legal-foot p { margin: 0; font-size: 13px; color: var(--muted); }
.fine-print { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.fine-print a { color: var(--gold-hi); text-underline-offset: 3px; }

/* ---------- Spicy Bundle ---------- */
.bundle-bar { width: 100%; margin-top: 14px; display: grid; gap: 4px; justify-items: center; padding: 16px 16px 14px; border-radius: var(--r-card); border: 1px solid rgba(217, 164, 65, 0.6); background: radial-gradient(90% 80% at 50% 0%, rgba(232, 196, 106, 0.16), transparent 70%), rgba(217, 164, 65, 0.06); color: var(--cream); text-align: center; }
.bundle-bar .btn { margin-top: 10px; min-height: 48px; font-size: 16px; }
.bundle-bar strong { font-family: var(--f-display); font-size: 18px; color: var(--gold-hi); }
.bundle-bar span { font-size: 13px; color: var(--muted); }

/* Recover my purchases, payment confirmation */
.text-link { display: block; margin: 14px auto 0; background: none; border: 0; padding: 8px 4px; color: var(--gold-hi); font: inherit; font-size: 14px; text-decoration: underline; text-decoration-color: rgba(217, 164, 65, 0.45); text-underline-offset: 4px; cursor: pointer; }
.field { display: grid; gap: 6px; text-align: left; }
.field span { font-size: 14px; color: var(--muted); }
.field input { width: 100%; font: inherit; font-size: 17px; color: var(--cream); background: rgba(250, 243, 232, 0.06); border: 1px solid rgba(217, 164, 65, 0.35); border-radius: 12px; padding: 13px 14px; }
.field input:focus { outline: 2px solid var(--gold-hi); outline-offset: 1px; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.45; }
.form-msg.err { color: var(--blush); }
.spinner { width: 34px; height: 34px; margin: 18px auto 6px; border-radius: 50%; border: 3px solid rgba(217, 164, 65, 0.25); border-top-color: var(--gold-hi); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* Vote log under two-sided cards */
.vote-log { display: grid; gap: 8px; }
.vote-log .hint { margin: 0; }
.vote-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vote-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(250, 243, 232, 0.06); color: var(--cream); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.vote-chip.on { border-color: var(--gold); background: rgba(217, 164, 65, 0.16); }
.vote-chip.remote b { color: var(--gold-hi); }
.vote-chip b { font-size: 16px; }
.tot .side { position: relative; padding: 2px 30px; }
.tot-key { position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--f-ui); font-style: normal; font-size: 12px; font-weight: 700; line-height: 1; opacity: 0.75; }

/* Tonight's awards */
.awards { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.awards li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--plum-2); border: 1px solid var(--line-soft); }
.awards li:first-child { border-color: var(--gold); }
.aw-emoji { font-size: 34px; text-align: center; }
.aw-text { display: grid; gap: 2px; min-width: 0; }
.aw-text small { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 16px; color: var(--neon); }
.aw-text strong { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1.15; overflow-wrap: anywhere; }
.aw-text span { font-size: 14px; color: var(--muted); line-height: 1.35; }

/* Recap ("Wrapped") viewer */
.wrap { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; padding: max(14px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 50% 38%, #4A2444 0%, var(--plum) 48%, var(--charcoal) 100%); color: var(--cream); }
.wrap[hidden] { display: none; }
.wrap-bars { display: flex; gap: 4px; padding-right: 48px; }
.wrap-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(250, 243, 232, 0.22); overflow: hidden; }
.wrap-bars i span { display: block; height: 100%; width: 0; background: var(--cream); }
.wrap-bars i.done span { width: 100%; }
.wrap-bars i.now span { animation: wrapbar 5.5s linear forwards; }
@keyframes wrapbar { to { width: 100%; } }
.wrap-close { position: absolute; top: max(4px, env(safe-area-inset-top)); right: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--cream); font-size: 22px; cursor: pointer; }
.wrap-slide { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px 8px; min-height: 0; overflow-y: auto; cursor: pointer; animation: wrapin 0.45s ease both; }
@keyframes wrapin { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.wrap-emoji { font-size: clamp(88px, 28vw, 128px); line-height: 1.1; }
.wrap-kicker { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 22px; color: var(--neon); }
.wrap-title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(42px, 13vw, 64px); line-height: 1.08; overflow-wrap: anywhere; }
.wrap-title.small { font-size: clamp(28px, 8vw, 38px); line-height: 1.2; }
.wrap-sub { margin: 4px 0 0; max-width: 30ch; font-size: 17px; line-height: 1.45; color: rgba(250, 243, 232, 0.78); }
.wrap-list { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; max-width: 420px; display: grid; gap: 8px; text-align: left; }
.wrap-list li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(58, 34, 56, 0.8); border: 1px solid var(--line-soft); }
.wrap-list li span { grid-row: span 2; font-size: 28px; align-self: center; }
.wrap-list li b { font-family: var(--f-display); font-size: 20px; }
.wrap-list li small { font-family: var(--f-display); font-style: italic; color: var(--neon); font-size: 14px; }
.wrap-actions { display: grid; gap: 8px; max-width: 460px; width: 100%; margin: 0 auto; }
.wrap-btn { margin-bottom: 18px; }
@media (prefers-reduced-motion: reduce) { .wrap-slide { animation: none; } .wrap-bars i.now span { animation-duration: 0.01s; } }

/* Connected table: host */
.room-chip { margin-left: auto; margin-right: 8px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(217, 164, 65, 0.12); color: var(--gold-hi); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.room-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; }
.room-qr #room-qr img, .room-qr #room-qr canvas { border-radius: 12px; border: 8px solid var(--cream); }
.room-code { margin: 0; font-size: 14px; color: var(--muted); }
.room-code b { font-family: var(--f-display); font-size: 22px; letter-spacing: 0.18em; color: var(--cream); }
.room-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.room-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 12px; background: rgba(250, 243, 232, 0.05); border: 1px solid var(--line-soft); font-weight: 600; }
.room-list li b { font-weight: 500; color: var(--muted); }
.room-list li.on b { color: #7ED3B2; }
.room-opt .opt-text strong { color: var(--gold-hi); }
.crown-btn.has-votes { border-color: var(--gold); }

/* Connected table: friend's phone */
.g-top { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.g-top em { font-style: normal; color: var(--gold-hi); }
.g-center { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 0 12px; }
.g-emoji { font-size: 64px; line-height: 1.1; }
.g-sub { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; text-align: center; }
.g-prompt { margin: 6px 0 18px; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 7.5vw, 34px); line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.g-bin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-big { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 42vh; max-height: 360px; padding: 16px 10px; border-radius: 26px; border: 2px solid var(--line); background: var(--plum-2); color: var(--cream); font: inherit; cursor: pointer; transition: transform 0.12s ease; }
.g-big span { font-size: 64px; line-height: 1; }
.g-big b { font-family: var(--f-display); font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.g-big:active { transform: scale(0.97); }
.g-big.on { border-color: var(--neon); background: linear-gradient(160deg, rgba(255, 77, 141, 0.28), var(--plum-2) 70%); box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.18); }
.g-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.g-name { min-height: 64px; padding: 10px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--plum-2); color: var(--cream); font-family: var(--f-display); font-weight: 700; font-size: 21px; cursor: pointer; overflow-wrap: anywhere; }
.g-name.on { border-color: var(--neon); background: rgba(255, 77, 141, 0.2); }
.g-name:disabled { opacity: 0.4; cursor: default; }
.g-done { margin-top: 12px; text-align: center; }
.g-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.g-mine { margin-bottom: 18px; }
.g-mine .g-emoji { font-size: 72px; }
.vote-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin: 0; }
.vote-offer .text-link { margin: 0; }
.vote-offer .text-link + .text-link { color: var(--muted); }
.g-status { margin: 0 0 4px; text-align: center; font-weight: 700; font-size: 15px; color: var(--muted); }
.g-status.live { color: var(--neon); font-size: 18px; animation: pulse 0.9s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.65; } to { opacity: 1; } }
.g-bin.locked .g-big { opacity: 0.45; cursor: default; }
.g-bin.locked .g-big.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .g-status.live { animation: none; } }

/* How are you playing? / host's own vote */
.play-pick { width: 100%; text-align: left; cursor: pointer; align-items: center; }
.pp-emoji { font-size: 34px; width: 44px; text-align: center; flex: none; }
.room-me { display: grid; gap: 6px; margin: 4px 0 10px; }
.room-me .hint { margin: 0; font-weight: 600; color: var(--gold-hi); }
.vote-chip:disabled { opacity: 0.4; }
.host-vote { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 16px; border: 1px dashed var(--gold); background: rgba(217, 164, 65, 0.08); }
.host-vote > span { width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: var(--gold-hi); }
.host-vote .g-name { min-height: 48px; min-width: 72px; font-size: 22px; padding: 6px 14px; }
.host-vote.ml .g-name { font-size: 17px; min-width: 0; }

/* Connected table: results after the 3-2-1 */
.res-q { margin-bottom: 14px; }
.res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.res-col { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 14px 10px; border-radius: 18px; background: rgba(250, 243, 232, 0.05); border: 1px solid var(--line-soft); }
.res-col.win { border-color: var(--gold); background: rgba(217, 164, 65, 0.12); }
.res-e { font-size: 40px; line-height: 1.1; }
.res-n { font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: 1; }
.res-col small { font-size: 13px; color: var(--muted); text-align: center; }
.res-col ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; text-align: center; font-weight: 600; font-size: 16px; }
.res-miss { margin-top: 10px; }
.room-me-title { margin: 0; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--gold-hi); }
.room-me .hint { font-weight: 400; color: var(--muted); }
.g-res { margin-bottom: 4px; }
.g-res .card-body { padding: 20px 16px; }
.g-share { margin: 4px 0 18px; }

/* Award ceremony */
.wrap-quip { margin: 6px 0 0; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--blush); }
.drum { display: inline-block; animation: drum 0.18s ease-in-out infinite alternate; }
@keyframes drum { from { transform: rotate(-8deg) scale(0.96); } to { transform: rotate(8deg) scale(1.06); } }
.pop { display: inline-block; animation: pop 0.6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.g-show { min-height: 52vh; align-content: center; }
.g-show .wrap-title { font-size: clamp(38px, 11vw, 56px); }
.g-show .wrap-title.small { font-size: clamp(28px, 8vw, 36px); line-height: 1.2; }
.g-show.me { background: radial-gradient(ellipse at 50% 30%, rgba(255, 77, 141, 0.28), transparent 70%); border-radius: 28px; }
@media (prefers-reduced-motion: reduce) { .drum, .pop { animation: none; } }
.after-vote { margin: 0; color: var(--gold-hi); font-weight: 600; }

/* Spicy packs: their cards look like the VIP room (neon instead of gold), samples say how many are left */
.card.spicy-card {
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(255, 77, 141, 0.30), transparent 70%) padding-box,
    radial-gradient(70% 45% at 0% 100%, rgba(255, 92, 60, 0.22), transparent 70%) padding-box,
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(255, 77, 141, 0.12) 0 0.6deg, transparent 0.6deg 7deg) padding-box,
    linear-gradient(170deg, #4A1B3C, #2A1028 75%) padding-box,
    linear-gradient(140deg, #FF7AAE, #FF4D8D 45%, #B8245E) border-box;
  outline-color: rgba(255, 77, 141, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 214, 230, 0.12), 0 0 34px -6px rgba(255, 77, 141, 0.45), 0 30px 60px -28px rgba(8, 2, 8, 0.9);
}
.card.spicy-card .tag.spicy { background: rgba(255, 77, 141, 0.22); color: #FFB3CF; font-weight: 700; }
.sample-unlock { position: absolute; right: 16px; bottom: 14px; z-index: 2; border: 1px solid rgba(255, 77, 141, 0.6); background: rgba(23, 19, 26, 0.55); color: #FFB3CF; font: 600 13px var(--f-ui); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.sample-unlock:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.how-list { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; text-align: left; max-width: 34ch; margin-inline: auto; }
.how-list li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--cream); }
.how-list li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--mode); color: var(--mode); font-weight: 700; font-size: 13px; }
.gw-pick { margin: 0 0 2px; text-align: center; font-weight: 600; }
.is-intro .how-list { margin-bottom: 22px; }
.sample-info { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 179, 207, 0.7); background: rgba(23, 19, 26, 0.45); color: #FFB3CF; font: italic 700 14px var(--f-display); cursor: pointer; padding: 0; }
.sample-info:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
/* Secrets Pack: lilac instead of hot pink */
.card.spicy-card[data-deck="secrets"] {
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(162, 116, 242, 0.32), transparent 70%) padding-box,
    radial-gradient(70% 45% at 0% 100%, rgba(201, 184, 240, 0.16), transparent 70%) padding-box,
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(201, 184, 240, 0.11) 0 0.6deg, transparent 0.6deg 7deg) padding-box,
    linear-gradient(170deg, #34204F, #1E1430 75%) padding-box,
    linear-gradient(140deg, #D9C9FF, #A274F2 45%, #5B3A9E) border-box;
  outline-color: rgba(162, 116, 242, 0.5);
  box-shadow: inset 0 1px 0 rgba(230, 220, 255, 0.12), 0 0 34px -6px rgba(162, 116, 242, 0.5), 0 30px 60px -28px rgba(8, 2, 8, 0.9);
}
.card.spicy-card[data-deck="secrets"] .tag.spicy { background: rgba(162, 116, 242, 0.24); color: #DCCBFF; }
.card.spicy-card[data-deck="secrets"] .sample-info { border-color: rgba(220, 203, 255, 0.7); color: #DCCBFF; }
.sample-row { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.tag.spicy.sample { text-transform: none; letter-spacing: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sample-row .sample-info { flex: none; width: 24px; height: 24px; }

/* More ways to play: two smaller cards under the Bachelorette hero */
.way-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.way-card {
  --tint: 255, 77, 141;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-width: 0;
  padding: 16px 14px 14px; text-align: left; color: var(--cream); border-radius: var(--r-card); border: 1px solid transparent;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(var(--tint), 0.30), transparent 65%) padding-box,
    linear-gradient(170deg, #3A2140, #1E1322 80%) padding-box,
    var(--foil) border-box;
  box-shadow: 0 16px 32px -18px rgba(var(--tint), 0.45), 0 2px 4px rgba(10, 4, 10, 0.35);
}
.way-card[data-way="bt"] { --tint: 162, 116, 242; background:
    radial-gradient(110% 70% at 100% 0%, rgba(var(--tint), 0.34), transparent 65%) padding-box,
    linear-gradient(170deg, #34204F, #1E1430 80%) padding-box, var(--foil) border-box; }
.way-card:active { transform: scale(0.985); }
.way-card .medallion { width: 44px; height: 44px; margin-bottom: 4px; }
.way-card .medallion .ico-svg { width: 22px; height: 22px; }
.way-card strong { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1.12; text-wrap: balance; }
.way-card small { font-size: 13px; line-height: 1.42; color: var(--muted); }
.way-tag { position: absolute; top: 14px; right: 12px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: rgb(var(--tint)); background: rgba(var(--tint), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.4); }
.way-card[data-way="bt"] .way-tag { color: #C9B8F0; }
.way-cta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--gold-hi); }
.way-cta::after { content: " \203A"; }
@media (max-width: 340px) { .way-grid { grid-template-columns: 1fr; } }

/* Guess Who: who passed, under the reveal */
.card p.gw-skip { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); text-wrap: balance; }

/* Bride's This or That: fade the side she didn't pick */
.tot .side.dim { opacity: 0.32; }

/* Setup: one tap to turn every mode on (when they came in from a single mode) */
.all-modes { width: 100%; padding: 12px 16px; border-radius: var(--r-btn); border: 1px dashed rgba(217, 164, 65, 0.6); background: rgba(217, 164, 65, 0.08); color: var(--gold-hi); font: 600 15px var(--f-ui); text-align: center; }

/* ---------- the official photo (last card of Drink or Dare) ---------- */
.card[data-group="photo"] {
  --mode: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgba(255, 77, 141, 0.5), 0 0 34px -4px rgba(255, 77, 141, 0.55), 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.card[data-group="photo"]::after {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5;
  animation: photo-flash 0.9s ease-out 0.25s 1;
}
@keyframes photo-flash { 0% { opacity: 0; } 12% { opacity: 0.85; } 100% { opacity: 0; } }
.polaroid {
  margin: 0 auto 12px; width: min(150px, 44%); padding: 7px 7px 10px; background: var(--cream);
  border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7);
  animation: polaroid-in 0.7s cubic-bezier(.2, .9, .3, 1.2) both;
}
.pol-shot {
  aspect-ratio: 1 / 0.82; border-radius: 3px; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 30% 20%, #FF8FB6, var(--neon) 45%, #5B2152 100%);
}
.pol-shot span { font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.pol-cap { margin: 7px 0 0; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 13px; line-height: 1.15; color: #2A1428; text-align: center; }
@keyframes polaroid-in { from { opacity: 0; transform: translateY(18px) rotate(6deg) scale(0.9); } to { opacity: 1; transform: rotate(-4deg); } }
.card-text.photo-text { font-size: clamp(21px, 5.6vw, 26px); }
.ig-pill {
  display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 77, 141, 0.14); border: 1px solid rgba(255, 77, 141, 0.55);
  color: #FFB3CE; font-size: 13px; font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .card[data-group="photo"]::after, .polaroid { animation: none; }
}

/* Secret Mission: pick one of two */
.sm-choice .card { min-height: 0; aspect-ratio: auto; padding-bottom: 8px; }
.sm-choice .card-body { padding: 28px 18px; }
.sm-choice .card-text { font-size: 1.45rem; }
.sm-choice .controls { margin-bottom: 18px; }

/* Bachelorette page: blush cards like the Bachelorette card on the home screen */
.bach-title { background: linear-gradient(135deg, #FBE7E1 0%, var(--blush) 50%, #E3AFA4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bach-hero .price-tag { color: var(--blush); }
.stage {
  background: linear-gradient(135deg, #F6D9D1 0%, var(--blush) 55%, #E3AFA4 100%); color: var(--charcoal); border: 0;
  box-shadow: inset 0 0 0 1px rgba(168, 123, 40, 0.5), var(--shadow);
}
.stage-n { background: #8A2E52; color: #FBE7E1; }
.stage-text small, .stage-text > span, .stage-status { color: rgba(23, 19, 26, 0.72); }
.stage .btn-ghost { color: #8A2E52; border-color: rgba(138, 46, 82, 0.55); background: rgba(255, 255, 255, 0.35); }
.stage .link-btn { color: rgba(23, 19, 26, 0.72); text-decoration-color: rgba(23, 19, 26, 0.3); }

/* Bachelorette page: the whole screen in the blush of the home Bachelorette card */
html.theme-blush { background: linear-gradient(160deg, #FBE7E1 0%, var(--blush) 45%, #E3AFA4 100%); min-height: 100%; }
html.theme-blush body { background: transparent; }
html.theme-blush #screen { color: var(--charcoal); }
html.theme-blush #screen h2, html.theme-blush #screen h3 { color: var(--charcoal); }
html.theme-blush #screen .price-tag { color: #8A2E52; }
html.theme-blush #screen .bach-title { background: linear-gradient(135deg, #A63A63 0%, #8A2E52 55%, #5E1D3B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.theme-blush #screen .lede, html.theme-blush #screen .hint, html.theme-blush #screen .section-label { color: rgba(23, 19, 26, 0.72); }
html.theme-blush #screen .link-btn { color: rgba(23, 19, 26, 0.72); text-decoration-color: rgba(23, 19, 26, 0.3); }
html.theme-blush #screen .input { background: rgba(255, 255, 255, 0.6); color: var(--charcoal); border-color: rgba(138, 46, 82, 0.3); }
html.theme-blush #screen .input::placeholder { color: rgba(23, 19, 26, 0.45); }
html.theme-blush #screen .chip { color: var(--charcoal); border-color: rgba(138, 46, 82, 0.4); }
html.theme-blush #screen .chip.selected { border-color: #8A2E52; background: rgba(138, 46, 82, 0.12); }
html.theme-blush #screen .stage { background: rgba(255, 250, 246, 0.62); box-shadow: inset 0 0 0 1px rgba(168, 123, 40, 0.45), 0 10px 26px -18px rgba(94, 29, 59, 0.45); }
html.theme-blush #screen .price-block .now { background: linear-gradient(135deg, #A63A63 0%, #8A2E52 55%, #5E1D3B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.theme-blush #screen .price-block .note, html.theme-blush #screen .price-block s { color: rgba(23, 19, 26, 0.65); }
html.theme-blush #screen .one-time { color: #8A2E52; }
/* Groom quiz cards in blush (Bachelorette screens) */
html.theme-blush #screen .card {
  color: var(--charcoal);
  background:
    radial-gradient(120% 75% at 50% 0%, rgba(255, 255, 255, 0.55) 0 22%, transparent 70%) padding-box,
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(168, 123, 40, 0.10) 0 0.6deg, transparent 0.6deg 7deg) padding-box,
    linear-gradient(160deg, #FFF4F0 0%, #F6DCD4 100%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: 0 2px 3px rgba(94, 29, 59, 0.15), 0 24px 48px -26px rgba(94, 29, 59, 0.55);
  outline-color: rgba(168, 123, 40, 0.4);
}
html.theme-blush #screen .card .card-hint { color: rgba(23, 19, 26, 0.7); }
html.theme-blush #screen .card .card-kicker { color: #8A2E52; }
html.theme-blush #screen .card .tag { color: #8A2E52; background: rgba(138, 46, 82, 0.1); box-shadow: inset 0 0 0 1px rgba(138, 46, 82, 0.3); }
html.theme-blush #screen .card[data-mode="gq"] .gw-answer { color: #8A2E52; }
html.theme-blush #screen .card::before, html.theme-blush #screen .card::after { color: #8A2E52; text-shadow: none; }
html.theme-blush #screen .game-head small { color: rgba(23, 19, 26, 0.65); }
html.theme-blush #screen .game-head strong { color: var(--charcoal); }
html.theme-blush #screen .progress { background: rgba(138, 46, 82, 0.15); }
html.theme-blush #screen .score-card { color: var(--charcoal); }
html.theme-blush #screen .btn-ghost { background: rgba(255, 255, 255, 0.45); color: #8A2E52; border-color: rgba(138, 46, 82, 0.5); }
html.theme-blush #screen .game-actions .link-btn { color: rgba(23, 19, 26, 0.72); text-decoration-color: rgba(23, 19, 26, 0.3); }
.gq-quip { font-family: var(--f-display); font-style: italic; font-size: 17px; }

/* Bachelorette moment on the players screen: its games, already picked */
.moment-pick small { color: var(--muted); font-size: 14px; }
.moment-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.moment-mode { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(168, 123, 40, 0.45); }
.moment-mode .swatch { width: 10px; height: 10px; }
html.theme-blush #screen .moment-pick small { color: rgba(23, 19, 26, 0.65); }
html.theme-blush #screen .opt-row { background: rgba(255, 255, 255, 0.5); border-color: rgba(138, 46, 82, 0.25); color: var(--charcoal); }
html.theme-blush #screen .opt-row:has(input:checked) { border-color: rgba(168, 123, 40, 0.8); background: rgba(255, 250, 240, 0.8); }
html.theme-blush #screen .opt-row input { border-color: rgba(23, 19, 26, 0.4); }
html.theme-blush #screen .opt-text span { color: rgba(23, 19, 26, 0.65); }
html.theme-blush #screen .sticky-cta { background: linear-gradient(to top, #EBC0B5 calc(100% - 26px), transparent); }
html.theme-blush #screen .all-modes { color: #8A2E52; }

/* Home: Bachelorette button with an on/off switch */
.bach-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.bach-row:not(.on) .btn.bach-start { min-height: 44px; padding: 8px 14px; font-size: 14px; color: var(--muted); border-color: var(--line-soft); background: transparent; box-shadow: none; }
.switch { position: relative; width: 52px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: rgba(250, 243, 232, 0.12); padding: 0; cursor: pointer; flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); transition: transform 0.2s ease; }
.switch.on { background: var(--gold-grad); border-color: var(--gold); }
.switch.on i { transform: translateX(20px); background: var(--charcoal); }
@media (prefers-reduced-motion: reduce) { .switch i { transition: none; } }
.opt-text .pack-desc { color: var(--cream); opacity: 0.85; font-size: 14px; line-height: 1.35; margin: 2px 0; }
html.theme-blush #screen .opt-text .pack-desc { color: var(--charcoal); }
/* room under the last option so the sticky button never hides it */
.screen { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
/* Game cards a bit shorter so card + buttons fit on one screen */
.card:not(.is-intro):not(.explain) { min-height: clamp(320px, 51vh, 560px); }
.card.is-intro { min-height: clamp(320px, 50vh, 560px); }
.card.is-intro .intro-medal { width: 100px; height: 100px; }
.card.is-intro .intro-medal span { font-size: 48px; }
.play-pick.featured { border-color: var(--gold); background: linear-gradient(135deg, rgba(217, 164, 65, 0.18), var(--plum-2) 70%); box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.35), 0 12px 30px -16px rgba(217, 164, 65, 0.6); }
.best-badge { display: inline-block; align-self: flex-start; justify-self: start; width: fit-content; margin-bottom: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #D9C9D9 !important; background: rgba(188, 169, 188, 0.12); border: 1px solid rgba(188, 169, 188, 0.45); }   /* 24 oct: discreet mauve, so it doesn't read as a paid badge */
.tot .side.picked { color: var(--cream); padding-top: 8px; padding-bottom: 12px; border-radius: 18px; background: radial-gradient(80% 90% at 50% 50%, rgba(217, 164, 65, 0.22), transparent 75%); box-shadow: inset 0 0 0 1.5px rgba(217, 164, 65, 0.7); animation: pickpop 0.35s ease both; }
.pick-badge { display: table; margin: 0 auto 6px; padding: 3px 12px; border-radius: 999px; font-family: var(--f-ui); font-size: 13px; font-weight: 700; color: var(--charcoal); background: var(--gold-grad); }
@keyframes pickpop { from { transform: scale(0.96); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tot .side.picked { animation: none; } }
/* Spicy cards: easier to tell apart at a glance */
.card.spicy-card:not([data-deck="secrets"]) .card-kicker { color: #FF8DB8; }
.card.spicy-card:not([data-deck="secrets"]) { box-shadow: inset 0 1px 0 rgba(255, 214, 230, 0.14), 0 0 46px -4px rgba(255, 77, 141, 0.6), 0 30px 60px -28px rgba(8, 2, 8, 0.9); }
.card.spicy-card:not([data-deck="secrets"]) .card-text { text-shadow: 0 0 22px rgba(255, 77, 141, 0.35); }
.g-cd { display: grid; place-items: center; gap: 6px; margin: 24px 0; }
.g-cd b { font-family: var(--f-display); font-size: 96px; line-height: 1; color: var(--gold); }
.g-cd strong { font-family: var(--f-display); font-size: 34px; color: var(--neon); }

/* Bachelorette unlock sheet in blush, like the rest of the Bach screens */
.sheet.sheet-blush { background: linear-gradient(180deg, #FBE7E1 0%, #EFC9C0 60%, #E3AFA4 100%); color: var(--charcoal); box-shadow: 0 -20px 50px rgba(94, 29, 59, 0.35); }
.sheet.sheet-blush h3, .sheet.sheet-blush strong { color: var(--charcoal); }
.sheet.sheet-blush p, .sheet.sheet-blush .fine-print, .sheet.sheet-blush .hint { color: rgba(23, 19, 26, 0.72); }
.sheet.sheet-blush .price-tag, .sheet.sheet-blush .section-label { color: #8A2E52; }
.sheet.sheet-blush .taste div { background: rgba(255, 250, 246, 0.7); border: 1px solid rgba(168, 123, 40, 0.45); color: var(--charcoal); }
.sheet.sheet-blush .taste small { color: #8A2E52; }
.sheet.sheet-blush .btn-ghost { background: rgba(255, 255, 255, 0.45); color: #8A2E52; border-color: rgba(138, 46, 82, 0.5); }
.sheet.sheet-blush .link-btn, .sheet.sheet-blush a { color: #8A2E52; }

/* =====================================================================
   2026-10 REDESIGN — brand guide: Ciruela, Marfil, Champagne, Frambuesa, Malva.
   Bodoni Moda (display) + Manrope (UI). Cards are physical ivory cards:
   edge thickness, gloss and a real shadow. Card backs stay plum.
   This whole block can be removed to go back to the previous look.
   ===================================================================== */
:root {
  --plum: #30182F;
  --charcoal: #1C0D1B;
  --plum-2: #3E2140;
  --plum-3: #4D2B4C;
  --ivory: #FFF8EE;
  --ivory-2: #F3E7D6;
  --ink: #30182F;
  --gold: #B38A4D;
  --gold-hi: #E2C38A;
  --gold-lo: #8A6631;
  --gold-grad: linear-gradient(135deg, #F6DFA8 0%, #C99B55 35%, #FBE9BE 62%, #9C7238 100%);
  --foil-strong: linear-gradient(150deg, #F6DFA8 0%, #C99B55 30%, #8A6631 55%, #E2C38A 80%, #F6DFA8 100%);
  --neon: #E93270;
  --mauve: #BCA9BC;
  --cream: #FFF8EE;
  --blush: #E2C9D6;
  --muted: rgba(255, 248, 238, 0.68);
  --line: rgba(179, 138, 77, 0.38);
  --f-display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --f-ui: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --surf: linear-gradient(165deg, #4A2748 0%, #3A1E3A 45%, #2E172D 100%);
  --edge: 0 1px 0 #E8D9C2, 0 2px 0 #D9C6AA, 0 3px 0 #C9B391, 0 4px 0 #B9A07D;
  --drop: 0 22px 40px -14px rgba(10, 2, 10, 0.75), 0 8px 14px -6px rgba(10, 2, 10, 0.45);
}
body {
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(226, 195, 138, 0.12), transparent 70%),
    radial-gradient(80% 50% at 50% 45%, #43213F 0%, transparent 75%),
    radial-gradient(120% 80% at 50% 115%, var(--charcoal) 10%, transparent 70%),
    var(--plum);
  background-attachment: fixed;
}
.topbar { background: rgba(40, 18, 39, 0.94); border-bottom: 1px solid rgba(179, 138, 77, 0.16); }
.wordmark-sm { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 22px; letter-spacing: -0.01em; color: var(--ivory); text-transform: none; }
.lang-btn { color: var(--gold-hi); border-color: rgba(179, 138, 77, 0.5); }

/* headings in Bodoni */
.hero-title, .h2, .section-label, .explain-title, .recap h2, .wrap-title, .q-text, .card-text, .tot .side { font-weight: 500; letter-spacing: -0.01em; }
.section-label { font-style: italic; font-size: 26px; }
.tagline { font-family: var(--f-ui); font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-hi); }

/* home hero: the new lockup, floating with a soft glow */
.home-hero { padding: 18px 0 10px; gap: 14px; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(78vw, 340px); height: auto; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45)); animation: gnFloat 6s ease-in-out infinite; }
@keyframes gnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* buttons: frambuesa with a real bevel and a moving shine */
.btn { font-family: var(--f-ui); font-weight: 700; letter-spacing: 0.01em; }
.btn-primary {
  position: relative; overflow: hidden; color: #FFFFFF;
  background: linear-gradient(180deg, #F2588D 0%, #E93270 55%, #C81E58 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 0 rgba(120, 10, 50, 0.3), 0 5px 0 #9C1546, 0 16px 30px -10px rgba(233, 50, 112, 0.6);
  margin-bottom: 5px;
}
.btn-primary:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 0 #9C1546, 0 8px 18px -10px rgba(233, 50, 112, 0.6); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-20deg); animation: gnShine 4.5s ease-in-out 1.2s infinite; pointer-events: none;
}
@keyframes gnShine { 0% { transform: translateX(-130%) skewX(-20deg); } 45%, 100% { transform: translateX(380%) skewX(-20deg); } }
.btn-gold { color: var(--ink); background: linear-gradient(180deg, #F3DCA6 0%, #C99B55 55%, #A57A3C 100%); box-shadow: inset 0 1px 0 rgba(255, 248, 225, 0.6), 0 4px 0 #7E5A28, 0 14px 24px -12px rgba(179, 138, 77, 0.6); margin-bottom: 4px; }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 #7E5A28; }
.btn-ghost { color: var(--gold-hi); }

/* ---- ivory surfaces: everything a player reads is printed on card stock ---- */
.mini-card, .card.ivory, .feature-hero {
  --cream: #30182F;
  --muted: rgba(48, 24, 47, 0.66);
  --blush: #8A6631;
  --line-soft: rgba(48, 24, 47, 0.12);
  --line: rgba(179, 138, 77, 0.45);
  --mode-ink: color-mix(in srgb, var(--mode) 62%, #30182F);
}
/* home mode cards */
.mini-card {
  color: var(--ink); border: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(90% 60% at 50% 34%, color-mix(in srgb, var(--mode) 22%, transparent) 0%, transparent 70%),
    linear-gradient(160deg, var(--ivory) 0%, var(--ivory-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(179, 138, 77, 0.55), inset 0 0 0 6px var(--ivory), inset 0 0 0 7px rgba(179, 138, 77, 0.3), var(--edge), var(--drop);
  margin-bottom: 6px;
}
.mini-card:nth-child(odd) { transform: rotate(-1.2deg); }
.mini-card:nth-child(even) { transform: rotate(1deg) translateY(4px); }
.mini-card:active { transform: translateY(-4px) rotate(0deg); }
.mini-card::before, .mini-card::after, .mini-card .big-suit { color: var(--mode-ink); text-shadow: none; }
.mini-name strong { font-weight: 600; color: var(--ink); }

/* the question card */
.card.ivory {
  color: var(--ink); border: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 72%, rgba(255, 240, 215, 0.35) 100%),
    radial-gradient(70% 40% at 100% 0%, color-mix(in srgb, var(--mode) 16%, transparent), transparent 70%),
    repeating-conic-gradient(from 180deg at 50% -4%, rgba(179, 138, 77, 0.07) 0 0.6deg, transparent 0.6deg 7deg),
    linear-gradient(165deg, var(--ivory) 0%, var(--ivory-2) 70%, #E9D9C3 100%);
  box-shadow:
    inset 0 4px 0 var(--mode-ink),
    inset 0 0 0 1px rgba(179, 138, 77, 0.6),
    0 1px 0 #E8D9C2, 0 2px 0 #D9C6AA, 0 3px 0 #CDB796, 0 4px 0 #C1A983, 0 5px 0 #B49C77,
    0 30px 60px -22px rgba(8, 2, 8, 0.9), 0 12px 20px -8px rgba(8, 2, 8, 0.5);
  outline: 1px solid rgba(179, 138, 77, 0.45); outline-offset: -11px;
  margin-bottom: 6px;
}
.card.ivory::before,
.card.ivory::after { color: var(--mode-ink); text-shadow: none; }
.card .tag { color: var(--mode-ink, var(--mode)); }
.card .tag.spicy { color: #C81E58; background: rgba(233, 50, 112, 0.12); }
.card-text { font-weight: 500; }
.card-kicker { font-style: italic; }
.tot .side.b { color: #C81E58; font-style: italic; }
.tot .or { color: var(--gold-lo); }
.card .turn { background: var(--ink); color: var(--ivory); }
.card .vote-legend span { background: rgba(48, 24, 47, 0.06); }
.card .rules li { color: rgba(48, 24, 47, 0.86); }
.gw-answer { color: #C81E58; }
.card.enter { animation: gnDeal 0.55s cubic-bezier(.2, .8, .2, 1); }
@keyframes gnDeal { from { transform: translateY(30px) rotate(-3deg) scale(0.96); opacity: 0; } 60% { transform: translateY(-4px) rotate(0.4deg); opacity: 1; } to { transform: none; } }

/* card backs: plum lattice with champagne foil */
.card[data-mode="paywall"], .card[data-mode="sm-gate"], .card[data-mode="guess-who"][data-gw="gate"], .card[data-mode="sm-private"], .card[data-mode="sm-out"] {
  box-shadow: inset 0 0 0 1px rgba(179, 138, 77, 0.6), 0 1px 0 #2A1229, 0 3px 0 #1E0C1D, 0 30px 60px -22px rgba(0, 0, 0, 0.9);
}

/* bachelorette hero card stays blush, now on card stock */
.feature-hero { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 0 #E3B9AE, 0 3px 0 #CF9E92, var(--drop); margin-bottom: 4px; }
.feature-hero strong { font-weight: 600; font-style: italic; font-size: 28px; }

/* lists and options: plum velvet with champagne hairlines */
.list-group, .opt-row, .answer, .crown-btn, .board li, .stage, .promo, .emoji-btn { box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.08), 0 14px 26px -16px rgba(0, 0, 0, 0.8); }
.list-text strong, .opt-text strong, .stage-text strong, .board .who strong { font-weight: 600; }
.ring-ico, .medallion { color: var(--gold-hi); }
.answer.picked, .answer:active { color: #FFFFFF; background: linear-gradient(180deg, #F2588D, #E93270 55%, #C81E58) padding-box, linear-gradient(#E93270, #E93270) border-box; }
.chip.selected, .emoji-btn.selected { border-color: var(--neon); }
.score-card .verdict, .wrap-kicker { color: #F2588D; }

/* Bodoni has a small x-height: everything read across the table goes bigger and a touch heavier */
.card-text, .tot .side { font-size: clamp(36px, 10.2vw, 48px); font-weight: 600; line-height: 1.12; }
.card-kicker { font-size: clamp(24px, 6.8vw, 30px); }
.q-text { font-size: clamp(34px, 9.6vw, 44px); font-weight: 600; line-height: 1.15; }
.gw-q { font-size: clamp(30px, 8.6vw, 38px); }
.gw-answer { font-size: clamp(42px, 12.5vw, 60px); }
.explain-title { font-size: clamp(30px, 8.6vw, 38px); font-weight: 600; }
.tot .or { font-size: 24px; }

/* ---- brand-guide card: clean ivory, rounded gold inner frame, sparkles, copas, italic question ---- */
.card-stack { position: relative; display: flex; flex-direction: column; flex: none; margin: 4px 4px 10px; }
.card-stack > .card { flex: 1; }
.card-back {
  position: absolute; inset: 18px 10px 4px -6px; border-radius: 24px; transform: rotate(-5deg);
  background:
    url(glasses.png) center 42% / 120px auto no-repeat,
    radial-gradient(80% 60% at 40% 30%, #4E2A4B 0%, #30182F 70%);
  box-shadow: inset 0 0 0 1px rgba(179, 138, 77, 0.35), 0 24px 40px -16px rgba(0, 0, 0, 0.85);
}
.card-back::before, .card-back::after { content: "\2726\FE0E"; position: absolute; color: #C99B55; font-size: 26px; line-height: 1; }
.card-back::before { top: 26px; left: 22px; }
.card-back::after { bottom: 34px; left: 40px; font-size: 32px; }
.card.ivory {
  --suit: "\2726\FE0E";
  border-radius: 24px; padding: 34px 30px 38px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 74%, rgba(255, 240, 215, 0.35) 100%),
    linear-gradient(170deg, #FFFBF4 0%, var(--ivory) 45%, #F4E9D9 100%);
  box-shadow:
    inset 0 0 0 13px #FEF8EE,
    inset 0 0 0 14.5px #C99B55,
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984,
    0 30px 60px -22px rgba(8, 2, 8, 0.9), 0 12px 20px -8px rgba(8, 2, 8, 0.45);
  outline: 0;
}
.card.ivory::before, .card.ivory::after { color: #C99B55; font-size: 28px; text-shadow: none; }
.card.ivory::before { top: 30px; right: 30px; }
.card.ivory::after { bottom: 30px; left: 30px; transform: none; }
.card.ivory .card-band { justify-content: center; padding-right: 0; }
.card.ivory .tag { background: none; box-shadow: none; padding: 0; font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.3em; color: var(--gold-lo); }
.card.ivory .tag.spicy { color: #C81E58; }
.card.ivory:not(.is-intro) .card-body::before {
  content: ""; display: block; width: 74px; height: 62px; margin-bottom: 2px;
  background: url(glasses.png) center / contain no-repeat;
}
.card.ivory .card-text, .card.ivory .tot .side { font-style: italic; font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
.card.ivory .card-kicker { font-family: var(--f-ui); font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-lo); }
.card.ivory .tot .side.b { color: #C81E58; }

/* round intro medallion: a gold-rimmed ivory coin on the card */
.card .intro-medal {
  border: 1.5px solid #C99B55;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, var(--ivory) 45%, #EADCC6 100%);
  box-shadow: 0 0 0 6px rgba(255, 248, 238, 0.9), 0 0 0 7px rgba(179, 138, 77, 0.45), 0 10px 22px -8px rgba(48, 24, 47, 0.35);
}
.card .intro-medal span { color: var(--mode-ink); text-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-logo img, .btn-primary::after, .card.enter { animation: none !important; }
}

/* ---- round 3: match the app mockup ---- */
body { background: radial-gradient(90% 50% at 50% 0%, rgba(226, 195, 138, 0.06), transparent 70%), radial-gradient(120% 80% at 50% 115%, #1E0D1D 10%, transparent 70%), #2B1429; background-attachment: fixed; }
.topbar { background: rgba(43, 20, 41, 0.96); border-bottom: 0; }
.wordmark-sm { font-family: var(--f-display); font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: 0.22em; color: var(--ivory); }
.wm-star { color: #C99B55; font-size: 12px; letter-spacing: 0; }
.lang-btn { border: 0; background: none; padding: 6px 2px; color: var(--ivory); font-size: 13px; letter-spacing: 0.12em; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(201, 155, 85, 0.7); }

/* home hero: logo, tagline, a stack of real cards */
.hero-logo img { width: min(62vw, 250px); animation: none; }
.tagline { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 24px; letter-spacing: -0.01em; text-transform: none; color: var(--ivory); }
.hero-deck { position: relative; width: min(72vw, 290px); aspect-ratio: 5 / 6.2; margin: 18px auto 8px; }
.hero-deck i { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(165deg, #F7EEDF, #E9DCC7); box-shadow: inset 0 0 0 9px #F3E9DA, inset 0 0 0 10px rgba(179, 138, 77, 0.45), 0 18px 34px -16px rgba(0, 0, 0, 0.8); }
.hero-deck i:nth-child(1) { transform: rotate(-9deg) translate(-14px, 6px); }
.hero-deck i:nth-child(2) { transform: rotate(-4deg) translate(-6px, 2px); }
.hero-card {
  position: absolute; inset: 0; border-radius: 22px; transform: rotate(5deg); animation: gnHeroFloat 6s ease-in-out infinite;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px 26px; text-align: center; color: var(--ink);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 34%), linear-gradient(170deg, #FFFBF4 0%, var(--ivory) 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 11px #FEF8EE, inset 0 0 0 12.5px #C99B55, 0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 26px 50px -18px rgba(0, 0, 0, 0.85);
}
.hero-card::before, .hero-card::after { content: "\2726\FE0E"; position: absolute; color: #C99B55; font-size: 20px; line-height: 1; }
.hero-card::before { top: 24px; right: 26px; }
.hero-card::after { bottom: 24px; left: 26px; }
.hc-glasses { width: 84px; height: 70px; background: url(glasses.png) center / contain no-repeat; }
.hero-card small { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); }
.hero-card strong { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(26px, 7.4vw, 32px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
@keyframes gnHeroFloat { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
.hero-line { margin: -6px 0 0; text-align: center; font-size: 15px; letter-spacing: 0.03em; color: var(--ivory); }

/* game: the card sits on a stack of ivory cards, the mode as a gold pill */
.card-back { inset: 10px 6px 0 6px; transform: rotate(-5deg); background: linear-gradient(165deg, #F7EEDF, #E6D7C0); box-shadow: inset 0 0 0 9px #F2E7D6, inset 0 0 0 10px rgba(179, 138, 77, 0.4), 0 18px 34px -16px rgba(0, 0, 0, 0.8); }
.card-back::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(165deg, #F4EAD9, #E2D2BA); box-shadow: inset 0 0 0 9px #EFE3D0, inset 0 0 0 10px rgba(179, 138, 77, 0.35); transform: rotate(6deg) translate(10px, 4px); z-index: -1; }
.card-back::after { content: none; }
.card.ivory::before { top: 34px; right: auto; left: 50%; transform: translateX(-50%); }
.card.ivory::after { bottom: 32px; left: 50%; transform: translateX(-50%); }
.card.ivory .card-band { justify-content: center; }
.card.ivory .tag { border: 1px solid #C99B55; border-radius: 999px; padding: 6px 16px; }
.card.ivory .card-band:has(+ .card-body .card-kicker) { display: none; }
.card.ivory:not(.is-intro) .card-body::before { width: 64px; height: 54px; }
.card.ivory .card-kicker { color: var(--ink); font-size: 12px; font-weight: 700; }
/* header: no box of its own — it shows the page behind it, and blurs whatever scrolls under it */
.topbar { background: transparent; -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.lang-btn:focus { outline: none; }
.lang-btn:focus-visible { outline: 1px solid #C99B55; outline-offset: 4px; border-radius: 6px; }
/* no ring at all when the language link is tapped on a phone */
.lang-btn { -webkit-tap-highlight-color: transparent; border-radius: 0; }
@media (hover: none) { .lang-btn:focus, .lang-btn:focus-visible, .lang-btn:active { outline: none; box-shadow: none; } }
/* home hero, compact: the card is a teaser, the button stays above the fold */
.home-hero { padding: 6px 0 0; gap: 8px; }
.hero-logo img { width: min(50vw, 200px); }
.tagline { font-size: 20px; }
.hero-deck { width: min(48vw, 190px); margin: 10px auto 10px; }
.hero-card { padding: 20px 16px; gap: 6px; border-radius: 18px; box-shadow: inset 0 0 0 8px #FEF8EE, inset 0 0 0 9.5px #C99B55, 0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 22px 40px -16px rgba(0, 0, 0, 0.85); }
.hero-deck i { border-radius: 18px; }
.hero-card::before, .hero-card::after { font-size: 14px; }
.hero-card::before { top: 16px; right: 18px; }
.hero-card::after { bottom: 16px; left: 18px; }
.hc-glasses { width: 52px; height: 44px; }
.hero-card small { font-size: 9px; letter-spacing: 0.26em; }
.hero-card strong { font-size: clamp(19px, 5.4vw, 22px); }
/* ---- 2026-10-22: mockup type and header ---- */
/* header: GIRLIES NIGHT + gold copas + a short gold rule */
.wordmark-sm { display: inline-flex; align-items: center; gap: 10px; }
.wm-glasses { width: 28px; height: auto; margin-top: -4px; }
.wm-rule { display: block; width: 30px; height: 1px; background: rgba(201, 155, 85, 0.75); }
/* questions: upright, heavier and tight — the italic stays only for short accents */
.card.ivory .card-text, .card.ivory .tot .side, .hero-card strong {
  font-style: normal; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04;
}
.card.ivory .tot .side.b { font-style: normal; }

/* ---- colored cards with depth, in the new brand (Aranza likes them; 2026-10-22) ---- */
/* Secret Mission = frambuesa glow, Bestie Test = malva glow; champagne foil edge, raised like a button */
.way-card {
  --tint: 233, 50, 112;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(var(--tint), 0.34), transparent 65%) padding-box,
    linear-gradient(170deg, #45213F, #24101F 82%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.14), 0 3px 0 #1A0A19, 0 18px 34px -16px rgba(var(--tint), 0.5), 0 8px 14px -8px rgba(0, 0, 0, 0.6);
  margin-bottom: 3px;
}
.way-card[data-way="bt"] {
  --tint: 188, 169, 188;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(var(--tint), 0.36), transparent 65%) padding-box,
    linear-gradient(170deg, #3D2442, #211122 82%) padding-box,
    var(--foil-strong) border-box;
}
.way-card:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.14), 0 1px 0 #1A0A19, 0 10px 20px -14px rgba(var(--tint), 0.5); }
.way-card strong { font-weight: 500; font-size: 22px; letter-spacing: -0.015em; }
.way-tag { font-family: var(--f-ui); font-weight: 600; letter-spacing: 0.02em; }
.way-card[data-way="bt"] .way-tag { color: #E2D2E2; }
.way-cta { font-family: var(--f-ui); font-weight: 700; color: var(--gold-hi); }
.medallion {
  color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #4A2547, #1E0D1D) padding-box, var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.18), 0 6px 14px -6px rgba(0, 0, 0, 0.7);
}

/* Bachelorette: blush + ring stay; type in the new brand */
.feature-hero strong { font-weight: 600; font-style: italic; letter-spacing: -0.02em; }
.feature-hero small { font-family: var(--f-ui); }
.feature-hero .medallion.light { color: #8A6631; background: radial-gradient(circle at 35% 30%, #FFFFFF, #F3D7CE) padding-box, var(--foil-strong) border-box; }

/* paid packs: keep the plum lattice card back, champagne foil, and a raised frambuesa buy button */
.pack {
  background:
    radial-gradient(80% 50% at 50% 28%, rgba(28, 13, 27, 0.95) 30%, transparent 75%) padding-box,
    repeating-linear-gradient(45deg, rgba(201, 155, 85, 0.16) 0 1px, transparent 1px 16px) padding-box,
    repeating-linear-gradient(-45deg, rgba(201, 155, 85, 0.16) 0 1px, transparent 1px 16px) padding-box,
    linear-gradient(#2A1328, #1A0B19) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 0 0 5px #1C0D1B, inset 0 0 0 6px rgba(201, 155, 85, 0.35), 0 3px 0 #120611, 0 20px 36px -18px rgba(0, 0, 0, 0.85);
}
.pack strong { font-weight: 500; font-size: 21px; }
.pack .btn-ghost {
  color: #FFFFFF; border: 0;
  background: linear-gradient(180deg, #F2588D 0%, #E93270 55%, #C81E58 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 0 #9C1546, 0 12px 22px -10px rgba(233, 50, 112, 0.6);
  margin-bottom: 4px;
}
.pack .btn-ghost:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 0 #9C1546; }
.bundle-bar strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; }

/* =====================================================================
   HOME v2 (2026-10-22) — Aranza's home mockup, with depth and color
   ===================================================================== */
.gold-rule { display: flex; align-items: center; gap: 12px; color: #C99B55; font-size: 13px; margin: 6px 0 0; }
.gold-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 155, 85, 0.6), transparent); }
.hero-cta { margin-top: 4px; }
.hero-line { margin-top: 2px; }

/* numbered steps */
.steps-num { list-style: none; margin: 0; padding: 4px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps-num li { display: flex; align-items: center; gap: 9px; padding: 0 8px; font-size: 13px; line-height: 1.3; color: var(--ivory); }
.steps-num li + li { border-left: 1px solid rgba(201, 155, 85, 0.35); }
.steps-num b {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #4A2547, #1E0D1D) padding-box, var(--foil-strong) border-box; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.18), 0 4px 10px -4px rgba(0, 0, 0, 0.7);
}

/* section titles: upright Bodoni, like the mockup */
.section-label { font-style: normal; font-weight: 500; font-size: 30px; letter-spacing: -0.02em; }
.section-head { display: grid; gap: 0; }
.section-head small { font-family: var(--f-ui); font-size: 15px; letter-spacing: 0.06em; color: var(--muted); }

/* raised plum surface shared by the menu tiles, plan rows and the combo bar */
.mode-tile2, .plan-row, .combo-bar {
  --tint: 201, 155, 85;
  position: relative; border: 1px solid transparent; color: var(--ivory); text-align: left;
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(var(--tint), 0.22), transparent 60%) padding-box,
    linear-gradient(170deg, #45213F, #24101F 85%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.14), 0 3px 0 #170816, 0 16px 30px -16px rgba(0, 0, 0, 0.75);
  margin-bottom: 3px; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.mode-tile2:active, .plan-row:active, .bach-bar:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.14), 0 1px 0 #170816; }

/* menú de hoy */
.mode-rail { grid-auto-columns: 128px; }
.mode-tile2 {
  display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 6px; aspect-ratio: 1 / 1.05;
  padding: 16px 10px 12px; border-radius: 16px; text-align: center; scroll-snap-align: start;
  --tint: 188, 169, 188;
}
.mt-suit { align-self: center; font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 18px color-mix(in srgb, var(--mode) 60%, transparent); font-variant-emoji: text; }
.mode-tile2 strong { font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.12; text-wrap: balance; }
.mt-go, .plan-go { color: var(--gold-hi); line-height: 0; }
.mt-go .ico-svg, .plan-go .ico-svg { width: 18px; height: 18px; }

/* para cada plan */
.plan-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-hi); }
.plan-ico .ico-svg { width: 34px; height: 34px; stroke-width: 1.2; }
.plan-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.plan-text strong { font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.15; }
.plan-text small { font-family: var(--f-ui); font-size: 13px; color: var(--muted); line-height: 1.35; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.plan-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 12px; border-radius: 16px; }
.plan-row[data-way="sm"] { --tint: 233, 50, 112; }
.plan-row[data-way="bt"] { --tint: 188, 169, 188; }
.plan-row .plan-ico { width: 36px; height: 40px; }
.plan-row .plan-ico .ico-svg { width: 30px; height: 30px; }
.plan-row .plan-text strong { font-size: 17px; }
/* Bachelorette keeps blush + ring, as a wide raised row */
.bach-bar {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 16px; border-radius: 18px; text-align: left; color: var(--ink);
  border: 1px solid transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 55%) padding-box,
    linear-gradient(160deg, #F8E3DB 0%, #EFC9C0 50%, #DDA597 100%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 0 #B98579, 0 18px 34px -16px rgba(239, 160, 150, 0.45);
  margin-bottom: 3px; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.bach-bar .plan-ico { color: #8A6631; border-right: 1px solid rgba(138, 102, 49, 0.35); padding-right: 12px; width: 58px; }
.bach-bar .plan-text strong { font-size: 22px; font-style: italic; font-weight: 600; letter-spacing: -0.02em; }
.bach-bar .plan-text small { color: rgba(48, 24, 47, 0.72); font-size: 14px; }
.bb-side { display: grid; justify-items: end; gap: 10px; align-self: stretch; align-content: space-between; }
.bb-price { font-family: var(--f-ui); font-size: 12px; font-weight: 700; color: #8A2E52; white-space: nowrap; }
.bach-bar .plan-go { color: var(--ink); }

/* packs: ivory cards with a fine gold frame and a raised frambuesa button */
.pack-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pack-card {
  display: grid; justify-items: center; gap: 4px; padding: 22px 14px 16px; text-align: center; color: var(--ink); border-radius: 18px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(170deg, #FFFBF4 0%, var(--ivory) 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 8px #FEF8EE, inset 0 0 0 9.5px #C99B55,
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984, 0 22px 40px -18px rgba(0, 0, 0, 0.85);
  margin-bottom: 4px;
}
.pc-ico { color: #B38A4D; line-height: 0; margin-bottom: 4px; }
.pc-ico .ico-svg { width: 44px; height: 44px; stroke-width: 1.1; }
.pack-card strong { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.pack-card small { font-family: var(--f-ui); font-size: 13px; line-height: 1.35; color: rgba(48, 24, 47, 0.75); }
.pc-rule { width: 40px; height: 1px; background: #C99B55; margin: 6px 0 2px; }
.pc-count { font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pc-buy { width: 100%; min-height: 46px; padding: 8px 10px; font-size: 15px; border-radius: 999px; }
.pc-done { font-family: var(--f-ui); font-size: 14px; font-weight: 700; color: #8A6631; padding: 10px 0; }

/* combo, one line */
.combo-bar { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 14px; border-radius: 18px; --tint: 233, 50, 112; }
.combo-bar .plan-ico .ico-svg { width: 36px; height: 36px; }
.combo-bar .plan-text strong { font-size: 21px; }
.combo-buy { flex: none; min-height: 46px; padding: 8px 18px; font-size: 15px; border-radius: 999px; }
.combo-bar + .fine-print { margin-top: 8px; }
.plan-row { gap: 6px; padding: 14px 10px 14px 10px; }
.plan-row .plan-ico { width: 30px; height: 34px; }
.plan-row .plan-ico .ico-svg { width: 26px; height: 26px; }
.plan-row .plan-text strong { font-size: 16px; white-space: nowrap; }
.plan-row .plan-go .ico-svg { width: 16px; height: 16px; }
@media (max-width: 370px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.plan-row .plan-text strong { white-space: normal; font-size: 16px; }
/* the question card fits with its buttons on one screen, even with the browser bars showing */
.card.ivory { min-height: clamp(270px, calc(100dvh - 430px), 520px); padding: 26px 24px 28px; gap: 10px; }
.card.ivory:not(.is-intro) .card-body::before { width: 54px; height: 44px; }
.card.ivory::before { top: 24px; font-size: 22px; }
.card.ivory::after { bottom: 22px; font-size: 22px; }
.card-stack { margin-bottom: 4px; }
.game-head + .progress { margin-bottom: -6px; }
/* menu tile = plum raised button holding a small ivory playing card */
.mode-tile2 { grid-template-rows: auto 1fr auto; gap: 8px; padding: 14px 10px 10px; aspect-ratio: auto; min-height: 168px; }
.mt-card {
  justify-self: center; width: 58px; height: 76px; display: grid; place-items: center; border-radius: 8px; transform: rotate(-5deg);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 40%), linear-gradient(170deg, #FFFBF4, #F2E6D4);
  box-shadow: inset 0 0 0 4px #FEF8EE, inset 0 0 0 5px #C99B55, 0 1px 0 #DCCAAE, 0 2px 0 #C2A984, 0 10px 16px -6px rgba(0, 0, 0, 0.7);
}
.mode-tile2:nth-child(even) .mt-card { transform: rotate(4deg); }
.mt-card .mt-suit { color: color-mix(in srgb, var(--mode) 70%, #30182F); text-shadow: none; font-size: 28px; }
.bach-bar { margin-top: 10px; }
/* menu tiles: compact, card + name + one-line hint */
.mode-tile2 { min-height: 0; grid-template-rows: auto auto auto auto; align-content: start; gap: 6px; padding: 14px 10px 12px; }
.mt-sub { font-family: var(--f-ui); font-size: 12px; color: var(--muted); line-height: 1.3; }
/* Secret Mission + Bestie Test: one per row, explained */
.plan-grid { grid-template-columns: 1fr; gap: 10px; }
.plan-row { align-items: center; gap: 12px; padding: 16px 14px; }
.plan-row .plan-ico { width: 40px; height: 44px; }
.plan-row .plan-ico .ico-svg { width: 32px; height: 32px; }
.plan-row .plan-text { gap: 4px; }
.plan-row .plan-text strong { font-size: 20px; }
.plan-row .plan-text strong em { font-family: var(--f-ui); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; vertical-align: 3px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; color: rgb(var(--tint)); box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.5); white-space: nowrap; }
.plan-row[data-way="bt"] .plan-text strong em { color: #E2D2E2; }
.plan-row .plan-text small { font-size: 14px; line-height: 1.4; }
.plan-row .plan-go .ico-svg { width: 18px; height: 18px; }
.mode-tile2 { grid-template-rows: auto auto 1fr auto; }
.mt-sub { align-self: start; }
.mt-go { align-self: end; }
/* menu tiles: names never pass two lines; light mode colours get enough ink to read on the ivory card */
.mode-tile2 strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mode-tile2[data-mode="princess"] .mt-suit, .mode-tile2[data-mode="guess-who"] .mt-suit, .mode-tile2[data-mode="nhie"] .mt-suit { color: color-mix(in srgb, var(--mode) 45%, #30182F); }
/* mode pill sits in the top-left corner; the sparkle keeps the top centre */
.card.ivory .card-band { justify-content: flex-start; margin-top: 0; }
.card.ivory .tag { font-size: 10px; padding: 5px 12px; letter-spacing: 0.24em; }
/* question size back to the big version Aranza liked */
.card.ivory .card-text, .card.ivory .tot .side { font-size: clamp(42px, 12.2vw, 54px); line-height: 1.02; }
/* questions in a visible deep plum instead of near-black */
.card.ivory .card-text, .card.ivory .tot .side.a, .hero-card strong, .pack-card strong { color: #5A2350; }
.card.ivory .card-text.q-long, .card.ivory .tot .side.q-long { font-size: clamp(34px, 9.6vw, 44px); }
.card.ivory .card-text.q-xlong, .card.ivory .tot .side.q-xlong { font-size: clamp(28px, 7.8vw, 36px); line-height: 1.08; }
.card.ivory > .turn.turn-corner {
  position: absolute; top: 26px; left: 26px; z-index: 3; margin: 0;
  padding: 5px 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  background: #5A2350; color: var(--ivory); box-shadow: 0 4px 10px -4px rgba(90, 35, 80, 0.6);
}
/* the small caps line above the question/answer, a bit bigger */
.card.ivory .card-kicker { font-size: 15px; letter-spacing: 0.22em; line-height: 1.35; }
/* explainer cards (Secret Mission etc.): no corner sparkles fighting the pill and the rules */
.card.ivory.explain::before, .card.ivory.explain::after { content: none; }
.card.ivory.explain .card-band { justify-content: flex-start; }
.card.ivory.explain .rules li { font-size: 18px; align-items: center; }
/* explainer card: calmer type so the rules read easily */
.card.ivory.explain .explain-title { font-size: clamp(25px, 7vw, 30px); line-height: 1.12; }
.card.ivory.explain .rules { gap: 12px; }
.card.ivory.explain .rules li { font-size: 15.5px; line-height: 1.42; align-items: start; }
.card.ivory.explain .rule-n { width: 26px; height: 26px; font-size: 14px; }
.bt-spicy-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(201, 155, 85, 0.45); background: rgba(255, 248, 238, 0.04); }
.bt-spicy-row strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.bt-spicy-row small { display: block; font-size: 13px; color: var(--muted); }
/* This or That: A and B hug the middle line; sides a touch smaller and never split words */
.card.ivory .tot .side { font-size: clamp(34px, 9.6vw, 44px); overflow-wrap: normal; hyphens: manual; }
.card.ivory .tot .side.a .tot-key { top: auto; bottom: 6px; }
.card.ivory .tot .side.b .tot-key { top: 6px; }
.card.ivory .tot .or { margin: 2px 0; }
/* a card that shows a label on top (spicy/secrets free sample, etc.) drops the top sparkle so they never overlap */
.card.ivory:has(> .card-band)::before { content: none; }
.card.ivory .tot .side.a .tot-key { bottom: -16px; }
.card.ivory .tot .side.b .tot-key { top: -16px; }
/* sparkles in the corners, like the home card: top-right and bottom-left */
.card.ivory::before, .card.ivory:has(> .card-band)::before { content: "\2726\FE0E"; top: 30px; right: 30px; left: auto; bottom: auto; transform: none; }
.card.ivory::after { bottom: 28px; left: 30px; right: auto; top: auto; transform: none; }
.card.ivory.explain::before, .card.ivory.explain::after { content: none; }
.card.ivory > .card-band { padding-right: 34px; }
/* spicy / secrets samples keep the ivory card's thin gold frame */
.card.ivory.spicy-card, .card.ivory.spicy-card:not([data-deck="secrets"]) {
  box-shadow:
    inset 0 0 0 13px #FEF8EE, inset 0 0 0 14.5px #C99B55,
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984,
    0 0 46px -6px rgba(233, 50, 112, 0.45), 0 30px 60px -22px rgba(8, 2, 8, 0.9);
}
.card.ivory.spicy-card .card-text { text-shadow: none; }
.end-links { display: grid; justify-items: center; gap: 0; margin-top: -4px; }
.end-links .text-link { margin: 0; }
/* the spicy / secrets sample label always shows, even on cards with a kicker line (Most Likely) */
.card.ivory .card-band:has(.tag.spicy) { display: flex; }
/* spicy cards: a reddish pink for the kicker (between frambuesa and red) */
.card.ivory.spicy-card:not([data-deck="secrets"]) .card-kicker { color: #C81E58; }   /* same pink as the Spicy Pack label */

/* ---- each mode has its accent: the line up top and the two sparkles. Spicy cards override it with their pink. ---- */
.card.ivory { --accent: #A6772E; }
.card.ivory[data-mode="most-likely"] { --accent: #7B4BC4; }
.card.ivory[data-mode="nhie"], .card.ivory.nhie { --accent: #2E7FA8; }
.card.ivory[data-mode="red-flag"] { --accent: #C0283A; }
.card.ivory[data-mode="cute-cringe"] { --accent: #2E8F6E; }
.card.ivory[data-mode="deep"]:not(.nhie) { --accent: #A6772E; }
.card.ivory[data-mode="guess-who"] { --accent: #8A5CB8; }
.card.ivory[data-mode="princess"] { --accent: #B8607A; }
.card.ivory[data-mode="this-or-that"] { --accent: #4F5BB8; }
.card.ivory[data-mode="dare"] { --accent: #C8642E; }
.card.ivory.spicy-card:not([data-deck="secrets"]) { --accent: #C81E58; }
.card.ivory.spicy-card[data-deck="secrets"] { --accent: #7A4FB0; }
.card.ivory::before, .card.ivory::after { color: var(--accent); }
.card.ivory .card-kicker, .card.ivory.spicy-card:not([data-deck="secrets"]) .card-kicker { color: var(--accent); }
.card.ivory:not(.is-intro):not(.explain) { padding-bottom: 46px; }
/* Aranza: normal cards keep the dark line and gold sparkles; only spicy cards turn pink, so the change jumps out */
.card.ivory, .card.ivory[data-mode] { --accent: #C99B55; }
.card.ivory .card-kicker { color: #30182F; }
.card.ivory.spicy-card:not([data-deck="secrets"]) { --accent: #C81E58; }
.card.ivory.spicy-card:not([data-deck="secrets"]) .card-kicker { color: #C81E58; }
.card.ivory.spicy-card[data-deck="secrets"] { --accent: #7A4FB0; }
.card.ivory.spicy-card[data-deck="secrets"] .card-kicker { color: #7A4FB0; }
/* the mode's color lives only on the round's opening card */
.card.ivory.is-intro[data-mode="most-likely"] { --accent: #7B4BC4; }
.card.ivory.is-intro[data-mode="nhie"], .card.ivory.is-intro.nhie { --accent: #2E7FA8; }
.card.ivory.is-intro[data-mode="red-flag"] { --accent: #C0283A; }
.card.ivory.is-intro[data-mode="cute-cringe"] { --accent: #2E8F6E; }
.card.ivory.is-intro[data-mode="deep"] { --accent: #A6772E; }
.card.ivory.is-intro[data-mode="guess-who"] { --accent: #8A5CB8; }
.card.ivory.is-intro[data-mode="princess"] { --accent: #B8607A; }
.card.ivory.is-intro[data-mode="this-or-that"] { --accent: #4F5BB8; }
.card.ivory.is-intro[data-mode="dare"] { --accent: #C8642E; }
.card.ivory.is-intro .card-kicker { color: var(--accent); }
.card.ivory.is-intro .intro-medal span { color: var(--accent); }
.card.ivory.is-intro .rule-n { background: var(--accent); color: #FFF8EE; }
.card.ivory.is-intro .how-list li::before { border-color: var(--accent); color: var(--accent); }
/* Bachelorette (blush) pages: the header turns plum so it doesn't vanish */
html.theme-blush .topbar { background: transparent; }
html.theme-blush .wordmark-sm, html.theme-blush .lang-btn { color: #5A2350; }
html.theme-blush .wm-star { color: #B38A4D; }
html.theme-blush .lang-btn { text-decoration-color: rgba(90, 35, 80, 0.5); }
html.theme-blush .back-btn { background: rgba(255, 255, 255, 0.5); border-color: rgba(90, 35, 80, 0.35); color: #5A2350; }
html.theme-blush .back-chev { border-color: #5A2350; }
/* Bachelorette title: tighter and a bit smaller, like the card questions */
.bach-title, html.theme-blush #screen .bach-title { font-size: clamp(30px, 8.6vw, 38px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.stage-text strong { font-weight: 600; letter-spacing: -0.02em; font-size: 22px; line-height: 1.12; }
/* whose turn: bottom centre of the card, so it never collides with the spicy label */
.card.ivory > .turn.turn-corner { top: auto; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; }
.card.ivory:has(> .turn-corner) { padding-bottom: 70px; }
/* round intro: everything champagne; only the mode's symbol keeps its color, a small pop */
.card.ivory.is-intro::before, .card.ivory.is-intro::after { color: #C99B55; }
.card.ivory.is-intro .card-kicker { color: #8A6631; }
.card.ivory.is-intro .how-list li::before { border-color: #C99B55; color: #8A6631; }
.card.ivory.is-intro .intro-medal span { color: var(--accent); }
/* turn tag sits in the flow under the question (bottom centre), so long cards push it down instead of overlapping */
.card.ivory > .turn.turn-corner { position: static; transform: none; align-self: center; margin: 4px auto 0; }
.card.ivory:has(> .turn-corner) { padding-bottom: 50px; }
/* the intro symbol uses the same color as that mode's card on the home menu */
.card.ivory.is-intro .intro-medal span { color: color-mix(in srgb, var(--mode) 70%, #30182F); }
.card.ivory.is-intro[data-mode="princess"] .intro-medal span, .card.ivory.is-intro[data-mode="guess-who"] .intro-medal span, .card.ivory.is-intro[data-mode="nhie"] .intro-medal span { color: color-mix(in srgb, var(--mode) 45%, #30182F); }
.card[data-mode="nhie"] { --mode: #6FC3E8; }
/* swap card: small, top-left of the card */
.card.ivory > .swap-card {
  position: absolute; top: 26px; left: 26px; z-index: 3; margin: 0; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(179, 138, 77, 0.6); background: rgba(255, 255, 255, 0.6); color: #5A2350;
  font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
}
.card.ivory > .swap-card.below-band { top: 66px; }
.intro-ps { margin: -8px auto 18px; max-width: 32ch; font-size: 13px; font-style: italic; color: #8A6631; text-align: center; }
.card.ivory .turn.turn-inline { background: #5A2350; color: #FFF8EE; font-weight: 700; font-size: 15px; padding: 6px 16px; margin: 2px 0 2px; box-shadow: 0 4px 10px -4px rgba(90, 35, 80, 0.6); }
/* official photo card on ivory: the polaroid and the "tag us" pill need contrast */
.card.ivory[data-group="photo"] .card-body::before { content: none; }
.card.ivory[data-group="photo"] .polaroid { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(179, 138, 77, 0.35), 0 16px 30px -12px rgba(48, 24, 47, 0.45); }
.card.ivory[data-group="photo"] .pol-cap { color: #5A2350; }
.card.ivory[data-group="photo"] .card-text.photo-text { font-size: clamp(28px, 7.8vw, 34px); }
.card.ivory .ig-pill { background: rgba(233, 50, 112, 0.1); border-color: rgba(200, 30, 88, 0.5); color: #C81E58; font-size: 15px; font-weight: 700; padding: 8px 16px; }

/* ---- Wrapped, redesigned: each slide is an ivory card on the plum room ---- */
.wrap { background: radial-gradient(ellipse at 50% 40%, #4A2547 0%, #30182F 50%, #1C0C1B 100%); }
.wrap-bars i { background: rgba(255, 248, 238, 0.18); }
.wrap-bars i.now span, .wrap-bars i.done span { background: #E2C38A; }
.wrap-slide {
  position: relative; align-self: center; justify-self: center; width: min(88vw, 380px); min-height: min(62vh, 520px); margin: 12px auto;
  padding: 44px 28px 40px; border-radius: 26px; color: #30182F; justify-content: center; gap: 12px;
  background: linear-gradient(118deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 32%), linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 12px #FEF8EE, inset 0 0 0 13.5px #C99B55, 0 2px 0 #DCCAAE, 0 4px 0 #C2A984, 0 40px 70px -24px rgba(0,0,0,.9);
}
.wrap-slide::before, .wrap-slide::after { content: "\2726\FE0E"; position: absolute; color: #C99B55; font-size: 22px; line-height: 1; }
.wrap-slide::before { top: 28px; right: 30px; }
.wrap-slide::after { bottom: 26px; left: 30px; }
.wrap-emoji { font-size: clamp(64px, 20vw, 88px); width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto 4px;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FFF8EE 45%, #EADCC6 100%);
  box-shadow: inset 0 0 0 1.5px #C99B55, 0 0 0 6px rgba(255, 248, 238, .9), 0 0 0 7px rgba(179, 138, 77, .4), 0 12px 22px -10px rgba(48, 24, 47, .35); }
.wrap-kicker { font-family: var(--f-ui); font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: #C81E58; }
.wrap-title { font-weight: 600; letter-spacing: -.03em; line-height: 1.02; color: #5A2350; font-size: clamp(40px, 12vw, 56px); }
.wrap-title.small { font-size: clamp(28px, 8vw, 36px); }
.wrap-sub { color: rgba(48, 24, 47, .72); font-size: 16px; }
.wrap-quip { color: #8A6631; font-size: 18px; }
.wrap-list li { background: rgba(255, 255, 255, .55); border-color: rgba(179, 138, 77, .4); }
.wrap-list li b { color: #5A2350; font-weight: 600; }
.wrap-list li small { color: #C81E58; }
.wrap-close { color: #FFF8EE; }
#screen .home-section, #screen .group { scroll-margin-top: 80px; }

.end-all-sub { margin: -6px 0 18px; text-align: center; font-family: 'Manrope', sans-serif; font-size: 14px; color: rgba(255,248,238,.7); }

/* Bestie Test result: ivory score card + "your turn" promo */
.score-stack { margin: 6px 4px 14px; }
.score-card.ivory-score {
  position: relative; border: 0; border-radius: 24px; padding: 34px 28px 32px; text-align: center; display: grid; gap: 6px; justify-items: center;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 74%, rgba(255,240,215,0.35) 100%),
    linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F4E9D9 100%);
  box-shadow: inset 0 0 0 13px #FEF8EE, inset 0 0 0 14.5px #C99B55,
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984,
    0 30px 60px -22px rgba(8,2,8,0.9), 0 12px 20px -8px rgba(8,2,8,0.45);
}
.score-card.ivory-score::before { content: "\2726\FE0E"; position: absolute; top: 28px; right: 30px; color: #C99B55; font-size: 24px; }
.score-card.ivory-score small { color: #30182F; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.26em; margin-top: 8px; }
.score-card.ivory-score .num { font-family: 'Bodoni Moda', serif; font-weight: 600; font-size: clamp(96px, 30vw, 130px); line-height: 1; letter-spacing: -0.03em; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #5A2350; }
.score-card.ivory-score .num span { font-size: 0.4em; color: #B38A4D; letter-spacing: 0; }
.score-card.ivory-score .verdict { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; font-size: 30px; line-height: 1.1; color: #C81E58; }
.score-card.ivory-score .tier-sub { margin: 4px 0 6px; color: rgba(48,24,47,0.72); font-size: 15px; font-weight: 500; }
.your-turn {
  position: relative; margin-top: 18px; padding: 26px 22px 22px; border-radius: 22px; text-align: center; display: grid; gap: 8px;
  background: radial-gradient(120% 90% at 20% 0%, #5A2C52 0%, #3A1C37 60%, #2A1428 100%);
  box-shadow: inset 0 0 0 1px rgba(201,155,85,0.55), inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 40px -18px rgba(0,0,0,0.85);
}
.your-turn .yt-emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,0.45)); }
.your-turn small { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: #C99B55; }
.your-turn h3 { margin: 0; font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; font-size: 32px; line-height: 1.08; color: #FFF8EE; }
.your-turn p { margin: 0 0 8px; color: rgba(255,248,238,0.75); font-size: 15px; }

/* Bach (2026-10 redesign): keep the girlie blush room, but the pieces on it are the new ivory cards with depth. */
html.theme-blush #screen .stage {
  border: 0; border-radius: 22px; padding: 22px 20px 22px 18px; gap: 14px;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 74%, rgba(255,240,215,0.35) 100%),
    linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F4E9D9 100%);
  box-shadow: inset 0 0 0 7px #FEF8EE, inset 0 0 0 8px rgba(201,155,85,0.85),
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984,
    0 22px 36px -18px rgba(94,29,59,0.55), 0 8px 14px -8px rgba(94,29,59,0.3);
}
html.theme-blush #screen .stage + .stage { margin-top: 4px; }
html.theme-blush #screen .stage-n, .stage-n {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; font-size: 20px; color: #30182F;
  background: radial-gradient(circle at 32% 28%, #FBE9BE 0%, #E2BC78 38%, #B38A4D 75%, #8E6A34 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -2px 3px rgba(94,60,20,0.35), 0 0 0 2px #FFF8EE, 0 0 0 3px rgba(201,155,85,0.7), 0 6px 10px -3px rgba(94,29,59,0.45);
}
html.theme-blush #screen .stage-text small { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #C81E58; }
html.theme-blush #screen .stage-text strong { font-family: 'Bodoni Moda', serif; font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; color: #30182F; }
html.theme-blush #screen .stage-text > span { color: rgba(48,24,47,0.75); }
/* Bach price: no card, just a thin gold rule, the price and the note (22 oct, option A) */
html.theme-blush #screen .price-block { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 -4px; padding: 0; text-align: center; }
html.theme-blush #screen .price-block::before { content: ""; display: block; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, #B38A4D, transparent); margin-bottom: 10px; }
html.theme-blush #screen .price-block .now { font-family: 'Bodoni Moda', serif; font-weight: 600; font-size: 44px; line-height: 1; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #30182F; }
html.theme-blush #screen .price-block .note { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 16px; color: #C81E58; }
/* the unlock sheet: blush too, with taste cards as little ivory game cards */
.modal:has(.sheet-blush) { background: rgba(48, 24, 47, 0.38); }
.sheet.sheet-blush { box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 -20px 50px rgba(94,29,59,0.35); }
.sheet.sheet-blush h3 { font-family: 'Bodoni Moda', serif; font-weight: 600; color: #30182F; }
.sheet.sheet-blush .taste { gap: 12px; }
.sheet.sheet-blush .taste div {
  position: relative; border: 0; border-radius: 16px; padding: 16px 18px; color: #30182F;
  font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600;
  background: linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 50%, #F4E9D9 100%);
  box-shadow: inset 0 0 0 6px #FEF8EE, inset 0 0 0 7px rgba(201,155,85,0.8),
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #C2A984, 0 16px 26px -14px rgba(94,29,59,0.5);
}
.sheet.sheet-blush .taste div:nth-child(odd) { transform: rotate(-1.2deg); }
.sheet.sheet-blush .taste div:nth-child(even) { transform: rotate(1deg); }
.sheet.sheet-blush .taste div::after { content: "\2726\FE0E"; position: absolute; top: 12px; right: 16px; font-style: normal; font-size: 14px; color: #C99B55; }
.sheet.sheet-blush .taste small { font-style: normal; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; color: #C81E58; }

/* Wrapped awards with emotion: the card arrives face down and shaking, then flips to reveal with rays + confetti */
.wrap-slide.is-suspense {
  color: #FFF8EE;
  background: radial-gradient(90% 70% at 40% 25%, #5A2C52 0%, #30182F 65%, #22101F 100%);
  box-shadow: inset 0 0 0 12px #2E162C, inset 0 0 0 13.5px rgba(201,155,85,.75), 0 2px 0 #1C0C1B, 0 40px 70px -24px rgba(0,0,0,.9), 0 0 60px -10px rgba(233,50,112,.35);
  animation: wrapShake 1.6s ease-in-out infinite;
}
.wrap-slide.is-suspense .wrap-emoji { background: radial-gradient(circle at 35% 30%, #5A2C52, #30182F); box-shadow: inset 0 0 0 1.5px #C99B55, 0 0 0 6px rgba(201,155,85,.18); }
.wrap-slide.is-suspense .wrap-kicker { color: #C99B55; }
.wrap-slide.is-suspense .wrap-title { color: #FFF8EE; font-style: italic; }
.wrap-goes { margin: 0; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 22px; color: #F2588D; }
.wrap-taphint { margin: 18px 0 0; font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,248,238,.55); animation: tapPulse 1.4s ease-in-out infinite; }
@keyframes wrapShake { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-1.6deg); } 78% { transform: rotate(1.6deg); } 82% { transform: rotate(-1.2deg); } 86% { transform: rotate(1deg); } 90% { transform: rotate(0); } }
@keyframes tapPulse { 50% { opacity: .35; } }
.wrap-slide.is-award { animation: wrapFlip .7s cubic-bezier(.2,.9,.3,1.15) both; overflow: hidden; }
@keyframes wrapFlip { from { transform: perspective(900px) rotateY(85deg) scale(.92); } to { transform: perspective(900px) rotateY(0) scale(1); } }
.wrap-rays {
  position: absolute; left: 50%; top: 34%; width: 520px; height: 520px; margin: -260px 0 0 -260px; pointer-events: none; z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(201,155,85,.22) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: raysSpin 14s linear infinite;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
.wrap-slide.is-award > :not(.wrap-rays) { position: relative; z-index: 1; }
.wrap-slide.is-award .wrap-emoji { box-shadow: inset 0 0 0 1.5px #C99B55, 0 0 0 6px rgba(255,248,238,.9), 0 0 0 7px rgba(179,138,77,.5), 0 0 40px 6px rgba(233,50,112,.35), 0 12px 22px -10px rgba(48,24,47,.35); }
.wrap-slide.is-award .wrap-title { animation: pop .6s .25s cubic-bezier(.2,1.6,.4,1) both; }
.confetti { position: fixed; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; z-index: 60; }
.confetti i { position: absolute; width: 7px; height: 13px; border-radius: 2px; opacity: 0; animation: confBurst var(--d) cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes confBurst {
  0% { opacity: 1; transform: translate(0,0) rotate(0); }
  55% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 40vh)) rotate(calc(var(--r) * 2)); }
}
@media (prefers-reduced-motion: reduce) { .wrap-slide.is-suspense, .wrap-slide.is-award, .wrap-rays, .wrap-taphint { animation: none; } }

/* Bach weekend Wrapped call-out: plum card with gold, sits on blush or plum */
.bach-wrap-cta {
  position: relative; margin: 22px 0 8px; padding: 26px 22px 22px; border-radius: 22px; text-align: center; display: grid; gap: 8px; color: #FFF8EE;
  background: radial-gradient(120% 90% at 20% 0%, #5A2C52 0%, #3A1C37 60%, #2A1428 100%);
  box-shadow: inset 0 0 0 1px rgba(201,155,85,0.6), inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 40px -18px rgba(48,24,47,0.75), 0 0 40px -12px rgba(233,50,112,0.45);
}
.bach-wrap-cta .bw-emoji { font-size: 38px; line-height: 1; animation: tapPulse 2s ease-in-out infinite; }
.bach-wrap-cta small { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: #C99B55; }
.bach-wrap-cta h3 { margin: 0; font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; font-size: 32px; line-height: 1.08; color: #FFF8EE !important; }
.bach-wrap-cta p { margin: 0 0 8px; color: rgba(255,248,238,0.78) !important; font-size: 15px; }
.wrap-slide.aw-reveal { margin: 14px auto 18px; min-height: min(52vh, 440px); }
/* weekend awards recap as an ivory card */
#screen .recap {
  position: relative; border: 0; border-radius: 24px; padding: 30px 26px 26px; color: #30182F;
  background: linear-gradient(118deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 32%), linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 10px #FEF8EE, inset 0 0 0 11.5px #C99B55, 0 2px 0 #DCCAAE, 0 4px 0 #C2A984, 0 30px 60px -24px rgba(0,0,0,.9);
}
#screen .recap::before { content: "\2726\FE0E"; position: absolute; top: 24px; right: 28px; color: #C99B55; font-size: 22px; background: none; inset: auto; }
#screen .recap small { color: #30182F; letter-spacing: .24em; }
#screen .recap h2 { color: #5A2350; font-family: 'Bodoni Moda', serif; font-weight: 600; }
#screen .recap li { border-color: rgba(179,138,77,.4); }
#screen .recap li span { color: #C81E58; font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; }
#screen .recap li b { color: #30182F; }

/* Paywall: a plum card back with a gold medal, like the Wrapped suspense card (no more diamond pattern) */
.card[data-mode="paywall"] {
  background: radial-gradient(90% 70% at 40% 22%, #5A2C52 0%, #30182F 65%, #22101F 100%) !important;
  box-shadow: inset 0 0 0 12px #2E162C, inset 0 0 0 13.5px rgba(201,155,85,.75), 0 1px 0 #2A1229, 0 3px 0 #1E0C1D, 0 30px 60px -22px rgba(0,0,0,.9), 0 0 50px -12px rgba(233,50,112,.45) !important;
  border-radius: 24px; padding: 34px 28px 34px; text-align: center;
}
.card[data-mode="paywall"]::before, .card[data-mode="paywall"]::after { content: "\2726\FE0E" !important; color: #C99B55 !important; font-size: 22px !important; }
.card[data-mode="paywall"] .card-body { align-items: center; justify-content: center; gap: 12px; text-align: center; }
.card[data-mode="paywall"] .card-body::before { display: none !important; }
.pw-medal { width: 104px; height: 104px; display: grid; place-items: center; font-size: 50px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5A2C52, #30182F);
  box-shadow: inset 0 0 0 2px #C99B55, 0 0 0 7px rgba(201,155,85,.16), 0 0 34px 2px rgba(233,50,112,.35); }
.pw-kicker { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #F2588D; }
.card[data-mode="paywall"] .card-text { color: #FFF8EE; font-style: italic; font-size: clamp(32px, 9vw, 42px); line-height: 1.08; text-shadow: none; }
.card[data-mode="paywall"] .card-hint { color: rgba(255,248,238,.78); font-size: 16px; max-width: 30ch; margin: 0 auto; }

/* Answer options (Bestie Test, Guess Who): plum velvet buttons with a gold hairline and an edge, like the rest of the app */
.answer {
  border: 0 !important; border-radius: 16px; min-height: 58px; padding: 14px 18px; color: #FFF8EE; font-weight: 600; font-size: 17px;
  background: linear-gradient(180deg, #4A2446 0%, #3A1C37 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(201,155,85,.5), inset 0 1px 0 rgba(255,236,214,.1), 0 1px 0 #24101F, 0 3px 0 #1A0A18, 0 14px 22px -14px rgba(0,0,0,.85) !important;
  transition: transform .12s ease;
}
.answer:active { transform: translateY(2px); }
.answer.picked { color: #FFFFFF !important; background: linear-gradient(180deg, #F76A9B 0%, #E93270 55%, #CF225F 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 0 #B0174E, 0 3px 0 #7A0F37, 0 14px 24px -12px rgba(233,50,112,.7) !important; }
.answer.correct { color: #30182F !important; background: linear-gradient(180deg, #F3DDAE 0%, #D9B06C 60%, #B38A4D 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 0 #8E6A34, 0 3px 0 #6E5128, 0 14px 24px -12px rgba(0,0,0,.7) !important; }
.answer.wrong { opacity: .6; }

/* Bestie question on an ivory card, like the game cards */
.bt-stack { margin: 10px 4px 16px; }
.bt-qcard {
  position: relative; display: grid; gap: 10px; align-content: center; justify-items: center; text-align: center; min-height: 190px;
  padding: 32px 26px 30px; border-radius: 24px; color: #30182F;
  background: linear-gradient(118deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 74%, rgba(255,240,215,.35) 100%), linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F4E9D9 100%);
  box-shadow: inset 0 0 0 11px #FEF8EE, inset 0 0 0 12.5px #C99B55, 0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984, 0 30px 60px -22px rgba(8,2,8,.9);
}
.bt-qcard::before { content: "\2726\FE0E"; position: absolute; top: 24px; right: 26px; color: #C99B55; font-size: 20px; }
.bt-qk { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #A6772E; }
.bt-qk.g-says { text-transform: none; letter-spacing: 0; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 20px; color: #C81E58; }
.bt-qcard.juicy .bt-qk { color: #C81E58; }
.bt-qcard .q-text { margin: 0; color: #5A2350; font-style: italic; font-weight: 600; font-size: clamp(30px, 8.6vw, 40px); line-height: 1.08; }

/* Bestie Test screens: emoji in a gold medal, ivory leaderboard and QR card */
.bt-hero .bt-emoji { width: 92px; height: 92px; display: grid; place-items: center; font-size: 46px; border-radius: 50%; margin-bottom: 6px;
  background: radial-gradient(circle at 35% 30%, #5A2C52, #30182F); box-shadow: inset 0 0 0 2px #C99B55, 0 0 0 7px rgba(201,155,85,.16), 0 0 30px 0 rgba(233,50,112,.3); }
.link-box .input { background: rgba(255,248,238,.06); border-color: rgba(201,155,85,.45); }
#screen .qr-wrap, #screen .bt-board-card {
  border: 0; border-radius: 22px; color: #30182F;
  background: linear-gradient(118deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 32%), linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 8px #FEF8EE, inset 0 0 0 9.5px #C99B55, 0 2px 0 #DCCAAE, 0 4px 0 #C2A984, 0 26px 44px -22px rgba(0,0,0,.9);
}
#screen .qr-wrap .section-label { color: #5A2350; font-family: 'Bodoni Moda', serif; font-style: italic; }
/* paywall hybrid: the plum card keeps a faint gold lattice (it reads "locked"), and the medal wears a little lock */
.card[data-mode="paywall"] {
  background:
    repeating-linear-gradient(45deg, rgba(201,155,85,.13) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(201,155,85,.13) 0 1px, transparent 1px 26px),
    radial-gradient(90% 70% at 40% 22%, #5A2C52 0%, #30182F 65%, #22101F 100%) !important;
}
.pw-medal { position: relative; }
.pw-medal::after { content: "🔒"; position: absolute; right: -4px; bottom: -2px; width: 36px; height: 36px; display: grid; place-items: center; font-size: 17px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3DDAE, #C99B55 70%, #A6772E); box-shadow: 0 0 0 3px #30182F, 0 4px 8px rgba(0,0,0,.5); }
.pw-medal::after { content: none !important; }
.card[data-mode="paywall"] .card-hint { font-size: 14px !important; line-height: 1.45 !important; max-width: 28ch !important; }

/* Secret Mission: the pass-the-phone cards are card backs (plum, gold frame, the glasses), the mission itself is an ivory card */
.card[data-mode="sm-gate"], .card[data-mode="sm-out"], .card[data-mode="guess-who"][data-gw="gate"] {
  background: url(glasses.png) center 86% / 64px auto no-repeat, radial-gradient(90% 70% at 40% 22%, #5A2C52 0%, #30182F 65%, #22101F 100%) !important;
  box-shadow: inset 0 0 0 12px #2E162C, inset 0 0 0 13.5px rgba(201,155,85,.7), 0 1px 0 #2A1229, 0 3px 0 #1E0C1D, 0 30px 60px -22px rgba(0,0,0,.9) !important;
  border-radius: 24px;
}
.card[data-mode="sm-gate"] .tag, .card[data-mode="sm-out"] .tag, .card[data-mode="guess-who"][data-gw="gate"] .tag {
  background: none !important; box-shadow: none !important; padding: 0 !important; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #C99B55 !important;
}
.card[data-mode="sm-gate"] .card-text, .card[data-mode="sm-out"] .card-text { color: #FFF8EE; font-style: italic; }
.card.ivory[data-mode="sm-private"] .tag { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #C81E58; }
.card.ivory[data-mode="sm-private"] .card-hint { color: rgba(48,24,47,.7); }
.sm-banner { position: relative; }
.sm-banner .cross { width: 100%; padding-right: 48px; }
.sm-banner-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,248,238,.7); font-size: 16px; cursor: pointer; }
.modal .card.explain.ivory { margin-bottom: 14px; }
.card-hint.sm-story { font-family: "Bodoni Moda", serif; font-style: italic; font-size: 20px !important; color: #C81E58 !important; }

/* Numbers everywhere: one thin champagne circle (same as the game's how-to cards) */
.rule-n, .card.ivory.explain .rule-n, .card.ivory.is-intro .rule-n,
html.theme-blush #screen .stage-n, .stage-n {
  width: 28px !important; height: 28px !important; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: transparent !important; box-shadow: none !important; border: 1px solid #C99B55 !important;
  font-family: var(--f-ui) !important; font-style: normal !important; font-weight: 700 !important; font-size: 13px !important; color: #8A6631 !important;
}
.steps-num b.step-ico svg { width: 17px; height: 17px; color: var(--gold-hi); }
.steps-num b.step-ico { width: auto !important; height: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.steps-num b.step-ico svg { width: 24px; height: 24px; }
.steps-num li { justify-content: center; }
.steps-num li { flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; gap: 6px; }

/* Secrets Pack cards: ivory like every other card, lilac accent and glow (the old dark lilac background was winning) */
.card.ivory.spicy-card[data-deck="secrets"] {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 74%, rgba(255, 240, 215, 0.35) 100%),
    linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F4E9D9 100%) !important;
  box-shadow:
    inset 0 0 0 13px #FEF8EE, inset 0 0 0 14.5px #C99B55,
    0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 3px 0 #CFBA98, 0 4px 0 #C2A984,
    0 0 46px -6px rgba(122, 79, 176, 0.5), 0 30px 60px -22px rgba(8, 2, 8, 0.9) !important;
}
.card.ivory.spicy-card[data-deck="secrets"] .tag.spicy { background: none !important; box-shadow: none !important; color: #7A4FB0 !important; }
.card.ivory.spicy-card[data-deck="secrets"] .sample-info { border-color: rgba(122, 79, 176, 0.6); color: #7A4FB0; background: transparent; }
.card.ivory.spicy-card[data-deck="secrets"]::before, .card.ivory.spicy-card[data-deck="secrets"]::after { color: #C99B55; }

/* Option grids always centered: two names never leave a hole on one side */
.crown-grid, .g-names { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px; }
.crown-grid > *, .g-names > * { flex: 0 1 calc(50% - 5px); min-width: 130px; }
.crown-btn.picked { background: linear-gradient(180deg, #F76A9B 0%, #E93270 55%, #CF225F 100%) !important; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 #7A0F37, 0 12px 22px -12px rgba(233,50,112,.7) !important; }
.ml-status { font-weight: 600; }

/* Wrapped video: a little studio overlay while it records */
.video-ov { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(20, 8, 19, 0.82); backdrop-filter: blur(6px); }
.video-box { width: min(86vw, 340px); display: grid; gap: 12px; justify-items: center; text-align: center; padding: 30px 24px 22px; border-radius: 24px; color: #30182F;
  background: linear-gradient(170deg, #FFFBF4 0%, #FFF8EE 45%, #F2E6D4 100%);
  box-shadow: inset 0 0 0 10px #FEF8EE, inset 0 0 0 11.5px #C99B55, 0 30px 60px -20px rgba(0,0,0,.9); }
.video-spin { font-size: 46px; animation: drum .5s ease-in-out infinite alternate; }
.video-spin.done { animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.video-msg { margin: 0; font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 600; font-size: 22px; color: #5A2350; }
.video-box .link-btn { color: rgba(48,24,47,.7); }

/* "What's the mood?" in setup: three compact cards in one row */
.mood-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mood-chip { display: grid; gap: 3px; justify-items: center; text-align: center; padding: 12px 6px 11px; border: 0; border-radius: 16px; color: #FFF8EE; cursor: pointer;
  background: linear-gradient(180deg, #44213F 0%, #361A33 100%);
  box-shadow: inset 0 0 0 1px rgba(201,155,85,.35), 0 1px 0 #24101F, 0 3px 0 #1A0A18, 0 12px 20px -14px rgba(0,0,0,.85); }
.mood-chip span { font-size: 22px; line-height: 1; }
.mood-chip strong { font-family: 'Bodoni Moda', serif; font-weight: 600; font-size: 15px; line-height: 1.1; }
.mood-chip small { font-size: 11px; line-height: 1.25; color: rgba(255,248,238,.65); }
.mood-chip.on { background: linear-gradient(180deg, #F76A9B 0%, #E93270 55%, #CF225F 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 0 #B0174E, 0 3px 0 #7A0F37, 0 12px 22px -12px rgba(233,50,112,.7); }
.mood-chip.on small { color: rgba(255,255,255,.85); }

/* Card questions a size down (Aranza: the big size felt cramped) */
.card.ivory .card-text, .card.ivory .tot .side { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.06; }
.card.ivory .card-text.q-long, .card.ivory .tot .side.q-long { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.07; }
.card.ivory .card-text.q-xlong, .card.ivory .tot .side.q-xlong { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.1; }

/* Card questions a size down (Aranza: the big size felt cramped; "Let the girls pick…" size is the one) */
.card.ivory .card-text, .card.ivory .tot .side { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.06; }
.card.ivory .card-text.q-long, .card.ivory .tot .side.q-long { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.07; }
.card.ivory .card-text.q-xlong, .card.ivory .tot .side.q-xlong { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.1; }

/* Secret Mission: two options, one card at a time with tabs and a flip when switching */
.sm-tabs { display: flex; justify-content: center; gap: 8px; margin: 4px auto 14px; padding: 4px; width: max-content; border-radius: 999px; background: rgba(255,248,238,0.08); box-shadow: inset 0 0 0 1px rgba(179,138,77,0.45); }
.sm-tab { appearance: none; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: transparent; color: rgba(255,248,238,0.75); font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; transition: background .25s, color .25s; }
.sm-tab.on { background: linear-gradient(180deg, #FFFBF4, #F1E4CF); color: #30182F; box-shadow: 0 4px 10px -4px rgba(0,0,0,0.5); }
.sm-choice { perspective: 1200px; }
.sm-choice.swap .card { animation: smFlip .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes smFlip { 0% { transform: rotateY(-90deg) scale(.96); opacity: .3; } 60% { transform: rotateY(8deg) scale(1.01); opacity: 1; } 100% { transform: rotateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .sm-choice.swap .card { animation: none; } }

/* Wrapped summary: each award shows its funny line too */
.wrap-list li { grid-template-rows: auto auto auto; }
.wrap-list li span { grid-row: span 3; }
.wrap-list li em { font-family: var(--f-ui); font-style: normal; font-size: 13px; line-height: 1.3; color: rgba(48,24,47,0.62); margin-top: 2px; }

/* Bach locked: price sits close to the intro */
html.theme-blush #screen .bach-hero { margin-bottom: 0; }
html.theme-blush #screen .bach-hero .lede { margin-bottom: 0; }
html.theme-blush #screen .bach-hero + .price-block { margin-top: -10px; }

/* No double-tap zoom anywhere (a missed tap on the vote names zoomed the page); pinch zoom still works */
html, body, button, a, .vote-chip, .card { touch-action: manipulation; }
.vote-chip { min-height: 46px; padding: 8px 18px; font-size: 16px; }
/* The two sides on the card are a legend, not buttons (friends tapped them): plain text with a dot between */
.card .vote-legend { gap: 0; align-items: center; }
.card .vote-legend span { padding: 0 4px; border: 0; background: none; box-shadow: none; border-radius: 0; font-size: 15px; font-weight: 600; color: rgba(48,24,47,.7); }
.card .vote-legend span + span::before { content: "·"; margin: 0 10px 0 4px; color: rgba(179,138,77,.9); }
/* Guess Who "who" questions: the girls' names as answers, two per row, centered */
.answers.names { grid-template-columns: 1fr 1fr; }
.answers.names .answer { text-align: center; justify-content: center; }

/* swap pill on top, pack tag below it */
.card.ivory.swap-top > .card-band { margin-top: 36px; }

/* home card you can play (2026-10-29): vote under the card, Skip below, the card deals in on each change */
.hero-vote { display: grid; gap: 6px; width: min(100%, 340px); margin: 6px auto 4px; }
.hero-vote .row2 { margin: 0; }
.hero-skip { justify-self: center; font-size: 13px; padding: 4px 10px; }
.hero-card.swap { animation: gnHeroSwap 0.38s cubic-bezier(.2,.8,.2,1), gnHeroFloat 6s ease-in-out 0.38s infinite; }
@keyframes gnHeroSwap { 0% { transform: rotate(14deg) translate(40px, 6px); opacity: 0; } 100% { transform: rotate(5deg) translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-card.swap { animation: none; } }
/* vote buttons under the home card: ivory like the cards, plum text, a solid edge for depth; clear of the deck */
.hero-vote { margin-top: 40px; position: relative; z-index: 2; }
.hero-vote .btn-gold {
  background: linear-gradient(180deg, #FFFBF4 0%, #F3E8D6 100%); color: #5A2350; border: 1px solid rgba(201, 155, 85, 0.55);
  box-shadow: 0 1px 0 #EADCC6, 0 2px 0 #DCCAAE, 0 4px 0 #C9B391, 0 14px 26px -12px rgba(0, 0, 0, 0.7);
}
.hero-vote .btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 #DCCAAE, 0 6px 14px -10px rgba(0, 0, 0, 0.7); }
.hero-vote .btn { white-space: normal; line-height: 1.15; text-wrap: balance; }
/* This or That on the home card: same layout as the real card (A / or / B), sized for the small card */
.hero-card .hero-tot { gap: 4px; margin-top: 2px; }
.hero-card .hero-tot .side { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(19px, 5.4vw, 22px); line-height: 1.05; letter-spacing: -0.02em; color: #5A2350; padding: 1px 0 1px 26px; text-align: left; }
.hero-card .hero-tot .side.b { color: #C81E58; }
.hero-card .hero-tot .tot-key { width: 18px; height: 18px; font-size: 9px; top: 2px; }
.hero-card .hero-tot .or { font-size: 14px; gap: 8px; }
.hero-card .hero-tot { padding: 0 10px 0 14px; }
.hero-card .hero-tot .side { padding-left: 28px; }
.hero-card .hero-tot .tot-key { left: 2px; }
/* Bestie Test first in "For every plan", in lilac so it stands out: the one thing you can do alone (2026-10-29) */
.plan-row[data-way="bt"] {
  color: var(--ink); border: 1px solid transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.6), transparent 55%) padding-box,
    linear-gradient(160deg, #F1E6F7 0%, #D9C4EC 50%, #B79AD8 100%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 0 #8E73AE, 0 18px 34px -16px rgba(183, 154, 216, 0.5);
}
.plan-row[data-way="bt"] .plan-ico, .plan-row[data-way="bt"] .plan-go { color: #5A2350; }
.plan-row[data-way="bt"] .plan-text strong { color: #3A1736; }
.plan-row[data-way="bt"] .plan-text small { color: rgba(48, 24, 47, 0.75); }
.plan-row[data-way="bt"] .plan-text strong em { color: #5A2350; border-color: rgba(90, 35, 80, 0.45); background: rgba(255, 255, 255, 0.35); }
.plan-row[data-way="bt"]:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 0 #8E73AE; }
/* same build as the Bachelorette bar: icon with a divider, big italic title */
.plan-row[data-way="bt"] { padding: 16px; border-radius: 18px; margin-bottom: 3px; }
.plan-row[data-way="bt"] .plan-ico { color: #6B4A93; border-right: 1px solid rgba(107, 74, 147, 0.35); padding-right: 12px; width: 58px; height: auto; align-self: stretch; display: grid; place-items: center; }
.plan-row[data-way="bt"] .plan-text strong { font-size: 22px; font-style: italic; font-weight: 600; letter-spacing: -0.02em; }
.plan-row[data-way="bt"] .plan-text strong em { font-style: normal; letter-spacing: 0.04em; }
.plan-row[data-way="bt"] .plan-text strong em { display: inline-block; margin: 0 0 0 8px; vertical-align: 5px; }
@media (max-width: 520px) {
  .plan-row[data-way="bt"] { gap: 10px; padding: 16px 12px; }
  .plan-row[data-way="bt"] .plan-ico { width: 46px; padding-right: 10px; }
  .plan-row[data-way="bt"] .plan-text strong { font-size: 20px; white-space: nowrap; }
  .plan-row[data-way="bt"] .plan-text strong em { margin-left: 6px; padding: 2px 7px; font-size: 10px; vertical-align: 4px; }
}
/* Mixed Night (guys + girls): same raised row as the Bachelorette, in champagne/amber instead of blush */
.mix-bar {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.5), transparent 55%) padding-box,
    linear-gradient(160deg, #FBEFD6 0%, #F2D9A4 52%, #DDB36A 100%) padding-box,
    var(--foil-strong) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 0 #B48A47, 0 18px 34px -16px rgba(217, 164, 65, 0.45);
}
.mix-bar .plan-ico { color: #7A5420; border-right-color: rgba(122, 84, 32, 0.35); }
.mix-bar .bb-price { color: #7A4A12; }
.mix-pick .mix-free { margin-top: 12px; }
.card[data-mode="drink-if"] { --mode: #F2B84B; --suit: "♣\FE0E"; }
.card.ivory.is-intro[data-mode="drink-if"] { --accent: #B07A1E; }

/* 30 nov: simpler start */
.save-night { margin-top: -4px; }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 14px; }
.more-head { margin: 18px 0 -4px; text-align: center; font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-hi); }
.anon-btn { margin-top: 4px; }
.tweak-row { width: 100%; text-align: left; }
.save-tip { margin: 4px 0; text-align: center; }
