/* ═════════ Light only: no dark sections, no dark-mode palette ═════════ */
:root { color-scheme: light only; }
html, body { background: #fbf4e8; color: #3a1c12; }
body { --wine-950: #fbf4e8; --wine-900: #f6ead4; --wine-800: #f3e2c2; --wine-700: #7a1220; --wine-500: #a31d2b; }

#loader { background: #fbf4e8; }
.ld-line span, .loader-line span { background: #a31d2b; }
.loader-pct, .mono-text { color: #7a1220; }
.mono-text { fill: transparent; stroke: #a31d2b; }

/* envelope gate */
#gate { background: radial-gradient(ellipse at 50% 30%, #fffaf0, #f6ead4 70%); }
.gate-pattern { opacity: .5; }
.gate-eyebrow { color: #a31d2b; }
.gate-hint, .gate-hint span { color: #8d1521; }
.env-back { background: linear-gradient(180deg, #e9d4b0, #d9bd92); }

/* every "dark" section becomes cream */
.section.dark, #finale, #reel.dark, #date.dark, #gallery, #ring, #mandala, .md-stage, .ring-stage {
  background: #fbf4e8 !important; color: #3a1c12;
}
#finale { background: radial-gradient(ellipse at 50% 40%, #fffaf0, #f6ead4) !important; }
#ring { background: radial-gradient(ellipse at 50% 60%, #fff8ec, #fbf4e8 70%) !important; }
#mandala, .md-stage { background: radial-gradient(circle at 50% 50%, #fff8ec, #fbf4e8 70%) !important; }
.md .ln { stroke: #b08a3e; }
.md .dt { fill: #b08a3e; }
.md-center { background: radial-gradient(circle, rgba(251,244,232,.96) 30%, rgba(251,244,232,.6) 55%, transparent 72%); }
.md-center .bn { color: #7a1220; }
.md-center .script { color: #a31d2b; }

.section.dark .title, .gal-head .title, .ring-head .title, .title { color: #7a1220; }
.section.dark .tiny-caps, .dark .tiny-caps, .tiny-caps, .gal-head .tiny-caps, .ring-head .tiny-caps { color: #7d5b4a; }
.dark .hint, .hint { color: #a31d2b; }
.date-label { color: #5a3426; opacity: 1 !important; }
.countdown .tiny-caps { color: #7d5b4a; }
.cd { background: #fffaf0; border-color: rgba(176, 138, 62, .55); box-shadow: 0 6px 16px -10px rgba(58,28,18,.35); }
.cd b { color: #7a1220; }
.cd small { color: #7d5b4a; }
.scratch .under { color: #7a1220; }
.scratch small { color: #7d5b4a; }
.finale-line { color: #5a3426; }
.finale-names { color: #a31d2b; }
.finale-mono .mono-text { stroke: #a31d2b; }
.candles i { opacity: .5; }
.candles i::before { opacity: .35; }
.credit { color: #7d5b4a; }
.gal-card p { color: #7a1220; }
.gal-end { color: #5a3426; }
.ring-card { background: #fffaf0; box-shadow: 0 16px 30px -18px rgba(58,28,18,.45), 0 0 0 1px rgba(176,138,62,.5); }
.ring-card::after { background: #fbf4e8; }

/* video reel */
#reel { background: #fbf4e8 !important; }
.reel-frame { background: #fffaf0; box-shadow: 0 30px 60px -30px rgba(58,28,18,.5), 0 0 0 1px rgba(176,138,62,.6); }
.reel-bar { background: rgba(122,18,32,.2); }
.reel-bar span { background: #a31d2b; }
.reel-play circle { fill: rgba(255,250,240,.7); stroke: #a31d2b; }
.reel-play path { fill: #a31d2b; }

/* venue card */
.venue-card { background: linear-gradient(180deg, #fffaf0, #f6ead4) !important; color: #3a1c12; box-shadow: 0 30px 60px -30px rgba(58,28,18,.35), inset 0 0 0 1px rgba(176,138,62,.6), inset 0 0 0 8px #fffaf0, inset 0 0 0 9px rgba(176,138,62,.35) !important; }
.venue-card h2 { color: #a31d2b; }
.venue-addr { color: #5a3426; }
.venue-card .tiny-caps { color: #7d5b4a; }
.venue-glow { background: radial-gradient(circle, rgba(176,138,62,.15), transparent 60%); }
.btn { background: #a31d2b; color: #fffaf0; }
.btn.ghost { color: #a31d2b; border-color: rgba(163,29,43,.5); }

/* curtain: cream velvet panels with gold trim, dark photo overlay replaced by light wash */
.ct-stage { background: #fbf4e8; }
.ct-photo::after { background: linear-gradient(180deg, rgba(251,244,232,.05) 40%, rgba(251,244,232,.85)); }
.ct-half { background: linear-gradient(180deg, #fffaf0, #f6ead4 60%, #ecd9b5); box-shadow: inset 0 -30px 60px rgba(176,138,62,.18); }
.ct-valance { background: linear-gradient(#f3e2c2, #e9d4a8); }
.ct-text .bn, .ct-text h2 { color: #7a1220; }
.ct-text h2 { background: none; -webkit-text-fill-color: #7a1220; }
.ct-text .tiny-caps, .ct-hint { color: #5a3426; }
.ct-hint { text-shadow: 0 1px 8px rgba(251,244,232,.9); }

/* pill + misc small surfaces */
.dots { display: none !important; }
.music-btn { background: #a31d2b; }
.lang-float { background: rgba(255,250,240,.92); border: 1px solid rgba(176,138,62,.5); }
.lang-float button { color: #7a1220; }
.lang-float button.on { background: #a31d2b; color: #fffaf0; }
.scroll-hint { background: rgba(255,250,240,.96); color: #7a1220; box-shadow: 0 6px 18px -8px rgba(58,28,18,.4); }
.scroll-hint .sh-mouse { border-color: #7a1220; }
.progress-thread span { background: linear-gradient(90deg, #a31d2b, #b08a3e); }
.kline.k3 { -webkit-text-stroke-color: #7a1220; }
.journey-text { color: #5a1a24; }
.journey-text .jw.hl { color: #a31d2b; }
.jw { opacity: .14; }

/* venue QR + note */
.qr-block { display: grid; justify-items: center; gap: 10px; margin: 18px auto 4px; max-width: 320px; }
.qr-note { font-family: "Tiro Bangla", "Noto Serif Bengali", serif; font-size: 15px; line-height: 1.6; color: #5a3426; }
.qr-box { display: block; width: min(56vw, 200px); aspect-ratio: 1; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px #b08a3e, 0 14px 28px -14px rgba(58,28,18,.45); }
.qr-box svg { display: block; width: 100%; height: 100%; }
.qr-cap { color: #a31d2b !important; font-weight: 600; }

/* curtain: red velvet panels with gold trim (a deliberate accent, not a dark theme) */
.ct-half { background: radial-gradient(ellipse at 50% 0%, #c41f2a, #a31d2b 55%, #7a1220) !important; background-size: auto !important; box-shadow: inset 0 -30px 60px rgba(60,6,12,.35), 0 0 30px rgba(60,6,12,.25) !important; }
.ct-half::after { background: repeating-linear-gradient(180deg, #f3d98f 0 6px, #c9952c 6px 9px, #8f6418 9px 12px) !important; }
.ct-tassel { background: linear-gradient(#f6e2a2, #8f6418) !important; }
.ct-valance { background: linear-gradient(#8f1520, #a31d2b) !important; }
.ct-valance::after { background: linear-gradient(90deg, #8f6418, #f3d98f, #8f6418) !important; }
.ct-photo::after { background: linear-gradient(180deg, rgba(251,244,232,0) 35%, rgba(251,244,232,.75) 80%, rgba(251,244,232,.92)) !important; }
.ct-photo img { filter: none !important; }
.ct-text .bn, .ct-text h2 { color: #7a1220 !important; -webkit-text-fill-color: #7a1220 !important; text-shadow: 0 1px 10px rgba(251,244,232,.9); }
.ct-text .tiny-caps { color: #5a3426 !important; }
.ct-hint { color: #fffaf0 !important; background: rgba(122,18,32,.85); padding: 8px 14px; border-radius: 999px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }

/* ═════════ v9 extras: graphics-only scenes in the light theme ═════════ */
.ln { stroke: #b0852a !important; }
.lang-pick button { color: #7a1220; background: rgba(255,250,240,.85); border-color: rgba(176,138,62,.55); }
.lang-pick button.on { background: #a31d2b; color: #fffaf0; border-color: #a31d2b; }
.gate-eyebrow { color: #a31d2b; font-family: "Tiro Bangla", serif; }
.loader-line { background: rgba(163,29,43,.2); }

/* hero story scene */
.film, .film-wrap { background: #fbf4e8; }
.scene-sky { background: radial-gradient(ellipse at 50% 42%, #fffaf0 0%, #f6ead4 55%, #ecd9b5 100%); animation: none; }
.film-vignette { background: radial-gradient(ellipse at center, transparent 62%, rgba(176,138,62,.22)); }
.mono-big { fill: #a31d2b; }
.mono-ring, .mono-dots { stroke: #b0852a; }
#scGlow { mix-blend-mode: normal; }
.caption { color: #7a1220; text-shadow: 0 1px 14px rgba(251,244,232,.95); }
.film-progress { background: rgba(163,29,43,.18); }
.film-progress span { background: #a31d2b; box-shadow: none; }
.arch-outline { border-color: #b0852a; }
.hero-names { color: #7a1220; }
.hero-top .bn { color: #a31d2b; }

/* symbol cards + wish ring */
.sym-card { background: linear-gradient(180deg, #fffdf6, #f6ead4) !important; box-shadow: 0 0 0 1px rgba(176,138,62,.6), 0 0 0 8px #fbf4e8, 0 0 0 9px rgba(176,138,62,.3), 0 26px 40px -24px rgba(58,28,18,.4) !important; }
.sym-card h3 { color: #a31d2b; }
.sym-card p { color: #5a3426; }
.ring-card { background: linear-gradient(180deg, #fffdf6, #f6ead4) !important; }
.ring-card span { color: #7a1220; }
.sym-art .fl, .ring-card .fl { fill: #b0852a; }

/* FOREVER: gold letters, sindoor-red finish */
.fv-cap .tiny-caps { color: #fffaf0; }

/* scratch: no text selection or long-press menus while scratching */
.scratch, .scratch * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.scratch canvas { cursor: crosshair; }

/* lite mode (slow phones) must keep the light theme: the old dark lite colours hid the
   हिन्दी / বাংলা labels and darkened the scroll helper */
.lite .lang-float { background: rgba(255,250,240,.97); }
.lite .music-btn { background: #a31d2b; }
.lite .scroll-hint { background: rgba(255,250,240,.97); }
