/* ─── Gold Club · Member reveal
 * Aesthetic: Dubai Jewellery house brand (dubaijewellery.ch). Deep MAGENTA stage
 * (#C11D99 brand magenta), brushed-gold accents, restrained typography.
 * Mobile-first; scales gracefully to tablet.
 * ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand magenta stage — darkest edge → rich mid → bright brand magenta centre. */
  --magenta-1: #2a0420;
  --magenta-2: #7a0a5f;
  --magenta-3: #c11d99;
  --gold:       #e8c46a;
  --gold-1:     #fbe9b0;
  --gold-2:     #b08526;
  --ink:        #1f100a;
  --cream:      #fff7e6;
  --cream-soft: #f3d6c5;
  --line:       rgba(255,255,255,.14);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  min-height: 100vh; color: var(--cream);
  font: 15px/1.55 var(--font-body);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--magenta-3), var(--magenta-2) 50%, var(--magenta-1) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Rotating soft rays (CSS only — no JS) */
.rays {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .35;
}
.rays::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 200vmax; height: 200vmax; transform: translate(-50%,-50%);
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.05) 0deg 6deg, transparent 6deg 12deg);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Stage */
.stage {
  position: relative; z-index: 1; max-width: 460px; margin: 0 auto;
  padding: 22px 22px 60px; min-height: 100vh;
  display: flex; flex-direction: column;
}
.hide { display: none !important; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.brand-logo-img { height: 60px; width: auto; display: block; border-radius: 6px; }
.wordmark { font: 700 22px/1 var(--font-display); letter-spacing: .5px; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.wordmark em { color: var(--gold); font-style: normal; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions select {
  background: rgba(255,255,255,.06); color: var(--cream);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; font: 600 11px/1 var(--font-body); letter-spacing: 1px;
}
.link {
  background: none; border: 0; color: var(--cream-soft);
  padding: 6px 8px; font: 600 13px/1 var(--font-body); cursor: pointer;
}
.link:hover { color: var(--cream); }

/* Panels */
.panel {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.08));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.display {
  font: 600 28px/1.15 var(--font-display); margin: 0 0 8px;
  letter-spacing: .3px;
}
.lead { color: var(--cream-soft); margin: 0 0 18px; font-size: 14.5px; }
.legal { color: rgba(255,255,255,.5); font-size: 11.5px; margin-top: 18px; }

/* Fields */
.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block; font: 600 11px/1 var(--font-body);
  color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 13px 14px; font: 15px var(--font-body); color: var(--cream);
  background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,196,106,.2); }
.field .hint { display: block; color: rgba(255,255,255,.55); margin-top: 6px; font-size: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 18px; border: 0; border-radius: var(--r-sm);
  font: 700 14px/1 var(--font-body); letter-spacing: .4px;
  cursor: pointer; transition: transform .04s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-1), var(--gold) 55%, var(--gold-2));
  box-shadow: 0 8px 20px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }

.err { color: #ffd2c7; font-size: 13px; min-height: 16px; margin-top: 10px; }

/* ─── Card stage ─────────────────────────────────────────────────────── */
.card-stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 8px;
}
.hello { font-size: 14px; opacity: .8; margin: 2px 0 4px; }
.scheme { font: 600 16px/1 var(--font-body); margin: 0 0 4px; }
.period {
  font: 600 11px/1 var(--font-body); letter-spacing: 2.5px;
  text-transform: uppercase; opacity: .6; margin: 0 0 18px;
}

/* ─── Chit carousel (multiple chits in one scheme) ───────────────────── */
.chit-nav {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: -6px 0 14px;
}
.chit-counter {
  font: 600 11px/1 var(--font-body); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-1); min-width: 96px; text-align: center;
}
.chit-arrow {
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  color: var(--gold-1); background: rgba(0,0,0,.25);
  border: 1px solid var(--line); transition: background .2s, transform .1s;
}
.chit-arrow:hover { background: rgba(232,196,106,.18); }
.chit-arrow:active { transform: scale(.92); }
.chit-arrow:disabled { opacity: .3; cursor: default; }
.chit-dots {
  display: flex; gap: 8px; justify-content: center; margin: 14px 0 2px;
}
.chit-dots .dot {
  width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.22);
  transition: background .2s, transform .2s; cursor: pointer;
}
.chit-dots .dot.active { background: linear-gradient(180deg, var(--gold-1), var(--gold)); transform: scale(1.15); }
.chit-dots .dot.done { background: var(--gold-2); }
.chit-progress {
  font: 600 11px/1 var(--font-body); letter-spacing: 1px; opacity: .6;
  margin: 8px 0 0; text-transform: uppercase;
}

