/* Style layouts (D018): oyu (national), gulzar (romantic), jash (youth), saray (elegant) and
   ak-barak (minimal). .st-cover is the first screen of the guest page and of the catalog card,
   sized in container units of .st-in; .cv-oy… tune the canvas blocks below it. Colors: the
   template palette (--inv-*), motifs: art.css. */

.st-cover {
  --st-serif: 'Cormorant Garamond', Georgia, serif;
  --st-script: 'Great Vibes', 'Cormorant Garamond', cursive;
  --st-sans: 'Manrope', system-ui, sans-serif;
  --st-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --st-line: color-mix(in srgb, var(--inv-accent) 55%, transparent);
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: min(calc(100svh - var(--demo-top-space, 0px)), 940px); padding: 64px 20px 48px;
  background: var(--inv-bg); color: var(--inv-text); font-family: var(--st-sans); text-align: center;
}
/* A phone screen with browser bars is about 730 px tall: trim the padding so a 300×520 scene fits it. */
@media (max-width: 520px) and (max-height: 820px) { .st-cover { padding: 56px 20px 20px; } }
.st-cover > .cv-langs { position: absolute; top: 14px; right: 14px; z-index: 3; }
.st-cover .inv-backdrop-ornament { color: var(--inv-accent); opacity: 0.12; }
.st-in {
  position: relative; z-index: 1; box-sizing: border-box; width: min(100%, 480px);
  container-type: inline-size; display: flex; flex-direction: column; align-items: center;
}
.st-cover p, .st-cover h1 { margin: 0; }
.st-art { display: block; width: 46cqi; height: auto; margin: 0 auto 5cqi; }
.st-greeting { margin-bottom: 4cqi; font-size: clamp(10px, 3.8cqi, 16px); line-height: 1.5; }
.st-kicker { font-size: clamp(8px, 3.1cqi, 13px); letter-spacing: 0.3em; text-transform: uppercase; color: var(--inv-muted); }
.st-names {
  display: flex; flex-direction: column; align-items: center; width: 100%; margin: 4cqi 0 5cqi;
  font-family: var(--st-serif); font-weight: 500; font-size: clamp(16px, 12cqi, 62px); line-height: 1.02;
  color: var(--inv-accent); overflow-wrap: anywhere; text-wrap: balance;
}
.st-amp { font-size: 0.5em; line-height: 1.4; color: var(--inv-muted); }
.st-date { font-family: var(--st-serif); font-size: clamp(11px, 5.6cqi, 26px); letter-spacing: 0.08em; }
.st-when, .st-venue { font-size: clamp(8px, 3.2cqi, 14px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--inv-muted); }
.st-when { margin-top: 1.4cqi; }
.st-venue { margin-top: 3cqi; letter-spacing: 0.1em; }
.cover-on-media .st-kicker, .cover-on-media .st-when, .cover-on-media .st-venue,
.cover-on-media .st-amp, .cover-on-media .st-names, .cover-on-media .st-date { color: #fff; }

/* Oyu: a felt card in a double frame with kochkor corners, a shyrdak band at the bottom. */
.st-oyu { padding: 28px 16px 44px; }
.st-oyu .st-in {
  padding: 9cqi 7cqi 10cqi; border: 2px solid var(--st-line); outline: 1px solid var(--st-line); outline-offset: -9px;
  background: color-mix(in srgb, var(--inv-surface) 60%, transparent);
}
.st-oyu .st-in::before {
  content: ""; position: absolute; inset: 14px; pointer-events: none; background: var(--inv-accent);
  --corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M2 30 L2 12 C2 6 6 2 12 2 L30 2 M8 24 C8 14 14 8 24 8 M16 16 C22 16 23 22 19 23 C16 24 14 21 16 19' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask: var(--corner) top left / 34px no-repeat, var(--corner) top right / 34px no-repeat, var(--corner) bottom left / 34px no-repeat, var(--corner) bottom right / 34px no-repeat;
  mask: var(--corner) top left / 34px no-repeat, var(--corner) top right / 34px no-repeat, var(--corner) bottom left / 34px no-repeat, var(--corner) bottom right / 34px no-repeat;
}
.st-oyu:not(.st-card) .st-in, .st-gulzar:not(.st-card) .st-in { min-height: min(72svh, 700px); justify-content: center; }
.st-oyu .st-names { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: clamp(15px, 10.5cqi, 52px); }
.st-oyu .st-amp { text-transform: none; font-style: italic; }
.st-oyu .st-date { color: var(--inv-accent); }
.st-oyu.m-komuz .st-art { width: 18cqi; }
.st-oyu.m-eshik .st-art { width: 32cqi; }
.st-oyu.m-boz-uy .st-art, .st-oyu.m-ala-too .st-art { width: 66cqi; }
.st-oyu.m-kochkor .st-art { width: 50cqi; }
.oy-band {
  position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 1;
  background: conic-gradient(from 135deg at 50% 0, var(--inv-accent) 90deg, transparent 0) 0 0 / 24px 100% repeat-x;
}

/* Gulzar: flowers in two corners, a soft arched card, names in script. */
.st-gulzar .gz-top, .st-gulzar .gz-bottom { position: absolute; z-index: 0; width: min(64%, 340px); margin: 0; pointer-events: none; }
.st-gulzar .gz-top { top: -3%; right: -12%; transform: rotate(10deg); }
.st-gulzar .gz-bottom { bottom: -5%; left: -14%; transform: scaleX(-1) rotate(10deg); }
.st-gulzar .st-in {
  width: min(100%, 440px); padding: 15cqi 8cqi 12cqi; border-radius: 50% 50% 22px 22px / 26% 26% 22px 22px;
  background: color-mix(in srgb, var(--inv-surface) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--inv-accent) 22%, transparent); box-shadow: 0 20px 60px rgb(0 0 0 / 0.07);
}
.st-gulzar .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(22px, 16cqi, 80px); line-height: 1.05; }
.st-gulzar .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.42em; }
.st-gulzar .st-date { font-style: italic; letter-spacing: 0.02em; }
.cover-on-media.st-gulzar .st-in { background: rgb(0 0 0 / 0.18); border-color: rgb(255 255 255 / 0.4); }
.cover-on-media.st-gulzar .st-art, .cover-on-media.st-jash .st-art, .cover-on-media.st-ak-barak .st-art,
.cover-on-media .js-blob { display: none; }

/* Jash: color blobs, the motif on top, huge uppercase names, date tiles. */
.st-jash { justify-content: flex-end; padding: 56px 20px 40px; }
.st-jash .js-blob { position: absolute; z-index: 0; border-radius: 50%; aspect-ratio: 1; pointer-events: none; }
.st-jash .js-blob-1 { width: 95%; top: -22%; left: -32%; background: radial-gradient(circle, color-mix(in srgb, var(--inv-accent) 70%, transparent), transparent 68%); }
.st-jash .js-blob-2 { width: 85%; bottom: -16%; right: -34%; background: radial-gradient(circle, color-mix(in srgb, var(--inv-accent) 35%, var(--inv-surface)), transparent 70%); }
.st-jash .st-in { align-items: flex-start; text-align: left; }
.st-jash .st-art { width: 80cqi; margin: 0 auto 6cqi; }
.st-jash .st-kicker { color: var(--inv-accent); font-weight: 700; letter-spacing: 0.22em; }
.st-jash .st-names {
  align-items: flex-start; margin: 3cqi 0 6cqi; font-family: var(--st-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; font-size: clamp(16px, 12cqi, 62px); line-height: 0.98; color: var(--inv-text);
}
:lang(ky) .st-jash .st-names, :lang(ky) .js-tile b { font-family: var(--st-sans); }
.st-jash .st-amp { font-size: 0.7em; line-height: 1.1; color: var(--inv-accent); }
.js-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; width: 100%; }
.js-tile {
  display: flex; flex-direction: column; gap: 1cqi; padding: 4cqi; border-radius: 5cqi; margin: 0;
  background: color-mix(in srgb, var(--inv-surface) 80%, transparent); border: 1px solid color-mix(in srgb, var(--inv-text) 12%, transparent);
}
.js-tile b { font-family: var(--st-display); font-size: clamp(12px, 8cqi, 36px); font-weight: 700; color: var(--inv-accent); }
.js-tile span { font-size: clamp(8px, 3cqi, 13px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--inv-muted); }
.st-jash .st-venue { margin-top: 4cqi; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: clamp(10px, 3.8cqi, 16px); color: var(--inv-text); }

/* Saray: a 300×460 card; arch, deco and gate frame it, other motifs sit above a double rule. */
.st-saray { padding: 20px 14px 28px; }
.st-saray .st-in { width: min(100%, 460px); aspect-ratio: 300 / 460; justify-content: center; padding: 14cqi 13cqi 12cqi; }
.st-saray .st-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.st-saray.m-arch .st-in { padding-top: 46cqi; }
.st-saray.m-deco .st-in { padding-top: 40cqi; padding-bottom: 30cqi; }
.st-saray.m-gate .st-in { padding-top: 46cqi; padding-bottom: 42cqi; }
.st-saray:not(.m-arch, .m-deco, .m-gate) .st-in { border: 1px solid var(--st-line); outline: 1px solid var(--st-line); outline-offset: -8px; }
.st-saray:not(.m-arch, .m-deco, .m-gate) .st-art { position: static; z-index: auto; width: 42cqi; height: auto; margin: 0 auto 4cqi; }
.st-saray .st-kicker { color: var(--inv-accent); letter-spacing: 0.34em; }
.sr-mono {
  display: grid; place-items: center; width: 14cqi; height: 14cqi; margin: 4cqi auto 0; border: 1px solid var(--inv-accent);
  border-radius: 50%; font-family: var(--st-serif); font-size: clamp(8px, 4cqi, 18px); color: var(--inv-accent);
}
.st-saray .st-names { text-transform: uppercase; letter-spacing: 0.07em; font-size: clamp(14px, 8.4cqi, 42px); color: var(--inv-text); }
.st-saray .st-amp { color: var(--inv-accent); font-style: italic; text-transform: none; }
.sr-rule { display: block; width: 26cqi; height: 1px; margin: 1cqi auto 4cqi; background: var(--inv-accent); }
.st-saray .st-date { color: var(--inv-accent); }

/* Ak barak: paper, light serif names, a small line drawing, a big numeric date. */
.st-ak-barak .st-kicker { color: var(--inv-text); letter-spacing: 0.42em; }
.st-ak-barak .st-names { font-weight: 300; font-size: clamp(20px, 15cqi, 76px); line-height: 0.95; letter-spacing: -0.02em; color: var(--inv-text); margin: 6cqi 0 4cqi; }
.st-ak-barak .st-amp { font-style: italic; color: var(--inv-accent); }
.st-ak-barak .st-art { width: 30cqi; margin: 2cqi auto 6cqi; }
.ak-date { display: flex; align-items: baseline; justify-content: center; gap: 2cqi; font-family: var(--st-serif); font-weight: 300; font-size: clamp(18px, 13cqi, 70px); line-height: 1; }
.ak-date i { font-style: normal; color: var(--inv-accent); font-size: 0.6em; }
.st-ak-barak .st-when { margin-top: 3cqi; }

/* Long names: a family or a company. */
.st-cover.st-long .st-names { font-size: clamp(13px, 7.6cqi, 40px); letter-spacing: 0.02em; }
.st-gulzar.st-long .st-names { font-size: clamp(18px, 10.5cqi, 54px); letter-spacing: 0; }
.st-jash.st-long .st-names { font-size: clamp(13px, 8cqi, 44px); letter-spacing: -0.02em; }

/* Catalog card: the same cover inside .design-art, without the full-screen height. */
.st-card { min-height: 0; height: 100%; padding: 6% 6%; }
.st-card .st-in { width: 100%; }
.st-card.st-oyu { padding: 5% 5% 9%; }
.st-card.st-oyu .st-in { padding: 7cqi 6cqi 8cqi; }
.st-card.st-oyu .st-in::before { inset: 10px; -webkit-mask-size: 24px; mask-size: 24px; }
.st-card .st-art { margin-bottom: 3cqi; }
.st-card.st-oyu .st-art { width: 34cqi; }
.st-card.st-oyu.m-komuz .st-art { width: 12cqi; }
.st-card.st-oyu.m-eshik .st-art { width: 22cqi; }
.st-card.st-oyu.m-boz-uy .st-art, .st-card.st-oyu.m-ala-too .st-art { width: 50cqi; }
.st-card .st-names { margin: 3cqi 0 4cqi; }
.st-card.st-gulzar .st-in { padding: 12cqi 7cqi 9cqi; }
.st-card.st-jash { padding: 6% 7% 7%; }
.st-card.st-jash .st-art { width: 62cqi; }
.st-card.st-saray { padding: 4%; }
.st-card.st-saray .st-in { height: 100%; width: auto; }
.st-card.st-ak-barak .st-names { margin: 4cqi 0 3cqi; }
.st-card.st-ak-barak .st-art { width: 24cqi; margin: 1cqi auto 4cqi; }

