/* Royal Blue Floral — Batch 23 rewrite mengikuti visual yang disetujui Rafif
   (17 Nov 2026 23:16 WIB). Palet: biru royal #173B70, navy #0F2B52, dusty
   blue #8398B6, ivory #FBF8F1, emas #C5A15C, mawar sebagai ornamen.
   Tipografi: Pinyon Script (nama), Playfair Display (judul), Cormorant
   Garamond (subjudul/kutipan), Jost (isi). Semua teks di panel solid —
   tidak ada teks yang menimpa foto. Nama mempelai GELAP di atas panel
   terang (pelajaran Cinematic v1). Kontras teks utama ≥ 4,5:1 (terukur):
   #173B70/ivory 10,44:1; #26354A/ivory 11,71:1; #4A5E7C/ivory 6,22:1;
   #536A8A/ivory 5,22:1; emas teks #8A6D2B/ivory 4,60:1; ivory/navy 10,44:1.
   Prefix kelas: uc-royal__. Lightbox memakai ENGINE ([data-uc-lightbox-open]);
   skin ini tidak merender dialog lightbox sendiri. */
.uc-royal{
  --ur-blue:#173B70; --ur-navy:#0F2B52; --ur-dusty:#8398B6; --ur-ivory:#FBF8F1;
  --ur-paper:#FFFDF8; --ur-gold:#C5A15C; --ur-gold-deep:#8A6D2B; --ur-ink:#26354A;
  --ur-ink-soft:#4A5E7C; --ur-eyebrow:#536A8A; --ur-line:#D3DCE8; --ur-soft-blue:#E9EEF5;
  position:relative; overflow:hidden; isolation:isolate;
  color:var(--ur-ink); background:var(--ur-ivory);
  font-family:"Jost",Arial,sans-serif; line-height:1.7;
}
.uc-royal *{ box-sizing:border-box; }
.uc-royal img{ max-width:100%; }
.uc-royal section{ position:relative; scroll-margin-top:18px; }
.uc-royal h1, .uc-royal h2, .uc-royal h3{
  font-family:"Playfair Display",Georgia,serif; font-weight:600; line-height:1.2; color:var(--ur-blue);
}
.uc-royal p{ margin:.6em 0; }

