/* Mandala: kertas krem, teks cokelat abu, mandala emas di sudut. Mandala dibuat dari gradien, tanpa file gambar. */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Sans:wght@400;500;700&family=Mrs+Saint+Delafield&display=swap');

:root {
    --bg: #f7f2e8; --card: #fffdf9; --ink: #6b5c50; --muted: #8c7d70; --line: #e6dccd;
    --accent: #6b5c50; --on-accent: #ffffff;
    --font-head: 'Abril Fatface', Georgia, serif; --font-name: 'Abril Fatface', Georgia, serif; --font-body: 'DM Sans', system-ui, sans-serif;
}
body { background: #e9e1d2; }
.sheet { box-shadow: inset 0 0 0 10px var(--bg), inset 0 0 0 11px #dccbb2; }
.cover { background: var(--bg); }
.hero { isolation: isolate; padding-top: 7rem; }
/* Mandala emas di sudut, berputar sangat pelan. */
.cover::before, .hero::before, .closing::before { content: ''; position: absolute; top: -80px; right: -80px; width: 240px; aspect-ratio: 1; z-index: -1;
    background: #dd9b58; opacity: .7; animation: spin 140s linear infinite;
    -webkit-mask: url(/themes/ornaments/mandala.svg) center / contain no-repeat; mask: url(/themes/ornaments/mandala.svg) center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .cover::before, .hero::before, .closing::before { animation: none; } }
.cover::after, .hero::after { content: ''; position: absolute; left: -50px; top: -50px; width: 150px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle at 60% 60%, #f3d9c4, #f3d9c400 70%); }
.closing { isolation: isolate; overflow: hidden; }
.closing::before { top: auto; right: auto; bottom: -90px; left: -90px; }
.ornament { --ornament-color: #dd9b58; }
.eyebrow { font: 400 2.6rem 'Mrs Saint Delafield', cursive; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 0; }
.names { font-size: clamp(2.2rem, 10vw, 3rem); }
.hero > .countdown { border-top: 3px dashed #cfc3b2; padding-top: .75rem; }
.title { font-size: 1.8rem; }
.title::after { content: ''; display: block; width: 50px; margin: .6rem auto 0; border-top: 3px dotted #e2a86b; }
.person img { border: 6px solid #fff; outline: 1px solid #dccbb2; }

/* Hiasan berwarna di sudut (public/themes/hiasan). */
.sheet section .deco { display: block; --deco: none; --deco-img: url(/themes/hiasan/mawar-peach.svg); --deco-opacity: .95; }
/* Noda cat air bergantian kiri-kanan di bagian isi. */
.sheet section:not(.hero):nth-of-type(odd) { background: url(/themes/hiasan/cat-air-peach.svg) right -110px top 0 / 280px no-repeat; }
.sheet section:not(.hero):nth-of-type(even) { background: url(/themes/hiasan/cat-air-peach.svg) left -110px bottom 0 / 280px no-repeat; }
.sheet { background: url(/themes/hiasan/kertas.svg), var(--bg); }
