

.aa-borang * { font-family: var(--rsvp-btn-font, inherit) !important; }
.aa-ucapan * { font-family: var(--wish-btn-font, inherit) !important; }
.aa-hadiah * { font-family: var(--gift-btn-font, inherit) !important; }
.aa-borang, .aa-ucapan, .aa-hadiah, .aa-kalender, .aa-hitung { align-self: stretch !important; font-size: 13px; }
.aa-borang input, .aa-borang select, .aa-borang textarea, .aa-hadiah input, .aa-hadiah select, .aa-hadiah textarea {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid currentColor !important; border-radius: 0 !important; color: inherit !important; font-size: 13px !important; }
.aa-borang input::placeholder, .aa-borang textarea::placeholder, .aa-hadiah input::placeholder, .aa-hadiah textarea::placeholder { color: inherit !important; opacity: .6; }
.aa-borang label, .aa-borang p, .aa-hadiah p, .aa-hadiah label { color: inherit !important; }
.aa-ucapan input, .aa-ucapan textarea { background: rgba(255,255,255,.55) !important; border: 1px solid rgba(0,0,0,.12) !important; border-radius: 2px !important; color: inherit !important; font-size: 13px !important; }
.aa-borang button, .aa-ucapan button, .aa-hadiah button { font-weight: 600 !important; font-size: 11px !important; letter-spacing: .16em !important; text-transform: uppercase !important; border-radius: 0px !important; }
.aa-hadiah .gw__btn { color: rgba(255,255,255,.96) !important; }
.aa-borang .custom-control-label::before { border-color: currentColor !important; background-color: transparent !important; box-shadow: none !important; }
.aa-borang .custom-control-input:checked ~ .custom-control-label::before { background-color: currentColor !important; }
.aa-ucapan b { font-weight: 700; font-size: 14px; letter-spacing: .03em; color: inherit; }
.aa-ucapan .message-wish { border-radius: 3px !important; box-shadow: none !important; }
.aa-kalender .db-cal__title { font-size: 13px; letter-spacing: .3em; }
.aa-tombol .btn-widget { font-weight: 600 !important; letter-spacing: .18em !important; height: 40px; padding: 0 24px !important; display: inline-flex !important; align-items: center; justify-content: center;
  width: 100%; white-space: nowrap; box-sizing: border-box; }
.aa-tombol-garis .btn-widget { border: 1px solid currentColor !important; background: transparent !important; }
.aa-tombol .btn-widget:active, .aa-tombol-buka .obtn-widget:active { transform: scale(.98); }
.aa-hias:not(.is-editor) { pointer-events: none; }
.aa-jeda { opacity: 0; }

/* seksi dipotong mendatar saja: pita sobek (top -2) menutup tepi atas seksinya sendiri; kalau dipotong di garis yang sama
   dengan latar seksi, anti-alias tepi pecahan meninggalkan garis gelap 1 px di tiap sambungan */
.aa-seksi, .aa-seksi > .wb-children { overflow-x: clip !important; overflow-y: visible !important; }
/* tekstur memudar di 90 px terbawah: pita sobek seksi berikutnya (warna rata) menyambung tanpa garis beda nada */
.aa-kertas { mix-blend-mode: overlay; opacity: .8; pointer-events: none; -webkit-mask: linear-gradient(to bottom, black calc(100% - 90px), transparent); mask: linear-gradient(to bottom, black calc(100% - 90px), transparent); }
.aa-hias-gb:not(.is-editor), .aa-hias:not(.is-editor) { pointer-events: none; }
.aa-vinyet { background: radial-gradient(120% 80% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .38) 100%); }
/* tepi kertas sobek (masker Kliping Asmara): blok bertoken, serat putih sedikit di bawahnya */
.aa-sobek { -webkit-mask: url(../img/b1b9d180-d042-11f1-b040-91f555303722.png) 0 0 / 390px 100% repeat-x; mask: url(../img/b1b9d180-d042-11f1-b040-91f555303722.png) 0 0 / 390px 100% repeat-x; pointer-events: none; }
.aa-sobek-serat { background: rgba(255, 255, 255, .78) !important; -webkit-mask-position: 37px 0; mask-position: 37px 0; }
.aa-sobek-atas { -webkit-mask: url(../img/ab6a3060-d045-11f1-b040-91f555303722.png) 0 0 / 390px 120px repeat-x; mask: url(../img/ab6a3060-d045-11f1-b040-91f555303722.png) 0 0 / 390px 120px repeat-x; filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, .25)); }
/* cetakan foto: bingkai putih tipis (album) / tebal bawah (polaroid); bayangan di kotak gambar */
.aa-cetak .image-block, .aa-polaroid .image-block, .aa-slide .image-block, .aa-booth .image-block { filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .32)) drop-shadow(0 1px 2px rgba(0, 0, 0, .22)); }
.aa-cetak img { border: 7px solid rgba(252, 249, 242, 1); box-sizing: border-box; background: rgba(252, 249, 242, 1); filter: sepia(.12) contrast(1.02); }
.aa-polaroid img { border: 11px solid rgba(252, 249, 242, 1); border-bottom-width: 50px; box-sizing: border-box; background: rgba(252, 249, 242, 1); filter: sepia(.1); }
/* sudut foto album: 4 segitiga warna blok (currentColor) di pojok cetakan */
.aa-sudut .image-block::after { content: ''; position: absolute; inset: -1px; pointer-events: none; opacity: .94;
  background: linear-gradient(135deg, currentColor 0 calc(50% - 1.5px), rgba(255, 255, 255, .42) calc(50% - 1.5px) 50%, transparent 51%) left top / 26px 26px no-repeat,
    linear-gradient(225deg, currentColor 0 calc(50% - 1.5px), rgba(255, 255, 255, .42) calc(50% - 1.5px) 50%, transparent 51%) right top / 26px 26px no-repeat,
    linear-gradient(45deg, currentColor 0 calc(50% - 1.5px), rgba(255, 255, 255, .42) calc(50% - 1.5px) 50%, transparent 51%) left bottom / 26px 26px no-repeat,
    linear-gradient(315deg, currentColor 0 calc(50% - 1.5px), rgba(255, 255, 255, .42) calc(50% - 1.5px) 50%, transparent 51%) right bottom / 26px 26px no-repeat; }
