/* Openings (D019): a scene covers the page until the guest taps it. invite.js adds .is-open on
   the tap, .is-leaving at data-out (the overlay fades) and body.is-opened at data-reveal (the
   page's entrance starts). Colors: the template palette (--inv-*); "cloth" (velvet, wood, the
   box) is the accent, deep velvet of the page color for curtains on a dark page; gold details. */

.inv-opening {
  --op-gold: #d9b26f; --op-gold-light: #f2dca6; --op-gold-dark: #a9814a;
  --op-cloth: var(--inv-accent);
  --op-on-cloth: #fff;
  --op-paper: #fffdf8;
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center;
  justify-content: safe center; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: var(--inv-bg, #f6f0e6); color: var(--inv-text, #2e2621);
  font-family: 'Manrope', system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
}
/* On a dark page the accent is light: objects take it; only the velvet stays deep. */
.inv-opening.op-dark.op-curtain { --op-cloth: color-mix(in oklab, var(--inv-bg) 70%, #000); }
.inv-opening.is-leaving { animation: op-out 0.7s ease forwards; pointer-events: none; }
html.js body.has-opening:not(.is-opened) { overflow: hidden; }
@keyframes op-out { to { opacity: 0; visibility: hidden; } }

/* The stage: kicker, names, the scene, date and the button, rising in one after another. */
.op-stage {
  position: relative; z-index: 2; box-sizing: border-box; width: min(100%, 440px); margin: auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px; text-align: center;
}
.op-stage > * { animation: op-in 0.8s cubic-bezier(.2,.7,.2,1) backwards; }
.op-stage > :nth-child(2) { animation-delay: 0.1s; }
.op-stage > :nth-child(3) { animation-delay: 0.2s; }
.op-stage > :nth-child(4) { animation-delay: 0.3s; }
.op-stage > :nth-child(5) { animation-delay: 0.4s; }
.op-stage > :nth-child(n+6) { animation-delay: 0.5s; }
@keyframes op-in { from { opacity: 0; transform: translateY(16px); } }

.op-kicker { margin: 0; font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; }
/* --cv-script is the guest page's script font: Bad Script on Kyrgyz pages and names (D023). */
.op-names {
  margin: 0; font-family: var(--cv-script, 'Great Vibes', 'Cormorant Garamond', cursive); font-weight: 400;
  font-size: clamp(38px, min(11vw, 7.5dvh), 60px); line-height: 1.05; color: var(--inv-accent); text-wrap: balance;
}
.op-date { margin: 4px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; letter-spacing: 0.12em; }
.op-hint { margin: 0; font-size: 13px; line-height: 1.4; opacity: 0.7; }
.op-cta {
  position: relative; overflow: hidden; margin-top: 12px; min-height: 52px; padding: 0 32px; border: 0; border-radius: 999px;
  background: var(--inv-accent); color: #fff; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 24px color-mix(in srgb, var(--inv-accent) 30%, transparent);
}
.op-dark .op-cta { color: var(--inv-bg); }
.op-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45), transparent); animation: op-glint 3.2s ease-in-out 1.2s infinite;
}
@keyframes op-glint { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.inv-opening button:focus-visible { outline: none; }
.inv-opening.is-keyboard button:focus-visible { outline: 3px solid var(--op-gold); outline-offset: 4px; }
.inv-opening.is-open .op-cta, .inv-opening.is-open .op-hint, .inv-opening.is-open .op-date,
.inv-opening.is-open .op-kicker, .inv-opening.is-open .op-stage > .op-names { opacity: 0; transform: translateY(-6px); transition: opacity 0.35s, transform 0.35s; }

/* The page's ornament stays a quiet texture behind a scene. */
.inv-opening .inv-backdrop-ornament { color: var(--inv-accent); opacity: 0.1; }

/* Over a photo, GIF or video the words turn light. */
.inv-opening.on-media { color: #fff; }
.inv-opening.on-media .op-names { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / 0.35); }

/* A wax seal, shared by the envelope and the curtain. */
.envelope-seal, .op-seal {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 35% 30%, #e6c48a, var(--op-gold) 45%, var(--op-gold-dark));
  box-shadow: 0 6px 14px rgb(0 0 0 / 0.28), inset 0 0 0 4px var(--op-gold-dark), inset 0 0 0 9px rgb(58 38 20 / 0.18);
  color: #3a2614; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; letter-spacing: 1px; cursor: pointer;
}
.op-seal { animation: op-in 0.8s backwards, op-beat 2.4s ease-in-out 1s infinite; }
@keyframes op-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Confetti: pieces fly out from the scene's center, then fall. */
.op-confetti, .ask-hearts { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.op-confetti i, .ask-hearts i { position: absolute; left: -4px; top: -6px; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }
.op-confetti i:nth-child(4n+1) { background: var(--inv-accent); }
.op-confetti i:nth-child(4n+2) { background: var(--op-gold); width: 10px; height: 10px; border-radius: 50%; }
.op-confetti i:nth-child(4n+3) { background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06); }
.op-confetti i:nth-child(4n) { background: color-mix(in srgb, var(--inv-accent) 45%, #fff); width: 6px; height: 14px; }
.is-open .op-confetti i { animation: op-burst 1.4s cubic-bezier(.15,.7,.3,1) forwards; animation-delay: calc(var(--burst, 0.3s) + var(--d)); }
@keyframes op-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.5); }
  55% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * 0.6)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.15), calc(var(--y) + 180px)) rotate(var(--r)) scale(1); }
}

