:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-2: #eef2ee;
  --ink: #15241d;
  --ink-2: #4b5d54;
  --ink-3: #7b8b83;
  --line: #dde4df;
  --brand: #0f7a55;        /* hijau Bengkulu */
  --brand-ink: #ffffff;
  --brand-soft: #e1f2ea;
  --gold: #e8b021;         /* emas lambang */
  --sea: #1572a8;          /* biru samudra */
  --side-bg: #0d1a14;
  --side-ink: #d7e4dc;
  --side-ink-2: #8aa197;
  --side-hover: #18291f;
  --side-active: #1d3a2b;
  --ok: #1a8a4f; --warn: #b7791f; --muted: #6b7a72;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 24, .06), 0 6px 20px rgba(16, 32, 24, .06);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b130f; --surface: #121d17; --surface-2: #17251d; --ink: #e6efe9; --ink-2: #a9bab0; --ink-3: #7d9086;
    --line: #23342a; --brand: #2fb37f; --brand-ink: #04140c; --brand-soft: #143426; --side-bg: #070d0a; --side-hover: #111d16; --side-active: #163024;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b130f; --surface: #121d17; --surface-2: #17251d; --ink: #e6efe9; --ink-2: #a9bab0; --ink-3: #7d9086;
  --line: #23342a; --brand: #2fb37f; --brand-ink: #04140c; --brand-soft: #143426; --side-bg: #070d0a; --side-hover: #111d16; --side-active: #163024;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { font-size: calc(100% * var(--skala, 1)); }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: calc(15px * var(--skala, 1)); line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .4em; font-family: var(--font-judul, var(--font)); }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.3rem; font-weight: 750; letter-spacing: -.01em; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .8em; }

