/* ============ Pujo Surprise — styles ============ */
:root {
  --night: #0a0612;
  --night-2: #170a1f;
  --maroon: #4a0f1f;
  --red: #c8102e;
  --hibiscus: #e0133a;
  --gold: #f2c14e;
  --gold-2: #ffe29a;
  --gold-dim: #a9833a;
  --pink: #ef5e95;
  --pink-2: #ff9ec4;
  --green: #2f8f5b;
  --graphite: #3a3d42;
  --cream: #fff6e5;
  --ink: #1c1018;
  --muted: rgba(255, 246, 229, 0.62);

  --font-display: "Cormorant Garamond", "Noto Serif Bengali", Georgia, serif;
  --font-bn: "Noto Serif Bengali", "Cormorant Garamond", serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  background: #000; overscroll-behavior: none;
  color: var(--cream);
  font-family: var(--font-ui);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* Phone frame on wide screens; fullscreen on real phones */
#phone {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, var(--night-2) 0%, var(--night) 60%, #050309 100%);
}
@media (min-width: 560px) {
  body {
    background:
      radial-gradient(60% 50% at 50% 50%, #1a0d22 0%, #07040b 70%);
  }
  #phone {
    inset: auto;
    top: 50%; left: 50%;
    width: 400px; height: min(860px, 96vh);
    transform: translate(-50%, -50%);
    border-radius: 44px;
    box-shadow: 0 0 0 10px #15121a, 0 0 0 12px #2a2630, 0 40px 100px rgba(0,0,0,.7);
  }
  #desktop-hint {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
    font-size: 12px; color: rgba(255,255,255,.35); letter-spacing: .08em;
    text-transform: uppercase;
  }
}
#desktop-hint { display: none; }
@media (min-width: 560px) { #desktop-hint { display: block; } }

/* ---------- Screens ---------- */
.screen {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  padding: calc(var(--safe-top) + 18px) 22px calc(var(--safe-bottom) + 22px);
  overflow: hidden;
}
.screen.active { display: flex; }
.screen .scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.screen .scroll::-webkit-scrollbar { display: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.01em; font-feature-settings: "liga", "kern"; }
h1 { font-size: 40px; line-height: 1.05; }
h2 { font-size: 30px; line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.2; }
.bn { font-family: var(--font-bn); }
.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; opacity: .9;
}
.lead { font-size: 16.5px; line-height: 1.55; color: var(--muted); font-weight: 400; }
.gold { color: var(--gold); }
.pink { color: var(--pink-2); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 16px 26px; border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 55%, #d9a63a 100%);
  box-shadow: 0 10px 30px rgba(242,193,78,.28), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn.ghost {
  background: transparent; color: var(--gold);
  box-shadow: inset 0 0 0 1.5px rgba(242,193,78,.55);
}
.btn.red {
  color: var(--cream);
  background: linear-gradient(180deg, #ff3b5c 0%, var(--red) 60%, #8f0a21 100%);
  box-shadow: 0 10px 30px rgba(200,16,46,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn.block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

.actions { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }

/* ---------- Ornaments ---------- */
.stars {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff; opacity: .5;
  animation: twinkle var(--d, 3s) ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .15; transform: scale(.7); } to { opacity: .9; transform: scale(1.3); } }

.alpona {
  position: absolute; left: 50%; bottom: -120px; transform: translateX(-50%);
  width: 520px; height: 520px; pointer-events: none; opacity: .14;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }

.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 45%, transparent 55%, rgba(0,0,0,.65) 100%);
}

/* ---------- Diya (start) ---------- */
#s-diya { justify-content: flex-end; align-items: center; text-align: center; }
#s-diya .title-wrap { position: absolute; top: 20%; left: 22px; right: 22px; opacity: 0; }
#s-diya .hint { position: absolute; bottom: calc(var(--safe-bottom) + 330px); left: 0; right: 0; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.diya-wrap {
  position: relative; width: 220px; height: 240px;
  margin-bottom: 6vh;
  display: flex; align-items: flex-end; justify-content: center;
}
.diya-glow {
  position: absolute; left: 50%; top: 20px; width: 420px; height: 420px;
  transform: translate(-50%, -40%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,190,80,.55) 0%, rgba(255,140,40,.25) 35%, transparent 70%);
  pointer-events: none;
}
.flame {
  position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%) scale(0);
  transform-origin: 50% 100%;
  width: 34px; height: 72px;
}
.flame .outer {
  position: absolute; inset: 0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 80%, #fff7cc 0%, #ffd34d 30%, #ff8a1f 65%, rgba(255,80,0,0) 100%);
  animation: flicker .18s ease-in-out infinite alternate;
  filter: blur(.3px);
}
.flame .inner {
  position: absolute; left: 30%; right: 30%; bottom: 6px; height: 45%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 90%, #ffffff 0%, #fff0a0 50%, rgba(255,230,120,0) 100%);
  animation: flicker .23s ease-in-out infinite alternate-reverse;
}
@keyframes flicker { from { transform: scaleX(1) scaleY(1) rotate(-2deg); } to { transform: scaleX(.9) scaleY(1.08) rotate(2.5deg); } }
.hold-ring {
  position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%);
  width: 180px; height: 180px; border-radius: 50%;
  pointer-events: none;
}
.hold-ring circle { fill: none; stroke-width: 2; }
.hold-ring .track { stroke: rgba(242,193,78,.18); }
.hold-ring .prog { stroke: var(--gold); stroke-dasharray: 534; stroke-dashoffset: 534; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.diya-svg { width: 220px; height: 150px; position: relative; z-index: 2; cursor: pointer; }
.many-diyas { position: absolute; inset: 0; pointer-events: none; }
.many-diyas .md {
  position: absolute; width: 10px; height: 14px; opacity: 0;
  background: radial-gradient(ellipse at 50% 90%, #fff3b0 0%, #ffb340 45%, rgba(255,120,30,0) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  filter: drop-shadow(0 0 8px rgba(255,170,60,.9));
  animation: flicker .25s ease-in-out infinite alternate;
}

/* ---------- Song pick ---------- */
.song-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.song {
  display: flex; align-items: center; gap: 14px;
  padding: 10px; border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer; transition: transform .15s ease, border-color .2s, background .2s;
}
.song:active { transform: scale(.985); }
.song.selected { border-color: var(--gold); background: rgba(242,193,78,.1); }
.song img { width: 84px; height: 60px; object-fit: cover; border-radius: 10px; background: #222; }
.song .meta { flex: 1; min-width: 0; }
.song .meta b { display: block; font-size: 15px; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.song .meta span { font-size: 12.5px; color: var(--muted); }
.song .num { font-family: var(--font-display); font-size: 22px; color: var(--gold); width: 24px; text-align: center; }

/* Mini YouTube player */
#player-dock {
  position: absolute; top: calc(var(--safe-top) + 10px); right: 12px; z-index: 50;
  width: 112px; height: 64px; border-radius: 12px; overflow: hidden;
  background: #000; box-shadow: 0 8px 24px rgba(0,0,0,.5);
  display: none; opacity: .92;
}
#player-dock.show { display: block; }
#player-dock.mini { width: 44px; height: 44px; border-radius: 50%; }
#player-dock iframe, #player-dock #yt { width: 100%; height: 100%; }
#player-dock.mini #yt { opacity: 0; pointer-events: none; }
#player-dock .eq {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px;
  background: radial-gradient(circle, #3a1a2a, #140812);
}
#player-dock.mini .eq { display: flex; }
#player-dock .eq i { width: 3px; height: 14px; background: var(--gold); border-radius: 2px; animation: eq .7s ease-in-out infinite alternate; }
#player-dock .eq i:nth-child(2) { animation-delay: .15s; } #player-dock .eq i:nth-child(3) { animation-delay: .3s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
#dock-toggle {
  position: absolute; top: calc(var(--safe-top) + 78px); right: 12px; z-index: 50;
  font-size: 11px; color: var(--muted); background: rgba(0,0,0,.4); border: 0; border-radius: 999px; padding: 4px 9px;
  display: none;
}
#dock-toggle.show { display: block; }

/* ---------- Opening line ---------- */
#s-opening { justify-content: center; }
#s-opening h1 { font-size: 36px; font-weight: 500; }
#s-opening h1 .w { display: inline-block; opacity: 0; transform: translateY(14px); margin-right: .28em; }
#s-opening h1 .w.hl { color: var(--gold); font-style: italic; }

/* ---------- Chapter header ---------- */
.chapter-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.chapter-head .bn { font-size: 26px; color: var(--gold); }
.back {
  background: none; border: 0; color: var(--muted); font-size: 13px; font-family: var(--font-ui);
  padding: 6px 0; cursor: pointer; letter-spacing: .04em; align-self: flex-start;
}

/* ---------- Scratch cards (Saptami) ---------- */
.cards { display: flex; flex-direction: column; gap: 22px; padding: 10px 0 30px; }
.scratch {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  background: #1b0f1f;
}
.scratch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.scratch .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px;
  background: linear-gradient(to top, rgba(10,6,18,.92), rgba(10,6,18,0));
  opacity: 0; transform: translateY(10px);
}
.scratch .cap b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.scratch .cap p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--cream); }
.scratch .lock {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.scratch.revealed .lock { display: none; }

/* ---------- Ride (Ashtami) ---------- */
#s-ride { padding: 0; background: linear-gradient(to bottom, #7fb3e3 0%, #b9d4ec 28%, #f2dcc0 52%, #f7c99a 68%, #f0a978 76%, #6b6672 76%, #6b6672 100%); }
#s-ride .stars { display: none; }
#s-ride .beam { display: none; }
.ride-scene { position: absolute; inset: 0; overflow: hidden; }
.ride-text {
  position: absolute; top: calc(var(--safe-top) + 10%); left: 22px; right: 22px; z-index: 5;
}
.ride-text h2 { font-size: 32px; opacity: 0; }
.ride-skip { position: absolute; right: 18px; bottom: calc(var(--safe-bottom) + 18px); z-index: 6; }

.sky-lights { position: absolute; left: 0; right: 0; top: 0; height: 60%; pointer-events: none; }
.layer { position: absolute; left: 0; width: 200%; background-repeat: repeat-x; }
.layer.far  { bottom: 23.5%; height: 160px; background-size: 800px 160px; animation: slide calc(22s / var(--speed, 1)) linear infinite; opacity: .95; }
.layer.mid  { bottom: 23.5%; height: 200px; background-size: 700px 200px; animation: slide calc(11s / var(--speed, 1)) linear infinite; }
.layer.near { bottom: 22%; height: 130px; background-size: 500px 130px; animation: slide calc(5s / var(--speed, 1)) linear infinite; }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(#7a7580, #5a5661 40%, #3f3b46); }
.road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 5px;
  background: repeating-linear-gradient(90deg, rgba(255,250,235,.85) 0 70px, transparent 70px 140px);
  background-size: 140px 5px;
  animation: dash calc(.55s / var(--speed, 1)) linear infinite;
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,240,220,.45);
}
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes dash { to { background-position: -140px 0; } }
.bike-wrap {
  position: absolute; left: 50%; bottom: calc(24% - 19px); width: 360px; height: 220px;
  transform: translateX(-50%);
  animation: bob 0.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 18px 14px rgba(0,0,0,.6));
}
@keyframes bob { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-3px); } }
.bike-wrap svg { width: 100%; height: 100%; overflow: visible; }
.wheel-spin { animation: wheel calc(.45s / var(--speed, 1)) linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wheel { to { transform: rotate(360deg); } }


/* ---------- Anjali (Ashtami game) ---------- */
#s-anjali { padding: 0; }
.anjali-stage { position: absolute; inset: 0; overflow: hidden; cursor: pointer; touch-action: none; }
.anjali-top {
  position: absolute; top: calc(var(--safe-top) + 14px); left: 22px; right: 22px; z-index: 3; pointer-events: none;
}
.idol {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  width: 220px; height: 260px; pointer-events: none;
}
.idol svg { width: 100%; height: 100%; overflow: visible; }
.halo {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242,193,78,.35) 0%, rgba(242,193,78,.08) 40%, transparent 70%);
  animation: breathe 3s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: translateX(-50%) scale(.95); opacity: .8; } to { transform: translateX(-50%) scale(1.08); opacity: 1; } }
