/* Mutiara (Seri Elegant). 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: "Bodoni Moda"; src: url("/frontend/assets/fonts/bodoni-moda-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/frontend/assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; 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="mutiara"] {
    --bg: #f7f3ec; --surface: #fffdf8; --ink: #16213a; --muted: #4f5a72; --accent: #1f3460; --accent-ink: #fffdf8; --line: #d9d2c4;
    --heading: "Bodoni Moda", Didot, serif; --body: "Jost", system-ui, sans-serif;
    --sr-panel: #fffdf8; --sr-panel-line: #e2dacb; --sr-panel-radius: 2px; --sr-button-radius: 2px; --sr-halo: 247, 243, 236;
    --sr-sky: radial-gradient(120% 70% at 50% 0%, #fffdf8, #f2ece1 70%);
    --sr-gate-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%2316213a'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%23f3eee4'/%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23ffffff'/%3E%3C/svg%3E") 0 0 / 40px 40px, #16213a; --sr-gate-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%2316213a'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%23f3eee4'/%3E%3Ccircle cx='18' cy='18' r='1.6' fill='%23ffffff'/%3E%3C/svg%3E") 20px 20px / 40px 40px, #16213a; --sr-veil: linear-gradient(#16213a, #1f2c4a);
    --sr-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'%3E%3Ccircle cx='10' cy='10' r='5'/%3E%3Ccircle cx='30' cy='10' r='8'/%3E%3Ccircle cx='50' cy='10' r='5'/%3E%3C/svg%3E");
    --sr-frame-radius: 50%; --sr-frame-ring: 0 0 0 1px #c9bfa9, 0 0 0 9px #fffdf8, 0 0 0 10px #1f3460;
    --sr-spark: radial-gradient(circle at 35% 35%, #ffffff, #e9e2d3 60%, #cfc6b3); --sr-spark-size: 9px;
}
:root[data-theme="mutiara"][data-scheme="dark"] {
    color-scheme: dark;
    --bg: #0f1729; --surface: #17213a; --ink: #f3eee4; --muted: #b9c1d4; --accent: #e7dcc4; --accent-ink: #0f1729; --line: #2c3a5c;
    --sr-panel: #17213a; --sr-panel-line: #2c3a5c; --sr-halo: 15, 23, 41;
    --sr-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='.55'%3E%3Ccircle cx='14' cy='20' r='2.2'/%3E%3Ccircle cx='70' cy='48' r='1.6'/%3E%3Ccircle cx='100' cy='96' r='2'/%3E%3Ccircle cx='36' cy='88' r='1.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 120px 120px repeat, radial-gradient(120% 70% at 50% 0%, #1b2847, #0f1729 70%);
}
.sr-names, .sr-title, .sr-opening-title { font-weight: 400; letter-spacing: -.01em; }
.sr-amp { font-style: italic; font-weight: 400; }
.sr-kicker { font-weight: 500; letter-spacing: .32em; }
.sr-frame, .sr-portrait.is-framed { aspect-ratio: 4 / 5; }
/* The cover opens like a jewellery box: midnight panels strung with pearls part to show the ivory card. */
.sr-opening .sr-opening-card { color: var(--ink); }
/* Painted layers (owner art, 19 Nov 2026). */
:root[data-theme="mutiara"] {
    --sr-gate-l: url("/frontend/themes/wedding/mutiara/img/satin.webp") right center / 200% auto no-repeat, #16213a; --sr-gate-r: url("/frontend/themes/wedding/mutiara/img/satin.webp") left center / 200% auto no-repeat, #16213a;
}
:root[data-theme="mutiara"][data-scheme="dark"] {
    
}
.sr-rule { width: min(17rem, 78%); height: 2.4rem; background: url("/frontend/themes/wedding/mutiara/img/pearls.webp") center / contain no-repeat;
    filter: drop-shadow(0 1px 0 rgba(22, 33, 58, .55)) drop-shadow(0 2px 3px rgba(22, 33, 58, .35)); }
.sr-rule::before, .sr-rule::after, .sr-rule-mark { display: none; }

/* Tema Fase 5 (4 Dec 2026): the cover card's own ornament, a strand of pearls hung over the monogram. */
.sr-opening-card::before { content: ""; display: block; width: 9rem; height: 2.4rem; 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 26'%3E%3Ccircle cx='4.0' cy='3.0' r='2.7'/%3E%3Ccircle cx='11.7' cy='7.3' r='2.7'/%3E%3Ccircle cx='19.3' cy='10.8' r='2.7'/%3E%3Ccircle cx='27.0' cy='13.5' r='2.7'/%3E%3Ccircle cx='34.7' cy='15.4' r='2.7'/%3E%3Ccircle cx='42.3' cy='16.6' r='2.7'/%3E%3Ccircle cx='50.0' cy='17.0' r='2.7'/%3E%3Ccircle cx='57.7' cy='16.6' r='2.7'/%3E%3Ccircle cx='65.3' cy='15.4' r='2.7'/%3E%3Ccircle cx='73.0' cy='13.5' r='2.7'/%3E%3Ccircle cx='80.7' cy='10.8' r='2.7'/%3E%3Ccircle cx='88.3' cy='7.3' r='2.7'/%3E%3Ccircle cx='96.0' cy='3.0' r='2.7'/%3E%3Cellipse cx='50' cy='22.6' rx='2.4' ry='3'/%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 26'%3E%3Ccircle cx='4.0' cy='3.0' r='2.7'/%3E%3Ccircle cx='11.7' cy='7.3' r='2.7'/%3E%3Ccircle cx='19.3' cy='10.8' r='2.7'/%3E%3Ccircle cx='27.0' cy='13.5' r='2.7'/%3E%3Ccircle cx='34.7' cy='15.4' r='2.7'/%3E%3Ccircle cx='42.3' cy='16.6' r='2.7'/%3E%3Ccircle cx='50.0' cy='17.0' r='2.7'/%3E%3Ccircle cx='57.7' cy='16.6' r='2.7'/%3E%3Ccircle cx='65.3' cy='15.4' r='2.7'/%3E%3Ccircle cx='73.0' cy='13.5' r='2.7'/%3E%3Ccircle cx='80.7' cy='10.8' r='2.7'/%3E%3Ccircle cx='88.3' cy='7.3' r='2.7'/%3E%3Ccircle cx='96.0' cy='3.0' r='2.7'/%3E%3Cellipse cx='50' cy='22.6' rx='2.4' ry='3'/%3E%3C/svg%3E") center / contain no-repeat; }