/* --- elemen bersama --- */
.uc-royal__kicker{
  margin:0 0 8px; color:var(--ur-eyebrow); font-size:.7rem; font-weight:600;
  letter-spacing:.32em; text-transform:uppercase;
}
.uc-royal__title{ margin:0 0 10px; font-size:1.72rem; }
.uc-royal__script{
  font-family:"Pinyon Script",cursive; font-weight:400; font-size:2.5rem;
  line-height:1.1; color:var(--ur-blue); margin:0 0 6px;
}
.uc-royal__body{ font-size:.94rem; line-height:1.75; color:var(--ur-ink-soft); margin:0 auto; max-width:36ch; }
.uc-royal__divider{ display:flex; align-items:center; justify-content:center; gap:10px; margin:16px auto 18px; color:var(--ur-gold); }
.uc-royal__divider span{ display:block; width:38px; height:1px; background:var(--ur-gold); }
.uc-royal__fleur{ display:inline-block; color:var(--ur-gold); font:12px/1 Georgia,serif; letter-spacing:.07em; }
.uc-royal__rose{ display:inline-block; color:var(--ur-blue); font:42px/1 Georgia,serif; }
.uc-royal__button{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:48px; padding:13px 30px; border:none; border-radius:999px;
  font:500 .86rem "Jost",Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase;
  text-decoration:none; cursor:pointer;
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.uc-royal__button:hover{ transform:translateY(-2px); }
.uc-royal__button:active{ transform:scale(.97); }
.uc-royal__button:focus-visible{ outline:3px solid var(--ur-dusty); outline-offset:3px; }
.uc-royal__button--primary{ background:var(--ur-blue); color:#FFFDF8; box-shadow:0 10px 22px -8px rgba(23,59,112,.55); }
.uc-royal__button--primary:hover{ background:var(--ur-navy); }
.uc-royal__button--outline{ border:1.5px solid var(--ur-gold); background:var(--ur-paper); color:var(--ur-blue); }
.uc-royal__button--outline:hover{ background:#F5EDD8; }
.uc-royal__mono{
  width:52px; height:52px; margin:12px auto 0; display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--ur-gold); border-radius:50%; background:var(--ur-paper);
  font-family:"Playfair Display",serif; font-size:1rem; color:var(--ur-blue); letter-spacing:.06em;
}
.uc-royal__photo-fallback{
  display:grid; place-items:center; width:100%; height:100%; min-height:220px;
  background:var(--ur-soft-blue); color:var(--ur-blue); font-size:3rem;
}
.uc-royal__note{ font-size:.78rem; color:var(--ur-ink-soft); text-align:center; }
.uc-royal__status{ min-height:16px; display:block; color:var(--ur-blue); font-size:.78rem; text-align:center; }
.uc-royal__section{ padding:44px 26px; text-align:center; }
.uc-royal__section:nth-of-type(even){ background:var(--ur-paper); }
.uc-royal__section-head{ width:min(100%,560px); margin:0 auto 26px; position:relative; z-index:2; }
.uc-royal__section-head h2{ margin:7px 0 10px; }
.uc-royal__section-copy{ max-width:420px; margin:-12px auto 22px; color:var(--ur-ink-soft); font-size:.88rem; }

/* --- cover: foto zona atas, teks di panel ivory solid di bawah --- */
.uc-royal__cover{ padding:0 0 26px; text-align:center; background:var(--ur-ivory); }
.uc-royal__cover-photo{ height:clamp(300px,47svh,520px); position:relative; overflow:hidden; }
.uc-royal__cover-photo::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:26px;
  background:var(--ur-ivory); border-radius:26px 26px 0 0;
}
.uc-royal__cover-img{ width:100%; height:100%; object-fit:cover; object-position:center 25%; display:block; }
.uc-royal__cover-frame{ position:absolute; inset:14px; border:1.5px solid rgba(255,255,255,.75); border-radius:18px; pointer-events:none; }
.uc-royal__cover-panel{
  background:var(--ur-ivory); text-align:center; padding:6px 30px 26px;
  display:flex; flex-direction:column; align-items:center;
}
.uc-royal__cover-panel .uc-royal__mono{ margin:0 0 12px; width:64px; height:64px; font-size:1.15rem; }
.uc-royal__cover-panel .uc-royal__kicker{ color:var(--ur-eyebrow); font-size:.7rem; letter-spacing:.34em; margin-bottom:6px; }
.uc-royal__cover h1{
  margin:2px 0 0; color:var(--ur-blue); font-size:clamp(2rem,8.5vw,2.9rem);
  font-weight:600; line-height:1.15; letter-spacing:-.01em;
}
.uc-royal__cover h1 i{ color:var(--ur-gold-deep); font-family:"Cormorant Garamond",serif; font-style:italic; font-weight:600; }
.uc-royal__cover-date{
  font-family:"Cormorant Garamond",serif; font-size:1.06rem; font-weight:600;
  letter-spacing:.22em; color:var(--ur-ink); margin:10px 0 0;
}
.uc-royal__guest{ margin-top:16px; font-size:.82rem; color:var(--ur-ink-soft); line-height:1.55; }
.uc-royal__guest strong{ display:block; font-size:.98rem; color:var(--ur-ink); font-weight:600; margin-top:2px; }
.uc-royal__cover-panel .uc-royal__button{ margin-top:16px; }
.uc-royal.is-open .uc-royal__cover{ display:none; }

/* --- pembuka --- */
.uc-royal__intro .uc-royal__script{ font-size:2.6rem; margin:18px 0 2px; }
.uc-royal__intro-names{ color:var(--ur-blue); font-family:"Playfair Display",serif; font-size:1.35rem; font-weight:600; }
.uc-royal__intro-names i{ color:var(--ur-gold-deep); font-family:"Cormorant Garamond",serif; font-style:italic; }
.uc-royal__intro-date{ margin:5px 0 0; color:var(--ur-ink-soft); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; }
.uc-royal__intro > .uc-royal__fleur{ margin-top:17px; }

/* --- mempelai --- */
.uc-royal__profile-grid{ display:grid; gap:17px; justify-items:center; width:min(100%,440px); margin:0 auto; position:relative; z-index:2; }
.uc-royal__profile-card{
  width:min(100%,390px); padding:24px 20px 21px; border:1px solid var(--ur-gold);
  border-radius:180px 180px 18px 18px; background:var(--ur-paper);
  box-shadow:0 17px 35px -18px rgba(23,59,112,.28);
}
.uc-royal__profile-portrait{
  width:132px; aspect-ratio:1; margin:0 auto 13px; display:grid; place-items:center; overflow:hidden;
  border:1px solid var(--ur-gold); border-radius:50%; background:var(--ur-soft-blue);
  box-shadow:inset 0 0 0 7px rgba(255,255,255,.65); color:var(--ur-blue);
  font:600 35px/1 "Playfair Display",Georgia,serif;
}
.uc-royal__profile-portrait img{ width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.uc-royal__profile-card .uc-royal__script{ font-size:2.4rem; margin:10px 0 2px; }
.uc-royal__profile-card h3{ margin:5px 0 6px; color:var(--ur-blue); font-size:1.35rem; font-weight:600; line-height:1.15; }
.uc-royal__parents{ font-size:.85rem; color:var(--ur-ink-soft); line-height:1.6; margin:6px auto 0; max-width:30ch; }
.uc-royal__profile-ampersand{ color:var(--ur-gold-deep); font:italic 29px/1 Georgia,serif; }
.uc-royal__social{
  width:fit-content; margin:10px auto 0; padding:6px 12px; display:flex; align-items:center; gap:5px;
  border:1px solid var(--ur-line); border-radius:999px; color:var(--ur-blue); font-size:.7rem;
  font-weight:600; text-decoration:none;
}

/* --- countdown (latar biru muda, sel navy solid) --- */
.uc-royal__countdown{ background:var(--ur-soft-blue); }
.uc-royal__countdown .uc-royal__script{ margin-bottom:6px; }
.uc-royal__cd-grid{ display:flex; gap:9px; justify-content:center; margin-top:20px; }
.uc-royal__cd-cell{
  background:var(--ur-blue); color:#FBF8F1; border-radius:14px; width:70px; padding:12px 0 10px;
  box-shadow:0 10px 20px -10px rgba(23,59,112,.6);
}
.uc-royal__cd-cell b{ display:block; font-family:"Playfair Display",serif; font-size:1.55rem; font-weight:600; line-height:1; font-variant-numeric:tabular-nums; }
.uc-royal__cd-cell span{ display:block; font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; margin-top:6px; color:#D9E4F2; }
.uc-royal__cd-note{ margin-top:16px; font-size:.85rem; color:var(--ur-ink-soft); }

/* --- acara --- */
.uc-royal__event-grid{ display:grid; gap:17px; width:min(100%,610px); margin:0 auto; position:relative; z-index:2; }
.uc-royal__event-card{
  padding:22px 20px 19px; position:relative; border:1px solid var(--ur-gold); border-radius:23px;
  background:var(--ur-paper); box-shadow:0 15px 31px -18px rgba(23,59,112,.25);
}
.uc-royal__event-seal{
  width:48px; aspect-ratio:1; margin:0 auto 9px; display:grid; place-items:center;
  border:1px solid var(--ur-gold); border-radius:50%; background:var(--ur-soft-blue);
  color:var(--ur-blue); font:22px Georgia,serif;
}
.uc-royal__event-card h3{ margin:5px 0 15px; color:var(--ur-blue); font-size:1.5rem; font-weight:600; line-height:1.14; }
.uc-royal__event-facts{ display:grid; }
.uc-royal__event-facts p{ margin:0; padding:11px 0; display:grid; grid-template-columns:104px 1fr; gap:9px; border-top:1px solid var(--ur-line); color:var(--ur-ink-soft); font-size:.82rem; text-align:left; }
.uc-royal__event-facts b{ color:var(--ur-blue); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.uc-royal__event-note{ color:var(--ur-ink-soft); font-size:.82rem; }
.uc-royal__map{
  width:fit-content; margin:10px auto 0; padding:9px 15px; display:flex; align-items:center; justify-content:center;
  border-radius:999px; background:var(--ur-blue); color:#FFFDF8; font-size:.72rem; font-weight:700;
  letter-spacing:.06em; text-decoration:none;
}
.uc-royal__map:hover{ background:var(--ur-navy); }

/* --- cerita --- */
.uc-royal__timeline{ text-align:left; max-width:330px; margin:24px auto 0; position:relative; padding-left:22px; }
.uc-royal__timeline::before{ content:""; position:absolute; left:5px; top:8px; bottom:8px; width:1.5px; background:var(--ur-gold); }
.uc-royal__story-item{ position:relative; padding-bottom:24px; }
.uc-royal__story-item:last-child{ padding-bottom:0; }
.uc-royal__story-item::before{
  content:""; position:absolute; left:-22px; top:5px; width:11px; height:11px; border-radius:50%;
  background:var(--ur-blue); border:2.5px solid var(--ur-ivory); box-shadow:0 0 0 1.5px var(--ur-gold);
}
.uc-royal__story-photo{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:14px; margin-bottom:12px; }
.uc-royal__story-year{ font-size:.7rem; letter-spacing:.26em; text-transform:uppercase; color:var(--ur-gold-deep); font-weight:600; margin:0; }
.uc-royal__story-item h3{ font-family:"Cormorant Garamond",serif; font-size:1.28rem; font-weight:700; color:var(--ur-blue); margin:3px 0 5px; }
.uc-royal__story-item p:not(.uc-royal__story-year){ font-size:.88rem; line-height:1.7; color:var(--ur-ink-soft); margin:0; }

/* --- galeri (lightbox ENGINE: [data-uc-lightbox-open]) --- */
.uc-royal__gallery-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; width:min(100%,610px); margin-left:auto; margin-right:auto; position:relative; z-index:2; }
.uc-royal__gallery-item{
  border:1px solid var(--ur-gold); padding:5px; background:var(--ur-paper); cursor:pointer; border-radius:19px 19px 13px 13px; overflow:hidden;
  box-shadow:0 8px 22px -12px rgba(23,59,112,.3); min-height:0; line-height:0; position:relative;
}
.uc-royal__gallery-item img{ width:100%; height:100%; aspect-ratio:.9; object-fit:cover; display:block; border-radius:inherit; transition:transform .4s ease; }
.uc-royal__gallery-item:hover img, .uc-royal__gallery-item:focus-visible img{ transform:scale(1.04); }
.uc-royal__gallery-item:focus-visible{ outline:3px solid var(--ur-blue); outline-offset:2px; }
.uc-royal__gallery-item > span{
  position:absolute; right:10px; bottom:10px; width:29px; aspect-ratio:1; display:grid; place-items:center;
  border-radius:50%; background:rgba(23,59,112,.9); color:#FFFDF8; font-size:17px; line-height:1;
}
.uc-royal__gallery-empty{
  grid-column:1/-1; min-height:240px; padding:24px; display:grid; align-content:center; justify-items:center; gap:8px;
  border:1px dashed var(--ur-dusty); border-radius:22px; background:var(--ur-paper); color:var(--ur-ink-soft);
}
.uc-royal__gallery-empty strong{ color:var(--ur-blue); font:600 21px "Playfair Display",Georgia,serif; }
.uc-royal__gallery-empty small{ color:var(--ur-ink-soft); font-size:.72rem; }
.uc-royal__gallery-note{ margin-top:16px; font-size:.78rem; color:var(--ur-ink-soft); line-height:1.6; }

/* --- amplop --- */
.uc-royal__gift{ background:var(--ur-soft-blue); }
.uc-royal__gift-accounts{ display:grid; gap:14px; width:min(100%,520px); margin:22px auto 0; position:relative; z-index:2; }
.uc-royal__gift-card{
  display:grid; gap:6px; padding:24px 22px; border-radius:20px; text-align:center; color:#FBF8F1; position:relative; overflow:hidden;
  background:linear-gradient(135deg,#214B7C 0%,#173B70 60%,#0F2B52 100%);
  box-shadow:0 18px 34px -16px rgba(15,43,82,.65);
}
.uc-royal__gift-card::after{
  content:""; position:absolute; right:-46px; top:-46px; width:150px; height:150px; border-radius:50%;
  border:22px solid rgba(197,161,92,.25); pointer-events:none;
}
.uc-royal__gift-card .uc-royal__eyebrow{ color:#D9E4F2; }
.uc-royal__gift-number{ font-family:"Playfair Display",serif; font-size:1.5rem; letter-spacing:.08em; margin:4px 0; font-variant-numeric:tabular-nums; position:relative; z-index:1; }
.uc-royal__gift-holder{ font-size:.86rem; color:#E4EDF7; margin:0; position:relative; z-index:1; }
.uc-royal__gift-copy{ justify-self:center; margin-top:10px; position:relative; z-index:1; border:1.5px solid var(--ur-gold); background:rgba(251,248,241,.12); color:#FBF8F1; }
.uc-royal__gift-copy:hover{ background:rgba(251,248,241,.22); }
.uc-royal__gift-address{ width:min(100%,520px); margin:20px auto 0; font-style:normal; position:relative; z-index:2; }
.uc-royal__gift-address p{ margin:6px 0 0; }
.uc-royal__gift-note{ width:min(100%,520px); margin:20px auto 0; color:var(--ur-ink-soft); font-size:.85rem; line-height:1.6; position:relative; z-index:2; }

/* --- form RSVP & ucapan --- */
.uc-royal__rsvp, .uc-royal__wish-form{
  width:min(100%,490px); margin:8px auto 0; padding:18px 16px; display:grid; gap:9px; position:relative; z-index:2;
  border:1px solid var(--ur-gold); border-radius:21px; background:var(--ur-paper);
  box-shadow:0 15px 34px -18px rgba(23,59,112,.25); text-align:left;
}
.uc-royal__wish-form{ margin-top:22px; }
.uc-royal__rsvp > label, .uc-royal__wish-form > label{ display:grid; gap:6px; color:var(--ur-eyebrow); font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.uc-royal__rsvp input:not([type="radio"]), .uc-royal__rsvp select, .uc-royal__rsvp textarea,
.uc-royal__wish-form input, .uc-royal__wish-form textarea{
  width:100%; min-width:0; padding:11px 13px; border:1px solid var(--ur-line); border-radius:10px; outline:none;
  background:var(--ur-paper); color:var(--ur-ink); font:400 .86rem/1.5 "Jost",Arial,sans-serif;
}
.uc-royal__rsvp textarea, .uc-royal__wish-form textarea{ min-height:88px; resize:vertical; }
.uc-royal__rsvp input:focus, .uc-royal__rsvp select:focus, .uc-royal__rsvp textarea:focus,
.uc-royal__wish-form input:focus, .uc-royal__wish-form textarea:focus{ border-color:var(--ur-blue); box-shadow:0 0 0 3px rgba(23,59,112,.18); }
.uc-royal__rsvp fieldset{ min-width:0; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; border:0; }
.uc-royal__rsvp legend{ margin-bottom:7px; color:var(--ur-eyebrow); font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.uc-royal__rsvp fieldset label{ min-width:0; flex:1; cursor:pointer; }
.uc-royal__rsvp fieldset input{ position:absolute; opacity:0; }
.uc-royal__rsvp fieldset span{
  min-height:42px; padding:10px 12px; display:grid; place-items:center; border:1px solid var(--ur-line);
  border-radius:999px; background:var(--ur-paper); color:var(--ur-ink-soft); font-size:.78rem;
}
.uc-royal__rsvp fieldset input:checked + span{ border-color:var(--ur-blue); background:var(--ur-soft-blue); color:var(--ur-blue); font-weight:600; }
.uc-royal__rsvp .uc-royal__button, .uc-royal__wish-form .uc-royal__button{ width:100%; border:none; }
.uc-royal__rsvp > small, .uc-royal__wish-status{ min-height:16px; display:block; color:var(--ur-blue); font-size:.78rem; text-align:center; }
.uc-royal__local-note{ margin:13px auto 0; position:relative; z-index:2; text-align:center; font-size:.72rem; color:var(--ur-ink-soft); }
.uc-royal__wish-note{ margin:0; font-size:.78rem; color:var(--ur-ink-soft); text-align:center; }

/* --- ucapan --- */
.uc-royal__wishes{ width:min(100%,490px); margin:22px auto 0; position:relative; z-index:2; }
.uc-royal__wish-count{ font-size:.8rem; color:var(--ur-ink-soft); text-align:center; }
.uc-royal__wish-card{ margin:8px 0; padding:13px 15px; border:1px solid var(--ur-line); border-radius:14px; background:var(--ur-paper); text-align:left; }
.uc-royal__wish-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.uc-royal__wish-card strong{ font-weight:600; font-size:.92rem; color:var(--ur-blue); }
.uc-royal__wish-card__badge{
  font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; font-weight:600;
  padding:4px 9px; border-radius:999px; background:#F6E3C8; color:#7A5510;
}
.uc-royal__wish-card p{ margin:6px 0 0; font-size:.88rem; line-height:1.6; color:var(--ur-ink-soft); }
.uc-royal__wish-card small{ display:block; margin-top:6px; font-size:.74rem; color:var(--ur-eyebrow); }
.uc-royal__wish-empty{ color:var(--ur-ink-soft); font-size:.88rem; text-align:center; }

/* --- penutup --- */
.uc-royal__closing{ background:var(--ur-paper); }
.uc-royal__closing .uc-royal__mono{ width:64px; height:64px; font-size:1.15rem; margin:6px auto 14px; }
.uc-royal__sign{ font-family:"Pinyon Script",cursive; font-size:2.7rem; color:var(--ur-blue); margin:10px 0 0; line-height:1.15; font-weight:400; }
.uc-royal__sign i{ font-family:"Cormorant Garamond",serif; font-style:italic; color:var(--ur-gold-deep); }
.uc-royal__foot-note{ margin-top:26px; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ur-eyebrow); }
.uc-royal__closing .uc-royal__button{ margin-top:20px; }

/* --- tombol musik preset (engine) --- */
.uc-music-btn{
  position:absolute; z-index:5; top:16px; left:16px; width:44px; height:44px; display:grid; place-items:center;
  border-radius:50%; border:1px solid rgba(255,255,255,.65); background:rgba(0,0,0,.45); color:#fff;
  font-size:20px; line-height:1; cursor:pointer;
}
.uc-music-btn.is-playing{ background:#fff; color:#111; }

/* --- reveal (engine) --- */
.uc-royal .uc-reveal{ opacity:0; transform:translateY(16px); transition:opacity .55s ease, transform .55s cubic-bezier(.22,.75,.28,1); }
.uc-royal .uc-reveal.is-visible{ opacity:1; transform:none; }

/* --- navigasi bawah (engine) --- */
.uc-royal .uc-bottom-nav{ --nav-emerald:#173B70; --nav-gold:#C5A15C; --nav-gold-soft:#E9EEF5; --nav-ivory:#FBF8F1; }
.uc-royal .uc-bottom-nav__pill{ background:rgba(23,59,112,.97); }
.uc-royal .uc-bottom-nav__item{ color:#FBF8F1; }
.uc-royal .uc-bottom-nav__item.is-active{ color:#173B70; background:linear-gradient(145deg,#F5EDD8,#E9EEF5); }

/* Batch 3: clearance bottom-nav — konten terakhir tidak tertutup pill nav. */
.uc-royal.is-open{ padding-bottom:calc(104px + env(safe-area-inset-bottom)); }
.uc-royal.is-open > .uc-bottom-nav{ transform:translate(-50%,0); opacity:1; pointer-events:auto; }

/* --- katalog preview (dipakai dist/app.js: royal-catalog-preview) --- */
.royal-catalog-preview{
  min-height:180px; height:100%; padding:18px 14px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  position:relative; overflow:hidden; background:radial-gradient(ellipse at center,#FFFDF8 0 43%,#E9EEF5 100%);
  color:#173B70; text-align:center;
}
.royal-catalog-preview__frame{ position:absolute; inset:7px 13%; border:1px solid #C5A15C; border-radius:48% 48% 10px 10px/27% 27% 10px 10px; box-shadow:inset 0 0 0 5px rgba(255,255,255,.68); }
.royal-catalog-preview small, .royal-catalog-preview strong, .royal-catalog-preview em, .royal-catalog-preview__monogram{ position:relative; z-index:1; }
.royal-catalog-preview small{ color:#536A8A; font-size:.69rem; letter-spacing:.13em; }
.royal-catalog-preview strong{ max-width:100%; margin:7px 0; font:600 1.35rem/1.04 "Playfair Display",Georgia,serif; }
.royal-catalog-preview em{ color:#8A6D2B; font-size:.69rem; font-style:normal; }
.royal-catalog-preview__monogram{
  width:38px; aspect-ratio:1; display:grid; place-items:center; border:1px solid #C5A15C; border-radius:50%;
  background:rgba(251,248,241,.92); font:600 12px Georgia,serif;
}

/* --- responsif --- */
@media (min-width:640px){
  .uc-royal__profile-grid{ grid-template-columns:1fr auto 1fr; align-items:center; width:min(100%,620px); gap:13px; }
  .uc-royal__profile-card{ padding:24px 14px; }
  .uc-royal__event-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
  .uc-royal__event-card{ padding-inline:17px; }
  .uc-royal__gallery-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .uc-royal__gallery-item img{ aspect-ratio:.85; }
}
@media (max-width:760px){
  .uc-royal__section{ padding:44px 20px; }
  .uc-royal__title{ font-size:1.55rem; }
  .uc-royal__script{ font-size:2.2rem; }
  .uc-royal__cd-grid{ gap:7px; }
  .uc-royal__cd-cell{ width:64px; }
  .uc-royal__cover-panel{ padding:6px 20px 22px; }
}
@media (max-width:560px){
  body:has(.invite-wrap .uc-royal) header .nav-links,
  body:has(.invite-wrap .uc-royal) header .nav-actions{ display:none; }
  body:has(.invite-wrap .uc-royal) header .nav{ height:64px; min-height:64px; }
  .invite-wrap:has(.uc-royal){ overflow-x:clip; }
  .invite-wrap > .container:has(.uc-royal){ width:min(100%,760px); max-width:100vw; padding-inline:0; }
  .invite-wrap > .container:has(.uc-royal) > div:first-child{ padding-inline:16px; }
  .uc-royal{ box-shadow:none; }
  .uc-royal__cover-panel .uc-royal__script{ font-size:2.5rem; }
  .uc-royal__cd-cell{ width:58px; padding:10px 0 8px; }
  .uc-royal__cd-cell b{ font-size:1.3rem; }
  .uc-royal__event-facts p{ grid-template-columns:82px 1fr; gap:7px; }
  .uc-royal__gallery-grid{ gap:7px; }
  .uc-royal__gallery-item{ padding:4px; border-radius:15px; }
  .uc-royal__rsvp, .uc-royal__wish-form{ padding:16px 14px; gap:8px; }
}
@media (max-width:390px){
  .uc-royal__cover h1{ font-size:1.85rem; }
  .uc-royal__event-facts p{ grid-template-columns:1fr; gap:2px; }
}
@media (prefers-reduced-motion:reduce){
  .uc-royal *, .uc-royal *::before, .uc-royal *::after{
    scroll-behavior:auto !important; animation-duration:.01ms !important;
    animation-iteration-count:1 !important; transition-duration:.01ms !important;
  }
  .uc-royal .uc-reveal{ opacity:1; transform:none; }
  .uc-royal__gallery-item img{ transition:none !important; }
}
