/* ---------- reset & base ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #150a08;
  font-family: 'Nunito', sans-serif;
  overscroll-behavior: none;
  touch-action: manipulation; /* blocks double-tap-to-zoom, still allows scroll/pan */
}
img { max-width: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ---------- block iOS's long-press "Save Image" / callout on everything ---------- */
img, .sprite, .phone, .phone * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

:root {
  --cream: #fdf3e2;
  --cream-dim: #f2e2c4;
  --maroon: #6e1220;
  --maroon-deep: #4a0c15;
  --red: #b3122a;
  --marigold: #f2a93b;
  --flame: #ffb648;
  --gold: #d9ab5c;
  --gold-bright: #ecc888;
  /* family typography rule: name line = italic warm gold; second line =
     Playfair regular cream; sublines = Nunito Sans 500 cream @ .9 */
  --gold-name: #f3d9a4;
  --headline-cream: #fff7ec;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Nunito Sans', 'Nunito', sans-serif;
  --script: 'Caveat', cursive;
}

/* ---------- phone frame ---------- */
.phone {
  position: relative;
  overflow: hidden;
  background: #000;
  container-type: inline-size;
  container-name: phone;
  touch-action: none;
}

html.frame-desktop, html.frame-desktop body { height: 100%; }
html.frame-desktop body {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, #241a2c 0%, #150a08 60%, #0a0505 100%);
}
html.frame-desktop .phone {
  width: min(430px, 88vh);
  aspect-ratio: 9 / 16;
  border-radius: 46px;
  border: 12px solid #241210;
  box-shadow:
    0 40px 90px rgba(0,0,0,.55),
    0 0 0 2px rgba(255,255,255,.05) inset;
}
html.frame-mobile .phone {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

/* loading screen */
.loading-screen {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5cqw;
  background: radial-gradient(circle at 50% 40%, #2a1a20 0%, #150a08 70%, #0a0505 100%);
  transition: opacity .4s ease;
}
.loading-screen.hide { opacity: 0; pointer-events: none; }
.loading-chip {
  display: flex; align-items: center; gap: .4em;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(110, 18, 32, .68), rgba(74, 12, 21, .68));
  padding: .5em 1.2em .5em .9em;
  border-radius: 999px;
  border: 1px solid rgba(217, 171, 92, .55);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 4.2cqw;
}
.loading-bar-track {
  width: 40%;
  height: 3px;
  background: rgba(217, 171, 92, .25);
  border-radius: 999px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 999px;
  transition: width .25s ease;
}

.stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ---------- background ---------- */
.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-image: url('assets/opt/backdrop-courtyard-night.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transition: filter .8s ease;
}
.bg.dimmed { filter: brightness(.55) saturate(.9); }
.bg-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,3,4,.6) 0%, rgba(10,3,4,.12) 26%, rgba(10,3,4,0) 45%, rgba(10,3,4,.24) 76%, rgba(10,3,4,.66) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity .8s ease;
}
/* lifted for the golden courtyard/couple scenes so the scene actually
   reads bright — the plain vignette alone reads as night regardless of
   how much warm tint sits on top of it */
.bg-vignette.lifted { opacity: .4; }

/* warm ignition wash: the localised glow that grows under the diya
   during the hold (screen blend, centred on the diya, not full-bleed) */
.warm-wash {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 76%, rgba(255,150,40,.9) 0%, rgba(255,110,30,.4) 35%, rgba(255,110,30,0) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

/* golden-hour wash: the whole-backdrop tint that makes screen 3 read as
   a bright, warm courtyard instead of the same night as screen 1.
   soft-light so it warms the sandstone without blowing out the sky. */
.golden-wash {
  position: absolute; inset: 0;
  background: #ff9a3c;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: soft-light;
}
/* second glow layer, centred on the stage/arch at the top of the steps —
   screen blend so it actively brightens rather than just tinting */
.stage-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 38%, rgba(255,180,90,.9) 0%, rgba(255,150,60,.4) 45%, rgba(255,150,60,0) 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
}

/* string-light bulbs along the backdrop's own painted wire — dark dots
   in the art, switched "on" here with a warm glow once the courtyard
   scene lights up */