/* ---------- layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 272px; flex: 0 0 272px; background: var(--side-bg); color: var(--side-ink);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 16px 12px 20px;
  display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: #2a3d33 transparent;
}
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.view { flex: 1; padding: 24px clamp(16px, 3vw, 36px) 40px; max-width: 1400px; width: 100%; margin: 0 auto; }
.foot { padding: 18px clamp(16px, 3vw, 36px); color: var(--ink-3); font-size: .82rem; border-top: 1px solid var(--line); }

.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; padding: 4px 8px 16px; }
.brand img { width: 40px; height: 46px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.brand b { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.brand em { font-style: normal; color: var(--gold); }
.brand small { display: block; color: var(--side-ink-2); font-size: .74rem; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  color: var(--side-ink); text-decoration: none; font-weight: 550; font-size: .92rem;
}
.nav a:hover { background: var(--side-hover); }
.nav a.aktif { background: var(--side-active); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav .ikon { width: 26px; text-align: center; font-size: 1.05rem; }
.nav-kab a img { width: 30px; height: 34px; object-fit: contain; flex: 0 0 30px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.nav-kab a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-label { margin: 18px 10px 6px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--side-ink-2); font-weight: 700; }
.sidebar-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 6px; }
.btn-ghost {
  display: block; text-align: left; background: transparent; border: 1px solid #24382d; color: var(--side-ink-2);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; font-size: .82rem;
}
.btn-ghost:hover { color: #fff; border-color: #3a5848; }

.topbar {
  position: sticky; top: 0; z-index: 500; display: flex; gap: 12px; align-items: center;
  padding: 10px clamp(16px, 3vw, 36px); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.btn-menu { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; }
.search { position: relative; flex: 1; max-width: 560px; }
.search input { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); outline: none; }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search-hasil { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 60vh; overflow: auto; display: none; }
.search-hasil.buka { display: block; }
.search-hasil a { display: flex; gap: 10px; padding: 9px 12px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); align-items: center; }
.search-hasil a:hover { background: var(--surface-2); }
.search-hasil small { color: var(--ink-3); display: block; }
.search-hasil img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: 0 0 44px; background: var(--surface-2); }
.topbar-date { margin-left: auto; color: var(--ink-2); font-size: .86rem; white-space: nowrap; }

/* ---------- komponen ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 18px 20px; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); margin: 0; }
.muted { color: var(--ink-2); }
.kecil { font-size: .82rem; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink);
  padding: 9px 14px; border-radius: 10px; cursor: pointer; font-weight: 650; text-decoration: none; font-size: .9rem;
}
.btn:hover { filter: brightness(1.07); }
.btn.sekunder { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.sekunder.aktif { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn.bahaya { background: transparent; color: #c0392b; border-color: #e5b3ad; }
.btn.kecil { padding: 5px 10px; font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: .84rem; cursor: pointer; color: var(--ink-2); text-decoration: none; }
.chip.aktif, .chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.badge { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.badge.terkonfirmasi { background: #dcf3e6; color: #156b3d; }
.badge.perkiraan { background: #fdf0d5; color: #8a5a0b; }
.badge.menyusul { background: #e8ecea; color: #56645d; }
.badge.lewat { background: transparent; color: var(--ink-3); border: 1px solid var(--line); }
.badge.kontribusi { background: #e2eefb; color: #1b5a91; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.terkonfirmasi { background: #133a25; color: #8be0b0; } :root:not([data-theme="light"]) .badge.perkiraan { background: #3a2c0e; color: #f1c66c; } :root:not([data-theme="light"]) .badge.menyusul { background: #24302a; color: #a9bab0; } :root:not([data-theme="light"]) .badge.kontribusi { background: #142c44; color: #8cc3f2; } }

/* ---------- hero ---------- */
.hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 440px; background: #0a1a12; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.hero-isi { position: relative; z-index: 2; padding: clamp(20px, 4vw, 40px); max-width: 760px; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 650; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .2em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: rgba(255,255,255,.88); font-size: 1.02rem; max-width: 620px; }
.hero-ctrl { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.hero-ctrl button { background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: .82rem; backdrop-filter: blur(6px); }
.hero-ctrl button:hover { background: rgba(0,0,0,.65); }
.hero-label { position: absolute; z-index: 3; left: 16px; top: 16px; background: rgba(0,0,0,.45); border-radius: 999px; padding: 5px 12px; font-size: .8rem; backdrop-filter: blur(6px); }

/* ---------- statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 18px; }
.stat { padding: 16px 18px; }
.stat .angka { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat .label { color: var(--ink-2); font-size: .85rem; margin-top: 6px; }
.stat .ikon { float: right; font-size: 1.4rem; opacity: .85; }

/* ---------- grid ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.besar { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dua-kolom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.item { overflow: hidden; display: flex; flex-direction: column; }
.item .foto { aspect-ratio: 4 / 3; background: var(--surface-2); position: relative; overflow: hidden; cursor: zoom-in; }
.item .foto img, .item .foto video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.item:hover .foto img { transform: scale(1.04); }
.item .foto .tag { position: absolute; left: 10px; top: 10px; }
.item .isi { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.item .isi p { color: var(--ink-2); font-size: .88rem; margin: 0; }
.item .isi .meta { margin-top: auto; padding-top: 10px; font-size: .78rem; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.item .aksi { display: flex; gap: 6px; margin-top: 10px; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #fff; font-weight: 700; padding: 12px; font-size: 1.05rem; }
.ph span { display: block; font-size: 2rem; margin-bottom: 4px; }

.sorotan { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
.sorotan .s { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.sorotan .s:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.sorotan .s:nth-child(6) { grid-column: span 2; }
.sorotan .s img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sorotan .s:hover img { transform: scale(1.05); }
.sorotan .s .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: .92rem; }

.kab-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.kab-card { display: flex; gap: 12px; align-items: center; padding: 12px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.kab-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.kab-card img { width: 46px; height: 54px; object-fit: contain; flex: 0 0 46px; }
.kab-card b { display: block; font-size: .92rem; }
.kab-card small { color: var(--ink-3); }

.kartu-peta { display: flex; flex-direction: column; }
#peta { flex: 1; min-height: 360px; border-radius: var(--radius); overflow: hidden; z-index: 1; }
.peta-fallback { height: 360px; display: grid; place-items: center; color: var(--ink-3); text-align: center; padding: 20px; }
.leaflet-popup-content { font-family: var(--font); }
.pin { width: 34px !important; height: 40px !important; margin: -40px 0 0 -17px !important; }
.pin img { width: 34px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }

.bar-list { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: .85rem; cursor: pointer; }
.bar-row:hover .bar-track i { filter: brightness(1.12); }
.bar-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bar-track { height: 14px; background: var(--surface-2); border-radius: 0 4px 4px 0; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- event ---------- */
.ev-list { display: grid; gap: 10px; }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 14px; align-items: start; }
.ev .tgl { text-align: center; background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 6px 4px; font-weight: 800; line-height: 1.1; }
.ev .tgl b { display: block; font-size: 1.45rem; }
.ev .tgl small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.ev.lewat { opacity: .62; }
.ev h3 { margin-bottom: 2px; }
.ev .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); align-items: center; margin-bottom: 4px; }
.ev p { color: var(--ink-2); font-size: .88rem; margin: 0; }

