/* ---------- reset & base ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #3a1610;
  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: #7a1a2c;
  --maroon-deep: #4a0c15;
  --red: #b3122a;
  --rose: #e8637a;
  --marigold: #f2a93b;
  --gold: #d9ab5c;
  --gold-bright: #ecc888;
  --name-gold: #f3d9a4; /* family typography rule: the name line's warm gold, no pink anywhere except the confirm-screen heart */
  --ivory: #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%, #6b2a1e 0%, #3a1610 60%, #1c0a07 100%);
}
html.frame-desktop .phone {
  width: min(430px, 88vh);
  aspect-ratio: 9 / 16;
  border-radius: 46px;
  border: 12px solid #2a1712;
  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%, #8a3420 0%, #3a1610 70%, #1c0a07 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(122, 26, 44, .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.dca4552d.webp');
  background-size: cover;
  background-position: center 34%;
  background-repeat: no-repeat;
}
.bg-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(40,10,6,.5) 0%, rgba(40,10,6,.08) 26%, rgba(40,10,6,0) 45%, rgba(40,10,6,.2) 74%, rgba(40,10,6,.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.garland-top {
  position: absolute;
  top: -2cqw; left: 0; right: 0;
  height: 12cqw;
  background-image: url('assets/opt/parts/garland-strand.ed6eb648.webp');
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 100%;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.35));
  z-index: 6;
  pointer-events: none;
}

.petals-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  width: 6.5cqw;
  aspect-ratio: 1 / 1;
  opacity: .9;
  will-change: transform;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.petal-floor { z-index: 3; opacity: .85; filter: drop-shadow(0 2px 3px rgba(40,10,6,.25)); }

.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(122, 26, 44, .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(122, 26, 44, .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); }

/* blessings counter chip, stacked under the sound toggle */
.counter-chip {
  position: absolute;
  top: max(66px, 21cqw); right: max(10px, 3cqw);
  z-index: 40;
  display: flex; align-items: center; gap: .35em;
  color: var(--name-gold);
  background: linear-gradient(180deg, rgba(122, 26, 44, .74), rgba(74, 12, 21, .74));
  padding: .35em .85em;
  border-radius: 999px;
  border: 1px solid rgba(217, 171, 92, .55);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 2.9cqw;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap;
}
.counter-chip.show { opacity: 1; transform: translateY(0); }

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

.couple-wrap {
  position: absolute;
  left: 50%; top: 21%;
  width: 76cqw;
  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;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .7s ease;
  filter: drop-shadow(0 18px 20px rgba(30,8,5,.35));
}
#coupleNamaste { background-image: url('assets/opt/couple-namaste.d6a68390.webp'); }
/* couple-blessed.png (1499x2312) is cropped tight to the figures with
   almost no margin, unlike couple-namaste.png which has ~9-12% padding on
   every side — rendered at the same "contain" fit in this box it would
   read visibly bigger. scale(.909) with this origin (solved from both
   sprites' measured head-top/feet-bottom fractions) brings its character
   size and foot line back in line with couple-namaste's. */
.couple-img-blessed { transform: scale(.909); transform-origin: 50% 45.6%; }
.couple-img.show { opacity: 1; }

/* tilak: a small vertical dab, ~1.6% frame width x 3% frame height, drawn
   as a soft-edged CSS gradient rather than the sourced round sprite (which
   can only ever read as a "disc", not a dab, however small). Positioned on
   each forehead ONLY where skin is visible — pixel-measured on
   couple-namaste.png: groom just under the safa band, centred between the
   brows (~28%, 24%); bride just under the maang-tikka drop (~67%, 28.5%).
   The dot stays put once shown; only the glow underneath and the one
   sparkle per side fade out. */
