/* D027. Editable HTML above individually generated art. Card and guest use one composition. */
.sc-cover{--sc-heading:'Cormorant Garamond',Georgia,serif;--sc-paper:var(--inv-bg,#fff4e5);position:relative;isolation:isolate;container-type:inline-size;box-sizing:border-box;width:100%;max-width:680px;margin:0 auto;min-height:820px;min-height:min(940px,110svh);background:var(--sc-paper);color:var(--inv-text,#493b30);font-family:'Manrope',system-ui,sans-serif;overflow:hidden}
.sc-cover *{box-sizing:border-box}.sc-art{position:absolute;inset:0;z-index:-1;overflow:hidden}.sc-art>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}.sc-art .inv-backdrop{z-index:1}.sc-copy{position:relative;display:flex;flex-direction:column;align-items:center;min-height:inherit;padding:6% 7% 7%;text-align:center;gap:14px}.sc-copy p,.sc-copy h1,.sc-copy h2{margin:0}.sc-heading{max-width:100%;width:100%}.sc-title{font:500 clamp(30px,7.7cqw,54px)/1.04 var(--sc-heading);letter-spacing:-.025em;text-wrap:balance;overflow-wrap:anywhere}.sc-names{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:0 .24em;margin-top:13px!important;font:500 clamp(28px,7cqw,48px)/1.15 var(--sc-heading);overflow-wrap:anywhere}.sc-names>span{min-width:0;max-width:100%}.sc-names em{font-size:.7em;font-weight:400;color:var(--inv-accent)}.sc-kicker{font-size:clamp(10px,2.45cqw,13px);letter-spacing:.19em;text-transform:uppercase;line-height:1.7}.sc-body{max-width:34em;font-size:clamp(14px,3.3cqw,17px);line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}.sc-date{display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(12px,2.9cqw,16px);line-height:1.6;padding:7px 14px;background:color-mix(in srgb,var(--sc-paper) 92%,transparent);border-radius:3px}.sc-day{display:none;font:500 48px/1 var(--sc-heading)}.sc-clock{font-size:.85em;letter-spacing:.12em}.sc-venue{max-width:100%;padding:4px 12px;border-radius:3px;background:color-mix(in srgb,var(--sc-paper) 92%,transparent);font-size:clamp(11px,2.8cqw,14px);overflow-wrap:anywhere}.sc-languages{align-self:flex-end}.sc-languages .cv-langs{background:color-mix(in srgb,var(--sc-paper) 90%,transparent);color:var(--inv-text)}.sc-languages a{min-width:44px;min-height:40px}.sc-greeting{font-size:13px;line-height:1.5}.sc-greeting:empty{display:none}.sc-font-round{--sc-heading:'Manrope',system-ui,sans-serif}.sc-font-round .sc-title{font-weight:800;letter-spacing:-.045em}.sc-font-display{--sc-heading:'Manrope',system-ui,sans-serif}.sc-font-display .sc-title{font-weight:800;letter-spacing:-.065em;font-size:clamp(30px,8cqw,58px)}.sc-font-script{--sc-heading:'Bad Script','Cormorant Garamond',cursive}.sc-font-script .sc-title{line-height:1.4;letter-spacing:-.04em;font-size:clamp(27px,6.8cqw,46px)}.sc-font-mono{--sc-heading:ui-monospace,'Courier New',monospace}.sc-font-mono .sc-title{font-size:clamp(24px,6cqw,39px);line-height:1.2;letter-spacing:-.055em}
/* Each composition changes the text plane, art window and/or metadata hierarchy. */
.sc-layout-storybook .sc-heading{border-bottom:1px solid color-mix(in srgb,currentColor 30%,transparent);padding-bottom:14px}.sc-layout-storybook .sc-title{font-size:clamp(28px,6.7cqw,46px)}
.sc-layout-snowglobe{border-radius:46% 46% 0 0/7% 7% 0 0}.sc-layout-snowglobe .sc-copy{padding-top:11%}.sc-layout-snowglobe .sc-date{border-radius:40px}
.sc-layout-orbit .sc-copy{align-items:flex-start;text-align:left;padding-left:9%}.sc-layout-orbit .sc-names{justify-content:flex-start}.sc-layout-orbit .sc-title{max-width:7em}.sc-layout-orbit .sc-date{border-left:3px solid var(--inv-accent);background:none}
.sc-layout-poster .sc-kicker{padding:7px 18px;border:1px solid currentColor;border-radius:30px}.sc-layout-poster .sc-title{font-size:clamp(34px,10cqw,68px);text-transform:uppercase}
.sc-layout-porthole .sc-art{inset:28% 5% 9%;border-radius:48% 48% 36% 36%}.sc-layout-porthole .sc-copy{gap:10px}.sc-layout-porthole .sc-title{max-width:9em;margin:auto}.sc-layout-porthole .sc-date{order:0}
.sc-layout-cloud .sc-copy{align-items:flex-start;text-align:left;padding-right:36%}.sc-layout-cloud .sc-heading{width:145%;max-width:145%}.sc-layout-cloud .sc-title{max-width:7em}.sc-layout-cloud .sc-names{justify-content:flex-start}.sc-layout-cloud .sc-date{margin-top:10px;padding:6px}
.sc-layout-arch .sc-art{inset:27% 4% 8%;border-radius:50% 50% 3% 3%/28% 28% 3% 3%}.sc-layout-arch .sc-copy{padding-top:5%}.sc-layout-arch .sc-title{font-size:clamp(34px,8.5cqw,58px)}
.sc-layout-horizon .sc-copy{align-items:flex-start;text-align:left}.sc-layout-horizon .sc-names{justify-content:flex-start}.sc-layout-horizon .sc-kicker{border-top:2px solid currentColor;padding-top:10px;width:100%}.sc-layout-horizon .sc-title{max-width:7em}
.sc-layout-garden .sc-heading{padding:3% 5%}.sc-child-princess .sc-art{inset:4%;border:1px solid color-mix(in srgb,currentColor 20%,transparent)}.sc-child-princess .sc-copy{padding-top:9%}
.sc-layout-ticket{border:12px solid var(--inv-bg);outline:1px dashed currentColor;outline-offset:-19px}.sc-layout-ticket .sc-kicker{letter-spacing:.3em}.sc-layout-ticket .sc-heading{padding-bottom:12px;border-bottom:1px dashed currentColor}.sc-layout-ticket .sc-date{align-self:flex-start;text-align:left}.sc-layout-ticket .sc-day{display:block}
.sc-layout-panorama .sc-copy{padding-top:10%;gap:18px}.sc-layout-panorama .sc-title{font-size:clamp(35px,9cqw,60px)}.sc-layout-panorama .sc-names{font-style:italic}.sc-layout-panorama .sc-date{background:none;border-top:1px solid currentColor;padding-top:14px}
.sc-layout-editorial .sc-copy{align-items:flex-start;text-align:left;padding:8% 9%}.sc-layout-editorial .sc-title{max-width:7em;font-size:clamp(38px,10cqw,70px)}.sc-layout-editorial .sc-names{justify-content:flex-start}.sc-layout-editorial .sc-date{margin-left:auto;background:none;border-top:1px solid currentColor}.sc-layout-editorial .sc-venue{margin-left:auto}
.sc-pearl-editorial .sc-date{border:0}
.sc-layout-diptych .sc-heading{border:1px solid color-mix(in srgb,currentColor 45%,transparent);padding:7% 5%;width:100%}.sc-layout-diptych .sc-date{align-self:flex-end;border-left:1px solid currentColor;background:none}
.sc-layout-window .sc-art{inset:25% 8% 11%;border-radius:45% 45% 0 0/32% 32% 0 0}.sc-layout-window .sc-heading{max-width:10em}.sc-layout-window .sc-date{align-self:flex-end;margin-top:6px}.sc-layout-window .sc-day{display:block}
.sc-layout-feather .sc-copy{text-align:left;align-items:flex-start;padding:9% 8%}.sc-layout-feather .sc-title{max-width:7em}.sc-layout-feather .sc-names{justify-content:flex-start}.sc-layout-feather .sc-date{border-left:1px solid currentColor;background:none}
.sc-layout-ribbon .sc-copy{padding:8% 12%}.sc-layout-ribbon .sc-heading{padding-left:8%;border-left:3px solid var(--inv-accent);text-align:left}.sc-layout-ribbon .sc-names{justify-content:flex-start}.sc-layout-ribbon .sc-date{align-self:flex-start;background:none}
.sc-layout-mihrab .sc-heading{max-width:10em}.sc-layout-mihrab .sc-title{font-size:clamp(36px,9cqw,62px)}.sc-layout-mihrab .sc-date{border-top:1px solid var(--inv-accent);background:none}.sc-layout-mihrab .sc-names{font-style:italic}
.sc-layout-botanical .sc-copy{padding-top:12%}.sc-layout-botanical .sc-heading{max-width:9em}.sc-layout-botanical .sc-date{background:none;border:1px solid color-mix(in srgb,currentColor 25%,transparent);padding:12px 22px;border-radius:50%}
.sc-layout-jewel .sc-copy{padding:9%}.sc-layout-jewel .sc-title{letter-spacing:.035em;text-transform:uppercase;font-size:clamp(28px,7cqw,47px)}.sc-layout-jewel .sc-names{font-style:italic}.sc-layout-jewel .sc-date{background:none}.sc-layout-jewel .sc-day{display:block;font-size:64px}
.sc-layout-path .sc-copy{align-items:flex-start;text-align:left}.sc-layout-path .sc-heading{padding-left:18px;border-left:3px dashed var(--inv-accent)}.sc-layout-path .sc-names{justify-content:flex-start}.sc-layout-path .sc-date{margin-left:18px}
.sc-layout-crescent .sc-heading{align-self:flex-end;text-align:right;max-width:10em}.sc-layout-crescent .sc-names{justify-content:flex-end}.sc-layout-crescent .sc-date{align-self:flex-end;background:none}.sc-layout-crescent .sc-copy{padding-top:8%}
.sc-layout-landscape .sc-heading{align-self:flex-start;text-align:left;max-width:9em}.sc-layout-landscape .sc-title{font-size:clamp(32px,8cqw,54px)}.sc-layout-landscape .sc-names{justify-content:flex-start}.sc-layout-landscape .sc-date{align-self:flex-start;background:none;border-top:2px solid currentColor}
.sc-layout-album .sc-art{inset:33% 10% 12%;transform:rotate(-4deg);border:10px solid #fff9eb;box-shadow:0 8px 20px #0002}.sc-layout-album .sc-copy{padding:7%}.sc-layout-album .sc-title{font-style:italic}.sc-layout-album .sc-date{border-bottom:1px solid currentColor;background:none}
.sc-layout-portal .sc-art{inset:29% 12% 7%;border-radius:50% 50% 0 0/29% 29% 0 0}.sc-layout-portal .sc-heading{max-width:10em}.sc-layout-portal .sc-date{background:none}
.sc-layout-table .sc-copy{padding-top:8%}.sc-layout-table .sc-heading{width:90%;padding-bottom:18px;border-bottom:1px solid currentColor}.sc-layout-table .sc-title{font-size:clamp(34px,8cqw,56px)}.sc-layout-table .sc-date{background:none}.sc-layout-table .sc-day{display:block}
.sc-layout-cinema .sc-copy{align-items:flex-start;text-align:left;padding:9% 8%}.sc-layout-cinema .sc-title{max-width:7em;font-size:clamp(34px,9cqw,62px)}.sc-layout-cinema .sc-names{justify-content:flex-start;font-size:clamp(24px,5cqw,35px)}.sc-layout-cinema .sc-date{border-top:2px solid currentColor;background:none}.sc-layout-cinema .sc-art>img{filter:brightness(.7)}
.sc-layout-receipt .sc-copy{align-items:flex-start;text-align:left;padding:8% 10%}.sc-layout-receipt .sc-heading{border-block:1px dashed currentColor;padding-block:15px}.sc-layout-receipt .sc-names{justify-content:flex-start}.sc-layout-receipt .sc-date{background:none;padding-left:0}
.sc-layout-letter .sc-copy{padding:10% 12%;text-align:left;align-items:flex-start}.sc-layout-letter .sc-title{max-width:8em}.sc-layout-letter .sc-names{justify-content:flex-end;font-size:30px}.sc-layout-letter .sc-kicker{letter-spacing:0;text-transform:none;font-family:'Bad Script',cursive;font-size:18px}
.sc-layout-atlas .sc-copy{align-items:flex-start;text-align:left;padding:10%}.sc-layout-atlas .sc-title{max-width:8em}.sc-layout-atlas .sc-names{justify-content:flex-start}.sc-layout-atlas .sc-kicker{border-top:2px solid currentColor;padding-top:12px}
.sc-layout-polaroid .sc-art{inset:31% 8% 13%;border:12px solid #fff9f0;border-bottom-width:45px;transform:rotate(5deg);box-shadow:0 8px 20px #0002}.sc-layout-polaroid .sc-date{align-self:flex-end;background:none}.sc-layout-polaroid .sc-heading{align-self:flex-start;text-align:left}.sc-layout-polaroid .sc-names{justify-content:flex-start}
.sc-layout-menu .sc-copy{padding:8% 13%}.sc-layout-menu .sc-heading{padding:15px 0;border-block:1px solid var(--inv-accent)}.sc-layout-menu .sc-title{font-style:italic}.sc-layout-menu .sc-date{background:none}.sc-layout-menu .sc-kicker{letter-spacing:.3em}
.sc-layout-cutout .sc-heading{text-align:left;align-self:flex-start;max-width:8em;transform:rotate(-3deg)}.sc-layout-cutout .sc-title{font-size:clamp(35px,9cqw,65px)}.sc-layout-cutout .sc-names{justify-content:flex-start;font-size:clamp(22px,5cqw,34px)}.sc-layout-cutout .sc-date{align-self:flex-end;border-radius:60px;padding:12px 20px;transform:rotate(4deg)}
.sc-layout-wave .sc-copy{align-items:flex-start;text-align:left}.sc-layout-wave .sc-heading{max-width:8em}.sc-layout-wave .sc-title{font-size:clamp(48px,13cqw,88px);line-height:.95}.sc-layout-wave .sc-names{justify-content:flex-start;font-size:24px}.sc-layout-wave .sc-date{align-self:flex-end;border-radius:50%;padding:20px;border:1px solid currentColor}
.sc-layout-bookplate .sc-copy{padding:7% 12%}.sc-layout-bookplate .sc-heading{border-block:3px double currentColor;padding:14px 0}.sc-layout-bookplate .sc-title{font-size:clamp(36px,9cqw,62px)}.sc-layout-bookplate .sc-kicker{letter-spacing:.2em}.sc-layout-bookplate .sc-date{background:none}
.sc-layout-spotlight .sc-copy{text-align:left;align-items:flex-start;padding:9%}.sc-layout-spotlight .sc-heading{max-width:8em;border-left:2px solid var(--inv-accent);padding-left:20px}.sc-layout-spotlight .sc-title{font-size:clamp(37px,10cqw,70px)}.sc-layout-spotlight .sc-names{justify-content:flex-start;font-size:24px}.sc-layout-spotlight .sc-date{background:none}
.sc-layout-doorway .sc-art{inset:28% 9% 10%;border-radius:48% 48% 0 0/28% 28% 0 0}.sc-layout-doorway .sc-heading{align-self:flex-start;text-align:left;max-width:9em}.sc-layout-doorway .sc-names{justify-content:flex-start}.sc-layout-doorway .sc-date{align-self:flex-end;background:none}
.sc-layout-gingham .sc-copy{padding:8%}.sc-layout-gingham .sc-heading{background:var(--sc-paper);padding:5%;border:1px dashed currentColor;transform:rotate(-2deg)}.sc-layout-gingham .sc-title{font-size:clamp(31px,7cqw,48px)}.sc-layout-gingham .sc-date{border-radius:20px;align-self:flex-end}
.sc-layout-studio .sc-copy{align-items:flex-start;text-align:left;padding:9%}.sc-layout-studio .sc-heading{border-bottom:2px solid currentColor;padding-bottom:18px}.sc-layout-studio .sc-names{justify-content:flex-start;font-size:24px}.sc-layout-studio .sc-date{padding:0;background:none}
.sc-layout-postage{border:12px solid var(--inv-bg);outline:1px dashed currentColor;outline-offset:-18px}.sc-layout-postage .sc-copy{padding:7%;align-items:flex-start;text-align:left}.sc-layout-postage .sc-title{max-width:9em}.sc-layout-postage .sc-names{justify-content:flex-start;font-size:24px}.sc-layout-postage .sc-date{border:1px solid currentColor;transform:rotate(-5deg);margin-left:auto;border-radius:50%;padding:16px}
/* Catalog stays still, uses small art and readable container-relative type. */
.sc-layout-cutout .sc-heading{max-width:100%;width:100%}
.collection-card{color:var(--inv-text)!important;background:var(--inv-bg)!important}.collection-card .sc-cover{min-height:100%;height:100%;max-width:none}.collection-card .sc-copy{height:100%;padding-top:7%;gap:8px}.collection-card .sc-title{font-size:clamp(20px,7cqw,36px)}.collection-card .sc-names{font-size:clamp(20px,7cqw,36px)}.collection-card .sc-date{font-size:clamp(10px,2.7cqw,14px);padding:4px 9px}.collection-card .sc-kicker{font-size:clamp(9px,2.4cqw,12px)}.collection-card .sc-venue{font-size:clamp(10px,2.6cqw,13px)}.collection-card .sc-day{font-size:36px}
/* Keep the artwork's quiet upper area when a catalog card crops the taller original.
   Framed illustrations retain their bottom crop so the subject stays inside the window. */
.collection-card .sc-art>img{object-position:center top}
.collection-card :is(.sc-layout-porthole,.sc-layout-arch,.sc-layout-window,.sc-layout-album,.sc-layout-portal,.sc-layout-polaroid,.sc-layout-doorway) .sc-art>img{object-position:center bottom}
/* A birthday name remains legible even when it wraps onto the dinosaurs below. */
.sc-child-dino .sc-names{width:fit-content;max-width:100%;margin-inline:auto;padding:.16em .65em;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:999px;background:var(--sc-paper);font-weight:700}
/* Blossoms and reflective silk reach the text area even without cropping. */
.sc-saffron-silk .sc-heading{padding-block:10px;padding-right:12px;background:color-mix(in srgb,var(--sc-paper) 94%,transparent)}
/* Small details need a stable surface, including layouts with decorative date borders. */
.sc-cover .sc-date,.sc-cover .sc-venue{background:color-mix(in srgb,var(--sc-paper) 96%,transparent)}
.sc-greeting:not(:empty),.sc-body{background:color-mix(in srgb,var(--sc-paper) 96%,transparent);box-shadow:0 0 10px 5px color-mix(in srgb,var(--sc-paper) 90%,transparent)}
/* Programs and six calendar treatments share real event data and locale weekdays. */
.collection-page{--cv-display:'Cormorant Garamond',Georgia,serif;--cv-script:'Bad Script',cursive}.collection-page .cv-block{max-width:680px;padding:56px 32px}.collection-page .cv-block+.cv-block{border-top:1px solid color-mix(in srgb,var(--inv-text) 13%,transparent)}.collection-page .cv-month-grid{max-width:350px;margin-inline:auto}.collection-page .cv-day.is-marked b{background:var(--inv-accent);color:var(--inv-on-accent,var(--inv-bg))}.sc-page-storybook .cv-month-grid,.sc-page-bookplate .cv-month-grid{border-block:3px double currentColor;padding-block:15px}.sc-page-ticket .cv-calendar,.sc-page-postage .cv-calendar{border:1px dashed currentColor;margin:20px auto}.sc-page-orbit .cv-day.is-marked b,.sc-page-crescent .cv-day.is-marked b{outline:1px solid var(--inv-accent);outline-offset:4px}.sc-page-menu .cv-month-grid,.sc-page-receipt .cv-month-grid{border-block:1px dashed currentColor;padding-block:16px}.sc-page-editorial .cv-month,.sc-page-studio .cv-month{text-align:left}.sc-page-garden .cv-month-grid,.sc-page-botanical .cv-month-grid{border-radius:48% 48% 0 0/20% 20% 0 0;border:1px solid color-mix(in srgb,currentColor 25%,transparent);padding:24px}.sc-page-wave .cv-timeline{border-left:3px solid var(--inv-accent)}.sc-page-ticket .cv-timeline>li,.sc-page-postage .cv-timeline>li{border-bottom:1px dashed currentColor;padding-bottom:20px}.sc-page-storybook .cv-step,.sc-page-arch .cv-step{font-family:'Bad Script',cursive}.sc-page-editorial .cv-timeline,.sc-page-studio .cv-timeline{text-align:left}
/* One-shot art entrances. No continuous full-screen animation or per-letter DOM work. */
html.js body:not(.has-opening) .sc-cover:not([data-static=true]):not([data-card=true]) .sc-art>img,
html.js body.is-opened .sc-cover:not([data-static=true]):not([data-card=true]) .sc-art>img{animation:var(--sc-motion,sc-dawn) 1.8s cubic-bezier(.2,.7,.2,1) both}
.sc-motion-page{--sc-motion:sc-page}.sc-motion-snow{--sc-motion:sc-snow}.sc-motion-orbit{--sc-motion:sc-orbit}.sc-motion-bounce{--sc-motion:sc-bounce}.sc-motion-tide{--sc-motion:sc-tide}.sc-motion-rise{--sc-motion:sc-rise}.sc-motion-sway{--sc-motion:sc-sway}.sc-motion-gallop{--sc-motion:sc-gallop}.sc-motion-bloom{--sc-motion:sc-bloom}.sc-motion-slide{--sc-motion:sc-slide}.sc-motion-dawn{--sc-motion:sc-dawn}.sc-motion-veil{--sc-motion:sc-veil}.sc-motion-fold{--sc-motion:sc-fold}.sc-motion-focus{--sc-motion:sc-focus}.sc-motion-drift{--sc-motion:sc-drift}.sc-motion-silk{--sc-motion:sc-silk}.sc-motion-moon{--sc-motion:sc-moon}.sc-motion-spark{--sc-motion:sc-spark}.sc-motion-steps{--sc-motion:sc-steps}.sc-motion-light{--sc-motion:sc-light}.sc-motion-glow{--sc-motion:sc-glow}.sc-motion-steam{--sc-motion:sc-steam}.sc-motion-unfold{--sc-motion:sc-unfold}.sc-motion-trace{--sc-motion:sc-trace}.sc-motion-ripple{--sc-motion:sc-ripple}.sc-motion-turn{--sc-motion:sc-turn}
@keyframes sc-page{from{transform:perspective(1200px) rotateY(-16deg);opacity:.2}}
@keyframes sc-snow{from{transform:translateY(-25px) scale(1.04);opacity:.25}}
@keyframes sc-orbit{from{transform:rotate(-6deg) scale(1.15);opacity:.2}}
@keyframes sc-bounce{0%{transform:translateY(55px);opacity:0}65%{transform:translateY(-8px)}100%{transform:none;opacity:1}}
@keyframes sc-tide{from{transform:translateX(-25px) scale(1.07);opacity:.2}}
@keyframes sc-rise{from{transform:translateY(70px);opacity:.2}}
@keyframes sc-sway{from{transform:rotate(3deg) scale(1.04);opacity:.2}}
@keyframes sc-gallop{from{transform:translate(-50px,18px) scale(1.06);opacity:.2}}
@keyframes sc-bloom{from{clip-path:circle(15% at 50% 70%);opacity:.3}to{clip-path:circle(150% at 50% 70%);opacity:1}}
@keyframes sc-slide{from{transform:translateX(60px);opacity:.1}}
@keyframes sc-dawn{from{opacity:0;transform:scale(1.025)}}
@keyframes sc-veil{from{clip-path:inset(0 0 100%);opacity:.3}to{clip-path:inset(0);opacity:1}}
@keyframes sc-fold{from{transform:perspective(900px) rotateX(12deg) scale(.95);opacity:.15}}
@keyframes sc-focus{from{transform:scale(1.15);opacity:.2}}
@keyframes sc-drift{from{transform:translate(20px,25px) scale(1.04);opacity:.15}}
@keyframes sc-silk{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes sc-moon{from{transform:translateY(35px) scale(1.08);opacity:.05}}
@keyframes sc-spark{0%{opacity:.1}50%{opacity:.7}100%{opacity:1}}
@keyframes sc-steps{0%{clip-path:inset(100% 0 0)}45%{clip-path:inset(55% 0 0)}100%{clip-path:inset(0)}}
/* Keep the path cover responsive as the opening hands over to the page. */
html.js body.sc-tpl-ala-jip-path:is(:not(.has-opening), .is-opened) .sc-cover:not([data-static=true]):not([data-card=true]) .sc-art > img { animation: sc-path-reveal .65s ease-out both; }
@keyframes sc-path-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-light{from{clip-path:ellipse(5% 100% at 50% 50%)}to{clip-path:ellipse(100% 100% at 50% 50%)}}
@keyframes sc-glow{from{opacity:.2;transform:scale(.97)}}
@keyframes sc-steam{from{opacity:.1;transform:translateY(18px) scale(1.02)}}
@keyframes sc-unfold{from{clip-path:inset(50% 0);transform:scale(.96)}to{clip-path:inset(0);transform:none}}
@keyframes sc-trace{from{clip-path:polygon(0 0,0 0,0 100%,0 100%)}to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}}
@keyframes sc-ripple{from{transform:scale(1.12) rotate(2deg);opacity:.15}}
@keyframes sc-turn{from{transform:perspective(900px) rotateY(12deg);opacity:.2}}
/* Split covers fill the width so the photo reaches the right edge; the entry link stays in the copy column. */
@media(min-width:1000px){.collection-page .sc-layout-editorial,.collection-page .sc-layout-studio,.collection-page .sc-layout-spotlight{max-width:none;min-height:760px}.collection-page :is(.sc-layout-editorial,.sc-layout-studio,.sc-layout-spotlight) .sc-entry{width:47%}.collection-page .sc-layout-editorial .sc-art,.collection-page .sc-layout-studio .sc-art,.collection-page .sc-layout-spotlight .sc-art{left:45%}.collection-page .sc-layout-editorial .sc-copy,.collection-page .sc-layout-studio .sc-copy,.collection-page .sc-layout-spotlight .sc-copy{width:47%;padding:6% 4%}.collection-page .sc-layout-editorial .sc-title,.collection-page .sc-layout-studio .sc-title,.collection-page .sc-layout-spotlight .sc-title{font-size:58px}.collection-page .sc-layout-editorial .sc-names,.collection-page .sc-layout-studio .sc-names,.collection-page .sc-layout-spotlight .sc-names{font-size:34px}}
@media(max-width:420px){.sc-cover{min-height:820px}.sc-copy{padding-inline:7%;gap:11px}.sc-title{font-size:30px}.sc-names{font-size:29px}.sc-languages{margin-top:4px}.sc-greeting{font-size:12px}.sc-date{font-size:12px}.collection-page .cv-block{padding:40px 22px}.sc-layout-cloud .sc-title{font-size:27px}.sc-layout-cloud .sc-heading{width:150%;max-width:150%}}
@media(prefers-reduced-motion:reduce){.sc-cover .sc-art>img{animation:none!important;transform:none!important;clip-path:none!important}}

/* Portrait-led layouts put the client's selected cover image behind the text plane. */
.sc-photo-template .sc-face{min-height:inherit}
.sc-photo-template .sc-copy{z-index:2}
.sc-photo-backdrop{position:absolute;inset:0;z-index:0;overflow:hidden}
.sc-photo-backdrop>.photo-frame{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;aspect-ratio:auto!important;border-radius:0;box-shadow:none}
.sc-photo-backdrop .photo-frame>img{object-fit:cover!important}
.sc-photo-shade,.sc-photo-ornament{position:absolute;inset:0;z-index:1;pointer-events:none}
.sc-photo-shade{background:linear-gradient(180deg,#11152270 0%,#11152212 25%,#11152224 53%,#10121db8 100%),linear-gradient(0deg,#11152227,#11152227)}
.sc-photo-ornament{color:var(--inv-accent,#d5b675);opacity:0;transition:opacity .5s ease}
.sc-photo-ornament svg{display:block;width:100%;height:100%}
.sc-photo-filled .sc-copy{color:#fff;text-shadow:0 2px 18px #0008}
.sc-photo-filled .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:#fff}
.sc-photo-filled .sc-copy :is(.sc-greeting,.sc-body,.sc-date,.sc-venue){color:var(--inv-text);text-shadow:none}
.sc-photo-filled .sc-date,.sc-photo-filled .sc-venue,.sc-photo-filled .sc-greeting,.sc-photo-filled .sc-body{background:color-mix(in srgb,var(--sc-paper) 90%,transparent);box-shadow:0 6px 24px #0002}
.sc-photo-filled .sc-photo-ornament{opacity:.3}
.sc-photo-national.sc-photo-filled .sc-photo-ornament{opacity:.88}
.sc-photo-national.sc-photo-filled .sc-photo-shade{background:linear-gradient(180deg,#1b111e78 0%,#15131d24 27%,#17131d32 56%,#130f1bbd 100%)}
.sc-photo-western.sc-photo-filled .sc-photo-ornament{opacity:.5}
.sc-photo-modern.sc-photo-filled .sc-photo-ornament{opacity:.18}

/* Photo windows make the 75 portrait templates read as separate compositions. */
.sc-photo-filled:is(.sc-layout-arch,.sc-layout-window,.sc-layout-mihrab,.sc-layout-portal,.sc-layout-doorway,.sc-layout-porthole) .sc-photo-backdrop{inset:24% 7% 8%;border:1px solid color-mix(in srgb,var(--inv-accent) 72%,transparent);border-radius:48% 48% 2% 2%/29% 29% 2% 2%;box-shadow:0 0 0 7px color-mix(in srgb,var(--sc-paper) 82%,transparent),0 18px 42px #0003}
.sc-photo-filled:is(.sc-layout-album,.sc-layout-polaroid) .sc-photo-backdrop{inset:31% 9% 12%;border:10px solid #fff8ef;border-bottom-width:32px;box-shadow:0 12px 34px #0005;transform:rotate(-3deg)}
.sc-photo-filled.sc-layout-diptych .sc-photo-backdrop{inset:25% 12% 12%;border-inline:5px solid color-mix(in srgb,var(--inv-accent) 78%,transparent);box-shadow:0 0 0 1px #fff8,0 16px 36px #0004}
.sc-photo-filled:is(.sc-layout-garden,.sc-layout-botanical,.sc-layout-snowglobe) .sc-photo-backdrop{inset:25% 9% 10%;border:2px solid color-mix(in srgb,var(--inv-accent) 70%,transparent);border-radius:48% 48% 38% 38%/22% 22% 17% 17%;box-shadow:0 0 0 7px color-mix(in srgb,var(--sc-paper) 70%,transparent)}
.sc-photo-filled.sc-layout-gingham .sc-photo-backdrop{inset:25% 8% 11%;border:5px dashed color-mix(in srgb,var(--inv-accent) 78%,transparent);transform:rotate(1.5deg)}
.sc-photo-filled.sc-layout-cutout .sc-photo-backdrop{inset:25% 8% 12%;clip-path:polygon(7% 0,100% 5%,94% 100%,0 95%);transform:rotate(-2deg);box-shadow:0 12px 34px #0005}
.sc-photo-filled.sc-layout-wave .sc-photo-backdrop{inset:18% 6% 9%;clip-path:polygon(0 5%,100% 0,100% 89%,78% 94%,48% 89%,20% 100%,0 92%)}
.sc-photo-filled.sc-layout-jewel .sc-photo-backdrop{inset:26% 11% 12%;clip-path:polygon(50% 0,100% 24%,82% 100%,18% 100%,0 24%);border:2px solid color-mix(in srgb,var(--inv-accent) 85%,transparent)}
.sc-photo-filled.sc-layout-crescent .sc-photo-backdrop{inset:24% 10% 9%;clip-path:ellipse(49% 48% at 52% 50%);border:2px solid color-mix(in srgb,var(--inv-accent) 75%,transparent)}
.sc-photo-filled.sc-layout-menu .sc-photo-backdrop{inset:24% 12% 10%;border-block:2px solid color-mix(in srgb,var(--inv-accent) 80%,transparent)}
.sc-photo-filled.sc-layout-storybook .sc-photo-backdrop,.sc-photo-filled.sc-layout-bookplate .sc-photo-backdrop{inset:29% 10% 10%;border:4px double color-mix(in srgb,var(--inv-accent) 86%,transparent);box-shadow:0 10px 30px #0004}
.sc-photo-filled.sc-layout-poster .sc-photo-backdrop{inset:19% 0 0}
.sc-photo-filled.sc-layout-receipt .sc-photo-backdrop{inset:28% 12% 10%;border-inline:1px dashed color-mix(in srgb,var(--inv-accent) 80%,transparent)}
.sc-photo-filled.sc-layout-feather .sc-photo-backdrop,.sc-photo-filled.sc-layout-ribbon .sc-photo-backdrop{inset:17% 0 0}

/* Ten refreshed portrait layouts use distinct photo crops and text planes. */
.sc-photo-filled.sc-letter-to-you .sc-photo-backdrop{inset:0 0 0 46%;border:0;border-radius:0;box-shadow:none}
.sc-photo-filled.sc-letter-to-you .sc-photo-shade,.sc-photo-filled.sc-letter-to-you .sc-photo-ornament{display:none}
.sc-photo-filled.sc-letter-to-you .sc-copy{align-items:flex-start;text-align:left;padding:9% 53% 8% 8%;gap:16px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-letter-to-you .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-letter-to-you .sc-title{font-size:clamp(34px,9cqw,60px);max-width:6em}
.sc-letter-to-you .sc-names{justify-content:flex-start;font-size:clamp(22px,5.6cqw,36px)}
.sc-photo-filled.sc-letter-to-you .sc-date{align-self:stretch;justify-content:flex-start;border-top:1px solid var(--inv-accent);border-radius:0;background:none;box-shadow:none;color:var(--inv-text)}

.sc-photo-filled.sc-orchard-light .sc-photo-backdrop{inset:0 0 auto;height:54svh;border:0;border-radius:0;box-shadow:none}
.sc-photo-filled.sc-orchard-light .sc-photo-shade,.sc-photo-filled.sc-orchard-light .sc-photo-ornament{display:none}
.sc-photo-filled.sc-orchard-light .sc-copy{padding:54svh 8% 8%;gap:12px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-orchard-light .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-orchard-light .sc-date{border-block:1px solid var(--inv-accent);border-radius:0;background:none;box-shadow:none}

.sc-photo-filled.sc-blue-hour-window .sc-photo-backdrop{inset:0 0 0 47%;border:0;border-left:4px solid var(--inv-accent);border-radius:0;box-shadow:none}
.sc-photo-filled.sc-blue-hour-window .sc-photo-shade,.sc-photo-filled.sc-blue-hour-window .sc-photo-ornament{display:none}
.sc-photo-filled.sc-blue-hour-window .sc-copy{align-items:flex-start;text-align:left;padding:9% 54% 8% 7%;gap:14px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-blue-hour-window .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-blue-hour-window .sc-title{font-size:clamp(32px,8.4cqw,58px);max-width:5em}
.sc-blue-hour-window .sc-names{justify-content:flex-start;font-size:clamp(22px,5.3cqw,35px)}

.sc-photo-filled.sc-ak-kush-portrait .sc-photo-backdrop{inset:8% 18% 54%;border:2px solid var(--inv-accent);border-radius:50%;box-shadow:0 0 0 8px var(--sc-paper)}
.sc-photo-filled.sc-ak-kush-portrait .sc-photo-shade,.sc-photo-filled.sc-ak-kush-portrait .sc-photo-ornament{display:none}
.sc-photo-filled.sc-ak-kush-portrait .sc-copy{padding:43svh 8% 8%;gap:12px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-ak-kush-portrait .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-ak-kush-portrait .sc-title{font-size:clamp(34px,8cqw,56px)}
.sc-ak-kush-portrait .sc-date{border:1px solid var(--inv-accent);border-radius:999px;background:none;box-shadow:none}

.sc-photo-filled.sc-ala-kiyiz-heirloom .sc-photo-backdrop{inset:0 64% 0 0;border:0;border-right:6px solid var(--inv-accent);border-radius:0;box-shadow:none}
.sc-photo-filled.sc-ala-kiyiz-heirloom .sc-photo-shade,.sc-photo-filled.sc-ala-kiyiz-heirloom .sc-photo-ornament{display:none}
.sc-photo-filled.sc-ala-kiyiz-heirloom .sc-copy{align-items:flex-start;text-align:left;padding:10% 6% 8% 41%;gap:14px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-ala-kiyiz-heirloom .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-ala-kiyiz-heirloom .sc-names{justify-content:flex-start;font-size:clamp(23px,5.4cqw,36px)}
.sc-ala-kiyiz-heirloom .sc-date{align-self:stretch;border-left:2px solid var(--inv-accent);border-radius:0;background:none;box-shadow:none}

.sc-photo-filled.sc-birthday-confetti-poster .sc-photo-backdrop{inset:8% 7% auto 56%;height:31svh;border:7px solid var(--sc-paper);border-radius:2px;box-shadow:0 14px 32px #21113b35}
.sc-photo-filled.sc-birthday-confetti-poster .sc-photo-shade,.sc-photo-filled.sc-birthday-confetti-poster .sc-photo-ornament{display:none}
.sc-photo-filled.sc-birthday-confetti-poster .sc-copy{align-items:flex-start;text-align:left;padding:9% 49% 8% 8%;gap:12px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-birthday-confetti-poster .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-birthday-confetti-poster .sc-title{font-size:clamp(31px,8cqw,56px);max-width:5em}
.sc-birthday-confetti-poster .sc-names{justify-content:flex-start;font-size:clamp(24px,6cqw,40px);color:var(--inv-accent)}

.sc-photo-filled.sc-garden-proposal .sc-photo-backdrop{inset:0;border:0;border-radius:0;box-shadow:none}
.sc-photo-filled.sc-garden-proposal .sc-photo-shade{background:linear-gradient(180deg,#25192355 0%,#25192322 26%,#251923b8 100%)}
.sc-photo-filled.sc-garden-proposal .sc-photo-ornament{display:none}
.sc-photo-filled.sc-garden-proposal .sc-copy{align-items:flex-start;text-align:left;padding:10% 8% 8%;gap:16px;color:#fff;text-shadow:0 2px 18px #0009}
.sc-photo-filled.sc-garden-proposal .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:#fff;text-shadow:0 2px 18px #0009}
.sc-photo-filled.sc-garden-proposal .sc-date{align-self:flex-start;border:1px solid var(--inv-accent);border-radius:999px;background:color-mix(in srgb,var(--sc-paper) 72%,transparent);box-shadow:none;color:var(--inv-text)}

.sc-photo-filled.sc-our-polaroid-year .sc-photo-backdrop{inset:0 0 auto;height:49svh;border:0;border-radius:0;box-shadow:none}
.sc-photo-filled.sc-our-polaroid-year .sc-photo-shade,.sc-photo-filled.sc-our-polaroid-year .sc-photo-ornament{display:none}
.sc-photo-filled.sc-our-polaroid-year .sc-copy{align-items:flex-start;text-align:left;padding:50svh 7% 8%;gap:12px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-our-polaroid-year .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-our-polaroid-year .sc-title{font-size:clamp(40px,11cqw,76px);line-height:.98}
.sc-our-polaroid-year .sc-names{justify-content:flex-start;font-size:clamp(25px,6cqw,42px)}
.sc-our-polaroid-year .sc-date{align-self:stretch;border-top:2px solid var(--inv-accent);border-radius:0;background:none;box-shadow:none}

.sc-photo-filled.sc-moon-cradle .sc-photo-backdrop{inset:6% 8% auto;height:39svh;border:4px solid var(--sc-paper);border-radius:18px;box-shadow:0 12px 28px #182b2630}
.sc-photo-filled.sc-moon-cradle .sc-photo-shade,.sc-photo-filled.sc-moon-cradle .sc-photo-ornament{display:none}
.sc-photo-filled.sc-moon-cradle .sc-copy{padding:46svh 8% 8%;gap:12px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-moon-cradle .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-moon-cradle .sc-names{font-size:clamp(32px,8.5cqw,54px)}
.sc-moon-cradle .sc-date{border-block:1px solid var(--inv-accent);border-radius:0;background:none;box-shadow:none}

.sc-photo-filled.sc-first-path .sc-photo-backdrop{inset:0 0 auto;height:47svh;border:0;border-radius:0;box-shadow:none}
.sc-photo-filled.sc-first-path .sc-photo-shade,.sc-photo-filled.sc-first-path .sc-photo-ornament{display:none}
.sc-photo-filled.sc-first-path .sc-copy{padding:48svh 8% 8%;gap:14px;color:var(--inv-text);text-shadow:none}
.sc-photo-filled.sc-first-path .sc-copy :is(.sc-title,.sc-names,.sc-kicker){color:var(--inv-text);text-shadow:none}
.sc-first-path .sc-heading{border-left:3px dashed var(--inv-accent);padding-left:16px;text-align:left}
.sc-first-path .sc-names{justify-content:flex-start}
.sc-first-path .sc-date{border:1px solid var(--inv-accent);border-radius:999px;background:none;box-shadow:none}

/* Keep fallback portraits clear of the cover copy when no client photo is set. */
.sc-orchard-light:not(.sc-photo-filled) .sc-art{inset:0 0 auto;height:54svh}
.sc-orchard-light:not(.sc-photo-filled) .sc-art>img{object-position:center 42%}
.sc-orchard-light:not(.sc-photo-filled) .sc-copy{padding:54svh 8% 8%;gap:12px}

.sc-ala-kiyiz-heirloom:not(.sc-photo-filled) .sc-art{inset:7% 5% auto;height:45svh;clip-path:polygon(0 0,100% 0,95% 92%,6% 100%)}
.sc-ala-kiyiz-heirloom:not(.sc-photo-filled) .sc-art>img{object-position:center 24%}
.sc-ala-kiyiz-heirloom:not(.sc-photo-filled) .sc-copy{align-items:flex-start;text-align:left;padding:55svh 8% 8%;gap:12px}
.sc-ala-kiyiz-heirloom:not(.sc-photo-filled) .sc-heading{border:0;border-left:3px solid var(--inv-accent);padding:0 0 0 16px;text-align:left}
.sc-ala-kiyiz-heirloom:not(.sc-photo-filled) .sc-names{justify-content:flex-start;font-size:clamp(23px,5.4cqw,36px)}

.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-art{inset:8% 7% auto 56%;height:31svh;border:7px solid var(--sc-paper);box-shadow:0 14px 32px #21113b35;transform:rotate(2deg)}
.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-copy{align-items:flex-start;text-align:left;padding:9% 49% 8% 8%;gap:12px}
.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-heading{width:100%}
.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-title{font-size:clamp(31px,8cqw,56px);max-width:5em}
.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-names{justify-content:flex-start;font-size:clamp(24px,6cqw,40px);color:var(--inv-accent)}
.sc-birthday-confetti-poster:not(.sc-photo-filled) .sc-date{align-self:flex-start;padding:0;border-radius:0;background:none;box-shadow:none}
.sc-birthday-confetti-poster .sc-meta{align-self:flex-start;margin-top:auto}
.sc-birthday-confetti-poster .sc-date{flex-direction:column;align-items:flex-start;gap:8px}
.sc-birthday-confetti-poster .sc-day{display:block;color:var(--inv-accent);font:800 clamp(100px,35cqw,190px)/.76 var(--sc-heading);letter-spacing:-.08em}
.sc-photo-filled.sc-birthday-confetti-poster .sc-date{padding:0;border-radius:0;background:none;box-shadow:none}

.sc-moon-cradle:not(.sc-photo-filled) .sc-art{inset:6% 8% auto;height:39svh;border:4px double var(--inv-accent);border-radius:18px;box-shadow:0 12px 28px #182b2630}
.sc-moon-cradle:not(.sc-photo-filled) .sc-art>img{object-position:center 30%}
.sc-moon-cradle:not(.sc-photo-filled) .sc-copy{padding:46svh 8% 8%;gap:12px}

.sc-first-path:not(.sc-photo-filled) .sc-art{inset:0 0 auto;height:47svh;border-bottom:4px solid var(--inv-accent)}
.sc-first-path:not(.sc-photo-filled) .sc-art>img{object-position:center 30%}
.sc-first-path:not(.sc-photo-filled) .sc-copy{padding:48svh 8% 8%;gap:14px}

html.js body:not(.has-opening) .sc-cover:not([data-static=true]):not([data-card=true]) .sc-photo-backdrop,
html.js body.is-opened .sc-cover:not([data-static=true]):not([data-card=true]) .sc-photo-backdrop{animation:var(--sc-motion,sc-dawn) 1.8s cubic-bezier(.2,.7,.2,1) both}
@media(prefers-reduced-motion:reduce){.sc-photo-backdrop{animation:none!important;transform:none!important}.sc-photo-ornament{transition:none}}
.sc-heading{font-size:clamp(28px,7cqw,48px)}.sc-title:focus{outline:none}.sc-font-round{--sc-heading:'Nunito','Manrope',system-ui,sans-serif}.sc-layout-editorial,.sc-layout-bookplate,.sc-layout-menu,.sc-layout-portal{--sc-heading:'Literata','Cormorant Garamond',Georgia,serif}

/* Son-Köl vows: let the couple lead and keep the event details quiet on the landscape. */
.sc-son-kol-vows:not([data-card=true]) .sc-heading-no-title .sc-names{margin-top:0!important;font-size:clamp(32px,8cqw,54px)}
.sc-son-kol-vows:not([data-card=true]) .sc-meta{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:2px}
.sc-son-kol-vows:not([data-card=true]) .sc-date{gap:0;padding:0;border:0;border-radius:0;background:none;font-size:clamp(14px,3cqw,16px)}
.sc-son-kol-vows:not([data-card=true]) .sc-date>div{display:flex;align-items:baseline;justify-content:center;gap:10px}
.sc-son-kol-vows:not([data-card=true]) .sc-clock{padding-left:10px;border-left:1px solid color-mix(in srgb,currentColor 30%,transparent);font-size:.88em;letter-spacing:.06em}
.sc-son-kol-vows:not([data-card=true]) .sc-venue{padding:0;border-radius:0;background:none;font-size:clamp(12px,2.7cqw,14px)}

/* ==== Photo wedding layouts (2026-10-24): mono, seal, stamp, petals ====
   The couple's photo (or the sample) fills the cover; each layout lays its own object over it. */
.sc-layout-mono .sc-art > img, .sc-layout-mono .sc-photo-backdrop img { filter: grayscale(1) contrast(1.06); }
:is(.sc-layout-mono, .sc-layout-seal, .sc-layout-stamp) .sc-art::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.sc-layout-mono .sc-art::after, .sc-photo-filled.sc-layout-mono .sc-photo-shade { background: linear-gradient(180deg, #000000c8, #00000060 34%, #00000030 60%, #000000c0); }
.sc-layout-mono .sc-copy { color: #fff; padding-top: 16%; text-shadow: 0 2px 16px rgb(0 0 0 / 0.4); }
.sc-layout-mono .sc-kicker { order: -1; font: 400 clamp(46px, 14cqw, 82px)/1 'Great Vibes', 'Bad Script', cursive; letter-spacing: 0; text-transform: none; }
.cv-kyl .sc-layout-mono .sc-kicker { font-family: 'Bad Script', cursive; font-size: clamp(36px, 10cqw, 60px); }
.sc-layout-mono .sc-names { font: 500 clamp(13px, 3.6cqw, 18px)/1.7 'Manrope', system-ui, sans-serif; letter-spacing: 0.42em; text-transform: uppercase; color: #fff; }
.sc-layout-mono .sc-names em { color: #fff; }
.sc-layout-mono .sc-meta { margin-top: auto; }
.sc-layout-mono .sc-date { background: none; border: 1px solid #ffffffb0; border-radius: 999px; color: #fff; box-shadow: none; padding: 8px 22px; }
.sc-layout-mono .sc-day { display: none; }
.sc-layout-mono .sc-action { color: #fff; border-color: #fff; }

.sc-layout-seal .sc-art::after, .sc-photo-filled.sc-layout-seal .sc-photo-shade { background: linear-gradient(180deg, #1e0a0eb8 0, #1e0a0e60 30%, transparent 50%, #1e0a0ea0); }
.sc-layout-seal .sc-copy { color: #fff7ec; padding-top: 9%; }
.sc-layout-seal .sc-heading { max-width: 78%; }
.sc-layout-seal .sc-kicker { font: 500 clamp(22px, 6.6cqw, 36px)/1.1 'Cormorant Garamond', Georgia, serif; letter-spacing: 0.04em; text-transform: none; }
.sc-layout-seal .sc-names { font: 400 clamp(34px, 9.6cqw, 56px)/1.1 'Great Vibes', 'Bad Script', cursive; color: #f6dda6; }
.cv-kyl .sc-layout-seal .sc-names { font-family: 'Bad Script', cursive; font-size: clamp(26px, 7.4cqw, 42px); }
.sc-layout-seal .sc-meta { margin-top: auto; }
.sc-layout-seal .sc-date { background: none; box-shadow: none; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.5); }
.sc-layout-seal .sc-day { color: #f6dda6; }

.sc-stamp { position: absolute; left: 6%; top: 11%; z-index: 2; display: flex; flex-direction: column; font: 300 clamp(64px, 24cqw, 136px)/0.92 'Cormorant Garamond', Georgia, serif; color: #fff; letter-spacing: 0.02em; text-shadow: 0 2px 24px rgb(0 0 0 / 0.3); pointer-events: none; }
.sc-stamp b { font-weight: 300; }
.sc-stamp b:last-child { border-top: 1px solid #ffffffc0; padding-top: 0.08em; margin-top: 0.08em; width: fit-content; }
.sc-layout-stamp .sc-art::after, .sc-photo-filled.sc-layout-stamp .sc-photo-shade { background: linear-gradient(90deg, #121a2c70, transparent 62%), linear-gradient(180deg, #121a2c40, transparent 30%, transparent 55%, #121a2cb0); }
.sc-layout-stamp .sc-copy { color: #fff; justify-content: flex-end; text-shadow: 0 2px 14px rgb(0 0 0 / 0.4); }
.sc-layout-stamp .sc-heading { margin-top: auto; }
.sc-layout-stamp .sc-names { flex-direction: column; align-items: center; font: 400 clamp(40px, 12cqw, 70px)/1.05 'Great Vibes', 'Bad Script', cursive; color: #fff; }
.sc-layout-stamp .sc-names em { display: none; }
.cv-kyl .sc-layout-stamp .sc-names { font-family: 'Bad Script', cursive; font-size: clamp(30px, 9cqw, 52px); }
.sc-layout-stamp .sc-date { background: none; box-shadow: none; color: #fff; }
.sc-layout-stamp .sc-day { display: none; }

.sc-layout-petals { --sc-paper: var(--inv-bg, #fff); }
.sc-layout-petals .sc-art, .sc-photo-filled.sc-layout-petals .sc-photo-backdrop { inset: 0 0 18%; -webkit-mask: linear-gradient(#000 52%, transparent 96%); mask: linear-gradient(#000 52%, transparent 96%); }
.sc-photo-filled.sc-layout-petals .sc-photo-shade, .sc-photo-filled.sc-layout-petals .sc-photo-ornament { display: none; }
.sc-layout-petals .sc-copy { justify-content: flex-end; color: var(--inv-text); gap: 10px; }
.sc-layout-petals .sc-heading { margin-top: auto; position: relative; }
.sc-layout-petals .sc-heading::before { content: '&'; position: absolute; left: 50%; top: 50%; z-index: -1; transform: translate(-50%, -46%); font: 400 clamp(130px, 40cqw, 230px)/1 'Great Vibes', cursive; color: color-mix(in srgb, var(--inv-accent) 32%, transparent); }
.sc-layout-petals .sc-names { flex-direction: column; align-items: center; font: 300 clamp(36px, 10cqw, 58px)/1.08 'Cormorant Garamond', Georgia, serif; letter-spacing: 0.02em; }
.sc-layout-petals .sc-names em { display: none; }
.sc-layout-petals .sc-kicker { color: var(--inv-muted); }
.sc-layout-petals .sc-date { background: none; box-shadow: none; }
.sc-petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sc-petals i { position: absolute; width: 14px; height: 9px; border-radius: 60% 40% 60% 40%; background: #fff; box-shadow: 0 2px 4px rgb(90 70 40 / 0.18); rotate: calc(var(--i) * 41deg); }
@media (prefers-reduced-motion: no-preference) {
  .sc-cover:not([data-card="true"]) .sc-petals i { animation: sc-petal-fall calc(9s + var(--i) * 0.7s) calc(var(--i) * -1.3s) linear infinite; }
}
@keyframes sc-petal-fall { from { transform: translate(0, -10vh) rotate(0); } to { transform: translate(-3vw, 90vh) rotate(320deg); } }

/* Interiors of the photo layouts: own cards, dividers and marked day on top of the recipes. */
body.sc-page-mono { background: var(--inv-bg); }
body.sc-page-seal { background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--inv-accent) 10%, transparent), transparent 600px), var(--inv-bg); }
body.sc-page-stamp { background: repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--inv-text) 5%, transparent) 39px 40px), var(--inv-bg); }
body.sc-page-petals { background: var(--inv-bg); }
body:is(.sc-page-mono, .sc-page-seal, .sc-page-stamp, .sc-page-petals) .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { content: ''; display: block; margin: 0 auto 38px; }
body.sc-page-mono .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { width: 1px; height: 54px; background: linear-gradient(transparent, var(--inv-accent), transparent); }
body.sc-page-seal .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { width: 150px; height: 34px; background: radial-gradient(circle at 50% 50%, #d7a84e 0 9px, #9c7027 9.5px 11px, transparent 11.5px), linear-gradient(color-mix(in srgb, var(--inv-accent) 50%, transparent), color-mix(in srgb, var(--inv-accent) 50%, transparent)) center / 100% 1px no-repeat; }
body.sc-page-stamp .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { width: 120px; height: 20px; background: repeating-linear-gradient(90deg, var(--inv-accent) 0 3px, transparent 3px 9px) center / 100% 2px no-repeat, radial-gradient(circle, var(--inv-accent) 0 4px, transparent 4.5px) center / 20px 20px no-repeat; }
body.sc-page-petals .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { width: 90px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 30'%3E%3Cg fill='%23fff' stroke='%23d8ccb6' stroke-width='.8'%3E%3Cpath d='M30 16c6-8 16-6 16 2c-6 6-14 6-16-2z'/%3E%3Cpath d='M48 10c8-4 16 2 14 9c-8 3-14 0-14-9z'/%3E%3Cpath d='M44 22c6 2 10 8 6 12c-6-1-8-6-6-12z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
body.sc-page-mono .cv-block:is(.cv-intro, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section { max-width: 480px; margin-inline: auto; padding: 40px 28px; border-radius: 0; background: var(--inv-surface); border: 1px solid color-mix(in srgb, var(--inv-text) 18%, transparent); outline: 1px solid color-mix(in srgb, var(--inv-text) 10%, transparent); outline-offset: 7px; }
body.sc-page-seal .cv-block:is(.cv-intro, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section { max-width: 480px; margin-inline: auto; padding: 52px 28px 40px; border-radius: 6px; background: linear-gradient(color-mix(in srgb, var(--inv-accent) 92%, #000), color-mix(in srgb, var(--inv-accent) 92%, #000)) 0 0 / 100% 8px no-repeat, radial-gradient(circle at 50% 8px, #d7a84e 0 10px, #9c7027 10.5px 12px, transparent 12.5px), var(--inv-surface); box-shadow: 0 14px 30px color-mix(in srgb, var(--inv-accent) 14%, transparent); }
body.sc-page-stamp .cv-block:is(.cv-intro, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section { max-width: 480px; margin-inline: auto; padding: 40px 28px; background: var(--inv-surface); border: 2px dashed color-mix(in srgb, var(--inv-accent) 55%, transparent); border-radius: 4px; box-shadow: 6px 6px 0 color-mix(in srgb, var(--inv-accent) 18%, transparent); }
body.sc-page-petals .cv-block:is(.cv-intro, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section { max-width: 480px; margin-inline: auto; padding: 44px 28px; border-radius: 120px 120px 24px 24px; background: var(--inv-surface); box-shadow: 0 16px 34px rgb(120 100 60 / 0.1); }
body.sc-page-mono[data-interior] .si-month-grid .cv-day.is-marked b { background: var(--inv-text); color: var(--inv-bg); border-radius: 0; }
body.sc-page-seal[data-interior] .si-month-grid .cv-day.is-marked b { background: radial-gradient(circle at 36% 30%, #ffe7a6, #d7a84e 55%, #9c7027); color: #5a3c0c; }
body.sc-page-stamp[data-interior] .si-month-grid .cv-day.is-marked b { background: transparent; color: var(--inv-accent); border: 2px solid var(--inv-accent); border-radius: 4px; }
body.sc-page-petals[data-interior] .si-month-grid .cv-day.is-marked b { background: #fff; color: var(--inv-text); border-radius: 60% 40% 60% 40%; box-shadow: 0 3px 10px rgb(120 100 60 / 0.25); }
body:is(.sc-page-mono, .sc-page-seal, .sc-page-stamp, .sc-page-petals) .celebration-closing-message { font-family: 'Great Vibes', 'Bad Script', cursive; font-size: clamp(30px, 8vw, 44px); }
body.cv-kyl:is(.sc-page-mono, .sc-page-seal, .sc-page-stamp, .sc-page-petals) .celebration-closing-message { font-family: 'Bad Script', cursive; font-size: clamp(24px, 6.4vw, 34px); }

/* The photo wedding layouts carry their own shade under the text, so they drop the D049 paper
   box and set the copy straight on the photo. */
.sc-cover.sc-photo-template:is(.sc-layout-mono, .sc-layout-seal, .sc-layout-stamp, .sc-layout-petals) .sc-heading::before { display: none; }
.sc-cover.sc-photo-template:is(.sc-layout-mono, .sc-layout-seal, .sc-layout-stamp, .sc-layout-petals) .sc-meta :is(.sc-date, .sc-venue) { background: none; box-shadow: none; }
.sc-cover.sc-photo-template:is(.sc-layout-mono, .sc-layout-stamp) .sc-heading :is(.sc-title, .sc-kicker, .sc-names, .sc-names em),
.sc-cover.sc-photo-template:is(.sc-layout-mono, .sc-layout-stamp) .sc-meta :is(.sc-date, .sc-venue) { color: #fff; text-shadow: 0 2px 16px rgb(0 0 0 / 0.45); }
.sc-cover.sc-photo-template.sc-layout-mono .sc-meta .sc-date { border: 1px solid #ffffffb0; }
.sc-cover.sc-photo-template.sc-layout-seal .sc-heading :is(.sc-title, .sc-kicker) { color: #fff7ec; text-shadow: 0 2px 10px rgb(0 0 0 / 0.3); }
.sc-cover.sc-photo-template.sc-layout-seal .sc-heading :is(.sc-names, .sc-names em) { color: #f6dda6; text-shadow: 0 2px 10px rgb(0 0 0 / 0.3); }
.sc-cover.sc-photo-template.sc-layout-seal .sc-meta .sc-date { color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.55); }
.sc-cover.sc-photo-template.sc-layout-petals .sc-heading :is(.sc-title, .sc-names, .sc-names em) { color: var(--inv-text); text-shadow: none; }
.sc-cover.sc-photo-template.sc-layout-petals .sc-heading .sc-kicker { color: var(--inv-muted); text-shadow: none; }
.sc-cover.sc-photo-template.sc-layout-petals .sc-meta .sc-date { color: var(--inv-text); }
body.sc-page-mono img[src*="/static/images/collection40/"] { filter: grayscale(1) contrast(1.04); }

/* Pearl light interior: the shared editorial recipe is a left-aligned magazine with 3px rules, and
   its blocks disagreed on width, alignment and illustration shape. Here every block is one centred
   column with one hairline between blocks and one arch for the photo. */
body.sc-tpl-pearl-editorial[data-interior] .cv-block { max-width: 500px; padding: 52px 28px; margin-inline: auto; }
body.sc-tpl-pearl-editorial[data-interior] .cv-gallery:empty, body.sc-tpl-pearl-editorial[data-interior] .cv-block:empty { display: none; }
body.sc-tpl-pearl-editorial[data-interior] .cv-intro > section { text-align: center; border: 0; padding: 0; }
body.sc-tpl-pearl-editorial[data-interior] .cv-intro .cv-lead { max-width: none; margin-inline: auto; font-style: italic; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.5; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-hosts, body.sc-tpl-pearl-editorial[data-interior] .celebration-closing { max-width: none; border: 0; padding: 0; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-closing { padding-block: 8px; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-families { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 26px; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-family { flex: 0 0 auto; }
body.sc-tpl-pearl-editorial[data-interior] .si-section-heading, body.sc-tpl-pearl-editorial[data-interior] .si-reply-heading { text-align: center; }
body.sc-tpl-pearl-editorial[data-interior] :is(.cv-venue h2, .si-section-heading h2, .celebration-hosts-title, .cv-rsvp #rsvp h2) { margin: 0 0 16px; font: 400 clamp(28px, 7.2vw, 36px)/1.2 var(--cv-display); letter-spacing: 0; text-transform: none; text-align: center; }
body.sc-tpl-pearl-editorial[data-interior] .si-cal-editorial .si-calendar-layout { display: block !important; max-width: none; border: 0 !important; padding: 0 !important; }
body.sc-tpl-pearl-editorial[data-interior] .si-cal-editorial .si-date-poster { display: none; }
body.sc-tpl-pearl-editorial[data-interior] .si-cal-editorial .si-month-title, body.sc-tpl-pearl-editorial[data-interior] .cv-month { text-align: center; }
body.sc-tpl-pearl-editorial[data-interior] .si-calendar .cv-actions, body.sc-tpl-pearl-editorial[data-interior] .cv-venue .cv-actions { justify-content: center; }
body.sc-tpl-pearl-editorial[data-interior] .cv-venue > section { text-align: center; border: 0; padding: 0; }
body.sc-tpl-pearl-editorial[data-interior] .cv-venue .cv-venue-name { margin: 0 0 20px; font: italic 400 clamp(22px, 5.6vw, 28px)/1.3 var(--cv-display); text-align: center; }
body.sc-tpl-pearl-editorial[data-interior] .si-program .si-section-heading > .si-illustration { width: 132px; height: 168px; margin: 0 auto 30px; border: 0; border-radius: 66px 66px 3px 3px; outline: 1px solid var(--si-line); outline-offset: 6px; }
body.sc-tpl-pearl-editorial[data-interior] .si-reply-frame { border: 0; padding: 0; background: none; }
body.sc-tpl-pearl-editorial[data-interior] .si-cal-editorial .si-month-grid { border-block: 1px solid var(--si-line) !important; padding-block: 16px !important; }
/* Pearl light stickers (obraz/plight-*.webp, Go: interiorStickers) and cards (D172). Every block is a satin "pearl plate": ivory with a rosy and a cool-blue pearl sheen, a champagne inner hairline, pearl corners on the top. One sticker opens each card, none touch: hosts (arch) cap, calendar heart, venue strand, programme medallion, reply shell, closing (bottom arch) bow, intro sprig. */
body.sc-tpl-pearl-editorial[data-interior] { background: #efe8de; }
body.cv.sc-tpl-pearl-editorial[data-interior] main .cv-block, body.cv.sc-tpl-pearl-editorial[data-interior] section.celebration-closing { position: relative; box-sizing: border-box; width: auto; max-width: min(500px, calc(100% - 28px)); margin: 18px auto; padding: 52px 24px; border: 1px solid rgb(139 113 96 / .26); border-radius: 26px; overflow: visible; background: radial-gradient(120% 55% at 0% 0%, rgb(244 214 222 / .5), transparent 60%), radial-gradient(110% 55% at 100% 100%, rgb(205 224 238 / .5), transparent 60%), linear-gradient(165deg, #fffefb 0%, #f8f2e9 55%, #fcf8f2 100%); box-shadow: 0 22px 38px -24px rgb(90 70 55 / .45), inset 0 0 0 6px rgb(255 255 255 / .55), inset 0 0 0 7px rgb(201 178 138 / .4); }
body.cv.sc-tpl-pearl-editorial[data-interior] main .cv-block:is(.cv-gallery, .cv-rsvp):empty { display: none; }
body.cv.sc-tpl-pearl-editorial[data-interior] main .cv-block:not(.cv-hosts)::after { content: ""; position: absolute; inset: 10px; pointer-events: none; background: url("/static/images/obraz/plight-corner.webp") left top / 56px 52px no-repeat, url("/static/images/obraz/plight-corner-r.webp") right top / 56px 52px no-repeat; opacity: .95; }
body.cv.sc-tpl-pearl-editorial[data-interior] main .cv-hosts { border-radius: 150px 150px 26px 26px; padding-top: 64px; }
body.cv.sc-tpl-pearl-editorial[data-interior] section.celebration-closing { border-radius: 26px 26px 150px 150px; padding: 40px 24px 56px; text-align: center; }
body.cv.sc-tpl-pearl-editorial[data-interior] main .cv-block > * { position: relative; z-index: 1; }
body.sc-tpl-pearl-editorial[data-interior] .si-illustration:has(img[src*="/obraz/plight-"]) { border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; filter: drop-shadow(0 6px 8px rgb(90 70 55 / .2)); }
body.sc-tpl-pearl-editorial[data-interior] .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/plight-"]) { width: 140px; height: 140px; margin: 0 auto 26px; border-radius: 0; outline: 0; box-shadow: none; }
body.sc-tpl-pearl-editorial[data-interior] .si-reply-heading > .si-illustration:has(img[src*="/obraz/plight-"]) { width: 156px; height: 134px; margin: 0 auto 20px; }
body.sc-tpl-pearl-editorial[data-interior] .si-illustration img[src*="/obraz/plight-"], body.sc-tpl-pearl-editorial[data-interior] .si-calendar-scene img[src*="/obraz/plight-"] { width: 100%; height: 100%; object-fit: contain; object-position: center; }
body.sc-tpl-pearl-editorial[data-interior] .si-calendar .si-calendar-scene:has(img[src*="/obraz/plight-"]) { display: none; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-flourish { display: none; }
body.sc-tpl-pearl-editorial[data-interior] :is([data-page-block=calendar], [data-page-block=intro]) > .cv-block::before { content: ""; display: block; margin: -8px auto 22px; background: center / contain no-repeat; filter: drop-shadow(0 5px 6px rgb(90 70 55 / .18)); }
body.sc-tpl-pearl-editorial[data-interior] [data-page-block=calendar] > .cv-block::before { width: 92px; height: 82px; background-image: url("/static/images/obraz/plight-heart.webp"); }
body.sc-tpl-pearl-editorial[data-interior] [data-page-block=intro] > .cv-block::before { width: 56px; height: 92px; margin-bottom: 18px; background-image: url("/static/images/obraz/plight-sprig.webp"); }
body.sc-tpl-pearl-editorial[data-interior] [data-page-block=hosts] > .cv-block:not(:empty)::before { content: ""; display: block; width: 88px; height: 88px; margin: -8px auto 24px; background: url("/static/images/obraz/plight-cap.webp") center / contain no-repeat; filter: drop-shadow(0 5px 6px rgb(90 70 55 / .18)); }
body.sc-tpl-pearl-editorial[data-interior] :is([data-page-block=venue], [data-page-block=gallery]) > .cv-block:not(:empty)::before { content: ""; display: block; width: 168px; height: 38px; margin: -6px auto 30px; background: url("/static/images/obraz/plight-strand.webp") center / contain no-repeat; }
body.sc-tpl-pearl-editorial[data-interior] .celebration-closing::before { content: ""; display: block; width: 80px; height: 58px; margin: 0 auto 14px; background: url("/static/images/obraz/plight-bow.webp") center / contain no-repeat; filter: drop-shadow(0 4px 6px rgb(90 70 55 / .18)); }
body.sc-tpl-pearl-editorial[data-interior] .si-cal-editorial .si-month-paper { max-width: 340px; margin-inline: auto !important; }

/* Pearl light cover: the text sits centred in the empty paper above the pearls instead of hanging left with the date
   pushed right, and is set larger. Scoped to this template; the shared editorial layout is unchanged. */
.collection-page .sc-cover.sc-pearl-editorial .sc-copy { align-items: center; text-align: center; gap: 22px; }
.collection-page .sc-cover.sc-pearl-editorial .sc-heading { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.collection-page .sc-cover.sc-pearl-editorial .sc-kicker { font-size: clamp(14px, 3.7cqw, 18px); letter-spacing: 0.34em; margin-right: -0.34em; color: var(--inv-accent-ink, var(--inv-accent)); }
.collection-page .sc-cover.sc-pearl-editorial .sc-names { justify-content: center; margin-top: 0 !important; font-size: clamp(38px, 11.2cqw, 62px); line-height: 1.12; letter-spacing: -0.01em; }
.collection-page .sc-cover.sc-pearl-editorial .sc-meta { --sc-meta-align: center; align-items: center; align-self: center; text-align: center; gap: 0; }
.collection-page .sc-cover.sc-pearl-editorial .sc-meta::before { content: ""; width: 44px; height: 1px; margin-bottom: 18px; background: var(--inv-accent); opacity: 0.7; }
.collection-page .sc-cover.sc-pearl-editorial .sc-date { margin: 0; padding: 0; border: 0; background: none; justify-content: center; text-align: center; font-size: clamp(19px, 5.2cqw, 26px); letter-spacing: 0.02em; }
.collection-page .sc-cover.sc-pearl-editorial .sc-date p { margin: 0; }
.collection-page .sc-cover.sc-pearl-editorial .sc-clock { margin-top: 4px; font-size: 0.82em; letter-spacing: 0.2em; color: var(--inv-accent-ink, var(--inv-accent)); }
@media (min-width: 1000px) {
  .collection-page .sc-cover.sc-pearl-editorial .sc-copy { justify-content: center; padding: 6% 4%; }
  .collection-page .sc-cover.sc-pearl-editorial .sc-names { font-size: 60px; }
  .collection-page .sc-cover.sc-pearl-editorial .sc-kicker { font-size: 17px; }
  .collection-page .sc-cover.sc-pearl-editorial .sc-date { font-size: 26px; }
}

/* Readable text floor on full-size collection covers (2026-11-12): kicker was 10 px, names 29 px, date 12 px on a phone. */
.sc-cover:not([data-card=true]) .sc-kicker { font-size: clamp(13px, 3.3cqw, 16px); }
.sc-cover.sc-cover.sc-ala-jip-path:not([data-card=true]) .sc-names { font-size: clamp(36px, 9cqw, 56px); }
.sc-cover.sc-cover.sc-child-balloons:not([data-card=true]) .sc-names { font-size: clamp(44px, 11.5cqw, 60px); }
.sc-cover:not([data-card=true]) .sc-date { font-size: clamp(15px, 3.7cqw, 18px); }

/* «Космическое приключение» (child-cosmos): sticker pieces from the user's ChatGPT sheet (images/obraz/cosmos-*.webp) hang on the corners of the inner blocks.
   They sit on the empty corners (arch shoulders, rule lines), never over the text, and do not take clicks. */
body.sc-tpl-child-cosmos :is(.cv-intro > section, .cv-venue > section) { position: relative; }
body.sc-tpl-child-cosmos :is(.cv-intro > section, .si-calendar, .cv-venue > section)::before,
body.sc-tpl-child-cosmos :is(.cv-intro > section, .si-calendar, .cv-venue > section)::after { content: ""; position: absolute; z-index: 3; pointer-events: none; background-position: center; background-size: contain; background-repeat: no-repeat; }
body.sc-tpl-child-cosmos .cv-intro > section::before { top: -30px; left: -6px; width: 44px; height: 42px; background-image: url("/static/images/obraz/cosmos-star.webp"); transform: rotate(-14deg); }
body.sc-tpl-child-cosmos .cv-intro > section::after { top: -34px; right: -4px; width: 78px; height: 45px; background-image: url("/static/images/obraz/cosmos-comet.webp"); transform: rotate(6deg); }
body.sc-tpl-child-cosmos .si-calendar::before { top: -22px; right: -8px; width: 92px; height: 63px; background-image: url("/static/images/obraz/cosmos-planet.webp"); transform: rotate(10deg); }
body.sc-tpl-child-cosmos .si-calendar::after { top: -6px; left: -6px; width: 40px; height: 37px; background-image: url("/static/images/obraz/cosmos-star.webp"); transform: rotate(12deg); }
body.sc-tpl-child-cosmos .cv-venue > section::before { top: -22px; left: -8px; width: 82px; height: 54px; background-image: url("/static/images/obraz/cosmos-satellite.webp"); transform: rotate(-10deg); }
body.sc-tpl-child-cosmos .cv-venue > section::after { bottom: -26px; right: -4px; width: 64px; height: 84px; background-image: url("/static/images/obraz/cosmos-world.webp"); }

/* «Барсик зовёт друзей» (child-snow): sticker pieces from the user's ChatGPT sheet (images/obraz/snow-*.webp) hang on the corners of the inner blocks and replace the repeated place pictures (Go: interiorStickers). */
body.sc-tpl-child-snow :is(.cv-intro > section, .cv-venue > section) { position: relative; }
body.sc-tpl-child-snow :is(.cv-intro > section, .cv-venue > section)::before,
body.sc-tpl-child-snow :is(.cv-intro > section, .cv-venue > section)::after { content: ""; position: absolute; z-index: 3; pointer-events: none; background-position: center; background-size: contain; background-repeat: no-repeat; }
body.sc-tpl-child-snow .cv-intro > section::before { top: -26px; left: -8px; width: 46px; height: 46px; background-image: url("/static/images/obraz/snow-flake.webp"); transform: rotate(-12deg); }
body.sc-tpl-child-snow .cv-intro > section::after { top: -60px; right: -6px; width: 84px; height: 96px; background-image: url("/static/images/obraz/snow-cub.webp"); transform: rotate(5deg); }
body.sc-tpl-child-snow .cv-venue > section::before { top: -40px; left: -8px; width: 66px; height: 86px; background-image: url("/static/images/obraz/snow-ibex.webp"); transform: rotate(-6deg); }
body.sc-tpl-child-snow .cv-venue > section::after { bottom: -30px; right: -6px; width: 74px; height: 80px; background-image: url("/static/images/obraz/snow-marmot.webp"); transform: rotate(4deg); }
body.sc-tpl-child-snow .si-illustration:has(img[src*="/obraz/snow-"]) { width: 150px; height: 150px; border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; }
body.sc-tpl-child-snow .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/snow-"]) { width: 140px; height: 150px; margin-bottom: 20px; outline: 0; border-radius: 0; }
body.sc-tpl-child-snow .si-reply-heading > .si-illustration:has(img[src*="/obraz/snow-"]) { width: 118px; height: 112px; border: 0; outline: 0; margin-bottom: 18px; }
body.sc-tpl-child-snow .si-illustration img[src*="/obraz/snow-"] { object-fit: contain; object-position: center; }
body.sc-tpl-child-snow .si-calendar .si-calendar-scene:has(img[src*="/obraz/snow-"]) { height: 96px; border-radius: 0; overflow: visible; background: url("/static/images/obraz/snow-fir.webp") 12% 50% / auto 96% no-repeat, url("/static/images/obraz/snow-mittens.webp") 50% 50% / auto 80% no-repeat, url("/static/images/obraz/snow-flake.webp") 88% 50% / auto 84% no-repeat; }
body.sc-tpl-child-snow .si-calendar .si-calendar-scene img[src*="/obraz/snow-"] { display: none; }
@media (min-width: 620px) { body.sc-tpl-child-snow .si-calendar .si-calendar-scene:has(img[src*="/obraz/snow-"]) { width: 100%; max-width: none; height: 250px; margin: 0; background-size: auto 30%, auto 28%, auto 28%; background-position: 50% 4%, 50% 50%, 50% 96%; } }

/* «Вишнёвый ужин» (cherry-supper): the cake photo used to repeat in the calendar, the programme and the reply; each place now has its own painted stickers (collection40/cherry-supper-*.webp). The cover and the opening are unchanged. */
body.cv.sc-tpl-cherry-supper[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; background-color: transparent; background-repeat: no-repeat; filter: drop-shadow(0 6px 7px rgb(0 0 0 / .38)); }
body.cv.sc-tpl-cherry-supper[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
/* calendar: a glass, a cherry branch and a candle */
body.cv.sc-tpl-cherry-supper[data-interior] .si-calendar .si-calendar-scene { max-width: 340px; height: 124px; margin-top: 26px; background-image: url("/static/images/collection40/cherry-supper-glass.webp"), url("/static/images/collection40/cherry-supper-branch.webp"), url("/static/images/collection40/cherry-supper-candle.webp"); background-size: auto 86%, auto 74%, auto 96%; background-position: 10% 60%, 50% 40%, 90% 60%; }
/* programme: a slice of tart and a pair of cherries */
body.cv.sc-tpl-cherry-supper[data-interior] .si-program .si-section-heading > .si-illustration { width: 210px; height: 120px; margin-bottom: 22px; background-image: url("/static/images/collection40/cherry-supper-tart.webp"), url("/static/images/collection40/cherry-supper-pair.webp"); background-size: auto 78%, auto 58%; background-position: 14% 70%, 88% 30%; }
/* reply: a napkin with the cutlery */
body.cv.sc-tpl-cherry-supper[data-interior] .si-reply-heading > .si-illustration { width: 120px; height: 112px; margin-bottom: 20px; background-image: url("/static/images/collection40/cherry-supper-napkin.webp"); background-size: auto 100%; background-position: 50% 50%; }
@media (min-width: 620px) { body.cv.sc-tpl-cherry-supper[data-interior] .si-calendar .si-calendar-scene { width: 100%; max-width: none; height: 210px; margin: 0; background-size: auto 62%, auto 52%, auto 74%; background-position: 8% 58%, 52% 28%, 94% 58%; } }
/* The three repeated place pictures are stickers here (Go: interiorStickers): no arch/circle frame, the whole sticker shown; a client's own photo keeps the usual frame. */
body.sc-tpl-child-cosmos .si-illustration:has(img[src*="/obraz/cosmos-"]) { width: 150px; height: 150px; border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; }
body.sc-tpl-child-cosmos .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/cosmos-"]) { width: 150px; height: 150px; margin-bottom: 20px; outline: 0; border-radius: 0; }
body.sc-tpl-child-cosmos .si-reply-heading > .si-illustration:has(img[src*="/obraz/cosmos-"]) { width: 112px; height: 100px; border: 0; outline: 0; margin-bottom: 18px; }
body.sc-tpl-child-cosmos .si-illustration img[src*="/obraz/cosmos-"] { object-fit: contain; object-position: center; }
body.sc-tpl-child-cosmos .si-calendar .si-calendar-scene:has(img[src*="/obraz/cosmos-"]) { height: 92px; border-radius: 0; overflow: visible; background: url("/static/images/obraz/cosmos-moon.webp") 12% 50% / auto 86% no-repeat, url("/static/images/obraz/cosmos-star.webp") 50% 50% / auto 62% no-repeat, url("/static/images/obraz/cosmos-comet.webp") 88% 50% / auto 58% no-repeat; }
body.sc-tpl-child-cosmos .si-calendar .si-calendar-scene img[src*="/obraz/cosmos-"] { display: none; }

/* «Дино-приключение» (child-dino): the cover picture used to repeat in the calendar, the programme and the reply; each place now has its own painted stickers (collection40/child-dino-*.webp). The cover and the opening are unchanged. */
body.cv.sc-tpl-child-dino[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; background-color: transparent; background-repeat: no-repeat; filter: drop-shadow(0 5px 6px rgb(23 78 66 / .28)); }
body.cv.sc-tpl-child-dino[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.cv.sc-tpl-child-dino[data-interior] .si-calendar .si-calendar-scene { max-width: 340px; height: 118px; margin-top: 24px; background-image: url("/static/images/collection40/child-dino-egg.webp"), url("/static/images/collection40/child-dino-leaves.webp"), url("/static/images/collection40/child-dino-volcano.webp"); background-size: auto 92%, auto 80%, auto 82%; background-position: 8% 50%, 50% 40%, 92% 56%; }
body.cv.sc-tpl-child-dino[data-interior] .si-program .si-section-heading > .si-illustration { width: 220px; height: 118px; margin-bottom: 22px; background-image: url("/static/images/collection40/child-dino-map.webp"), url("/static/images/collection40/child-dino-bone.webp"); background-size: auto 82%, auto 54%; background-position: 10% 40%, 92% 74%; }
body.cv.sc-tpl-child-dino[data-interior] .si-reply-heading > .si-illustration { width: 110px; height: 116px; margin-bottom: 20px; background-image: url("/static/images/collection40/child-dino-baby.webp"); background-size: auto 100%; background-position: 50% 50%; }
@media (min-width: 620px) { body.cv.sc-tpl-child-dino[data-interior] .si-calendar .si-calendar-scene { width: 100%; max-width: none; height: 220px; margin: 0; background-size: auto 52%, auto 36%, auto 40%; background-position: 4% 6%, 100% 14%, 94% 96%; } }

/* «Сад маленькой принцессы» (child-princess): the cover picture used to repeat in the calendar, the programme and the reply; each place now has its own painted stickers (collection40/child-princess-*.webp). The cover and the opening are unchanged. */
body.cv.sc-tpl-child-princess[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; background-color: transparent; background-repeat: no-repeat; filter: drop-shadow(0 5px 6px rgb(112 62 85 / .26)); }
body.cv.sc-tpl-child-princess[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.cv.sc-tpl-child-princess[data-interior] .si-calendar .si-calendar-scene { max-width: 340px; height: 118px; margin-top: 24px; background-image: url("/static/images/collection40/child-princess-peony.webp"), url("/static/images/collection40/child-princess-butterfly.webp"), url("/static/images/collection40/child-princess-bow.webp"); background-size: auto 90%, auto 54%, auto 70%; background-position: 4% 50%, 52% 26%, 98% 62%; }
body.cv.sc-tpl-child-princess[data-interior] .si-program .si-section-heading > .si-illustration { width: 190px; height: 120px; margin-bottom: 22px; background-image: url("/static/images/collection40/child-princess-wreath.webp"); background-size: auto 100%; background-position: 50% 50%; }
body.cv.sc-tpl-child-princess[data-interior] .si-reply-heading > .si-illustration { width: 104px; height: 118px; margin-bottom: 20px; background-image: url("/static/images/collection40/child-princess-lamb.webp"); background-size: auto 100%; background-position: 50% 50%; }
@media (min-width: 620px) { body.cv.sc-tpl-child-princess[data-interior] .si-calendar .si-calendar-scene { width: 100%; max-width: none; height: 220px; margin: 0; background-size: auto 52%, auto 30%, auto 38%; background-position: 2% 8%, 100% 4%, 96% 98%; } }

/* «Ещё десять тёплых лет» (ten-more-summers): the beach photo used to repeat in the calendar, the programme and the reply; each place now has its own photo stickers (Go: interiorStickers; obraz/ten-*.webp). The cover and the opening are unchanged; a client's own photo keeps the usual frame. Blanket, mug and clock are spare. */
body.sc-tpl-ten-more-summers .si-illustration:has(img[src*="/obraz/ten-"]) { width: 150px; height: 110px; border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; filter: drop-shadow(0 5px 6px rgb(60 40 25 / .3)); }
body.sc-tpl-ten-more-summers .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/ten-"]) { width: 150px; height: 108px; margin-bottom: 20px; outline: 0; border-radius: 0; }
body.sc-tpl-ten-more-summers .si-reply-heading > .si-illustration:has(img[src*="/obraz/ten-"]) { width: 122px; height: 86px; border: 0; outline: 0; margin-bottom: 18px; }
body.sc-tpl-ten-more-summers .si-illustration img[src*="/obraz/ten-"] { object-fit: contain; object-position: center; }
body.sc-tpl-ten-more-summers .si-calendar .si-calendar-scene:has(img[src*="/obraz/ten-"]) { height: 104px; border-radius: 0; overflow: visible; filter: drop-shadow(0 5px 6px rgb(60 40 25 / .3)); background: url("/static/images/obraz/ten-hat.webp") 8% 60% / auto 70% no-repeat, url("/static/images/obraz/ten-flowers.webp") 50% 50% / auto 96% no-repeat, url("/static/images/obraz/ten-sandals.webp") 92% 55% / auto 86% no-repeat; }
body.sc-tpl-ten-more-summers .si-calendar .si-calendar-scene img[src*="/obraz/ten-"] { display: none; }

/* «Янтарное обещание» (amber-promise): the amber-glass photo used to repeat in the calendar, the programme and the reply; each place now has gold-and-amber stickers from the user's ChatGPT sheet
   (obraz/am-*.webp, `interiorStickers`): candle + ring box + bow in the calendar, rings at the programme, envelope in the reply, pendant and doves in the two flourishes, bouquet and candle on the corners. Cover and opening unchanged. */
body.sc-tpl-amber-promise .si-illustration:has(img[src*="/obraz/am-"]) { border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; filter: drop-shadow(0 4px 5px rgb(89 60 42 / .22)); }
body.sc-tpl-amber-promise .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/am-"]) { width: 150px; height: 120px; margin-bottom: 18px; }
body.sc-tpl-amber-promise .si-reply-heading > .si-illustration:has(img[src*="/obraz/am-"]) { width: 124px; height: 104px; margin-bottom: 16px; }
body.sc-tpl-amber-promise .si-illustration img[src*="/obraz/am-"] { object-fit: contain; object-position: center; }
body.sc-tpl-amber-promise .si-calendar .si-calendar-scene:has(img[src*="/obraz/am-"]) { height: 96px; border-radius: 0; overflow: visible; background: url("/static/images/obraz/am-candle.webp") 12% 50% / auto 84% no-repeat, url("/static/images/obraz/am-box.webp") 50% 50% / auto 96% no-repeat, url("/static/images/obraz/am-bow.webp") 88% 50% / auto 84% no-repeat; filter: drop-shadow(0 4px 5px rgb(89 60 42 / .22)); }
body.sc-tpl-amber-promise .si-calendar .si-calendar-scene img[src*="/obraz/am-"] { display: none; }
@media (min-width: 620px) { body.sc-tpl-amber-promise .si-calendar .si-calendar-scene:has(img[src*="/obraz/am-"]) { width: 100%; max-width: none; height: 250px; margin: 0; background-size: auto 30%, auto 34%, auto 28%; background-position: 50% 4%, 50% 50%, 50% 96%; } }
body.sc-tpl-amber-promise .celebration-flourish { display: block; width: 52px; height: 62px !important; margin: 0 auto 14px !important; background: url("/static/images/obraz/am-heart.webp") center / contain no-repeat; color: transparent; font-size: 0; filter: drop-shadow(0 4px 5px rgb(89 60 42 / .22)); }
body.sc-tpl-amber-promise .celebration-closing .celebration-flourish { width: 120px; height: 99px !important; background-image: url("/static/images/obraz/am-doves.webp"); }
body.sc-tpl-amber-promise :is(.cv-intro, .cv-venue) > section { position: relative; }
body.sc-tpl-amber-promise :is(.cv-intro, .cv-venue) > section::after { content: ""; position: absolute; z-index: 3; pointer-events: none; background-position: center; background-size: contain; background-repeat: no-repeat; filter: drop-shadow(0 4px 5px rgb(89 60 42 / .22)); }
body.sc-tpl-amber-promise .cv-intro > section::after { top: -34px; right: -8px; width: 64px; height: 60px; background-image: url("/static/images/obraz/am-candle.webp"); transform: rotate(6deg); }
body.sc-tpl-amber-promise .cv-venue > section::after { bottom: -30px; right: -6px; width: 76px; height: 80px; background-image: url("/static/images/obraz/am-bouquet.webp"); transform: rotate(8deg); }

/* «Солнце в новом доме» (new-home-sun): the doorway photo used to repeat in the calendar, the programme and the reply; each place now has warm painted stickers from the user's ChatGPT sheet
   (obraz/nh-*.webp, `interiorStickers`): sun + cottage + key in the calendar, teapot with bowls at the programme, bread and salt in the reply, the jug and the plant on the card corners, the rolled
   shyrdak above the sign-off. Cover and opening unchanged. */
body.sc-tpl-new-home-sun .si-illustration:has(img[src*="/obraz/nh-"]) { border: 0; border-radius: 0; outline: 0; background: none; overflow: visible; filter: drop-shadow(0 4px 5px rgb(102 80 65 / .24)); }
body.sc-tpl-new-home-sun .si-program .si-section-heading > .si-illustration:has(img[src*="/obraz/nh-"]) { width: 140px; height: 134px; margin-bottom: 18px; }
body.sc-tpl-new-home-sun .si-reply-heading > .si-illustration:has(img[src*="/obraz/nh-"]) { width: 128px; height: 114px; margin-bottom: 16px; }
body.sc-tpl-new-home-sun .si-illustration img[src*="/obraz/nh-"] { object-fit: contain; object-position: center; }
body.sc-tpl-new-home-sun .si-calendar .si-calendar-scene:has(img[src*="/obraz/nh-"]) { height: 104px; border-radius: 0; overflow: visible; background: url("/static/images/obraz/nh-sun.webp") 10% 50% / auto 84% no-repeat, url("/static/images/obraz/nh-house.webp") 50% 50% / auto 100% no-repeat, url("/static/images/obraz/nh-key.webp") 90% 50% / auto 92% no-repeat; filter: drop-shadow(0 4px 5px rgb(102 80 65 / .24)); }
body.sc-tpl-new-home-sun .si-calendar .si-calendar-scene img[src*="/obraz/nh-"] { display: none; }
@media (min-width: 620px) { body.sc-tpl-new-home-sun .si-calendar .si-calendar-scene:has(img[src*="/obraz/nh-"]) { width: 100%; max-width: none; height: 250px; margin: 0; background-size: auto 28%, auto 34%, auto 30%; background-position: 50% 4%, 50% 50%, 50% 96%; } }
body.sc-tpl-new-home-sun :is(.cv-intro, .cv-venue) > section { position: relative; }
body.sc-tpl-new-home-sun :is(.cv-intro, .cv-venue) > section::after { content: ""; position: absolute; z-index: 3; pointer-events: none; background-position: center; background-size: contain; background-repeat: no-repeat; filter: drop-shadow(0 4px 5px rgb(102 80 65 / .24)); }
body.sc-tpl-new-home-sun .cv-intro > section::after { top: -40px; right: -8px; width: 52px; height: 74px; background-image: url("/static/images/obraz/nh-jug.webp"); transform: rotate(6deg); }
body.sc-tpl-new-home-sun .cv-venue > section::after { bottom: -34px; right: -6px; width: 68px; height: 78px; background-image: url("/static/images/obraz/nh-plant.webp"); transform: rotate(5deg); }
body.sc-tpl-new-home-sun .cv-footer::before { content: ""; display: block; width: 104px; height: 92px; margin: 28px auto 4px; background: url("/static/images/obraz/nh-carpet.webp") center / contain no-repeat; filter: drop-shadow(0 4px 5px rgb(102 80 65 / .24)); }

/* «Медный вечер» (copper-evening): the cover picture used to repeat in the calendar, the programme and the reply; each place now has its own painted copper-and-brass stickers (collection40/copper-evening-*.webp). The cover and the opening are unchanged. */
body.cv.sc-tpl-copper-evening[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; background-color: transparent; background-repeat: no-repeat; filter: drop-shadow(0 6px 7px rgb(0 0 0 / .42)); }
body.cv.sc-tpl-copper-evening[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.cv.sc-tpl-copper-evening[data-interior] .si-calendar .si-calendar-scene { max-width: 340px; height: 132px; margin-top: 26px; background-image: url("/static/images/collection40/copper-evening-watch.webp"); background-size: auto 100%; background-position: 50% 50%; }
body.cv.sc-tpl-copper-evening[data-interior] .si-program .si-section-heading > .si-illustration { width: 190px; height: 116px; margin-bottom: 22px; background-image: url("/static/images/collection40/copper-evening-glasses.webp"); background-size: auto 100%; background-position: 50% 50%; }
body.cv.sc-tpl-copper-evening[data-interior] .si-reply-heading > .si-illustration { width: 150px; height: 110px; margin-bottom: 20px; background-image: url("/static/images/collection40/copper-evening-envelope.webp"); background-size: auto 100%; background-position: 50% 50%; }
@media (min-width: 620px) { body.cv.sc-tpl-copper-evening[data-interior] .si-calendar .si-calendar-scene { width: 100%; max-width: none; height: 200px; margin: 0; background-size: auto 78%; } }

/* «Вечер у дасторкона» (ramadan-table): the cover photo used to repeat in the calendar, the programme and the reply (arches and a circle); each place now has ONE painted sticker (collection40/ramadan-table-*.webp: moon, lantern, dates; the others are spare). The cover and the opening are unchanged. */
body.cv.sc-tpl-ramadan-table[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; box-shadow: none; clip-path: none; background-color: transparent; background-repeat: no-repeat; background-position: 50% 50%; background-size: auto 100%; filter: drop-shadow(0 6px 7px rgb(0 0 0 / .4)); }
body.cv.sc-tpl-ramadan-table[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration)::before, body.cv.sc-tpl-ramadan-table[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration)::after { display: none; }
body.cv.sc-tpl-ramadan-table[data-interior] :is(.si-calendar-scene, .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.cv.sc-tpl-ramadan-table[data-interior] .si-calendar .si-calendar-scene { max-width: 340px; height: 136px; margin-top: 26px; background-image: url("/static/images/collection40/ramadan-table-moon.webp"); }
body.cv.sc-tpl-ramadan-table[data-interior] .si-program .si-section-heading > .si-illustration { width: 120px; height: 150px; margin-bottom: 20px; background-image: url("/static/images/collection40/ramadan-table-lantern.webp"); }
body.cv.sc-tpl-ramadan-table[data-interior] .si-reply-heading > .si-illustration { width: 170px; height: 120px; margin-bottom: 18px; background-image: url("/static/images/collection40/ramadan-table-dates.webp"); }
@media (min-width: 620px) { body.cv.sc-tpl-ramadan-table[data-interior] .si-calendar .si-calendar-scene { width: 100%; max-width: none; height: 200px; margin: 0; background-size: auto 78%; } }

/* «Чёрно-белая история» (mono-day) inner page with monochrome cinema stickers (D180): ONE sticker per block (never two between neighbouring blocks, user rule); the 1 px divider line is hidden.
   The photo blocks (calendar strip, programme arch, reply circle) keep their photo and get no sticker. Stickers are light-grey ink-and-wash cut-outs for the dark page (cyan key). */
body.sc-tpl-mono-day[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-mono-day[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.sc-tpl-mono-day[data-interior] .cv-intro > section::before { width: 128px; height: 88px; background-image: url("/static/images/obraz/mo-camera.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-calendar > section::before { width: 120px; height: 70px; background-image: url("/static/images/obraz/mo-rings.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-countdown > section::before { width: 68px; height: 89px; background-image: url("/static/images/obraz/mo-watch.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-venue > section::before { width: 90px; height: 90px; background-image: url("/static/images/obraz/mo-clap.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] :is(.cv-dress_code, .cv-dress-code) > section::before { width: 120px; height: 69px; background-image: url("/static/images/obraz/mo-bowtie.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-contacts > section::before { width: 110px; height: 80px; background-image: url("/static/images/obraz/mo-envelope.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-gifts > section::before { width: 88px; height: 81px; background-image: url("/static/images/obraz/mo-gift.webp?v=1"); }
body.sc-tpl-mono-day[data-interior] .cv-hosts .celebration-flourish { display: block; width: 150px; height: 29px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/mo-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-mono-day[data-interior] .celebration-closing .celebration-flourish { display: block; width: 112px; height: 79px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/mo-crest.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-mono-day[data-interior] .si-clock-emblem { display: none; }

/* «Дата-штамп» (date-stamp) inner page with flat vintage mail stickers (D181): ONE sticker per block (never two between neighbouring blocks, user rule); the dashed stamp divider is hidden.
   The photo blocks (calendar strip, programme arch, reply circle) keep their photo; the programme and reply blocks get no sticker. Stickers are cut from a ChatGPT sheet (magenta key). */
body.sc-tpl-date-stamp[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-date-stamp[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.sc-tpl-date-stamp[data-interior] .cv-intro > section::before { width: 100px; height: 79px; background-image: url("/static/images/obraz/ds-stamp.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-calendar > section::before { width: 114px; height: 76px; background-image: url("/static/images/obraz/ds-rings.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-countdown > section::before { width: 70px; height: 88px; background-image: url("/static/images/obraz/ds-compass.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-venue > section::before { width: 128px; height: 81px; background-image: url("/static/images/obraz/ds-mountains.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] :is(.cv-dress_code, .cv-dress-code) > section::before { width: 120px; height: 66px; background-image: url("/static/images/obraz/ds-bowtie.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-contacts > section::before { width: 112px; height: 70px; background-image: url("/static/images/obraz/ds-envelope.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-gifts > section::before { width: 88px; height: 79px; background-image: url("/static/images/obraz/ds-gift.webp?v=1"); }
body.sc-tpl-date-stamp[data-interior] .cv-hosts .celebration-flourish { display: block; width: 150px; height: 33px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/ds-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-date-stamp[data-interior] .celebration-closing .celebration-flourish { display: block; width: 110px; height: 78px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/ds-crest.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-date-stamp[data-interior] .si-clock-emblem { display: none; }
/* mono-day, date-stamp and white-petals: the photo strip under the calendar is removed (user request); the calendar card keeps its one sticker (rings). */
body:is(.sc-tpl-mono-day, .sc-tpl-date-stamp, .sc-tpl-white-petals)[data-interior] .si-calendar .si-calendar-scene { display: none; }

/* «Белые лепестки» (white-petals) inner page with soft watercolor stickers (D182): ONE sticker per block (never two between neighbouring blocks, user rule); the base divider is hidden.
   The calendar photo strip is removed (user request); programme and reply keep their photo and get no sticker. Stickers are cut from a ChatGPT sheet (cyan key). */
body.sc-tpl-white-petals[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-white-petals[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.sc-tpl-white-petals[data-interior] .cv-intro > section::before { width: 90px; height: 88px; background-image: url("/static/images/obraz/wp-bouquet.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-calendar > section::before { width: 114px; height: 73px; background-image: url("/static/images/obraz/wp-rings.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-countdown > section::before { width: 76px; height: 82px; background-image: url("/static/images/obraz/wp-watch.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-venue > section::before { width: 104px; height: 88px; background-image: url("/static/images/obraz/wp-urn.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] :is(.cv-dress_code, .cv-dress-code) > section::before { width: 108px; height: 85px; background-image: url("/static/images/obraz/wp-bow.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-contacts > section::before { width: 108px; height: 83px; background-image: url("/static/images/obraz/wp-envelope.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-gifts > section::before { width: 82px; height: 87px; background-image: url("/static/images/obraz/wp-gift.webp?v=1"); }
body.sc-tpl-white-petals[data-interior] .cv-hosts .celebration-flourish { display: block; width: 150px; height: 40px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/wp-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-white-petals[data-interior] .celebration-closing .celebration-flourish { display: block; width: 110px; height: 77px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/wp-crest.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-white-petals[data-interior] .si-clock-emblem { display: none; }

/* «Дорожка ала жип» (ala-jip-path) inner page with needle-felted stickers (D199): ONE sticker per block (never two between neighbouring blocks, user rule); the base divider is hidden.
   Programme and reply keep their landscape photo and get no sticker; the calendar keeps its photo arch below the card. Stickers are cut from a ChatGPT sheet (cyan key). */
body.sc-tpl-ala-jip-path[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-ala-jip-path[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.sc-tpl-ala-jip-path[data-interior] .cv-intro > section::before { width: 110px; height: 74px; background-image: url("/static/images/obraz/aj-booties.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-calendar > section::before { width: 114px; height: 74px; background-image: url("/static/images/obraz/aj-cord.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-countdown > section::before { width: 80px; height: 80px; background-image: url("/static/images/obraz/aj-clock.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-venue > section::before { width: 124px; height: 85px; background-image: url("/static/images/obraz/aj-yurt.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-contacts > section::before { width: 108px; height: 70px; background-image: url("/static/images/obraz/aj-envelope.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-gifts > section::before { width: 88px; height: 87px; background-image: url("/static/images/obraz/aj-gift.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] :is(.cv-dress_code, .cv-dress-code) > section::before { width: 116px; height: 70px; background-image: url("/static/images/obraz/aj-vest.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .cv-hosts .celebration-flourish { display: block; width: 160px; height: 36px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/aj-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-ala-jip-path[data-interior] .celebration-closing .celebration-flourish { display: block; width: 112px; height: 87px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/aj-feet.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-ala-jip-path[data-interior] .si-clock-emblem { display: none; }

/* «Дорожка ала жип»: the same landscape photo is no longer repeated in the calendar, programme and reply blocks (user request) —
   the calendar scene is removed, programme and reply get one felt sticker each in place of the photo (horse, wreath). */
body.sc-tpl-ala-jip-path[data-interior] .si-calendar .si-calendar-scene { display: none; }
body.sc-tpl-ala-jip-path[data-interior] :is(.si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; box-shadow: none; clip-path: none; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; margin-inline: auto; }
body.sc-tpl-ala-jip-path[data-interior] :is(.si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.sc-tpl-ala-jip-path[data-interior] .si-program .si-section-heading > .si-illustration { width: 110px; height: 98px; margin-bottom: 16px; outline: 0; border-radius: 0; box-shadow: none; background-image: url("/static/images/obraz/aj-horse.webp?v=1"); }
body.sc-tpl-ala-jip-path[data-interior] .si-reply-heading > .si-illustration { width: 100px; height: 97px; margin-bottom: 16px; outline: 0; border-radius: 0; box-shadow: none; background-image: url("/static/images/obraz/aj-wreath.webp?v=1"); }

/* «Первые шаги в облаках» (child-balloons) inner page with watercolour pastel stickers (D202): ONE sticker per block (never two between neighbouring blocks, user rule); the base divider is hidden.
   The same balloon photo is no longer repeated inside the blocks (user request, as in ala-jip-path): the calendar scene is removed, programme and reply get a sticker in place of the photo. Stickers are cut from a ChatGPT sheet (cyan key). */
body.sc-tpl-child-balloons[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-child-balloons[data-interior] :is(.cv-intro, .cv-calendar, .cv-countdown, .cv-venue, .cv-dress_code, .cv-dress-code, .cv-contacts, .cv-gifts) > section::before { content: ""; display: block; margin: 0 auto 16px; background: center / contain no-repeat; }
body.sc-tpl-child-balloons[data-interior] .cv-intro > section::before { width: 104px; height: 82px; background-image: url("/static/images/obraz/cb-booties.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-calendar > section::before { width: 74px; height: 101px; background-image: url("/static/images/obraz/cb-balloon.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-countdown > section::before { width: 100px; height: 88px; background-image: url("/static/images/obraz/cb-clock.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-venue > section::before { width: 112px; height: 94px; background-image: url("/static/images/obraz/cb-house.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-contacts > section::before { width: 108px; height: 75px; background-image: url("/static/images/obraz/cb-envelope.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-gifts > section::before { width: 88px; height: 92px; background-image: url("/static/images/obraz/cb-gift.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] :is(.cv-dress_code, .cv-dress-code) > section::before { width: 80px; height: 100px; background-image: url("/static/images/obraz/cb-romper.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .cv-hosts .celebration-flourish { display: block; width: 160px; height: 25px; margin: 0 auto 14px; font-size: 0; color: transparent; background: url("/static/images/obraz/cb-divider.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-child-balloons[data-interior] .celebration-closing .celebration-flourish { display: block; width: 130px; height: 75px; margin: 0 auto 12px; font-size: 0; color: transparent; background: url("/static/images/obraz/cb-rainbow.webp?v=1") center / contain no-repeat; transform: none; }
body.sc-tpl-child-balloons[data-interior] .si-clock-emblem { display: none; }
body.sc-tpl-child-balloons[data-interior] .si-calendar .si-calendar-scene { display: none; }
body.sc-tpl-child-balloons[data-interior] :is(.si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { position: relative; overflow: visible; border: 0; border-radius: 0; outline: 0; box-shadow: none; clip-path: none; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; margin-inline: auto; }
body.sc-tpl-child-balloons[data-interior] :is(.si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.sc-tpl-child-balloons[data-interior] .si-program .si-section-heading > .si-illustration { width: 120px; height: 92px; margin-bottom: 16px; outline: 0; border-radius: 0; box-shadow: none; background-image: url("/static/images/obraz/cb-bears.webp?v=1"); }
body.sc-tpl-child-balloons[data-interior] .si-reply-heading > .si-illustration { width: 130px; height: 123px; margin-bottom: 14px; outline: 0; border-radius: 0; box-shadow: none; background-image: url("/static/images/obraz/cb-wreath.webp?v=1"); }

/* «Горизонт батыра»: earth-toned stickers within the invitation blocks. */
body.sc-tpl-batyr-horizon[data-interior] .cv-block:not(:empty) ~ .cv-block:not(:empty)::before { display: none; }
body.sc-tpl-batyr-horizon[data-interior] :is(.cv-intro, .cv-calendar, .cv-venue, .cv-dress-code, .cv-contacts) > section::before { content: ""; display: block; margin: 0 auto 14px; background: center / contain no-repeat; }
body.sc-tpl-batyr-horizon[data-interior] .cv-intro > section::before { width: 130px; height: 82px; background-image: url("/static/images/obraz/bh-horse.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .cv-calendar > section::before { width: 70px; height: 62px; background-image: url("/static/images/obraz/bh-calendar.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .cv-venue > section::before { width: 112px; height: 76px; background-image: url("/static/images/obraz/bh-yurt.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .cv-dress-code > section::before { width: 95px; height: 75px; background-image: url("/static/images/obraz/bh-outfit.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .cv-contacts > section::before { width: 82px; height: 57px; background-image: url("/static/images/obraz/bh-envelope.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .si-calendar .si-calendar-scene { display: none; }
body.sc-tpl-batyr-horizon[data-interior] .si-calendar .si-calendar-layout:has(.si-calendar-scene) { display: block; }
body.sc-tpl-batyr-horizon[data-interior] :is(.si-program .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) { overflow: visible; border: 0; border-radius: 0; outline: 0; box-shadow: none; background-color: transparent; background-position: center; background-size: contain; background-repeat: no-repeat; }
body.sc-tpl-batyr-horizon[data-interior] :is(.si-program .si-section-heading > .si-illustration, .si-reply-heading > .si-illustration) img { display: none; }
body.sc-tpl-batyr-horizon[data-interior] .si-program .si-section-heading > .si-illustration { width: 104px; height: 75px; margin: 0 auto 14px; background-image: url("/static/images/obraz/bh-saddle.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .si-reply-heading > .si-illustration { width: 86px; height: 60px; margin: 0 auto 14px; background-image: url("/static/images/obraz/bh-envelope.webp"); }
body.sc-tpl-batyr-horizon[data-interior] .si-clock-emblem { width: 70px; height: 64px; margin: 18px auto 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: url("/static/images/obraz/bh-clock.webp") center / contain no-repeat; }
body.sc-tpl-batyr-horizon[data-interior] .si-clock-emblem :is(svg, .si-motif) { display: none; }
body.sc-tpl-batyr-horizon[data-interior] .cv-footer::before { content: ""; display: block; width: 110px; height: 84px; margin: 0 auto 14px; background: url("/static/images/obraz/bh-wreath.webp") center / contain no-repeat; }