/* ── Envelope ─────────────────────────────────────────────────────────────── */
.envelope {
  position: relative; width: min(320px, 80vw, 48dvh); aspect-ratio: 330 / 236; margin-top: 18px;
  border: 0; padding: 0; cursor: pointer; background: none; perspective: 900px;
}
.envelope > span { position: absolute; inset: 0; border-radius: 6px; }
.envelope-back { background: var(--op-cloth); box-shadow: 0 22px 44px rgb(40 20 20 / 0.24); }
.envelope > .envelope-letter {
  inset: 7% 7% 9%; z-index: 1; display: grid; place-items: start center; padding-top: 9%; box-sizing: border-box;
  background: var(--op-paper); border-radius: 4px; box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
}
.envelope-kk > .envelope-letter { place-items: unset; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 4% 6% 0; text-align: center; }
.envelope-kk .envelope-letter i { font-size: clamp(16px, 5vw, 22px); padding: 0; }
.envelope-letter-line, .envelope-letter-names, .envelope-letter-date { opacity: 0; font-style: normal; font-weight: 400; color: color-mix(in oklab, var(--inv-accent) 72%, #2b1b14); }
.envelope-letter-line { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(13px, 4.1vw, 16px); line-height: 1.25; text-wrap: balance; }
.envelope-letter-names { font-family: var(--cv-script, 'Great Vibes', 'Cormorant Garamond', cursive); font-size: clamp(22px, 7vw, 30px); line-height: 1.05; text-wrap: balance; }
.envelope-letter-date { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(12px, 3.6vw, 14px); letter-spacing: 0.14em; }
.envelope-letter i {
  font-style: normal; font-family: 'Great Vibes', cursive; font-size: clamp(20px, 7vw, 30px); line-height: 1.1; padding: 0 8%;
  color: color-mix(in oklab, var(--inv-accent) 72%, #2b1b14);
}
.envelope-front {
  z-index: 2;
  background:
    linear-gradient(to top right, rgb(0 0 0 / 0.08) 50%, transparent 50.5%) left bottom / 50.5% 100% no-repeat,
    linear-gradient(to top left, rgb(0 0 0 / 0.08) 50%, transparent 50.5%) right bottom / 50.5% 100% no-repeat,
    var(--op-cloth);
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}
.envelope-flap {
  z-index: 3; background: color-mix(in oklab, var(--op-cloth) 84%, #000); clip-path: polygon(0 0, 100% 0, 50% 56%);
  transform-origin: top center; outline: 1px solid color-mix(in srgb, var(--op-gold) 60%, transparent); outline-offset: -6px;
}
.envelope > .envelope-seal { inset: auto; left: 50%; top: 52%; z-index: 4; translate: -50% -50%; border-radius: 50%; transition: transform 0.3s; }
.envelope:hover .envelope-seal { transform: scale(1.06); }
.envelope-curl { width: 140px; height: 28px; margin-top: 2px; }
.envelope-line { margin: 4px 0 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; line-height: 1.3; opacity: 0.85; }
.envelope-when { margin: 0; font-size: 14px; letter-spacing: 1px; opacity: 0.75; }
.op-envelope.is-open .envelope-seal { animation: env-seal 0.45s ease-in forwards; }
.op-envelope.is-open .envelope-flap { animation: env-flap 0.7s 0.3s cubic-bezier(.4,0,.2,1) forwards; }
.op-envelope.is-open .envelope-letter { animation: env-letter 0.8s 0.85s cubic-bezier(.2,.7,.2,1) forwards; }
.op-envelope.is-open .envelope { animation: env-zoom 0.6s 1.55s ease-in forwards; }
/* The kyzyl letter's text appears as the letter rises, then the envelope waits for it to be read. */
.op-envelope.is-open .envelope-kk { animation: env-zoom 0.6s 2.4s ease-in forwards; }
.op-envelope.is-open .envelope-letter-line { animation: env-text 0.5s 1.35s ease forwards; }
.op-envelope.is-open .envelope-letter-names { animation: env-text 0.5s 1.6s ease forwards; }
.op-envelope.is-open .envelope-letter-date { animation: env-text 0.5s 1.85s ease forwards; }
@keyframes env-text { from { transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes env-seal { 30% { transform: scale(1.15); } 100% { transform: scale(0.4) rotate(25deg); opacity: 0; } }
@keyframes env-flap { 0% { transform: rotateX(0); z-index: 3; } 49% { z-index: 3; } 50% { z-index: 0; } 100% { transform: rotateX(180deg); z-index: 0; } }
@keyframes env-letter { to { transform: translateY(-58%); z-index: 3; } }
@keyframes env-zoom { to { transform: translateY(-12%) scale(1.5); opacity: 0; } }

/* ── Köshögö: velvet curtains on a gold rod, gathered to the sides ─────────── */
.op-curtain { background: transparent; }
.curtain-rod {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 14px;
  background: linear-gradient(#f4e2b0, var(--op-gold) 55%, var(--op-gold-dark)); box-shadow: 0 3px 8px rgb(0 0 0 / 0.3);
}
.curtain-half {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 50.5%; overflow: hidden; will-change: transform;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.3), transparent 14%, rgb(255 255 255 / 0.1) 26%, transparent 38%, rgb(0 0 0 / 0.2) 50%,
      transparent 62%, rgb(255 255 255 / 0.12) 74%, transparent 86%, rgb(0 0 0 / 0.28)) 0 0 / 25% 100%,
    radial-gradient(ellipse at 50% 0, rgb(255 255 255 / 0.14), transparent 60%),
    var(--op-cloth);
}
.curtain-left { left: 0; transform-origin: 0 0; box-shadow: inset -18px 0 30px rgb(0 0 0 / 0.25); }
.curtain-right { right: 0; transform-origin: 100% 0; box-shadow: inset 18px 0 30px rgb(0 0 0 / 0.25); }
.curtain-half::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 7px;
  background: linear-gradient(90deg, var(--op-gold-dark), var(--op-gold-light) 50%, var(--op-gold-dark));
  box-shadow: 0 0 6px rgb(0 0 0 / 0.3);
}
.curtain-left::after { right: 0; }
.curtain-right::after { left: 0; }
.curtain-ornament { width: 200%; height: 100%; color: var(--op-gold); opacity: 0.16; }
.curtain-right .curtain-ornament { margin-left: -100%; }
.curtain-tassel {
  position: absolute; top: 56%; width: 18px; height: 74px; border-radius: 8px 8px 45% 45%; transform-origin: 50% 0;
  background: repeating-linear-gradient(90deg, var(--op-gold-light) 0 2px, var(--op-gold-dark) 2px 4px);
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.3); animation: op-swing 3s ease-in-out infinite;
}
.curtain-tassel::before { content: ""; position: absolute; left: 50%; top: -60px; width: 2px; height: 60px; margin-left: -1px; background: var(--op-gold); }
.curtain-left .curtain-tassel { left: 16px; }
.curtain-right .curtain-tassel { right: 16px; animation-delay: -1.5s; }
@keyframes op-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.curtain-light { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, rgb(255 238 196 / 0.7), transparent 62%); }
.curtain-center { z-index: 4; color: var(--op-on-cloth); }
.curtain-center .op-names { color: #fff; text-shadow: 0 2px 16px rgb(0 0 0 / 0.35); }
.curtain-center .op-kicker, .curtain-center .op-date { color: var(--op-gold-light); opacity: 1; }
.op-curtain .op-cta { background: var(--op-gold); color: #3a2614; }
.op-curtain.is-open .curtain-left { animation: curtain-l 1.3s cubic-bezier(.65,0,.25,1) forwards; }
.op-curtain.is-open .curtain-right { animation: curtain-r 1.3s cubic-bezier(.65,0,.25,1) forwards; }
.op-curtain.is-open .curtain-light { animation: curtain-light 1.3s ease forwards; }
.op-curtain.is-open .curtain-center { opacity: 0; transform: scale(0.96); transition: opacity 0.35s, transform 0.35s; }
.op-curtain.is-open .curtain-tassel { animation: curtain-tassel 0.6s ease-in forwards; }
@keyframes curtain-l { 15% { transform: translateX(2%) scaleX(1.03); } 100% { transform: scaleX(0.14) skewY(-1deg); } }
@keyframes curtain-r { 15% { transform: translateX(-2%) scaleX(1.03); } 100% { transform: scaleX(0.14) skewY(1deg); } }
@keyframes curtain-light { 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes curtain-tassel { to { transform: rotate(18deg) translateY(30px); opacity: 0; } }

/* ── Carved doors (эшик): they swing open and the light pours out ─────────── */
.doors {
  position: relative; width: min(250px, 62vw, 34dvh); aspect-ratio: 200 / 300; margin-top: 10px; padding: 0; border: 0;
  background: none; cursor: pointer; perspective: 1100px;
}
.doors::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50% 50% 8px 8px / 34% 34% 8px 8px;
  border: 10px solid var(--op-gold); box-shadow: 0 18px 40px rgb(0 0 0 / 0.25), inset 0 0 0 2px var(--op-gold-dark);
}
.doors-light {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px;
  background: radial-gradient(ellipse at 50% 62%, #fffaf0, #f6dc9c 42%, color-mix(in srgb, var(--op-gold) 70%, #6b4a1f) 80%);
}
.door {
  position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; color: var(--op-gold);
  background: linear-gradient(90deg, rgb(0 0 0 / 0.2), transparent 22%, transparent 78%, rgb(0 0 0 / 0.2)), var(--op-cloth);
  transition: transform 1.15s cubic-bezier(.6,0,.2,1), filter 1.15s;
}
.door svg { position: absolute; inset: 5% 8%; width: 84%; height: 90%; }
.door-l { left: 0; transform-origin: 0 50%; border-top-left-radius: 100% 34%; }
.door-r { right: 0; transform-origin: 100% 50%; border-top-right-radius: 100% 34%; }
.door-r svg { transform: scaleX(-1); }
.door::after { content: ""; position: absolute; top: 56%; width: 10px; height: 10px; border-radius: 50%; background: var(--op-gold-light); box-shadow: 0 1px 2px rgb(0 0 0 / 0.4); }
.door-l::after { right: 8px; }
.door-r::after { left: 8px; }
.doors:hover .door-l { transform: rotateY(-8deg); }
.doors:hover .door-r { transform: rotateY(8deg); }
.op-doors.is-open .door-l { transform: rotateY(-100deg); filter: brightness(0.7); }
.op-doors.is-open .door-r { transform: rotateY(100deg); filter: brightness(0.7); }
.op-doors.is-open .doors-light { animation: doors-light 1.2s ease forwards; }
.op-doors.is-open .op-stage { animation: op-through 0.75s 0.95s ease-in forwards; transform-origin: 50% 52%; }
@keyframes doors-light { to { filter: brightness(1.25); box-shadow: 0 0 80px 30px rgb(255 232 170 / 0.7); } }
@keyframes op-through { to { transform: scale(2.6); opacity: 0; } }

/* ── Ring box: a velvet dome lifts and the rings catch the light ───────────── */
.ringbox { position: relative; width: min(200px, 56vw); aspect-ratio: 1 / 0.9; margin-top: 20px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 700px; }
.rb-base, .rb-lid { position: absolute; left: 0; right: 0; }
.rb-base {
  bottom: 0; height: 54%; border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--op-cloth) 70%, #000), var(--op-cloth) 30%, color-mix(in oklab, var(--op-cloth) 72%, #000));
  box-shadow: 0 18px 30px rgb(0 0 0 / 0.3);
}
.rb-cushion {
  position: absolute; left: 8%; right: 8%; top: 8%; height: 50%; border-radius: 40px;
  background: radial-gradient(ellipse at 50% 25%, #fffaf2, #ecdfca 65%, #cdbb9c); box-shadow: inset 0 -3px 6px rgb(0 0 0 / 0.15);
}
.rb-cushion::after { content: ""; position: absolute; left: 12%; right: 12%; top: 48%; height: 3px; border-radius: 3px; background: rgb(120 90 50 / 0.35); }
.rb-ring {
  position: absolute; top: -30%; width: 28%; aspect-ratio: 1; border-radius: 50%; box-sizing: border-box; opacity: 0; transform: translateY(14px);
  border: 6px solid #e8c57d; box-shadow: inset 0 0 0 1px var(--op-gold-dark), 0 3px 4px rgb(0 0 0 / 0.25);
  transition: opacity 0.4s 0.35s, transform 0.6s 0.35s cubic-bezier(.3,1.6,.5,1);
}
.rb-ring-1 { left: 21%; }
.rb-ring-2 { left: 49%; border-color: #eef0f4; box-shadow: inset 0 0 0 1px #a8adb8, 0 3px 4px rgb(0 0 0 / 0.25); transition-delay: 0.45s; }
.rb-ring-2 i { position: absolute; left: 50%; top: -14px; width: 13px; height: 13px; translate: -50% 0; rotate: 45deg; background: linear-gradient(135deg, #fff, #cfe6ff 60%, #9cc3ee); box-shadow: 0 0 8px rgb(200 230 255 / 0.9); }
.rb-glint { position: absolute; left: 60%; top: -48%; width: 34px; height: 34px; opacity: 0; background: radial-gradient(circle, #fff 0 8%, transparent 9%), conic-gradient(from 45deg, transparent 0 20%, #fff 22%, transparent 24% 45%, #fff 47%, transparent 49% 70%, #fff 72%, transparent 74% 95%, #fff 97%, transparent 99%); border-radius: 50%; }
.rb-lid {
  top: 0; height: 66%; z-index: 3; transform-origin: 50% 100%;
  border-radius: 50% 50% 10px 10px / 62% 62% 10px 10px;
  background: radial-gradient(ellipse at 50% 18%, color-mix(in oklab, var(--op-cloth) 75%, #fff), var(--op-cloth) 55%, color-mix(in oklab, var(--op-cloth) 75%, #000));
  box-shadow: 0 10px 18px rgb(0 0 0 / 0.25), inset 0 -3px 0 color-mix(in oklab, var(--op-cloth) 60%, #000);
}
.rb-clasp { position: absolute; left: 50%; bottom: -7px; width: 24px; height: 14px; translate: -50% 0; border-radius: 4px; background: linear-gradient(var(--op-gold-light), var(--op-gold-dark)); box-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
.op-rings.is-open .rb-lid { animation: rb-lid 0.8s cubic-bezier(.5,0,.2,1) forwards; }
.op-rings.is-open .rb-ring { opacity: 1; transform: none; }
.op-rings.is-open .rb-glint { animation: rb-glint 0.8s 0.85s ease-out forwards; }
.op-rings.is-open .ringbox { animation: rb-zoom 0.6s 1.4s ease-in forwards; }
@keyframes rb-lid { 25% { transform: translateY(-4%); } 100% { transform: translateY(-62%) rotateX(68deg); opacity: 0.9; } }
@keyframes rb-glint { 0% { opacity: 0; transform: scale(0.2) rotate(0); } 50% { opacity: 1; transform: scale(1.4) rotate(45deg); } 100% { opacity: 0; transform: scale(0.8) rotate(90deg); } }
@keyframes rb-zoom { to { transform: scale(1.7); opacity: 0; } }

/* ── Gift ─────────────────────────────────────────────────────────────────── */
.gift { position: relative; width: min(190px, 52vw); aspect-ratio: 1 / 1.05; margin-top: 24px; padding: 0; border: 0; background: none; cursor: pointer; animation: gift-wiggle 2.8s ease-in-out 1.2s infinite; }
.gift-box, .gift-lid { position: absolute; border-radius: 8px; }
.gift-box {
  left: 7%; right: 7%; bottom: 0; height: 64%;
  background: linear-gradient(90deg, transparent 43%, var(--op-gold) 43% 57%, transparent 57%), var(--op-cloth);
  box-shadow: 0 18px 30px rgb(0 0 0 / 0.22), inset 0 -10px 20px rgb(0 0 0 / 0.12);
}
.gift-lid {
  left: 0; right: 0; top: 22%; height: 17%; z-index: 2;
  background: linear-gradient(90deg, transparent 43%, var(--op-gold-light) 43% 57%, transparent 57%), color-mix(in oklab, var(--op-cloth) 85%, #fff);
  box-shadow: 0 6px 10px rgb(0 0 0 / 0.15);
}
.gift-bow { position: absolute; left: 50%; bottom: 100%; width: 0; height: 0; }
.gift-bow i { position: absolute; bottom: -6px; width: 46px; height: 32px; box-sizing: border-box; border: 8px solid var(--op-gold); border-radius: 50%; }
.gift-bow i:first-child { right: -2px; rotate: -28deg; }
.gift-bow i:last-child { left: -2px; rotate: 28deg; }
.op-gift .op-confetti { top: 30%; --burst: 0.35s; }
.op-gift.is-open .gift { animation: none; }
.op-gift.is-open .gift-bow { animation: gift-bow 0.3s ease-in forwards; }
.op-gift.is-open .gift-lid { animation: gift-lid 0.8s 0.2s cubic-bezier(.3,.6,.4,1) forwards; }
.op-gift.is-open .gift-box { animation: rb-zoom 0.5s 1s ease-in forwards; }
@keyframes gift-wiggle { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(-4deg); } 82% { transform: rotate(4deg); } 89% { transform: rotate(-2deg); } }
@keyframes gift-bow { to { transform: scale(1.4); opacity: 0; } }
@keyframes gift-lid { to { transform: translateY(-260%) rotate(-28deg); opacity: 0; } }

/* ── Cake: candles to blow out ────────────────────────────────────────────── */
.cake { position: relative; width: min(220px, 60vw); aspect-ratio: 1; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer; }
.cake-plate { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; border-radius: 50%; background: color-mix(in srgb, var(--inv-text) 16%, transparent); }
.cake-tier { position: absolute; border-radius: 12px 12px 8px 8px; box-shadow: inset 0 -10px 18px rgb(0 0 0 / 0.12); }
.cake-tier::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; border-radius: 12px 12px 0 0;
  background: radial-gradient(circle at 10px 6px, var(--op-paper) 9px, transparent 10px) 0 0 / 20px 16px repeat-x, linear-gradient(var(--op-paper) 6px, transparent 6px);
}
.cake-tier-low { left: 6%; right: 6%; bottom: 5%; height: 36%; display: grid; place-items: center; background: var(--op-cloth); }
.cake-tier-top { left: 20%; right: 20%; bottom: 40%; height: 26%; background: color-mix(in oklab, var(--op-cloth) 80%, #fff); }
.cake-age { position: relative; margin-top: 8px; font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 700; line-height: 1; color: var(--op-gold-light); text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
.cake-candles { position: absolute; left: 24%; right: 24%; bottom: 66%; height: 22%; display: flex; justify-content: space-evenly; }
.candle { position: relative; width: 8px; height: 100%; border-radius: 3px; background: repeating-linear-gradient(-45deg, #fff 0 4px, color-mix(in srgb, var(--inv-accent) 55%, #fff) 4px 8px); }
.flame {
  position: absolute; left: 50%; bottom: 100%; width: 12px; height: 20px; margin: 0 0 3px -6px; transform-origin: 50% 100%;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 72%, #fffbe0, #ffd255 45%, #ff8a00 85%);
  box-shadow: 0 0 16px 5px rgb(255 190 80 / 0.55); animation: flicker 0.16s ease-in-out infinite alternate;
}
.smoke { position: absolute; left: 50%; bottom: 100%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: rgb(150 150 150 / 0.55); opacity: 0; }
@keyframes flicker { from { transform: scale(1, 1) rotate(-2deg); } to { transform: scale(0.92, 1.08) rotate(2deg); } }
.op-cake .op-confetti { top: 20%; --burst: 0.95s; }
.op-cake.is-open .flame { animation: flame-out 0.3s ease-in forwards; }
.op-cake.is-open .smoke { animation: smoke 1s ease-out forwards; }
.op-cake.is-open .candle:nth-child(2) > i { animation-delay: 0.1s; }
.op-cake.is-open .candle:nth-child(3) > i { animation-delay: 0.2s; }
.op-cake.is-open .candle:nth-child(4) > i { animation-delay: 0.3s; }
.op-cake.is-open .candle:nth-child(5) > i { animation-delay: 0.4s; }
.op-cake.is-open .candle:nth-child(6) > i { animation-delay: 0.5s; }
.op-cake.is-open .candle:nth-child(7) > i { animation-delay: 0.6s; }
.op-cake.is-open .cake { animation: rb-zoom 0.55s 1.25s ease-in forwards; }
@keyframes flame-out { to { transform: scale(0.1, 0.4) translateY(4px); opacity: 0; } }
@keyframes smoke { 0% { opacity: 0.7; transform: translateY(0) scale(0.6); } 100% { opacity: 0; transform: translate(6px, -60px) scale(3); } }

/* ── Ala jip: cut the black-and-white rope, then the first steps ──────────── */
.rope { position: relative; width: 100vw; height: 90px; margin: 14px calc(50% - 50vw) 0; }
.rope-half {
  position: absolute; top: 50%; width: 50%; height: 14px; margin-top: -7px; border-radius: 7px;
  background: repeating-linear-gradient(-60deg, #fbf7ef 0 7px, #262423 7px 14px); box-shadow: 0 3px 6px rgb(0 0 0 / 0.25);
}
.rope-l { left: 0; transform-origin: 0 50%; border-radius: 0 7px 7px 0; }
.rope-r { right: 0; transform-origin: 100% 50%; border-radius: 7px 0 0 7px; }
.rope-steps { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column-reverse; gap: 6px; translate: -50% -40%; color: var(--inv-accent); }
.rope-steps .foot { width: 18px; height: 30px; opacity: 0; }
.rope-steps .foot:nth-child(odd) { translate: -12px 0; rotate: -8deg; }
.rope-steps .foot:nth-child(even) { translate: 12px 0; rotate: 8deg; }
.scissors {
  position: relative; z-index: 3; display: grid; place-items: center; width: 78px; height: 78px; margin-top: -84px; border: 0; border-radius: 50%;
  background: var(--inv-surface, #fff); color: var(--inv-accent); box-shadow: 0 10px 24px rgb(0 0 0 / 0.2); cursor: pointer;
}
.scissors svg { width: 46px; height: 46px; }
.scissors .blade { transform-origin: 32px 30px; animation: snip 1.4s ease-in-out infinite; }
.scissors .blade-b { animation-name: snip-b; }
@keyframes snip { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } }
@keyframes snip-b { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } }
.op-rope.is-open .scissors .blade { animation: none; }
.op-rope.is-open .scissors { animation: scissors-go 0.5s 0.2s ease-in forwards; }
.op-rope.is-open .rope-l { animation: rope-l 1s 0.15s cubic-bezier(.5,0,.6,1) forwards; }
.op-rope.is-open .rope-r { animation: rope-r 1s 0.15s cubic-bezier(.5,0,.6,1) forwards; }
.op-rope.is-open .foot { animation: step 0.35s ease-out forwards; }
.op-rope.is-open .foot:nth-child(1) { animation-delay: 0.65s; }
.op-rope.is-open .foot:nth-child(2) { animation-delay: 0.9s; }
.op-rope.is-open .foot:nth-child(3) { animation-delay: 1.15s; }
@keyframes scissors-go { to { transform: scale(0.5); opacity: 0; } }
@keyframes rope-l { 25% { transform: rotate(-4deg); } 100% { transform: rotate(-38deg) translateY(170px); opacity: 0; } }
@keyframes rope-r { 25% { transform: rotate(4deg); } 100% { transform: rotate(38deg) translateY(170px); opacity: 0; } }
@keyframes step { from { opacity: 0; scale: 0.5; } to { opacity: 0.9; scale: 1; } }

/* ── Stars (cradle, lantern) ──────────────────────────────────────────────── */
.op-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.op-stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--op-gold-light); box-shadow: 0 0 6px var(--op-gold-light); animation: twinkle 2.4s ease-in-out infinite; }
.op-stars i:nth-child(1) { left: 8%; top: 12%; } .op-stars i:nth-child(2) { left: 22%; top: 30%; animation-delay: -0.4s; }
.op-stars i:nth-child(3) { left: 84%; top: 10%; animation-delay: -0.8s; } .op-stars i:nth-child(4) { left: 70%; top: 26%; animation-delay: -1.2s; }
.op-stars i:nth-child(5) { left: 92%; top: 44%; animation-delay: -1.6s; } .op-stars i:nth-child(6) { left: 5%; top: 52%; animation-delay: -2s; }
.op-stars i:nth-child(7) { left: 38%; top: 8%; animation-delay: -0.6s; } .op-stars i:nth-child(8) { left: 58%; top: 14%; animation-delay: -1.4s; }
.op-stars i:nth-child(9) { left: 14%; top: 78%; animation-delay: -1s; } .op-stars i:nth-child(10) { left: 88%; top: 76%; animation-delay: -1.8s; }
.op-stars i:nth-child(11) { left: 48%; top: 90%; animation-delay: -0.2s; } .op-stars i:nth-child(12) { left: 30%; top: 64%; animation-delay: -2.2s; }
.op-stars i:nth-child(13) { left: 76%; top: 60%; animation-delay: -0.9s; } .op-stars i:nth-child(14) { left: 64%; top: 86%; animation-delay: -1.7s; }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.2); } }

/* ── Beshik ───────────────────────────────────────────────────────────────── */
.cradle { width: min(240px, 66vw); margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 92%; animation: rock 3.2s ease-in-out infinite; }
.cradle svg { display: block; width: 100%; height: auto; overflow: visible; }
.cradle-arch { stroke: var(--op-gold); }
.cradle-body { fill: var(--op-cloth); }
.cradle-band { stroke: var(--op-gold-light); }
.cradle-legs { stroke: color-mix(in oklab, var(--op-cloth) 70%, #000); }
.cradle-knob { fill: var(--op-gold); }
@keyframes rock { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.op-cradle.is-open .cradle { animation: rock 0.5s ease-in-out 2, rb-zoom 0.5s 0.9s ease-in forwards; }
.op-cradle.is-open .op-stars i { animation: star-rise 1.2s ease-in forwards; }
@keyframes star-rise { to { transform: translateY(-40vh) scale(1.6); opacity: 0; } }

/* ── Iftar lantern: night, then its warm light fills the screen ───────────── */
.op-lantern { background: radial-gradient(ellipse at 50% 28%, color-mix(in oklab, var(--inv-accent) 22%, #12193a), #070b1c 75%); color: #f6ecd6; }
.op-lantern .op-names { color: var(--op-gold-light); }
.op-lantern .op-cta { background: var(--op-gold); color: #2a1d0c; }
.lantern { width: min(140px, 40vw); margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 0; animation: sway 4s ease-in-out infinite; }
.lantern svg { display: block; width: 100%; height: auto; }
.lantern-hook, .lantern-frame { stroke: var(--op-gold); }
.lantern-cap, .lantern-crescent { fill: var(--op-gold); }
.lantern-glass { fill: rgb(255 232 180 / 0.1); }
.lantern-flame { fill: #ffcf66; opacity: 0.18; transform-origin: 50px 104px; }
@keyframes sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.lantern-glow {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 60px; height: 60px; margin: -30px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgb(255 226 160 / 0.95), rgb(255 196 100 / 0.6) 45%, transparent 70%);
}
.op-lantern.is-open .lantern-flame { animation: flame-on 0.4s ease-out forwards, flicker 0.18s 0.4s ease-in-out infinite alternate; }
.op-lantern.is-open .lantern-glow { animation: glow-fill 1.3s 0.35s ease-in forwards; }
@keyframes flame-on { to { opacity: 1; filter: drop-shadow(0 0 10px #ffc04d); } }
@keyframes glow-fill { 0% { opacity: 0; transform: scale(1); } 30% { opacity: 1; } 100% { opacity: 1; transform: scale(40); } }

/* ── Popper ───────────────────────────────────────────────────────────────── */
.popper { position: relative; width: 120px; margin-top: 30px; padding: 0; border: 0; background: none; cursor: pointer; animation: gift-wiggle 2.4s ease-in-out 1s infinite; }
.popper svg { display: block; width: 100%; height: auto; }
.popper-cone { fill: var(--op-cloth); }
.popper-stripes { stroke: var(--op-gold); }
.popper-spark { stroke: var(--op-gold); animation: twinkle 1.2s ease-in-out infinite; }
.op-popper .op-confetti { top: 10%; --burst: 0.05s; }
.op-popper.is-open .popper { animation: popper-kick 0.4s ease-out forwards; }
.op-popper.is-open .popper-spark { animation: none; opacity: 0; }
@keyframes popper-kick { 30% { transform: translateY(10px) rotate(-8deg) scale(0.95); } 100% { transform: translateY(4px) rotate(-4deg); } }

/* ── Graduation caps ──────────────────────────────────────────────────────── */
.caps { position: relative; display: flex; align-items: flex-end; gap: 4px; margin-top: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.cap { width: min(86px, 24vw); height: auto; animation: bob 2.6s ease-in-out infinite; }
.cap:nth-child(2) { width: min(104px, 28vw); animation-delay: -0.9s; }
.cap:nth-child(3) { animation-delay: -1.7s; }
.cap-board { fill: var(--op-cloth); }
.cap-band { fill: color-mix(in oklab, var(--op-cloth) 75%, #000); }
.cap-tassel { stroke: var(--op-gold); }
.cap-tassel-end { fill: var(--op-gold); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.op-caps .op-confetti { top: 0; --burst: 0.3s; }
.op-caps.is-open .cap { animation: cap-fly 1.2s cubic-bezier(.3,.1,.4,1) forwards; }
.op-caps.is-open .cap:nth-child(1) { --spin: -340deg; --dx: -60px; }
.op-caps.is-open .cap:nth-child(2) { --spin: 300deg; --dx: 10px; animation-delay: 0.08s; }
.op-caps.is-open .cap:nth-child(3) { --spin: 420deg; --dx: 70px; animation-delay: 0.16s; }
@keyframes cap-fly { to { transform: translate(var(--dx), -110vh) rotate(var(--spin)); } }

/* ── Ticket ───────────────────────────────────────────────────────────────── */
.ticket { display: flex; width: min(340px, 88vw); padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; filter: drop-shadow(0 16px 26px rgb(0 0 0 / 0.22)); }
.ticket-main {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border-radius: 16px 0 0 16px;
  background: var(--inv-surface, #fff); color: var(--inv-text); border-right: 2px dashed color-mix(in srgb, var(--inv-text) 28%, transparent);
}
.ticket-names { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--inv-accent); text-wrap: balance; }
.ticket-when { font-size: 14px; letter-spacing: 0.12em; }
.ticket-admit { margin-top: 10px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.7; }
.ticket-stub { position: relative; display: grid; place-items: center; width: 64px; border-radius: 0 16px 16px 0; background: var(--inv-accent); color: #fff; transform-origin: 0 100%; animation: stub-hint 2.6s ease-in-out 1.4s infinite; }
.op-dark .ticket-stub { color: var(--inv-bg); }
.ticket-stub span { writing-mode: vertical-rl; font-weight: 700; letter-spacing: 0.24em; font-size: 13px; }
@keyframes stub-hint { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(4deg); } 90% { transform: rotate(-1deg); } }
.op-ticket.is-open .ticket-stub { animation: stub-tear 0.8s cubic-bezier(.5,0,.7,1) forwards; }
.op-ticket.is-open .ticket-main { animation: ticket-go 0.7s 0.55s ease-in forwards; }
@keyframes stub-tear { 25% { transform: rotate(8deg); } 100% { transform: translate(40px, 140px) rotate(28deg); opacity: 0; } }
@keyframes ticket-go { to { transform: translateY(-30px) scale(1.06); opacity: 0; } }

/* ── The date's question: "no" runs away ──────────────────────────────────── */
.ask-heart { width: 104px; height: auto; fill: var(--inv-accent); animation: op-in 0.8s backwards, heartbeat 1.3s ease-in-out 1s infinite; filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--inv-accent) 35%, transparent)); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.ask-msg, .ask-hooray { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ask-question { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(28px, 8vw, 36px); line-height: 1.15; text-wrap: balance; }
.ask-hooray { display: none; }
.ask-actions { position: relative; width: 100%; height: 150px; margin-top: 16px; }
.ask-yes {
  position: absolute; left: 0; right: 0; top: 0; height: 56px; border: 0; border-radius: 999px; background: var(--inv-accent); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; animation: yes-pulse 2s ease-in-out 1.5s infinite;
}
.op-dark .ask-yes { color: var(--inv-bg); }
@keyframes yes-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--inv-accent) 45%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
.ask-no {
  position: absolute; left: 50%; top: 76px; translate: -50% 0; min-width: 150px; height: 48px; padding: 0 18px; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--inv-muted) 45%, transparent); border-radius: 999px; background: var(--inv-surface, #fff);
  color: var(--inv-muted); font: inherit; font-size: 15px; cursor: pointer; transition: transform 0.25s ease;
}
.ask-hearts i::before { content: "♥"; position: absolute; inset: -6px; font-size: 18px; line-height: 1; color: var(--inv-accent); }
.ask-hearts i:nth-child(even)::before { color: color-mix(in srgb, var(--inv-accent) 50%, #fff); font-size: 13px; }
.op-question.is-agreed .ask-msg, .op-question.is-agreed .ask-actions { display: none; }
.op-question.is-agreed .ask-hooray { display: flex; animation: zh-pop 0.45s ease both; }
.op-question.is-agreed .ask-heart { animation: heartbeat 0.6s ease-in-out infinite; }
.op-question.is-agreed .ask-hearts i { animation: op-burst 1.3s cubic-bezier(.15,.7,.3,1) forwards; animation-delay: var(--d); }
@keyframes zh-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .inv-opening, .inv-opening *, .inv-opening *::before, .inv-opening *::after { animation: none !important; transition: none !important; }
}

/* Opening controls describe the recipient's action and stay readable with long names. */
.op-kicker,.op-names,.op-hint { max-width:100%; overflow-wrap:anywhere; }
.op-cta { box-sizing:border-box; max-width:100%; padding:14px 26px; overflow-wrap:anywhere; line-height:1.5; }

/* Twenty additional invitation scenes share custom vector art with individual compositions. */
.nx-new-art{transform-box:fill-box;transform-origin:center;animation:nx-new-arrive 1.1s cubic-bezier(.2,.8,.2,1) both}
.nx-new-halo{fill:color-mix(in srgb,var(--op-gold) 17%,transparent);stroke:var(--op-gold);stroke-width:1.4;stroke-dasharray:4 5}
.nx-new-frame{fill:var(--op-paper);stroke:var(--inv-accent);stroke-width:3}
.nx-new-line{fill:none;stroke:var(--inv-text);stroke-width:2;stroke-linecap:round}
.nx-new-star{fill:var(--op-gold);animation:nx-new-twinkle 2s ease-in-out infinite alternate}
.nx-new-leaf{stroke:var(--op-gold-light);stroke-width:2}
.nx-new-art .nx-monogram{font:italic 30px Georgia,serif;fill:var(--inv-text);text-anchor:middle}
@keyframes nx-new-arrive{from{opacity:0;transform:translateY(18px) scale(.9)}to{opacity:1;transform:none}}
@keyframes nx-new-twinkle{to{opacity:.35;transform:scale(.7);transform-origin:center}}
.nx-parchment .nx-new-frame{fill:#f3e6c9;stroke:#8b6f47}.nx-parchment .nx-new-halo{fill:#b58b4a22;stroke:#b58b4a}
.nx-silk-fan .nx-new-frame{transform:rotate(-7deg);fill:#f9edf0}.nx-silk-fan .nx-new-leaf{transform:scaleX(1.35)}
.nx-flower-gate .nx-new-halo{fill:#e9b8c433;stroke:#b77a8e}.nx-flower-gate .nx-new-leaf{fill:#b77a8e}
.nx-lantern-path .nx-new-frame{fill:#26263b;stroke:#e7bb70}.nx-lantern-path .nx-new-halo{fill:#e7bb7020}
.nx-velvet-box .nx-new-frame{fill:#702f3e;stroke:#d8b476}.nx-velvet-box .nx-new-leaf{fill:#d8b476}
.nx-wax-seal .nx-new-frame{fill:#fffaf0;stroke:#9d382e;stroke-dasharray:5 3}.nx-wax-seal .nx-new-leaf{fill:#a8443d}
.nx-lace-curtain .nx-new-frame{fill:#fff9f3;stroke:#b78988;stroke-dasharray:2 3}.nx-lace-curtain .nx-new-halo{stroke-dasharray:1 4}
.nx-moon-window .nx-new-frame{fill:#202944;stroke:#e6d6a5}.nx-moon-window .nx-new-leaf{fill:#e6d6a5}
.nx-paper-crane .nx-new-frame{fill:#eef3f7;stroke:#56758e}.nx-paper-crane .nx-new-leaf{fill:#d07c68}
.nx-tunduk-dawn .nx-new-frame{fill:#f7eddb;stroke:#a96245}.nx-tunduk-dawn .nx-new-halo{fill:#f0b76533}
.nx-shyrdak-door .nx-new-frame{fill:#b74d3b;stroke:#2f554d;stroke-width:5}.nx-shyrdak-door .nx-new-halo{stroke-dasharray:8 3}
.nx-star-map .nx-new-frame{fill:#18243f;stroke:#c6b9e6}.nx-star-map .nx-new-leaf{fill:#c6b9e6}
.nx-vinyl-sleeve .nx-new-frame{fill:#f2dfc3;stroke:#402c2c}.nx-vinyl-sleeve .nx-new-leaf{fill:#342929}
.nx-theatre-ticket .nx-new-frame{fill:#8f3348;stroke:#e9c782;stroke-dasharray:4 3}.nx-theatre-ticket .nx-new-halo{fill:#8f334820}
.nx-painted-screen .nx-new-frame{fill:#e7d7c3;stroke:#75846a}.nx-painted-screen .nx-new-leaf{fill:#be7757}
.nx-golden-hour .nx-new-frame{fill:#f2c879;stroke:#985644}.nx-golden-hour .nx-new-halo{fill:#efb14b45}
.nx-paper-lantern .nx-new-frame{fill:#fff0d5;stroke:#c47c43}.nx-paper-lantern .nx-new-leaf{fill:#da874d}
.nx-woven-ribbon .nx-new-frame{fill:#f4e4d5;stroke:#9a594c;stroke-dasharray:7 2}.nx-woven-ribbon .nx-new-line{stroke:#65795f;stroke-dasharray:3 3}
.nx-storybook-gate .nx-new-frame{fill:#f5ebd8;stroke:#79604b;stroke-width:5}.nx-storybook-gate .nx-new-halo{stroke-dasharray:12 3}
.nx-rose-window .nx-new-frame{fill:#ece3ee;stroke:#85709a}.nx-rose-window .nx-new-leaf{fill:#aa6171}
/* The recipient's name, written on the envelope under the seal (a personal link only). */
.op-guest { margin: 2px 0 0; max-width: 88vw; text-align: center; overflow-wrap: anywhere; color: var(--op-guest-color, var(--inv-text)); }
.op-guest-for { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.78; }
.op-guest-name { display: block; font-family: 'Great Vibes', 'Bad Script', cursive; font-size: clamp(24px, 7.6vw, 36px); line-height: 1.12; }
.op-guest:lang(ky) .op-guest-name, :lang(ky) .op-guest-name { font-family: 'Bad Script', cursive; }