.tilak-dot {
  position: absolute;
  width: 1.6cqw;
  height: 3cqw;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.4);
  background: radial-gradient(ellipse 60% 50% at 50% 45%,
    rgba(163, 20, 26, .96) 0%, rgba(150, 17, 24, .88) 45%,
    rgba(150, 17, 24, .55) 72%, rgba(150, 17, 24, 0) 100%);
  filter: blur(.3px);
  opacity: 0;
  z-index: 13;
  pointer-events: none;
}
.tilak-glow {
  position: absolute;
  width: 7.5cqw; /* 2.5x the dot's longer (height) dimension */
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(.6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 130, .8) 0%, rgba(242, 169, 59, .4) 45%, rgba(242, 169, 59, 0) 75%);
  opacity: 0;
  z-index: 12;
  pointer-events: none;
}
.tilak-groom { left: 28%; top: 24%; }
.tilak-bride { left: 67%; top: 28.5%; }
/* &debug=tilak outline, toggled by app.js, to verify placement on a real device */
.tilak-dot.debug-outline { outline: 2px solid #29ff8c; outline-offset: 1px; }
.tilak-glow.debug-outline { outline: 1px dashed #34d4ff; }
.tilak-sparkle {
  position: absolute;
  width: 5cqw;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(.4) rotate(0deg);
  background-image: url('assets/opt/parts/sparkle.5d56caeb.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 14;
  pointer-events: none;
}
.tilak-sparkle.sparkle-groom { left: 32.5%; top: 20%; }
.tilak-sparkle.sparkle-bride { left: 71.5%; top: 24.5%; }

/* a few petals left resting on the safa / dupatta after the shower */
.rest-petals { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
.rest-petal {
  position: absolute;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(30,8,5,.3));
  transition: opacity .5s ease;
}
.rest-petals.show .rest-petal { opacity: .95; }

/* ---------- bowl (the tap target) ---------- */
.bowl-wrap {
  position: absolute;
  left: 50%; top: 87%;
  width: 32cqw;
  transform: translate(-50%, -50%);
  z-index: 20;
  transition: opacity .4s ease, transform .4s ease;
}
.bowl-wrap.hide { opacity: 0; transform: translate(-50%, -30%) scale(.8); pointer-events: none; }
.bowl-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url('assets/opt/parts/rice-bowl.679f51a8.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 10px 14px rgba(30,8,5,.4));
  pointer-events: none;
}
.bowl-hitbox {
  position: absolute; inset: -8%;
  border-radius: 50%;
  z-index: 21;
  padding: 0;
  -webkit-appearance: none;
}
/* also let a tap land anywhere on the couple, per the brief */
.couple-hitbox {
  position: absolute; inset: 0;
  z-index: 11;
  padding: 0;
  -webkit-appearance: none;
}

.bowl-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; aspect-ratio: 1/1;
  border: 3px solid rgba(236, 200, 136, .85);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  pointer-events: none;
  z-index: 19;
}
.bowl-ring.ring-b { animation-delay: .7s; }
@keyframes bowlRingPulse {
  0%   { transform: translate(-50%, -50%) scale(.7); opacity: .9; }
  85%  { opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.bowl-wrap.pulse .bowl-ring { animation: bowlRingPulse 1.7s ease-out infinite; }

/* guest-hand cue pointing down at the bowl, screen 1 only */
.hand-touch {
  position: absolute;
  left: 50%; top: 83.5%;
  transform: translate(-50%, -55%);
  z-index: 22;
  pointer-events: none;
  transition: opacity .25s ease;
}
.hand-touch.hide { opacity: 0; }
.cue-hand {
  width: 17cqw;
  display: block;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.35));
}
.press-cue {
  position: absolute;
  left: 50%; top: 72%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  transition: opacity .25s ease;
}
.press-cue.hide { opacity: 0; }
.cue-pill {
  background: var(--cream);
  color: var(--maroon-deep);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 3.9cqw;
  line-height: 1.15;
  padding: .5em .9em;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  position: relative;
  white-space: nowrap;
}
.cue-pill::after {
  content: "";
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: var(--cream) transparent transparent transparent;
}

/* ---------- shower particle layer ---------- */
.shower-layer { position: absolute; inset: 0; z-index: 17; pointer-events: none; overflow: visible; }

/* the tilak->thank-you beat's gold flash: sits above the couple (z10) and
   below the headline (z25) so the text stays readable through it. Opacity
   is driven entirely by GSAP (app.js), not a CSS transition. */
.gold-bloom {
  position: absolute;
  left: 50%; top: 46%;
  width: 150%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 222, .95) 0%, rgba(242, 169, 59, .55) 42%, rgba(242, 169, 59, 0) 72%);
  opacity: 0;
  z-index: 16;
  pointer-events: none;
}
.grain {
  position: absolute;
  left: 50%; top: 87%;
  width: 1.2cqw; height: .55cqw;
  margin-left: -.6cqw; margin-top: -.275cqw;
  border-radius: 50%;
  background: linear-gradient(135deg, #fffaf0, #f0dcae 70%);
  box-shadow: 0 0 2px rgba(0,0,0,.15);
  will-change: transform, opacity;
}
.shower-petal {
  position: absolute;
  left: 50%; top: 87%;
  width: 4cqw; height: 4cqw;
  margin-left: -2cqw; margin-top: -2cqw;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

/* ---------- headline ---------- */
.headline {
  position: absolute;
  left: 0; right: 0; top: max(46px, 10cqw);
  z-index: 25;
  text-align: center;
  padding: 0 6%;
  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(40,10,6,.5) 0%, rgba(40,10,6,.24) 45%, rgba(40,10,6,0) 75%);
  z-index: -1;
}
/* Family typography rule: headlines are Playfair Display, no pink anywhere
   except the tiny heart on the confirm screen.
   - name line ("Sharma family," / "Thank you, Sharma family"): italic,
     warm gold, ~8.5cqw
   - second line ("we need your blessing." / "Once more" / "One last time"
     / "Blessing received"): Playfair regular, cream, ~6cqw — this is
     .h-name with the .tier-b modifier applied (those four strings are the
     sole line shown on their screens, so they still live in the h-name
     slot, just restyled down to the second-line treatment) or .h-sub in
     its default (non-.tier-c) state
   - sublines ("Aarav & Meera" / "Come bless us in person"): Nunito Sans
     500, cream, 0.9 opacity — .h-sub.tier-c and .h-extra */
.h-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 8.5cqw;
  line-height: 1.15;
  overflow-wrap: break-word; /* wraps at full size; JS only shrinks a single word too wide for the box */
  color: var(--name-gold);
  text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.3);
  transition: font-size .2s ease;
}
.h-name.tier-b {
  font-style: normal;
  font-weight: 600;
  font-size: 6cqw;
  color: var(--ivory);
}
.h-sub {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  font-size: 6cqw;
  color: var(--ivory);
  margin-top: .3em;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.h-sub.hide { display: none; }
.h-sub.tier-c {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 4.2cqw;
  color: var(--ivory);
  opacity: .9;
}
.h-extra {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 3.4cqw;
  color: var(--ivory);
  opacity: 0;
  margin-top: .55em;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  /* no CSS transition here on purpose — its opacity/position are driven
     entirely by the thank-you beat's GSAP timeline (app.js), which would
     otherwise fight a competing CSS transition on the same property */
}
.h-extra.show { opacity: .9; }

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

.floral-frame { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.ff { position: absolute; opacity: .85; filter: drop-shadow(0 3px 6px rgba(30,8,5,.3)); }
.ff-tl { top: -2%; left: -3%; width: 13%; transform: rotate(-10deg); }
.ff-br { bottom: -2%; right: -3%; width: 12%; transform: rotate(15deg); }

.card {
  position: absolute;
  filter: drop-shadow(0 20px 28px rgba(30,8,5,.5));
}
.card > img { width: 100%; display: block; aspect-ratio: 1 / 1; }
/* card-arch.png's blank centre, measured off the art: the palace icon sits
   just under the arch top, elephants sit across the bottom — the clear
   writing area is roughly x 21-79%, y 33-74% */
.card-text {
  position: absolute;
  left: 21%; right: 21%; top: 33%; bottom: 26%;
  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: 6.8cqw;
  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: 4.1cqw;
  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: 3cqw; flex-shrink: 0; }
.ct-city {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.5cqw;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maroon-deep);
}
.ct-tag {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.85cqw;
  letter-spacing: .06em;
  color: #a8712c;
  margin-top: .35em;
  line-height: 1.4;
}

/* ---------- screen confirm ---------- */
.screen-confirm { background: rgba(30, 8, 5, .42); }
.confirm-scroll {
  position: absolute; inset: 0;
  z-index: 10;
  overflow-y: auto;
  touch-action: pan-y; /* overrides the blanket .phone * touch-action:none so this can still scroll */
  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: .18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.card-confirm {
  position: relative;
  width: 84%;
  flex-shrink: 0;
  margin-top: 1.6cqw;
}
.card-confirm .ct-names { font-size: 6.4cqw; line-height: 1.05; }
.card-confirm .ct-date { font-size: 3.6cqw; }
.card-confirm .rule-heart { width: 2.6cqw; }
.card-confirm .ct-city { font-size: 3.2cqw; }
.card-confirm .ct-tag { font-size: 1.75cqw; }

.btn-calendar {
  width: 90%;
  margin-top: 2.4cqw;
  padding: 3.8cqw 0;
  background: linear-gradient(180deg, #a8283f, 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.1cqw;
  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%, #a8283f, 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(30,8,5,.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) {
  .petal { display: none; }
  .bowl-wrap.pulse .bowl-ring { animation: none; opacity: .5; }
}