.kalender { padding: 14px; }
.kal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.kal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kal-grid .hari { text-align: center; font-size: .72rem; color: var(--ink-3); font-weight: 700; padding: 4px 0; }
.kal-grid .tg { min-height: 64px; border-radius: 8px; background: var(--surface-2); padding: 4px 5px; font-size: .75rem; overflow: hidden; }
.kal-grid .tg.kosong { background: transparent; }
.kal-grid .tg.hari-ini { outline: 2px solid var(--gold); }
.kal-grid .tg .n { font-weight: 700; color: var(--ink-2); }
.kal-grid .tg .e { display: block; background: var(--brand); color: var(--brand-ink); border-radius: 4px; padding: 1px 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .68rem; cursor: pointer; }
.kal-grid .tg .e.perkiraan { background: var(--gold); color: #3a2a00; }

/* ---------- kabupaten ---------- */
.kab-hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 20px; position: relative; overflow: hidden; }
.kab-hero > img.logo { width: 96px; height: 112px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.kab-hero .bg { position: absolute; inset: 0; opacity: .14; background-size: cover; background-position: center; pointer-events: none; }
.kab-hero > * { position: relative; }
.kab-hero .tagline { color: var(--brand); font-weight: 700; font-size: .9rem; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 22px 0 18px; scrollbar-width: none; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-2); font-weight: 650; white-space: nowrap; border-bottom: 3px solid transparent; font-size: .92rem; }
.tabs a.aktif { color: var(--brand); border-color: var(--brand); }