.bulb-string { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.bulb-dot {
  position: absolute;
  width: 2.6%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(.3);
  border-radius: 50%;
  background: radial-gradient(circle, #fff2c9 0%, #ffb648 45%, rgba(255,182,72,0) 75%);
  opacity: 0;
  mix-blend-mode: screen;
}
.bulb-dot.on { opacity: .95; transform: translate(-50%, -50%) scale(1); }
.bulb-dot { transition: opacity .5s ease, transform .5s ease; }

.kicker {
  position: absolute;
  top: max(10px, 3cqw); left: max(10px, 3cqw);
  z-index: 40;
  display: flex; align-items: center; gap: .4em;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(110, 18, 32, .68), rgba(74, 12, 21, .68));
  padding: .4em 1em .4em .8em;
  border-radius: 999px;
  border: 1px solid rgba(217, 171, 92, .55);
  box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.06) inset;
  backdrop-filter: blur(4px);
}
.kicker-chevron { font-size: 4cqw; line-height: 1; color: var(--gold-bright); font-weight: 700; }
.kicker-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 3cqw;
  letter-spacing: .01em;
}

.sound-toggle {
  position: absolute;
  top: max(10px, 3cqw); right: max(10px, 3cqw);
  z-index: 40;
  width: 9cqw; height: 9cqw;
  min-width: 34px; min-height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(110, 18, 32, .68), rgba(74, 12, 21, .68));
  border-radius: 999px;
  border: 1px solid rgba(217, 171, 92, .55);
  box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.06) inset;
  backdrop-filter: blur(4px);
}
.sound-toggle:active { transform: scale(.93); }
.sound-note { font-size: 4cqw; line-height: 1; color: var(--gold-bright); position: relative; }
.sound-slash {
  position: absolute;
  left: 50%; top: 50%;
  width: 130%; height: 1.6px;
  background: var(--cream);
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(0);
  transform-origin: center;
  transition: transform .15s ease;
  border-radius: 2px;
}
.sound-toggle.muted .sound-slash { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1); }

/* ---------- act (screens 1 & 2 share this rig) ---------- */
.act { position: absolute; inset: 0; z-index: 10; transition: opacity .25s ease; }
.act.hidden { opacity: 0; pointer-events: none; }

/* ---------- headline (sky band, 8-20%) ---------- */
.headline {
  position: absolute;
  left: 0; right: 0; top: max(46px, 11cqw);
  z-index: 25;
  text-align: center;
  padding: 0 7%;
  pointer-events: none;
}
.headline::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 130%; height: 230%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(10,3,4,.55) 0%, rgba(10,3,4,.26) 45%, rgba(10,3,4,0) 75%);
  z-index: -1;
}
/* name line: italic, warm gold, soft dark shadow */
.h-name {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 8.4cqw;
  line-height: 1.12;
  overflow-wrap: break-word;
  color: var(--gold-name);
  text-shadow: 0 0 2px rgba(0,0,0,.4), 0 3px 12px rgba(0,0,0,.5);
}
/* subline: Nunito Sans 500, cream @ .9 */
.h-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 5.4cqw;
  color: var(--cream);
  opacity: .9;
  margin-top: .3em;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
  transition: opacity .18s ease;
}

/* ---------- the diya (screens 1 & 2) ---------- */
/* 38% wide, bottom edge sitting at ~78% from top (height = 38% * 561:599
   aspect ratio converted through the 9:16 stage ≈ 22.8%, so top = 55.2%) */
.diya-wrap {
  position: absolute;
  left: 50%; top: 55.2%;
  width: 38%;
  aspect-ratio: 561 / 599;
  transform: translateX(-50%);
  z-index: 12;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.5));
}
.diya-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0;
}
.diya-img.show { opacity: 1; }
#diyaUnlit { background-image: url('assets/opt/parts/diya-unlit.webp'); }
/* #diyaCatching / #diyaLit are NOT set here on purpose — see app.js:
   a static background-image on an always-present element fetches
   immediately regardless of visibility. */

