/* ==========================================================================
   Maximal skins — 3A Phoolon ki Chaadar (and 1A in gold), 3B Jharokha Mahal, 3C Pichwai Kamal.
   All motion is transform/opacity only and pauses off-screen ([data-anim] in real.js).
   ========================================================================== */

.card { position: relative; }
.skin .paper { overflow-x: hidden; overflow-x: clip; }
.skin .sheet { padding-top: 34px; }
.skin .event + .event { border-top: 0; padding-top: 0; }
.skin .event { padding: 0; }

@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes sway { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
@keyframes breathe-c { from { transform: rotate(-0.9deg) scale(1); } to { transform: rotate(0.9deg) scale(1.03); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes flap { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.28); } }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(-8deg); }
  25% { transform: translate(34px, -24px) rotate(9deg); }
  50% { transform: translate(64px, 8px) rotate(-5deg); }
  75% { transform: translate(26px, 30px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(-8deg); }
}

.bfly {
  position: absolute;
  z-index: 4;
  width: 44px;
  pointer-events: none;
  animation: drift var(--dur, 16s) ease-in-out infinite;
  will-change: transform;
}
.bfly img { width: 100%; animation: flap 0.44s ease-in-out infinite; }

.deco-divider { display: flex; justify-content: center; margin: 22px auto -6px; pointer-events: none; }
.deco-divider img { width: min(210px, 56vw); animation: floaty 5.5s ease-in-out infinite alternate; }

/* ---------------------------------------------------------------------------
   3A · Phoolon ki Chaadar — floral maximalism
   --------------------------------------------------------------------------- */

.skin-floral { --paper: #fcefed; --paper-2: #f6dfdc; }
.skin-floral .paper {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23b0776a' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M48 14c9 10 9 22 0 34-9-12-9-24 0-34zM48 82c-9-10-9-22 0-34 9 12 9 24 0 34zM14 48c10-9 22-9 34 0-12 9-24 9-34 0zM82 48c-10 9-22 9-34 0 12-9 24-9 34 0z'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='96' cy='0' r='10'/%3E%3Ccircle cx='0' cy='96' r='10'/%3E%3Ccircle cx='96' cy='96' r='10'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 60% at 50% 0%, var(--paper), var(--paper-2));
  background-size: 96px 96px, auto;
}
.skin-floral .card:not(.card--plain) {
  padding: 46px 20px 36px;
  border-radius: 30px;
  background: #fffaf9;
  box-shadow:
    0 26px 60px rgba(150, 80, 90, 0.15),
    0 0 0 1px rgba(176, 119, 106, 0.3),
    inset 0 0 0 8px #fffaf9,
    inset 0 0 0 9px rgba(176, 119, 106, 0.28);
}
.skin-floral .card.card--inv, .skin-floral .card.card--rsvp, .skin-floral .card.card--finale { margin-top: 84px; padding-top: clamp(132px, 30vw, 168px); }
.skin-floral .card.card--rsvp { padding-bottom: 56px; }
.skin-floral .card .frame { border: 0; outline: 0; padding: 0; }
.skin-floral .card .frame::before, .skin-floral .card .frame::after { display: none; }
.skin-floral .card--event { margin-top: 26px; }
.skin-floral .card--event + .card--event { margin-top: 34px; }

.skin-floral .swag {
  position: absolute;
  z-index: 3;
  top: -96px;
  left: 50%;
  width: min(114%, 470px);
  max-width: none;
  translate: -50% 0;
  pointer-events: none;
}
.skin-floral .swag--closing { position: relative; top: auto; left: auto; translate: none; width: min(100%, 560px); margin: -16px auto 4px; }
.skin-floral .corner { position: absolute; z-index: 3; width: clamp(92px, 28vw, 148px); pointer-events: none; transform-origin: 50% 50%; animation: breathe-c 8s ease-in-out infinite alternate; }
.skin-floral .corner--tl { top: -18px; left: -16px; }
.skin-floral .corner--br { bottom: -18px; right: -16px; scale: -1 -1; animation-delay: -3s; }
.skin-floral .corner--tr { top: -16px; right: -14px; scale: -1 1; animation-delay: -1.5s; }
.skin-floral .corner--bl { bottom: -16px; left: -14px; scale: 1 -1; animation-delay: -4.5s; }

.skin-floral .ganesha-wrap { position: relative; display: grid; place-items: center; width: min(180px, 48vw); aspect-ratio: 1; margin: 10px auto 4px; background: none; }
.skin-floral .halo-wreath { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 120s linear infinite; }
.skin-floral .ganesha-wrap .ganesha { position: relative; width: 60%; }

