/* Gaya tema "seluloid" (keluarga tema foto). Dibuat oleh scripts/tema-foto/buat.mjs; ubah di sana, bukan di sini.
   Sinematik gelap: foto pasangan dalam potongan rol film berlubang di kedua tepi, nama seperti judul film. */
.inv[data-tema="seluloid"]{
  --bg:#121212;--bg2:#1b1b1b;--ink:#f2efe8;--soft:#c4beb2;--accent:#e8b84a;--on-accent:#121212;--line:#2e2e2e;
  --rsvp-bg:#0a0a0a;--rsvp-ink:#f2efe8;--rsvp-soft:#c4beb2;--rsvp-eyebrow:#e8b84a;--field:rgba(255,255,255,.08);--field-ink:#f2efe8;--field-line:rgba(255,255,255,.35);--field-ph:#a9a9a9;--err:#ffb8a8;
  --f-display:"Bentham",Georgia,serif;--f-body:"Cutive Mono",ui-monospace,monospace;--w-display:400;--r-btn:2px;--r-field:2px;
  --hias-tampil:block;--hias-op:0.4;--hias-warna:var(--accent);--hias-l:96px;--hias-t:24px;--hias-atas:14px;--hias-bawah:14px;--hias-tepi:10px;--hias-motif:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20120%2030%27%3E%3Cg%20fill%3D%27%23000%27%3E%3Crect%20x%3D%270%27%20y%3D%270%27%20width%3D%27120%27%20height%3D%276%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2724%27%20width%3D%27120%27%20height%3D%276%27%2F%3E%3Crect%20x%3D%274%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2719%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2734%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2764%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2779%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%2794%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%27109%27%20y%3D%2710%27%20width%3D%278%27%20height%3D%2710%27%20rx%3D%271.5%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --muncul-geser:0 10px;--muncul-kurva:cubic-bezier(.2,.8,.3,1);
}
[data-tema="seluloid"] .sec:nth-of-type(even){background:var(--bg2)}
[data-tema="seluloid"] .eyebrow{letter-spacing:.24em;font-size:11px;font-weight:700;color:var(--accent)}
[data-tema="seluloid"] .guest strong,[data-tema="seluloid"] .wish-name{font-family:var(--f-body);font-weight:700;font-size:18px}
[data-tema="seluloid"] .event{background:var(--bg2);padding:26px 20px;border-radius:2px;box-shadow:0 0 0 1px var(--line)}
[data-tema="seluloid"] .event h3{color:var(--accent)}
[data-tema="seluloid"] .wish{padding:14px 16px;border-radius:2px;background:var(--bg2)}
[data-tema="seluloid"] .gift{background:var(--bg2);border-radius:2px;box-shadow:0 0 0 1px var(--line)}
[data-tema="seluloid"] .count{gap:8px}
[data-tema="seluloid"] .count div{padding:16px 4px;border-radius:2px;background:var(--bg2);box-shadow:0 0 0 1px var(--line)}
[data-tema="seluloid"] .count b{font-family:var(--f-display);font-size:30px;color:var(--accent)}
[data-tema="seluloid"] .count span{font-size:10px;letter-spacing:.14em;color:var(--soft)}
[data-tema="seluloid"] .tile{border-radius:2px}
[data-tema="seluloid"] .amp{color:var(--accent)}
[data-tema="seluloid"] .foot{background:var(--rsvp-bg);color:var(--rsvp-ink)}
[data-tema="seluloid"] .foot-names{color:var(--rsvp-eyebrow)}
[data-tema="seluloid"] .s-rsvp{--accent:var(--rsvp-eyebrow);--on-accent:var(--rsvp-bg)}
[data-tema="seluloid"] .nav-mengambang{background:var(--bg2);box-shadow:0 0 0 1px var(--line),0 10px 24px rgb(0 0 0 / .14)}
/* Bingkai foto dibatasi tinggi layar agar tombol Buka Undangan selalu terlihat (gulir terkunci di sampul). */
[data-tema="seluloid"]{--cf-maks:max(150px,calc(100svh - var(--cf-sisa,430px)))}
[data-tema="seluloid"] .cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(12px,2.6svh,22px);padding:clamp(24px,5svh,56px) 24px clamp(24px,5svh,60px);overflow:hidden}
[data-tema="seluloid"] .cover-frame{gap:10px}
[data-tema="seluloid"] .cover-names span{line-height:1.04;color:var(--ink)}
[data-tema="seluloid"] .cover-names i{font-family:var(--f-display);font-style:normal;color:var(--accent)}
[data-tema="seluloid"] .cover-foto{animation:seluloidMuncul 1.1s cubic-bezier(.2,.8,.3,1) both}
@keyframes seluloidMuncul{from{opacity:0;scale:.9;translate:0 16px}to{opacity:1;scale:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){[data-tema="seluloid"] .cover-foto{animation:none}}
[data-tema="seluloid"] .cover{background:radial-gradient(70% 40% at 50% 30%,#2a2620,var(--bg))}
[data-tema="seluloid"] .cover-foto{width:min(78vw,340px,calc(var(--cf-maks) * .8));aspect-ratio:4/5;padding:10px 26px;background:#0b0b0b;rotate:-2deg;
  -webkit-mask:linear-gradient(#000 0 0),repeating-linear-gradient(#000 0 10px,transparent 10px 22px) 7px 0/12px 100% no-repeat,repeating-linear-gradient(#000 0 10px,transparent 10px 22px) calc(100% - 7px) 0/12px 100% no-repeat;
  -webkit-mask-composite:xor;mask-composite:exclude;box-shadow:0 20px 50px rgb(0 0 0 / .6)}
[data-tema="seluloid"] .cf-gambar{filter:saturate(.85) contrast(1.05)}
[data-tema="seluloid"] .cover-names span{font-size:clamp(40px,12vw,56px);color:#f2efe8}
[data-tema="seluloid"] .cover-names i{font-size:24px}
[data-tema="seluloid"] .cover-date{font-family:var(--f-body);font-size:13px;letter-spacing:.3em;color:var(--accent)}
[data-tema="seluloid"] .cover .eyebrow::before{content:"— ";}
[data-tema="seluloid"] .cover .eyebrow::after{content:" —";}
[data-tema="seluloid"] .sec:not(.s-rsvp) h2{font-size:clamp(34px,10vw,46px);color:#f2efe8}
[data-tema="seluloid"] .photo{width:150px;height:190px;border-radius:2px;box-shadow:0 0 0 6px #0b0b0b,0 0 0 7px #3a3a3a}
[data-tema="seluloid"] .event{border-left:4px solid var(--accent)}
.inv[data-tema="seluloid"][data-varian="sepia"]{--bg:#1c150e;--bg2:#251c13;--ink:#f6ecdc;--soft:#d6c4a8;--accent:#e0a85a;--line:#3a2e22;--rsvp-bg:#120d08;--rsvp-eyebrow:#e0a85a;}
.inv[data-tema="seluloid"][data-varian="sepia"] .cf-gambar{filter:sepia(.55) contrast(1.05)}
.inv[data-tema="seluloid"][data-varian="sepia"] .cover{background:radial-gradient(70% 40% at 50% 30%,#3a2c1c,var(--bg))}
.inv[data-tema="seluloid"][data-varian="terang"]{--bg:#f1eee8;--bg2:#faf8f4;--ink:#1a1814;--soft:#4c4840;--accent:#9a5a10;--on-accent:#fff;--line:#e0dbd0;--rsvp-bg:#1a1814;--rsvp-eyebrow:#e8b84a;--field:#fff;--field-ink:#1a1814;--field-line:#fff;--field-ph:#6a645a;}
.inv[data-tema="seluloid"][data-varian="terang"] .cover{background:radial-gradient(70% 40% at 50% 30%,#fff,var(--bg))}
.inv[data-tema="seluloid"][data-varian="terang"] .cover-names span,.inv[data-tema="seluloid"][data-varian="terang"] .sec:not(.s-rsvp) h2{color:#1a1814}
.inv[data-tema="seluloid"][data-varian="terang"] .cover-foto{box-shadow:0 20px 50px rgb(0 0 0 / .25)}