.flower {
  position: absolute; width: 26px; height: 26px; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
}
.flower svg { width: 100%; height: 100%; }
.anjali-bottom {
  position: absolute; left: 22px; right: 22px; bottom: calc(var(--safe-bottom) + 22px); z-index: 3; pointer-events: none;
}
.count-ring { width: 92px; height: 92px; margin: 0 auto 10px; position: relative; }
.count-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.count-ring circle { fill: none; stroke-width: 5; }
.count-ring .t { stroke: rgba(255,255,255,.12); }
.count-ring .p { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset .25s ease; }
.count-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; color: var(--gold); }
.ritual-line {
  text-align: center; font-family: var(--font-display); font-size: 21px; line-height: 1.35; min-height: 60px;
  color: var(--cream); opacity: 0;
}
.ritual-line.bn { font-size: 20px; }
.tap-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.pile { position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }

/* ---------- Gallery (Nabami) ---------- */
#s-gallery .deck {
  position: relative; flex: 1; min-height: 0; margin: 12px 0 8px;
  touch-action: pan-y;
}
.polaroid {
  position: absolute; left: 50%; top: 50%; width: 82%; max-width: 330px;
  transform: translate(-50%, -50%);
  background: var(--cream); color: var(--ink);
  padding: 12px 12px 18px; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  will-change: transform;
}
.polaroid .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #ddd; border-radius: 3px; }
.polaroid .cap { font-family: var(--font-display); font-size: 19px; text-align: center; margin-top: 12px; color: #3b2230; font-weight: 600; }
.polaroid .idx { position: absolute; top: 18px; right: 20px; font-size: 11px; color: rgba(0,0,0,.4); letter-spacing: .1em; }
.polaroid .pin {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 20px; background: rgba(242,193,78,.75); border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.deck-hint { text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: all .2s; }
.dots i.on { background: var(--gold); width: 18px; border-radius: 3px; }
.smoke { position: absolute; bottom: 110px; left: 0; right: 0; height: 200px; pointer-events: none; overflow: hidden; }
.smoke i {
  position: absolute; bottom: -40px; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  animation: rise var(--d, 6s) linear infinite; animation-delay: var(--dl, 0s); left: var(--x, 50%);
}
@keyframes rise { to { transform: translateY(-260px) scale(2.2); opacity: 0; } }

/* ---------- Sindoor (Dashami) ---------- */
#s-sindoor { padding: 0; }
.sindoor-stage { position: absolute; inset: 0; }
.sindoor-top { position: absolute; top: calc(var(--safe-top) + 14px); left: 22px; right: 22px; z-index: 3; pointer-events: none; }
.sindoor-frame {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 86%; max-width: 340px; aspect-ratio: 3 / 4;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(242,193,78,.25);
  background: var(--cream);
}
.sindoor-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); }
.sindoor-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.sindoor-frame .prompt {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  color: #6b2a3a; text-align: center; padding: 30px; font-family: var(--font-display); font-size: 24px; line-height: 1.25;
}
.sindoor-frame .prompt small { display: block; font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; opacity: .6; }
.sindoor-bottom { position: absolute; left: 22px; right: 22px; bottom: calc(var(--safe-bottom) + 22px); z-index: 3; }
.sindoor-meter { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 14px; }
.sindoor-meter i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--red), var(--pink)); transition: width .2s; }

