/* TEMA: TERAZO (Modern, animasi) — lantai teraso berbutir warna; ubin teraso mengecil
   sambil berputar membuka sampul. Putih pualam, hijau botol, merah muda, mustard, arang. */
.inv[data-tema="terazo"]{
  --bg:#f3f1ee;--bg2:#fff;--ink:#222222;--soft:#555250;--accent:#2a7258;--on-accent:#fff;--line:#e2dfda;
  --f-display:"Bagel Fat One",system-ui,sans-serif;--f-body:"Mona Sans",system-ui,sans-serif;--r-btn:999px;--r-field:16px;
  --rsvp-bg:#222222;--rsvp-ink:#f3f1ee;--rsvp-soft:#cfccc8;--rsvp-eyebrow:#f2b8bf;
  --field:#fff;--field-ink:#222;--field-line:#fff;--field-ph:#6b6764;--err:#ffbcae;
  --pb-teks:#222222;--merahmuda:#e8a0a8;--mustard:#e3b23c;--arang:#3a3a3c;
  --teraso:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23f3f1ee'/%3E%3Cellipse cx='14' cy='18' rx='7' ry='4' transform='rotate(20 14 18)' fill='%232a7258'/%3E%3Cellipse cx='52' cy='12' rx='5' ry='3' transform='rotate(-30 52 12)' fill='%23e8a0a8'/%3E%3Cellipse cx='88' cy='22' rx='8' ry='5' transform='rotate(60 88 22)' fill='%23e3b23c'/%3E%3Cellipse cx='30' cy='52' rx='4' ry='3' transform='rotate(10 30 52)' fill='%233a3a3c'/%3E%3Cellipse cx='70' cy='48' rx='9' ry='5' transform='rotate(-15 70 48)' fill='%232a7258'/%3E%3Cellipse cx='104' cy='60' rx='5' ry='4' transform='rotate(40 104 60)' fill='%23e8a0a8'/%3E%3Cellipse cx='12' cy='86' rx='6' ry='4' transform='rotate(-50 12 86)' fill='%23e3b23c'/%3E%3Cellipse cx='48' cy='92' rx='8' ry='4' transform='rotate(25 48 92)' fill='%233a3a3c'/%3E%3Cellipse cx='86' cy='96' rx='5' ry='3' transform='rotate(70 86 96)' fill='%232a7258'/%3E%3Cellipse cx='110' cy='104' rx='4' ry='3' transform='rotate(0 110 104)' fill='%23e8a0a8'/%3E%3Cellipse cx='62' cy='72' rx='3' ry='2' transform='rotate(30 62 72)' fill='%23e3b23c'/%3E%3Cellipse cx='26' cy='110' rx='3' ry='2' transform='rotate(-20 26 110)' fill='%233a3a3c'/%3E%3C/svg%3E") 0 0/120px 120px;--teraso-2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23ebe7e1'/%3E%3Cellipse cx='14' cy='18' rx='7' ry='4' transform='rotate(20 14 18)' fill='%23e8a0a8'/%3E%3Cellipse cx='52' cy='12' rx='5' ry='3' transform='rotate(-30 52 12)' fill='%232a7258'/%3E%3Cellipse cx='88' cy='22' rx='8' ry='5' transform='rotate(60 88 22)' fill='%233a3a3c'/%3E%3Cellipse cx='30' cy='52' rx='4' ry='3' transform='rotate(10 30 52)' fill='%23e3b23c'/%3E%3Cellipse cx='70' cy='48' rx='9' ry='5' transform='rotate(-15 70 48)' fill='%23e8a0a8'/%3E%3Cellipse cx='104' cy='60' rx='5' ry='4' transform='rotate(40 104 60)' fill='%232a7258'/%3E%3Cellipse cx='12' cy='86' rx='6' ry='4' transform='rotate(-50 12 86)' fill='%233a3a3c'/%3E%3Cellipse cx='48' cy='92' rx='8' ry='4' transform='rotate(25 48 92)' fill='%23e3b23c'/%3E%3Cellipse cx='86' cy='96' rx='5' ry='3' transform='rotate(70 86 96)' fill='%23e8a0a8'/%3E%3Cellipse cx='110' cy='104' rx='4' ry='3' transform='rotate(0 110 104)' fill='%232a7258'/%3E%3Cellipse cx='62' cy='72' rx='3' ry='2' transform='rotate(30 62 72)' fill='%233a3a3c'/%3E%3Cellipse cx='26' cy='110' rx='3' ry='2' transform='rotate(-20 26 110)' fill='%23e3b23c'/%3E%3C/svg%3E") 0 0/120px 120px;
  --pb-tabur:var(--teraso);--pb-tabur-2:var(--teraso-2);
  --blob:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M21 3c8 0 16 6 16 15s-6 19-17 19S3 30 3 21 12 3 21 3z'/%3E%3C/svg%3E");
  --ptk-warna:var(--merahmuda);--ptk-op:.95;--ptk-ukuran:11px;--ptk-motif:var(--blob);
  --hias-tampil:block;--hias-op:.6;--hias-warna:var(--mustard);--hias-l:26px;--hias-t:26px;--hias-atas:22px;--hias-bawah:22px;--hias-motif:var(--blob);
  --muncul-skala:.92;--muncul-putar:4deg;--muncul-geser:0 12px;--muncul-kurva:cubic-bezier(.3,1.4,.5,1);
}
[data-tema="terazo"] .ptk-1{--ptk-warna:var(--accent)}
[data-tema="terazo"] .ptk-2{--ptk-warna:var(--mustard)}
[data-tema="terazo"] .pb-keping{box-shadow:inset 0 0 0 1px rgb(0 0 0 / .06)}
[data-tema="terazo"] .pb-tengah{gap:8px;width:min(270px,76vw);padding:34px 24px;background:#fff;border-radius:46% 54% 50% 50% / 42% 44% 56% 58%;box-shadow:0 20px 40px rgb(0 0 0 / .15)}
[data-tema="terazo"] .pb-label{font-size:10.5px;opacity:1;color:#555250}
[data-tema="terazo"] .pb-nama{font-size:clamp(36px,11vw,46px);line-height:1;color:var(--accent)}
[data-tema="terazo"] .pb-tamu strong{font-family:var(--f-body);font-weight:600;font-size:18px}
[data-tema="terazo"] .pb-tombol{padding:12px 22px;font-size:11.5px}
[data-tema="terazo"] .cover{display:flex;flex-direction:column;justify-content:center;padding:60px 24px;background:var(--teraso)}
[data-tema="terazo"] .cover-frame{background:#fff;padding:40px 24px;border-radius:48% 52% 46% 54% / 40% 42% 58% 60%;box-shadow:0 24px 50px rgb(0 0 0 / .14)}
[data-tema="terazo"] .cover .eyebrow{color:var(--soft);letter-spacing:.24em;font-size:10.5px}
[data-tema="terazo"] .cover-names span{font-size:clamp(50px,15vw,66px);line-height:.95;color:var(--accent)}
[data-tema="terazo"] .cover-names i{font-family:var(--f-body);font-style:normal;font-size:22px;color:var(--mustard)}
[data-tema="terazo"] .cover-date{letter-spacing:.16em;font-size:12px;font-weight:600;text-transform:uppercase}
[data-tema="terazo"] .guest strong,[data-tema="terazo"] .wish-name{font-family:var(--f-body);font-weight:600;font-size:18px}
[data-tema="terazo"] .eyebrow{letter-spacing:.24em;font-size:11px;font-weight:600}
[data-tema="terazo"] .sec>.eyebrow::before{content:"";display:block;width:64px;height:16px;margin:0 auto 12px;background:var(--teraso-2);border-radius:999px}
[data-tema="terazo"] .sec:nth-of-type(even){background:var(--bg2)}
[data-tema="terazo"] .sec h2{font-size:clamp(34px,10vw,46px);line-height:1}
[data-tema="terazo"] .photo{width:162px;height:176px;border-radius:46% 54% 48% 52% / 44% 46% 54% 56%;background:var(--teraso);color:var(--accent);box-shadow:0 0 0 6px var(--bg2),0 14px 30px rgb(0 0 0 / .12)}
[data-tema="terazo"] .photo span{display:grid;place-items:center;width:90px;height:90px;border-radius:50%;background:#fff}
[data-tema="terazo"] .host h2{font-size:30px;line-height:1.05;margin-top:16px}
[data-tema="terazo"] .amp{color:var(--mustard)}
[data-tema="terazo"] .count div{background:var(--bg2);border-radius:44% 56% 50% 50% / 50% 46% 54% 50%;padding:18px 4px 14px;box-shadow:inset 0 0 0 2px var(--line)}
[data-tema="terazo"] .sec:nth-of-type(even) .count div{background:var(--bg)}
[data-tema="terazo"] .count b{color:var(--accent);font-size:30px}
[data-tema="terazo"] .count span{font-size:9.5px;font-weight:600}
[data-tema="terazo"] .event{position:relative;background:var(--bg2);border-radius:26px;padding:34px 22px 24px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--line)}
[data-tema="terazo"] .sec:nth-of-type(even) .event{background:var(--bg)}
[data-tema="terazo"] .event::before{content:"";position:absolute;left:0;right:0;top:0;height:12px;background:var(--teraso-2)}
[data-tema="terazo"] .event h3{font-size:28px;color:var(--accent)}
[data-tema="terazo"] .tile{border-radius:26px}
[data-tema="terazo"] .tile:nth-child(3n+1){border-radius:48% 52% 46% 54% / 40% 42% 58% 60%}
[data-tema="terazo"] .tile.ph{background:var(--teraso)}
[data-tema="terazo"] .tile.ph:nth-child(even){background:var(--teraso-2)}
[data-tema="terazo"] .wish{background:var(--bg2);border-radius:20px;padding:14px 16px}
[data-tema="terazo"] .wish-mark{font-size:0;width:16px;height:16px;margin-top:4px;background:var(--merahmuda);-webkit-mask:var(--blob) center/contain no-repeat;mask:var(--blob) center/contain no-repeat}
[data-tema="terazo"] .gift{background:var(--bg);border-radius:24px;box-shadow:inset 0 0 0 2px var(--line)}
[data-tema="terazo"] .foot{background:var(--rsvp-bg);color:var(--rsvp-ink)}
[data-tema="terazo"] .foot-names{color:var(--rsvp-eyebrow);font-size:40px}
[data-tema="terazo"] .nav-mengambang{background:color-mix(in srgb,var(--bg2) 95%,transparent);border:1px solid var(--line);border-radius:999px}
[data-tema="terazo"] .s-rsvp{--accent:#f2b8bf;--on-accent:#222}
.inv[data-tema="terazo"][data-varian="hitam"]{--bg:#1d1d1f;--bg2:#262628;--ink:#f3f1ee;--soft:#c6c3bf;--accent:#7fd1ae;--on-accent:#1d1d1f;--line:rgba(255,255,255,.12);
  --field:rgba(255,255,255,.06);--field-ink:#f3f1ee;--field-line:rgba(255,255,255,.25);--field-ph:#9a9794;--rsvp-bg:#111112;--teraso:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' width='120' height='120'%3E%3Crect width='120' height='120' fill='%231d1d1f'/%3E%3Cellipse cx='14' cy='18' rx='7' ry='4' transform='rotate(20 14 18)' fill='%237fd1ae'/%3E%3Cellipse cx='52' cy='12' rx='5' ry='3' transform='rotate(-30 52 12)' fill='%23e8a0a8'/%3E%3Cellipse cx='88' cy='22' rx='8' ry='5' transform='rotate(60 88 22)' fill='%23e3b23c'/%3E%3Cellipse cx='30' cy='52' rx='4' ry='3' transform='rotate(10 30 52)' fill='%238a8a8e'/%3E%3Cellipse cx='70' cy='48' rx='9' ry='5' transform='rotate(-15 70 48)' fill='%237fd1ae'/%3E%3Cellipse cx='104' cy='60' rx='5' ry='4' transform='rotate(40 104 60)' fill='%23e8a0a8'/%3E%3Cellipse cx='12' cy='86' rx='6' ry='4' transform='rotate(-50 12 86)' fill='%23e3b23c'/%3E%3Cellipse cx='48' cy='92' rx='8' ry='4' transform='rotate(25 48 92)' fill='%238a8a8e'/%3E%3Cellipse cx='86' cy='96' rx='5' ry='3' transform='rotate(70 86 96)' fill='%237fd1ae'/%3E%3Cellipse cx='110' cy='104' rx='4' ry='3' transform='rotate(0 110 104)' fill='%23e8a0a8'/%3E%3Cellipse cx='62' cy='72' rx='3' ry='2' transform='rotate(30 62 72)' fill='%23e3b23c'/%3E%3Cellipse cx='26' cy='110' rx='3' ry='2' transform='rotate(-20 26 110)' fill='%238a8a8e'/%3E%3C/svg%3E") 0 0/120px 120px}
.inv[data-tema="terazo"][data-varian="hitam"] :is(.cover-frame,.photo span){background:#262628}
.inv[data-tema="terazo"][data-varian="hitam"] .pb-tengah{background:#262628;--pb-teks:#f3f1ee}
.inv[data-tema="terazo"][data-varian="hitam"] .pb-label{color:#c6c3bf}
.inv[data-tema="terazo"][data-varian="hitam"] .s-rsvp{--on-accent:#1d1d1f}
.inv[data-tema="terazo"][data-varian="biru"]{--accent:#2c5aa0;--merahmuda:#f0b48a;--rsvp-bg:#1c2a40;--rsvp-eyebrow:#f0c6a8;--teraso:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23f3f1ee'/%3E%3Cellipse cx='14' cy='18' rx='7' ry='4' transform='rotate(20 14 18)' fill='%232c5aa0'/%3E%3Cellipse cx='52' cy='12' rx='5' ry='3' transform='rotate(-30 52 12)' fill='%23f0b48a'/%3E%3Cellipse cx='88' cy='22' rx='8' ry='5' transform='rotate(60 88 22)' fill='%23e3b23c'/%3E%3Cellipse cx='30' cy='52' rx='4' ry='3' transform='rotate(10 30 52)' fill='%233a3a3c'/%3E%3Cellipse cx='70' cy='48' rx='9' ry='5' transform='rotate(-15 70 48)' fill='%232c5aa0'/%3E%3Cellipse cx='104' cy='60' rx='5' ry='4' transform='rotate(40 104 60)' fill='%23f0b48a'/%3E%3Cellipse cx='12' cy='86' rx='6' ry='4' transform='rotate(-50 12 86)' fill='%23e3b23c'/%3E%3Cellipse cx='48' cy='92' rx='8' ry='4' transform='rotate(25 48 92)' fill='%233a3a3c'/%3E%3Cellipse cx='86' cy='96' rx='5' ry='3' transform='rotate(70 86 96)' fill='%232c5aa0'/%3E%3Cellipse cx='110' cy='104' rx='4' ry='3' transform='rotate(0 110 104)' fill='%23f0b48a'/%3E%3Cellipse cx='62' cy='72' rx='3' ry='2' transform='rotate(30 62 72)' fill='%23e3b23c'/%3E%3Cellipse cx='26' cy='110' rx='3' ry='2' transform='rotate(-20 26 110)' fill='%233a3a3c'/%3E%3C/svg%3E") 0 0/120px 120px}
.inv[data-tema="terazo"][data-varian="biru"] .s-rsvp{--accent:#f0c6a8;--on-accent:#1c2a40}
