/* 12 Days of Thank-Yous: styles, taken from the approved prototype (version 44, 11 Nov 2026). */
/* Layout: a gift-tag calendar. Sticky demo bar on top, one centred column; client page = ballot card + 12 tags + referral panel; admin = stats, pipeline, leaderboard, draw. */
:root {
  --bg: #F2F4F1;
  --surface: #FFFFFF;
  --surface-2: #EAEEEA;
  --ink: #14201A;
  --muted: #5B6760;
  --line: #D8DED9;
  --pine: #1B3B2E;
  --pine-ink: #FFFFFF;
  --berry: #6E1E2B;
  --berry-ink: #FFFFFF;
  --gold: #8A6A2E;
  --good: #2F6B48;
  --warn: #8A5A12;
  --bad: #8E2433;
  --demo: #1E2622;
  --demo-ink: #E6EAE6;
  --shadow: 0 1px 2px rgba(20,32,26,.05), 0 8px 22px rgba(20,32,26,.06);
  /* Festive constants: the night band, wrapping and champagne ribbon look the same in both themes */
  --night: #0D1814;
  --night-2: #16271F;
  --snow-ink: #EEEEE8;
  --ribbon: #C9A961;
  --ribbon-dark: #A3864A;
  --gold-bright: #DCC388;
  --wish-red: #13231C;
  --wrap-1: #1B3B2E;
  --wrap-2: #4E1A23;
  --wrap-3: #1B3B2E;
  --font-script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B120F; --surface: #121B17; --surface-2: #18241F; --ink: #E7EAE6; --muted: #9AA59F; --line: #25322C;
    --pine: #8DBBA2; --pine-ink: #0A120E; --berry: #D58C97; --berry-ink: #1A0609; --gold: #D2B576;
    --good: #7FC19B; --warn: #DDB06A; --bad: #E08D98; --demo: #050908; --demo-ink: #D7DDD9;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B120F; --surface: #121B17; --surface-2: #18241F; --ink: #E7EAE6; --muted: #9AA59F; --line: #25322C;
  --pine: #8DBBA2; --pine-ink: #0A120E; --berry: #D58C97; --berry-ink: #1A0609; --gold: #D2B576;
  --good: #7FC19B; --warn: #DDB06A; --bad: #E08D98; --demo: #050908; --demo-ink: #D7DDD9;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--demo); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Demo bar */
.demo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--demo); color: var(--demo-ink); }
.demo-inner { max-width: 1120px; margin: 0 auto; padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.demo-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 4px; padding: 2px 6px; opacity: .8; }
.seg { display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 6px 12px; cursor: pointer; font-size: 13px; color: var(--demo-ink); }
.seg button[aria-pressed="true"] { background: var(--demo-ink); color: var(--demo); font-weight: 600; }
.demo label { font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.demo select { background: transparent; color: var(--demo-ink); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 5px 8px; font-size: 13px; }
.demo select option { color: #15231D; background: #fff; }
.demo .day { font-size: 13px; margin-left: auto; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.demo .day strong { font-weight: 600; }
.demo .dbtn { background: transparent; color: var(--demo-ink); border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 5px 10px; cursor: pointer; font-size: 13px; }
.demo .dbtn:hover { background: rgba(255,255,255,.1); }

.wrap { max-width: 1120px; margin: 0 auto; padding-block: 28px 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 9px 14px; font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid transparent; }
.btn-berry { background: var(--berry); color: var(--berry-ink); }
.btn-berry:hover { filter: brightness(1.06); }
.btn-pine { background: var(--pine); color: var(--pine-ink); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-quiet:hover { background: var(--surface-2); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--pine); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 14px; min-width: 0; }

/* Client header */
.topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 18px; }
.who { display: flex; gap: 12px; align-items: center; font-size: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.hero-copy { display: grid; gap: 12px; align-content: center; }
.hero-copy p { max-width: 58ch; color: var(--muted); }
.prize { display: flex; gap: 12px; align-items: flex-start; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.prize-mark { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 16px; }
.prize strong { display: block; font-weight: 600; }

body { background-image: radial-gradient(color-mix(in srgb, var(--pine) 10%, transparent) 1px, transparent 1.6px); background-size: 24px 24px; }
.btn-gold { background: var(--gold-bright); color: #2B1D02; }
.btn-gold:hover { filter: brightness(1.05); }

/* Festive hero band */
.festive { position: relative; overflow: hidden; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, var(--night-2) 0%, var(--night) 62%); color: var(--snow-ink); padding-block: 46px 26px; padding-inline: clamp(16px, 4vw, 32px); box-shadow: 0 10px 40px rgba(8,30,22,.25); }
.festive .snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.festive-inner { position: relative; display: grid; gap: 24px; }
.festive-head { display: grid; gap: 10px; text-align: center; justify-items: center; }
.festive-head .eyebrow { color: var(--gold-bright); }
.festive-head h1 { color: #fff; font-size: clamp(34px, 6vw, 56px); }
.festive-head p { max-width: 60ch; color: rgba(238,245,241,.82); }
.festive-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.festive .ballots { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--snow-ink); backdrop-filter: blur(2px); }
.festive .ballots .big { color: var(--gold-bright); }

/* Fairy lights along the top edge */
.lights { position: absolute; top: 0; left: 0; right: 0; height: 30px; display: flex; justify-content: space-between; padding-inline: 10px; background: radial-gradient(140% 40px at 50% -24px, transparent 70%, rgba(255,255,255,.18) 71%, transparent 73%); }
.lights i { width: 9px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; margin-top: var(--y); position: relative; }
.lights i::before { content: ""; position: absolute; top: -4px; left: 2px; width: 5px; height: 5px; border-radius: 1px; background: #3A4A42; }
.lights .l0 { background: #FF5A6E; box-shadow: 0 0 10px 2px rgba(255,90,110,.7); }
.lights .l1 { background: #FFD25E; box-shadow: 0 0 10px 2px rgba(255,210,94,.7); }
.lights .l2 { background: #6EE7A0; box-shadow: 0 0 10px 2px rgba(110,231,160,.6); }
.lights .l3 { background: #7CC4FF; box-shadow: 0 0 10px 2px rgba(124,196,255,.6); }

/* Grand prize: Christmas wish card */
.wish-card { position: relative; overflow: hidden; background: radial-gradient(110% 120% at 85% 0%, #B3243C 0%, var(--wish-red) 55%, #6E1222 100%); border: 2px solid var(--ribbon); border-radius: 18px; padding: 30px 24px 22px; display: grid; gap: 12px; color: #FFF6F2; box-shadow: 0 0 0 5px rgba(231,181,74,.18), 0 16px 40px rgba(60,6,16,.35); }
.wish-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, #fff 0 9px, #D42A44 9px 18px); }
.wish-badge { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2B1D02; background: var(--gold-bright); padding: 4px 12px; border-radius: 999px; }
.wish-card h2 { font-size: clamp(30px, 4.6vw, 42px); color: #fff; line-height: 1.05; }
.wish-card .script { font-family: var(--font-script); font-size: 1.25em; color: var(--gold-bright); font-weight: 400; }
.wish-amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wish-amount .upto { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,246,242,.8); }
.wish-amount .amt { font-family: var(--font-display); font-size: clamp(54px, 9vw, 84px); line-height: 1; color: var(--gold-bright); background: linear-gradient(100deg, #E7B54A 20%, #FFF0C4 45%, #E7B54A 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 10px rgba(243,201,92,.35)); }
.wish-card p { color: rgba(255,246,242,.88); max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.chip.gold { background: var(--gold-bright); color: #2B1D02; border-color: transparent; }
.wish-form { display: grid; gap: 8px; border-top: 1px dashed rgba(255,255,255,.3); padding-top: 14px; }
.wish-form label { font-weight: 600; }
.wish-form textarea { width: 100%; resize: vertical; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.18); color: #fff; padding: 10px 12px; font: inherit; }
.wish-form textarea::placeholder { color: rgba(255,255,255,.55); }
.ideas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: rgba(255,246,242,.75); }
.idea { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; }
.idea:hover { background: rgba(255,255,255,.12); }
.wish-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wish-note { font-size: 12.5px; color: rgba(255,246,242,.7); }
.wish-saved { display: grid; gap: 4px; border-top: 1px dashed rgba(255,255,255,.3); padding-top: 14px; }
.wish-saved .eyebrow { color: var(--gold-bright); }
.wish-saved q { font-family: var(--font-display); font-size: 20px; color: #fff; }
.wish-saved .link, .festive .link { color: var(--gold-bright); justify-self: start; }
.win-wish q { font-family: var(--font-display); }
.wish-sub { max-width: 28ch; }

.ballots { background: var(--pine); color: var(--pine-ink); border-radius: 14px; padding: 22px; display: grid; gap: 14px; }
.ballots .eyebrow { color: inherit; opacity: .8; }
.ballots .big { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.ballots .big span { font-family: var(--font-body); font-size: 15px; opacity: .85; margin-left: 6px; }
.brk { display: grid; gap: 4px; font-size: 14px; }
.brk div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 4px; }
.brk div:last-child { border-bottom: 0; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.dots i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.22); }
.dots i.on { background: var(--pine-ink); }
.dots i.late { background: rgba(255,255,255,.55); }

/* Calendar */
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tag { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px 14px; display: grid; gap: 6px; align-content: start; min-height: 168px; }
.tag::before { content: ""; position: absolute; top: 10px; right: 12px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); }
.tag .dn { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.tag .dd { font-size: 12px; color: var(--muted); }
.tag .gn { font-weight: 600; font-size: 14px; margin-top: 4px; }
.tag .st { font-size: 12.5px; color: var(--muted); }
.tag .cta { margin-top: auto; padding-top: 8px; }
.tag.today { border: 2px solid var(--berry); box-shadow: var(--shadow); background: linear-gradient(180deg, color-mix(in srgb, var(--berry) 7%, var(--surface)), var(--surface) 60%); }
.tag.today .st { color: var(--berry); font-weight: 600; }
.tag .ribbon.peek { background: var(--gold); color: var(--surface); }
.tag.locked.revealed .gn { font-size: 15px; }
.tag .ribbon.peek { z-index: 2; }
.tag .hint { font-size: 12px; color: var(--muted); font-style: italic; }
.tag .stock { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tag .stock.low { color: var(--berry); }
.tag .stock.out { color: var(--muted); text-decoration: line-through; }
.tag.gone { opacity: .6; }
.budget { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.budget > div { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.budget b { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.claimcell { min-width: 120px; display: grid; gap: 4px; }
.claimcell .pill { font-size: 11px; padding: 1px 6px; margin-left: 4px; }
.remind { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.remind:hover { background: var(--surface-2); }
.remind.on { background: var(--pine); border-color: var(--pine); color: var(--pine-ink); }
.remind-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px 16px; }
.remind-copy { display: grid; gap: 2px; min-width: 0; flex: 1 1 280px; }
.remind-opts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.remind-opts a.btn { text-decoration: none; }
.chk { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500; }
.tag .ribbon { position: absolute; top: -1px; left: 14px; background: var(--berry); color: var(--berry-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 0 0 6px 6px; }
.tag.claimed { background: var(--surface-2); }
.tag.claimed .st { color: var(--good); font-weight: 600; }
.tag.claimed .st.nob { color: var(--muted); font-weight: 500; }
/* Wrapped presents: locked days are gift-wrapped with a gold ribbon and bow */
.tag.locked { border: 0; color: #fff; background-color: var(--wrap-1); background-image: radial-gradient(rgba(255,255,255,.13) 1.4px, transparent 1.7px); background-size: 14px 14px; padding-right: 50px; box-shadow: var(--shadow); }
.tag.locked:nth-child(3n+2) { background-color: var(--wrap-2); }
.tag.locked:nth-child(3n) { background-color: var(--wrap-3); }
.tag.locked::before { display: none; }
.tag.locked::after { content: ""; position: absolute; top: 0; bottom: 0; right: 20px; width: 10px; background: var(--ribbon); box-shadow: inset 2px 0 0 rgba(255,255,255,.25); }
.tag .bow { position: absolute; top: -10px; right: 1px; width: 48px; height: 34px; z-index: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.tag.locked .dn, .tag.locked .gn { color: #fff; }
.tag.locked .dd, .tag.locked .st, .tag.locked .hint, .tag.locked .stock { color: rgba(255,255,255,.82); }
.tag.locked:not(.revealed) .gn { font-style: italic; opacity: .9; }
.tag.locked .remind { border-color: rgba(255,255,255,.45); color: #fff; }
.tag.locked .remind:hover { background: rgba(255,255,255,.12); }
.tag.locked .remind.on { background: var(--ribbon); border-color: var(--ribbon); color: #2B1D02; }
.tag.missed .st { color: var(--warn); }

.notice { border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--line)); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; }

/* Referral */
.ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 10px; align-items: start; font-size: 14px; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; }
.linkbox { display: flex; gap: 8px; flex-wrap: wrap; }
.linkbox input { flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 8px 10px; font-family: var(--font-mono); font-size: 13px; }
.reflist { display: grid; gap: 8px; }
.refrow { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.s-signed_up { color: var(--warn); }
.pill.s-booked { color: var(--pine); }
.pill.s-attended { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.pill.s-no_show { color: var(--muted); }
.pill.s-pending { color: var(--warn); }
.pill.s-active { color: var(--good); }
.meter { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--pine); }
.rules { font-size: 13px; color: var(--muted); max-width: 80ch; }

/* Login + sign-up */
.center { max-width: 460px; width: 100%; margin: 24px auto 0; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; width: 100%; }
.check { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; font-size: 13px; color: var(--muted); align-items: start; }
.check input { margin-top: 3px; }
.err { color: var(--bad); font-size: 13px; font-weight: 600; }
.ok { display: grid; gap: 10px; }

/* Mobile + one-time code sign-in */
.phone-row { display: flex; gap: 8px; }
.phone-row .cc { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.phone-row input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; font-size: 16px; letter-spacing: .04em; }
.flabel { font-size: 13px; font-weight: 600; }
.field input.otp { font-family: var(--font-mono); font-size: 24px; letter-spacing: .5em; text-align: center; padding: 12px; }
.otp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.demo-code { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.demo-code .mono { color: var(--ink); font-weight: 600; letter-spacing: .12em; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.stat.attn { border-color: var(--warn); }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.sub { font-size: 12px; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 140px; padding-top: 8px; }
.bar { display: grid; gap: 4px; align-content: end; height: 100%; text-align: center; font-size: 11px; color: var(--muted); }
.bar .col { display: flex; flex-direction: column-reverse; border-radius: 4px 4px 0 0; overflow: hidden; min-height: 2px; background: var(--surface-2); }
.bar .col i { display: block; }
.bar .col i.a { background: var(--pine); }
.bar .col i.b { background: color-mix(in srgb, var(--pine) 40%, var(--surface-2)); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--pine); }
.legend span.b::before { background: color-mix(in srgb, var(--pine) 40%, var(--surface-2)); }
.winner { border: 2px solid var(--gold); border-radius: 12px; padding: 16px; display: grid; gap: 4px; background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.winner .name { font-family: var(--font-display); font-size: 26px; }
.settings { display: grid; gap: 10px; }
.setrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }
.setrow input { width: 64px; border: 1px solid var(--line); background: var(--bg); border-radius: 6px; padding: 5px 8px; text-align: right; font-family: var(--font-mono); }
.ph { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* Modal + toast */
.scrim { position: fixed; inset: 0; background: rgba(5,12,9,.55); display: grid; place-items: center; z-index: 40; padding: 16px; }
.modal { background: var(--surface); border-radius: 16px; max-width: 420px; width: 100%; padding: 26px; display: grid; gap: 14px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal .code { font-family: var(--font-mono); font-size: 20px; letter-spacing: .08em; border: 1.5px dashed var(--pine); border-radius: 10px; padding: 10px; }
.modal .bal { font-weight: 600; color: var(--good); }
.modal .bal.nob { color: var(--muted); font-weight: 500; font-size: 14px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 50; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- Classic finish: evergreen, claret and champagne gold; quiet effects ---------- */
body { background-image: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: .005em; }
h1 { font-size: clamp(34px, 5.5vw, 50px); }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
.brand { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.eyebrow { letter-spacing: .14em; }
.stat b, .budget b, .ballots .big, .tag .dn { font-weight: 600; }
.festive { background: linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid rgba(201,169,97,.28); box-shadow: 0 12px 34px rgba(10,20,15,.16); padding-block: 52px 30px; }
.festive::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201,169,97,.2); border-radius: 13px; pointer-events: none; }
.festive-head .eyebrow { color: var(--ribbon); letter-spacing: .3em; font-weight: 500; }
.festive-head h1 { font-size: clamp(38px, 6.5vw, 64px); font-weight: 600; }
.festive-head p { color: rgba(238,238,232,.75); }
.festive .ballots { background: transparent; border: 1px solid rgba(201,169,97,.3); backdrop-filter: none; }
.festive .ballots .eyebrow { color: var(--ribbon); opacity: 1; }
.festive .ballots .big { font-family: var(--font-display); font-size: 64px; }
.festive .ballots .brk div { border-bottom-color: rgba(201,169,97,.18); }
.festive .dots i { background: rgba(255,255,255,.12); }
.festive .dots i.on { background: var(--ribbon); }
.festive .dots i.late { background: rgba(201,169,97,.45); }
.lights { padding-inline: 18px; background: none; border-top: 0; }
.lights::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 18px; border-bottom: 1px solid rgba(201,169,97,.25); border-radius: 0 0 50% 50%; }
.lights i { width: 5px; height: 7px; }
.lights i::before { display: none; }
.lights .l0, .lights .l1, .lights .l2, .lights .l3 { background: #FCEBC2; box-shadow: 0 0 7px 2px rgba(252,226,170,.4); }

.wish-card { background: linear-gradient(165deg, #142820 0%, #0C1712 100%); border: 1px solid var(--ribbon); box-shadow: inset 0 0 0 6px #0F1E18, inset 0 0 0 7px rgba(201,169,97,.32), 0 14px 34px rgba(0,0,0,.22); color: var(--snow-ink); padding: 36px 30px 28px; }
.wish-card::before { display: none; }
.wish-badge { background: transparent; color: var(--ribbon); border: 0; border-bottom: 1px solid rgba(201,169,97,.5); border-radius: 0; padding: 0 0 4px; letter-spacing: .32em; font-size: 11px; font-weight: 600; animation: none; }
.wish-card h2 { font-size: clamp(32px, 4.6vw, 44px); font-weight: 600; }
.wish-card .script { color: var(--gold-bright); }
.wish-amount .upto { color: rgba(238,238,232,.7); letter-spacing: .2em; font-size: 12px; }
.wish-amount .amt { font-family: var(--font-display); font-weight: 600; font-size: clamp(60px, 10vw, 92px); background: linear-gradient(180deg, #F3E4BC 0%, #D2B472 55%, #A3864A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: none; animation: none; }
.wish-card p { color: rgba(238,238,232,.8); }
.chip { background: transparent; border-color: rgba(201,169,97,.35); font-weight: 500; }
.chip.gold { background: transparent; color: var(--gold-bright); border-color: var(--ribbon); }
.btn-gold { background: var(--ribbon); color: #17130A; }
.wish-form, .wish-saved { border-top: 1px solid rgba(201,169,97,.25); }
.wish-form textarea { background: rgba(255,255,255,.03); border-color: rgba(201,169,97,.35); }
.idea { border-color: rgba(201,169,97,.3); }
.wish-saved q { font-size: 24px; font-style: italic; }

/* Wish countdown */
.deadline { display: grid; gap: 8px; border-top: 1px solid rgba(201,169,97,.25); padding-top: 14px; }
.dl-label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ribbon); }
.dl-sub { font-size: 13px; color: rgba(238,238,232,.7); }
.cd { display: flex; gap: 8px; flex-wrap: wrap; }
.cd-box { display: grid; justify-items: center; min-width: 62px; padding: 8px 6px 6px; border: 1px solid rgba(201,169,97,.4); border-radius: 8px; background: rgba(0,0,0,.18); }
.cd-box b { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; color: #F3E4BC; font-variant-numeric: tabular-nums lining-nums; }
.cd-box i { font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,238,232,.65); margin-top: 3px; }

/* Wrapped days: evergreen and claret paper, champagne ribbon */
.tag.locked { background-image: none; }
.tag.locked::after { width: 6px; right: 22px; box-shadow: none; }
.tag .bow { top: -9px; right: 1px; }
.tag.locked .remind.on { background: var(--ribbon); border-color: var(--ribbon); color: #17130A; }
.tag .dn { font-size: 36px; }
.tag.today { border: 1.5px solid var(--gold); background: var(--surface); }
.tag.today .ribbon { background: var(--ribbon); color: #17130A; }
.tag.today .st { color: var(--gold); }
.tag .ribbon.peek { background: var(--night); color: var(--ribbon); border: 1px solid var(--ribbon); border-top: 0; }
.tag .stock.low { color: var(--gold); }
@keyframes glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ribbon) 25%, transparent), var(--shadow); } }

/* A little claret in the top band */
.festive { background: radial-gradient(70% 55% at 100% 100%, rgba(110,30,43,.38), transparent 70%), radial-gradient(55% 45% at 0% 0%, rgba(110,30,43,.22), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); }
.flourish { display: flex; align-items: center; gap: 10px; width: min(240px, 70%); }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ribbon)); }
.flourish::after { background: linear-gradient(90deg, var(--ribbon), transparent); }
.flourish i { width: 9px; height: 9px; background: #8E2436; border: 1px solid var(--ribbon); transform: rotate(45deg); }
.wish-badge { color: #E7B9A8; border-bottom-color: #8E2436; }
.wish-card { border-top: 3px solid #7A1E2D; }
.festive .ballots { background: linear-gradient(165deg, #4A1621 0%, #2B0C13 100%); border-color: rgba(201,169,97,.38); }
.festive .ballots .brk div { border-bottom-color: rgba(231,185,168,.16); }
.cd-box { background: rgba(110,30,43,.5); border-color: rgba(201,169,97,.45); }
.chip.gold { background: rgba(110,30,43,.55); border-color: rgba(201,169,97,.5); }

/* Friend invitation page */
.invite { display: grid; gap: 20px; }
.invite-hero { display: grid; gap: 10px; text-align: center; justify-items: center; padding: 36px 20px 30px; border-radius: 18px; color: var(--snow-ink); background: radial-gradient(70% 70% at 100% 100%, rgba(110,30,43,.4), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid rgba(201,169,97,.28); }
.invite-hero .eyebrow { color: var(--ribbon); letter-spacing: .26em; }
.invite-hero h1 { color: #fff; max-width: 22ch; }
.invite-hero p { max-width: 62ch; color: rgba(238,238,232,.8); }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
.ticks li::before { content: ""; width: 7px; height: 7px; margin: 7px 0 0 4px; background: var(--berry); transform: rotate(45deg); }
.stepper { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stepper .on { color: var(--berry); }
.stepper .done { color: var(--good); }
.signup.center { max-width: 560px; }
.seg-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-choice button { text-align: left; display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; color: var(--muted); }
.seg-choice button strong { color: var(--ink); font-size: 15px; }
.seg-choice button em { font-style: normal; font-weight: 600; color: var(--gold); }
.seg-choice button.on { border: 1.5px solid var(--berry); background: color-mix(in srgb, var(--berry) 5%, var(--surface)); }
.slot-days, .slot-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-day, .slot { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 7px 12px; cursor: pointer; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.slot-day.on, .slot.on { background: var(--pine); border-color: var(--pine); color: var(--pine-ink); }
.book-foot { display: grid; gap: 6px; }
.appt-card { display: grid; gap: 4px; border: 1px solid var(--line); border-left: 3px solid var(--berry); border-radius: 10px; padding: 12px 14px; background: var(--surface-2); }
.appt-card strong { font-family: var(--font-display); font-size: 22px; }
@media (max-width: 760px) { .invite-grid, .seg-choice { grid-template-columns: minmax(0, 1fr); } }

/* Gift modal: promo code and delivery */
.modal { max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h2 { font-size: 30px; }
.redeem { display: grid; gap: 10px; text-align: left; }
.codebox { display: flex; gap: 8px; align-items: center; justify-content: space-between; border: 1.5px dashed var(--gold); border-radius: 10px; padding: 10px 12px; }
.codebox .code { border: 0; padding: 0; font-family: var(--font-mono); font-size: 19px; letter-spacing: .08em; }
.how { display: grid; gap: 8px; background: var(--surface-2); border-radius: 10px; padding: 14px 16px; }
.how h3 { font-size: 20px; }
.steps-how { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { text-align: left; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; font-size: 13px; color: var(--muted); }
.choice strong { color: var(--ink); font-size: 14px; }
.choice:hover { border-color: var(--gold); }
.choice-row { display: flex; gap: 14px; align-items: center; }
.redeem .field textarea { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; width: 100%; font: inherit; color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .tag.today { animation: glow 2.4s ease-in-out infinite; }
  .lights i { animation: twinkle 2.2s ease-in-out infinite; }
  @keyframes twinkle { 50% { opacity: .35; box-shadow: none; } }
  .wish-amount .amt { animation: shimmer 3.5s linear infinite; }
  @keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
  .wish-badge { animation: bob 3s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-2px); } }
  @keyframes glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--berry) 18%, transparent), var(--shadow); } }
  .modal { animation: pop .25s ease-out; }
  @keyframes pop { from { transform: scale(.94); opacity: .4; } }
}

.tag.won { background: var(--surface); border: 1.5px solid var(--gold); }
.tag.won .ribbon { background: var(--ribbon); color: #17130A; }
.tag.won .st { color: var(--gold); font-weight: 600; }
.festive .dots i.won { background: #F6E7BE; box-shadow: 0 0 6px rgba(246,231,190,.6); }

/* Ballots sit under the wish card as one wide strip */
.festive-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; width: 100%; margin: 0 auto; }
.festive .ballots { grid-template-columns: minmax(0, auto) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; column-gap: 32px; padding: 22px 26px; }
.festive .ballots .b-total { display: grid; gap: 6px; }

@media (max-width: 900px) {
  .festive .ballots { grid-template-columns: minmax(0, 1fr); }
  .hero, .ref, .two, .festive-grid, .choices { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo .day { margin-left: 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tag { min-height: 150px; }
  .bars { gap: 3px; }
}

/* Winner banners, Day 12 tile, next-year card */
.win-banner { border-radius: 16px; padding: 16px 20px; display: grid; gap: 6px; }
.win-banner p { margin: 0; }
.daily-win { background: var(--panel, #fff); border: 1px solid rgba(201,162,74,.45); }
.grand-win { background: linear-gradient(135deg, #7a1f2b, #4a1018); color: #fff8e6; border: 1px solid #c9a24a; text-align: center; padding: 24px 20px; }
.grand-win h2 { margin: 0; font-size: 28px; color: #f3d98b; }
.grand-win .sub { color: #fff8e6; opacity: .85; }
.grand-win .eyebrow { color: #f3d98b; }
.tag.grand { border-color: #c9a24a; box-shadow: inset 0 0 0 1px rgba(201,162,74,.6); }
.next-year { display: grid; gap: 18px; padding: 0; overflow: hidden; }
.next-year h3 { margin: 0; }
.ty-note { display: grid; gap: 10px; padding: 26px 24px 22px; color: var(--snow-ink); background: radial-gradient(70% 70% at 100% 100%, rgba(110,30,43,.4), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); border-bottom: 1px solid rgba(201,169,97,.35); }
.ty-note .eyebrow { color: var(--ribbon); }
.ty-note h2 { color: #fff; max-width: 30ch; }
.ty-note p { color: rgba(238,238,232,.85); max-width: 64ch; }
.ty-note .ty-sign { font-family: var(--font-script); font-size: 30px; color: var(--gold-bright); line-height: 1; }
.ty-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.ty-stats span { font-size: 13px; border: 1px solid rgba(201,169,97,.4); border-radius: 999px; padding: 4px 12px; }
.ty-stats b { color: var(--gold-bright); }
.ny-q { display: grid; gap: 12px; padding: 0 24px 22px; }
.ny-q textarea { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; width: 100%; font: inherit; color: var(--ink); resize: vertical; }
.tag.tag.tag.locked { background-color: var(--wrap-1); }
.tag .worth { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-top: -2px; }
.tag.locked .worth { color: var(--gold-bright); }
.tag .kind { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.tag.locked .kind { color: var(--ribbon); }
/* Day 12: the grand prize tile */
.tag.tag.grand { border: 2px solid var(--ribbon); color: #FFF8E6; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, rgba(243,217,139,.32), transparent 60%), linear-gradient(160deg, #7A1F2B, #3E0B14 70%);
  box-shadow: 0 0 0 1px rgba(201,169,97,.35), 0 10px 30px -8px rgba(201,169,97,.55); }
.tag.tag.grand::after { display: none; }
.tag.grand .dn { color: #F3D98B; }
.tag.grand .dd, .tag.grand .st, .tag.grand .stock { color: rgba(255,248,230,.85); }
.tag.grand .ribbon { background: var(--ribbon); color: #2B1D02; z-index: 2; }
.tag.grand .g-title { font-family: var(--font-display); font-size: 21px; line-height: 1.1; color: #FFF8E6; margin-top: 2px; }
.tag.grand .g-title em { font-family: var(--font-script); font-style: normal; font-size: 30px; color: #F3D98B; }
.tag.grand .g-amt { display: flex; align-items: baseline; gap: 6px; }
.tag.grand .g-amt span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.tag.grand .g-amt b { font-family: var(--font-display); font-size: 24px; color: #F3D98B; font-variant-numeric: lining-nums; }
.tag.grand.missed { opacity: .75; }
.tag.tag.grand::before { content: "\2726  \2727  \2726"; position: absolute; top: auto; left: auto; right: 12px; bottom: 10px; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: rgba(243,217,139,.6); font-size: 12px; display: block; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tag.tag.grand::before { animation: none; } }
.tag.top { box-shadow: inset 0 0 0 2px var(--ribbon), var(--shadow); }
.tag .ribbon.top-rib { background: var(--ribbon); color: #2B1D02; }
.today-card { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; background: var(--surface); border: 1.5px solid var(--ribbon); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.today-info { display: grid; gap: 3px; min-width: 0; flex: 1 1 240px; }
.today-info .eyebrow { color: var(--gold); }
.today-info strong { font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.today-info .link { justify-self: start; margin-top: 4px; }
.today-btn { font-size: 16px; padding: 12px 20px; flex: 0 0 auto; }
.today-done { display: grid; gap: 2px; font-weight: 700; color: var(--good); }
@media (max-width: 560px) { .today-btn { width: 100%; } }
.tag.tag.tag.locked.top { background: radial-gradient(120% 70% at 50% 0%, rgba(243,217,139,.22), transparent 65%), linear-gradient(160deg, #2F7A57, #1E4D38 75%); box-shadow: 0 0 0 2px var(--ribbon), 0 8px 24px -6px rgba(201,169,97,.5); }
.tag.locked.top .gn { font-size: 16px; }
.win-pop { position: relative; padding-top: 30px; border: 1.5px solid var(--ribbon); }
.win-pop .eyebrow { color: var(--gold); }
.pop-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.pop-x:hover { background: var(--surface-2); }
.pop-you { border-radius: 10px; padding: 10px 12px; background: var(--surface-2); font-size: 14px; }
.pop-you.won { background: color-mix(in srgb, var(--ribbon) 22%, var(--surface)); display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 16px; }
.pop-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-height: 40vh; overflow-y: auto; }
.pop-names li { font-family: var(--font-mono); font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.pop-names li.more { font-family: var(--font-body); border: 0; color: var(--muted); }
.pop-all { font-size: 16px; }
.grand-pop { background: linear-gradient(160deg, #7A1F2B, #3E0B14 75%); color: #FFF8E6; }
.grand-pop .eyebrow, .grand-pop h2 { color: #F3D98B; }
.grand-pop .sub { color: rgba(255,248,230,.85); }
.grand-pop .pop-x { background: transparent; color: #FFF8E6; border-color: rgba(255,248,230,.4); }
.win-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; }
.earn { display: grid; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.earn-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.earn-item { display: grid; gap: 4px; align-content: start; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13.5px; }
.earn-item b { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--gold); }
.earn-item.hi { border: 1.5px solid var(--ribbon); background: color-mix(in srgb, var(--ribbon) 10%, var(--surface)); }
@media (max-width: 760px) { .earn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ig-card { display: flex; gap: 14px 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 6px; }
.ig-copy { display: grid; gap: 6px; flex: 1 1 320px; min-width: 0; }
.ig-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.panel.attn { border-color: var(--warn); }
.terms { font-size: 13px; color: var(--muted); }
.terms summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; width: max-content; }
.terms summary { margin: 0 auto; }
.terms[open] { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px 20px; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; margin: 18px 0 12px; }
.terms-grid h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); }
.terms-grid ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.55; }
.terms-grid li::marker { color: var(--gold); }
@media (max-width: 700px) { .terms-grid { grid-template-columns: minmax(0, 1fr); } .terms[open] { padding: 16px; } }
/* "How it works" steps in the top band */
.festive-head .how-row { max-width: 860px; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; text-align: left; }
.how-step { display: grid; gap: 4px; align-content: start; border: 1px solid rgba(201,169,97,.3); border-radius: 12px; padding: 14px 16px; background: rgba(255,255,255,.03); color: rgba(238,238,232,.78); font-size: 14px; line-height: 1.5; }
.how-step b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ribbon); }
.how-step strong { color: #fff; font-size: 15px; }
@media (max-width: 900px) { .festive-head .how-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .festive-head .how-row { grid-template-columns: minmax(0, 1fr); } }
.wish-warn { display: flex; gap: 10px 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1.5px solid #D9A441; background: color-mix(in srgb, #D9A441 14%, var(--surface)); border-radius: 10px; padding: 10px 12px; font-size: 14px; text-align: left; }
.wish-warn.last { border-color: #E06A5A; background: color-mix(in srgb, #E06A5A 16%, var(--surface)); }
.wish-warn span { flex: 1 1 220px; }
.live-n { font-weight: 700; display: inline-block; }
.live-n.bump { animation: liveBump .6s ease; }
@keyframes liveBump { 0% { transform: scale(1.35); color: #c9a24a; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .live-n.bump { animation: none; } }