/* ---------- Letter ---------- */
.letter {
  background: var(--cream); color: var(--ink); border-radius: 18px; padding: 26px 22px;
  font-family: var(--font-display); font-size: 19px; line-height: 1.5;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.letter::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(200,16,46,.25); border-radius: 12px; pointer-events: none;
}
.letter p { margin: 0 0 14px; opacity: 1; transform: none; color: var(--ink); font-size: 18px; line-height: 1.6; }
.letter p:last-child { margin: 0; text-align: right; font-style: italic; }
.hero-card {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; max-height: 250px; margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(242,193,78,.3);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.hero-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 18px;
  background: linear-gradient(to top, rgba(10,6,18,.9), transparent);
}
.hero-card .cap b { font-family: var(--font-display); font-size: 24px; font-weight: 600; display: block; }
.hero-card .cap span { font-size: 14px; color: var(--cream); line-height: 1.4; display: block; margin-top: 4px; }
.hero-card .ribbon {
  position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800;
}

/* ---------- Finale ---------- */
.stat-row { display: flex; gap: 10px; margin: 18px 0; }
.stat {
  flex: 1; padding: 14px 12px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.stat b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--gold); line-height: 1; }
.stat span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.note-card {
  padding: 20px; border-radius: 20px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(242,193,78,.16), rgba(239,94,149,.12));
  border: 1px solid rgba(242,193,78,.25);
}
.note-card .eyebrow { display: block; margin-bottom: 8px; }
.note-card p { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.35; }
.note-card .countdown { margin-top: 12px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.secret-card {
  padding: 18px 20px; border-radius: 20px; margin-bottom: 14px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.18);
  display: flex; gap: 14px; align-items: center;
}
.secret-card .lockicon { font-size: 26px; }
.secret-card b { display: block; font-family: var(--font-display); font-size: 19px; }
.secret-card span { font-size: 13px; color: var(--muted); }
.secret-card.open { border-style: solid; border-color: var(--pink); background: rgba(239,94,149,.1); flex-direction: column; align-items: flex-start; }
.secret-card.open p { margin: 6px 0 0; font-family: var(--font-display); font-size: 19px; line-height: 1.4; }