/* ---------- form unggah ---------- */
.unggah { padding: 18px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.unggah.drag { border-color: var(--brand); background: var(--brand-soft); }
.form-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.form-grid .penuh { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 650; color: var(--ink-2); margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 80px; resize: vertical; }
.pratinjau { display: flex; gap: 8px; flex-wrap: wrap; }
.pratinjau img, .pratinjau video { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }

.kosong-box { padding: 26px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.catatan { background: #fff8e6; border: 1px solid #f0dca8; color: #6b4e0c; border-radius: 12px; padding: 10px 14px; font-size: .85rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .catatan { background: #2a2210; border-color: #4a3b17; color: #f1d58c; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,10,8,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox .lb-media img, .lightbox .lb-media video { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #dfe8e3; margin-top: 10px; font-size: .9rem; }
.lightbox figcaption small { display: block; color: #93a69c; font-size: .76rem; margin-top: 4px; }
.lightbox figcaption a { color: #9fd9bd; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; opacity: 0; transition: .25s; z-index: 3000; pointer-events: none; font-size: .9rem; }
.toast.tampil { opacity: 1; transform: translateX(-50%); }

/* ---------- logo wilayah ---------- */
.logo-mini { width: 18px; height: 20px; object-fit: contain; vertical-align: -4px; margin-right: 4px; }
.wil { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.tag-wil { background: rgba(255,255,255,.92); color: #15241d; display: inline-flex; align-items: center; }
.item .foto .tag img.logo-mini, .item:hover .foto .tag img.logo-mini { width: 16px; height: 18px; object-fit: contain; transform: none; }
.item .foto .tag-r { position: absolute; right: 10px; top: 10px; }
.wil-logos { display: inline-flex; gap: 2px; }
.wil-logos .logo-mini { width: 20px; height: 24px; margin: 0; }
.chip-logo { display: inline-flex; align-items: center; }

/* ---------- admin ---------- */
.admin-only { }
.badge.draf { background: #ffe9c7; color: #8a4b00; }
.badge-admin { display: inline-flex; align-items: center; gap: 7px; background: var(--gold); color: #2b2000; font-weight: 800; font-size: .78rem; line-height: 1.2; padding: 4px 12px 4px 4px; border-radius: 999px; white-space: nowrap; max-width: min(46vw, 380px); overflow: hidden; text-overflow: ellipsis; }
#admin-badge { flex: 0 1 auto; min-width: 0; display: flex; }
.admin-status { color: var(--gold); font-size: .8rem; padding: 4px 2px 6px; }
.btn-ghost.terang { color: #1b1300; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.btn-ghost.terang:hover { color: #000; filter: brightness(1.05); }
body.is-admin .item { outline: 1px dashed transparent; }
body.is-admin .item:hover { outline-color: var(--gold); }

.modal { position: fixed; inset: 0; z-index: 1800; background: rgba(5,12,9,.55); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal-box { position: relative; width: 100%; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.aksi-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.field .bantuan { display: block; color: var(--ink-3); font-size: .74rem; margin-top: 3px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; }
.checks label { display: inline-flex; gap: 5px; align-items: center; font-weight: 500; color: var(--ink); margin: 0; }
.langkah li { margin-bottom: 8px; }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .85em; }
.ev-foto { max-width: 260px; border-radius: 10px; margin-top: 8px; }

/* ---------- paket wisata ---------- */
.item.paket { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.item.paket:hover { transform: translateY(-2px); border-color: var(--brand); }
.item.paket .foto { cursor: pointer; }
.harga { margin-left: auto; color: var(--brand); font-size: .9rem; }
.harga small { color: var(--ink-3); font-weight: 500; }
.paket-hero { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; margin-top: 10px; }
.paket-foto { min-height: 320px; background: var(--surface-2); cursor: zoom-in; }
.paket-foto img, .paket-foto .ph { width: 100%; height: 100%; object-fit: cover; }
.paket-hero .tagline { display: flex; gap: 10px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-2); margin-bottom: 8px; }
.fakta { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 0; }
.fakta div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.fakta dt { font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fakta dd { margin: 2px 0 0; font-weight: 700; }
.harga-besar { margin-top: 14px; font-size: 1.05rem; color: var(--ink-2); }
.harga-besar b { font-size: 1.6rem; color: var(--brand); letter-spacing: -.02em; }
.daftar { margin: 0; padding-left: 20px; } .daftar li { margin: 4px 0; }
.daftar.cek, .daftar.silang { list-style: none; padding: 0; }
.daftar.cek li::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.daftar.silang li::before { content: '✕ '; color: #c0392b; font-weight: 800; }
.dua-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.itin { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.itin li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.itin .hari { background: var(--brand); color: var(--brand-ink); border-radius: 10px; font-weight: 800; font-size: .8rem; text-align: center; padding: 8px 4px; height: fit-content; }
.itin p { margin: 2px 0 0; color: var(--ink-2); font-size: .9rem; }
.tabel-wrap { overflow-x: auto; }
.tabel { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tabel th, .tabel td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tabel th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.tabel td.angka { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- penghitung kunjungan ---------- */
.kunjungan { display: flex; flex-wrap: wrap; gap: 10px; }
.kunjungan .kj { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; font-size: .86rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.kunjungan .kj b { font-weight: 800; }
#kunjungan-dash .kunjungan { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, #6b1f2a, #7d2433 55%, #5a1a24); box-shadow: var(--shadow); }
#kunjungan-dash .kunjungan .kj { font-size: 1rem; padding: 9px 20px; }
.foot .kunjungan { margin-bottom: 10px; }
.foot .kunjungan .kj { background: var(--surface); border-color: var(--line); color: var(--ink-2); font-size: .8rem; padding: 4px 12px; }

/* ---------- hotel ---------- */
.bintang { color: var(--gold); font-size: .9em; letter-spacing: 1px; white-space: nowrap; }
.kecil-chip { padding: 2px 8px; font-size: .72rem; cursor: default; }
.harga-kamar { font-size: 1.25rem; font-weight: 800; color: var(--brand); margin: 2px 0 6px; }
.harga-kamar small { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.peta-hotel { min-height: 320px; border-radius: var(--radius); overflow: hidden; z-index: 1; }
.rute-list { display: grid; gap: 12px; align-content: start; }
.rute { padding: 14px 16px; box-shadow: none; }
.rute p { margin: 0 0 8px; }
.pin-hotel { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }

.izin-ringkas { font-size: .76rem; color: var(--side-ink); background: var(--side-hover); border-radius: 10px; padding: 8px 10px; line-height: 1.5; }
.izin-ringkas small { color: var(--side-ink-2); }

/* ---------- profil admin ---------- */
.avatar-mini { display: inline-block; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.avatar.besar { width: 110px; height: 110px; display: grid; place-items: center; font-size: 3rem; background: var(--surface-2); overflow: hidden; }
.avatar.besar img { width: 100%; height: 100%; object-fit: cover; }
.profil-atur { display: flex; gap: 16px; align-items: center; margin: 10px 0 16px; }
.badge-admin[data-profil-saya] { cursor: pointer; }
.badge-admin[data-profil-saya]:hover { filter: brightness(1.06); box-shadow: 0 0 0 2px rgba(232,176,33,.45); }
.pemotong { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pemotong canvas { width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--gold); box-shadow: var(--shadow); }
.pemotong-kendali { display: grid; gap: 8px; flex: 1; min-width: 200px; font-size: .84rem; }
.pemotong-kendali label { display: grid; gap: 2px; }
.adm-nama { display: inline-flex; gap: 10px; align-items: center; }
.adm-nama .avatar { width: 38px; height: 38px; }
.avatar.kosong { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--surface-2); font-size: 1.1rem; }
.pengelola { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.pengelola small, .pengelola b, .pengelola span { display: block; line-height: 1.25; }
.pengelola small { color: var(--ink-3); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.pengelola b { color: var(--ink); }
.fl-sumber { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); }
.perkiraan-jam { color: #b7791f; font-weight: 700; }
.oto-hotel { border-left: 4px solid var(--sea); }

/* ---------- jadwal penerbangan ---------- */
.bandara { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; background: linear-gradient(120deg, #e3f0fa, var(--surface)); }
.bandara h2 { margin: 0; } .bandara p { margin: 4px 0 0; }
.bandara .kode { font-size: .8rem; font-weight: 700; color: var(--sea); background: rgba(21,114,168,.12); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.bandara .aksi { margin: 0; flex-wrap: wrap; }
.tabel-fl td.jam { font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.tabel-fl tr.berikut td { background: var(--brand-soft); }
.card.tabel-wrap { padding: 4px 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bandara { background: linear-gradient(120deg, #10283a, var(--surface)); } }

/* ---------- media hero (video file / YouTube / Drive) ---------- */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transform: scale(1.45); pointer-events: none; }
.hero-yt.drive { transform: none; pointer-events: auto; }

/* ---------- banner judul hero ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-banner { position: relative; display: inline-block; max-width: 100%; margin: 4px 0 6px; padding: 14px 24px 12px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.93), rgba(255,250,235,.84)); backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.7) inset, 0 -4px 0 0 var(--gold) inset;
  overflow: hidden; animation: bannerMasuk .9s cubic-bezier(.2,.8,.2,1) both, bannerApung 7s ease-in-out 1s infinite; }
.hero-banner img { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); }
.hero-banner::after { content: ''; position: absolute; inset: -20%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  transform: translateX(-120%); animation: bannerKilau 5s ease-in-out 1.4s infinite; pointer-events: none; }
.hero-banner.tanpa-panel { background: none; box-shadow: none; backdrop-filter: none; padding: 0; }
.hero-banner.tanpa-panel img { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px rgba(255,255,255,.85)) drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.hero-banner.tenang, .hero-banner.tenang::after { animation: none; }
.hero-banner.tenang::after { display: none; }
@keyframes bannerMasuk { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bannerApung { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes bannerKilau { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .hero-banner, .hero-banner::after { animation: none !important; } }
.banner-atur { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; background: var(--surface-2); }
.banner-pratinjau { background: repeating-conic-gradient(#e8ece9 0 25%, #fff 0 50%) 50% / 18px 18px; border-radius: 12px; padding: 12px; margin: 8px 0; min-height: 70px; display: grid; place-items: center; }
.banner-pratinjau img { max-width: 100%; max-height: 180px; }

/* ---------- logo web ---------- */
.brand img.logo-web { width: 62px; height: 62px; object-fit: contain; background: #fff; border-radius: 14px; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.unduh-logo { display: block; margin: -6px 8px 10px; font-size: .74rem; color: var(--side-ink-2); text-decoration: none; }
.unduh-logo:hover { color: var(--gold); }
.unduh-logo[hidden] { display: none; }
.hero-isi { padding-top: 58px !important; }

/* ---------- natural bengkulu ---------- */
.brand-box { display: flex; gap: 20px; align-items: center; padding: 22px 26px; background: linear-gradient(120deg, var(--brand-soft), var(--surface)); }
.brand-box img { width: 110px; height: auto; flex: 0 0 auto; }
.brand-isi { flex: 1; } .brand-sub { color: var(--brand); font-weight: 700; margin-bottom: 6px; }

/* ---------- halaman atur ---------- */
.daftar-atur { display: grid; gap: 10px; }
.baris-atur { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.baris-atur.kolom { flex-direction: column; align-items: stretch; }
.baris-judul { display: flex; gap: 12px; align-items: center; }
.baris-atur .aksi { margin: 0; }
.mini-vid { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; background: #000; flex: 0 0 auto; }
.tampil-cek { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; white-space: nowrap; }
.pilih-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-height: 62vh; overflow-y: auto; }
.pilih-grid button { border: 2px solid transparent; border-radius: 10px; padding: 0; background: var(--surface-2); cursor: pointer; overflow: hidden; text-align: left; }
.pilih-grid button:hover { border-color: var(--brand); }
.pilih-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pilih-grid span { display: block; font-size: .72rem; padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- responsif ---------- */
@media (max-width: 1100px) { .dua-kolom, .paket-hero { grid-template-columns: 1fr; } .sorotan { grid-template-columns: repeat(3, 1fr); } .sorotan .s:nth-child(6) { grid-column: span 1; } }
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 1000; transform: translateX(-100%); transition: transform .25s; }
  .sidebar.buka { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; display: none; }
  .scrim.buka { display: block; }
  .btn-menu { display: block; }
  .topbar-date { display: none; }
  .hero { min-height: 360px; }
}
@media (max-width: 600px) {
  .view { padding: 16px 16px 32px; }
  .hero { min-height: 480px; }
  .hero-label, .hero-eyebrow { display: none; }
  .hero-ctrl { top: 12px; bottom: auto; right: 12px; }
  .sorotan { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .sorotan .s:nth-child(1) { grid-column: span 2; }
  .form-grid, .dua-sub { grid-template-columns: 1fr; }
  .brand-box { flex-direction: column; text-align: center; }
  .hero-banner { padding: 10px 14px 8px; border-radius: 18px; }
  .modal-box { padding: 18px 16px; }
  .kab-hero { grid-template-columns: 1fr; text-align: left; }
  .kab-hero > img.logo { width: 70px; height: 82px; }
  .bar-row { grid-template-columns: 100px 1fr 30px; }
  .kal-grid .tg { min-height: 46px; } .kal-grid .tg .e { font-size: 0; height: 6px; padding: 0; }
  .grid, .grid.besar { grid-template-columns: 1fr; }
}

/* ---------- video promosi per wilayah ---------- */
.vp { scroll-margin-top: 84px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; padding: 18px; margin-top: 16px; align-items: start; }
.vp-video { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.vp-video video, .vp-video .vp-iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; background: #000; }
.vp-teks .tagline { color: var(--brand); font-weight: 700; font-size: .86rem; }
.vp-teks h2 { margin: 4px 0 10px; font-size: 1.5rem; }
.vp-narasi { line-height: 1.75; color: var(--ink-2); margin: 0 0 14px; max-height: 15.5em; overflow: auto; }
.vp-narasi span { border-radius: 6px; padding: 1px 2px; transition: background-color .25s, color .25s; }
.vp-narasi span.aktif { background: color-mix(in srgb, var(--gold) 32%, transparent); color: var(--ink); }
.vp-aksi { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.vp-aksi .btn { text-decoration: none; }
.chip.chip-video { text-decoration: none; background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
@media (max-width: 1100px) { .vp { grid-template-columns: 1fr; } }

/* ---------- jadwal penerbangan per tanggal ---------- */
.fl-hari { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; }
.fl-hari-btn { position: relative; font: inherit; font-weight: 700; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.fl-hari-btn small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; margin-top: 2px; }
.fl-hari-btn i { position: absolute; top: 8px; right: 10px; font-style: normal; color: var(--ok); font-size: .7rem; }
.fl-hari-btn.aktif { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.fl-hari-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fl-tiket { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fl-tiket .btn { text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .fl-hari { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ===== pengguna, kata sandi, tema & gaya (v6) ===== */
.sandi-wrap { position: relative; display: block; }
.sandi-wrap input { padding-right: 44px !important; }
.mata-sandi { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 32px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; font-size: 1.05rem; opacity: .65; }
.mata-sandi:hover, .mata-sandi.aktif { opacity: 1; background: var(--surface-2); }
.tautan { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: underline; }
.ajak-daftar { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.badge.menunggu { background: #fdf0d5; color: #8a5a0b; }
.baris-menunggu td { background: color-mix(in srgb, #fdf0d5 45%, transparent); }
.cek-semua { font-size: .76rem; margin: -2px 0 4px; color: var(--ink-3); }

/* logo + efek kilau */
.brand .logo-bingkai, .efek-opsi .logo-bingkai { position: relative; display: inline-block; flex: 0 0 auto; border-radius: 14px; overflow: hidden; line-height: 0; }
.efek-opsi .logo-bingkai img { width: 46px; height: 46px; object-fit: contain; }
.logo-bingkai::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 30%, var(--kilau, rgba(255,255,255,.75)) 50%, transparent 70%); background-size: 250% 100%; }
.logo-bingkai:not(.efek-tanpa)::after { opacity: 1; animation: kilau-logo 3.2s ease-in-out infinite; }
.logo-bingkai:not(.efek-tanpa) img { animation: pendar-logo 3.2s ease-in-out infinite; }
.efek-emas { --kilau: rgba(255, 214, 90, .85); --pendar: #f5c542; }
.efek-cahaya { --kilau: rgba(255, 255, 255, .9); --pendar: #ffffff; }
.efek-pelangi { --kilau: rgba(255,255,255,.6); --pendar: #ff5ea8; }
.efek-pelangi::after { background-image: linear-gradient(115deg, transparent 25%, rgba(255,0,0,.45), rgba(255,200,0,.45), rgba(0,200,120,.45), rgba(0,140,255,.45), rgba(170,0,255,.45), transparent 75%) !important; }
.efek-laut { --kilau: rgba(110, 200, 255, .85); --pendar: #3fb3ff; }
.efek-merahputih { --kilau: rgba(255, 60, 60, .7); --pendar: #ff3b3b; }
.efek-perak { --kilau: rgba(225, 232, 240, .9); --pendar: #cfd8e3; }
.efek-senja { --kilau: rgba(255, 140, 70, .8); --pendar: #ff8a3d; }
@keyframes kilau-logo { 0% { background-position: 130% 0; } 55%, 100% { background-position: -120% 0; } }
@keyframes pendar-logo { 0%, 100% { filter: drop-shadow(0 0 0 transparent); } 50% { filter: drop-shadow(0 0 7px var(--pendar, #fff)); } }
.efek-pilih { display: flex; flex-wrap: wrap; gap: 8px; }
.efek-opsi { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; min-width: 78px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; }
.efek-opsi.aktif { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.efek-opsi small { font-size: .72rem; font-weight: 650; }

/* nama di menu samping */
.brand-teks { min-width: 0; overflow: hidden; }
.nm { display: block; white-space: nowrap; overflow: hidden; }
.nm .nm-isi { display: inline-block; }
.nm span[style] { display: inline-block; }
.nmw-emas .nm-isi, .nmw-emas em { background: linear-gradient(90deg, #f7d774, #e8b021, #fff1b8, #d99a0b); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.nmw-merahputih .nm-isi { background: linear-gradient(180deg, #ff4b4b 0 50%, #ffffff 50% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmw-merahputih em { color: inherit !important; }
.nmw-pelangi .nm-isi { background: linear-gradient(90deg, #ff5f6d, #ffc371, #47e891, #3fa9ff, #b06cff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: geser-warna 6s linear infinite; }
.nmw-laut .nm-isi { background: linear-gradient(90deg, #8be9ff, #3fa9ff, #1572a8, #8be9ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: geser-warna 7s linear infinite; }
.nmw-senja .nm-isi { background: linear-gradient(90deg, #ffd36e, #ff8a3d, #e8456b, #ffd36e); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: geser-warna 7s linear infinite; }
.nmw-hijau .nm-isi { background: linear-gradient(90deg, #b8f5d0, #3ccf8e, #e8b021); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nmw-neonbiru .nm-isi { color: #bdf3ff; text-shadow: 0 0 4px #3fd0ff, 0 0 10px #3fa9ff; }
.nmw-neonbiru em { color: #8fe8ff !important; }
:is(.nmw-merahputih, .nmw-pelangi, .nmw-laut, .nmw-senja, .nmw-hijau) em { color: transparent !important; }
@keyframes geser-warna { to { background-position: 200% 0; } }
.nm-kilau .nm-isi { position: relative; }
.nm-kilau.nmw-tema .nm-isi, .nm-kilau.nmw-neonbiru .nm-isi { background: linear-gradient(110deg, currentColor 40%, #fff8d6 50%, currentColor 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: geser-kilau 3.5s ease-in-out infinite; }
.nm-kilau.nmw-tema em { color: var(--gold); }
@keyframes geser-kilau { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.nm-berjalan .nm-isi { padding-left: 100%; animation: jalan-nama 9s linear infinite; }
@keyframes jalan-nama { to { transform: translateX(-100%); } }
.nm-berkedip .nm-isi { animation: kedip-nama 2.4s ease-in-out infinite; }
@keyframes kedip-nama { 50% { opacity: .35; } }
.nm-denyut .nm-isi { transform-origin: left center; animation: denyut-nama 2.4s ease-in-out infinite; }
@keyframes denyut-nama { 50% { transform: scale(1.07); } }
.nm-neon .nm-isi { text-shadow: 0 0 4px currentColor, 0 0 12px var(--gold); animation: neon-nama 2.8s ease-in-out infinite; }
@keyframes neon-nama { 0%, 100% { text-shadow: 0 0 3px currentColor, 0 0 8px var(--gold); } 50% { text-shadow: 0 0 6px currentColor, 0 0 18px var(--gold), 0 0 28px var(--gold); } }
.nm-gelombang span[style] { animation: gelombang-nama 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * .08s); }
.nm-gelombang em span[style] { animation-delay: calc((var(--i) + 7) * .08s); }
@keyframes gelombang-nama { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.nm-ketik span[style] { opacity: 0; animation: ketik-nama 6s steps(1) infinite; animation-delay: calc(var(--i) * .12s); }
.nm-ketik em span[style] { animation-delay: calc((var(--i) + 7) * .12s); }
@keyframes ketik-nama { 0% { opacity: 0; } 2%, 85% { opacity: 1; } 100% { opacity: 0; } }
.nama-pratinjau { margin-top: 12px; }
.brand-contoh { background: var(--side-bg); color: var(--side-ink); border-radius: 12px; padding: 14px 16px; margin-top: 4px; max-width: 320px; }
.brand-contoh b { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.brand-contoh em { font-style: normal; color: var(--gold); }
.brand-contoh small { display: block; color: var(--side-ink-2); font-size: .74rem; }
.contoh-warna { display: inline-block; font-style: normal; font-weight: 800; background: #14241b; padding: 0 6px; border-radius: 6px; color: #fff; }

/* tema */
.tema-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tema-kartu { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; color: inherit; }
.tema-kartu.aktif { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tema-kartu.aktif > b::before { content: '✓ '; color: var(--brand); }
.tema-kartu small { color: var(--ink-3); font-size: .74rem; line-height: 1.35; }
.tema-mini { display: flex; height: 74px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 4px; background: #f4f6f3; }
.tema-mini i { display: flex; flex-direction: column; gap: 5px; padding: 7px; }
.tema-mini .tm-sisi { width: 34%; background: var(--s); }
.tema-mini .tm-sisi b { height: 6px; border-radius: 3px; background: rgba(255,255,255,.28); }
.tema-mini .tm-sisi b:first-child { background: var(--a); width: 70%; }
.tema-mini .tm-isi { flex: 1; }
.tema-mini .tm-isi b { height: 14px; border-radius: 4px; background: #fff; border: 1px solid #e3e8e4; }
.tema-mini .tm-isi .tm-btn { width: 46%; height: 12px; background: var(--u); border: 0; }
.warna-baris { display: flex; align-items: center; gap: 8px; }
.warna-baris input[type=color] { width: 52px !important; height: 36px; padding: 2px !important; cursor: pointer; }
.gaya-contoh { margin: 12px 0 4px; }
.opsi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.opsi-grid.tiga { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.opsi-kartu { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 500 !important; color: var(--ink) !important; font-size: .85rem !important; margin: 0 !important; }
.opsi-kartu:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opsi-kartu input { margin-top: 3px; accent-color: var(--brand); }
.opsi-kartu b { display: block; font-size: .85rem; }
.opsi-kartu small { display: block; color: var(--ink-3); font-size: .74rem; line-height: 1.35; }

/* pengumuman */
.pengumuman { display: flex; align-items: center; gap: 10px; padding: 9px clamp(16px, 3vw, 36px); font-size: .88rem; font-weight: 600; background: #e2eefb; color: #0f3f6b; border-bottom: 1px solid rgba(0,0,0,.06); }
.pengumuman[hidden] { display: none; }
.pengumuman.jenis-penting { background: #fdecd2; color: #7a4300; }
.pengumuman.jenis-sukses { background: #dcf3e6; color: #135c35; }
.pengumuman.jenis-promo { background: #efe3fb; color: #4f1f7a; }
.pengumuman a { color: inherit; font-weight: 800; }
.pg-teks { flex: 1; min-width: 0; overflow: hidden; }
.pengumuman.berjalan .pg-teks span { display: inline-block; white-space: nowrap; padding-left: 100%; animation: jalan-nama 22s linear infinite; }
.pengumuman.berjalan .pg-teks:hover span { animation-play-state: paused; }
.pg-tutup { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; opacity: .7; padding: 2px 6px; border-radius: 6px; }
.pg-tutup:hover { opacity: 1; background: rgba(0,0,0,.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pengumuman { filter: brightness(.88) saturate(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .logo-bingkai::after, .logo-bingkai img, .nm *, .pengumuman.berjalan .pg-teks span { animation: none !important; }
  .nm-ketik span[style] { opacity: 1; }
  .pengumuman.berjalan .pg-teks span { padding-left: 0; white-space: normal; }
}
.field input[type=checkbox], .field input[type=radio], .checks input { width: auto !important; flex: 0 0 auto; }
.tabs.bungkus { flex-wrap: wrap; overflow: visible; }
.tabs.bungkus a { padding: 8px 11px; }
/* gaya per huruf (gelombang / muncul satu per satu): warna diberikan per huruf */
.nm-gelombang .nm-isi, .nm-gelombang em, .nm-ketik .nm-isi, .nm-ketik em { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; animation: none; }
.nm-gelombang:not(.nmw-tema):not(.nmw-neonbiru) span[style], .nm-ketik:not(.nmw-tema):not(.nmw-neonbiru) span[style] { color: var(--wh); }
.nm-gelombang.nmw-tema em, .nm-ketik.nmw-tema em { color: var(--gold); }
.nm-gelombang.nmw-neonbiru .nm-isi, .nm-ketik.nmw-neonbiru .nm-isi { color: #bdf3ff; }
.nmw-emas span[style] { --wh: hsl(calc(40 + var(--i) * 1.6) 90% 62%); }
.nmw-pelangi span[style] { --wh: hsl(calc(var(--i) * 26) 88% 66%); }
.nmw-laut span[style] { --wh: hsl(calc(185 + var(--i) * 3) 85% 66%); }
.nmw-senja span[style] { --wh: hsl(calc(45 - var(--i) * 3.5) 92% 62%); }
.nmw-hijau span[style] { --wh: hsl(calc(150 - var(--i) * 6) 70% 62%); }
.nmw-merahputih span[style] { --wh: #ff4b4b; }
.nmw-merahputih em span[style] { --wh: #ffffff; }
.brand b.nm, .brand-contoh b.nm { font-size: 1.06rem; padding: 3px 6px; margin: -3px -6px; }
@keyframes neon-nama { 0%, 100% { text-shadow: 0 0 2px currentColor, 0 0 5px var(--gold); } 50% { text-shadow: 0 0 4px currentColor, 0 0 9px var(--gold); } }
.nm-neon .nm-isi { text-shadow: 0 0 3px currentColor, 0 0 7px var(--gold); }
.nmw-neonbiru .nm-isi { text-shadow: 0 0 3px #3fd0ff, 0 0 7px #3fa9ff; }
