/* =====================================================================
   BIRTHDAY VAULT — theme (bv.css)
   Design language from docs/game-ideas/visuals/birthday-vault-flow.html:
   cream canvas, coral + gold accents, ink borders, hard offset shadows,
   Fraunces display / Plus Jakarta Sans body / JetBrains Mono labels.
   ===================================================================== */

:root {
  --bv-cream:  #F7F0E1;
  --bv-paper:  #FFFDF6;
  --bv-ink:    #1A1612;
  --bv-soft:   #5C5344;
  --bv-accent: #E8590C;
  --bv-accent-deep: #C74705;
  --bv-accent-soft: #FFE3CF;
  --bv-gold:   #E8A11C;
  --bv-gold-soft: #FFF3D6;
  --bv-good:   #2B7A6B;
  --bv-good-soft: #DCEFEA;
  --bv-bad:    #C0284A;
  --bv-wa:     #25D366;
  --bv-rule:   rgba(26, 22, 18, .16);
  --bv-shadow: 6px 6px 0 rgba(26, 22, 18, .10);
  --bv-shadow-sm: 3px 3px 0 rgba(26, 22, 18, .14);
  --bv-radius: 18px;
}

/* ── Canvas ─────────────────────────────────────────────────────── */
body.bv-body {
  background: var(--bv-cream);
  background-image:
    radial-gradient(circle at 12% 6%,  rgba(232, 161, 28, .12), transparent 42%),
    radial-gradient(circle at 88% 94%, rgba(232, 89, 12, .09),  transparent 42%);
  color: var(--bv-ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bv-display { font-family: 'Fraunces', Georgia, serif; font-weight: 900; letter-spacing: -.02em; }
.bv-mono    { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-soft); }

.bv-wrap { max-width: 720px; margin: 0 auto; padding: 18px 14px 70px; }
.bv-wrap-wide { max-width: 980px; }

/* ── Top brand bar ──────────────────────────────────────────────── */
.bv-topbar {
  display: flex; justify-content: center; padding: 14px 10px 0;
}
.bv-topbrand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.15rem;
  color: var(--bv-ink); text-decoration: none;
}
.bv-topbrand:hover { color: var(--bv-accent); text-decoration: none; }
.bv-topbrand-emoji { font-size: 1.35rem; animation: bvFloat 3.2s ease-in-out infinite; }

/* ── Cards ──────────────────────────────────────────────────────── */
.bv-card {
  background: var(--bv-paper);
  border: 2px solid var(--bv-ink);
  border-radius: var(--bv-radius);
  box-shadow: var(--bv-shadow);
  padding: 22px 20px;
  margin: 18px 0;
  animation: bvRise .45s cubic-bezier(.2, .9, .3, 1.2) both;
}
.bv-card + .bv-card { animation-delay: .08s; }
.bv-card-flat { box-shadow: none; }