/* ---------- Toast ---------- */
#toast {
  position: absolute; left: 50%; top: calc(var(--safe-top) + 16px); transform: translate(-50%, -20px);
  z-index: 60; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,246,229,.95); color: var(--ink); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; white-space: nowrap; max-width: 90%; text-overflow: ellipsis; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* ---------- Transition curtain ---------- */
#curtain {
  position: absolute; inset: 0; z-index: 100; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--maroon), var(--night));
  opacity: 0;
}

/* ---------- Petal rain ---------- */
.petal {
  position: absolute; top: -30px; width: 14px; height: 14px; pointer-events: none; z-index: 45;
  border-radius: 50% 0 50% 0; opacity: .9;
}

/* ---------- Pujo confetti (shiuli) ---------- */
.shiuli { position: absolute; pointer-events: none; z-index: 45; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spacer { flex: 1; }
.tiny { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.progress-pips { display: flex; gap: 5px; }
.progress-pips i { width: 14px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); }
.progress-pips i.on { background: var(--gold); }


/* ---------- Polaroid flip ---------- */
.polaroid { background: transparent; padding: 0; box-shadow: none; perspective: 1200px; }
.polaroid .face, .polaroid .backside {
  background: var(--cream); color: var(--ink); padding: 12px 12px 18px; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.polaroid .backside {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: #fff9ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='28'%3E%3Cline x1='0' y1='27' x2='100' y2='27' stroke='%23e6cfc0' stroke-width='1'/%3E%3C/svg%3E") repeat;
  padding: 26px 24px;
}
.polaroid .backside p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.35; color: #4a2030; }
.polaroid .backside .heart { font-size: 22px; margin-top: 14px; color: var(--red); }
.polaroid .backside .tiny { color: #9a7a6a; margin-top: 10px; }
.polaroid.flipped .face { transform: rotateY(180deg); }
.polaroid.flipped .backside { transform: rotateY(360deg); }

/* ---------- Ride hearts ---------- */
.heart-p { position: absolute; font-size: 18px; pointer-events: none; z-index: 6; color: #ff5e7e; filter: drop-shadow(0 0 6px rgba(255,94,126,.7)); }
#ride-sub { font-size: 15px; color: var(--pink-2); margin-top: 10px; opacity: 0; font-style: italic; font-family: var(--font-display); font-size: 19px; }

/* ---------- Tomorrow teaser ---------- */
.teaser { padding: 16px 20px; border-radius: 20px; margin-bottom: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.teaser .eyebrow { display: block; margin-bottom: 6px; color: var(--muted); }
.teaser p { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.35; filter: blur(5px); user-select: none; opacity: .8; }
.teaser .lockline { position: absolute; inset: auto 0 0 0; padding: 8px; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: linear-gradient(to top, rgba(10,6,18,.9), transparent); }

/* ---------- Ride: tap to hold tight ---------- */
.ride-tap { position: absolute; left: 22px; right: 22px; bottom: calc(var(--safe-bottom) + 26px); z-index: 6; text-align: center; pointer-events: none; }
.tap-pips { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.tap-pips i { width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); transition: background .25s, box-shadow .25s; }
.tap-pips i.on { background: var(--pink-2); box-shadow: 0 0 14px rgba(255,158,196,.7); }
.tap-prompt { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; animation: tapPulse 1.4s ease-in-out infinite; }
@keyframes tapPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.day .node .sm { font-family: var(--font-ui); font-size: 10px; letter-spacing: .1em; font-weight: 800; }

/* ---------- OOTD ---------- */
#s-ootd { padding-bottom: 0; }
.ootd-top { flex: 0 0 auto; }
.ootd-stage { position: relative; flex: 1; min-height: 0; margin: 6px 0 10px; }
.ootd-card {
  position: absolute; inset: 0; margin: 0 auto; max-width: 340px;
  border-radius: 24px; overflow: hidden; background: #1b0f1f;
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(242,193,78,.25);
  touch-action: none; cursor: pointer;
}
.ootd-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ootd-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,18,.55), transparent 40%); pointer-events: none; }
.ootd-card .stamp {
  position: absolute; top: 18px; right: 18px; padding: 8px 14px; border-radius: 10px;
  border: 3px solid var(--hibiscus); color: var(--hibiscus); font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1;
  background: rgba(255,246,229,.92); opacity: 0; transform: rotate(-12deg); letter-spacing: .02em;
}
.ootd-bottom { flex: 0 0 auto; padding-bottom: calc(var(--safe-bottom) + 6px); }
.ootd-compliment { font-family: var(--font-display); font-size: 21px; line-height: 1.3; margin: 0 0 12px; color: var(--cream); min-height: 54px; }
.meter-wrap { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); touch-action: none; cursor: pointer; }
.meter { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--pink), var(--hibiscus)); border-radius: 4px; }
.meter-label { margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; font-weight: 700; }
.verdict { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--pink-2); text-align: center; min-height: 26px; margin-top: 10px; }
#s-ootd .actions { padding-top: 8px; }

