/* Undangan digital BeresinWeb - kerangka bersama
   Warna, font, dan hiasan diatur oleh file tema di folder themes/. */

:root {
  --bg: #f6f5f2;
  --bg-alt: #efede8;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --accent: #2f5d50;
  --accent-ink: #ffffff;
  --card: #ffffff;
  --line: rgba(0, 0, 0, .1);
  --cover-bg: var(--bg);
  --cover-ink: var(--ink);
  --f-display: Georgia, serif;
  --f-script: Georgia, serif;
  --f-body: system-ui, sans-serif;
  --title-size: clamp(2.8rem, 12vw, 4.2rem);
  --r: 16px;
  --btn-r: 999px;
  --col: 480px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.inv {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Teks umum */
.inv-label { font-family: var(--f-display); letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; }
.inv-title { font-family: var(--f-script); font-size: var(--title-size); line-height: 1.15; overflow-wrap: anywhere; }
.inv-title-sm { font-size: calc(var(--title-size) * .7); }
.inv-date { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .06em; }
.inv-sec-title { font-family: var(--f-script); font-size: calc(var(--title-size) * .62); line-height: 1.2; }
.inv-intro { color: var(--muted); max-width: 34ch; margin-inline: auto; }
.inv-salam { font-style: italic; color: var(--muted); }
.inv-bismillah { font-family: "Amiri", "Scheherazade New", "Traditional Arabic", serif; font-size: 1.8rem; line-height: 2; }
.inv-quote { display: grid; gap: .8em; max-width: 36ch; margin-inline: auto; font-style: italic; color: var(--muted); }
.inv-orn { color: var(--accent); margin-inline: auto; }
.inv-orn svg { width: 100%; height: auto; display: block; overflow: visible; }
.inv-orn-top { width: min(220px, 70%); }
.inv-orn-div { width: 170px; }

/* Tombol */
.inv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--btn-r);
  background: var(--accent); color: var(--accent-ink);
  border: 1.5px solid var(--accent);
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.inv-btn:hover { transform: translateY(-1px); }
.inv-btn-ghost { background: transparent; color: var(--accent); }
.inv-btn .ic { flex: none; }

/* Sampul */
.inv-cover {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--cover-bg); color: var(--cover-ink);
  text-align: center; overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  transition: transform .9s cubic-bezier(.7, 0, .2, 1), opacity .9s ease;
}
.inv-cover.is-leaving { transform: translateY(-100%); opacity: .4; }
.inv-cover-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.inv-cover-inner { position: relative; display: grid; gap: 14px; justify-items: center; max-width: 420px; width: 100%; }
.inv-guest { display: grid; gap: 4px; margin-top: 18px; padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); width: 100%; }
.inv-guest span { font-size: .85rem; opacity: .85; }
.inv-guest b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.inv-guest small { font-size: .72rem; opacity: .7; }
.inv-open { margin-top: 8px; }

/* Tata letak */
.inv-layout { min-height: 100vh; }
.inv-aside { display: none; }
.inv-main { max-width: var(--col); margin-inline: auto; background: var(--bg); position: relative; padding-bottom: 76px; }
.inv-sec { padding: 72px 28px; text-align: center; display: grid; gap: 18px; justify-items: center; position: relative; }
.inv-sec:nth-of-type(even) { background: var(--bg-alt); }

@media (min-width: 960px) {
  .inv-layout { display: grid; grid-template-columns: 1fr var(--col); }
  .inv-aside {
    display: grid; place-items: center; position: sticky; top: 0; height: 100vh;
    background: var(--cover-bg); color: var(--cover-ink); text-align: center; overflow: hidden;
  }
  .inv-aside-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
  .inv-aside-inner { position: relative; display: grid; gap: 16px; justify-items: center; padding: 40px; }
  .inv-aside .inv-title { font-size: calc(var(--title-size) * 1.3); }
  .inv-main { margin: 0; box-shadow: -20px 0 50px -30px rgba(0, 0, 0, .35); }
}

/* Pembuka */
.inv-hero { padding-top: 64px; min-height: 92vh; align-content: center; }
.inv-hero-photo { width: 220px; height: 290px; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 4px solid var(--card); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.inv-countdown { display: grid; grid-template-columns: repeat(4, 64px); gap: 10px; margin-top: 8px; }
.inv-countdown div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; display: grid; }
.inv-countdown b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; font-weight: 600; }
.inv-countdown span { font-size: .72rem; color: var(--muted); }