.bv-hero { text-align: center; padding: 26px 10px 6px; }
.bv-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bv-soft);
}
.bv-hero-kicker::before, .bv-hero-kicker::after { content: ""; width: 26px; height: 2px; background: var(--bv-accent); }
.bv-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(1.9rem, 6.4vw, 3rem); line-height: 1.02; margin: 0 0 10px;
}
.bv-hero h1 em { font-style: italic; color: var(--bv-accent); }
.bv-hero-sub { color: var(--bv-soft); font-size: 1.02rem; max-width: 540px; margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────────────────── */
.bv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px;
  background: var(--bv-accent); color: #fff;
  border: 2px solid var(--bv-ink); border-radius: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1rem;
  box-shadow: var(--bv-shadow-sm); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; user-select: none;
}
.bv-btn:hover, .bv-btn:focus { color: #fff; text-decoration: none; background: var(--bv-accent-deep); transform: translate(-1px, -2px); box-shadow: 5px 6px 0 rgba(26,22,18,.16); }
.bv-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(26,22,18,.16); }
.bv-btn-gold  { background: var(--bv-gold); color: var(--bv-ink); }
.bv-btn-gold:hover, .bv-btn-gold:focus { background: #D99206; color: var(--bv-ink); }
.bv-btn-ghost { background: var(--bv-paper); color: var(--bv-ink); box-shadow: none; }
.bv-btn-ghost:hover, .bv-btn-ghost:focus { background: var(--bv-accent-soft); color: var(--bv-ink); }
.bv-btn-wa    { background: var(--bv-wa); }
.bv-btn-wa:hover, .bv-btn-wa:focus { background: #1EB456; }
.bv-btn-sm    { width: auto; padding: 8px 14px; font-size: .84rem; border-radius: 11px; }
.bv-btn[disabled] { opacity: .55; pointer-events: none; }

/* ── Forms ──────────────────────────────────────────────────────── */
.bv-label { display: block; font-weight: 800; font-size: .92rem; margin: 14px 0 6px; }
.bv-hint  { font-size: .78rem; color: var(--bv-soft); margin: 4px 0 8px; }
.bv-input, .bv-select, .bv-textarea {
  width: 100%; padding: 12px 14px;
  background: #fff; color: var(--bv-ink);
  border: 2px solid var(--bv-ink); border-radius: 12px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.bv-input:focus, .bv-select:focus, .bv-textarea:focus {
  outline: none; border-color: var(--bv-accent); box-shadow: 0 0 0 4px rgba(232, 89, 12, .18);
}
.bv-textarea { min-height: 96px; resize: vertical; font-weight: 500; }
.bv-file {
  display: block; width: 100%; padding: 10px 12px; background: #fff;
  border: 2px dashed var(--bv-accent); border-radius: 12px;
  font-size: .86rem; font-weight: 700; color: var(--bv-soft);
}
.bv-input-err { border-color: var(--bv-bad) !important; animation: bvShake .4s ease; }
.bv-err { display: none; color: var(--bv-bad); font-size: .8rem; font-weight: 700; margin-top: 6px; }
.bv-err.show { display: block; animation: bvRise .25s ease both; }

.bv-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── Chips ──────────────────────────────────────────────────────── */
.bv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; background: var(--bv-gold-soft);
  border: 2px solid var(--bv-ink); border-radius: 999px;
  font-size: .84rem; font-weight: 700; cursor: pointer; user-select: none;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.bv-chip:hover { transform: translateY(-2px) rotate(-1deg); }
.bv-chip.selected { background: var(--bv-accent); color: #fff; }
.bv-chip input { display: none; }

/* ── Emoji avatar picker ────────────────────────────────────────── */
.bv-avatars { display: flex; flex-wrap: wrap; gap: 9px; }
.bv-avatar {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; background: #fff;
  border: 2px solid var(--bv-ink); border-radius: 14px; cursor: pointer;
  transition: transform .14s cubic-bezier(.2,.9,.3,1.4), background .14s ease, box-shadow .14s ease;
}
.bv-avatar:hover { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.bv-avatar.selected { background: var(--bv-accent-soft); border-color: var(--bv-accent); box-shadow: var(--bv-shadow-sm); transform: scale(1.08); }

/* ── Date picker (month/day) ────────────────────────────────────── */
.bv-date-note {
  display: flex; align-items: center; gap: 8px;
  background: var(--bv-gold-soft); border: 2px dashed var(--bv-gold);
  border-radius: 12px; padding: 9px 12px; font-size: .82rem; font-weight: 600;
  margin-top: 10px; color: var(--bv-soft);
}

/* ── Wizard steps ───────────────────────────────────────────────── */
.bv-progress { margin: 4px 0 6px; }
.bv-progress-track { height: 12px; background: #fff; border: 2px solid var(--bv-ink); border-radius: 999px; overflow: hidden; }
.bv-progress-fill {
  height: 100%; width: 0;
  background: repeating-linear-gradient(-45deg, var(--bv-accent) 0 12px, var(--bv-gold) 12px 24px);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width .5s cubic-bezier(.2, .9, .3, 1);
  animation: bvCandy 6s linear infinite;
}
.bv-progress-label { text-align: center; margin-top: 7px; }

.bv-step { display: none; }
.bv-step.active { display: block; animation: bvStepIn .38s cubic-bezier(.2, .9, .3, 1.1) both; }
.bv-step-title { font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; margin: 4px 0 4px; }
.bv-step-title em { font-style: italic; color: var(--bv-accent); }
.bv-nav { display: flex; gap: 10px; margin-top: 18px; }
.bv-nav .bv-back { flex: 0 0 auto; width: auto; padding-inline: 16px; }
.bv-nav .bv-next { flex: 1; }

/* ── Question template picker ───────────────────────────────────── */
.bv-tpl-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.bv-tpl {
  text-align: left; background: #fff; border: 2px solid var(--bv-ink); border-radius: 12px;
  padding: 10px 12px; font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.bv-tpl:hover { transform: translateX(3px); background: var(--bv-gold-soft); }
.bv-tpl.selected { background: var(--bv-accent-soft); border-color: var(--bv-accent); }

.bv-opt-edit { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.bv-opt-edit .bv-input { padding: 9px 12px; font-size: .88rem; }
.bv-opt-pick {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  border: 2px solid var(--bv-ink); background: #fff; cursor: pointer;
  font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  transition: background .12s ease, transform .12s ease;
}
.bv-opt-pick:hover { transform: scale(1.08); }
.bv-opt-pick.selected { background: var(--bv-good); color: #fff; border-color: var(--bv-ink); }
.bv-correct-hint { font-size: .78rem; font-weight: 700; color: var(--bv-good); }

/* ── Coupon picker / coupon cards ───────────────────────────────── */
.bv-coupons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bv-coupon-pick {
  display: flex; align-items: center; gap: 8px;
  border: 2px dashed var(--bv-accent); border-radius: 12px; background: #fff;
  padding: 10px 11px; font-size: .8rem; font-weight: 800; cursor: pointer;
  transition: transform .13s ease, background .13s ease;
}
.bv-coupon-pick:hover { transform: translateY(-2px) rotate(-.6deg); }
.bv-coupon-pick.selected { background: var(--bv-accent-soft); border-style: solid; box-shadow: var(--bv-shadow-sm); }
.bv-coupon-pick .em { font-size: 1.25rem; }

.bv-coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 2px dashed var(--bv-accent); border-radius: 14px; background: #fff;
  padding: 12px 14px; font-weight: 800; font-size: .95rem; margin: 10px 0;
  position: relative; overflow: hidden;
}
.bv-coupon::before, .bv-coupon::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px;
  background: var(--bv-paper); border: 2px dashed var(--bv-accent); border-radius: 50%;
  transform: translateY(-50%);
}
.bv-coupon::before { left: -11px; }
.bv-coupon::after  { right: -11px; }
.bv-coupon .em { font-size: 1.5rem; }
.bv-coupon-body { flex: 1; }
.bv-coupon-from { display: block; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bv-soft); margin-top: 3px; }
.bv-coupon.redeemed { opacity: .55; border-color: var(--bv-soft); }
.bv-coupon.redeemed::before, .bv-coupon.redeemed::after { border-color: var(--bv-soft); }
.bv-redeem-btn {
  flex: 0 0 auto; border: 2px solid var(--bv-ink); border-radius: 999px;
  background: var(--bv-accent); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 6px 13px; cursor: pointer; letter-spacing: .04em;
  transition: transform .12s ease, background .12s ease;
}
.bv-redeem-btn:hover { transform: scale(1.06); background: var(--bv-accent-deep); }
.bv-redeem-btn.done { background: var(--bv-good); pointer-events: none; }

/* ── The vault: gift-box grid ───────────────────────────────────── */
.bv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
@media (min-width: 560px) { .bv-grid { grid-template-columns: repeat(4, 1fr); } }

.bv-box {
  aspect-ratio: 1; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(160deg, var(--bv-gold-soft), #FFE9BE);
  border: 2px solid var(--bv-ink); border-radius: 16px;
  font-size: 2rem; cursor: pointer; user-select: none;
  box-shadow: var(--bv-shadow-sm);
  transition: transform .16s cubic-bezier(.2, .9, .3, 1.4), box-shadow .16s ease;
  animation: bvRise .5s cubic-bezier(.2,.9,.3,1.2) both;
}
.bv-box:nth-child(3n+2) { animation-delay: .06s; }
.bv-box:nth-child(3n+3) { animation-delay: .12s; }
.bv-box:hover { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 5px 7px 0 rgba(26,22,18,.14); }
.bv-box .bv-box-lock {
  position: absolute; right: 7px; bottom: 6px; font-size: .82rem;
}
.bv-box .bv-box-from {
  font-family: 'JetBrains Mono', monospace; font-size: .56rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--bv-soft); max-width: 92%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bv-box.sealed { cursor: pointer; }
.bv-box.sealed:active { animation: bvShake .45s ease; }
.bv-box.shake { animation: bvShake .45s ease; }
.bv-box.cracked {
  background: linear-gradient(160deg, var(--bv-accent-soft), #FFD3B5);
  cursor: default;
}
.bv-box.cracked .bv-box-lock { display: none; }
.bv-box.opening { animation: bvCrack .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.bv-box-shimmer::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 47%, transparent 64%);
  background-size: 250% 100%;
  animation: bvShimmer 3.4s ease-in-out infinite;
}

/* ── Countdown ──────────────────────────────────────────────────── */
.bv-countdown { display: flex; justify-content: center; gap: 8px; margin: 18px 0 4px; }
.bv-cd-cell { text-align: center; }
.bv-cd-num {
  min-width: 58px; padding: 12px 8px;
  background: var(--bv-ink); color: #fff;
  border-radius: 12px; border: 2px solid var(--bv-ink);
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 1.5rem;
  box-shadow: var(--bv-shadow-sm);
}
.bv-cd-num.tick { animation: bvPulse .5s ease; }
.bv-cd-lbl { margin-top: 6px; font-family: 'JetBrains Mono', monospace; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bv-soft); }

/* ── Live counter pill ──────────────────────────────────────────── */
.bv-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bv-good-soft); border: 2px solid var(--bv-ink); border-radius: 999px;
  padding: 7px 15px; font-weight: 800; font-size: .86rem;
}
.bv-live-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--bv-good); box-shadow: 0 0 0 0 rgba(43,122,107,.5); animation: bvPing 1.8s ease-out infinite; }

/* ── Share panel ────────────────────────────────────────────────── */
.bv-linkbox { display: flex; gap: 8px; margin: 8px 0; }
.bv-linkbox .bv-input { font-size: .82rem; font-weight: 600; color: var(--bv-soft); }
.bv-copy-btn { flex: 0 0 auto; width: auto; padding-inline: 15px; }
.bv-copied { background: var(--bv-good) !important; color: #fff !important; }

.bv-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bv-share-row .bv-btn { width: auto; flex: 1 1 44%; font-size: .85rem; padding: 10px 12px; }

/* ── Wish cards ─────────────────────────────────────────────────── */
.bv-wish {
  background: var(--bv-gold-soft); border: 2px solid var(--bv-ink); border-radius: 14px;
  padding: 14px 16px; margin: 10px 0; font-size: .98rem; font-weight: 500;
  box-shadow: var(--bv-shadow-sm); position: relative;
  animation: bvRise .45s cubic-bezier(.2,.9,.3,1.2) both;
}
.bv-wish::before { content: "💌"; position: absolute; top: -12px; left: 14px; font-size: 1.2rem; }
.bv-wish-from {
  display: block; margin-top: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: .64rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bv-soft);
}
.bv-wish-photo {
  display: block; width: 100%; max-height: 360px; object-fit: cover;
  border: 2px solid var(--bv-ink); border-radius: 12px;
  margin: 12px 0 4px; background: #fff; box-shadow: var(--bv-shadow-sm);
}

/* ── Question modal ─────────────────────────────────────────────── */
.bv-modal-back {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(26, 22, 18, .55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.bv-modal-back.open { display: flex; animation: bvFade .25s ease both; }
.bv-modal {
  width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  background: var(--bv-paper); border: 3px solid var(--bv-ink); border-radius: 22px;
  box-shadow: 8px 8px 0 rgba(26, 22, 18, .25);
  padding: 22px 20px; animation: bvStepIn .32s cubic-bezier(.2, .9, .3, 1.2) both;
}
.bv-modal.shake { animation: bvShake .45s ease; }
.bv-modal-q { font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.25rem; line-height: 1.2; margin: 8px 0 14px; }
.bv-modal-close {
  float: right; border: 2px solid var(--bv-ink); background: #fff; border-radius: 10px;
  width: 34px; height: 34px; font-weight: 800; cursor: pointer; font-size: 1rem;
}

.bv-opt {
  display: block; width: 100%; text-align: left;
  background: #fff; border: 2px solid var(--bv-ink); border-radius: 13px;
  padding: 12px 14px; margin: 8px 0; font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: transform .13s ease, background .13s ease, opacity .2s ease;
}
.bv-opt:hover { transform: translateX(4px); background: var(--bv-gold-soft); }
.bv-opt.wrong { background: #F6DCE2; border-color: var(--bv-bad); color: var(--bv-bad); opacity: .55; pointer-events: none; text-decoration: line-through; }
.bv-opt.right { background: var(--bv-good); border-color: var(--bv-ink); color: #fff; }
.bv-taunt { min-height: 22px; text-align: center; font-weight: 800; font-size: .88rem; color: var(--bv-bad); }
.bv-taunt.happy { color: var(--bv-good); }
.bv-hintline { min-height: 18px; text-align: center; font-size: .78rem; font-weight: 800; color: var(--bv-soft); margin-top: 3px; }

/* ── Reveal inside modal ────────────────────────────────────────── */
.bv-reveal { text-align: center; }
.bv-reveal-burst { font-size: 3rem; letter-spacing: 6px; animation: bvPop .6s cubic-bezier(.2, .9, .3, 1.6) both; }

/* ── Score / stats strip ────────────────────────────────────────── */
.bv-stats { display: flex; gap: 10px; margin: 14px 0; }
.bv-stat {
  flex: 1; text-align: center; background: #fff;
  border: 2px solid var(--bv-ink); border-radius: 14px; padding: 12px 8px;
}
.bv-stat b { display: block; font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.5rem; color: var(--bv-accent); }
.bv-stat span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bv-soft); }

/* ── Box list (build page) ──────────────────────────────────────── */
.bv-boxrow {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--bv-ink); border-radius: 13px;
  padding: 10px 12px; margin: 8px 0; font-size: .88rem; font-weight: 700;
}
.bv-boxrow .em { font-size: 1.3rem; }
.bv-boxrow-meta { flex: 1; min-width: 0; }
.bv-boxrow-meta small { display: block; color: var(--bv-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-boxrow-badges { display: flex; gap: 5px; flex: 0 0 auto; }
.bv-badge { font-size: .82rem; }
.bv-boxrow-del {
  flex: 0 0 auto; border: 2px solid var(--bv-ink); background: #fff; color: var(--bv-bad);
  border-radius: 9px; width: 30px; height: 30px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.bv-boxrow-del:hover { background: #F6DCE2; color: var(--bv-bad); text-decoration: none; }

/* ── My vaults strip (home) ─────────────────────────────────────── */
.bv-mine { display: flex; flex-direction: column; gap: 8px; }
.bv-mine-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--bv-ink); border-radius: 13px;
  padding: 10px 14px; font-weight: 800; text-decoration: none; color: var(--bv-ink);
  transition: transform .13s ease, background .13s ease;
}
.bv-mine-row:hover { transform: translateX(4px); background: var(--bv-gold-soft); color: var(--bv-ink); text-decoration: none; }
.bv-mine-row .date { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--bv-soft); }

/* ── Steps “how it works” ───────────────────────────────────────── */
.bv-how { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
@media (min-width: 560px) { .bv-how { grid-template-columns: repeat(3, 1fr); } }
.bv-how-card { background: #fff; border: 2px solid var(--bv-ink); border-radius: 14px; padding: 14px; text-align: center; }
.bv-how-card .em { font-size: 1.7rem; }
.bv-how-card h4 { font-family: 'Fraunces', serif; font-weight: 900; font-size: .98rem; margin: 6px 0 3px; }
.bv-how-card p { font-size: .78rem; color: var(--bv-soft); margin: 0; }

/* Birthday Radar / anniversary */
.bv-radar { background: linear-gradient(180deg, #FFFDF6, #FFF5E2); }
.bv-radar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bv-radar-head .em { font-size: 2rem; }
.bv-radar-list { display: flex; flex-direction: column; gap: 8px; }
.bv-radar-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  background: #fff; border: 2px solid var(--bv-ink); border-radius: 13px;
  padding: 10px 12px; color: var(--bv-ink); text-decoration: none;
  transition: transform .13s ease, background .13s ease;
}
.bv-radar-row:hover { transform: translateX(4px); background: var(--bv-gold-soft); color: var(--bv-ink); text-decoration: none; }
.bv-radar-date {
  font-family: 'JetBrains Mono', monospace; font-size: .67rem; font-weight: 800; color: var(--bv-accent);
  text-transform: uppercase;
}
.bv-radar-person { min-width: 0; }
.bv-radar-person b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-radar-person small { display: block; color: var(--bv-soft); font-size: .72rem; font-weight: 700; }
.bv-radar-cta { font-size: .72rem; font-weight: 900; color: var(--bv-good); white-space: nowrap; }
.bv-radar-mini {
  margin-top: 10px; padding: 10px 12px; background: var(--bv-good-soft);
  border: 2px dashed var(--bv-good); border-radius: 12px;
}
.bv-radar-mini .bv-label { margin-top: 0; }
.bv-anniversary { background: var(--bv-good-soft); border-color: var(--bv-good); }

/* ── Confetti ───────────────────────────────────────────────────── */
.bv-confetti {
  position: fixed; top: -14px; z-index: 2000; pointer-events: none;
  animation: bvConfetti linear forwards;
}
@keyframes bvConfetti {
  0%   { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(108vh) rotate(720deg); opacity: .85; }
}

/* ── Keyframes ──────────────────────────────────────────────────── */
@keyframes bvRise   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bvFade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes bvStepIn { from { opacity: 0; transform: translateX(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bvPop    { 0% { opacity: 0; transform: scale(.3); } 70% { transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bvFloat  { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes bvPulse  { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes bvShake  {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-7px) rotate(-3deg); }
  30% { transform: translateX(6px)  rotate(3deg); }
  45% { transform: translateX(-5px) rotate(-2deg); }
  60% { transform: translateX(4px)  rotate(2deg); }
  75% { transform: translateX(-2px) rotate(-1deg); }
}
@keyframes bvCrack {
  0%   { transform: scale(1) rotate(0); }
  30%  { transform: scale(1.14) rotate(-5deg); }
  55%  { transform: scale(.94) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes bvShimmer { 0% { background-position: 210% 0; } 60%, 100% { background-position: -60% 0; } }
@keyframes bvPing   { 0% { box-shadow: 0 0 0 0 rgba(43,122,107,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(43,122,107,0); } }
@keyframes bvCandy  { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* Reduced motion — keep it usable for everyone */
@media (prefers-reduced-motion: reduce) {
  .bv-card, .bv-step.active, .bv-box, .bv-wish, .bv-modal,
  .bv-topbrand-emoji, .bv-progress-fill, .bv-box-shimmer::after { animation: none !important; }
  .bv-btn, .bv-box, .bv-chip, .bv-avatar { transition: none; }
}

/* ── Small screens ──────────────────────────────────────────────── */
@media (max-width: 420px) {
  .bv-card { padding: 18px 14px; }
  .bv-cd-num { min-width: 48px; font-size: 1.2rem; }
  .bv-coupons { grid-template-columns: 1fr; }
  .bv-share-row .bv-btn { flex: 1 1 100%; }
  .bv-radar-row { grid-template-columns: 56px minmax(0, 1fr); }
  .bv-radar-cta { grid-column: 2; }
}