/* ---------- OOTD: sealed note ---------- */
.chit { position: relative; border-radius: 18px; overflow: hidden; cursor: pointer; background: #fff6e5; color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.45); min-height: 92px; }
.chit::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(200,16,46,.3); border-radius: 12px; pointer-events: none; }
.chit-fold { padding: 16px 18px; text-align: center; transition: opacity .3s, transform .5s; }
.chit-fold .eyebrow { color: #a0273e; }
.chit-fold b { display: block; font-family: var(--font-display); font-size: 21px; margin-top: 6px; color: #3b1a26; }
.chit-fold small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9a7a6a; margin-top: 6px; animation: tapPulse 1.4s ease-in-out infinite; }
.chit-fold::after { content: "♥"; position: absolute; right: 16px; top: 14px; color: var(--red); font-size: 18px; }
.chit-open { display: none; padding: 16px 18px 14px; }
.chit.open .chit-fold { display: none; }
.chit.open .chit-open { display: block; }
.chit .ootd-compliment { color: #2a1420; font-size: 20px; min-height: 0; margin-bottom: 8px; }
.chit .verdict { color: #a0273e; text-align: left; min-height: 0; margin: 0; font-size: 17px; }

/* ---------- Make a wish ---------- */
#s-wish { padding: 0; background: linear-gradient(to bottom, #050309 0%, #130a1e 45%, #2a1030 80%, #3a1a2c 100%); }
.wish-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lantern-mini { position: absolute; bottom: -120px; pointer-events: none; filter: drop-shadow(0 0 10px rgba(255,170,70,.55)); }
.lantern-mini svg { width: 100%; height: auto; display: block; }
.wish-form { position: absolute; left: 22px; right: 22px; top: calc(var(--safe-top) + 20%); z-index: 5; }
#wish-text {
  width: 100%; margin-top: 16px; padding: 14px 16px; border-radius: 16px; resize: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(242,193,78,.35); color: var(--cream);
  font-family: var(--font-display); font-size: 20px; line-height: 1.35; outline: none;
}
#wish-text::placeholder { color: rgba(255,246,229,.35); font-style: italic; }
#wish-text:focus { border-color: var(--gold); background: rgba(255,255,255,.09); }
.lantern-wrap { position: absolute; left: 50%; bottom: calc(var(--safe-bottom) + 40px); width: 132px; transform: translateX(-50%); z-index: 4; filter: drop-shadow(0 0 14px rgba(255,160,60,.25)); transition: filter 1.2s; }
.lantern-wrap svg { width: 100%; height: auto; display: block; }
.lantern-wrap .lglow, .lantern-wrap .lflame { opacity: 0; transition: opacity 1.2s; }
.lantern-wrap.lit .lglow, .lantern-wrap.lit .lflame { opacity: 1; }
.lantern-wrap.lit { filter: drop-shadow(0 0 28px rgba(255,170,70,.75)); }
.wish-float { position: absolute; left: 40px; right: 40px; bottom: calc(var(--safe-bottom) + 262px); text-align: center; z-index: 5; pointer-events: none; opacity: 0; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-2); }
.wish-message { position: absolute; left: 22px; right: 22px; top: calc(var(--safe-top) + 12%); z-index: 6; opacity: 0; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.wish-after { position: absolute; left: 22px; right: 22px; bottom: calc(var(--safe-bottom) + 22px); z-index: 7; opacity: 0; }

/* ---------- Premium polish ---------- */
#grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 150; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.btn { letter-spacing: .04em; text-transform: none; }
.btn.block { padding: 17px 26px; }
.map-foot { margin-top: 18px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--muted); letter-spacing: 0; }
.map-foot a { color: var(--gold); cursor: pointer; font-style: normal; font-weight: 600; }

/* lantern sky extras */
.moon { position: absolute; top: 9%; right: 14%; width: 54px; height: 54px; border-radius: 50%; background: #fff2cf; box-shadow: 0 0 40px 10px rgba(255,235,190,.25), inset -14px -6px 0 0 #130a1e; opacity: .85; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: radial-gradient(80% 60% at 50% 100%, rgba(255,130,60,.22), transparent 70%); }
.lantern-wrap.lit .lglow { animation: glowPulse 2.2s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }
.lantern-mini .lglow { animation: glowPulse var(--fd, 2s) ease-in-out infinite; }
.lantern-mini { filter: drop-shadow(0 0 12px rgba(255,170,70,.5)); }
#s-wish { background: radial-gradient(120% 70% at 50% 100%, #3b1a30 0%, #1a0b24 45%, #07040c 100%); }

/* ---------- Ashtami morning ---------- */
.sun { position: absolute; left: 68%; bottom: 36%; width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0%, #ffe3a0 55%, #ffc46a 100%); box-shadow: 0 0 60px 24px rgba(255,214,150,.55), 0 0 140px 70px rgba(255,190,120,.25); }
.cloud { position: absolute; border-radius: 999px; background: rgba(255,255,255,.85); filter: blur(6px); pointer-events: none; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.9); }
.cloud::before { width: 55%; height: 160%; left: 12%; top: -70%; }
.cloud::after { width: 40%; height: 120%; left: 50%; top: -40%; }
.birds { position: absolute; width: 60px; height: 20px; pointer-events: none; opacity: .8; }
.birds svg { width: 100%; height: 100%; overflow: visible; }
.shiuli-fall { position: absolute; pointer-events: none; opacity: .95; }
.shiuli-fall svg { width: 100%; height: auto; display: block; }
#s-ride .ride-text .eyebrow { color: #9a3a22; }
#s-ride .ride-text h2 { color: #2a1626; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
#s-ride #ride-sub { color: #a0273e; }
#s-ride .tap-prompt { color: var(--gold-2); }
.sky-lights { height: 76%; }

/* ================= PREMIUM PASS ================= */
/* preloader */
#preloader { position: absolute; inset: 0; z-index: 300; background: radial-gradient(120% 80% at 50% 0%, var(--night-2) 0%, var(--night) 60%, #050309 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
#preloader .rangoli { width: 120px; height: 120px; animation: rangoliSpin 14s linear infinite, rangoliBreath 2.4s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(242,193,78,.25)); }
@keyframes rangoliSpin { to { transform: rotate(360deg); } }
@keyframes rangoliBreath { 0%,100% { opacity: .75; } 50% { opacity: 1; } }
#preloader .pl-line { width: 110px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
#preloader .pl-line i { display: block; height: 100%; width: 40%; background: var(--gold); animation: plSlide 1.2s ease-in-out infinite; }
@keyframes plSlide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* ambient light */
#ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
#ambient i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; mix-blend-mode: screen; }
#ambient .a1 { width: 320px; height: 320px; left: -120px; top: -80px; background: rgba(120,40,90,.55); animation: drift1 18s ease-in-out infinite alternate; }
#ambient .a2 { width: 280px; height: 280px; right: -120px; top: 40%; background: rgba(200,110,40,.35); animation: drift2 22s ease-in-out infinite alternate; }
#ambient .a3 { width: 260px; height: 260px; left: 20%; bottom: -120px; background: rgba(90,40,120,.45); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(60px, 50px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-50px, -60px) scale(1.1); } }
.screen { z-index: 1; will-change: opacity, transform; }

/* buttons: shine sweep */
.btn { position: relative; overflow: hidden; }
.btn:not(.ghost)::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.btn.ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* diya: invite */
#s-diya:not(.lit) .diya-svg { animation: diyaBreath 3s ease-in-out infinite; }
@keyframes diyaBreath { 0%,100% { filter: drop-shadow(0 0 0 rgba(242,193,78,0)); } 50% { filter: drop-shadow(0 0 18px rgba(242,193,78,.35)); } }
.hold-ring .track { stroke: rgba(242,193,78,.22); stroke-dasharray: 3 7; }

/* song cards: glass */
.song { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.07); }
.song.selected { box-shadow: 0 0 0 1px var(--gold), 0 12px 30px rgba(242,193,78,.12); }
.song.selected .num::after { content: "✓"; display: block; font-size: 12px; margin-top: -4px; }
#player-dock { border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
#player-dock.mini { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(242,193,78,.35); }
#dock-toggle { width: 26px; height: 26px; padding: 0; border-radius: 50%; display: none; place-items: center; font-size: 12px; color: var(--gold); background: rgba(10,6,18,.6); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
#dock-toggle.show { display: grid; }


/* scratch foil shimmer */
.foil-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 45%, transparent 60%); background-size: 250% 100%; animation: foil 3.2s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes foil { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.scratch.revealed .foil-shine { display: none; }
.scratch .lock { font-size: 12px; letter-spacing: .2em; text-shadow: 0 1px 2px rgba(0,0,0,.3); color: rgba(60,30,5,.75); }

/* letter: paper + seal */
.letter { background: linear-gradient(180deg, #fffaf0 0%, #fbf1df 100%); padding-top: 44px; overflow: visible; margin-top: 30px; }
.letter .seal { transform: translate(-50%, -55%); }
.letter .seal { position: absolute; top: -2px; left: 50%; transform: translate(-50%, -40%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; background: radial-gradient(circle at 35% 35%, #e94560, var(--red) 60%, #7a0a1c); box-shadow: 0 6px 16px rgba(120,10,30,.45), inset 0 0 0 3px rgba(255,255,255,.12); }
.letter p:first-of-type { margin-top: 4px; }
.letter::before { inset: 10px; border-color: rgba(200,16,46,.18); }

/* polaroid + ootd cards */
.polaroid .face { box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.ootd-card { box-shadow: 0 34px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(242,193,78,.3), inset 0 0 0 1px rgba(255,255,255,.08); }
.chit { box-shadow: 0 18px 44px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.6); }

/* wish */
#wish-text { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.wish-message h1 { font-size: 34px; }
.wish-message h1::first-letter { color: var(--gold-2); }

/* toast */
#toast { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(255,246,229,.92); letter-spacing: .01em; }

/* eyebrow refinement */
.eyebrow { font-size: 10.5px; letter-spacing: .26em; }

/* ---------- Map / Journey (cards) ---------- */
#s-map .journey { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 6px; }
.day {
  display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; border-radius: 20px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, border-color .25s ease, background .25s ease;
}
.day:active { transform: scale(.985); }
.day.next { border-color: rgba(242,193,78,.55); background: linear-gradient(135deg, rgba(242,193,78,.12), rgba(239,94,149,.06)); box-shadow: 0 14px 36px rgba(242,193,78,.1); }
.day .node {
  width: 52px; height: 52px; border-radius: 16px; flex: 0 0 52px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #2a1230, var(--night-2)); border: 1px solid rgba(242,193,78,.35);
  color: var(--gold); font-family: var(--font-bn); font-size: 15px; line-height: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.day .node .bn { font-family: var(--font-bn); font-size: 15px; }
.day .node .sm { font-family: var(--font-ui); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.day.next .node { border-color: var(--gold); background: radial-gradient(circle at 30% 30%, rgba(242,193,78,.3), var(--night-2)); animation: pulse 1.8s ease-in-out infinite; }
.day.done .node { background: var(--gold); color: var(--ink); border-color: var(--gold); font-family: var(--font-ui); font-weight: 800; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,193,78,.35); } 50% { box-shadow: 0 0 0 10px rgba(242,193,78,0); } }
.day .info { flex: 1; min-width: 0; }
.day .info .num { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim); font-family: var(--font-ui); font-weight: 800; margin-bottom: 3px; }
.day.next .info .num { color: var(--gold); }
.day .info b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.day .info span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.day .chev { color: rgba(255,246,229,.4); font-size: 26px; line-height: 1; padding-right: 2px; }
.day.next .chev { color: var(--gold); }

/* ride back button */
.ride-back { position: absolute; top: calc(var(--safe-top) + 14px); left: 22px; z-index: 7; color: #4a2a3a; font-weight: 600; }
/* locked day cards */
.day.locked { opacity: .55; cursor: default; }
.day.locked .node { font-size: 18px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.day.locked:active { transform: none; }