.card-wrap {
  position: relative;
  width: 300px; height: 380px;
  border-radius: 22px; overflow: hidden;
  border: 6px solid var(--gold);
  box-shadow:
    0 24px 60px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.18);
}
.frame-lights {
  position: absolute; inset: 0; border-radius: 16px; pointer-events: none; z-index: 3;
  background: radial-gradient(circle, var(--gold-1) 38%, transparent 42%) 0 0/26px 26px round;
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
          mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 8px; opacity: .45;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:.45; } 50% { opacity:.78; } }

.prize {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background: radial-gradient(120% 100% at 50% 0%, #ffd98a, #f3b64e 55%, #d99327);
  color: var(--ink);
}
.prize .seal {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; font-family: Georgia, serif; font-weight: 800; font-size: 36px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 60%, var(--gold-2));
  color: #5a3b0a; margin-bottom: 10px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.5), 0 6px 14px rgba(0,0,0,.32);
}
.prize .big { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 700; }
.prize .sub { font-size: 13.5px; line-height: 1.4; opacity: .85; margin-top: 8px; max-width: 230px; }
.prize .rv-winner {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  margin-bottom: 18px; padding-bottom: 16px; max-width: 260px;
  border-bottom: 1px solid rgba(90,59,10,.22);
}
.prize .rv-winner-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .7; }
/* The winner is the hero of this card — bigger, bolder, and highlighted in a soft
   rose pill (brand accent) so it pops against the gold instead of blending in. */
.prize .rv-winner-name {
  font-family: var(--font-display); font-size: 32px; line-height: 1.12; font-weight: 800;
  color: #4a0f2e;
  background: rgba(193,29,153,.12);
  border: 1px solid rgba(193,29,153,.32);
  border-radius: 14px; padding: 5px 18px;
  display: inline-block; max-width: 100%;
}