/* Profil */
.inv-person { display: grid; gap: 8px; justify-items: center; }
.inv-avatar { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 4px solid var(--card); box-shadow: 0 0 0 1.5px var(--accent); }
.inv-monogram { display: grid; place-items: center; background: var(--card); color: var(--accent); font-family: var(--f-script); font-size: 4.4rem; line-height: 1; }
.inv-role { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.inv-name { font-family: var(--f-script); font-size: calc(var(--title-size) * .72); line-height: 1.2; margin-top: 6px; }
.inv-fullname { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.inv-desc { color: var(--muted); max-width: 30ch; font-size: .95rem; }
.inv-ig { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; text-decoration: none; color: var(--accent); }
.inv-amp { font-family: var(--f-script); font-size: 3.6rem; line-height: 1; color: var(--accent); }

/* Kartu */
.inv-card { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; display: grid; gap: 10px; justify-items: center; }
.inv-story-text { text-align: left; justify-items: start; gap: 12px; color: var(--muted); }
.inv-event h3 { font-family: var(--f-script); font-size: calc(var(--title-size) * .5); line-height: 1.2; }
.inv-event-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: 100%; font-family: var(--f-display); }
.inv-event-date span:first-child { text-align: right; border-right: 1px solid var(--line); padding-right: 14px; }
.inv-event-date span:last-child { text-align: left; border-left: 1px solid var(--line); padding-left: 14px; }
.inv-event-date b { font-size: 2.6rem; line-height: 1; font-weight: 600; color: var(--accent); }
.inv-event-row { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .95rem; }
.inv-event-row .ic { flex: none; margin-top: 2px; color: var(--accent); }
.inv-event-venue { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.inv-event-addr { max-width: 32ch; }

/* Galeri */
.inv-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.inv-photo { padding: 0; border: 0; background: var(--card); border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.inv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.inv-photo:hover img { transform: scale(1.05); }
.inv-photo:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.inv-lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 90vh; }
.inv-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.inv-lightbox img { max-height: 86vh; border-radius: 8px; }
.inv-lightbox-close { position: fixed; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 1.6rem; cursor: pointer; }

/* Hadiah */
.inv-bank { font-family: var(--f-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.inv-acc { font-size: 1.45rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.inv-copy.is-copied { background: var(--accent); color: var(--accent-ink); }

/* RSVP & ucapan */
.inv-counts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.inv-counts li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; font-size: .8rem; color: var(--muted); display: grid; }
.inv-counts b { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); line-height: 1.2; }
.inv-form { justify-items: stretch; text-align: left; gap: 8px; }
.inv-form label, .inv-form legend { font-weight: 600; font-size: .9rem; }
.inv-form input[type="text"], .inv-form select, .inv-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); font-size: 1rem; margin-bottom: 6px;
}
.inv-form input:focus, .inv-form select:focus, .inv-form textarea:focus { outline: none; border-color: var(--accent); }
.inv-form fieldset { border: 0; padding: 0; margin: 0 0 6px; }
.inv-form legend { margin-bottom: 6px; }
.inv-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-choice label { cursor: pointer; font-weight: 500; }
.inv-choice input { position: absolute; opacity: 0; pointer-events: none; }
.inv-choice span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; }
.inv-choice input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.inv-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.inv-form .inv-btn { margin-top: 6px; }
.inv-hp { position: absolute; left: -9999px; }
.inv-alert { width: 100%; padding: 12px 16px; border-radius: 12px; font-size: .92rem; background: var(--card); border: 1.5px solid var(--accent); }
.inv-alert-error { border-color: #c2352b; color: #c2352b; }
.inv-wishes { width: 100%; max-height: 460px; overflow-y: auto; display: grid; gap: 10px; text-align: left; padding: 4px; }
.inv-wish { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; font-size: .93rem; }
.inv-wish-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inv-wish small { color: var(--muted); font-size: .75rem; }
.inv-badge { font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); white-space: nowrap; }
.inv-badge-hadir { background: var(--accent); color: var(--accent-ink); }
.inv-empty { text-align: center; color: var(--muted); font-style: italic; }

/* Penutup */
.inv-closing { padding-bottom: 56px; }
.inv-footer { text-align: center; padding: 22px 20px 30px; font-size: .82rem; color: var(--muted); }
.inv-footer a { text-decoration: none; }