/* radial glow behind the flame, grown by JS opacity/scale during the hold */
.diya-glow {
  position: absolute;
  left: 62%; top: 18%;
  width: 55%; height: 55%;
  transform: translate(-50%, -50%) scale(.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,190,90,.95) 0%, rgba(255,140,40,.55) 45%, rgba(255,140,40,0) 75%);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* hold target: circle over the wick/flame, matching the mockup's single
   obvious control */
.hold-hitbox {
  position: absolute;
  left: 62%; top: 38%;
  width: 52%; height: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 20;
  padding: 0;
  -webkit-appearance: none;
}

/* thin ring around the diya: a conic-gradient dial driven by the JS
   custom property --ring (0-100), masked down to a ring so only the
   stroke shows. During idle it loops as a hold PREVIEW; the same
   property is then driven by the real hold progress once pressed. */
.hold-ring {
  position: absolute;
  left: 62%; top: 38%;
  width: 66%; height: 66%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 18;
  pointer-events: none;
  opacity: .85;
  --ring: 0;
  background: conic-gradient(var(--gold-bright) calc(var(--ring) * 1%), rgba(255,255,255,.16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 4px rgba(255,190,90,.5));
  transition: opacity .2s ease;
}
.hold-ring.hide { opacity: 0; }

/* small hand, resting its fingertip on the wick from the lower-right —
   NOT the giant pointing-down cue (that read as a tap, not a hold, on a
   real phone). transform-origin sits near the fingertip (the sprite's
   bottom-center as drawn) so rotating swings the fist to the lower-right
   while the tip stays anchored on the wick. */
.hand-touch {
  position: absolute;
  left: 62%; top: 30%;
  width: 18%;
  transform-origin: 46% 88%;
  transform: translate(-10%, -78%) rotate(128deg);
  z-index: 19;
  pointer-events: none;
}
.cue-hand {
  width: 100%;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
}

/* pill, directly under the diya */
.press-cue {
  position: absolute;
  left: 50%; bottom: 11%;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.cue-pill {
  background: linear-gradient(180deg, #ffd28a, var(--marigold));
  color: var(--maroon-deep);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 4.3cqw;
  line-height: 1.15;
  padding: .55em 1.1em;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.press-cue.grip .cue-pill,
.press-cue.hide .cue-pill { opacity: 0; transform: scale(.9); }
.hand-touch.hide { opacity: 0; transition: opacity .3s ease; }

/* ---------- generic screen (3, 4, 5) ---------- */
.screen {
  position: absolute; inset: 0;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.screen.show { opacity: 1; pointer-events: auto; }

/* ---------- screen 3: the courtyard ---------- */
/* no name on this line, so it's the "second line" style: Playfair
   regular (not italic), cream — not the name-line's italic gold */
.courtyard-headline {
  position: absolute;
  left: 0; right: 0; top: max(46px, 11cqw);
  text-align: center;
  padding: 0 7%;
  z-index: 20;
  font-family: var(--serif);
  font-weight: 600;
  font-style: normal;
  font-size: 6.6cqw;
  color: var(--headline-cream);
  text-shadow: 0 0 2px rgba(0,0,0,.4), 0 3px 14px rgba(0,0,0,.55);
}
.little-diyas { position: absolute; inset: 0; z-index: 8; }
.little-diya {
  position: absolute;
  width: 5.6%;
  aspect-ratio: 561 / 599;
  transform: translate(-50%, -50%) scale(.3);
  opacity: 0;
}
/* glow lives on ::before (painted first/behind), the sprite on ::after
   (painted second/in front) — ::after always paints on top of ::before
   for the same element per spec; the reverse order let the glow fog
   over the diya itself. */
.little-diya::before {
  /* glow: 1.6x the diya, a fairly hard falloff (solid-ish core, gone by
     60% radius) so it reads as a halo around a lamp, not fog swallowing
     the steps or the lamp itself */
  content: "";
  position: absolute;
  left: 50%; bottom: 14%;
  width: 160%; height: 160%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,195,110,.9) 0%, rgba(255,170,70,.55) 45%, rgba(255,150,50,0) 60%);
  opacity: .7;
  mix-blend-mode: screen;
  pointer-events: none;
}
.little-diya::after {
  /* the sprite itself — background-image comes from the --little-diya-img
     custom property, set by JS only once screen 1 has already loaded
     (see warmBackgroundAssets in app.js). A literal url() here would be
     fetched the instant these 44 elements exist in the DOM, regardless
     of visibility, defeating the deferred-load critical set. */
  content: "";
  position: absolute; inset: 0;
  background-image: var(--little-diya-img, none);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.little-diya.pop { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.diya-tags { position: absolute; inset: 0; z-index: 9; }
/* counter/name chips: maroon with gold text */
.diya-tag {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, calc(-100% - 8px));
  background: rgba(110, 18, 32, .88);
  color: var(--gold-bright);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.4cqw;
  white-space: nowrap;
  padding: .28em .6em;
  border-radius: 999px;
  border: 1px solid rgba(217, 171, 92, .45);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 9;
}
.diya-tag.show { opacity: 1; }
.diya-tag.guest {
  background: rgba(179, 18, 42, .92);
  color: var(--gold-name);
  border-color: var(--gold-bright);
  font-size: 3.1cqw;
  padding: .34em .75em;
  box-shadow: 0 0 10px rgba(255,170,60,.7);
  animation: guestTagGlow 1.4s ease-in-out infinite;
}
@keyframes guestTagGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,170,60,.55); }
  50% { box-shadow: 0 0 16px rgba(255,190,90,.95); }
}

/* ---------- screen 4: the couple ---------- */
.couple-headline {
  position: absolute;
  left: 0; right: 0; top: max(46px, 10cqw);
  text-align: center;
  padding: 0 7%;
  z-index: 20;
}
/* "Your blessing reached us" — a phrase, not a name: second-line style */
.ch-line1 {
  font-family: var(--serif);
  font-weight: 600;
  font-style: normal;
  font-size: 6.8cqw;
  color: var(--headline-cream);
  text-shadow: 0 0 2px rgba(0,0,0,.45), 0 3px 14px rgba(0,0,0,.55);
}
/* "Aarav & Meera" — the actual names: name-line style, italic warm gold */
.ch-line2 {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 5.4cqw;
  color: var(--gold-name);
  margin-top: .2em;
  text-shadow: 0 0 2px rgba(0,0,0,.4), 0 3px 10px rgba(0,0,0,.55);
}
/* couple stands ON the stage at the top of the steps, not down on the
   floor: feet (bottom edge) at ~44% from top, ~40% of frame height */
.couple-wrap {
  position: absolute;
  left: 50%; bottom: 56%;
  width: 40%;
  aspect-ratio: 1024 / 1536;
  transform: translateX(-50%);
  z-index: 10;
}
.couple-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .7s ease;
  filter: drop-shadow(0 18px 22px rgba(10,3,3,.4));
}
.couple-img.show { opacity: 1; }
.screen-couple .tap-hint {
  position: absolute;
  left: 50%; bottom: 6%;
  transform: translateX(-50%);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 3cqw;
  color: var(--cream-dim);
  opacity: .85;
  z-index: 20;
  animation: hintPulse 1.6s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100%{opacity:.5} 50%{opacity:.95} }