canvas#scratch {
  position: absolute; inset: 0; z-index: 2; touch-action: none; cursor: grab;
  width: 100%; height: 100%; display: block;
}
.scratch-hint {
  position: absolute; z-index: 4; bottom: 14px; left: 0; right: 0;
  text-align: center; color: var(--ink); font: 700 12px/1 var(--font-body);
  letter-spacing: 1.5px; text-transform: uppercase; pointer-events: none;
  animation: hintPulse 1.8s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

.verify {
  margin-top: 18px; font-size: 12.5px; opacity: .75; text-align: center; line-height: 1.5; max-width: 320px;
}
.verify a { color: var(--gold-1); }

.actions {
  margin-top: 22px; display: flex; gap: 18px; justify-content: center;
}
.actions .link { color: var(--cream-soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ─── Modal ─────────────────────────────────────────────────────────── */
.modal-host { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: 100%; max-width: 460px;
  background: #1f0c17; color: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font: 600 18px/1 var(--font-display); }
.modal-body { padding: 18px; font-size: 14px; line-height: 1.55; }
.modal-body ol { padding-left: 20px; }
.modal-body li { margin: 6px 0; }
.icon-btn { background: transparent; border: 0; color: var(--cream-soft); font-size: 16px; cursor: pointer; }

/* ─── Member dashboard (savings · ledger · winners) ─────────────────────── */
.dash { width: 100%; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; animation: dashIn .5s ease both; }
@keyframes dashIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dash-loading { text-align: center; color: var(--cream-soft); padding: 24px; font-size: 20px; }

.dash-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.28); backdrop-filter: blur(2px);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash-head h3 { margin: 0; font: 600 18px/1 var(--font-display); color: var(--gold-1); letter-spacing: .3px; }
.status-pill {
  font: 600 10.5px/1 var(--font-body); letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap;
}
.status-pill.active   { color: var(--cream); background: rgba(255,255,255,.06); }
.status-pill.rewarded { color: var(--ink); background: linear-gradient(180deg, var(--gold-1), var(--gold)); border-color: transparent; }

/* Progress */
.progress { height: 10px; border-radius: 999px; background: rgba(0,0,0,.3); overflow: hidden; border: 1px solid var(--line); }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); transition: width .8s cubic-bezier(.22,1,.36,1); }
.progress-label { margin-top: 8px; font-size: 13px; color: var(--cream-soft); }

.dash-stats { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.dash-stats > div {
  flex: 1; min-width: 90px; background: rgba(0,0,0,.22); border: 1px solid var(--line);
  border-radius: var(--r); padding: 11px 12px; display: flex; flex-direction: column; gap: 3px;
}
.ds-v { font: 600 19px/1 var(--font-display); color: var(--cream); }
.ds-v.gold { color: var(--gold-1); }
.ds-l { font-size: 11px; color: var(--cream-soft); opacity: .85; }

/* Instalment ledger */
.ledger { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 7px; }
.led {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px;
  font: 600 12px/1 var(--font-body); border: 1px solid var(--line);
}
.led.paid   { background: linear-gradient(180deg, var(--gold-1), var(--gold)); color: var(--ink); border-color: transparent; }
.led.waived { background: rgba(111,183,138,.22); color: #bfe6cc; border-color: rgba(111,183,138,.45); }
.led.due    { background: rgba(0,0,0,.22); color: var(--cream-soft); opacity: .65; }
.legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--cream-soft); flex-wrap: wrap; }
.legend i.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.dot.paid { background: var(--gold); } .dot.waived { background: #6fb78a; } .dot.due { background: rgba(255,255,255,.25); }

/* Winners timeline */
.winners { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.win-row {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "p who proof" "p meta proof";
  gap: 1px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line);
}
.win-row:last-child { border-bottom: 0; }
.win-period { grid-area: p; font: 600 13px/1 var(--font-body); color: var(--gold-1); background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.win-who { grid-area: who; color: var(--cream); font-size: 14px; }
.win-phone { color: var(--cream-soft); font-size: 12px; }
.win-meta { grid-area: meta; color: var(--cream-soft); font-size: 12px; opacity: .85; }
.win-proof { grid-area: proof; color: var(--gold-1); font-size: 12.5px; white-space: nowrap; }
.win-row.mine { background: linear-gradient(90deg, rgba(232,196,106,.12), transparent); border-radius: 12px; padding-inline: 10px; margin-inline: -10px; }
.win-row.mine .win-who { color: var(--gold-1); font-weight: 600; }
.win-empty { color: var(--cream-soft); padding: 12px 0; }
.privacy-note { margin: 12px 0 0; font-size: 11.5px; color: var(--cream-soft); opacity: .75; line-height: 1.5; }

/* ─── Reward history (cards: month · winner avatar + masked identity) ───── */
.hist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hist-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.hist-card.won {
  border-color: rgba(232,196,106,.45);
  background: linear-gradient(180deg, rgba(232,196,106,.14), rgba(232,196,106,.03));
}
.hist-card.won::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-1), var(--gold)); }
.hist-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hist-month { font: 600 16px var(--font-display); color: var(--gold-1); letter-spacing: .3px; }
.hist-scheme { font-size: 12px; color: var(--cream-soft); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.hist-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hist-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font: 700 16px var(--font-body); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 3px 8px rgba(0,0,0,.32);
}
.hist-wtext { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; min-width: 0; }
.hist-wtext b { font-size: 14px; color: var(--cream); font-weight: 600; }
.hist-card.won .hist-wtext b { color: var(--gold-1); }
.hist-phone { font: 12px var(--font-mono); color: var(--cream-soft); opacity: .85; letter-spacing: .5px; }
.hist-verify { justify-self: end; font-size: 12.5px; color: var(--gold-1); white-space: nowrap; }