/* strip photobooth sampul: kertas berbayang, foto hitam-putih */
.aa-strip-kertas { filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .5)) drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.aa-booth img { filter: grayscale(1) sepia(.14) contrast(1.06) brightness(1.03); }
.aa-booth .image-block { filter: none; }
.aa-booth.animate__animated { animation-name: aa-kilat; animation-duration: .9s; }
@keyframes aa-kilat { 0% { opacity: 0; filter: brightness(3.2); } 14% { opacity: 1; filter: brightness(2.6); } 100% { opacity: 1; filter: brightness(1); } }
/* bingkai slide 35 mm (cerita) */
.aa-slide img { border: 15px solid rgba(250, 247, 240, 1); border-radius: 7px; box-sizing: border-box; background: rgba(250, 247, 240, 1); outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -15px; }
.aa-cerita-item { min-height: 192px; }
.aa-cerita-item .aa-cerita-teks { margin-left: 188px !important; margin-right: 26px !important; }
.aa-cerita-item:nth-child(even) .aa-cerita-teks { margin-left: 26px !important; margin-right: 188px !important; }
.aa-cerita-item:nth-child(even) .aa-cerita-teks, .aa-cerita-item:nth-child(even) .aa-cerita-teks * { text-align: right !important; }
.aa-cerita-item:nth-child(even) .aa-cerita-gbr { left: auto !important; right: 28px !important; }
.aa-cerita-item:nth-child(odd) .aa-cerita-gbr img { transform: rotate(-3deg); }
.aa-cerita-item:nth-child(even) .aa-cerita-gbr img { transform: rotate(3deg); }
/* pita film negatif: lubang = blok warna seksi dimasker persegi membulat berulang */
.aa-film { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.aa-film-lubang { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10'%3E%3Crect x='5' y='0' width='12' height='10' rx='2.5' fill='black'/%3E%3C/svg%3E") 0 0 / 22px 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10'%3E%3Crect x='5' y='0' width='12' height='10' rx='2.5' fill='black'/%3E%3C/svg%3E") 0 0 / 22px 100% repeat-x; }
.aa-film-bingkai { border-radius: 3px; }
/* jam balik (hitung mundur) */
.aa-hitung .db-sep { display: none !important; }
.aa-hitung .db-countdown { gap: 10px !important; }
.aa-hitung .db-cd { min-width: 0 !important; }
.aa-hitung .db-cd span { display: block; min-width: 64px; padding: 13px 6px 11px; border-radius: 6px; font-size: 34px !important; font-weight: 600 !important; text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .26) 0 49.4%, rgba(0, 0, 0, .55) 49.4% 50.6%, rgba(0, 0, 0, .36) 50.6% 100%);
  box-shadow: 0 8px 12px -8px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .07); }
