/* Candi Bentar (Seri Immersive). Layout in ../seri.css; this file holds the palette, type and art.
   Painted WebP layers in img/ (owner art, prompts in design-system/seri-elegant-immersive.md); SVG/CSS fills the rest. Generated by design-system/seri-src/gen_themes.py. */
@font-face { font-family: "Forum"; src: url("/frontend/assets/fonts/forum-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/frontend/assets/fonts/jost-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root[data-theme="bentar"] {
    --bg: #2a1320; --surface: #3a1b28; --ink: #fff3e6; --muted: #f0cdb4; --accent: #f0b766; --accent-ink: #2a1320; --line: #6a3640;
    --heading: "Forum", Georgia, serif; --body: "Jost", system-ui, sans-serif;
    --sr-panel: rgba(42, 19, 32, .74); --sr-panel-line: rgba(240, 183, 102, .35); --sr-panel-radius: .5rem; --sr-button-radius: .5rem; --sr-halo: 42, 19, 32;
    --sr-sky: radial-gradient(28% 18% at 50% 52%, #ffd89a, rgba(255, 170, 90, .6) 45%, transparent 70%), linear-gradient(180deg, #3b1d4a 0%, #8a3156 34%, #e0704f 58%, #f6a85c 72%, #f9c178 80%);
    --sr-far: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 150 L80 120 L150 60 L190 40 L230 62 L300 110 L400 130 V200 H0z' fill='%23742c4a' fill-opacity='.85'/%3E%3C/svg%3E") center 78% / 100% 30% no-repeat;
    --sr-mid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 170 C60 150 120 175 200 160 S330 150 400 168 V200 H0z' fill='%23552036'/%3E%3C/svg%3E") center bottom / 100% 26% no-repeat;
    --sr-near: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='%23411823'%3E%3Cpath d='M40 600 V330 H58 V290 H74 V250 H90 V215 H104 V180 H118 V150 H130 V120 H140 V95 H150 V70 H160 V600z'/%3E%3Cpath d='M360 600 V330 H342 V290 H326 V250 H310 V215 H296 V180 H282 V150 H270 V120 H260 V95 H250 V70 H240 V600z'/%3E%3C/g%3E%3Cg fill='%235a2430'%3E%3Crect x='20' y='560' width='160' height='40'/%3E%3Crect x='220' y='560' width='160' height='40'/%3E%3C/g%3E%3Cg fill='%23d98a52' fill-opacity='.35'%3E%3Crect x='150' y='70' width='6' height='530'/%3E%3Crect x='244' y='70' width='6' height='530'/%3E%3C/g%3E%3C/svg%3E") center bottom / auto 92% no-repeat;
    --sr-front: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='%23230d16'%3E%3Cpath d='M0 300 V200 C20 170 40 190 50 160 C60 190 80 180 90 210 V300z'/%3E%3Cpath d='M400 300 V190 C380 160 360 185 350 150 C340 185 320 170 310 205 V300z'/%3E%3Crect y='270' width='400' height='30'/%3E%3C/g%3E%3C/svg%3E") center bottom / 100% 40% no-repeat;
    --sr-gate-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cpath fill='%23411823' d='M200 600 H30 V520 H44 V450 H58 V385 H74 V325 H90 V270 H106 V220 H122 V172 H138 V128 H152 V88 H166 V52 H178 V20 H188 V0 H200z'/%3E%3Cpath fill='%23d98a52' fill-opacity='.4' d='M196 0 H200 V600 H196z'/%3E%3Cg fill='%235a2430'%3E%3Crect x='44' y='450' width='156' height='8'/%3E%3Crect x='74' y='325' width='126' height='6'/%3E%3Crect x='106' y='220' width='94' height='6'/%3E%3Crect x='138' y='128' width='62' height='5'/%3E%3C/g%3E%3C/svg%3E") right bottom / auto 96% no-repeat, linear-gradient(180deg, #3b1d4a, #8a3156 40%, #e0704f 75%, #f6a85c);
    --sr-gate-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cg transform='translate(200 0) scale(-1 1)'%3E%3Cpath fill='%23411823' d='M200 600 H30 V520 H44 V450 H58 V385 H74 V325 H90 V270 H106 V220 H122 V172 H138 V128 H152 V88 H166 V52 H178 V20 H188 V0 H200z'/%3E%3Cpath fill='%23d98a52' fill-opacity='.4' d='M196 0 H200 V600 H196z'/%3E%3Cg fill='%235a2430'%3E%3Crect x='44' y='450' width='156' height='8'/%3E%3Crect x='74' y='325' width='126' height='6'/%3E%3Crect x='106' y='220' width='94' height='6'/%3E%3Crect x='138' y='128' width='62' height='5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") left bottom / auto 96% no-repeat, linear-gradient(180deg, #3b1d4a, #8a3156 40%, #e0704f 75%, #f6a85c);
    --sr-veil: transparent; --sr-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 36 V22 H12 V16 H16 V10 H18 V4 H20 V36z M32 36 V22 H28 V16 H24 V10 H22 V4 H20 V36z'/%3E%3C/svg%3E");
    --sr-frame-radius: .5rem; --sr-frame-ring: 0 0 0 1px #f0b766, 0 0 0 7px rgba(42, 19, 32, .9), 0 0 0 8px #f0b766;
    --sr-spark: radial-gradient(circle, #ffe2a8, rgba(255, 190, 110, 0) 70%); --sr-spark-size: 14px;
    --sr-cutout-tone: sepia(.18) saturate(1.05) brightness(.95);
}
:root[data-theme="bentar"][data-scheme="dark"] {
    color-scheme: dark;
    --bg: #160b18; --surface: #241229; --sr-panel: rgba(22, 11, 24, .8); --sr-halo: 22, 11, 24;
    --sr-sky: radial-gradient(1px 1px at 20% 20%, #fff, transparent), radial-gradient(1px 1px at 70% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 45% 30%, #fff, transparent), linear-gradient(180deg, #0d0a26 0%, #2a1240 50%, #5a2142 80%);
}
:root[data-theme="bentar"] { color-scheme: dark; }
.sr-names, .sr-title { letter-spacing: .02em; }
.sr .sr-logo-ink { display: none; } .sr .sr-logo-light { display: block; }
/* Painted layers (owner art, 19 Nov 2026). */
:root[data-theme="bentar"] {
    --sr-sky: url("/frontend/themes/wedding/bentar/img/sky.webp") center 30% / cover no-repeat;
    --sr-far: url("/frontend/themes/wedding/bentar/img/far.webp") center 70% / max(140%, 52rem) auto no-repeat;
    --sr-near: url("/frontend/themes/wedding/bentar/img/gate.webp") center bottom / auto min(88%, 46rem) no-repeat;
    --sr-front: url("/frontend/themes/wedding/bentar/img/front.webp") center bottom / max(110%, 44rem) auto no-repeat;
    --sr-gate-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cpath fill='%23411823' d='M200 600 H30 V520 H44 V450 H58 V385 H74 V325 H90 V270 H106 V220 H122 V172 H138 V128 H152 V88 H166 V52 H178 V20 H188 V0 H200z'/%3E%3Cpath fill='%23d98a52' fill-opacity='.4' d='M196 0 H200 V600 H196z'/%3E%3Cg fill='%235a2430'%3E%3Crect x='44' y='450' width='156' height='8'/%3E%3Crect x='74' y='325' width='126' height='6'/%3E%3Crect x='106' y='220' width='94' height='6'/%3E%3Crect x='138' y='128' width='62' height='5'/%3E%3C/g%3E%3C/svg%3E") right bottom / auto 96% no-repeat, url("/frontend/themes/wedding/bentar/img/sky.webp") left center / 200vw auto no-repeat, #3b1d4a;
    --sr-gate-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cg transform='translate(200 0) scale(-1 1)'%3E%3Cpath fill='%23411823' d='M200 600 H30 V520 H44 V450 H58 V385 H74 V325 H90 V270 H106 V220 H122 V172 H138 V128 H152 V88 H166 V52 H178 V20 H188 V0 H200z'/%3E%3Cpath fill='%23d98a52' fill-opacity='.4' d='M196 0 H200 V600 H196z'/%3E%3Cg fill='%235a2430'%3E%3Crect x='44' y='450' width='156' height='8'/%3E%3Crect x='74' y='325' width='126' height='6'/%3E%3Crect x='106' y='220' width='94' height='6'/%3E%3Crect x='138' y='128' width='62' height='5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") left bottom / auto 96% no-repeat, url("/frontend/themes/wedding/bentar/img/sky.webp") right center / 200vw auto no-repeat, #3b1d4a;
}
:root[data-theme="bentar"][data-scheme="dark"] {
    --sr-sky: linear-gradient(rgba(13, 10, 38, .55), rgba(13, 10, 38, .7)), url("/frontend/themes/wedding/bentar/img/sky.webp") center 30% / cover no-repeat;
}


/* Tema Fase 5 (4 Dec 2026): the cover card's own ornament, the split gate in silhouette. */
.sr-opening-card::before { content: ""; display: block; width: 6.5rem; height: 3.2rem; margin-bottom: .6rem; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M46 50V6h-6v7h-6v8h-6v8h-6v8h-8v7H6v6zM54 50V6h6v7h6v8h6v8h6v8h8v7h8v6z'/%3E%3Cpath d='M43 6V1h3v5zM57 6V1h-3v5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M46 50V6h-6v7h-6v8h-6v8h-6v8h-8v7H6v6zM54 50V6h6v7h6v8h6v8h6v8h8v7h8v6z'/%3E%3Cpath d='M43 6V1h3v5zM57 6V1h-3v5z'/%3E%3C/svg%3E") center / contain no-repeat; }