/* ─── Sealed (pre-reveal) states ────────────────────────────────────────── */
.seal.sealed { background: radial-gradient(circle at 35% 30%, #fff6df, var(--gold) 60%, var(--gold-2)); color: #5a3b0a; opacity: .9; }
.win-row.sealed .win-who { opacity: .8; }
.hist-avatar.sealed { background: rgba(255,255,255,.08); color: var(--cream-soft); border-color: var(--line); font-size: 16px; }
.hist-card.sealed { opacity: .82; }

/* ─── Reveal animation (prize pop + confetti) ───────────────────────────── */
@keyframes revealPop { 0% { transform: scale(.9); opacity: .35; } 55% { transform: scale(1.035); } 100% { transform: scale(1); opacity: 1; } }
.prize.reveal-pop { animation: revealPop .6s cubic-bezier(.22,1,.36,1); }
.confetti-cv { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

/* ─── Notifications bell + scheme switcher + cookie bar ─────────────────── */
.icon-link { position: relative; background: transparent; border: 0; color: var(--cream); cursor: pointer; padding: 6px; line-height: 0; }
.icon-link svg { width: 22px; height: 22px; }
.notif-dot { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 999px; background: #ff6b6b; border: 2px solid var(--magenta-2); }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.notif-list li:last-child { border-bottom: 0; }
.notif-list li.unread { position: relative; padding-left: 14px; }
.notif-list li.unread::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 7px; border-radius: 999px; background: var(--gold-1); }
.notif-t { font-weight: 600; font-size: 14px; color: var(--cream); }
.notif-b { font-size: 13px; color: var(--cream-soft); margin-top: 2px; }
.notif-time { font-size: 11.5px; color: var(--cream-soft); opacity: .7; margin-top: 4px; }

.scheme-switch { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.scheme-pill {
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--cream-soft);
  border-radius: 999px; padding: 7px 14px; font: 600 12.5px var(--font-body); cursor: pointer;
}
.scheme-pill.active { background: linear-gradient(180deg, var(--gold-1), var(--gold)); color: var(--ink); border-color: transparent; }

.cookie-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 70;
  display: flex; align-items: center; gap: 14px; max-width: 92vw;
  background: #1f0c17; color: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: 0 14px 36px rgba(0,0,0,.45); font-size: 13px;
}
.cookie-bar .btn { flex: none; }

/* ─── Mini toast (self-service confirmations) ───────────────────────────── */
.mini-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  background: #1f0c17; color: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font: 600 13px var(--font-body);
  box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; transition: opacity .25s, transform .25s; z-index: 60;
}
.mini-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── Reveal button (accessible alternative to scratching) ──────────────── */
.reveal-btn { margin-top: 16px; width: 100%; max-width: 300px; }
.card-wrap:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 4px; }

/* ─── Announcement / countdown card face ────────────────────────────────── */
.announce { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; width: 100%; }
.ann-eyebrow {
  font: 600 11px/1 var(--font-body); letter-spacing: 1.5px; text-transform: uppercase;
  color: #6b4708; opacity: .8;
}
.countdown { display: flex; gap: 8px; justify-content: center; margin: 4px 0; }
.cd-cell {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: rgba(58,40,7,.14); border: 1px solid rgba(58,40,7,.18);
  border-radius: 12px; padding: 9px 8px; min-width: 52px;
}
.cd-cell b { font: 700 24px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.cd-cell i { font: 600 9.5px/1 var(--font-body); letter-spacing: .6px; text-transform: uppercase; color: #6b4708; font-style: normal; opacity: .85; }
.ann-date { font: 600 13px/1.3 var(--font-body); color: #4a3206; max-width: 220px; }
.ann-last {
  margin-top: 8px; font: 500 11.5px/1 var(--font-body); color: #5a3b0a;
  background: rgba(255,255,255,.35); border: 1px solid rgba(90,59,10,.18);
  border-radius: 999px; padding: 5px 11px;
}

/* ─── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (min-width: 520px) {
  .card-wrap { width: 340px; height: 430px; }
  .display { font-size: 32px; }
  .stage { max-width: 540px; }
}