/* ---------- screen 5: confirm ---------- */
.screen-confirm { background: rgba(8, 3, 4, .42); }
.confirm-scroll {
  position: absolute; inset: 0;
  z-index: 10;
  overflow-y: auto;
  display: flex; flex-direction: column; align-items: center;
  padding: 16cqw 6cqw 4cqw;
  gap: .7cqw;
}
.confirm-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.6cqw;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: .9;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.confirm-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 11.5cqw;
  line-height: 1.05;
  color: var(--cream);
  margin: .08em 0 0;
  text-shadow: 0 0 18px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.5);
}
.gold-divider {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  width: 46%;
  margin: .1em 0;
}
.gold-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.divider-heart { width: 3.6cqw; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.confirm-subtag {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.5cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.card { position: absolute; filter: drop-shadow(0 20px 28px rgba(10,3,3,.5)); }
/* natural aspect (no forced 1/1) — card-diya.png is a tall ~940x1672
   card, not square like the old card-arch.png placeholder */
.card > img { width: 100%; display: block; }
/* card-diya.png's inner gold rule, measured off the pixels: marigold
   garland droops to y≈24.9%, the three diyas start at y≈83.9%, and the
   gold rule itself runs x 10.7%-89.1%. Text box sits inside all of that
   with a small safety margin. */
.card-text {
  position: absolute;
  left: 13%; right: 13%; top: 27%; bottom: 18%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .3em;
  text-align: center;
  color: var(--maroon-deep);
}
.card-text > div {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.ct-names {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 5.4cqw;
  line-height: 1.1;
  white-space: nowrap;
}
.ct-names .amp { font-style: italic; font-weight: 600; color: var(--red); padding: 0 .05em; }
.ct-date {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.3cqw;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: .15em;
  white-space: nowrap;
}
.ct-rule { display: flex; align-items: center; justify-content: center; gap: .5em; width: 60%; margin: .2em 0; }
.rule-heart { width: 2.6cqw; flex-shrink: 0; }
.ct-city {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.9cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maroon-deep);
}

.card-confirm { position: relative; width: 48%; flex-shrink: 0; margin-top: 1.6cqw; }

.btn-calendar {
  width: 90%;
  margin-top: 2.4cqw;
  padding: 3.8cqw 0;
  background: linear-gradient(180deg, #9c2036, var(--maroon-deep) 70%);
  color: var(--cream);
  border: 2px solid var(--gold);
  font-size: 4.4cqw;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 0 1.5px rgba(255,255,255,.1) inset;
  display: flex; align-items: center; justify-content: center; gap: .55em;
  flex-shrink: 0;
}
.btn-cal-icon { width: 1.1em; height: 1.1em; color: var(--gold-bright); flex-shrink: 0; }
.btn-cal-label { font-family: var(--serif); font-weight: 700; }
.btn-cal-chevron { font-size: 1.3em; color: var(--gold-bright); line-height: 1; }
.btn-calendar:active { transform: scale(.97); }

.second-tap-divider { display: flex; flex-direction: column; align-items: center; gap: .3em; margin-top: .6cqw; }
.stl-row { display: flex; align-items: center; justify-content: center; gap: .7em; width: 60%; }
.stl-row .gold-line { height: 1px; }
.stl-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.5cqw;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
}
.stl-sub {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2.9cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.share-row {
  width: 92%;
  margin-top: 1.5cqw;
  background: rgba(253, 243, 226, .97);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 2.8cqw 3cqw;
  display: flex; align-items: center; gap: 2.8cqw;
  box-shadow: 0 10px 22px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.share-avatar-wrap { position: relative; flex-shrink: 0; width: 20cqw; }
.share-avatar {
  width: 20cqw; height: 20cqw;
  object-fit: cover;
  border-radius: 22%;
  display: block;
  box-shadow: 0 0 0 2px var(--marigold);
}
.share-heart {
  position: absolute; top: 8%; right: -14%;
  width: 5.5cqw;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.share-text {
  flex: 1;
  font-family: var(--script);
  font-weight: 700;
  font-size: 5.4cqw;
  line-height: 1.15;
  color: var(--maroon-deep);
}
.share-btns { display: flex; flex-direction: column; gap: 1.6cqw; }
.share-btn-col { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.btn-icon {
  width: 8cqw; height: 8cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9c2036, var(--maroon-deep));
  color: var(--cream);
  font-size: 3.6cqw;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.btn-icon:active { transform: scale(.92); }
.share-btn-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2cqw;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--maroon);
}

.confirm-footer { display: flex; flex-direction: column; align-items: center; gap: .5em; margin-top: 1.4cqw; padding-bottom: 2cqw; }
.footer-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.6cqw;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.toast {
  position: absolute;
  left: 50%; bottom: 6%;
  transform: translate(-50%, 20px);
  background: rgba(10,3,4,.9);
  color: var(--cream);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 3.2cqw;
  padding: .7em 1.3em;
  border-radius: 999px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .little-diya { transition: none; }
}