.skin-floral .count__unit { position: relative; border: 0; border-radius: 0; box-shadow: none; background: url("/designs/img/skin/wreath.webp") center / 104% no-repeat; }
.skin-floral .count { gap: 6px; margin-bottom: 26px; }
.skin-floral .count__label { position: absolute; left: -6px; right: -6px; bottom: -22px; margin: 0; }

.skin-floral .bfly--1 { top: 34px; left: 7%; --dur: 17s; }
.skin-floral .bfly--2 { top: 46%; right: 3%; --dur: 21s; animation-delay: -6s; }
.skin-floral .bfly--3 { top: -8px; right: 10%; --dur: 15s; animation-delay: -3s; }
.skin-floral .bfly--4 { top: 6px; left: 8%; --dur: 19s; }
.skin-floral .bfly--5 { top: 16%; right: 12%; --dur: 18s; animation-delay: -9s; }

/* 1A · Swarn Mahal × Phoolon ki Chaadar — the same florals on ivory-gold paper with a gold-foil edge. */
.theme-mahal.skin-floral { --paper: #fbf4e4; --paper-2: #f1e1c1; }
.theme-mahal.skin-floral .paper {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23a87a2a' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M48 14c9 10 9 22 0 34-9-12-9-24 0-34zM48 82c-9-10-9-22 0-34 9 12 9 24 0 34zM14 48c10-9 22-9 34 0-12 9-24 9-34 0zM82 48c-10 9-22 9-34 0 12-9 24-9 34 0z'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='96' cy='0' r='10'/%3E%3Ccircle cx='0' cy='96' r='10'/%3E%3Ccircle cx='96' cy='96' r='10'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 60% at 50% 0%, var(--paper), var(--paper-2));
}
.theme-mahal.skin-floral .card:not(.card--plain) {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fffcf4, #fffcf4) padding-box,
    linear-gradient(125deg, #b4852f, #f6e3a4 30%, #c1923d 52%, #f3dc98 74%, #a97a28) border-box;
  box-shadow:
    0 26px 60px rgba(120, 82, 20, 0.16),
    inset 0 0 0 8px #fffcf4,
    inset 0 0 0 9px rgba(190, 146, 60, 0.45);
}

/* 1A pressed paper: a blind-embossed lattice fading in from the card edges, a raised lotus mandala behind the
   couple's names, a raised inner rule, and gold-foil lettering. The panorama shows between the cards. */
.theme-mahal.skin-floral .paper { background-image: none; }
.theme-mahal.skin-floral .card:not(.card--plain) {
  isolation: isolate;
  box-shadow:
    0 30px 70px rgba(96, 62, 14, 0.2),
    0 6px 16px rgba(96, 62, 14, 0.1),
    inset 0 0 0 8px #fffcf4,
    inset 1.5px 1.5px 0 8px rgba(255, 255, 255, 0.95),
    inset -1.5px -1.5px 0 8px rgba(160, 118, 44, 0.3),
    inset 0 0 0 10px rgba(196, 152, 66, 0.22);
}
.theme-mahal.skin-floral .card:not(.card--plain)::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 20px;
  background: url("/designs/img/emboss/jaal.webp?v=1") center / 116px 116px;
  -webkit-mask: radial-gradient(ellipse 70% 76% at 50% 50%, transparent 58%, #000 96%);
  mask: radial-gradient(ellipse 70% 76% at 50% 50%, transparent 58%, #000 96%);
  opacity: 0.85;
  pointer-events: none;
}
.theme-mahal.skin-floral .couple { position: relative; isolation: isolate; padding: 30px 0; }
.theme-mahal.skin-floral .couple::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(420px, 112%);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: url("/designs/img/emboss/mandala.webp?v=1") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.theme-mahal.skin-floral .person__name,
.theme-mahal.skin-floral .card .title,
.theme-mahal.skin-floral .when__day {
  background: linear-gradient(100deg, #8a5a16 0%, #b5852d 16%, #dfbd6c 28%, #9c6c20 42%, #c49540 58%, #dcb869 72%, #8a5a16 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8)) drop-shadow(0 1px 1px rgba(96, 60, 14, 0.16));
}
.theme-mahal.skin-floral .person__name { animation: foil-sheen 9s ease-in-out infinite alternate; }
html[lang="hi"] .theme-mahal.skin-floral .person__name,
html[lang="hi"] .theme-mahal.skin-floral .card .title { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75)); }
@keyframes foil-sheen { from { background-position: 0 0; } to { background-position: 100% 0; } }
.theme-mahal.skin-floral .card p:not(.person__name):not(.title) { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }

/* ---------------------------------------------------------------------------
   3B · Jharokha Mahal — carved arches, jaali, hanging jasmine, parakeets
   --------------------------------------------------------------------------- */

.skin-jharokha { --paper: #fbf4ec; --paper-2: #f3e3d8; }
.skin-jharokha .paper {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b0776a' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M36 6l9 21 21 9-21 9-9 21-9-21-21-9 21-9z'/%3E%3Cpath d='M36 22l5 9 9 5-9 5-5 9-5-9-9-5 9-5z'/%3E%3Cpath d='M0 0l12 12M72 0L60 12M0 72l12-12M72 72L60 60'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 60% at 50% 0%, var(--paper), var(--paper-2));
  background-size: 72px 72px, auto;
}
.skin-jharokha .card:not(.card--plain) {
  padding: 104px 20px 36px;
  border-radius: 50% 50% 22px 22px / 118px 118px 22px 22px;
  background: #fffbf6;
  box-shadow:
    0 26px 60px rgba(120, 70, 60, 0.15),
    0 0 0 1px rgba(176, 119, 106, 0.5),
    inset 0 0 0 7px #fffbf6,
    inset 0 0 0 8px rgba(176, 119, 106, 0.55),
    inset 0 0 0 12px #fffbf6,
    inset 0 0 0 13px rgba(201, 163, 90, 0.6);
}
.skin-jharokha .card.card--inv { margin-top: 70px; }
.skin-jharokha .card--event { margin-top: 26px; }
.skin-jharokha .card--event + .card--event { margin-top: 34px; }
.skin-jharokha .card .frame { border: 0; outline: 0; padding: 0; }
.skin-jharokha .card .frame::before, .skin-jharokha .card .frame::after { display: none; }

.skin-jharokha .parrots {
  position: absolute;
  z-index: 3;
  top: -84px;
  left: 50%;
  width: min(200px, 54vw);
  translate: -50% 0;
  animation: floaty 4.6s ease-in-out infinite alternate;
  pointer-events: none;
}
.skin-jharokha .parrots--closing { position: relative; top: auto; left: auto; translate: none; margin: -60px auto 6px; display: block; }
.skin-jharokha .latkan {
  position: absolute;
  z-index: 2;
  top: 24px;
  width: clamp(34px, 9.5vw, 52px);
  transform-origin: 50% 0;
  animation: sway 3.8s ease-in-out infinite alternate;
  pointer-events: none;
}
.skin-jharokha .latkan--l { left: 10%; }
.skin-jharokha .latkan--r { right: 10%; animation-delay: -1.9s; }
.skin-jharokha .card:not(.card--plain) { padding-top: 118px; }

.skin-jharokha .jharokha { position: relative; width: min(290px, 76vw); margin: 16px auto 4px; }
.skin-jharokha .jharokha__arch { width: 100%; }
.skin-jharokha .jharokha__deity { position: absolute; left: 50%; top: 46%; width: 46%; translate: -50% 0; animation: floaty 6s ease-in-out infinite alternate; }

.skin-jharokha .count__unit { aspect-ratio: 3 / 4; border-radius: 50% 50% 10px 10px / 32% 32% 10px 10px; background: #fffbf6; }
.skin-jharokha .deco-divider--inlay img { width: 76px; }

/* ---------------------------------------------------------------------------
   3C · Pichwai Kamal — painted lotus pond, teal and gold
   --------------------------------------------------------------------------- */

.skin-pichwai {
  --paper: #0e3a3a;
  --paper-2: #0a2c2d;
  --ink: #f6ecd6;
  --ink-soft: rgba(246, 236, 214, 0.78);
  --title: #f3c9d3;
  --accent: #d9b25c;
  --accent-soft: rgba(217, 178, 92, 0.45);
  --meta: rgba(255, 255, 255, 0.06);
}
.skin-pichwai .paper {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23d9b25c' fill-opacity='.14'%3E%3Ccircle cx='30' cy='30' r='2.2'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='60' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='60' r='1.6'/%3E%3Ccircle cx='60' cy='60' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 60% at 50% 0%, #11484a, var(--paper-2));
  background-size: 60px 60px, auto;
}
.skin-pichwai .card:not(.card--plain), .skin-pichwai .card--plain {
  --ink: #3b2a20;
  --ink-soft: #6c5545;
  --title: #9b3553;
  --accent: #a67c2e;
  --accent-soft: rgba(166, 124, 46, 0.42);
  --meta: rgba(59, 42, 32, 0.06);
  color: var(--ink);
  overflow: hidden;
  padding: 46px 20px 36px;
  border-radius: 22px;
  background: #fbf3e2;
  box-shadow:
    0 0 0 2px #c9a35a,
    0 0 0 7px #0e3a3a,
    0 0 0 8.5px rgba(233, 161, 176, 0.85),
    0 26px 60px rgba(0, 0, 0, 0.38);
}
.skin-pichwai .card--event { margin-top: 30px; }
.skin-pichwai .card--event + .card--event { margin-top: 38px; }
.skin-pichwai .card .frame { border-color: var(--accent-soft); outline-color: var(--accent-soft); }
.skin-pichwai .pborder { display: block; width: calc(100% + 40px); max-width: none; height: 54px; margin: -46px -20px 22px; object-fit: cover; }
.skin-pichwai .pborder--bottom { margin: 24px -20px -36px; rotate: 180deg; }
.skin-pichwai .card--inv .pborder, .skin-pichwai .card--rsvp .pborder { margin-bottom: 26px; }

.skin-pichwai .pichwai-band { position: relative; margin: 0 0 -34px; }
.skin-pichwai .pichwai-band img { width: 100%; height: clamp(230px, 58vw, 440px); object-fit: cover; }
.skin-pichwai .pichwai-band::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, #0f3f40); pointer-events: none; }
.skin-pichwai .pichwai-band--closing { margin: -46px -20px 20px; }
.skin-pichwai .pichwai-band--closing img { height: 190px; }
.skin-pichwai .pichwai-band--closing::after { background: linear-gradient(transparent 55%, #fbf3e2); }

.skin-pichwai .peacock { position: absolute; z-index: 2; top: 92px; width: clamp(56px, 16vw, 86px); animation: floaty 5.5s ease-in-out infinite alternate; pointer-events: none; }
.skin-pichwai .peacock--l { left: 10px; }
.skin-pichwai .peacock--r { right: 10px; scale: -1 1; animation-delay: -2.7s; }
.skin-pichwai .deco-divider--lotus { width: 118px; height: 118px; border-radius: 50%; place-items: center; align-items: center; background: #fbf3e2; box-shadow: 0 0 0 2px #c9a35a, 0 0 0 6px #0e3a3a, 0 0 0 7.5px rgba(233, 161, 176, 0.85), 0 14px 30px rgba(0, 0, 0, 0.35); }
.skin-pichwai .deco-divider--lotus img { width: 74px; }
.skin-pichwai .count__unit { background: #fffaf0; box-shadow: inset 0 0 0 5px #fffaf0, inset 0 0 0 6px var(--accent-soft), 0 0 0 1px #c9a35a; }
.skin-pichwai .wish { background: #fffaf0; }

@media (prefers-reduced-motion: reduce) {
  .bfly, .bfly img, .swag, .corner, .latkan, .parrots, .peacock, .deco-divider img, .halo-wreath, .jharokha__deity { animation: none !important; }
}

/* Compact layout (the couple's final design): the same pieces with less scrolling. */
.compact .sheet { padding-top: 34px; }
.compact .sheet + .sheet { padding-top: 20px; }
.compact.skin-floral .card.card--inv, .compact.skin-floral .card.card--rsvp, .compact.skin-floral .card.card--finale { margin-top: 62px; padding-top: clamp(100px, 25vw, 128px); }
.compact.skin-floral .card .swag:not(.swag--closing) { top: -80px; width: min(100%, 420px); }
.compact.skin-floral .card:not(.card--plain) { padding-bottom: 28px; }
.compact .event { padding-bottom: 14px; }
.compact .venue { margin-top: 12px; }
.compact .field { margin-bottom: 14px; }
.compact .count { margin-bottom: 10px; }
.compact .kalash img { width: 84px; }
.compact .closing__script { margin-top: 0; }
.compact .event__art .plate img { width: 118px; }
.compact .event__art--pair .plate img { width: 100px; }
.compact .count__diya img { width: 96px; }

/* ---------------------------------------------------------------------------
   Magic, in code (compact design): flowers between sections, cards that bloom in, names that write themselves,
   a living diya flame, Ganesh ji's glow and a few twinkles. Transform/opacity/clip only; paused off screen.
   --------------------------------------------------------------------------- */
.bloom-div { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 520px; height: 92px; margin: 14px auto 0; padding: 0 24px; pointer-events: none; }
.bloom-div__art { width: 138px; height: auto; transform-origin: 50% 20%; animation: sway-soft 6.5s ease-in-out infinite alternate; filter: drop-shadow(0 4px 8px rgba(120, 80, 30, 0.12)); }
.bloom-div__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(176, 131, 52, 0), rgba(176, 131, 52, 0.6)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.bloom-div__line--r { background: linear-gradient(90deg, rgba(176, 131, 52, 0.6), rgba(176, 131, 52, 0)); transform-origin: 0 50%; }
.bloom-div.in-view .bloom-div__line { transform: scaleX(1); }
.bloom-div--toran { height: 116px; }
.bloom-div__toran { width: min(300px, 78%); height: auto; transform-origin: 50% 0; animation: sway-soft 5.5s ease-in-out infinite alternate; }
.petal-fall { position: absolute; top: 40%; left: 50%; width: 9px; height: 7px; border-radius: 70% 30% 70% 30%; background: linear-gradient(135deg, #f6b8c4, #e88aa3); opacity: 0; animation: petal-fall 6s linear infinite; }
.petal-fall:nth-of-type(1) { --dx: -72px; }
.petal-fall:nth-of-type(2) { --dx: 44px; animation-delay: 1.2s; background: linear-gradient(135deg, #ffd27a, #f29d2e); }
.petal-fall:nth-of-type(3) { --dx: -26px; animation-delay: 2.4s; }
.petal-fall:nth-of-type(4) { --dx: 86px; animation-delay: 3.6s; background: linear-gradient(135deg, #fff4e6, #f0dcc2); }
.petal-fall:nth-of-type(5) { --dx: -98px; animation-delay: 4.8s; background: linear-gradient(135deg, #ffd27a, #f29d2e); }
@keyframes petal-fall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12% { opacity: 0.95; }
  85% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--dx), 66px) rotate(260deg); }
}

/* Cards bloom in: the rose swag settles down from above, the corner roses open, the names write themselves. */
.js .compact .reveal .card .swag { transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.25, 1) 0.2s, opacity 1s ease 0.2s; }
.js .compact .reveal:not(.is-in) .card .swag { transform: translateY(-18px); opacity: 0; }
.js .compact .reveal .corner { transition: opacity 1s ease 0.5s, translate 1.2s cubic-bezier(0.2, 0.8, 0.25, 1) 0.5s; }
.js .compact .reveal:not(.is-in) .corner { opacity: 0; translate: 0 10px; }
.js .compact .reveal .card--inv .title,
.js .compact .reveal .person__name { clip-path: inset(-40% -25% -40% -25%); transition: clip-path 1.7s cubic-bezier(0.35, 0.6, 0.2, 1) 0.3s; }
.js .compact .reveal .person__name + .person__parents + .weds + .person__name { transition-delay: 1.1s; }
.js .compact .reveal:not(.is-in) .card--inv .title,
.js .compact .reveal:not(.is-in) .person__name { clip-path: inset(-40% 125% -40% -25%); }

/* A few gold twinkles around the invitation's title and names. */
.twinkles { position: absolute; inset: 0; pointer-events: none; }
.twinkles i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff4cc; box-shadow: 0 0 7px 2px rgba(222, 176, 82, 0.75); opacity: 0; animation: twinkle 3.4s ease-in-out infinite; }
.twinkles i:nth-child(1) { top: 9%; left: 18%; }
.twinkles i:nth-child(2) { top: 14%; right: 16%; animation-delay: 0.9s; }
.twinkles i:nth-child(3) { top: 38%; left: 10%; width: 4px; height: 4px; animation-delay: 1.7s; }
.twinkles i:nth-child(4) { top: 55%; right: 11%; animation-delay: 2.5s; }
.twinkles i:nth-child(5) { top: 74%; left: 20%; width: 3px; height: 3px; animation-delay: 1.2s; }

/* The countdown diya burns: a warm glow that flickers at the flame. */
.compact .count__diya { position: relative; width: 96px; margin-left: auto; margin-right: auto; }
.compact .count__diya::after {
  content: "";
  position: absolute;
  left: 17%;
  top: 27%;
  width: 38px;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 228, 150, 0.9), rgba(255, 178, 72, 0.35) 55%, rgba(255, 170, 60, 0) 76%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: flame-flicker 1.7s ease-in-out infinite alternate;
}
@keyframes flame-flicker {
  0% { opacity: 0.55; transform: scale(0.9); }
  30% { opacity: 0.95; transform: scale(1.06); }
  55% { opacity: 0.7; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Ganesh ji: a soft, slow divine glow behind the portrait. */
.compact.skin-floral .ganesha-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 238, 196, 0.95), rgba(255, 214, 140, 0.35) 58%, rgba(255, 214, 140, 0) 74%);
  animation: divine-glow 4.6s ease-in-out infinite alternate;
}
@keyframes divine-glow { from { opacity: 0.45; transform: scale(0.94); } to { opacity: 0.95; transform: scale(1.05); } }