.aa-hitung .db-cd small { margin-top: 9px; font-size: 9px !important; letter-spacing: .22em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.aa-simpan .atc-btn { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 44px; border: 1.5px solid currentColor !important; border-radius: 0 !important; background: transparent !important;
  font-weight: 700 !important; font-size: 11px !important; letter-spacing: .2em !important; text-transform: uppercase; box-shadow: none !important; }
/* tiket acara: sobekan di garis potong (takik atas-bawah) + garis putus-putus + nomor tiket di potongan */
.aa-rd-wrap { counter-reset: aa-tiket; }
.aa-rd-item { display: flex; justify-content: center; }
.aa-tiket { position: relative; counter-increment: aa-tiket; outline: 1.5px dashed currentColor; outline-offset: -8px;
  -webkit-mask: radial-gradient(circle at 58px 0, transparent 10px, black 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at 58px 100%, transparent 10px, black 10.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 58px 0, transparent 10px, black 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at 58px 100%, transparent 10px, black 10.5px) bottom / 100% 51% no-repeat;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18)); }
.aa-tiket::before { content: ''; position: absolute; left: 57px; top: 12px; bottom: 12px; border-left: 2px dashed currentColor; opacity: .6; pointer-events: none; }
.aa-tiket::after { content: 'No. ' counter(aa-tiket, decimal-leading-zero); position: absolute; left: 0; top: 0; bottom: 0; width: 58px; display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform: rotate(180deg); font-family: monospace; font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; opacity: .9; pointer-events: none; }
.aa-rd-item:nth-child(odd) .aa-tiket { transform: rotate(-1deg); }
.aa-rd-item:nth-child(even) .aa-tiket { transform: rotate(1deg); }
.aa-tombol-peta .btn-widget { border: 1.5px solid currentColor !important; background: transparent !important; border-radius: 0 !important; height: 34px !important; font-size: 10px !important; padding: 0 14px !important; }
.aa-tombol-garis-kotak .btn-widget { border: 1.5px solid currentColor !important; background: transparent !important; border-radius: 0 !important; height: 46px; }
/* tombol buka = tiket: isian token, garis putus di dalam, takik kiri-kanan */
.aa-tombol-buka .obtn-widget { border-radius: 0 !important; font-weight: 700 !important; font-size: 11px !important; letter-spacing: .24em !important; text-transform: uppercase !important; padding: 15px 38px !important;
  outline: 1.5px dashed currentColor; outline-offset: -7px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45));
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 8px, black 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, black 8.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 8px, black 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, black 8.5px) right / 51% 100% no-repeat; }
.aa-tamu .gn-name { display: block; line-height: 1.15; }
/* galeri = dua strip photobooth: kolom kiri foto 1-4, kanan 5-8 (turun 40px); foto 9 dst ke kisi kecil */
.aa-strip .gb-grid { grid-template-columns: 136px 136px !important; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 34px; justify-content: center; }
.aa-strip .gb-gimg { aspect-ratio: auto !important; height: 128px; box-sizing: border-box; object-fit: cover; border: 0 solid rgba(252, 249, 242, 1); border-width: 3px 10px; background: rgba(252, 249, 242, 1); border-radius: 0 !important; filter: sepia(.1); }
.aa-strip .gb-gimg:nth-child(4n+1) { height: 135px; border-top-width: 10px; }
.aa-strip .gb-gimg:nth-child(4n) { height: 160px; border-bottom-width: 35px; }
.aa-strip .gb-gimg:nth-child(n+5) { transform: translateY(40px); }
.aa-strip .gb-gimg:nth-child(n+9) { display: none !important; }
.aa-strip .gb-grid { filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); }
.aa-galeri-sisa .gb-gimg:nth-child(-n+8) { display: none !important; }
.aa-galeri-sisa img { border: 5px solid rgba(252, 249, 242, 1); border-bottom-width: 16px; box-shadow: 0 8px 14px -10px rgba(0, 0, 0, .6); box-sizing: border-box; }
/* amplop berlapis (sampul & RSVP): blok bertoken dimasker bentuk + kilau abu hard-light; bayangan = blok hitam dimasker buram */
.aa-amp-punggung { -webkit-mask: url(../img/ab975160-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ab975160-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; }
.aa-amp-punggung { isolation: isolate; }
.aa-amp-punggung::before { content: ''; position: absolute; inset: 0; background: url(../img/ab813150-d457-11f1-bf0e-2396c516d73e.jpg) center / 100% 100% no-repeat; mix-blend-mode: hard-light; opacity: 0.9; pointer-events: none; }
.aa-amp-lapis { -webkit-mask: url(../img/ab5b80e0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ab5b80e0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; }
.aa-amp-lapis { isolation: isolate; }
.aa-amp-lapis::before { content: ''; position: absolute; inset: 0; background: url(../img/ab4539c0-d457-11f1-bf0e-2396c516d73e.jpg) center / 100% 100% no-repeat; mix-blend-mode: hard-light; opacity: 0.92; pointer-events: none; }
.aa-amp-saku { -webkit-mask: url(../img/ac0359a0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ac0359a0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; }
.aa-amp-saku { isolation: isolate; }
.aa-amp-saku::before { content: ''; position: absolute; inset: 0; background: url(../img/abe65bc0-d457-11f1-bf0e-2396c516d73e.jpg) center / 100% 100% no-repeat; mix-blend-mode: hard-light; opacity: 0.9; pointer-events: none; }
.aa-segel { -webkit-mask: url(../img/ac6501a0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ac6501a0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; }
.aa-segel { isolation: isolate; }
.aa-segel::before { content: ''; position: absolute; inset: 0; background: url(../img/ac4dd020-d457-11f1-bf0e-2396c516d73e.jpg) center / 100% 100% no-repeat; mix-blend-mode: hard-light; opacity: 1; pointer-events: none; }
.aa-amp-bayang { background: rgba(0, 0, 0, 0.55) !important; -webkit-mask: url(../img/ab01a110-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ab01a110-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; pointer-events: none; }
.aa-amp-saku-bayang { background: rgba(0, 0, 0, 0.3) !important; -webkit-mask: url(../img/abbd28e0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/abbd28e0-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; pointer-events: none; }
.aa-segel-bayang { background: rgba(0, 0, 0, 0.6) !important; -webkit-mask: url(../img/ac251270-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; mask: url(../img/ac251270-d457-11f1-bf0e-2396c516d73e.png) center / 100% 100% no-repeat; pointer-events: none; }
/* isi amplop naik pendek dari dalam kantong (bukan fadeInUp 100% yang menembus dasar amplop) */
.aa-naik.animate__animated { animation-name: aa-naik; animation-duration: 1.2s; animation-timing-function: cubic-bezier(.22, .7, .25, 1); }
@keyframes aa-naik { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
.aa-booth.aa-naik.animate__animated { animation-name: aa-naik, aa-kilat-saja; animation-duration: 1.2s, 1.5s; }
@keyframes aa-kilat-saja { 0%, 62% { filter: brightness(1); } 70% { filter: brightness(2.6); } 100% { filter: brightness(1); } }
/* kartu RSVP di dalam amplop: kertas indeks bergaris */
.aa-kartu-amp { background-image: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) !important; box-shadow: 0 -1px 8px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .04); border-radius: 2px; }
.aa-kartu-amp::before { content: ''; position: absolute; inset: 104px 18px 0 18px; background: repeating-linear-gradient(to bottom, transparent 0 21px, currentColor 21px 22px); opacity: .12; pointer-events: none; }
.aa-kartu-amp::after { content: ''; position: absolute; left: 0; right: 0; top: 16px; height: 1.5px; background: currentColor; opacity: .28; pointer-events: none; }
/* kartu indeks bergaris (RSVP & tanda kasih) */
.aa-kartu { position: relative; background-image: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) !important; box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .14); }
.aa-kartu::before { content: ''; position: absolute; inset: 30px 0 0 0; background: repeating-linear-gradient(to bottom, transparent 0 27px, currentColor 27px 28px); opacity: .1; pointer-events: none; }
.aa-kartu::after { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1.5px; background: currentColor; opacity: .3; pointer-events: none; }
.aa-kutipan { position: relative; }
.aa-hadiah .gw__tab { border-color: currentColor !important; border-radius: 0 !important; }
.aa-hadiah .gw__tab.is-active { background: var(--gift-accent) !important; color: rgba(255, 255, 255, .96) !important; box-shadow: none !important; }
.aa-ucapan .message-wish { border-left: 3px solid currentColor !important; }
.aa-ucapan input, .aa-ucapan textarea { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .28) !important; color: inherit !important; }
.aa-ucapan input::placeholder, .aa-ucapan textarea::placeholder { color: inherit !important; opacity: .6; }
.km{--km-paper:rgb(240, 231, 215) !important;--km-ink:rgb(43, 30, 22) !important;--km-accent:rgb(180, 83, 46) !important;--km-on-accent:rgb(240, 231, 215) !important;--km-line:rgba(59, 36, 23, 0.22) !important;--km-tint:rgb(228, 214, 192) !important;--km-mute:rgb(128, 112, 98) !important;}
@media (prefers-reduced-motion: reduce) { .animate__animated { animation: none !important; } }

/* grup alur 390 berkunci proporsi: kotak luar setinggi isi yang sudah diskala (patchLebarHpBesar) */
.aa-skala:not(.is-editor) { height: auto !important; }