/* Blocks below the cover. */
.cv-oy, .cv-gz, .cv-js, .cv-sr, .cv-ak { --cv-gold: var(--inv-accent); --cv-gold-deep: var(--inv-accent); }
.cv-oy .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp),
.cv-sr .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp),
.cv-ak .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp) { border-top: 1px solid var(--cv-line); }
.cv-oy h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 26px; color: var(--inv-accent); }
.cv-gz h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; color: var(--inv-accent); }
.cv-gz .cv-block > section { padding: 28px 20px; border-radius: 28px; background: var(--inv-surface); box-shadow: 0 12px 40px rgb(0 0 0 / 0.05); }
.cv-js { --cv-display: 'Unbounded', 'Manrope', var(--cv-sans); }
.cv-js:lang(ky) { --cv-display: 'Manrope', var(--cv-sans); }
.cv-js h2 { font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: -0.01em; }
.cv-js .cv-btn { border-radius: 14px; border-color: transparent; background: var(--inv-accent); color: #fff; }
.cv-sr h2 { text-transform: uppercase; letter-spacing: 0.2em; font-size: 22px; color: var(--inv-accent); }
.cv-sr .cv-btn { border-radius: 2px; }
.cv-ak h2 { font-weight: 300; font-size: 40px; }
.cv-ak .cv-btn { border-radius: 0; border-color: var(--inv-text); color: var(--inv-text); }

/* ── D020: kilem (a carpet), akvarel (watercolor) and balapan (children) ───── */

/* Kilem: a deep field framed by a border of shyrdak teeth, a medallion, bold spaced names. */
.st-kilem { padding: 24px 18px; }
.kl-border {
  position: absolute; inset: 10px; z-index: 0; pointer-events: none;
  background:
    conic-gradient(from 135deg at 50% 0, var(--inv-accent) 90deg, transparent 0) top left / 20px 11px repeat-x,
    conic-gradient(from -45deg at 50% 100%, var(--inv-accent) 90deg, transparent 0) bottom left / 20px 11px repeat-x,
    conic-gradient(from 45deg at 0 50%, var(--inv-accent) 90deg, transparent 0) top left / 11px 20px repeat-y,
    conic-gradient(from 225deg at 100% 50%, var(--inv-accent) 90deg, transparent 0) top right / 11px 20px repeat-y;
}
.kl-border::after { content: ""; position: absolute; inset: 18px; border: 2px solid var(--inv-accent); outline: 1px solid color-mix(in srgb, var(--inv-accent) 50%, transparent); outline-offset: 5px; }
.st-kilem .st-in { padding: 12cqi 9cqi; }
.st-kilem .st-art { width: 40cqi; margin-bottom: 6cqi; }
.st-kilem.m-kalpak .st-art { width: 46cqi; }
.st-kilem.m-komuz .st-art { width: 15cqi; }
.st-kilem.m-boz-uy .st-art { width: 60cqi; }
.st-kilem .st-kicker { color: var(--inv-accent); font-weight: 700; letter-spacing: 0.32em; }
.st-kilem .st-names { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: clamp(15px, 10cqi, 50px); color: var(--inv-text); }
.st-kilem .st-amp { color: var(--inv-accent); text-transform: none; font-style: italic; }
.kl-date { display: flex; align-items: center; justify-content: center; margin: 0; font-family: var(--st-serif); font-weight: 700; font-size: clamp(14px, 7.6cqi, 36px); letter-spacing: 0.04em; color: var(--inv-accent); }
.kl-date b { font-weight: inherit; }
.kl-date b + b::before { content: ""; display: inline-block; width: 2.2cqi; height: 2.2cqi; margin: 0 3cqi; vertical-align: middle; rotate: 45deg; background: currentColor; }

/* Akvarel: watercolor washes in the palette, a wreath or flowers, script names. */
.av-wash { position: absolute; z-index: 0; pointer-events: none; border-radius: 48% 52% 60% 40% / 50% 42% 58% 50%; filter: blur(16px); opacity: 0.6; }
.av-wash-1 { width: 74%; aspect-ratio: 1.1; top: -14%; left: -20%; background: radial-gradient(circle at 42% 42%, color-mix(in srgb, var(--inv-accent) 55%, transparent), transparent 70%); }
.av-wash-2 { width: 66%; aspect-ratio: 1; bottom: -16%; right: -18%; background: radial-gradient(circle at 58% 55%, color-mix(in srgb, var(--inv-muted) 50%, transparent), transparent 70%); }
.av-wash-3 { width: 42%; aspect-ratio: 1.3; top: 40%; right: -12%; background: radial-gradient(circle, color-mix(in srgb, var(--inv-accent) 30%, #ffd9a0), transparent 70%); opacity: 0.35; }
.st-akvarel .st-in { padding: 6cqi 6cqi 8cqi; }
.st-akvarel .st-art { width: 46cqi; margin-bottom: 3cqi; }
.st-akvarel.m-doves .st-art { width: 62cqi; }
.st-akvarel .st-kicker { letter-spacing: 0.34em; }
.st-akvarel .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(22px, 15cqi, 76px); line-height: 1.04; }
.st-akvarel .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.4em; }
.av-line { display: block; width: 32cqi; height: 2px; margin: 0 auto 4cqi; background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); opacity: 0.6; }
.st-akvarel .st-date { font-style: italic; letter-spacing: 0.03em; }

/* Balapan: clouds along the edges, confetti dots, a round toy, a star with the age. */
.st-balapan { padding: 64px 18px 56px; }
.bl-cloud { position: absolute; left: 0; right: 0; z-index: 0; height: 40px; pointer-events: none; }
.bl-cloud-1 { top: 0; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--inv-accent) 22%, var(--inv-surface)) 0 68%, transparent 70%) 0 0 / 56px 40px repeat-x; }
.bl-cloud-2 { bottom: 0; background: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--inv-accent) 22%, var(--inv-surface)) 0 68%, transparent 70%) 28px 100% / 56px 40px repeat-x; }
.bl-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4;
  background: radial-gradient(circle, var(--inv-accent) 0 3px, transparent 3.5px) 0 0 / 52px 52px,
    radial-gradient(circle, #f4c95d 0 2.5px, transparent 3px) 26px 26px / 52px 52px,
    radial-gradient(circle, #5aa9e6 0 2px, transparent 2.5px) 13px 39px / 52px 52px;
  -webkit-mask: linear-gradient(transparent 6%, #000 22%, #000 78%, transparent 94%); mask: linear-gradient(transparent 6%, #000 22%, #000 78%, transparent 94%);
}
.st-balapan .st-in { padding: 8cqi 7cqi 9cqi; border-radius: 12cqi; background: color-mix(in srgb, var(--inv-surface) 88%, transparent); box-shadow: 0 16px 40px rgb(0 0 0 / 0.08); }
.st-balapan .st-art { width: 50cqi; margin-bottom: 3cqi; }
.st-balapan.m-rainbow .st-art, .st-balapan.m-horse .st-art { width: 62cqi; }
.st-balapan .st-kicker { color: var(--inv-accent); font-weight: 700; letter-spacing: 0.24em; }
.st-balapan .st-names { margin: 2cqi 0 4cqi; font-family: var(--st-display); font-weight: 700; font-size: clamp(16px, 11cqi, 56px); line-height: 1.04; letter-spacing: -0.01em; color: var(--inv-accent); }
:lang(ky) .st-balapan .st-names { font-family: var(--st-sans); font-weight: 800; }
.st-balapan .st-amp { font-size: 0.6em; color: var(--inv-muted); }
.bl-star {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 30cqi; aspect-ratio: 1; margin: 2cqi auto 1cqi;
  background: #f4c95d; color: #4a3200;
  clip-path: polygon(50% 0, 61.8% 31%, 95% 34.5%, 69% 56%, 79% 90%, 50% 71.5%, 21% 90%, 31% 56%, 5% 34.5%, 38.2% 31%);
}
.bl-star b { margin-top: 3cqi; font-family: var(--st-display); font-size: clamp(14px, 9cqi, 44px); line-height: 1; }
.bl-star span { font-size: clamp(6px, 2.4cqi, 11px); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bl-date { display: inline-block; margin: 0; padding: 2cqi 5cqi; border-radius: 999px; background: var(--inv-accent); color: #fff; font-weight: 700; font-size: clamp(10px, 4.4cqi, 20px); }
.st-balapan .st-when { margin-top: 2.4cqi; }

.cover-on-media .av-wash, .cover-on-media .bl-cloud, .cover-on-media .bl-dots { display: none; }
.cover-on-media.st-balapan .st-in { background: rgb(0 0 0 / 0.22); box-shadow: none; }
.cover-on-media.st-akvarel .st-art, .cover-on-media.st-balapan .st-art { display: none; }

/* Cards. */
.st-card.st-kilem { padding: 4%; }
.st-card.st-kilem .kl-border { inset: 5px; background-size: 12px 7px, 12px 7px, 7px 12px, 7px 12px; }
.st-card.st-kilem .kl-border::after { inset: 11px; outline-offset: 3px; }
.st-card.st-kilem .st-in { padding: 10cqi 8cqi; }
.st-card.st-kilem .st-art { width: 30cqi; margin-bottom: 4cqi; }
.st-card.st-akvarel .st-art { width: 36cqi; }
.st-card.st-balapan { padding: 9% 6%; }
.st-card.st-balapan .bl-cloud { height: 18px; background-size: 26px 18px; }
.st-card.st-balapan .st-art { width: 38cqi; }
.st-card .bl-star { width: 22cqi; }

/* Blocks. */
.cv-kl, .cv-av, .cv-bl { --cv-gold: var(--inv-accent); --cv-gold-deep: var(--inv-accent); }
.cv-kl h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 24px; color: var(--inv-accent); }
.cv-kl .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp) { background: conic-gradient(from 135deg at 50% 0, var(--inv-accent) 90deg, transparent 0) top center / 18px 8px repeat-x; }
.cv-kl .cv-btn { border-radius: 4px; }
.cv-av h2 { font-family: var(--cv-script); font-weight: 400; font-size: 44px; color: var(--inv-accent); }
.cv-av .cv-block > section { position: relative; }
.cv-av .cv-block > section > h2::after { content: ""; display: block; width: 60px; height: 2px; margin: 8px auto 0; background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); opacity: 0.6; }
.cv-bl { --cv-display: 'Unbounded', 'Manrope', var(--cv-sans); }
.cv-bl:lang(ky) { --cv-display: 'Manrope', var(--cv-sans); }
.cv-bl h2 { font-family: var(--cv-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; color: var(--inv-accent); }
.cv-bl .cv-block > section { padding: 26px 18px; border-radius: 28px; background: var(--inv-surface); box-shadow: 0 10px 30px rgb(0 0 0 / 0.06); }
.cv-bl .cv-btn { border-radius: 999px; border-color: transparent; background: var(--inv-accent); color: #fff; }

/* ── D022: tush-kiyiz, kumush, kol, chiy (national); barkyt, zhibek, mramor, tunku-bak
   (elegant); jurnal, neon, retro, albom (youth). Decor: views/art/decor.templ. ─────────── */

/* Tush kiyiz: an arched velvet panel framed in chain stitch, embroidered blooms in its corners. */
.st-tush-kiyiz {
  padding: 40px 26px 44px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 38%, color-mix(in srgb, var(--inv-surface) 75%, transparent), transparent 72%),
    radial-gradient(ellipse 120% 60% at 50% 115%, rgb(0 0 0 / 0.35), transparent 60%), var(--inv-bg);
}
.tk-panel {
  position: absolute; inset: 14px; z-index: 0; pointer-events: none;
  border: 2px solid var(--inv-accent); border-radius: 50% 50% 14px 14px / 24% 24% 14px 14px;
}
.tk-panel::before { content: ""; position: absolute; inset: 9px; border: 2px dashed color-mix(in srgb, var(--inv-accent) 70%, transparent); border-radius: inherit; }
.tk-bloom { position: absolute; width: min(30%, 140px); height: auto; }
.tk-tl { top: 18%; left: -4px; scale: 0.8; transform-origin: top left; }
.tk-tr { top: 18%; right: -4px; scale: -0.8 0.8; transform-origin: top left; translate: -100% 0; }
.tk-bl { bottom: -4px; left: -4px; scale: 1 -1; }
.tk-br { bottom: -4px; right: -4px; scale: -1 -1; }
.st-tush-kiyiz .st-in { padding: 14cqi 9cqi 10cqi; }
.st-tush-kiyiz .st-art { width: 50cqi; margin-bottom: 5cqi; }
.st-tush-kiyiz.m-kochkor .st-art, .st-tush-kiyiz.m-kalpak .st-art { width: 58cqi; }
.st-tush-kiyiz .st-kicker { color: var(--inv-accent); font-weight: 600; letter-spacing: 0.32em; }
.st-tush-kiyiz .st-names { text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; font-size: clamp(16px, 12cqi, 58px); color: var(--inv-text); }
.st-tush-kiyiz .st-amp { color: var(--inv-accent); font-style: italic; text-transform: none; }
.tk-date {
  display: inline-block; padding: 1.6cqi 6cqi; border: 2px dashed var(--inv-accent); border-radius: 999px;
  outline: 1px solid color-mix(in srgb, var(--inv-accent) 40%, transparent); outline-offset: 4px;
  font-family: var(--st-serif); font-weight: 600; font-size: clamp(12px, 6cqi, 28px); letter-spacing: 0.06em; color: var(--inv-accent);
}

/* Kumush: a silver necklace with carnelians, a tumar, names engraved in metal. */
.st-kumush {
  --km-metal: linear-gradient(100deg, color-mix(in srgb, var(--inv-accent) 50%, #000) 0%, var(--inv-accent) 18%, #fff 36%,
    var(--inv-accent) 52%, color-mix(in srgb, var(--inv-accent) 65%, #fff) 68%, color-mix(in srgb, var(--inv-accent) 50%, #000) 100%);
  padding: 34% 22px 60px;
  background: radial-gradient(ellipse 75% 50% at 50% 52%, color-mix(in srgb, var(--inv-accent) 13%, transparent), transparent 70%), var(--inv-bg);
}
.km-chain { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: auto; pointer-events: none; }
.km-beads {
  position: absolute; left: 0; right: 0; bottom: 16px; height: 10px; z-index: 0; opacity: 0.75;
  background: radial-gradient(circle, #c4493b 0 3.6px, transparent 4px) 7px 50% / 56px 10px repeat-x,
    radial-gradient(circle, var(--inv-accent) 0 2.6px, transparent 3px) 0 50% / 14px 10px repeat-x;
}
.st-kumush .st-art { width: 42cqi; margin-bottom: 5cqi; }
.st-kumush.m-bilerik .st-art { width: 60cqi; }
.st-kumush.m-crescent .st-art, .st-kumush.m-kochkor .st-art { width: 52cqi; }
.st-kumush .st-kicker { color: var(--inv-accent); letter-spacing: 0.42em; }
.st-kumush .st-names {
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(16px, 11.5cqi, 56px);
  background: var(--km-metal) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.st-kumush .st-amp { text-transform: none; font-style: italic; }
.km-plate {
  display: flex; flex-direction: column; align-items: center; gap: 1.2cqi; padding: 3cqi 8cqi;
  border: 1px solid var(--inv-accent); border-radius: 3cqi; outline: 1px solid color-mix(in srgb, var(--inv-accent) 45%, transparent); outline-offset: -6px;
  background: color-mix(in srgb, var(--inv-accent) 9%, transparent);
}
.km-plate b { font-family: var(--st-serif); font-weight: 600; font-size: clamp(12px, 6.4cqi, 30px); letter-spacing: 0.08em; color: var(--inv-accent); }
.km-plate span { font-size: clamp(8px, 3cqi, 13px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--inv-muted); }

/* Kol: a sky over Issyk-Kul, the sun behind two ranges, the lake glinting below. */
.st-kol {
  --ko-far: color-mix(in srgb, var(--inv-muted) 50%, var(--inv-bg));
  justify-content: flex-start; padding: 15% 22px 0;
  background: linear-gradient(to bottom, var(--inv-bg) 0%, color-mix(in srgb, var(--inv-accent) 12%, var(--inv-bg)) 45%, color-mix(in srgb, var(--inv-accent) 24%, var(--inv-bg)) 62%);
}
.ko-land { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: 46%; pointer-events: none; }
.ko-sun { fill: var(--inv-accent); }
.ko-sun-halo { fill: color-mix(in srgb, var(--inv-accent) 22%, transparent); }
.ko-far { fill: var(--ko-far); }
.ko-snow { fill: color-mix(in srgb, var(--inv-surface) 85%, #fff); }
.ko-mid { fill: color-mix(in srgb, var(--ko-far) 62%, #000); }
.ko-lake { fill: color-mix(in srgb, var(--inv-muted) 40%, var(--inv-bg)); }
.ko-glint { stroke: color-mix(in srgb, var(--inv-accent) 55%, #fff); stroke-width: 2.5; }
.ko-shore { fill: color-mix(in srgb, var(--inv-bg) 38%, #000); }
.st-kol .st-art { width: 46cqi; margin-bottom: 3cqi; }
.st-kol.m-horses .st-art, .st-kol.m-burkut .st-art { width: 58cqi; }
.st-kol.m-boz-uy .st-art { width: 54cqi; }
.st-kol .st-kicker { color: var(--inv-accent); font-weight: 600; letter-spacing: 0.34em; }
.st-kol .st-names { font-weight: 600; font-size: clamp(18px, 13cqi, 66px); color: var(--inv-text); }
.st-kol .st-amp { font-style: italic; color: var(--inv-accent); }
.st-kol .st-date { font-style: italic; }

/* Chiy: reed bands with stepped diamonds on both sides, a bold card between them. */
.st-chiy { padding: 44px 17% 44px; }
.ch-band {
  position: absolute; top: 0; bottom: 0; z-index: 0; width: 13%; pointer-events: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--inv-text) 22%, transparent) 0 1px, transparent 1px 5px), color-mix(in srgb, var(--inv-surface) 80%, var(--inv-bg));
}
.ch-band-l { left: 0; border-right: 3px solid var(--inv-text); }
.ch-band-r { right: 0; border-left: 3px solid var(--inv-text); }
.ch-band::before, .ch-band::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: var(--ch-shape) 0 0 / 100% auto repeat-y; mask: var(--ch-shape) 0 0 / 100% auto repeat-y;
}
.ch-band::before { background: var(--inv-accent); --ch-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 80'%3E%3Cpath d='M17 22H23V28H29V34H35V46H29V52H23V58H17V52H11V46H5V34H11V28H17Z M2 0H38V4H2Z M2 76H38V80H2Z'/%3E%3C/svg%3E"); }
.ch-band::after { background: var(--ch-2, #e9b949); --ch-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 80'%3E%3Cpath d='M18 32H22V36H26V44H22V48H18V44H14V36H18Z M14 4H26V10H14Z M14 70H26V76H14Z'/%3E%3C/svg%3E"); }
.st-chiy:not(.st-card) .st-in { min-height: min(62svh, 600px); justify-content: center; }
.st-chiy .st-in { padding: 10cqi 7cqi; background: var(--inv-surface); border: 3px solid var(--inv-text); box-shadow: 2.4cqi 2.4cqi 0 var(--inv-accent); }
.st-chiy .st-art { width: 54cqi; margin-bottom: 5cqi; }
.st-chiy.m-pixel-kochkor .st-art { width: 70cqi; }
.st-chiy.m-komuz .st-art { width: 18cqi; }
.st-chiy .st-kicker { color: var(--inv-accent); font-weight: 800; letter-spacing: 0.22em; }
.st-chiy .st-names { font-family: var(--st-sans); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(16px, 13cqi, 62px); line-height: 1; color: var(--inv-text); }
.st-chiy .st-amp { color: var(--inv-accent); font-size: 0.6em; }
.ch-date { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 2cqi; width: 100%; }
.ch-date b { padding: 3cqi 0; font: 800 clamp(13px, 8cqi, 38px)/1 var(--st-sans); color: #fff; background: var(--inv-accent); }
.ch-date b:nth-child(2) { background: var(--ch-2, #e9b949); color: #2a2116; }
.ch-date b:nth-child(3) { background: var(--ch-3, #2e7d5b); }
.st-chiy .st-when { margin-top: 3cqi; color: var(--inv-text); font-weight: 700; }

/* Barkyt: velvet with a sheen, an envelope flap, gold foil script and a crowned monogram. */
.st-barkyt {
  --bk-foil: linear-gradient(105deg, color-mix(in srgb, var(--inv-accent) 55%, #000) 0%, var(--inv-accent) 20%,
    color-mix(in srgb, var(--inv-accent) 30%, #fff) 42%, var(--inv-accent) 60%, color-mix(in srgb, var(--inv-accent) 60%, #000) 100%);
  padding: 52px 22px 56px;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgb(255 255 255 / 0.1), transparent 60%),
    radial-gradient(ellipse 120% 60% at 50% 110%, rgb(0 0 0 / 0.45), transparent 60%),
    linear-gradient(115deg, rgb(0 0 0 / 0.2), transparent 35%, rgb(255 255 255 / 0.08) 50%, transparent 65%, rgb(0 0 0 / 0.22)), var(--inv-bg);
}
.bk-flap { position: absolute; left: 0; right: 0; top: 0; height: 46%; z-index: 0; pointer-events: none; filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.45)); }
.bk-flap::before {
  content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.12), transparent 45%), linear-gradient(200deg, rgb(255 255 255 / 0.06), rgb(0 0 0 / 0.12)), var(--inv-bg);
}
/* «Көшөгө» (emerald-curtain, D123): this cover has no flap (Cover.Opening = emerald-curtain, also on the catalog card: the opening's curtain parts sideways and leaves the plain velvet).
   Demo mode: the demo header ("ДЕМО", language switch) floats over the cover, as the full-screen page of a real invitation does, so the curtain and the velvet reach the top edge
   (the padding keeps the content where it was). */
.st-cover.st-under-demo .bk-flap { display: none; }
body.demo-page .st-cover.st-under-demo:not(.st-card) { margin-top: calc(-1 * var(--demo-top-space, 0px)); min-height: min(100svh, 940px); padding-top: calc(52px + var(--demo-top-space, 0px)); }
.bk-sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / 0.1) 49%, transparent 58%) 100% 0 / 260% 100% no-repeat; }
.st-barkyt .st-kicker, .st-barkyt .st-names, .bk-mono, .st-barkyt .st-date {
  background: var(--bk-foil) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.st-barkyt .st-kicker { font-weight: 600; letter-spacing: 0.34em; font-size: clamp(9px, 3.4cqi, 15px); }
.st-barkyt .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(24px, 15cqi, 78px); line-height: 1.06; margin: 2cqi 0 3cqi; }
.st-barkyt .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.4em; }
.bk-crest { position: relative; width: 46cqi; margin: 5cqi auto 1cqi; }
.bk-crest .st-art { width: 100%; margin: 0; }
.bk-mono { position: absolute; left: 0; right: 0; top: 56%; transform: translateY(-50%); font-family: var(--st-script); font-size: clamp(14px, 11cqi, 56px); line-height: 1.2; }
.st-barkyt .st-art { width: 40cqi; margin: 5cqi auto 2cqi; }
.st-barkyt.m-chandelier .st-art { width: 32cqi; }
.bk-rule { position: relative; display: block; width: 44cqi; height: 10px; margin: 0 auto 3cqi; background: linear-gradient(90deg, transparent, var(--inv-accent), transparent) center / 100% 1px no-repeat; }
.bk-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--inv-accent); transform: translate(-50%, -50%) rotate(45deg); }
.st-barkyt .st-date { font-weight: 600; letter-spacing: 0.14em; }
.st-barkyt .st-when, .st-barkyt .st-venue { color: color-mix(in srgb, var(--inv-text) 78%, transparent); }

/* Zhibek: a silk ribbon across the screen, flowers at its ends, script names in a soft glow. */
.zb-silk { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.zb-sheen { filter: blur(3px); }
.st-zhibek .zb-top, .st-zhibek .zb-bottom { position: absolute; z-index: 0; width: min(54%, 300px); margin: 0; pointer-events: none; }
.st-zhibek .zb-top { top: 1%; right: -10%; transform: rotate(-12deg); }
.st-zhibek .zb-bottom { bottom: 1%; left: -12%; transform: scaleX(-1) rotate(-8deg); }
.st-zhibek .st-in { padding: 12cqi 6cqi; background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-bg) 90%, transparent) 62%, transparent); }
.st-zhibek .st-kicker { letter-spacing: 0.36em; }
.st-zhibek .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(24px, 16cqi, 80px); line-height: 1.04; }
.st-zhibek .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.4em; }
.zb-line {
  display: block; width: 34cqi; height: 3cqi; margin: 0 auto 3cqi; background: var(--inv-accent); opacity: 0.7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0 6 Q7.5 0 15 6 T30 6 T45 6 T60 6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0 6 Q7.5 0 15 6 T30 6 T45 6 T60 6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.st-zhibek .st-date { font-style: italic; letter-spacing: 0.03em; }

/* Mramor: white marble, a gold geometric frame (or a ring above the names). */
.st-mramor {
  padding: 20px 14px 28px;
  background: radial-gradient(ellipse at 28% 18%, color-mix(in srgb, var(--inv-surface) 85%, transparent), transparent 60%),
    radial-gradient(ellipse at 80% 90%, color-mix(in srgb, var(--inv-muted) 18%, transparent), transparent 55%), var(--inv-bg);
}
.mr-veins { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.22; filter: blur(0.6px); pointer-events: none; }
.st-mramor .st-in { width: min(100%, 460px); aspect-ratio: 300 / 460; justify-content: center; padding: 30cqi 14cqi; }
.st-mramor .st-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.st-mramor.m-geo-arch .st-in { padding: 46cqi 13cqi 14cqi; }
.st-mramor.m-geo-deco .st-in { padding: 28cqi 14cqi; }
.st-mramor.m-geo-circle .st-in { aspect-ratio: auto; padding: 10cqi 8cqi; border: 1px solid var(--st-line); outline: 1px solid var(--st-line); outline-offset: -8px; background: color-mix(in srgb, var(--inv-surface) 55%, transparent); }
.st-mramor.m-geo-circle .st-art { position: static; z-index: auto; width: 34cqi; height: auto; margin: 0 auto 4cqi; }
.st-mramor .st-kicker { color: var(--inv-accent); letter-spacing: 0.42em; font-size: clamp(8px, 3.4cqi, 14px); }
.st-mramor .st-names { font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(15px, 10.5cqi, 52px); line-height: 1.1; color: var(--inv-text); }
.st-mramor .st-date { font-size: clamp(11px, 6.4cqi, 30px); }
.st-mramor :is(.st-when, .st-venue) { font-size: clamp(8px, 3.4cqi, 14px); }
.st-mramor .st-amp { font-family: var(--st-script); text-transform: none; letter-spacing: 0; font-size: 0.95em; line-height: 1.1; color: var(--inv-accent); }
.mr-rule { display: block; width: 26cqi; height: 1px; margin: 0 auto 4cqi; background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); }
.st-mramor .st-date { color: var(--inv-accent); }

/* Tunku-bak: a night garden — the moon, stars, white flowers rising from the bottom. */
.st-tunku-bak {
  --motif-a: color-mix(in srgb, var(--inv-text) 80%, var(--inv-accent));
  --motif-b: color-mix(in srgb, var(--inv-text) 50%, var(--inv-bg));
  --motif-c: color-mix(in srgb, #4f7f62 70%, var(--inv-bg));
  --motif-d: color-mix(in srgb, var(--inv-text) 90%, #fff);
  padding: 60px 22px 36%;
  background: radial-gradient(circle at 22% 9%, color-mix(in srgb, var(--inv-accent) 20%, transparent), transparent 36%),
    linear-gradient(to bottom, var(--inv-bg), color-mix(in srgb, var(--inv-bg) 78%, #000));
}
.tb-moon {
  position: absolute; top: 6%; left: 12%; z-index: 0; width: 15%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffbe8, color-mix(in srgb, var(--inv-accent) 35%, #fff3c4) 72%);
  box-shadow: 0 0 40px 10px color-mix(in srgb, var(--inv-accent) 30%, transparent);
}
.tb-stars {
  position: absolute; inset: 0 0 45% 0; z-index: 0; opacity: 0.6; pointer-events: none;
  background: radial-gradient(circle, #fff 0 1px, transparent 1.6px) 0 0 / 46px 46px, radial-gradient(circle, #fff 0 0.8px, transparent 1.3px) 23px 31px / 62px 62px;
  -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent);
}
.st-tunku-bak .tb-bottom { position: absolute; left: 50%; bottom: -2%; z-index: 0; width: min(112%, 560px); margin: 0; transform: translateX(-50%); pointer-events: none; }
.st-tunku-bak .tb-top { position: absolute; top: -4%; right: -10%; z-index: 0; width: min(46%, 240px); margin: 0; opacity: 0.55; transform: rotate(160deg); pointer-events: none; }
.st-tunku-bak .st-kicker { color: var(--inv-accent); letter-spacing: 0.36em; }
.st-tunku-bak .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(24px, 16cqi, 80px); line-height: 1.04; color: var(--inv-text); text-shadow: 0 0 22px color-mix(in srgb, var(--inv-accent) 45%, transparent); }
.st-tunku-bak .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.4em; color: var(--inv-accent); }
.st-tunku-bak .st-date { font-style: italic; color: var(--inv-accent); }

/* Jurnal: a magazine cover — issue line, masthead, a framed picture, script names over it,
   cover lines and a barcode. */
.st-jurnal { justify-content: flex-start; padding: 52px 20px 30px; text-align: left; }
.jr-block { position: absolute; left: max(8px, calc((100% - 480px) / 2 - 12px)); top: 0; bottom: 0; z-index: 0; width: 8px; background: var(--inv-accent); }
.st-jurnal .st-in { align-items: stretch; }
.jr-top { display: flex; justify-content: space-between; padding-bottom: 1.6cqi; border-bottom: 2px solid var(--inv-text); font: 700 clamp(8px, 3cqi, 13px)/1 var(--st-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.st-jurnal .st-kicker { margin-top: 2cqi; font-family: var(--st-serif); font-weight: 600; font-size: clamp(22px, 15cqi, 76px); line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase; text-align: center; color: var(--inv-text); text-wrap: balance; }
.st-jurnal .st-greeting { margin: 2cqi 0 0; text-align: center; }
.jr-photo { position: relative; display: grid; place-items: center; width: 72cqi; aspect-ratio: 4 / 5; margin: 5cqi auto 0; background: color-mix(in srgb, var(--inv-accent) 14%, var(--inv-surface)); }
.jr-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translate(4cqi, 4cqi); background: var(--inv-accent); }
.jr-photo .st-art { width: 72%; margin: 0; }
.st-jurnal .st-number { justify-content: center; }
.st-jurnal .st-names {
  position: relative; z-index: 1; margin: -15cqi 0 5cqi; font-family: var(--st-serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 15.5cqi, 80px);
  line-height: 0.98; color: var(--inv-text); text-shadow: 0 0 2px var(--inv-bg), 0 0 14px var(--inv-bg), 0 0 24px var(--inv-bg); overflow-wrap: anywhere;
}
.st-jurnal .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.42em; color: var(--inv-accent); }
.jr-lines { display: grid; gap: 1.6cqi; margin: 0; padding: 0 26cqi 0 0; list-style: none; }
.jr-lines li { position: relative; padding-left: 5cqi; font: 700 clamp(8px, 3.4cqi, 15px)/1.3 var(--st-sans); letter-spacing: 0.08em; text-transform: uppercase; }
.jr-lines li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 3cqi; height: 3px; background: var(--inv-accent); }
.jr-lines li:first-child { font: 600 clamp(14px, 7cqi, 34px)/1.1 var(--st-serif); letter-spacing: 0; text-transform: none; }
.jr-lines li:first-child::before { top: 0.55em; }
.jr-code { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 1cqi; padding: 1.6cqi; background: var(--inv-surface); font: 600 clamp(6px, 2.2cqi, 10px)/1 ui-monospace, monospace; letter-spacing: 0.18em; color: var(--inv-text); }
.jr-code span { display: block; width: 20cqi; height: 8cqi; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 5px, transparent 5px 6px, currentColor 6px 7px, transparent 7px 10px); }
.cover-on-media.st-jurnal .jr-photo { display: none; }
.cover-on-media.st-jurnal .st-names { margin-top: 30cqi; text-shadow: 0 2px 16px rgb(0 0 0 / 0.5); }
.cover-on-media .jr-top, .cover-on-media .jr-lines, .cover-on-media.st-jurnal .st-kicker { color: #fff; border-color: #fff; }

/* Neon: tubes on a brick wall — a glowing frame, a sign, script names that flicker on. */
.st-neon {
  --ne-glow: var(--inv-accent); --ne-2: var(--inv-muted);
  padding: 60px 22px 48px; background: var(--inv-bg);
}
.ne-wall {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 52'%3E%3Cpath d='M0 1H56M0 27H56M1 0V26M29 26V52' stroke='rgba(0,0,0,0.55)' stroke-width='2' fill='none'/%3E%3C/svg%3E") 0 0 / 56px 52px,
    color-mix(in srgb, var(--inv-surface) 75%, var(--inv-bg));
}
.ne-wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--ne-glow) 14%, transparent), transparent 55%), radial-gradient(ellipse at 50% 50%, transparent 35%, rgb(0 0 0 / 0.7)); }
.st-neon .st-in {
  padding: 10cqi 7cqi; border: 2px solid color-mix(in srgb, var(--ne-glow) 60%, #fff); border-radius: 8cqi;
  box-shadow: 0 0 6px var(--ne-glow), 0 0 22px var(--ne-glow), inset 0 0 8px var(--ne-glow), inset 0 0 22px color-mix(in srgb, var(--ne-glow) 45%, transparent);
}
.st-neon .st-art { width: 36cqi; margin-bottom: 3cqi; filter: drop-shadow(0 0 3px var(--ne-glow)) drop-shadow(0 0 10px var(--ne-glow)); }
.st-neon .st-art .la { stroke: color-mix(in srgb, var(--ne-glow) 50%, #fff); }
.st-neon .st-art .lb { stroke: var(--ne-2); }
.st-neon .st-kicker { font-weight: 700; letter-spacing: 0.36em; color: var(--ne-2); text-shadow: 0 0 8px var(--ne-2); }
.st-neon .st-names {
  font-family: var(--st-script); font-weight: 400; font-size: clamp(24px, 15cqi, 78px); line-height: 1.08; margin: 2cqi 0 4cqi;
  color: color-mix(in srgb, var(--ne-glow) 28%, #fff); text-shadow: 0 0 2px #fff, 0 0 8px var(--ne-glow), 0 0 18px var(--ne-glow), 0 0 36px var(--ne-glow);
}
.st-neon .st-amp { font-family: var(--st-sans); font-size: 0.42em; font-weight: 700; color: color-mix(in srgb, var(--ne-2) 40%, #fff); text-shadow: 0 0 8px var(--ne-2), 0 0 18px var(--ne-2); }
.ne-date { font: 800 clamp(16px, 10cqi, 48px)/1 var(--st-sans); letter-spacing: 0.06em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ne-glow) 50%, #fff); filter: drop-shadow(0 0 6px var(--ne-glow)); }
.st-neon .st-when, .st-neon .st-venue { color: color-mix(in srgb, var(--inv-text) 80%, transparent); }
.st-neon .st-number b { font-family: var(--st-sans); font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ne-glow) 50%, #fff); filter: drop-shadow(0 0 6px var(--ne-glow)); }

/* Retro: a 70s sunburst, rainbow arcs rising from the bottom, chunky shadowed names. */
.st-retro {
  --rt-2: #e9a23b; --rt-3: color-mix(in srgb, var(--inv-accent) 55%, #6b3a26); --rt-4: color-mix(in srgb, var(--inv-text) 85%, var(--inv-accent));
  padding: 60px 22px 30%; background: var(--inv-bg);
}
.rt-burst {
  position: absolute; left: 50%; top: 36%; z-index: 0; width: 190%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none;
  background: repeating-conic-gradient(color-mix(in srgb, var(--rt-2) 20%, transparent) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 60%); mask: radial-gradient(circle, #000 18%, transparent 60%);
}
.rt-arcs {
  position: absolute; left: 50%; bottom: 0; z-index: 0; width: 112%; aspect-ratio: 2 / 1; translate: -50% 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, transparent 0 40%, var(--inv-accent) 40% 52%, var(--rt-2) 52% 64%, var(--rt-3) 64% 76%, var(--rt-4) 76% 88%, transparent 88%);
}
.st-retro .st-art { width: 42cqi; margin-bottom: 3cqi; }
.st-retro.m-rainbow .st-art { width: 60cqi; }
.st-retro.m-daisy .st-art { width: 54cqi; }
.st-retro.m-graduation .rt-grad-art { width: min(64cqi, 250px); height: auto; margin: 1cqi auto 2cqi; filter: drop-shadow(0 5px 2px color-mix(in srgb, var(--rt-4) 22%, transparent)); }
.rt-grad-spark { fill: var(--rt-2); }
.rt-grad-cap { fill: color-mix(in srgb, var(--inv-text) 82%, #17233a); stroke: color-mix(in srgb, var(--inv-text) 82%, #17233a); stroke-width: 2; stroke-linejoin: round; }
.rt-grad-cap-side { fill: color-mix(in srgb, var(--inv-text) 64%, #17233a); stroke: color-mix(in srgb, var(--inv-text) 82%, #17233a); stroke-width: 2; stroke-linejoin: round; }
.rt-grad-button { fill: var(--rt-2); }
.rt-grad-tassel { fill: none; stroke: var(--rt-2); stroke-width: 3; stroke-linecap: round; }
.rt-grad-diploma { fill: #fff0d0; stroke: #a67749; stroke-width: 2; }
.rt-grad-roll { fill: #f8e3bc; stroke: #a67749; stroke-width: 2; }
.rt-grad-diploma-line { fill: none; stroke: #c9ab7a; stroke-width: 2; stroke-linecap: round; }
.rt-grad-ribbon { fill: none; stroke: var(--inv-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st-card.st-retro.m-graduation .rt-grad-art { width: min(58cqi, 196px); margin-bottom: 1cqi; }
.st-retro .st-kicker { color: var(--rt-3); font-weight: 800; letter-spacing: 0.26em; }
.st-retro .st-names {
  font-family: var(--st-display); font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 11cqi, 56px); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--inv-accent); text-shadow: 0.05em 0.05em 0 var(--rt-2), 0.1em 0.1em 0 var(--rt-4); margin: 3cqi 0 2cqi;
}
:lang(ky) .st-retro .st-names { font-family: var(--st-sans); }
.st-retro .st-amp { color: var(--rt-4); text-shadow: none; font-size: 0.6em; }
.rt-wave { display: block; width: 34cqi; height: auto; margin: 1cqi auto 4cqi; }
.rt-wave .la { stroke: var(--rt-2); }
.rt-date { display: inline-block; padding: 2.4cqi 6cqi; border-radius: 999px; background: var(--rt-4); color: var(--inv-bg); font: 800 clamp(11px, 5.6cqi, 26px)/1 var(--st-sans); letter-spacing: 0.06em; box-shadow: 0.8cqi 0.8cqi 0 var(--inv-accent); }
.st-retro .st-when { margin-top: 3cqi; font-weight: 700; color: var(--rt-3); }

/* Albom: a scrapbook page — grid paper, two polaroids, washi tape, a date sticker, doodles. */
.st-albom {
  padding: 60px 22px 48px;
  background: linear-gradient(color-mix(in srgb, var(--inv-text) 7%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, color-mix(in srgb, var(--inv-text) 7%, transparent) 1px, transparent 1px) 0 0 / 24px 24px, var(--inv-bg);
}
.al-d { position: absolute; z-index: 0; height: auto; pointer-events: none; }
.al-d1 { top: 9%; right: 9%; width: 13%; rotate: 12deg; }
.al-d2 { top: 12%; left: 8%; width: 11%; }
.al-d3 { bottom: 8%; left: 6%; width: 26%; }
.al-d4 { bottom: 14%; right: 10%; width: 8%; }
.al-photos { position: relative; width: 68cqi; margin: 2cqi auto 7cqi; }
.al-photo { position: relative; display: block; padding: 4cqi 4cqi 3cqi; background: #fff; box-shadow: 0 2cqi 5cqi rgb(0 0 0 / 0.18); rotate: -4deg; }
.al-photo-back { position: absolute; inset: 0; padding: 0; rotate: 7deg; translate: 7cqi -2cqi; }
.al-photo-back::after { content: ""; position: absolute; inset: 4cqi 4cqi 15cqi; background: color-mix(in srgb, var(--inv-muted) 35%, var(--inv-surface)); }
.al-pic { display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--inv-accent) 14%, #fff), color-mix(in srgb, var(--inv-accent) 32%, var(--inv-surface))); }
.al-pic .st-art { width: 72%; margin: 0; }
.jr-photo .st-picture, .al-pic .st-picture { width: 100%; height: 100%; object-fit: cover; } /* the client's photo (D060) */
.al-pic:has(.st-picture) { overflow: hidden; }
.jr-photo:has(.st-picture)::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, color-mix(in srgb, var(--inv-surface) 88%, transparent)); } /* the name over a photo stays readable */
.al-caption { margin-top: 2.4cqi; font-family: var(--st-script); font-size: clamp(12px, 6.6cqi, 32px); line-height: 1.1; color: #3a3030; }
.al-tape {
  position: absolute; top: -3cqi; left: 50%; z-index: 1; width: 30cqi; height: 7cqi; translate: -50% 0; rotate: -4deg; opacity: 0.85;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--inv-accent) 48%, transparent) 0 6px, color-mix(in srgb, var(--inv-accent) 24%, transparent) 6px 12px);
}
.al-sticker {
  position: absolute; right: -8cqi; bottom: 8cqi; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 23cqi; aspect-ratio: 1; border-radius: 50%; background: var(--inv-accent); color: #fff; rotate: 12deg; box-shadow: 0 1cqi 3cqi rgb(0 0 0 / 0.2);
}
.al-sticker b { font: 800 clamp(14px, 9cqi, 44px)/1 var(--st-sans); }
.al-sticker span { font: 700 clamp(7px, 3cqi, 13px)/1.2 var(--st-sans); letter-spacing: 0.06em; }
.st-albom .st-kicker { color: var(--inv-accent); font-weight: 800; letter-spacing: 0.26em; }
.st-albom .st-names { font-family: var(--st-script); font-weight: 400; font-size: clamp(24px, 15cqi, 76px); line-height: 1.04; margin: 2cqi 0 3cqi; color: var(--inv-text); }
.st-albom .st-amp { font-family: var(--st-serif); font-style: italic; font-size: 0.4em; color: var(--inv-accent); }

/* On a photo or video. */
.cover-on-media :is(.tk-bloom, .km-chain, .km-beads, .ko-land, .ch-band, .bk-flap, .bk-sheen, .zb-silk, .mr-veins, .tb-stars, .ne-wall, .rt-burst, .rt-arcs, .al-d),
.cover-on-media.st-zhibek .st-art, .cover-on-media.st-tunku-bak .st-art { display: none; }
.cover-on-media.st-kumush { padding-top: 64px; }
.cover-on-media.st-chiy .st-in, .cover-on-media.st-neon .st-in { background: rgb(0 0 0 / 0.28); }
.cover-on-media.st-chiy .st-names { color: #fff; }
.cover-on-media.st-zhibek .st-in { background: none; }
.cover-on-media .tk-date, .cover-on-media .km-plate b, .cover-on-media .ch-date b { color: #fff; }

/* Catalog cards. A card wider than 2:3 (the desktop catalog) keeps the cover's proportions:
   its content is no wider than two thirds of the card's height. */
.st-card { container-type: size; }
.st-card .st-in { width: min(100%, 66cqh); }
.st-card.st-tush-kiyiz { padding: 8% 7%; }
.st-card .tk-panel { inset: 6px; }
.st-card .tk-panel::before { inset: 5px; }
.st-card .tk-bloom { width: 27%; }
.st-card.st-tush-kiyiz .st-in { padding: 13cqi 8cqi 9cqi; }
.st-card.st-tush-kiyiz .st-art { width: 30cqi; }
.st-card.st-tush-kiyiz.m-kochkor .st-art, .st-card.st-tush-kiyiz.m-kalpak .st-art { width: 36cqi; }
.st-card.st-tush-kiyiz .st-names { font-size: clamp(14px, 10cqi, 44px); }
.st-card.st-kumush { padding: 30% 7% 9%; }
.st-card .km-beads { bottom: 8px; }
.st-card.st-kumush .st-art { width: 26cqi; margin-bottom: 2cqi; }
.st-card.st-kumush.m-bilerik .st-art { width: 38cqi; }
.st-card.st-kol { padding: 7% 6% 0; }
.st-card .ko-land { height: 36%; }
.st-card.st-kol .st-art { width: 28cqi; margin-bottom: 0; }
.st-card.st-kol .st-names { font-size: clamp(16px, 11cqi, 50px); }
.st-card.st-kol .st-names { margin: 2cqi 0 3cqi; }
.st-card.st-chiy { padding: 9% 16%; }
.st-card.st-chiy .st-in { padding: 7cqi 6cqi; }
.st-card.st-chiy .st-art { width: 36cqi; margin-bottom: 2cqi; }
.st-card.st-chiy.m-pixel-kochkor .st-art { width: 48cqi; }
.st-card.st-chiy .st-names { font-size: clamp(14px, 11cqi, 48px); }
.st-card.st-barkyt { padding: 7% 6%; }
.st-card .bk-crest { width: 38cqi; margin-top: 2cqi; }
.st-card.st-barkyt .st-art { margin-top: 2cqi; }
.st-card.st-zhibek .st-in { padding: 8cqi 5cqi; }
.st-card.st-mramor { padding: 4%; }
.st-card.st-mramor .st-in { height: 100%; width: auto; }
.st-card.st-mramor.m-geo-circle .st-in { height: auto; width: 100%; }
.st-tunku-bak.m-magnolia .tb-bottom { width: min(90%, 440px); left: 40%; }
.st-card.st-tunku-bak { padding: 8% 6% 42%; }
.st-card.st-tunku-bak .tb-bottom { width: 80%; bottom: -10%; }
.st-card.st-tunku-bak.m-magnolia .tb-bottom { width: 62%; left: 36%; bottom: -6%; }
.st-card.st-tunku-bak .tb-top { width: 34%; }
.st-card.st-jurnal { padding: 7% 7% 6%; }
.st-card .jr-photo { width: 58cqi; margin-top: 3cqi; }
.st-card.st-jurnal .st-names { margin: -12cqi 0 3cqi; }
.st-card.st-neon { padding: 8% 7%; }
.st-card.st-neon .st-in { padding: 8cqi 6cqi; }
.st-card.st-neon .st-art { width: 28cqi; }
.st-card.st-retro { padding: 8% 6% 26%; }
.st-card .rt-arcs { width: 96%; }
.st-card.st-retro .st-art { width: 32cqi; margin-bottom: 1cqi; }
.st-card.st-albom { padding: 8% 7%; }
.st-card .al-photos { width: 54cqi; margin-bottom: 5cqi; }

/* Blocks below the cover. */
.cv-tk, .cv-km, .cv-ko, .cv-ch, .cv-bk, .cv-zb, .cv-mr, .cv-tb, .cv-jr, .cv-ne, .cv-rt, .cv-al { --cv-gold: var(--inv-accent); --cv-gold-deep: var(--inv-accent); }
.cv-tk h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 26px; color: var(--inv-accent); }
.cv-tk .cv-block > section { padding: 28px 18px; border: 2px dashed color-mix(in srgb, var(--inv-accent) 55%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--inv-surface) 55%, transparent); }
.cv-tk .cv-btn { border-radius: 8px; }
.cv-km h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 24px; background: linear-gradient(100deg, var(--inv-accent), #fff 45%, var(--inv-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-km .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp) { background: radial-gradient(circle, var(--inv-accent) 0 2px, transparent 2.5px) top center / 12px 6px repeat-x; }
.cv-km .cv-btn { border-radius: 4px; }
.cv-ko h2 { font-weight: 600; font-size: 34px; }
.cv-ko h2::before { content: ""; display: block; width: 46px; height: 16px; margin: 0 auto 10px; background: var(--inv-accent); clip-path: polygon(0 100%, 28% 25%, 44% 58%, 64% 0, 100% 100%); }
.cv-ch { --cv-display: 'Manrope', var(--cv-sans); }
.cv-ch h2 { font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: 0.02em; }
.cv-ch .cv-block > section { padding: 24px 16px; border: 3px solid var(--inv-text); background: var(--inv-surface); box-shadow: 6px 6px 0 var(--inv-accent); }
.cv-ch .cv-btn { border-radius: 0; border: 2px solid var(--inv-text); background: var(--inv-accent); color: #fff; box-shadow: 3px 3px 0 var(--inv-text); }
.cv-bk h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; background: linear-gradient(105deg, var(--inv-accent), color-mix(in srgb, var(--inv-accent) 30%, #fff) 45%, var(--inv-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-bk .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp) { border-top: 1px solid color-mix(in srgb, var(--inv-accent) 35%, transparent); }
.cv-bk .cv-btn { border-radius: 2px; }
.cv-zb h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; color: var(--inv-accent); }
.cv-zb .cv-block > section { padding: 28px 20px; border-radius: 28px; background: var(--inv-surface); box-shadow: 0 12px 40px rgb(0 0 0 / 0.06); }
.cv-mr h2 { font-weight: 300; text-transform: uppercase; letter-spacing: 0.2em; font-size: 24px; }
.cv-mr .cv-block > section { padding: 28px 18px; border: 1px solid color-mix(in srgb, var(--inv-accent) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--inv-accent) 35%, transparent); outline-offset: -7px; background: color-mix(in srgb, var(--inv-surface) 70%, transparent); }
.cv-mr .cv-btn { border-radius: 0; }
.cv-tb h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; text-shadow: 0 0 18px color-mix(in srgb, var(--inv-accent) 40%, transparent); }
.cv-tb .cv-block + .cv-block:not(.cv-countdown, .cv-rsvp) { border-top: 1px solid color-mix(in srgb, var(--inv-accent) 25%, transparent); }
.cv-jr h2 { display: inline-block; padding-top: 10px; border-top: 3px solid var(--inv-text); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: 30px; }
.cv-jr .cv-btn { border-radius: 0; border-color: var(--inv-text); background: var(--inv-text); color: var(--inv-bg); }
.cv-ne h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; color: color-mix(in srgb, var(--inv-accent) 28%, #fff); text-shadow: 0 0 8px var(--inv-accent), 0 0 20px var(--inv-accent); }
.cv-ne .cv-block > section { padding: 26px 16px; border: 1.5px solid color-mix(in srgb, var(--inv-accent) 60%, #fff); border-radius: 24px; box-shadow: 0 0 10px color-mix(in srgb, var(--inv-accent) 45%, transparent), inset 0 0 12px color-mix(in srgb, var(--inv-accent) 30%, transparent); }
.cv-ne .cv-btn { border-color: color-mix(in srgb, var(--inv-accent) 60%, #fff); color: #fff; box-shadow: 0 0 10px var(--inv-accent), inset 0 0 8px color-mix(in srgb, var(--inv-accent) 50%, transparent); }
.cv-rt { --cv-display: 'Unbounded', 'Manrope', var(--cv-sans); }
.cv-rt:lang(ky) { --cv-display: 'Manrope', var(--cv-sans); }
.cv-rt h2 { font-weight: 800; text-transform: uppercase; font-size: 24px; color: var(--inv-accent); text-shadow: 2px 2px 0 #e9a23b; }
.cv-rt .cv-btn { border-color: transparent; background: var(--inv-accent); color: #fff; box-shadow: 3px 3px 0 color-mix(in srgb, var(--inv-text) 85%, var(--inv-accent)); }
.cv-al h2 { font-family: var(--cv-script); font-weight: 400; font-size: 46px; }
.cv-al .cv-block > section { position: relative; padding: 30px 18px 26px; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 0.08); rotate: -0.6deg; }
.cv-al .cv-block:nth-of-type(even) > section { rotate: 0.6deg; }
.cv-al .cv-block > section::before { content: ""; position: absolute; top: -10px; left: 50%; width: 92px; height: 22px; translate: -50% 0; rotate: -3deg; background: color-mix(in srgb, var(--inv-accent) 35%, transparent); }
.cv-al .cv-btn { border-radius: 12px; }

/* Great Vibes and Unbounded have no ү, ө, ң (D022, D023). A cover with such names (.st-kyl), a
   guest page with them (.cv-kyl) and a Kyrgyz one set all their script in Bad Script, which has
   them (the page's --cv-script: invitation-canvas.css); names in Unbounded switch to Manrope
   ExtraBold. */
.st-kyl, .st-cover:lang(ky), .cv-kyl .st-cover { --st-script: 'Bad Script', 'Cormorant Garamond', cursive; }
.st-kyl:is(.st-jash, .st-balapan, .st-retro) .st-names { font-family: var(--st-sans); font-weight: 800; }


/* The age and recipient are separate text on editorial covers. */
.st-jurnal .st-number + .st-names { margin-top:3cqi; }
/* Wide landscape artwork must stay behind a readable text surface. */
@media (min-width:900px) {
  .st-kol:not(.st-card) .st-in,.st-retro:not(.st-card) .st-in { padding:28px; border-radius:24px; background:color-mix(in srgb,var(--inv-bg) 96%,transparent); box-shadow:0 12px 45px rgb(0 0 0 / .06); }
}

/* Shared optional section designs selected in the template editor. */
.si-date-editorial{border-block:1px solid color-mix(in srgb,var(--inv-accent) 32%,transparent);padding-block:2rem}
.si-date-botanical{border:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent);border-radius:48% 48% 18px 18px;padding:2.5rem 1.25rem 1.5rem;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--inv-accent) 9%,transparent),transparent 68%)}
.si-date-ticket{border:1px dashed color-mix(in srgb,var(--inv-accent) 50%,transparent);padding:1.5rem;border-radius:12px;box-shadow:inset 0 0 0 5px color-mix(in srgb,var(--inv-accent) 5%,transparent)}
.si-date-calendar{background:linear-gradient(180deg,color-mix(in srgb,var(--inv-accent) 7%,transparent) 0 3.2rem,transparent 3.2rem);border-radius:1rem;padding:1.5rem}
.si-date-timeline{border-inline-start:2px solid var(--inv-accent);padding-inline-start:1.5rem}
.si-date-arch{border:1px solid color-mix(in srgb,var(--inv-accent) 38%,transparent);border-radius:50% 50% 8px 8px;padding:2.2rem 1.2rem 1.4rem}
.si-date-postcard{border:1px solid color-mix(in srgb,var(--inv-accent) 30%,transparent);box-shadow:5px 5px 0 color-mix(in srgb,var(--inv-accent) 12%,transparent);padding:1.5rem}
.si-date-woven{background:repeating-linear-gradient(45deg,color-mix(in srgb,var(--inv-accent) 5%,transparent) 0 5px,transparent 5px 11px);border:1px solid color-mix(in srgb,var(--inv-accent) 25%,transparent);padding:1.5rem}
.si-date-minimal{border-block:1px solid currentColor;padding-block:2rem}
.si-date-night{background:linear-gradient(135deg,color-mix(in srgb,var(--inv-accent) 14%,transparent),transparent 65%);border-radius:1.25rem;padding:1.5rem}
.rsvp-style-editorial{border-block:1px solid var(--inv-accent);padding-block:2rem}
.rsvp-style-ticket{border:1px dashed var(--inv-accent);padding:1.25rem;border-radius:12px;background:color-mix(in srgb,var(--inv-accent) 4%,transparent)}
.rsvp-style-botanical{border:1px solid color-mix(in srgb,var(--inv-accent) 38%,transparent);border-radius:42% 42% 14px 14px;padding:2rem 1rem 1.25rem}
.rsvp-style-postcard{border:1px solid var(--inv-accent);box-shadow:5px 5px 0 color-mix(in srgb,var(--inv-accent) 12%,transparent)}
.rsvp-style-woven{background:repeating-linear-gradient(45deg,color-mix(in srgb,var(--inv-accent) 5%,transparent) 0 5px,transparent 5px 11px)}
.rsvp-style-minimal{border-radius:0!important;border-block:1px solid var(--inv-accent);box-shadow:none!important}
.rsvp-style-night{background:linear-gradient(145deg,color-mix(in srgb,var(--inv-accent) 14%,var(--inv-surface)),var(--inv-surface))}
.rsvp-style-arch{border-radius:50% 50% 1rem 1rem!important;border:1px solid color-mix(in srgb,var(--inv-accent) 40%,transparent)}
.rsvp-style-ledger{border-inline-start:4px double var(--inv-accent);border-radius:0!important}
.rsvp-style-letter{border:1px solid color-mix(in srgb,var(--inv-accent) 32%,transparent);box-shadow:0 8px 24px rgb(0 0 0 / .06)}

/* High-contrast section treatments. Each choice changes the frame, surface, and internal rhythm. */
.si-date-editorial,#invitation-venue.si-date-editorial{border:0;border-inline-start:5px solid var(--inv-accent);border-block:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent);padding:1.4rem 1.5rem;background:linear-gradient(90deg,color-mix(in srgb,var(--inv-accent) 8%,transparent),transparent 72%)}
.si-date-editorial .si-section-heading,.si-date-editorial h2,#invitation-venue.si-date-editorial h2{letter-spacing:.13em;text-transform:uppercase}
.si-date-botanical,#invitation-venue.si-date-botanical{border:2px solid color-mix(in srgb,var(--inv-accent) 45%,transparent);border-radius:46% 46% 20px 20px;padding:3rem 1.5rem 1.8rem;background:radial-gradient(ellipse at 12% 12%,color-mix(in srgb,var(--inv-accent) 18%,transparent) 0 5%,transparent 6%),radial-gradient(ellipse at 88% 12%,color-mix(in srgb,var(--inv-accent) 18%,transparent) 0 5%,transparent 6%),color-mix(in srgb,var(--inv-surface) 88%,transparent)}
.si-date-ticket,#invitation-venue.si-date-ticket{border:2px dashed var(--inv-accent);border-radius:4px;padding:1.7rem;background:radial-gradient(circle at 0 50%,var(--inv-bg) 0 10px,transparent 11px),radial-gradient(circle at 100% 50%,var(--inv-bg) 0 10px,transparent 11px),color-mix(in srgb,var(--inv-accent) 6%,var(--inv-surface));box-shadow:inset 0 0 0 5px color-mix(in srgb,var(--inv-accent) 10%,transparent)}
.si-date-calendar,#invitation-venue.si-date-calendar{border:1px solid color-mix(in srgb,var(--inv-accent) 32%,transparent);border-radius:4px;padding:1.5rem;background:linear-gradient(180deg,var(--inv-accent) 0 12px,color-mix(in srgb,var(--inv-accent) 5%,var(--inv-surface)) 12px 100%);box-shadow:0 8px 24px rgb(0 0 0 / .08)}
.si-date-timeline,#invitation-venue.si-date-timeline{border:0;border-inline-start:3px solid var(--inv-accent);padding:1rem 1.4rem;background:linear-gradient(90deg,color-mix(in srgb,var(--inv-accent) 7%,transparent),transparent 55%);position:relative}
.si-date-timeline::before,#invitation-venue.si-date-timeline::before{content:"";position:absolute;inset-inline-start:-8px;top:1.3rem;width:13px;height:13px;border-radius:50%;background:var(--inv-accent);box-shadow:0 0 0 5px var(--inv-bg)}
.si-date-arch,#invitation-venue.si-date-arch{border:2px solid color-mix(in srgb,var(--inv-accent) 55%,transparent);border-radius:48% 48% 6px 6px;padding:3rem 1.5rem 1.6rem;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--inv-accent) 16%,transparent),transparent 66%)}
.si-date-postcard,#invitation-venue.si-date-postcard{border:1px solid color-mix(in srgb,var(--inv-accent) 42%,transparent);padding:1.6rem;background:var(--inv-surface);box-shadow:9px 10px 0 color-mix(in srgb,var(--inv-accent) 24%,transparent);transform:rotate(-1deg)}
.si-date-woven,#invitation-venue.si-date-woven{border:2px solid color-mix(in srgb,var(--inv-accent) 38%,transparent);padding:1.6rem;background:repeating-linear-gradient(45deg,color-mix(in srgb,var(--inv-accent) 12%,transparent) 0 4px,transparent 4px 10px),var(--inv-surface);outline:1px solid color-mix(in srgb,var(--inv-accent) 25%,transparent);outline-offset:5px}
.si-date-minimal,#invitation-venue.si-date-minimal{border:0;border-block:2px solid currentColor;border-radius:0;padding:1.6rem 0;box-shadow:none;background:transparent}
.si-date-night,#invitation-venue.si-date-night{border:1px solid color-mix(in srgb,var(--inv-accent) 60%,transparent);border-radius:1.25rem;padding:1.6rem;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--inv-accent) 28%,transparent),transparent 60%),color-mix(in srgb,var(--inv-text) 90%,var(--inv-bg));color:var(--inv-bg);box-shadow:0 14px 34px rgb(0 0 0 / .2)}
#invitation-venue.si-date-night .cv-actions a{color:var(--inv-bg);border-color:color-mix(in srgb,var(--inv-bg) 55%,transparent)}
.rsvp-style-editorial{border:0;border-block:2px solid var(--inv-accent);border-radius:0!important;padding:2rem 1.5rem;background:linear-gradient(90deg,color-mix(in srgb,var(--inv-accent) 7%,transparent),transparent 65%)}
.rsvp-style-editorial .si-reply-heading,#rsvp.rsvp-style-editorial>div:first-child{border-bottom:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent);padding-bottom:1.2rem;letter-spacing:.12em;text-transform:uppercase}
.rsvp-style-ticket{border:2px dashed var(--inv-accent)!important;border-radius:5px!important;padding:1.6rem!important;background:radial-gradient(circle at 0 50%,var(--inv-bg) 0 10px,transparent 11px),radial-gradient(circle at 100% 50%,var(--inv-bg) 0 10px,transparent 11px),color-mix(in srgb,var(--inv-accent) 7%,var(--inv-surface))!important;box-shadow:inset 0 0 0 5px color-mix(in srgb,var(--inv-accent) 10%,transparent)}
.rsvp-style-botanical{border:2px solid color-mix(in srgb,var(--inv-accent) 45%,transparent)!important;border-radius:46% 46% 18px 18px!important;padding:2.8rem 1.5rem 1.8rem!important;background:radial-gradient(ellipse at 10% 8%,color-mix(in srgb,var(--inv-accent) 16%,transparent) 0 6%,transparent 7%),radial-gradient(ellipse at 90% 8%,color-mix(in srgb,var(--inv-accent) 16%,transparent) 0 6%,transparent 7%),var(--inv-surface)}
.rsvp-style-postcard{border:1px solid color-mix(in srgb,var(--inv-accent) 55%,transparent)!important;border-radius:2px!important;padding:1.6rem!important;background:var(--inv-surface);box-shadow:9px 10px 0 color-mix(in srgb,var(--inv-accent) 24%,transparent)!important;transform:rotate(-.6deg)}
.rsvp-style-woven{border:2px solid color-mix(in srgb,var(--inv-accent) 36%,transparent)!important;border-radius:8px!important;padding:1.6rem!important;background:repeating-linear-gradient(45deg,color-mix(in srgb,var(--inv-accent) 12%,transparent) 0 4px,transparent 4px 10px),var(--inv-surface)!important;outline:1px solid color-mix(in srgb,var(--inv-accent) 25%,transparent);outline-offset:5px}
.rsvp-style-minimal{border:0!important;border-block:2px solid var(--inv-accent)!important;border-radius:0!important;padding:1.5rem 0!important;background:transparent!important;box-shadow:none!important}
.rsvp-style-night{border:1px solid color-mix(in srgb,var(--inv-accent) 55%,transparent)!important;border-radius:1.25rem!important;padding:1.6rem!important;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--inv-accent) 28%,transparent),transparent 60%),color-mix(in srgb,var(--inv-text) 90%,var(--inv-bg))!important;color:var(--inv-bg)!important;box-shadow:0 14px 34px rgb(0 0 0 / .2)}
.rsvp-style-night input:not([type=radio],[type=checkbox],[type=hidden]),.rsvp-style-night textarea,.rsvp-style-night select{background:color-mix(in srgb,var(--inv-bg) 94%,transparent)!important;color:var(--inv-text)!important}
.rsvp-style-night .inv-rsvp-options span{color:var(--inv-bg);border-color:color-mix(in srgb,var(--inv-bg) 55%,transparent)}
.rsvp-style-arch{border:2px solid color-mix(in srgb,var(--inv-accent) 48%,transparent)!important;border-radius:48% 48% 1rem 1rem!important;padding:2.8rem 1.5rem 1.8rem!important;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--inv-accent) 15%,transparent),transparent 65%)}
.rsvp-style-ledger{border:0!important;border-inline-start:5px double var(--inv-accent)!important;border-radius:0!important;padding:1.5rem!important;background:repeating-linear-gradient(180deg,transparent 0 3.1rem,color-mix(in srgb,var(--inv-accent) 14%,transparent) 3.1rem calc(3.1rem + 1px))!important}
.rsvp-style-letter{border:1px solid color-mix(in srgb,var(--inv-accent) 42%,transparent)!important;border-radius:3px!important;padding:1.8rem!important;background:linear-gradient(135deg,color-mix(in srgb,var(--inv-accent) 8%,var(--inv-surface)) 0 18px,var(--inv-surface) 18px);box-shadow:0 12px 28px rgb(0 0 0 / .12)!important}
@media(max-width:600px){.si-date-postcard,#invitation-venue.si-date-postcard,.rsvp-style-postcard{transform:none}}

/* Clear, non-overlapping section designs and RSVP feedback motion. */
.si-date-botanical,#invitation-venue.si-date-botanical{border-radius:1.25rem 1.25rem 1.25rem 4.5rem;background:linear-gradient(135deg,color-mix(in srgb,var(--inv-accent) 13%,var(--inv-surface)),var(--inv-surface) 55%);padding:1.6rem;border-inline-start:5px solid var(--inv-accent)}
.si-date-arch,#invitation-venue.si-date-arch{border-radius:9rem 9rem 1rem 1rem;background:linear-gradient(180deg,color-mix(in srgb,var(--inv-accent) 10%,var(--inv-surface)),var(--inv-surface) 45%);padding:3rem 1.4rem 1.5rem}
.si-date-postcard,#invitation-venue.si-date-postcard{transform:none;box-shadow:8px 8px 0 color-mix(in srgb,var(--inv-accent) 22%,transparent)}
.si-date-woven,#invitation-venue.si-date-woven{background:var(--inv-surface);outline:0}
.rsvp-style-postcard{transform:none!important}
.rsvp-style-woven{background:var(--inv-surface)!important;outline:0!important}
.rsvp-style-ledger{background:color-mix(in srgb,var(--inv-accent) 4%,var(--inv-surface))!important;border-inline-start:5px solid var(--inv-accent)!important}
.rsvp-style-night{color:var(--inv-text)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--inv-accent) 18%,var(--inv-surface)),var(--inv-surface))!important}
.rsvp-style-night .inv-rsvp-options span{color:var(--inv-text)!important;border-color:color-mix(in srgb,var(--inv-text) 45%,transparent)!important}
.si-date-frame,#invitation-venue.si-date-frame{border:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent);outline:5px solid color-mix(in srgb,var(--inv-accent) 9%,transparent);outline-offset:-10px;padding:2rem 1.6rem;background:var(--inv-surface)}
.si-date-split,#invitation-venue.si-date-split{border:0;border-inline:2px solid var(--inv-accent);padding:1.5rem clamp(1.2rem,5vw,3rem);background:linear-gradient(90deg,transparent 49.8%,color-mix(in srgb,var(--inv-accent) 10%,transparent) 50%,transparent 50.2%)}
.si-date-ribbon,#invitation-venue.si-date-ribbon{border:1px solid color-mix(in srgb,var(--inv-accent) 30%,transparent);border-radius:1rem;padding:1.6rem;background:linear-gradient(120deg,color-mix(in srgb,var(--inv-accent) 12%,var(--inv-surface)) 0 1.1rem,var(--inv-surface) 1.1rem 100%)}
.si-date-pinboard,#invitation-venue.si-date-pinboard{border:1px solid color-mix(in srgb,var(--inv-text) 12%,transparent);border-radius:.5rem;padding:1.6rem;background:linear-gradient(180deg,color-mix(in srgb,var(--inv-accent) 8%,var(--inv-surface)),var(--inv-surface) 5rem);box-shadow:0 8px 20px rgb(0 0 0 / .07)}
.si-date-spotlight,#invitation-venue.si-date-spotlight{border:0;border-radius:1.5rem;padding:2rem 1.5rem;background:radial-gradient(ellipse at 50% 15%,color-mix(in srgb,var(--inv-accent) 18%,transparent),transparent 68%),var(--inv-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--inv-accent) 24%,transparent)}
.rsvp-style-double{border:3px double color-mix(in srgb,var(--inv-accent) 65%,transparent)!important;border-radius:1rem!important;background:var(--inv-surface)!important}
.rsvp-style-soft{border:0!important;border-radius:2rem!important;background:color-mix(in srgb,var(--inv-accent) 7%,var(--inv-surface))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--inv-accent) 15%,transparent)!important}
.rsvp-style-stack{border:1px solid color-mix(in srgb,var(--inv-accent) 25%,transparent)!important;border-radius:1rem!important;box-shadow:7px 7px 0 color-mix(in srgb,var(--inv-accent) 12%,transparent),14px 14px 0 color-mix(in srgb,var(--inv-accent) 6%,transparent)!important;margin-bottom:1rem}
.rsvp-style-pill{border:1px solid color-mix(in srgb,var(--inv-accent) 40%,transparent)!important;border-radius:3rem!important;background:linear-gradient(135deg,color-mix(in srgb,var(--inv-accent) 5%,var(--inv-surface)),var(--inv-surface))!important}
.rsvp-style-stage{border:0!important;border-top:4px solid var(--inv-accent)!important;border-bottom:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent)!important;border-radius:.25rem!important;background:linear-gradient(180deg,color-mix(in srgb,var(--inv-accent) 7%,var(--inv-surface)),var(--inv-surface) 6rem)!important}
#rsvp [class*="inv-submit-"]{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
#rsvp .inv-submit-outline{background:transparent!important;color:var(--inv-accent)!important;border:2px solid var(--inv-accent)}
#rsvp .inv-submit-pill{border-radius:999px!important;letter-spacing:.04em;box-shadow:0 5px 14px color-mix(in srgb,var(--inv-accent) 24%,transparent)}
#rsvp .inv-submit-square{border-radius:5px!important;letter-spacing:.07em;text-transform:uppercase}
#rsvp .inv-submit-soft{background:color-mix(in srgb,var(--inv-accent) 14%,var(--inv-surface))!important;color:var(--inv-text)!important;border:1px solid color-mix(in srgb,var(--inv-accent) 35%,transparent)}
#rsvp .inv-submit-underline{border-radius:0!important;background:transparent!important;color:var(--inv-text)!important;border-bottom:2px solid var(--inv-accent);box-shadow:none}
 #rsvp [data-rsvp-success]{position:relative;overflow:hidden}
.rsvp-success-none [data-rsvp-success]{animation:none!important}
.rsvp-success-plane [data-rsvp-success]::before{content:"✈";display:block;font-size:1.7rem;color:var(--inv-accent);animation:rsvp-plane 1.1s ease-out both}
@keyframes rsvp-plane{0%{opacity:0;transform:translate(-2rem,1rem) rotate(-24deg)}65%{opacity:1;transform:translate(.6rem,-.25rem) rotate(-8deg)}100%{transform:translate(0,0) rotate(0)}}
.rsvp-success-confetti [data-rsvp-success]{animation:rsvp-confetti .8s ease-out both}
@keyframes rsvp-confetti{0%{opacity:0;transform:translateY(-1rem) rotate(-2deg);box-shadow:0 0 0 transparent}45%{box-shadow:0 -12px 0 -5px #d97761,18px -8px 0 -5px #d4a943,-18px -5px 0 -5px #7d9271}100%{opacity:1;transform:none;box-shadow:none}}
.rsvp-success-sparkle [data-rsvp-success]{animation:rsvp-sparkle .9s ease-out both}
@keyframes rsvp-sparkle{0%{opacity:0;filter:brightness(1.8);transform:scale(.94)}55%{filter:brightness(1.3);transform:scale(1.025)}100%{opacity:1;filter:none;transform:scale(1)}}
.rsvp-success-ripple [data-rsvp-success]{animation:rsvp-ripple .8s ease-out both}
@keyframes rsvp-ripple{0%{opacity:0;box-shadow:0 0 0 0 color-mix(in srgb,var(--inv-accent) 35%,transparent)}100%{opacity:1;box-shadow:0 0 0 18px transparent}}
.rsvp-success-check [data-rsvp-success]::before{content:"✓";display:inline-grid;place-items:center;margin-inline-end:.65rem;width:1.8rem;height:1.8rem;border-radius:50%;color:white;background:var(--inv-accent);animation:rsvp-check .5s cubic-bezier(.2,1.8,.4,1) both}
@keyframes rsvp-check{from{opacity:0;transform:scale(0) rotate(-35deg)}to{opacity:1;transform:scale(1) rotate(0)}}
.rsvp-success-petals [data-rsvp-success]{animation:rsvp-petals .85s ease-out both}
@keyframes rsvp-petals{0%{opacity:0;transform:translateY(10px) rotate(-1deg);border-radius:50%}100%{opacity:1;transform:none;border-radius:1rem}}
.rsvp-success-firefly [data-rsvp-success]{animation:rsvp-firefly .9s ease-out both}
@keyframes rsvp-firefly{0%{opacity:0;box-shadow:0 0 0 transparent}40%{opacity:1;box-shadow:0 0 20px color-mix(in srgb,var(--inv-accent) 50%,transparent)}100%{opacity:1;box-shadow:0 0 0 transparent}}
.rsvp-success-ribbon [data-rsvp-success]{animation:rsvp-ribbon .7s ease-out both}
@keyframes rsvp-ribbon{0%{opacity:0;clip-path:inset(0 50%)}100%{opacity:1;clip-path:inset(0 0)}}
.rsvp-success-stars [data-rsvp-success]::after{content:"✦  ✧  ✦";display:block;color:var(--inv-accent);letter-spacing:.5em;animation:rsvp-stars 1s ease-out both}
@keyframes rsvp-stars{from{opacity:0;letter-spacing:1em;transform:translateY(5px)}to{opacity:1;letter-spacing:.5em;transform:none}}
.rsvp-success-bounce [data-rsvp-success]{animation:rsvp-bounce .7s cubic-bezier(.2,1.5,.4,1) both}
@keyframes rsvp-bounce{0%{opacity:0;transform:scale(.85)}70%{opacity:1;transform:scale(1.04)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#rsvp [data-rsvp-success],#rsvp [data-rsvp-success]::before,#rsvp [data-rsvp-success]::after{animation:none!important;transition:none!important}}
#rsvp .inv-submit-solid{box-shadow:0 6px 18px color-mix(in srgb,var(--inv-accent) 24%,transparent)}
#rsvp [class*="inv-submit-"]:hover,#rsvp [class*="inv-submit-"]:focus-visible{transform:translateY(-1px);box-shadow:0 8px 20px color-mix(in srgb,var(--inv-accent) 24%,transparent)}
#rsvp [class*="inv-submit-"]{color:var(--inv-text)!important}
#rsvp .inv-submit-solid{background:var(--inv-text)!important;color:var(--inv-bg)!important}
#rsvp .inv-submit-outline{background:transparent!important;color:var(--inv-text)!important;border-color:var(--inv-text)!important}
#rsvp .inv-submit-pill{background:var(--inv-bg)!important;color:var(--inv-text)!important;border:1px solid color-mix(in srgb,var(--inv-text) 45%,transparent)}
#rsvp .inv-submit-square{background:var(--inv-bg)!important;color:var(--inv-text)!important;border:1px solid var(--inv-text)}
#rsvp .inv-submit-soft{background:color-mix(in srgb,var(--inv-accent) 14%,var(--inv-bg))!important;color:var(--inv-text)!important}
#rsvp .inv-submit-underline{background:transparent!important;color:var(--inv-text)!important;border-bottom-color:var(--inv-text)!important}
.rsvp-success-plane [data-rsvp-success]::before{color:var(--inv-text)}

.rsvp-style-double{padding:2.5rem 2rem!important;border-width:5px!important}
@media(max-width:600px){.rsvp-style-double{padding:2rem 1.5rem!important}}

/* Give RSVP copy room inside the soft, layered and capsule treatments. */
#rsvp.rsvp-style-stack{padding:2.5rem 2rem!important;box-shadow:4px 4px 0 color-mix(in srgb,var(--inv-accent) 10%,transparent),8px 8px 0 color-mix(in srgb,var(--inv-accent) 5%,transparent)!important}
#rsvp.rsvp-style-soft{padding:2.5rem 2rem!important;border-radius:1.5rem!important}
#rsvp.rsvp-style-pill{padding:2.5rem 2rem!important;border-radius:1.5rem!important}
@media(max-width:600px){#rsvp.rsvp-style-stack,#rsvp.rsvp-style-soft,#rsvp.rsvp-style-pill{padding:2rem 1.25rem!important}}

/* Readable text floor (2026-11-12, user: «надписи маленькие»): kicker/time were 8-12 px on a 390 px phone. */
.st-cover:not(.st-card):is(.st-tush-kiyiz, .st-barkyt) .st-kicker { font-size: clamp(14px, 3.9vw, 18px) !important; }
.st-cover:not(.st-card):is(.st-tush-kiyiz, .st-barkyt) .st-when { font-size: clamp(13px, 3.4vw, 15px) !important; }
.st-cover:not(.st-card).st-tush-kiyiz .st-names { font-size: clamp(36px, 10.5cqi, 58px); }

/* «Баркыт — бархат и золото» (cv-bk, barkyt-toy) inner page with painted gold stickers (D173): ONE sticker per block (never two between neighbouring blocks, user rule), the blocks stay
   separated by the hairlines the layout already draws; four gold corners on the reply frame. Cover/opening unchanged. The sticker sheets are cut from ChatGPT sheets (cyan key). */
body.cv.cv-bk[data-interior] .cv-intro > section > svg { display: none; }
body.cv.cv-bk[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 14px; background: center / contain no-repeat; filter: drop-shadow(0 5px 7px rgb(0 0 0 / .4)); }
body.cv.cv-bk[data-interior] .cv-intro > section::before { width: 84px; height: 106px; background-image: url("/static/images/obraz/bk-chandelier.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-calendar > section::before { width: 96px; height: 92px; background-image: url("/static/images/obraz/bk-wreath.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-countdown > section::before { width: 82px; height: 92px; background-image: url("/static/images/obraz/bk-watch.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-venue > section::before { width: 66px; height: 100px; background-image: url("/static/images/obraz/bk-window.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-dress-code > section::before { width: 40px; height: 84px; background-image: url("/static/images/obraz/bk-tassel.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-contacts > section::before { width: 100px; height: 106px; background-image: url("/static/images/obraz/bk-bow.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-gifts > section::before { width: 112px; height: 88px; background-image: url("/static/images/obraz/bk-rings.webp?v=1"); }
body.cv.cv-bk[data-interior] .cv-hosts .celebration-flourish { display: block; width: 170px; height: 40px; margin: 0 auto 10px; font-size: 0; color: transparent; background: url("/static/images/obraz/bk-flourish.webp?v=1") center / contain no-repeat; filter: drop-shadow(0 3px 5px rgb(0 0 0 / .35)); }
body.cv.cv-bk[data-interior] .celebration-closing .celebration-flourish { display: block; width: 230px; height: 134px; margin: 0 auto 8px; font-size: 0; color: transparent; background: url("/static/images/obraz/bk-crown.webp?v=1") center / contain no-repeat; filter: drop-shadow(0 5px 7px rgb(0 0 0 / .4)); transform: none; }
body.cv.cv-bk[data-interior] :is(.si-clock-emblem) { display: none; }
body.cv.cv-bk[data-interior] :is(.si-program-emblem, .si-reply-emblem), body.cv.cv-bk[data-interior] .si-reply-seal .si-reply-emblem { display: block; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: center / contain no-repeat; filter: drop-shadow(0 5px 7px rgb(0 0 0 / .4)); }
body.cv.cv-bk[data-interior] :is(.si-program-emblem, .si-reply-emblem) .si-motif { display: none; }
body.cv.cv-bk[data-interior] .si-program-emblem { width: 100px; height: 100px; margin: 0 auto 12px; background-image: url("/static/images/obraz/bk-flutes.webp?v=1"); }
body.cv.cv-bk[data-interior] .si-reply-seal .si-reply-emblem { width: 76px; height: 98px; margin: 0 auto 10px; background-image: url("/static/images/obraz/bk-rose.webp?v=1"); }
body.cv.cv-bk[data-interior] .si-reply-frame { position: relative; padding-bottom: 66px; }
body.cv.cv-bk[data-interior] .si-reply-frame::after { content: ""; position: absolute; inset: 4px; pointer-events: none; background: url("/static/images/obraz/bk-corner-tl.webp?v=1") left top / 54px auto no-repeat, url("/static/images/obraz/bk-corner-tr.webp?v=1") right top / 54px auto no-repeat, url("/static/images/obraz/bk-corner-bl.webp?v=1") left bottom / 54px auto no-repeat, url("/static/images/obraz/bk-corner-br.webp?v=1") right bottom / 54px auto no-repeat; }

/* Night garden inner page (D174): one sticker per block instead of the glyph/emblem svgs, gold corners at the bottom of the arch cards. */
body.cv.cv-tb[data-interior] .cv-block:is(.cv-hosts, .cv-venue) > section, body.cv.cv-tb[data-interior] .cv-rsvp .si-reply-frame { position: relative; }
body.cv.cv-tb[data-interior] .cv-block:is(.cv-hosts, .cv-venue) > section::after, body.cv.cv-tb[data-interior] .cv-rsvp .si-reply-frame::after { content: ""; position: absolute; inset: -4px; pointer-events: none; background: url("/static/images/obraz/tb-corner-bl.webp") left bottom / 58px auto no-repeat, url("/static/images/obraz/tb-corner-br.webp") right bottom / 58px auto no-repeat; }
body.cv.cv-tb[data-interior] .cv-block:is(.cv-calendar, .cv-venue) > section::before { content: ""; display: block; margin: 0 auto 12px; background-position: center; background-size: contain; background-repeat: no-repeat; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.35)); }
body.cv.cv-tb[data-interior] .cv-calendar > section::before { width: 76px; height: 74px; background-image: url("/static/images/obraz/tb-moon.webp"); }
body.cv.cv-tb[data-interior] .cv-venue > section::before { width: 52px; height: 76px; background-image: url("/static/images/obraz/tb-lantern.webp"); }
body.cv.cv-tb[data-interior] .cv-hosts .celebration-flourish { display: block; width: 74px; height: 75px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/tb-hydrangea.webp") center / contain no-repeat; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.35)); }
body.cv.cv-tb[data-interior] .celebration-closing .celebration-flourish { display: block; width: 70px; height: 84px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/tb-stars.webp") center / contain no-repeat; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.35)); }
body.cv.cv-tb[data-interior] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) { display: block; border: 0; border-radius: 0; background: center / contain no-repeat; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.35)); }
body.cv.cv-tb[data-interior] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) .si-motif { display: none; }
body.cv.cv-tb[data-interior] .si-clock-emblem { width: 56px; height: 77px; margin: 12px auto 0; background-image: url("/static/images/obraz/tb-jar.webp"); }
body.cv.cv-tb[data-interior] .si-program-emblem { width: 130px; height: 83px; margin: 0 auto 14px; background-image: url("/static/images/obraz/tb-arch.webp"); }
body.cv.cv-tb[data-interior] .si-reply-emblem { width: 110px; height: 61px; margin: 0 auto 12px; background-image: url("/static/images/obraz/tb-moth.webp"); }

/* «Журнал — обложка» (cv-jr, jurnal-toy) inner page with flat print stickers (D174): ONE sticker per block (never two between neighbouring blocks, user rule); the editorial rules and
   headings stay. The cover and the opening are unchanged. Stickers are cut from a ChatGPT sheet (cyan key). Illustrated layouts do not load invitation-scene-layouts.css: the block lives here. */
body.cv.cv-jr[data-interior] .cv-intro > section > svg { display: none; }
body.cv.cv-jr[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.cv.cv-jr[data-interior] .cv-intro > section::before { width: 56px; height: 86px; background-image: url("/static/images/obraz/jr-rose.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-calendar > section::before { width: 104px; height: 94px; background-image: url("/static/images/obraz/jr-rings.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-countdown > section::before { width: 74px; height: 94px; background-image: url("/static/images/obraz/jr-disco.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-venue > section::before { width: 90px; height: 110px; background-image: url("/static/images/obraz/jr-cake.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-dress-code > section::before { width: 112px; height: 74px; background-image: url("/static/images/obraz/jr-lips.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-contacts > section::before { width: 104px; height: 76px; background-image: url("/static/images/obraz/jr-envelope.webp?v=1"); }
body.cv.cv-jr[data-interior] .cv-gifts > section::before { width: 56px; height: 86px; background-image: url("/static/images/obraz/jr-rose.webp?v=1"); }
body.cv.cv-jr[data-interior] :is(.cv-hosts, .celebration-closing) .celebration-flourish { display: block; width: 96px; height: 80px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/jr-hearts.webp?v=1") center / contain no-repeat; transform: none; }
body.cv.cv-jr[data-interior] :is(.si-program-emblem, .si-reply-emblem) { display: block; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: center / contain no-repeat; }
body.cv.cv-jr[data-interior] :is(.si-program-emblem, .si-reply-emblem) .si-motif { display: none; }
body.cv.cv-jr[data-interior] .si-program-emblem { width: 84px; height: 100px; margin: 0 auto 12px; background-image: url("/static/images/obraz/jr-flutes.webp?v=1"); }
body.cv.cv-jr[data-interior] .si-reply-emblem { width: 104px; height: 76px; margin: 0 auto 12px; background-image: url("/static/images/obraz/jr-envelope.webp?v=1"); }

/* «Шёлк» (cv-zb, zhibek-toy) inner page with peony stickers: one sticker per block, corner peonies at the bottom of the hosts/venue/reply cards. The layout loads only this stylesheet. */
body.cv.cv-zb[data-interior] .cv-block:is(.cv-hosts, .cv-venue) > section, body.cv.cv-zb[data-interior] .cv-rsvp .si-reply-frame { position: relative; }
body.cv.cv-zb[data-interior] .cv-block:is(.cv-hosts, .cv-venue) > section::after, body.cv.cv-zb[data-interior] .cv-rsvp .si-reply-frame::after { content: ""; position: absolute; inset: -8px; pointer-events: none; background-image: url("/static/images/obraz/zb-corner-bl.webp?v=3"), url("/static/images/obraz/zb-corner-br.webp?v=3"); background-position: left bottom, right bottom; background-size: 62px auto, 62px auto; background-repeat: no-repeat; }
body.cv.cv-zb[data-interior] .cv-block:is(.cv-calendar, .cv-venue) > section::before { content: ""; display: block; margin: 0 auto 10px; background-position: center; background-size: contain; background-repeat: no-repeat; }
body.cv.cv-zb[data-interior] .cv-calendar > section::before { width: 52px; height: 66px; background-image: url("/static/images/obraz/zb-bud.webp?v=2"); }
body.cv.cv-zb[data-interior] .cv-venue > section::before { width: 124px; height: 64px; background-image: url("/static/images/obraz/zb-swag.webp?v=2"); }
body.cv.cv-zb[data-interior] .cv-hosts .celebration-flourish { display: block; width: 112px; height: 66px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/zb-peonies.webp?v=2") center / contain no-repeat; }
body.cv.cv-zb[data-interior] .celebration-closing .celebration-flourish { display: block; width: 84px; height: 79px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/zb-heart.webp?v=2") center / contain no-repeat; }
body.cv.cv-zb[data-interior] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) { display: block; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: center / contain no-repeat; }
body.cv.cv-zb[data-interior] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) .si-motif { display: none; }
body.cv.cv-zb[data-interior] .si-clock-emblem { width: 78px; height: 78px; margin: 12px auto 0; background-image: url("/static/images/obraz/zb-wreath.webp?v=2"); }
body.cv.cv-zb[data-interior] .si-program-emblem { width: 140px; height: 56px; margin: 0 auto 12px; background-image: url("/static/images/obraz/zb-banner.webp?v=2"); }
body.cv.cv-zb[data-interior] .si-reply-emblem { width: 96px; height: 82px; margin: 0 auto 12px; background-image: url("/static/images/obraz/zb-envelope.webp?v=2"); }

/* «Акварельные пионы» (cv-av, akvarel-pion, motif wreath) inner page with watercolor peony stickers (D177): ONE sticker per block (never two between neighbouring blocks, user rule);
   the base divider is hidden, the cover and the opening stay. Stickers are cut from a ChatGPT sheet (cyan key). The layout loads this stylesheet, not the scene-layouts bundle. */
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 14px; background: center / contain no-repeat; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-intro > section::before { width: 112px; height: 91px; background-image: url("/static/images/obraz/ap-bloom.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-calendar > section::before { width: 96px; height: 90px; background-image: url("/static/images/obraz/ap-bud.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-countdown > section::before { width: 84px; height: 84px; background-image: url("/static/images/obraz/ap-watch.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-venue > section::before { width: 110px; height: 97px; background-image: url("/static/images/obraz/ap-arch.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-dress-code > section::before { width: 110px; height: 86px; background-image: url("/static/images/obraz/ap-bow.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-contacts > section::before { width: 110px; height: 84px; background-image: url("/static/images/obraz/ap-envelope.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-gifts > section::before { width: 84px; height: 87px; background-image: url("/static/images/obraz/ap-gift.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .cv-hosts .celebration-flourish { display: block; width: 150px; height: 37px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/ap-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .celebration-closing .celebration-flourish { display: block; width: 112px; height: 70px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/ap-crest.webp?v=1") center / contain no-repeat; transform: none; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) { display: block; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: center / contain no-repeat; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) .si-motif { display: none; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .si-clock-emblem { display: none; }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .si-program-emblem { width: 100px; height: 93px; margin: 0 auto 12px; background-image: url("/static/images/obraz/ap-bouquet.webp?v=1"); }
body.cv.cv-av[data-interior][data-interior-motif="wreath"] .si-reply-emblem { width: 100px; height: 88px; margin: 0 auto 12px; background-image: url("/static/images/obraz/ap-heart.webp?v=1"); }

/* «Альбом малышки» (kyzym-albom, layout cv-al) inner page with matte pink watercolour stickers (D206): ONE sticker per block (never two between neighbouring blocks, user rule); the base washi-tape strip on every block section (.cv-al .cv-block > section::before, absolute) is reset into the sticker box. Gifts = gift box, hosts divider = ribbon with bow, closing flourish = bunting (second sheet).
   Stickers cut from a ChatGPT sheet (cyan key); the balloon-bunch SVG emblems of programme and reply are replaced. */
body.cv.cv-al[data-interior="album"] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.cv.cv-al[data-interior="album"] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; position: static; translate: none; rotate: none; margin: 0 auto 14px; background: center / contain no-repeat; }
body.cv.cv-al[data-interior="album"] .cv-intro > section::before { width: 116px; height: 100px; background-image: url("/static/images/obraz/ab-cradle.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-calendar > section::before { width: 84px; height: 98px; background-image: url("/static/images/obraz/ab-polaroid.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-countdown > section::before { width: 76px; height: 94px; background-image: url("/static/images/obraz/ab-clock.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-venue > section::before { width: 92px; height: 100px; background-image: url("/static/images/obraz/ab-house.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-dress-code > section::before { width: 104px; height: 97px; background-image: url("/static/images/obraz/ab-onesie.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-contacts > section::before { width: 112px; height: 87px; background-image: url("/static/images/obraz/ab-envelope.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-schedule > section::before { display: none; }
body.cv.cv-al[data-interior="album"] .cv-gifts > section::before { width: 84px; height: 92px; background-image: url("/static/images/obraz/ab-gift.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .cv-hosts .celebration-flourish { display: block; width: 200px; height: 52px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/ab-ribbon.webp?v=1") center / contain no-repeat; }
body.cv.cv-al[data-interior="album"] .celebration-closing .celebration-flourish { display: block; width: 190px; height: 74px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/ab-bunting.webp?v=1") center / contain no-repeat; }
body.cv.cv-al[data-interior="album"] .cv-footer::before { content: ""; display: block; width: 190px; height: 74px; margin: 0 auto 12px; background: url("/static/images/obraz/ab-bunting.webp?v=1") center / contain no-repeat; }
body.cv.cv-al[data-interior="album"] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) { display: block; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: center / contain no-repeat; }
body.cv.cv-al[data-interior="album"] :is(.si-clock-emblem, .si-program-emblem, .si-reply-emblem) :is(svg, .si-motif) { display: none; }
body.cv.cv-al[data-interior="album"] .si-clock-emblem { display: none; }
body.cv.cv-al[data-interior="album"] .si-program-emblem { width: 100px; height: 99px; margin: 0 auto 12px; background-image: url("/static/images/obraz/ab-bunny.webp?v=1"); }
body.cv.cv-al[data-interior="album"] .si-reply-emblem { width: 112px; height: 104px; margin: 0 auto 12px; background-image: url("/static/images/obraz/ab-wreath.webp?v=1"); }