/* Menu bawah */
.inv-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  max-width: var(--col); margin-inline: auto;
}
.inv-nav a { display: grid; justify-items: center; gap: 2px; padding: 6px 4px; font-size: .68rem; text-decoration: none; color: var(--muted); flex: 1; border-radius: 10px; }
.inv-nav a.is-active { color: var(--accent); }
body.is-locked .inv-nav, body.is-locked .inv-music { visibility: hidden; }

/* Musik */
.inv-music {
  position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: calc(80px + env(safe-area-inset-bottom));
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.inv-music .off { display: none; }
.inv-music.is-paused .on { display: none; }
.inv-music.is-paused .off { display: block; }
.inv-music:not(.is-paused) { animation: inv-spin 4s linear infinite; }
@keyframes inv-spin { to { transform: rotate(360deg); } }

/* Panel halaman contoh template */
.inv-demo-bar {
  position: fixed; z-index: 130; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap;
  padding: 8px max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));
  background: #16233f; color: #fff; font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5);
}
.inv-demo-bar select { font: inherit; color: #16233f; background: #fff; border: 0; border-radius: 6px; padding: 6px 8px; max-width: 150px; }
.inv-demo-bar a { color: #fff; text-decoration: none; }
.inv-demo-back { font-size: 18px; padding: 0 4px; }
.inv-demo-nav { font-size: 22px; line-height: 1; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.inv-demo-name { margin-right: auto; padding-right: 8px; }
.inv-demo-name b { color: #ffd23f; }
.inv-demo-order { background: #18914f; padding: 7px 14px; border-radius: 6px; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.is-demo .inv-cover, body.is-demo .inv-aside { padding-top: 56px; }
body.is-demo .inv-main { padding-top: 46px; }
@media (max-width: 520px) {
  .inv-demo-name { display: none; }
  .inv-demo-bar select { max-width: 96px; padding-inline: 4px; }
  .inv-demo-bar { gap: 6px; }
  .inv-demo-nav { padding-inline: 6px; }
}

/* Hiasan sudut */
.inv-corner { position: absolute; width: min(42vw, 220px); pointer-events: none; z-index: 0; }
.inv-corner svg { width: 100%; height: auto; display: block; overflow: visible; }
.inv-corner-tl { top: 0; left: 0; }
.inv-corner-br { bottom: 0; right: 0; transform: rotate(180deg); }
.inv-hero, .inv-closing { overflow: hidden; }
.inv-hero > :not(.inv-corner), .inv-closing > :not(.inv-corner) { position: relative; z-index: 1; }
.inv-cover-inner, .inv-aside-inner { z-index: 1; }
.inv-aside .inv-corner { width: min(26vw, 300px); }
.inv-hero .inv-corner, .inv-closing .inv-corner { width: min(32vw, 140px) !important; opacity: .85; }

/* Sampul dengan foto: lapisan gelap supaya teks terbaca */
.has-photo .inv-cover-photo, .has-photo .inv-aside-photo { opacity: 1; }
.has-photo .inv-cover-photo::after, .has-photo .inv-aside-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .7) 100%);
}
.has-photo .inv-cover-inner, .has-photo .inv-aside-inner { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .5); box-shadow: none; outline-color: rgba(255, 255, 255, .5); transform: none; }
.has-photo .inv-cover-inner::before, .has-photo .inv-cover-inner::after { display: none; }
.has-photo .inv-cover .inv-title, .has-photo .inv-aside .inv-title,
.has-photo .inv-cover .inv-label, .has-photo .inv-aside .inv-label,
.has-photo .inv-cover .inv-date, .has-photo .inv-aside .inv-date,
.has-photo .inv-cover .inv-orn, .has-photo .inv-aside .inv-orn { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.has-photo .inv-cover .inv-guest { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.has-photo .inv-cover .inv-guest b { color: #fff; }

@media (min-width: 960px) {
  .inv-nav { left: auto; right: 0; width: var(--col); margin: 0; }
}

/* Animasi muncul (hanya jika JavaScript aktif) */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .inv-cover, .js-anim .reveal { transition: none; }
  .js-anim .reveal { opacity: 1; transform: none; }
  .inv-music:not(.is-paused) { animation: none; }
}
@media (max-width: 360px) {
  .inv-sec { padding-inline: 18px; }
  .inv-countdown { grid-template-columns: repeat(4, 1fr); width: 100%; }
}

/* Desain per acara: motif, pola latar, dan tata letak */
.inv-motif { width: 100%; height: auto; display: block; }
.m-soft { fill: color-mix(in srgb, currentColor 22%, transparent); }
.m-card { fill: var(--card); }
.m-fill { fill: currentColor; }

/* Pola latar sampul */
.inv-pat { position: absolute; inset: 0; pointer-events: none; --pc: color-mix(in srgb, var(--accent) 22%, transparent); }
.pat-titik .inv-pat { background-image: radial-gradient(var(--pc) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.pat-garis .inv-pat { background-image: repeating-linear-gradient(45deg, var(--pc) 0 1px, transparent 1px 14px); }
.pat-kotak .inv-pat { background-image: linear-gradient(var(--pc) 1px, transparent 1px), linear-gradient(90deg, var(--pc) 1px, transparent 1px); background-size: 28px 28px; }
.pat-gelombang .inv-pat { background-image: radial-gradient(circle at 50% 100%, transparent 9px, var(--pc) 10px, transparent 11px); background-size: 28px 14px; }
.pat-konfeti .inv-pat {
  background-image: radial-gradient(var(--pc) 2.5px, transparent 3px), linear-gradient(35deg, transparent 46%, var(--pc) 46% 54%, transparent 54%), radial-gradient(color-mix(in srgb, var(--accent) 30%, transparent) 2px, transparent 2.5px);
  background-size: 46px 46px, 38px 38px, 30px 30px; background-position: 0 0, 12px 20px, 20px 8px;
}
.pat-bintang .inv-pat {
  background-image: radial-gradient(var(--pc) 1px, transparent 1.4px), radial-gradient(color-mix(in srgb, var(--accent) 34%, transparent) 1.8px, transparent 2.2px);
  background-size: 18px 18px, 64px 64px; background-position: 0 0, 30px 22px;
}
/* pola memudar ke tengah supaya teks tetap jelas */
.inv-pat { -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 75%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 75%); }

/* Bingkai: garis ganda di tepi sampul */
.inv-frame { display: none; position: absolute; inset: 14px; pointer-events: none; border: 1.5px solid color-mix(in srgb, var(--accent) 65%, transparent); border-radius: 6px; outline: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: -8px; }
.lay-bingkai .inv-frame { display: block; }
.lay-bingkai .inv-frame::before, .lay-bingkai .inv-frame::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); left: 50%; margin-left: -6px; }
.lay-bingkai .inv-frame::before { top: -7px; }
.lay-bingkai .inv-frame::after { bottom: -7px; }
.lay-bingkai .inv-cover .inv-orn-top, .lay-bingkai .inv-aside .inv-orn-top { width: min(170px, 52%); }

/* Jendela: motif di dalam lengkung */
.lay-jendela .inv-orn-top {
  width: 150px; padding: 26px 18px 16px; border-radius: 999px 999px 14px 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1.5px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 0 7px color-mix(in srgb, var(--accent) 30%, transparent);
}
.lay-jendela .inv-hero .inv-orn-top { width: 130px; }

/* Medali: motif di dalam lingkaran */
.lay-medali .inv-orn-top {
  width: 150px; aspect-ratio: 1; display: grid; place-items: center; padding: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 6%, transparent), 0 0 0 6.5px color-mix(in srgb, var(--accent) 45%, transparent), 0 18px 30px -20px rgba(0, 0, 0, .45);
}
.lay-medali .inv-hero .inv-orn-top { width: 128px; }
.lay-medali .inv-cover .inv-title, .lay-medali .inv-aside .inv-title { margin-top: 4px; }

/* Pita: label di atas judul menjadi pita */
.lay-pita .inv-cover .inv-label, .lay-pita .inv-aside .inv-label, .lay-pita .inv-hero .inv-label {
  background: var(--accent); color: var(--accent-ink); padding: 7px 26px; font-weight: 600; letter-spacing: .18em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%); opacity: 1;
}
.lay-pita .inv-cover .inv-orn-top, .lay-pita .inv-aside .inv-orn-top { width: min(190px, 60%); }
.lay-pita .inv-cover .inv-date, .lay-pita .inv-aside .inv-date { border-top: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding: 6px 14px; }

/* Ukuran motif di bagian pembuka */
.inv-hero .inv-orn-top .inv-motif { max-width: 200px; margin-inline: auto; }

/* Mode gambar kecil (pratinjau katalog) */
body.is-thumb .inv-demo-bar { display: none; }
body.is-thumb { padding-top: 0 !important; }
body.is-thumb .inv-cover { cursor: default; }
.lay-medali .inv-orn-top .inv-motif { transform: scale(1.18); }
.title-long .inv-cover .inv-title, .title-long .inv-hero .inv-title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
