/* Bugis Emerald — hijau zamrud & krem emas bernuansa adat Bugis.
   Diadaptasi dari "template-undangan" (Template 4) karya yusril713, lisensi MIT. */
.theme-bugis-emerald{--on-primary:#003f30;--radius:6px;--card-border:rgba(249,231,188,.35);--shadow:0 16px 36px -16px rgba(0,0,0,.6);
  --lattice:repeating-linear-gradient(45deg,transparent 0 10px,rgba(249,231,188,.07) 10px 20px),repeating-linear-gradient(-45deg,transparent 0 10px,rgba(249,231,188,.07) 10px 20px)}
.theme-bugis-emerald .cover__bg,.theme-bugis-emerald .main,.theme-bugis-emerald .hero{background:var(--lattice),radial-gradient(circle at 50% 0%,#05664f,#003f30 65%)}
.theme-bugis-emerald .sec:nth-of-type(even):not(.hero){background:var(--lattice),#00382b}
.theme-bugis-emerald h1,.theme-bugis-emerald h2,.theme-bugis-emerald h3{letter-spacing:.04em}
.theme-bugis-emerald .cover__inner{padding:40px 24px}
/* bingkai empat sudut */
.theme-bugis-emerald .cover__inner::before,.theme-bugis-emerald .cover__inner::after,.theme-bugis-emerald .event::before,.theme-bugis-emerald .event::after,.theme-bugis-emerald .quote__box::before,.theme-bugis-emerald .quote__box::after,.theme-bugis-emerald .gift__card::before,.theme-bugis-emerald .gift__card::after{content:"";position:absolute;width:56px;height:56px;border:2px solid #f9e7bc;opacity:.55;pointer-events:none}
.theme-bugis-emerald .cover__inner::before,.theme-bugis-emerald .event::before,.theme-bugis-emerald .quote__box::before,.theme-bugis-emerald .gift__card::before{top:8px;left:8px;border-right:0;border-bottom:0}
.theme-bugis-emerald .cover__inner::after,.theme-bugis-emerald .event::after,.theme-bugis-emerald .quote__box::after,.theme-bugis-emerald .gift__card::after{bottom:8px;right:8px;border-left:0;border-top:0}
.theme-bugis-emerald .event,.theme-bugis-emerald .quote__box,.theme-bugis-emerald .gift__card{position:relative}
/* hiasan ✤ */
.theme-bugis-emerald .sec__title{text-transform:uppercase;letter-spacing:.22em;font-size:1.55rem;font-weight:600}
.theme-bugis-emerald .sec__title::before{content:"✤";display:block;font-size:1.6rem;opacity:.6;letter-spacing:0;margin-bottom:.3rem}
.theme-bugis-emerald .hero::after,.theme-bugis-emerald .closing::after{content:"✤";position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:2.6rem;color:#f9e7bc;opacity:.35}
.theme-bugis-emerald .cover__title,.theme-bugis-emerald .hero__title,.theme-bugis-emerald .person__nick,.theme-bugis-emerald .closing__title{font-size:calc(var(--title-size) * 1.15);color:#f9e7bc}
.theme-bugis-emerald .person__nick{font-size:3.1rem}
.theme-bugis-emerald .hero__title .amp,.theme-bugis-emerald .people__amp{color:#34d399}
.theme-bugis-emerald .cover__frame,.theme-bugis-emerald .person__photo{border-color:#003f30;outline:2px solid #f9e7bc;outline-offset:6px}
.theme-bugis-emerald .monogram{background:radial-gradient(circle,#05664f,#003f30);color:#f9e7bc}
.theme-bugis-emerald .event,.theme-bugis-emerald .quote__box,.theme-bugis-emerald .card,.theme-bugis-emerald .countdown div,.theme-bugis-emerald .wish{background:rgba(0,63,48,.75);border:1px solid rgba(249,231,188,.3)}
.theme-bugis-emerald .event__name{text-transform:uppercase;letter-spacing:.18em;font-size:1.3rem}
.theme-bugis-emerald .btn{border-radius:4px;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}
.theme-bugis-emerald .btn--primary{background:#f9e7bc;color:#003f30;border-color:#f9e7bc}
.theme-bugis-emerald .btn--ghost{color:#f9e7bc;border-color:rgba(249,231,188,.6)}
.theme-bugis-emerald .form input:not([type=radio]),.theme-bugis-emerald .form textarea,.theme-bugis-emerald .form select{background:rgba(0,0,0,.18);color:#f9e7bc}
.theme-bugis-emerald .bottom-nav{background:rgba(0,63,48,.88);border-radius:6px}
.theme-bugis-emerald .gift__qr{background:#fff}
