/* Sambut — gaya aplikasi (Midnight & emas) */
[hidden] { display: none !important; }
:root {
  --bg: #101A33;
  --deep: #0B1226;
  --surface: #17234A;
  --surface-2: #1B2850;
  --line: #2A3658;
  --line-2: #3A4670;
  --ink: #F5F0E6;
  --muted: #B9B3A7;
  --muted-2: #C9C2B4;
  --gold: #D4B062;
  --gold-2: #E8CC8A;
  --on-gold: #101A33;
  --danger: #F2B8A8;
  --danger-bg: #3A2230;
  --ok-bg: #1F3A35;
  --ok: #A8DCC4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.serif { font-family: var(--serif); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.row-sm.nowrap { flex-wrap: nowrap; }
.h1 { font-size: clamp(32px, 4vw, 42px); line-height: 1.1; margin: 4px 0 0; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; margin: 12px 0 0; }
.h3 { font-size: 22px; margin: 0 0 16px; }
.h4 { font-size: 17px; font-weight: 700; margin: 0; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 18px; color: var(--muted-2); max-width: 560px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.row-sm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.inline { display: inline; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-2); color: var(--on-gold); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: #5A3040; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted-2); cursor: pointer; }
.btn-icon:hover { color: var(--gold); border-color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* cards & forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.sub-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sub-card.danger { border-color: #5A3040; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.input { width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 400; }
textarea.input { resize: vertical; }
.input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
select.input { appearance: auto; }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fieldset legend { margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.form-actions { display: flex; justify-content: flex-end; }
.form-card { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.alert { background: var(--danger-bg); color: var(--danger); border: 1px solid #5A3040; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.note { background: var(--surface-2); color: var(--muted-2); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.todo-notice { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--muted-2); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 14px; padding: 12px 16px; margin: 0 0 20px; font-size: 14px; }
.todo-notice strong { color: var(--gold-2); }
.todo-notice p { margin: 0; }
.todo-notice ul { margin: 6px 0 0; padding-left: 20px; }
.todo-notice a { color: var(--gold-2); }
.flash { background: var(--ok-bg); color: var(--ok); border-radius: 14px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); transition: border-color .2s, background-color .2s; }
.choice small { color: var(--muted); font-size: 13px; }
.choice input:checked + span { border: 2px solid var(--gold); background: var(--surface-2); padding: 15px; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.swatches { display: flex; gap: 4px; margin-bottom: 6px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.toggle-list { display: flex; flex-direction: column; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.chip { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted-2); }
.chip-on { background: #1F3A35; color: var(--ok); }
.chip-off { background: var(--danger-bg); color: var(--danger); }
.chip-draft { background: #3A3420; color: var(--gold-2); }
.soon { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted-2); font-size: 11px; letter-spacing: 1px; }

/* ---------------------------------------------------------------- site */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-head { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { color: var(--gold); }
.brand span { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .5px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--muted-2); text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 8px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; margin: 20px 0 0; }
.pill { display: inline-block; margin: 0; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-stage { position: relative; width: 100%; max-width: 480px; display: flex; justify-content: center; }
.halo { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: #1B2850; top: 60px; transition: background-color .8s; }
.phone { position: relative; width: 300px; height: 610px; border-radius: 44px; background: #0A1124; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #FFFDF9; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 24px; opacity: 0; transform: scale(.96); transition: opacity .7s, transform .9s; }
.slide.is-active { opacity: 1; transform: none; }
.slide-kicker { margin: 0 0 8px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.slide-title { margin: 0; line-height: 1.05; white-space: pre-line; }
.slide-date { margin: 18px 0 0; font-size: 13px; opacity: .85; }
.slide-guest { margin-top: 28px; width: 100%; padding: 16px 12px; border-top: 1px solid; border-bottom: 1px solid; display: flex; flex-direction: column; font-size: 15px; }
.slide-guest span { font-size: 11px; opacity: .8; }
.slide-cta { margin-top: 24px; padding: 12px 22px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); font-size: 13px; line-height: 1.35; }
.float small { color: var(--muted); font-size: 13px; }
.float-left { left: 0; bottom: 70px; display: flex; gap: 12px; align-items: center; }
.float-right { right: 0; top: 40px; display: flex; flex-direction: column; }
.float-right strong { font-size: 26px; }
.float-icon { width: 36px; height: 36px; border-radius: 50%; background: #1B2850; display: flex; align-items: center; justify-content: center; transition: background-color .8s; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tab { padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted-2); font-weight: 600; font-size: 14px; min-height: 40px; cursor: pointer; transition: background-color .3s, color .3s; }
.tab.is-active { background: var(--gold); color: var(--on-gold); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; font-size: 24px; color: var(--muted-2); }
.strip-inner i { color: var(--line-2); font-style: normal; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section .grid-3, .section .grid-4 { margin-top: 44px; }
.feature-title { margin: 0; font-size: 30px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; color: var(--gold); margin-top: 2px; }
.band { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.card-title { margin: 0 0 12px; font-size: 26px; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.todo li::before { content: ''; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border: 2px solid var(--line-2); border-radius: 5px; }
.todo li.done { color: var(--muted); text-decoration: line-through; }
.todo li.done::before { background: var(--gold); border-color: var(--gold); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; }
.welcome-card { background: #0A1124; border: 1px solid var(--line); border-radius: 24px; padding: 40px; text-align: center; }
.welcome-name { font-size: 44px; line-height: 1.1; margin: 14px 0; }
.theme-card { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; }
.theme-card > span:last-child { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* Jarak antar baris lebih lebar dari jarak gambar ke namanya, supaya jelas nama milik gambar di atasnya. */
#tema .grid-4 { row-gap: 36px; }
.theme-thumb { aspect-ratio: 3 / 4; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; border: 1px solid var(--line); transition: transform .3s; }
.theme-card:hover .theme-thumb { transform: translateY(-4px); }
.theme-thumb em { font-family: var(--serif); font-size: 30px; }
.theme-dots { display: flex; gap: 6px; }
.theme-dots i { width: 14px; height: 14px; border-radius: 50%; }
.soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { text-align: left; }
.step-no { font-size: 52px; color: var(--gold); line-height: 1; margin: 0; }
.step-title { font-weight: 700; font-size: 18px; margin: 12px 0 4px; }
.narrow { max-width: 820px; }
.pricing { align-items: stretch; }
#harga .pricing { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price { position: relative; display: flex; flex-direction: column; gap: 14px; }
.price.is-featured { border: 2px solid var(--gold); }
.price ul { margin: 0; padding-left: 18px; flex-grow: 1; color: var(--muted-2); }
.price-name { font-weight: 700; font-size: 18px; margin: 0; }
.price-num { font-size: 40px; line-height: 1; margin: 0; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 1px; }
/* Gaya daftar FAQ (landing & Bantuan) — hanya untuk <details> tanpa kelas supaya menu akun, notifikasi, dll. tidak ikut bergaris */
details:not([class]) { border-top: 1px solid var(--line); padding: 20px 0; }
details:not([class]):last-of-type { border-bottom: 1px solid var(--line); }
summary { font-weight: 600; font-size: 17px; cursor: pointer; }
details p { color: var(--muted-2); margin: 12px 0 0; }
.cta-box { background: var(--surface-2); border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta-box .h2 { margin-bottom: 28px; }
.site-foot { border-top: 1px solid var(--line); }

/* auth */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.auth-title { font-size: 36px; margin: 8px 0 0; line-height: 1.1; }

/* ---------------------------------------------------------------- app shell */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 240px; max-width: 100%; background: var(--surface); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 20px; }
.side .brand { padding: 0 12px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.side-label { margin: 0 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 12px; color: var(--muted-2); text-decoration: none; }
.side-link:hover { background: var(--surface-2); color: var(--ink); }
.side-link.is-active { background: var(--surface-2); color: var(--gold); font-weight: 600; }
.side-link.as-button { width: 100%; border: 0; background: none; cursor: pointer; text-align: left; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.side-user { margin: 0 12px 8px; font-weight: 600; font-size: 14px; }
.side-user span { color: var(--muted); font-weight: 400; word-break: break-all; }
.main { flex: 999 1 560px; min-width: 0; padding: 32px 40px 56px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.page-head .muted { margin: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 36px; }
.ev-card { display: flex; gap: 18px; align-items: center; padding: 20px; }
.ev-thumb { width: 84px; height: 112px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-style: italic; border: 1px solid var(--line); }
.ev-body { flex: 1; min-width: 0; }
.ev-title { margin: 6px 0 0; font-size: 26px; line-height: 1.15; }
.ev-body .muted { margin: 2px 0 0; }
.links { margin-top: 8px; gap: 14px; font-size: 14px; font-weight: 600; }
.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 14px 0 24px; }
.stat { padding: 20px; }
.stat p { margin: 0; }
.stat-num { font-size: 42px; line-height: 1.1; margin: 6px 0 !important; }
.cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.col-wide { flex: 3 1 460px; min-width: 0; }
.col-narrow { flex: 2 1 320px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.accent-card { background: var(--surface-2); }
.accent-card svg { color: var(--gold); }
.next-steps { margin: 12px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.empty { padding: 24px 0; }
.empty-state { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state .h2 { margin: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.wish-cell { max-width: 340px; }
.copy-row { display: flex; gap: 8px; }
.sub-details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sub-details summary { font-size: 15px; }
.sub-details form { margin-top: 14px; }

/* editor */
.editor { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.editor-tabs { flex: 1 1 190px; max-width: 100%; display: flex; flex-direction: column; gap: 2px; }
.editor-tabs a { padding: 11px 14px; border-radius: 12px; color: var(--muted-2); text-decoration: none; min-height: 44px; }
.editor-tabs a:hover { background: var(--surface); color: var(--ink); }
.editor-tabs a.is-active { background: var(--surface-2); color: var(--gold); font-weight: 700; }
.editor-form { flex: 3 1 420px; min-width: 0; }
.editor-preview { flex: 0 1 340px; min-width: 0; position: sticky; top: 24px; margin: 0 auto; }
.device { width: 330px; max-width: 100%; height: 680px; border-radius: 44px; background: #050A18; padding: 12px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.device iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; }
.upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.upload .field { flex: 1 1 240px; }
.file-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.gallery-item { position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery-item form { position: absolute; top: 6px; right: 6px; }
.gallery-item .btn-icon { width: 34px; height: 34px; background: rgba(11, 18, 38, .8); }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

@media (max-width: 720px) {
  .main { padding: 24px 16px 48px; }
  .side { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-foot { display: flex; justify-content: space-between; align-items: center; }
  .side { gap: 12px; padding: 16px 12px; }
  .side-nav, .side-group { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .side-group { grid-column: 1 / -1; margin-top: 6px; padding-top: 10px; }
  .side-label { grid-column: 1 / -1; margin-bottom: 2px; }
  .side-link { min-height: 40px; padding: 8px 10px; gap: 8px; font-size: 14px; }
  .side-link svg { width: 18px; height: 18px; flex: none; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 40px; gap: 40px; }
  .float { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .editor-preview { position: static; }
}

/* ---------------------------------------------------------------- fitur tambahan */
.chip-gold { background: #3A3420; color: var(--gold-2); margin-top: 4px; }
.input-auto { width: auto; }
.input-lg { min-height: 56px; font-size: 20px; letter-spacing: 1px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }

/* asisten */
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.plan-group { display: flex; flex-direction: column; gap: 4px; }
.plan-period { margin: 8px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list form { margin: 0; }
.task { display: flex; gap: 12px; align-items: flex-start; width: 100%; min-height: 44px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--ink); }
.task:hover { color: var(--gold-2); }
.task-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--line-2); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.task-box svg { width: 14px; height: 14px; opacity: 0; }
.task.is-done { color: var(--muted); text-decoration: line-through; }
.task.is-done .task-box { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.task.is-done .task-box svg { opacity: 1; }
.intro-text { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.ai-text { white-space: pre-wrap; color: var(--muted-2); font-size: 15px; }
.ask-card { margin-top: 16px; }
.chat-item { border-top: 1px solid var(--line); padding-top: 14px; }
.chat-q { margin: 0 0 6px; font-weight: 700; }

/* meja penerima */
.desk { max-width: 1100px; margin: 0 auto; padding: 24px 20px 56px; display: flex; flex-direction: column; gap: 16px; }
.desk-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.desk-head p { margin: 0; }
.desk-title { font-size: 30px; line-height: 1.1; }
.desk-stats { margin: 0; }
.desk-cam { width: 100%; max-height: 360px; border-radius: 16px; background: #000; object-fit: cover; }
.desk-guest { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.desk-result { border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.desk-result p { margin: 0; }
.desk-result-title { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.desk-result.is-ok { background: var(--ok-bg); color: var(--ok); }
.desk-result.is-warn { background: #3A3420; color: var(--gold-2); }
.desk-result.is-error { background: var(--danger-bg); color: var(--danger); }
.desk-result.is-info { background: var(--surface-2); color: var(--muted-2); }

/* story */
.story-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.story-form { flex: 1 1 320px; min-width: 0; }
.story-preview { flex: 0 1 360px; min-width: 0; margin: 0 auto; }
.story-preview canvas { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }

/* paket, admin, tamu */
.lock-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 14px; border-radius: 12px; background: #3A3420; color: var(--gold-2); font-size: 14px; }
.lock-note svg { flex: none; margin-top: 3px; }
.lock-note a { color: var(--gold-2); font-weight: 700; }
a.chip { text-decoration: none; }
.input-sm { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.input-color { padding: 4px; height: 48px; width: 96px; cursor: pointer; }
.slug-row { display: flex; align-items: center; gap: 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.filter-row input[type=search] { flex: 1 1 200px; width: auto; }
.summary-head { margin-top: 8px; }
.summary-head .h3 { margin: 0; }
.inline-details { border: 0; padding: 0; }
.inline-details summary { list-style: none; font-size: 14px; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] form { margin-top: 8px; min-width: 240px; }

/* ---------------------------------------------------------------- kerangka aplikasi v2 */
.shell { display: flex; min-height: 100vh; flex-wrap: nowrap; }
.rail { flex: 0 0 104px; background: var(--deep); border-right: 1px solid var(--line); padding: 20px 8px; display: flex; flex-direction: column; align-items: center; gap: 24px; position: sticky; top: 0; height: 100vh; }
.rail-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.rail-brand svg { color: var(--gold); width: 34px; height: 34px; }
.rail-brand span { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.rail-nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.rail-link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; }
.rail-link svg { width: 22px; height: 22px; }
.rail-link:hover { color: var(--ink); background: var(--surface); }
.rail-link.is-active { color: var(--gold); background: var(--surface); }
.workspace { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 40px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.topbar-title { margin: 0; font-weight: 700; font-size: 18px; }
.account { position: relative; border: 0; padding: 0; }
.account summary { list-style: none; cursor: pointer; }
.account summary::-webkit-details-marker { display: none; }
.avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none; cursor: pointer; list-style: none; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.account-menu { position: absolute; right: 0; top: 52px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.4); display: flex; flex-direction: column; }
.account-menu a, .account-menu button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; width: 100%; cursor: pointer; font-size: 15px; }
.account-menu a:hover, .account-menu button:hover { background: var(--surface-2); color: var(--gold); }
.account-menu form { margin: 0; }
.account-name { margin: 4px 10px 8px; font-weight: 700; font-size: 14px; }
.account-name span { color: var(--muted); font-weight: 400; word-break: break-all; }
.main { flex: 1 0 auto; padding: 28px 40px 48px; }
.app-foot { padding: 18px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--gold); font-weight: 600; text-decoration: none; }

/* banner & kartu besar beranda */
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: 16px; margin-bottom: 16px; border: 1px solid var(--line); background: var(--surface); }
.banner p { margin: 0; }
.banner-title { font-weight: 700; }
.banner.is-warn { background: #3A3420; border-color: #5A4D2A; color: var(--gold-2); }
.banner.is-warn .muted { color: #D9CBA4; }
.big-cards { display: grid; gap: 12px; margin: 16px 0 28px; }
.big-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; text-decoration: none; color: var(--on-gold); background: linear-gradient(120deg, var(--gold), color-mix(in srgb, var(--gold) 82%, #000)); }
.big-card.is-dark { color: var(--ink); background: linear-gradient(120deg, #24346A, #1B2850); border: 1px solid var(--line-2); }
.big-card svg { flex: none; width: 40px; height: 40px; }
.big-card strong { display: block; font-size: 20px; }
.big-card span { font-size: 14px; opacity: .85; }
.big-card:hover { filter: brightness(1.05); color: inherit; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.mini-stat { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.mini-stat p { margin: 0; }
.mini-stat .num { font-size: 26px; font-weight: 800; color: var(--gold-2); }
.ev-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ev-row + .ev-row { margin-top: 10px; }
.ev-row .ev-thumb { width: 60px; height: 60px; font-size: 20px; border-radius: 12px; }
.ev-row-body { flex: 1; min-width: 0; }
.ev-row-body p { margin: 0; }
.ev-row-title { font-weight: 700; font-size: 17px; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 8px 0 12px; }
.section-title h2 { margin: 0; font-size: 20px; }

/* hub undangan */
.hub { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.hub-head { background: linear-gradient(135deg, #1B2850, #24346A); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.hub-head p { margin: 0; }
.hub-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.hub-link { color: var(--gold-2); font-size: 14px; word-break: break-all; }
.hub-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 14px; text-align: center; padding: 10px 6px; }
.hub-stats strong { display: block; font-size: 22px; color: var(--gold-2); }
.hub-stats span { font-size: 12px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 108px; padding: 14px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; text-align: center; }
.tile svg { color: var(--gold); }
.tile:hover { border-color: var(--gold); color: var(--gold-2); }
.tile.is-accent { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.tile.is-accent svg { color: var(--on-gold); }
.tile-lock { position: absolute; top: 8px; right: 8px; color: var(--gold-2); }
.tile-lock svg { width: 14px; height: 14px; color: var(--gold-2); }
.tile-wide { grid-column: 1 / -1; flex-direction: row; min-height: 76px; gap: 14px; background: linear-gradient(120deg, #2A3658, #1B2850); }
.hub-section-title { margin: 6px 0 0; text-align: center; font-weight: 700; }
.switch-form { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 1px; cursor: pointer; }
.switch i { width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch.is-on i { background: #3BA776; }
.switch.is-on i::after { transform: translateX(20px); }

/* onboarding & pilih paket */
.onboard { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 16px; background: radial-gradient(circle at top, #1B2850, var(--bg) 60%); }
.onboard-card { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.onboard-card h1 { margin: 0; font-size: 26px; }
.onboard-card .lead { margin: 0; font-size: 16px; }
.req { color: var(--danger); }
.slug-input { display: flex; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.slug-input span { padding: 11px 12px; background: var(--surface-2); color: var(--muted-2); font-size: 14px; white-space: nowrap; display: flex; align-items: center; }
.slug-input input { border: 0; border-radius: 0; min-width: 0; }
.slug-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.field-msg { font-size: 13px; font-weight: 600; margin: 0; }
.field-msg.is-ok { color: var(--ok); }
.field-msg.is-bad { color: var(--danger); }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.type-grid .choice > span { padding: 12px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-opt { position: relative; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; }
.plan-opt > span { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 16px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--surface); }
.plan-opt .dot { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-2); }
.plan-opt input:checked + span { border: 2px solid var(--gold); border-style: solid; padding: 15px; }
.plan-opt input:checked + span .dot { border: 7px solid var(--gold); }
.plan-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan-opt input:disabled + span { opacity: .55; cursor: default; }
.plan-name { font-weight: 800; font-size: 18px; }
.plan-price { text-align: right; font-size: 13px; color: var(--muted); }
.plan-price strong { display: block; font-size: 26px; color: var(--ink); }
.plan-opt details { border: 0; padding: 4px 0 0; }
.plan-opt summary { font-size: 13px; color: var(--gold); }
.plan-opt ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted-2); font-size: 14px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #1F3A35; color: var(--ok); font-size: 11px; font-weight: 700; vertical-align: middle; }

/* pembayaran */
.pay-amount { font-size: 36px; font-weight: 800; color: var(--gold-2); letter-spacing: .5px; }
.pay-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted-2); }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted-2); }
.status-pill.s-lunas { background: #1F3A35; color: var(--ok); }
.status-pill.s-diperiksa { background: #3A3420; color: var(--gold-2); }
.status-pill.s-ditolak { background: var(--danger-bg); color: var(--danger); }

/* kata sandi: tombol lihat */
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted-2); cursor: pointer; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.pw-toggle:hover { color: var(--gold); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 999px; background: #fff; color: #1f1f1f; font-weight: 600; text-decoration: none; border: 1px solid #dadce0; }
.google-btn:hover { background: #f5f5f5; color: #1f1f1f; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 720px) {
  .shell { flex-direction: column; }
  .rail { position: fixed; bottom: 0; left: 0; right: 0; top: auto; height: auto; flex: none; flex-direction: row; padding: 6px; z-index: 30; border-right: 0; border-top: 1px solid var(--line); gap: 0; }
  .rail-brand { display: none; }
  .rail-nav { flex-direction: row; justify-content: space-around; gap: 2px; }
  .rail-link { flex: 1; padding: 6px 2px; font-size: 11px; }
  .topbar { padding: 12px 16px; }
  .main { padding: 20px 16px 96px; }
  .app-foot { padding: 14px 16px 90px; }
  .tiles { gap: 8px; }
  .tile { min-height: 96px; font-size: 13px; }
  .onboard-card { padding: 24px 20px; }
  .slug-input span { font-size: 12px; padding: 11px 8px; }
}
textarea[lang="ar"] { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 22px; line-height: 1.9; }

/* kotak unggah */
.upload-box { display: flex; flex-direction: column; gap: 10px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px 16px; border: 2px dashed var(--line-2); border-radius: 18px; background: var(--bg); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 6%, transparent); }
.dropzone.is-drag { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.dropzone.has-files { border-style: solid; border-color: var(--gold); }
.dz-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.dz-icon svg { width: 30px; height: 30px; }
.dz-title { font-weight: 700; font-size: 16px; color: var(--ink); }
.dz-hint { font-size: 13px; color: var(--muted); }
.dz-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.dz-files:empty { display: none; }
.dz-file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--surface-2); font-size: 13px; color: var(--muted-2); }
.dz-file img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.dz-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.dz-more { font-size: 13px; color: var(--muted); align-self: center; }
.upload-box .btn[disabled] { opacity: .5; cursor: not-allowed; }
.add-row { align-self: flex-start; border-style: dashed; }

/* ---------------------------------------------------------------- landing: menu HP */
.nav-menu { display: none; position: relative; border: 0; padding: 0; }
.nav-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu[open] summary span:nth-child(2) { opacity: 0; }
.nav-menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-menu-panel { position: absolute; right: 0; top: 54px; z-index: 40; min-width: 220px; display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.nav-menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-menu-panel a:hover { background: var(--surface-2); color: var(--gold); }

@media (max-width: 720px) {
  .site-head { position: sticky; top: 0; z-index: 30; background: rgba(16, 26, 51, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav { padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  .brand span { font-size: 24px; }
  .nav-cta { align-items: center; }
  .nav-cta .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .nav-login { display: none; }
  .nav-menu { display: block; }
  #fitur, #tema, #asisten, #harga, #faq { scroll-margin-top: 72px; }

  .hero { padding-top: 28px; padding-bottom: 48px; gap: 28px; }
  .hero-copy { flex-basis: 100%; }
  .hero-copy h1 { font-size: 36px; line-height: 1.08; margin-top: 16px; }
  .pill { font-size: 11px; letter-spacing: .5px; padding: 5px 12px; }
  .lead { font-size: 16px; }
  .hero .row { flex-direction: column; margin-top: 24px; }
  .hero .row .btn { width: 100%; }
  .hero-visual { flex-basis: 100%; gap: 16px; }
  .hero-stage { zoom: .74; }
  .halo { width: 300px; height: 300px; }
  .tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs { gap: 2px; padding: 4px; }
  .tab { flex: none; padding: 8px 11px; font-size: 12.5px; min-height: 36px; }

  .strip-inner { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 14px; padding-top: 14px; padding-bottom: 14px; font-size: 18px; white-space: nowrap; scrollbar-width: none; }
  .strip-inner::-webkit-scrollbar { display: none; }
  .strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

  .section { padding-top: 48px; padding-bottom: 48px; }
  .h2 { font-size: 30px; }
  .section .grid-3, .section .grid-4 { margin-top: 24px; }
  .grid-3 { gap: 12px; }
  .card { padding: 20px; }
  .feature-title { font-size: 26px; }
  .checks { gap: 10px; font-size: 14px; }

  .band-inner { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .card-title { font-size: 22px; }
  .todo li { padding: 10px 0 10px 30px; font-size: 14px; }
  .split { gap: 24px; }
  .welcome-card { padding: 28px 20px; border-radius: 20px; }
  .welcome-name { font-size: 32px; margin: 10px 0; }

  #tema .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .theme-thumb { border-radius: 14px; margin-bottom: 6px; gap: 10px; }
  .theme-thumb em { font-size: 22px; }
  .theme-card strong { font-size: 15px; }
  .theme-card > span:last-child { font-size: 13px; }

  .steps { gap: 18px; }
  .steps > div { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: start; }
  .step-no { font-size: 38px; grid-row: span 2; }
  .step-title { margin: 4px 0 2px; font-size: 16px; }
  .steps .muted { margin: 0; font-size: 14px; }

  .pricing { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 20px -16px 0; padding: 16px 16px 8px; scrollbar-width: none; }
  .pricing::-webkit-scrollbar { display: none; }
  .price { flex: 0 0 84%; scroll-snap-align: center; }
  .price-num { font-size: 34px; }
  #harga .center.narrow::after { content: 'Geser untuk melihat paket lain →'; display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

  #faq .h2 { margin-bottom: 12px; }
  summary { font-size: 15px; }
  details { padding: 16px 0; }
  .cta-box { padding: 40px 20px; border-radius: 22px; }
  .cta-box .h2 { font-size: 28px; }
  .cta-box .btn { width: 100%; }
}

/* ---------------------------------------------------------------- tampilan HP: aplikasi */
.preview-fab, .preview-close { display: none; }
code { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .page-head { margin-bottom: 18px; gap: 12px; align-items: flex-start; }
  .page-head > .row-sm { width: 100%; }
  .page-head .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .h1 { font-size: 30px; }
  .card { padding: 18px; border-radius: 18px; }
  .cols { gap: 12px; }
  .grid-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 10px 0 18px; }
  .stat { padding: 14px; }
  .stat-num { font-size: 32px; }
  .sub-card { padding: 14px; }
  .copy-row { flex-wrap: wrap; }
  .copy-row .input { flex: 1 1 100%; }
  .copy-row .btn { flex: 1 1 auto; }
  .filter-row .input, .filter-row select { flex: 1 1 140px; }
  .card-head { flex-wrap: wrap; }
  .flash, .alert, .note, .todo-notice { font-size: 14px; }

  /* tabel menjadi kartu */
  .table-wrap { overflow: visible; }
  .table { min-width: 0; font-size: 14px; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 3px 0; border: 0; }
  .table td[data-label]::before { content: attr(data-label); display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
  .table td:first-child strong { font-size: 16px; }
  .table .row-sm.nowrap { flex-wrap: wrap; margin-top: 6px; }
  .wish-cell { max-width: none; }

  /* editor */
  .editor { gap: 12px; }
  .editor-tabs { flex: 1 1 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .editor-tabs::-webkit-scrollbar { display: none; }
  .editor-tabs a { flex: none; white-space: nowrap; min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .editor-tabs a.is-active { border-color: var(--gold); }
  .editor-form { flex-basis: 100%; }
  .editor-form .h3 { font-size: 20px; }
  .preview-fab { display: inline-flex; position: fixed; left: 16px; bottom: 86px; z-index: 35; min-height: 46px; background: var(--surface-2); color: var(--gold-2); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
  .page-head .btn[href*="preview=1"] { display: none; }
  .editor-preview { display: none; }
  body.show-preview { overflow: hidden; }
  body.show-preview .editor-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: fixed; inset: 0; z-index: 60; margin: 0; padding: 16px; background: rgba(6, 10, 24, .92); }
  body.show-preview .device { width: min(360px, 100%); height: calc(100vh - 120px); height: calc(100dvh - 120px); }
  body.show-preview .preview-close { display: inline-flex; position: absolute; top: 14px; right: 14px; background: var(--surface); font-size: 18px; color: var(--ink); }
  .form-actions { position: sticky; bottom: 76px; z-index: 5; padding-top: 8px; }
  .form-actions .btn { box-shadow: 0 8px 24px rgba(0,0,0,.4); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .toggle { min-height: 52px; }

  /* lain-lain */
  .story-preview { order: -1; flex-basis: 100%; }
  .story-preview canvas { max-width: 230px; margin: 0 auto; }
  .hub-title { font-size: 26px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile svg { width: 30px; height: 30px; }
  .ev-row { flex-wrap: wrap; }
  .ev-row > .row-sm:last-child { width: 100%; }
  .ev-row > .row-sm:last-child .btn { flex: 1 1 0; }
  .big-card { padding: 16px 18px; gap: 14px; }
  .big-card strong { font-size: 18px; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mini-stat { padding: 10px 12px; }
  .mini-stat .num { font-size: 22px; }
  .desk { padding: 16px 14px 40px; }
  .desk-title { font-size: 24px; }
  .account-menu { position: fixed; right: 12px; top: 64px; }
}
.topbar-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .account { flex: none; }

/* ---------------------------------------------------------------- kelola undangan v2 */
.manage { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1080px; }
.manage-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.mini-phone { position: relative; width: 100%; aspect-ratio: 9 / 18.5; border-radius: 34px; background: #050A18; padding: 10px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.45); overflow: hidden; }
.mini-phone iframe { width: 390px; height: 839px; border: 0; border-radius: 26px; background: #fff; transform-origin: 0 0; transform: scale(calc(258 / 390)); pointer-events: none; }
.mini-phone-link { position: absolute; inset: 0; }
.manage-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.manage-head { display: flex; flex-direction: column; gap: 16px; }
.manage-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.manage-kicker { margin: 0 0 2px; }
.manage-title { margin: 0 0 8px; font-size: 34px; line-height: 1.1; }
.switch i { display: block; }
.ready { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.ready-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.ready-head strong { font-size: 22px; color: var(--gold-2); }
.ready-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ready-list a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted-2); font-size: 13px; text-decoration: none; }
.ready-list svg { width: 14px; height: 14px; }
.ready-list .is-ok a { border-style: solid; border-color: #2E5A4E; background: var(--ok-bg); color: var(--ok); }
.ready-next { margin: 0; color: var(--muted-2); }
.manage-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-top: 1px solid var(--line); padding-top: 14px; }
.manage-stats strong { display: block; font-size: 24px; color: var(--ink); }
.manage-stats span { font-size: 12px; color: var(--muted); }
.manage-stats > div + div { border-left: 1px solid var(--line); }
.mgroup-title { margin: 0 0 8px 4px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.mgroup-list { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--ink); text-decoration: none; min-height: 68px; }
.mrow + .mrow { border-top: 1px solid var(--line); }
.mrow:hover { background: var(--surface-2); color: var(--ink); }
.mrow:hover .mrow-go { color: var(--gold); transform: translateX(2px); }
.mrow-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.mrow-icon svg { width: 24px; height: 24px; }
.mrow-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mrow-text strong { font-size: 15px; }
.mrow-text span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-badge { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.mrow-badge svg { width: 14px; height: 14px; }
.mrow-badge.is-ok { color: var(--ok); background: var(--ok-bg); padding: 4px; }
.mrow-badge.is-todo { color: var(--gold-2); background: #3A3420; }
.mrow-badge.is-lock { color: var(--muted-2); background: var(--surface-2); }
.mrow.is-locked .mrow-icon { color: var(--muted); }
.mrow-go { flex: none; font-size: 22px; color: var(--muted); transition: transform .15s, color .15s; }

@media (max-width: 900px) {
  .manage { grid-template-columns: 1fr; }
  .manage-side { display: none; }
}
@media (max-width: 720px) {
  .manage-title { font-size: 28px; }
  .manage-stats strong { font-size: 20px; }
  .mrow { padding: 12px 14px; gap: 12px; }
  .mrow-icon { width: 38px; height: 38px; }
}

.plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-actions form { margin: 0; }
.plan-actions .btn { width: 100%; }

/* ---------------------------------------------------------------- paket v3 & kunci lunak */
.lock-note.is-soft { background: var(--surface-2); color: var(--muted-2); }
.lock-note.is-soft a { color: var(--gold); }
.is-locked { position: relative; }
.choice.is-locked > span, .sub-card.is-locked { opacity: .78; }
.choice.is-locked small { color: var(--gold-2); }
.sub-card.is-over { border-style: dashed; opacity: .7; }
.plan-opt.is-locked > span { opacity: .55; }
.plan-why { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--gold-2); }
.plan-why svg { width: 13px; height: 13px; }
.plan-price small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.dz-locked { width: 100%; font: inherit; color: inherit; cursor: pointer; }
.dz-locked .dz-icon svg { width: 26px; height: 26px; }
.lib-list { display: flex; flex-direction: column; gap: 8px; }
.lib-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.lib-item:has(input:checked) { border-color: var(--gold); background: var(--surface-2); }
.lib-item input { accent-color: var(--gold); width: 18px; height: 18px; }
.lib-item > span { flex: 1 1 140px; font-weight: 600; }
.lib-item audio { height: 34px; max-width: 100%; }
.acct-plan { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acct-plan-name { margin: 2px 0; font-size: 18px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.settings-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-bottom: 16px; }
.settings-link svg { color: var(--gold); flex: none; }
.settings-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.plan-admin { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.plan-admin .input { width: auto; }
.soft-lock { position: relative; min-height: 420px; }
.soft-lock-bg { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; filter: blur(6px); opacity: .45; pointer-events: none; user-select: none; }
.soft-lock-card { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.soft-lock-card p { margin: 0; }
.soft-lock-icon { width: 56px; height: 56px; border-radius: 50%; background: #3A3420; color: var(--gold-2); display: inline-flex; align-items: center; justify-content: center; }
.soft-lock-icon svg { width: 26px; height: 26px; }
dialog.upsell { width: min(420px, calc(100% - 32px)); border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--ink); padding: 24px; text-align: center; }
dialog.upsell::backdrop { background: rgba(6, 10, 24, .7); }
dialog.upsell .row-sm { justify-content: center; margin-top: 8px; }
dialog.upsell p { margin: 8px 0; }
.plan-grid-wrap { overflow-x: auto; }
.plan-grid { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.plan-grid th, .plan-grid td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.plan-grid thead th { color: var(--gold); font-size: 15px; }
.plan-grid tbody th { color: var(--muted-2); font-weight: 600; white-space: nowrap; width: 150px; }
.plan-grid .input { width: 100%; }
.toggle-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.toggle-inline input { accent-color: var(--gold); width: 16px; height: 16px; }
.check-col { display: flex; flex-direction: column; gap: 4px; }
.quota-field { display: flex; flex-direction: column; gap: 6px; }
.quota-num { display: flex; align-items: center; gap: 6px; }
.quota-num .input { width: 90px; }
.spec-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted-2); display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 720px) {
  .plan-grid { display: table; min-width: 760px; }
  .plan-grid thead { position: static; width: auto; height: auto; clip: auto; }
  .plan-grid tr, .plan-grid td, .plan-grid tbody { display: revert; }
  .soft-lock-card { top: 16px; }
}

/* harga coret */
.off-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #7A1F3D; color: #FFE3EC; font-size: 11px; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }
.price-was { margin: 0; color: var(--muted); text-decoration: line-through; font-size: 16px; }
.price-was-sm { display: block; color: var(--muted); font-size: 12px; }
.plan-price .off-badge { margin-bottom: 4px; }

/* ---------------------------------------------------------------- musik situs */
.site-music-btn { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(23, 35, 74, .92); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.site-music-btn:hover { border-color: var(--gold); }
.site-music-btn .eq { display: inline-flex; align-items: flex-end; gap: 3px; width: 18px; height: 16px; }
.site-music-btn .eq i { width: 4px; height: 6px; border-radius: 2px; background: var(--gold); }
.site-music-btn.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.site-music-btn.is-playing .eq i:nth-child(2) { animation-delay: .2s; }
.site-music-btn.is-playing .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (prefers-reduced-motion: reduce) { .site-music-btn.is-playing .eq i { animation: none; height: 12px; } }

/* ---------------------------------------------------------------- halaman masuk & daftar */
.auth-page { background: var(--deep); }
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth2-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 40px 48px; background: radial-gradient(circle at 20% 10%, #24346A 0, transparent 55%), linear-gradient(160deg, #101A33, #0B1226); border-right: 1px solid var(--line); }
.auth2-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.auth2-glow.g1 { width: 360px; height: 360px; background: #3A2E5C; right: -80px; top: 120px; }
.auth2-glow.g2 { width: 300px; height: 300px; background: #5A4520; left: -60px; bottom: -40px; opacity: .35; }
.auth2-brand, .auth2-copy, .auth2-stage, .auth2-points { position: relative; z-index: 1; }
.auth2-headline { margin: 10px 0 0; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; max-width: 520px; }
.auth2-stage { position: relative; flex: 1; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.auth2-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted-2); font-size: 14px; }
.auth2-points li { display: flex; align-items: center; gap: 8px; }
.auth2-points svg { color: var(--gold); width: 18px; height: 18px; }
@keyframes float-card { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.auth2-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px 90px; background: var(--bg); }
.auth2-panel { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.auth2-brand-sm { display: none; }
.auth2-head .auth-title { font-size: 38px; margin: 0 0 6px; }
.auth2-head p { margin: 0; }
.auth-field > span:first-child { font-weight: 600; }
.auth-input { position: relative; display: block; }
.auth-input > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; z-index: 1; }
.auth-input .input { padding-left: 44px; min-height: 50px; border-radius: 14px; background: var(--surface); }
.auth-input .pw-wrap .input { padding-left: 44px; }
.auth-input:focus-within > svg { color: var(--gold); }
.auth-forgot { margin: -6px 0 0; text-align: right; }
.auth-switch { margin: 0; text-align: center; color: var(--muted-2); }
.auth-switch a { font-weight: 700; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -6px; }
.pw-meter i { height: 5px; border-radius: 3px; background: var(--line-2); transition: background .2s; }
.pw-meter[data-score="0"] i:nth-child(1) { background: #C0504D; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: #D9822B; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #D4B062; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: #7DBE8F; }
.pw-meter[data-score="4"] i { background: #3BA776; }
.pw-hint { margin: -8px 0 0; }

@media (max-width: 900px) {
  .auth2 { grid-template-columns: 1fr; }
  .auth2-visual { padding: 22px 20px 26px; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth2-stage, .auth2-points { display: none; }
  .auth2-headline { font-size: 26px; }
  .auth2-copy .eyebrow { font-size: 11px; }
  .auth2-form { align-items: flex-start; padding: 26px 20px 96px; }
  .auth2-head .auth-title { font-size: 30px; }
}
@media (max-width: 720px) {
  .site-music-btn { left: auto; right: 14px; bottom: 14px; width: 46px; height: 46px; min-height: 0; padding: 0; justify-content: center; }
  .site-music-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------------------------------------------------------------- landing yang lebih hidup */
@keyframes lp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes lp-float-sm { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes lp-pulse { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.07; opacity: 1; } }
@keyframes lp-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes lp-drift { 0% { translate: 0 0; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .7; } 100% { translate: var(--dx, 20px) -160px; opacity: 0; } }
@keyframes lp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* hero */
.hero-copy > * { animation: lp-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .3s; }
.hero-stage .phone { animation: lp-float 6s ease-in-out infinite; }
.hero-stage .float-left { animation: lp-float-sm 5s ease-in-out infinite reverse; }
.hero-stage .float-right { animation: lp-float-sm 7s ease-in-out .8s infinite; }
.halo { animation: lp-pulse 6s ease-in-out infinite; }
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sparkles i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--gold-2) 55%, transparent); opacity: 0; animation: lp-drift 7s linear infinite; }
.sparkles i:nth-child(1) { left: 8%; top: 70%; animation-delay: 0s; --dx: 18px; }
.sparkles i:nth-child(2) { left: 18%; top: 40%; animation-delay: 1.2s; --dx: -12px; width: 4px; height: 4px; }
.sparkles i:nth-child(3) { left: 30%; top: 85%; animation-delay: 2.6s; --dx: 24px; }
.sparkles i:nth-child(4) { left: 42%; top: 60%; animation-delay: 4s; --dx: -20px; width: 3px; height: 3px; }
.sparkles i:nth-child(5) { left: 55%; top: 90%; animation-delay: .6s; --dx: 14px; }
.sparkles i:nth-child(6) { left: 66%; top: 50%; animation-delay: 3.2s; --dx: -16px; width: 4px; height: 4px; }
.sparkles i:nth-child(7) { left: 78%; top: 75%; animation-delay: 5s; --dx: 22px; }
.sparkles i:nth-child(8) { left: 90%; top: 45%; animation-delay: 1.8s; --dx: -10px; width: 3px; height: 3px; }
.sparkles i:nth-child(9) { left: 12%; top: 20%; animation-delay: 5.6s; --dx: 10px; width: 3px; height: 3px; }
.sparkles i:nth-child(10) { left: 84%; top: 18%; animation-delay: 2.2s; --dx: -14px; }
.sparkles i:nth-child(11) { left: 48%; top: 30%; animation-delay: 6.2s; --dx: 12px; width: 4px; height: 4px; }
.sparkles i:nth-child(12) { left: 24%; top: 58%; animation-delay: 3.8s; --dx: -18px; width: 3px; height: 3px; }
.sparkles i:nth-child(13) { left: 72%; top: 28%; animation-delay: 4.6s; --dx: 16px; width: 3px; height: 3px; }
.sparkles i:nth-child(14) { left: 60%; top: 78%; animation-delay: 6.8s; --dx: -8px; }

/* teks berjalan */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: lp-marquee 32s linear infinite; padding: 22px 0; font-size: 24px; color: var(--muted-2); }
.marquee:hover .marquee-track, .marquee:active .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.marquee-group i { color: var(--gold); font-style: normal; }

/* kartu mengambang di bagian lain */
.band .card { animation: lp-float-sm 7s ease-in-out infinite; }
.welcome-card { animation: lp-float 8s ease-in-out infinite; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
#tema .theme-thumb { animation: lp-float-sm 6s ease-in-out infinite; }
#tema .theme-card:nth-child(2) .theme-thumb { animation-delay: -1.5s; }
#tema .theme-card:nth-child(3) .theme-thumb { animation-delay: -3s; }
#tema .theme-card:nth-child(4) .theme-thumb { animation-delay: -4.5s; }
.todo li { transition: color .3s; }

/* angkat saat disorot */
.feature.card, .price { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.feature.card:hover, .price:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.35); border-color: var(--line-2); }
.price.is-featured:hover { border-color: var(--gold-2); }
.step-no { transition: color .3s, transform .3s; }
.steps > div:hover .step-no { transform: scale(1.08); color: var(--gold-2); }

/* muncul saat digulir */
.reveal-ready [data-rv] { opacity: 0; translate: 0 26px; transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s), translate .8s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0s); }
.reveal-ready [data-rv].is-in { opacity: 1; translate: 0 0; }

@media (max-width: 720px) {
  .marquee-track { font-size: 18px; padding: 14px 0; animation-duration: 24s; }
  .sparkles i:nth-child(n+9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-stage .phone, .hero-stage .float-left, .hero-stage .float-right, .halo, .band .card, .welcome-card, #tema .theme-thumb { animation: none !important; }
  .sparkles { display: none; }
  .marquee-track { animation: none; }
  .feature.card:hover, .price:hover { transform: none; }
}

.lib-group + .lib-group { margin-top: 10px; }
.lib-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lib-admin-main { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lib-admin-main audio { width: 100%; height: 34px; }
.lib-more { border: 0; padding: 4px 0 0; }
.lib-more summary { font-size: 14px; color: var(--gold); }
.lib-more .lib-list { margin-top: 8px; }

/* ---------------------------------------------------------------- pustaka */
.lib-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.lib-tabs a { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted-2); text-decoration: none; font-weight: 600; }
.lib-tabs a span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-size: 12px; }
.lib-tabs a.is-active { border-color: var(--gold); color: var(--gold); background: var(--surface); }
.theme-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.theme-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; text-align: center; padding: 18px; }
.tp-kicker { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }
.tp-names { font-size: 30px; line-height: 1.1; font-style: italic; }
.tp-btn { padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.color-field { font-size: 12px; }
.color-field .input-color { width: 100%; height: 42px; }
.quote-group { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.quote-group + .quote-group { margin-top: 0; }
.quote-group summary { font-size: 15px; }
.quote-group .stack { margin-top: 10px; }
.quote-pick { border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; }
.quote-pick summary { font-size: 14px; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.quote-pick summary svg { width: 16px; height: 16px; }
.quote-pick-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-height: 360px; overflow-y: auto; }
.quote-pick-item { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; }
.quote-pick-item:hover { border-color: var(--gold); }
.qp-ar { font-family: 'Amiri', serif; font-size: 20px; line-height: 1.8; text-align: right; }
.qp-text { font-size: 14px; color: var(--muted-2); }
.qp-src { font-size: 12px; color: var(--gold); font-weight: 700; }
@media (max-width: 720px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- tur panduan */
.tour { position: fixed; inset: 0; z-index: 90; animation: tour-in .25s ease; }
.tour.is-out { opacity: 0; transition: opacity .25s ease; }
.tour-spot { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(5, 9, 22, .72), 0 0 0 2px var(--gold); transition: top .35s ease, left .35s ease, width .35s ease, height .35s ease; pointer-events: none; }
.tour.is-center .tour-spot { box-shadow: 0 0 0 9999px rgba(5, 9, 22, .72); }
.tour::before { content: ''; position: fixed; inset: 0; } /* tahan klik ke halaman selama tur */
.tour-card { position: fixed; width: min(360px, calc(100vw - 24px)); padding: 20px 20px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transition: top .35s ease, left .35s ease; outline: none; }
.tour.is-center .tour-card { width: min(420px, calc(100vw - 24px)); text-align: center; }
.tour-count { margin: 0; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.tour-title { margin: 6px 0 6px; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 600; }
.tour-text { margin: 0; color: var(--muted-2); font-size: 15px; }
.tour-dots { display: flex; gap: 5px; margin: 14px 0 12px; }
.tour.is-center .tour-dots { justify-content: center; }
.tour-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .25s ease, background-color .25s ease; }
.tour-dots i.is-on { width: 18px; background: var(--gold); }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-nav { display: flex; gap: 8px; }
.tour-skip { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tour-skip:hover { color: var(--ink); }
@keyframes tour-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tour, .tour-spot, .tour-card, .tour-dots i { animation: none; transition: none; } }
.tour-skip, .tour-nav .btn { white-space: nowrap; }
@media (max-width: 639px) {
  .tour-card, .tour.is-center .tour-card { width: calc(100vw - 24px); padding: 16px 16px 12px; border-radius: 16px; }
  .tour-title { font-size: 21px; }
  .tour-text { font-size: 14px; line-height: 1.55; }
  .tour-dots { display: none; }
  .tour-actions { margin-top: 12px; }
  .tour-spot { border-radius: 12px; }
}
@media (max-width: 359px) {
  .tour-actions { flex-wrap: wrap; }
  .tour-nav { margin-left: auto; }
}

/* ---------------------------------------------------------------- kirim berurutan */
.send-queue { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.sq-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sq-head p { margin: 0; }
.sq-count { margin: 0; }
.sq-dialog { width: min(440px, calc(100vw - 24px)); padding: 18px 20px 16px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sq-dialog::backdrop { background: rgba(5, 9, 22, .72); }
.sq-dialog .progress { margin: 8px 0 18px; }
.sq-top { display: flex; align-items: center; justify-content: space-between; }
.sq-top p { margin: 0; }
.sq-label { margin: 0; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sq-name { margin: 4px 0 2px; font-size: 28px; line-height: 1.2; font-weight: 600; word-break: break-word; }
.sq-dialog [data-sq-phone] { margin: 0 0 12px; }
.sq-msg { margin: 0 0 16px; font-size: 14px; }
.sq-msg summary { cursor: pointer; color: var(--muted-2); }
.sq-msg p { margin: 8px 0 0; padding: 12px; border-radius: 12px; background: var(--deep); white-space: pre-wrap; color: var(--muted-2); max-height: 180px; overflow: auto; }
.sq-send { margin-bottom: 8px; min-height: 52px; font-size: 16px; }
.sq-last { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sq-last button { background: none; border: 0; color: var(--ok); text-decoration: underline; font: inherit; font-weight: 700; cursor: pointer; padding: 0; white-space: nowrap; }
.sq-note { margin: 12px 0 0; }

/* ---------------------------------------------------------------- foto profil & paket di menu akun */
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar::-webkit-details-marker { display: none; }
.avatar-lg { width: 46px; height: 46px; font-size: 16px; cursor: default; }
.avatar-xl { width: 96px; height: 96px; font-size: 32px; cursor: default; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line-2); }
.account-menu { min-width: 280px; max-width: calc(100vw - 24px); }
.account-head { display: flex; align-items: center; gap: 12px; padding: 8px 10px 4px; }
.account-head .account-name { margin: 0; min-width: 0; }
.account-plan { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 2px !important; margin: 8px 2px 6px; padding: 12px 14px !important; border-radius: 14px !important; background: var(--deep) !important; border: 1px solid var(--line) !important; min-height: 0 !important; }
.account-plan:hover { border-color: var(--gold) !important; }
.account-plan-label { font-weight: 800; color: var(--gold); font-size: 15px; }
.account-plan-note { font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.account-plan-go { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.account-plan.is-warn .account-plan-label { color: #F2C879; }
.account-plan.is-warn { border-color: rgba(242, 200, 121, .45) !important; }
.account-plan.is-off .account-plan-label { color: var(--danger); }
.avatar-edit { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.avatar-edit > .stack { flex: 1 1 240px; min-width: 0; }

/* ---------------------------------------------------------------- notifikasi */
.notes { position: relative; margin-left: auto; margin-right: 10px; }
.notes + .account { margin-left: 0; }
.notes-btn { list-style: none; position: relative; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.notes-btn::-webkit-details-marker { display: none; }
.notes-btn:hover, .notes[open] .notes-btn { border-color: var(--gold); color: var(--gold); }
.notes-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.notes-menu { position: absolute; right: 0; top: 52px; z-index: 40; width: min(360px, calc(100vw - 24px)); max-height: min(480px, 70vh); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); padding: 8px; }
.notes-head { margin: 6px 10px 8px; font-weight: 800; font-size: 14px; }
.notes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.notes-list a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.notes-list a:hover { background: var(--surface-2); }
.notes-list li.is-unread a { background: color-mix(in srgb, var(--gold) 8%, transparent); }
.notes-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--muted-2); }
.notes-ic.is-ok { background: var(--ok-bg); color: var(--ok); }
.notes-ic.is-warn { background: var(--danger-bg); color: var(--danger); }
.notes-ic.is-pay { background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }
.notes-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.45; }
.notes-text strong { font-size: 14px; }
.notes-text span { color: var(--muted-2); }
.notes-text time { color: var(--muted); font-size: 12px; }
.notes-empty { margin: 4px 10px 12px; }
@media (max-width: 720px) { .notes-menu { position: fixed; right: 12px; top: 64px; } }

/* ---------------------------------------------------------------- periksa pembayaran */
.proof-view { border-radius: 16px; overflow: hidden; background: var(--deep); border: 1px solid var(--line); }
.proof-view img { width: 100%; max-height: 75vh; object-fit: contain; background: #fff; }
.proof-view iframe { width: 100%; height: 75vh; border: 0; background: #fff; }
.proof-empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 16px; }
.proof-empty p { margin: 0 0 6px; }
.pay-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.pay-meta dt { color: var(--muted); }
.pay-meta dd { margin: 0; word-break: break-word; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reason-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--deep); color: var(--muted-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.reason-chip:hover, .reason-chip:focus-visible { border-color: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------------- pilihan efek latar (editor) */
.effect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.effect-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--deep); cursor: pointer; transition: border-color .2s; }
.effect-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.effect-card:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.effect-card:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.effect-card strong { font-size: 14px; margin-top: 6px; }
.effect-card small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.effect-demo { position: relative; height: 64px; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #F6F1E9, #E9DFD0); }
.effect-demo.fx-none { background: linear-gradient(160deg, #F6F1E9, #E9DFD0); }
.effect-demo.fx-none::after { content: '—'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #B8AE9F; font-size: 22px; }
.effect-demo i { position: absolute; display: block; }
.effect-demo i:nth-child(1) { left: 12%; animation-delay: 0s !important; }
.effect-demo i:nth-child(2) { left: 32%; animation-delay: -1.1s !important; }
.effect-demo i:nth-child(3) { left: 52%; animation-delay: -2.3s !important; }
.effect-demo i:nth-child(4) { left: 70%; animation-delay: -.6s !important; }
.effect-demo i:nth-child(5) { left: 86%; animation-delay: -1.8s !important; }
.fx-petals i { top: 0; width: 8px; height: 8px; border-radius: 70% 0 70% 0; background: #E2B8A6; animation: demo-fall 3s linear infinite; }
.fx-leaves i { top: 0; width: 8px; height: 12px; border-radius: 0 85% 0 85%; background: #A3B18A; animation: demo-fall 3.4s linear infinite; }
.fx-leaves i:nth-child(even) { background: #C9A66B; }
.fx-confetti i { top: 0; width: 5px; height: 8px; border-radius: 1px; background: #E76F51; animation: demo-fall 2.4s linear infinite; }
.fx-confetti i:nth-child(2) { background: #2A9D8F; } .fx-confetti i:nth-child(3) { background: #E9C46A; } .fx-confetti i:nth-child(4) { background: #8E7DBE; }
.fx-snow { background: linear-gradient(160deg, #1B2850, #0F1830) !important; }
.fx-snow i { top: 0; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: demo-fall 3.6s linear infinite; }
.fx-hearts i { bottom: -12px; width: 10px; height: 10px; background: #C98A97; clip-path: path('M5 9.5S0 6.4 0 3a2.7 2.7 0 015-1.6A2.7 2.7 0 0110 3c0 3.4-5 6.5-5 6.5z'); animation: demo-rise 3.2s ease-in infinite; }
.fx-bubbles i { bottom: -14px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #B8975F; background: radial-gradient(circle at 30% 30%, #fff, transparent 60%); animation: demo-rise 3.6s linear infinite; }
.fx-sparkle i { width: 9px; height: 9px; background: #B8975F; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: demo-twinkle 2.2s ease-in-out infinite; }
.fx-sparkle i:nth-child(odd) { top: 22%; } .fx-sparkle i:nth-child(even) { top: 58%; }
@keyframes demo-fall { from { transform: translate(0, -12px) rotate(0); } to { transform: translate(8px, 76px) rotate(240deg); } }
@keyframes demo-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(6px, -80px); opacity: 0; } }
@keyframes demo-twinkle { 0%, 100% { transform: scale(.2); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .effect-demo i { animation: none !important; top: 40%; } }
.theme-group { margin: 0 0 8px; }
.theme-more { margin-top: 12px; }
.theme-fit { display: none; }
.is-fit .theme-fit { display: inline-flex; }
.theme-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.theme-tabs button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.theme-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.theme-card[hidden] { display: none; }

/* ---------------------------------------------------------------- gambar pratinjau tema (landing) */
.theme-shot { position: relative; display: block; aspect-ratio: 500 / 980; overflow: hidden; padding: 0; border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.theme-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .5s ease, transform .6s ease; }
.theme-shot .theme-shot-open { opacity: 0; }
.theme-card:hover .theme-shot .theme-shot-open, .theme-card:focus-visible .theme-shot .theme-shot-open { opacity: 1; }
.theme-card:hover .theme-shot img { transform: scale(1.03); }
.theme-shot-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 18, 38, .78); color: var(--gold-2); font-size: 11px; font-weight: 800; letter-spacing: .5px; backdrop-filter: blur(4px); }
/* Di layar sentuh (tanpa hover), gambar bergantian sendiri antara sampul dan tampilan terbuka. */
@media (hover: none) {
  .theme-shot .theme-shot-open { animation: shot-swap 7s ease-in-out infinite; }
  .theme-card:nth-child(even) .theme-shot .theme-shot-open { animation-delay: -3.5s; }
}
@keyframes shot-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .theme-shot .theme-shot-open { animation: none; } }
.space-between { justify-content: space-between; }
.article-body { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; line-height: 1.6; }
.article-cover-prev { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); }
.md-help p { margin: 4px 0; }

/* ---------------------------------------------------------------- blog */
.blog-wrap { padding-top: 32px; padding-bottom: 64px; }
.blog-hero { max-width: 720px; margin: 8px 0 28px; }
.blog-hero .h1 { margin: 6px 0 10px; }
.cat-tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.cat-tab.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.post-thumb { display: block; aspect-ratio: 1200 / 630; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-bottom: 8px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-meta { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: .3px; margin: 0; }
.post-title { font-family: var(--serif); font-size: 24px; line-height: 1.25; font-weight: 600; }
.post-card:hover .post-title { color: var(--gold-2); }
.post-excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-cta { margin-top: 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.post { max-width: 1000px; margin: 0 auto; }
.post-head { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.post-h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; margin: 10px 0 14px; font-weight: 600; }
.post-lead { font-size: 19px; color: var(--muted-2); line-height: 1.6; margin: 0; }
.post-cover { margin: 0 auto 36px; max-width: 1000px; aspect-ratio: 1200 / 630; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 48px; justify-content: center; }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 720px); }
.post-toc { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.post-toc p { margin: 0 0 10px; font-weight: 800; color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.post-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.post-toc li { padding-left: 12px; border-left: 2px solid var(--line-2); }
.post-toc a { color: var(--muted-2); text-decoration: none; line-height: 1.4; }
.post-toc a:hover { color: var(--gold); }
.post-body { font-size: 18px; line-height: 1.8; color: #E9E3D7; }
.post-body h2 { font-family: var(--serif); font-size: 32px; line-height: 1.2; margin: 44px 0 14px; color: var(--ink); scroll-margin-top: 20px; }
.post-body h3 { font-size: 21px; margin: 30px 0 10px; color: var(--ink); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--gold); }
.post-body blockquote { margin: 0 0 22px; padding: 16px 22px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; color: var(--muted-2); font-style: italic; }
.post-body blockquote p { margin: 0; }
.post-body img { max-width: 100%; border-radius: 14px; margin: 8px 0 20px; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.post-body a { color: var(--gold-2); }
.post-body strong { color: var(--ink); }
.post-cta { margin-top: 40px; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); text-align: center; }
.post-cta .serif { font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.post-cta .muted { margin: 0 0 16px; font-size: 16px; }
.related { max-width: 1000px; margin: 64px auto 0; }
.related .h3 { margin-bottom: 20px; }
.draft-note { background: #3A2F12; color: #F2D58A; text-align: center; padding: 10px 16px; font-size: 14px; }
.draft-note a { color: #fff; }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-toc { position: static; margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 27px; }
  .post-cover { border-radius: 16px; margin-bottom: 26px; }
}
/* contoh mini efek premium di editor */
.fx-golddust, .fx-fireflies, .fx-meteors, .fx-lanterns, .fx-fireworks { background: linear-gradient(160deg, #1B2850, #0F1830) !important; }
.fx-golddust i { width: 4px; height: 4px; border-radius: 50%; background: #F3D58A; box-shadow: 0 0 6px #E8C872; bottom: 8px; animation: demo-rise 2.8s ease-in-out infinite; }
.fx-fireflies i { width: 5px; height: 5px; border-radius: 50%; background: #FFF4A8; box-shadow: 0 0 8px 2px rgba(255, 230, 110, .8); top: 40%; animation: demo-wander 3s ease-in-out infinite, demo-twinkle 2s ease-in-out infinite; }
.fx-bokeh i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 151, 95, .55), transparent 70%); top: 20%; animation: demo-wander 4s ease-in-out infinite alternate; }
.fx-bokeh i:nth-child(even) { background: radial-gradient(circle, rgba(201, 138, 151, .55), transparent 70%); top: 45%; }
.fx-sakura i { top: 0; width: 10px; height: 10px; background: #F4B4C6; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 78%, 20% 100%, 30% 60%, 0 38%, 37% 35%); animation: demo-fall 3s linear infinite; }
.fx-lanterns i { bottom: -12px; width: 9px; height: 12px; border-radius: 4px; background: #F08A3C; box-shadow: 0 0 8px rgba(255, 170, 70, .9); animation: demo-rise 3.6s linear infinite; }
.fx-butterflies i { bottom: -10px; width: 12px; height: 9px; background: #E5A0B5; clip-path: polygon(50% 50%, 0 0, 10% 60%, 50% 50%, 30% 100%, 50% 60%, 70% 100%, 50% 50%, 90% 60%, 100% 0); animation: demo-rise 3.4s ease-in-out infinite; }
.fx-butterflies i:nth-child(even) { background: #9EC3E6; }
.fx-rosepetals i { top: 0; width: 8px; height: 9px; border-radius: 60% 10% 60% 50%; background: #B3243A; animation: demo-fall 2.8s linear infinite; }
.fx-meteors i { width: 22px; height: 2px; background: linear-gradient(90deg, transparent, #fff); top: 20%; transform: rotate(32deg); animation: demo-meteor 2.4s linear infinite; }
.fx-aurora i { width: 60px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(126, 154, 114, .55), transparent 70%); top: 25%; animation: demo-wander 4s ease-in-out infinite alternate; }
.fx-aurora i:nth-child(even) { background: radial-gradient(ellipse, rgba(201, 154, 165, .55), transparent 70%); }
.fx-fireworks i { width: 22px; height: 22px; border-radius: 50%; top: 22%; background: radial-gradient(circle, transparent 40%, #FFD166 42% 50%, transparent 52%); animation: demo-burst 2s ease-out infinite; }
.fx-fireworks i:nth-child(2) { background: radial-gradient(circle, transparent 40%, #EF476F 42% 50%, transparent 52%); top: 45%; }
.fx-fireworks i:nth-child(4) { background: radial-gradient(circle, transparent 40%, #06D6A0 42% 50%, transparent 52%); }
@keyframes demo-wander { 0% { transform: translate(0, 0); } 50% { transform: translate(10px, -10px); } 100% { transform: translate(-8px, 6px); } }
@keyframes demo-meteor { 0% { transform: rotate(32deg) translateX(-20px); opacity: 0; } 10% { opacity: 1; } 40% { transform: rotate(32deg) translateX(60px); opacity: 0; } 100% { opacity: 0; } }
@keyframes demo-burst { 0% { transform: scale(.1); opacity: 0; } 20% { opacity: 1; } 60% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }
.effect-card.is-locked { opacity: .85; }
/* contoh mini efek premium tambahan */
.fx-goldrain, .fx-crescent, .fx-islamicstars, .fx-candles, .fx-diamonds, .fx-crystals { background: linear-gradient(160deg, #1B2850, #0F1830) !important; }
.fx-goldrain i { top: 0; width: 1.5px; height: 16px; background: linear-gradient(180deg, transparent, #F3D58A); animation: demo-fall 1.2s linear infinite; }
.fx-rain i { top: 0; width: 1.5px; height: 14px; background: linear-gradient(180deg, transparent, #8FA1B5); animation: demo-fall 1s linear infinite; }
.fx-maple i { top: 0; width: 11px; height: 11px; background: #E07A3F; clip-path: polygon(50% 0, 60% 30%, 90% 20%, 75% 50%, 100% 60%, 65% 70%, 55% 100%, 45% 100%, 35% 70%, 0 60%, 25% 50%, 10% 20%, 40% 30%); animation: demo-fall 3s linear infinite; }
.fx-feathers i { top: 0; width: 6px; height: 14px; border-radius: 80% 0 80% 0; background: #fff; box-shadow: 0 0 2px rgba(0, 0, 0, .25); animation: demo-fall 3.6s ease-in-out infinite; }
.fx-jasmine i { top: 0; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 78%, 20% 100%, 30% 60%, 0 38%, 37% 35%); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .4)); animation: demo-fall 3.2s linear infinite; }
.fx-balloons i { bottom: -14px; width: 10px; height: 13px; border-radius: 50%; background: #FF6B6B; animation: demo-rise 3.2s linear infinite; }
.fx-balloons i:nth-child(2) { background: #FFD166; } .fx-balloons i:nth-child(3) { background: #4CC9F0; } .fx-balloons i:nth-child(4) { background: #9B5DE5; }
.fx-streamers i { top: 0; width: 3px; height: 16px; border-radius: 3px; background: #EF476F; animation: demo-fall 2.4s linear infinite; }
.fx-streamers i:nth-child(odd) { background: #FFD166; }
.fx-rings i { bottom: -12px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #D9B45A; animation: demo-rise 3.2s linear infinite; }
.fx-goldhearts i { bottom: -12px; width: 10px; height: 10px; background: #E2BF6E; clip-path: path('M5 9.5S0 6.4 0 3a2.7 2.7 0 015-1.6A2.7 2.7 0 0110 3c0 3.4-5 6.5-5 6.5z'); animation: demo-rise 3.2s ease-in infinite; }
.fx-iridescent i { bottom: -14px; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#ff9ec7, #9ed8ff, #a8ffc4, #ffe58a, #ff9ec7); -webkit-mask: radial-gradient(circle, transparent 50%, #000 55%); mask: radial-gradient(circle, transparent 50%, #000 55%); animation: demo-rise 3.6s linear infinite; }
.fx-dandelion i { width: 10px; height: 10px; border-radius: 50%; top: 40%; background: repeating-conic-gradient(#fff 0 6deg, transparent 6deg 30deg); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .5)); animation: demo-wander 3s ease-in-out infinite; }
.fx-cranes i { width: 14px; height: 10px; top: 35%; background: #E9C7C0; clip-path: polygon(0 60%, 45% 40%, 60% 0, 68% 48%, 100% 50%, 65% 65%, 42% 100%); animation: demo-meteor 3s linear infinite; transform: none; }
.fx-mist i { width: 70px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .9), transparent 70%); top: 35%; animation: demo-wander 4s ease-in-out infinite alternate; }
.fx-crescent i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 3px -2px 0 0 #F2D58A; top: 30%; animation: demo-twinkle 2.6s ease-in-out infinite; }
.fx-islamicstars i { top: 0; width: 10px; height: 10px; background: #C9A04E; clip-path: polygon(50% 0, 62% 25%, 85% 15%, 75% 38%, 100% 50%, 75% 62%, 85% 85%, 62% 75%, 50% 100%, 38% 75%, 15% 85%, 25% 62%, 0 50%, 25% 38%, 15% 15%, 38% 25%); animation: demo-fall 3.4s linear infinite; }
.fx-crystals i { top: 0; width: 11px; height: 11px; background: #DCEBFA; clip-path: polygon(45% 0, 55% 0, 55% 40%, 90% 20%, 95% 28%, 60% 50%, 95% 72%, 90% 80%, 55% 60%, 55% 100%, 45% 100%, 45% 60%, 10% 80%, 5% 72%, 40% 50%, 5% 28%, 10% 20%, 45% 40%); animation: demo-fall 3.4s linear infinite; }
.fx-goldconfetti i { top: 0; width: 5px; height: 8px; background: linear-gradient(135deg, #F3DB92, #B8913E); animation: demo-fall 2.4s linear infinite; }
.fx-goldconfetti i:nth-child(even) { background: linear-gradient(135deg, #F2F4F6, #A9B0B6); }
.fx-candles i { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, #FFF2C2 0 20%, rgba(255, 186, 90, .8) 45%, transparent 70%); top: 50%; animation: demo-twinkle 1.6s ease-in-out infinite; }
.fx-candles i:nth-child(odd) { top: 25%; }
.fx-diamonds i { width: 11px; height: 11px; background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); top: 35%; animation: demo-twinkle 1.8s ease-in-out infinite; }
.fx-notes i { bottom: -14px; width: 10px; height: 12px; background: #8E5A6B; clip-path: polygon(30% 0, 100% 0, 100% 20%, 45% 20%, 45% 80%, 30% 100%, 0 90%, 10% 70%, 30% 70%); animation: demo-rise 3.2s ease-in-out infinite; }

/* ---------------------------------------------------------------- koleksi prompt AI */
.prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.prompt-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.prompt-filters .input { min-height: 42px; }
.prompt-filters [type="search"] { width: 200px; }
.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.prompt-card { padding: 0; overflow: hidden; text-align: left; color: var(--ink); cursor: pointer; font: inherit; transition: transform .25s, border-color .25s; }
.prompt-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.prompt-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9.5; background: var(--deep); }
.prompt-pair > span { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.prompt-pair img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.prompt-pair em { color: var(--muted); font-size: 12px; text-align: center; font-style: normal; padding: 8px; line-height: 1.4; }
.prompt-pair em svg { opacity: .6; }
.prompt-pair > span:first-child { background: repeating-linear-gradient(135deg, #1A2650 0 10px, #17234A 10px 20px); }
.prompt-pair b { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.prompt-arrow { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.prompt-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.prompt-body strong { font-size: 16px; }
.prompt-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.tag-a { background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold-2); }
.tag-b { background: var(--ok-bg); color: var(--ok); }
.tag-c { background: var(--surface-2); color: var(--muted-2); }
.prompt-see { color: var(--gold); font-weight: 700; font-size: 14px; }
.prompt-dialog { width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; padding: 20px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.prompt-dialog::backdrop { background: rgba(5, 9, 22, .75); }
.pd-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.pd-pair figure { margin: 0; }
.pd-pair figcaption { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pd-pair div { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.pd-pair img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pd-pair em { color: var(--muted); font-style: normal; font-size: 13px; padding: 16px; text-align: center; }
.pd-prompt { padding: 14px; border-radius: 14px; background: var(--deep); border: 1px solid var(--line); }
.pd-prompt textarea { font-size: 14px; line-height: 1.6; resize: vertical; }
.pd-prompt textarea.is-locked { -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }
.pd-actions { justify-content: flex-end; margin-top: 14px; }
.prompt-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.prompt-admin { display: flex; flex-direction: column; gap: 4px; padding: 0 0 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.prompt-admin strong, .prompt-admin > span:last-child { padding: 0 12px; }
.prompt-admin .prompt-pair { margin-bottom: 8px; }
.prompt-prev { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 600px) { .prompt-filters [type="search"] { width: 100%; } .pd-pair { grid-template-columns: 1fr 1fr; gap: 8px; } }
/* kado impian di editor */
.gift-claimed { margin: 4px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); }
.gift-claimed .link-btn { color: var(--ok); margin-left: 6px; }
.prompt-promo { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; border-color: color-mix(in srgb, var(--gold) 45%, transparent) !important; }
.prompt-promo > span:first-child { color: var(--gold); flex: none; }
.prompt-promo:hover { border-color: var(--gold) !important; }

/* ---------------------------------------------------------------- check-in management */
.ci-tabs { display: flex; align-items: center; gap: 6px; padding: 6px; margin-bottom: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.ci-tabs > a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; color: var(--muted-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.ci-tabs > a svg { width: 18px; height: 18px; }
.ci-tabs > a.is-active { background: var(--surface-2); color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.ci-export { margin-left: auto; }
.ci-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ci-stat { display: flex; justify-content: space-between; gap: 8px; padding: 16px; }
.ci-stat-label { margin: 0; font-size: 13px; font-weight: 700; }
.ci-stat-num { margin: 4px 0; font-size: 34px; font-weight: 800; line-height: 1.1; }
.ci-stat-sub { margin: 0; display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); font-size: 11px; color: var(--muted-2); }
.ci-stat-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--surface-2); }
.ci-stat.is-in .ci-stat-label, .ci-stat.is-in .ci-stat-num { color: #4CC38A; }
.ci-stat.is-out .ci-stat-label, .ci-stat.is-out .ci-stat-num { color: #E8A04F; }
.ci-stat.is-vip .ci-stat-label, .ci-stat.is-vip .ci-stat-num { color: var(--gold); }
.ci-stat.is-vvip .ci-stat-label, .ci-stat.is-vvip .ci-stat-num { color: #A985F5; }
.ci-live-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ci-live-dot { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.ci-live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4CC38A; animation: ci-pulse 1.4s ease-in-out infinite; }
@keyframes ci-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.ci-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ci-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ci-chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.ci-table tr.is-out td { opacity: .6; }
.ci-level { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--surface-2); color: var(--muted-2); }
.ci-level.is-prioritas { background: rgba(76, 125, 224, .18); color: #8FB0F2; }
.ci-level.is-vip { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-2); }
.ci-level.is-vvip { background: rgba(155, 108, 242, .2); color: #C3A8FA; }
.ci-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.ci-chart h3 { margin: 0; }
.ci-chart .muted { margin: 2px 0 14px; }
.ci-donut { position: relative; width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface-2); }
.ci-donut::after { content: attr(data-total); position: absolute; inset: 26px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: var(--ink); }
.ci-legend { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ci-legend li { display: flex; align-items: center; gap: 8px; }
.ci-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ci-legend span { color: var(--muted-2); flex: 1; }
.ci-monitor { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.ci-screen { position: relative; margin: 6px auto 10px; border: 10px solid #05070D; border-radius: 14px; background: #000; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.ci-screen.is-landscape { width: 100%; aspect-ratio: 16 / 9; }
.ci-screen.is-portrait { width: min(320px, 70%); aspect-ratio: 9 / 16; }
.ci-screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }
.ci-screen.is-landscape iframe { width: 1280px; height: 720px; }
.ci-screen.is-portrait iframe { width: 720px; height: 1280px; }
.choice-pill { position: relative; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; }
.choice-pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted-2); }
.choice-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.ci-bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ci-bg { position: relative; cursor: pointer; }
.ci-bg input { position: absolute; opacity: 0; }
.ci-bg span { display: flex; align-items: flex-end; height: 58px; padding: 6px 8px; border-radius: 10px; border: 2px solid var(--line); font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ci-bg input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.ci-bg.is-theme span { background: linear-gradient(135deg, #F6F1E9 50%, #4E5B3F 50%); }
.ci-bg.is-photo span { background: linear-gradient(135deg, #8D7660, #3B2E25); }
.ci-bg.is-black span { background: #000; }
.ci-bg.is-accent span { background: #8E2B54; }
.ci-bg.is-navy span { background: #12233F; }
.ci-bg.is-light span { background: #F1F1F3; color: #222; text-shadow: none; }
@media (max-width: 900px) { .ci-monitor { grid-template-columns: 1fr; } .ci-export { margin-left: 0; } }
.desk-level { margin: 0 0 6px; display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.desk-level.is-vip { background: linear-gradient(135deg, #B48A3C, #EBCB7E); color: #1A0F08; }
.desk-level.is-vvip { background: linear-gradient(135deg, #7C4DE0, #C3A8FA); color: #fff; }
.desk-level.is-prioritas { background: #4C7DE0; color: #fff; }
.desk-result.is-level-vip { box-shadow: 0 0 0 2px var(--gold); }
.desk-result.is-level-vvip { box-shadow: 0 0 0 2px #A985F5; }
.desk-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; vertical-align: middle; }
.desk-badge.is-vip { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-2); }
.desk-badge.is-vvip { background: rgba(155, 108, 242, .22); color: #C3A8FA; }
.desk-badge.is-prioritas { background: rgba(76, 125, 224, .2); color: #8FB0F2; }

/* ---------------------------------------------------------------- pratinjau ponsel tetap di tempat (desktop) */
/* --preview-top = posisi awal ponsel di halaman (diukur app.js). Sticky di posisi yang sama → ponsel tidak bergeser sama sekali. */
@media (min-width: 901px) {
  .manage-side { top: var(--preview-top, 140px); margin-bottom: -80px; }
  .mini-phone { width: max(180px, min(100%, calc((100vh - var(--preview-top, 140px) - 24px) * 9 / 18.5))); margin: 0 auto; }
  .workspace:has(.manage-side) .app-foot { display: none; }
}
@media (min-width: 1101px) {
  .editor-shell { display: flex; gap: 24px; align-items: flex-start; }
  .editor-main { flex: 1 1 auto; min-width: 0; }
  .editor-preview { flex: 0 0 auto; margin: 0 0 -80px; top: var(--preview-top, 140px); }
  .device { height: min(760px, max(380px, calc(100vh - var(--preview-top, 140px) - 24px))); width: auto; aspect-ratio: 330 / 680; margin: 0 auto; }
  .workspace:has(.editor-preview) .app-foot { display: none; }
}
/* Layar sedang (tablet / jendela sempit): formulir selebar penuh, pratinjau dibuka lewat tombol seperti di HP. */
@media (min-width: 721px) and (max-width: 1100px) {
  .preview-fab { display: inline-flex; position: fixed; right: 24px; bottom: 24px; z-index: 35; min-height: 46px; background: var(--surface-2); color: var(--gold-2); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
  .editor-preview { display: none; }
  body.show-preview { overflow: hidden; }
  body.show-preview .editor-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: fixed; inset: 0; z-index: 60; margin: 0; padding: 16px; background: rgba(6, 10, 24, .92); }
  body.show-preview .device { width: min(360px, 100%); height: calc(100vh - 120px); height: calc(100dvh - 120px); }
  body.show-preview .preview-close { display: inline-flex; position: absolute; top: 14px; right: 14px; background: var(--surface); font-size: 18px; color: var(--ink); }
}
/* Isi ponsel dirender selebar HP sungguhan (390px) lalu diperkecil, supaya tampilannya sama di ukuran ponsel berapa pun. */
.mini-phone, .device { overflow: hidden; }
.mini-phone iframe.is-scaled, .device iframe.is-scaled { max-width: none; transform-origin: 0 0; }
/* Baris atas Kelola: tautan kembali + pratinjau penuh di kolom kanan, supaya ponsel di kiri bisa lebih besar. */
.manage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.manage-top .back-link { margin-bottom: 0; }
/* Catatan pratinjau + tur editor di bawah menu bagian (bukan di bawah ponsel). */
.editor-notes { margin-top: 18px; padding: 14px 12px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.editor-notes p { margin: 0; line-height: 1.5; }
@media (min-width: 721px) { .tour-below-editor { display: none; } }
@media (max-width: 720px) { .editor-notes { display: none; } }

/* ---------------------------------------------------------------- daftar tamu: halaman */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pager-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pager-btn { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
a.pager-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.pager-btn.is-on { background: var(--gold); border-color: var(--gold); color: #1B1405; }
.pager-btn.is-off { opacity: .35; }
.pager-gap { padding: 0 4px; color: var(--muted); }

/* ---------------------------------------------------------------- cetak kartu QR tamu */
body.qr-print { background: #E9ECF2; color: #16181d; min-height: 100vh; }
.qp-bar { background: #101A33; color: #E8ECF5; padding: 20px 16px 18px; }
.qp-bar-in { max-width: 1000px; margin: 0 auto; }
.qp-bar .back-link { margin-bottom: 8px; }
.qp-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; margin: 0 0 6px; }
.qp-note { margin: 0 0 14px; font-size: 14px; color: #B5BED3; max-width: 720px; line-height: 1.55; }
.qp-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.qp-form label { display: grid; gap: 4px; font-size: 13px; color: #B5BED3; }
.qp-form select { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid #2C3A5E; background: #0B1328; color: #E8ECF5; font: inherit; font-size: 14px; }
.qp-form .qp-check { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; color: #E8ECF5; }
.qp-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.qp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--on-gold); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.qp-btn svg { width: 16px; height: 16px; }
.qp-btn-line { background: transparent; color: #E8C987; }
.qp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.qp-count { margin: 12px 0 0; font-size: 13px; color: #8F9AB5; }
.qp-sheet { --qp-w: 95mm; --qp-h: 92mm; display: grid; grid-template-columns: repeat(auto-fill, var(--qp-w)); justify-content: center; gap: 0; max-width: 210mm; margin: 24px auto 48px; padding: 10mm; background: #fff; box-shadow: 0 10px 40px rgba(16, 26, 51, .18); }
.qr-print.is-kecil .qp-sheet { --qp-w: 63mm; --qp-h: 68mm; }
.qp-card { width: var(--qp-w); height: var(--qp-h); box-sizing: border-box; padding: 6mm 5mm 5mm; border: 1px dashed #C4C9D4; margin: 0 -1px -1px 0; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; break-inside: avoid; page-break-inside: avoid; }
.qp-kicker { margin: 0; font-size: 8pt; letter-spacing: .22em; text-transform: uppercase; color: #8A6A2E; }
.qp-head { margin: 1mm 0 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 17pt; line-height: 1.1; color: #16181d; }
.qp-date { margin: 1mm 0 0; font-size: 7.5pt; color: #5B6070; }
.qp-qr { width: 32mm; height: 32mm; margin: 3mm 0 2.5mm; }
.qp-qr svg { display: block; width: 100%; height: 100%; }
.qp-to { margin: 0; font-size: 7pt; color: #5B6070; }
.qp-name { margin: .5mm 0 0; font-weight: 700; font-size: 11pt; line-height: 1.2; color: #16181d; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qp-meta { display: flex; gap: 4px; justify-content: center; margin: 1.5mm 0 0; }
.qp-meta span { padding: .6mm 2.4mm; border-radius: 99px; border: 1px solid #D9C28E; font-size: 7pt; font-weight: 700; color: #8A6A2E; }
.qp-card.is-vip .qp-meta span:last-child { background: #16181d; border-color: #16181d; color: #E8C987; }
.qp-hint { margin: auto 0 0; padding-top: 1.5mm; font-size: 6.5pt; color: #8F95A3; }
.qr-print.is-kecil .qp-card { padding: 4mm 3mm 3mm; }
.qr-print.is-kecil .qp-head { font-size: 13pt; }
.qr-print.is-kecil .qp-qr { width: 26mm; height: 26mm; margin: 2mm 0 1.5mm; }
.qr-print.is-kecil .qp-name { font-size: 9pt; }
.qr-print.is-kecil .qp-date, .qr-print.is-kecil .qp-hint { display: none; }
.qp-empty { grid-column: 1 / -1; text-align: center; color: #5B6070; padding: 40px 0; }
@media (max-width: 820px) {
  .qp-sheet { max-width: none; margin: 16px; padding: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .qp-card { width: auto; }
}
@page { size: A4; margin: 10mm; }
@media print {
  body.qr-print { background: #fff; }
  .qp-bar { display: none; }
  .qp-sheet { margin: 0; padding: 0; box-shadow: none; max-width: none; grid-template-columns: repeat(auto-fill, var(--qp-w)); }
  .qp-card { width: var(--qp-w); }
}

/* ---------------------------------------------------------------- manajemen tempat duduk */
.seat { --c-arrived: #3FBF8F; --c-booked: #D4B062; --c-empty: #4A5A80; --c-over: #E05A5A; display: grid; gap: 16px; }
.seat-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seat-stat { padding: 14px 16px; }
.seat-stat-label { margin: 0; font-size: 13px; color: var(--muted); }
.seat-stat-num { margin: 4px 0 2px; font-size: 28px; font-weight: 700; line-height: 1.1; }
.seat-stat-sub { margin: 0; font-size: 12px; color: var(--muted); }
.seat-stat.is-tunggu .seat-stat-num { color: #E8A15A; }
.seat-stat.is-datang .seat-stat-num, .seat-stat.is-ok .seat-stat-num { color: var(--c-arrived); }
.seat-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.seat-views { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seat-views button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.seat-views button.is-on { background: var(--gold); color: #1B1405; }
.seat-bar-right { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seat-search { width: 240px; max-width: 100%; }
.seat-print { position: relative; }
.seat-print summary { list-style: none; cursor: pointer; }
.seat-print summary::-webkit-details-marker { display: none; }
.seat-print-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 290px; padding: 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); display: grid; }
.seat-print-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.seat-print-menu a:hover { background: var(--surface); }
.seat-print-menu span { font-size: 12px; color: var(--muted); }
.seat-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(63, 191, 143, .12); border: 1px solid rgba(63, 191, 143, .35); color: #9FE3C6; font-size: 14px; }
.seat-msg.is-bad { background: rgba(224, 90, 90, .12); border-color: rgba(224, 90, 90, .4); color: #F2A7A7; }
.seat-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seat-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stack-sm { display: grid; gap: 10px; }
.radio-row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.radio-row input { margin-top: 3px; accent-color: var(--gold); }
.field-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.field-inline .input { width: 160px; }
.toggle-sm { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.toggle-sm input { width: 16px; height: 16px; accent-color: var(--gold); }

.seat-atur { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.seat-side { display: grid; gap: 14px; position: sticky; top: calc(var(--topbar-h, 76px) + 12px); max-height: calc(100vh - var(--topbar-h, 76px) - 24px); overflow: auto; scrollbar-width: thin; }
.seat-wait-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.seat-wait-head .h4 { margin: 0; }
.seat-wait .muted.small { margin: 4px 0 10px; }
.seat-wait-list, .seat-guests { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.seat-wait-list { min-height: 60px; border-radius: 12px; transition: background .15s; }
.seat-wait-list.is-over-drop { background: color-mix(in srgb, var(--gold) 8%, transparent); outline: 2px dashed var(--gold); outline-offset: 4px; }
.seat-guest { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); cursor: grab; }
.seat-guest.is-drag { opacity: .45; }
.seat-guest.is-arrived { border-color: rgba(63, 191, 143, .45); }
.seat-guest.is-arrived .seat-guest-main strong::after { content: ' ✓'; color: var(--c-arrived); }
.seat-guest.is-hit { box-shadow: 0 0 0 2px var(--gold); }
.seat-guest-main { flex: 1; min-width: 0; display: grid; }
.seat-guest-main strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-guest-meta { font-size: 12px; color: var(--muted); }
.seat-pick { width: 132px; flex: none; }
.seat-x { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.seat-x:hover { color: #F2A7A7; border-color: #F2A7A7; }
.seat-empty { padding: 12px; text-align: center; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; list-style: none; }
.seat-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; align-items: start; }
.seat-none { grid-column: 1 / -1; padding: 30px; text-align: center; }
.seat-card { padding: 14px; display: grid; gap: 10px; transition: box-shadow .15s, border-color .15s; }
.seat-card.is-over-drop { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.seat-card.is-full { border-color: rgba(63, 191, 143, .4); }
.seat-card.is-over { border-color: rgba(224, 90, 90, .6); }
.seat-card.is-hit { box-shadow: 0 0 0 3px var(--gold); }
.seat-card-head { display: flex; align-items: center; gap: 8px; }
.seat-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.seat-card-title strong { font-size: 16px; }
.seat-count { font-weight: 700; font-size: 14px; color: var(--muted); }
.seat-count.is-over { color: var(--c-over); }
.seat-gear { width: 30px; height: 30px; font-size: 15px; }
.seat-badge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(76, 125, 224, .2); color: #8FB0F2; }
.seat-badge.lv-vip { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-2); }
.seat-badge.lv-vvip { background: rgba(155, 108, 242, .22); color: #C3A8FA; }
.seat-dots { display: flex; flex-wrap: wrap; gap: 4px; }
.seat-dots i, .seat-legend i { width: 12px; height: 12px; border-radius: 4px 4px 2px 2px; display: inline-block; }
.is-arrived { --dot: var(--c-arrived); }
.seat-dots i.is-arrived, .seat-legend i.is-arrived { background: var(--c-arrived, #3FBF8F); }
.seat-dots i.is-booked, .seat-legend i.is-booked { background: var(--c-booked, #D4B062); }
.seat-dots i.is-empty, .seat-legend i.is-empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c-empty, #4A5A80); }
.seat-dots i.is-over, .seat-legend i.is-over { background: var(--c-over, #E05A5A); }
.seat-warn { margin: 0; font-size: 12px; font-weight: 700; color: var(--c-over); }
.seat-edit { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.seat-edit .field { font-size: 12px; }

.seat-denah-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.seat-legend li { display: inline-flex; align-items: center; gap: 6px; }
.denah-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; margin-bottom: 10px; }
.denah-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #0A1124; scrollbar-width: thin; }
.denah { position: relative; min-width: 760px; aspect-ratio: 16 / 10; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; user-select: none; }
.denah-stage { position: absolute; left: 50%; top: 3%; transform: translateX(-50%); width: 42%; height: 8%; display: grid; place-items: center; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 45%, transparent), color-mix(in srgb, var(--gold) 12%, transparent)); border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-top: 0; color: #F1DDAE; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-size: 12px; }
.dn-table { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; cursor: pointer; outline: none; transition: opacity .2s, filter .2s; }
.dn-top { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; border-radius: 50%; background: #18244A; border: 2px solid #34477A; color: #E8ECF5; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.dn-top b { font-size: 11px; line-height: 1.1; max-width: 86%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.dn-top small { font-size: 10px; color: #9FAACB; }
.shape-persegi .dn-top { border-radius: 10px; }
.shape-panjang .dn-top { border-radius: 8px; }
.dn-table.lv-vip .dn-top { border-color: #D4B062; background: #2A2614; }
.dn-table.lv-vvip .dn-top { border-color: #9B6CF2; background: #231A3D; }
.dn-table.lv-prioritas .dn-top { border-color: #4C7DE0; }
.dn-table.is-full .dn-top small { color: var(--c-arrived); }
.dn-table.is-over .dn-top { border-color: var(--c-over); }
.dn-table.is-over .dn-top small { color: var(--c-over); font-weight: 700; }
.dn-table.is-sel .dn-top, .dn-table:focus-visible .dn-top { box-shadow: 0 0 0 3px var(--gold), 0 8px 20px rgba(0,0,0,.35); }
.dn-table.is-dim { opacity: .3; }
.dn-table.is-hit .dn-top { animation: dn-pulse 1.2s ease-in-out infinite; }
@keyframes dn-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 35%, transparent), 0 8px 20px rgba(0,0,0,.35); } }
.dn-chair { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 4px 4px 2px 2px; }
.dn-chair.is-arrived { background: var(--c-arrived); box-shadow: 0 0 6px rgba(63,191,143,.6); }
.dn-chair.is-booked { background: var(--c-booked); }
.dn-chair.is-empty { background: #0E1730; box-shadow: inset 0 0 0 1.5px var(--c-empty); }
.dn-chair.is-over { background: var(--c-over); box-shadow: 0 0 6px rgba(224,90,90,.7); }
.denah.is-edit { background-color: color-mix(in srgb, var(--gold) 3%, transparent); outline: 2px dashed color-mix(in srgb, var(--gold) 50%, transparent); outline-offset: -8px; }
.denah.is-edit .dn-table { cursor: move; touch-action: none; }
.dn-table.is-moving { z-index: 5; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.denah-detail { padding: 14px; display: grid; gap: 10px; position: sticky; top: calc(var(--topbar-h, 76px) + 12px); }
.denah-detail .h4 { margin: 0; }
.denah-detail .seat-guest { cursor: default; }

@media (max-width: 1100px) {
  .seat-atur { grid-template-columns: 1fr; }
  .seat-side { position: static; max-height: none; }
  .denah-layout { grid-template-columns: 1fr; }
  .denah-detail { position: static; }
}
@media (max-width: 720px) {
  .seat-stats { grid-template-columns: 1fr 1fr; }
  .seat-stat-num { font-size: 22px; }
  .seat-bar-right, .seat-search { width: 100%; }
  .seat-search { flex: 1; }
  .seat-g3 { grid-template-columns: 1fr 1fr; }
  .seat-print-menu { right: auto; left: 0; }
  .field-inline .input { width: 130px; }
}

/* cetak tempat duduk */
body.seat-print { background: #E9ECF2; color: #16181d; min-height: 100vh; --c-arrived: #2FA87A; --c-booked: #C99A3A; --c-empty: #9AA3B5; --c-over: #D64545; }
.sp-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-kinds .qp-btn { text-decoration: none; }
.sp-list, .sp-cards, .sp-denah { max-width: 210mm; margin: 24px auto 48px; padding: 12mm; background: #fff; box-shadow: 0 10px 40px rgba(16, 26, 51, .18); box-sizing: border-box; }
.sp-kicker { margin: 0; font-size: 9pt; letter-spacing: .2em; text-transform: uppercase; color: #8A6A2E; }
.sp-list-head h2, .sp-denah-head h2 { margin: 2px 0; font-family: 'Cormorant Garamond', serif; font-size: 22pt; font-style: italic; }
.sp-list-head p:last-child, .sp-denah-head p:last-child { margin: 0; font-size: 9pt; color: #5B6070; }
.sp-list-head { margin-bottom: 8mm; padding-bottom: 4mm; border-bottom: 1px solid #DDE1E8; }
.sp-table { break-inside: avoid; page-break-inside: avoid; margin-bottom: 7mm; }
.sp-table h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 2mm; font-size: 13pt; }
.sp-lv { padding: 1px 8px; border-radius: 99px; background: #16181d; color: #E8C987; font-size: 8pt; }
.sp-cap { margin-left: auto; font-size: 9pt; font-weight: 600; color: #5B6070; }
.sp-table table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.sp-table th { text-align: left; font-size: 8pt; text-transform: uppercase; letter-spacing: .05em; color: #5B6070; border-bottom: 1.5px solid #16181d; padding: 4px 6px; }
.sp-table td { border-bottom: 1px solid #E1E4EA; padding: 5px 6px; }
.sp-table td:first-child, .sp-table th:first-child { width: 8mm; color: #8F95A3; }
.sp-check { width: 14mm; text-align: center; font-weight: 700; color: #2FA87A; }
.sp-table tbody .sp-check { box-shadow: inset 0 0 0 1px #C4C9D4; }
.sp-none { margin: 0; font-size: 9pt; color: #8F95A3; }
.sp-wait h3 { color: #B4652A; }
.sp-cards { padding: 10mm; display: grid; gap: 0; }
.sp-card { height: 132mm; box-sizing: border-box; border: 1px dashed #C4C9D4; margin-bottom: -1px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; break-inside: avoid; page-break-inside: avoid; }
.sp-card-kicker { margin: 0 0 6mm; font-size: 11pt; letter-spacing: .2em; text-transform: uppercase; color: #8A6A2E; }
.sp-card-label { margin: 0; font-size: 16pt; letter-spacing: .4em; text-transform: uppercase; color: #5B6070; }
.sp-card-name { font-variant-numeric: lining-nums; margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 80pt; line-height: 1; color: #16181d; }
.sp-card-level { margin: 6mm 0 0; padding: 2mm 8mm; border-radius: 99px; background: #16181d; color: #E8C987; font-weight: 700; letter-spacing: .2em; }
.sp-card.lv-vvip .sp-card-level { background: #3B2A66; color: #E4D6FF; }
.sp-empty { text-align: center; color: #5B6070; padding: 40px 0; }
.sp-denah { max-width: 297mm; padding: 10mm; }
.sp-denah-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 4mm; }
.sp-denah .seat-legend { color: #3B4152; font-size: 9pt; }
.sp-denah .seat-legend i.is-empty { box-shadow: inset 0 0 0 1.5px #9AA3B5; }
.sp-stats { display: none; }
.denah.is-print { min-width: 0; border: 1px solid #DDE1E8; border-radius: 10px; background: #FAFBFD; background-image: radial-gradient(rgba(16,26,51,.07) 1px, transparent 1px); background-size: 18px 18px; }
.denah.is-print .denah-stage { color: #6B4F1D; background: linear-gradient(180deg, #EBD9AE, #F7EEDA); border-color: #C9A85E; }
.denah.is-print .dn-top { background: #fff; border-color: #9AA3B5; color: #16181d; box-shadow: none; }
.denah.is-print .dn-top small { color: #5B6070; }
.denah.is-print .lv-vip .dn-top { border-color: #C99A3A; background: #FBF4E2; }
.denah.is-print .lv-vvip .dn-top { border-color: #7C55D6; background: #F1EBFD; }
.denah.is-print .dn-chair.is-empty { background: #fff; box-shadow: inset 0 0 0 1.5px #9AA3B5; }
.denah.is-print .dn-chair { box-shadow: none; }
@media print {
  .denah.is-print { aspect-ratio: auto; height: 150mm; }
  body.seat-print { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .seat-print .qp-bar { display: none; }
  .sp-list, .sp-cards, .sp-denah { margin: 0; padding: 0; box-shadow: none; max-width: none; }
}
/* denah dicetak mendatar */
.sp-denah { page: denah; }
@page denah { size: A4 landscape; margin: 8mm; }

/* ---------------------------------------------------------------- daftar tamu per grup */
.group-toggle { white-space: nowrap; }
.table .group-row th { padding: 14px 10px 8px; background: transparent; border-bottom: 1px solid var(--gold); text-align: left; text-transform: none; letter-spacing: 0; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.group-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--gold-2); }
.group-links { margin-left: auto; font-weight: 500; }

/* ---------------------------------------------------------------- RSVP & ucapan */
.resp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.resp-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.resp-tabs a span { margin-left: 4px; opacity: .7; }
.resp-tabs a.is-on { background: var(--gold); border-color: var(--gold); color: #1B1405; }
.resp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.resp { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 8px; scroll-margin-top: calc(var(--topbar-h, 76px) + 16px); }
.resp.is-hidden { opacity: .62; border-style: dashed; }
.resp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.resp-msg { margin: 0; line-height: 1.55; white-space: pre-line; }
.resp-sticker { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 12px; background: var(--st-bg); color: var(--st-fg); font-weight: 800; font-size: 13px; border: 2px solid #fff; transform: rotate(-2deg); }
.resp-sticker i { font-style: normal; font-size: 19px; }
.resp-reply { padding: 8px 12px; border-left: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); border-radius: 0 10px 10px 0; }
.resp-reply p { margin: 0; }
.resp-reply-form summary { list-style: none; cursor: pointer; display: inline-block; }
.resp-reply-form summary::-webkit-details-marker { display: none; }
.resp-reply-form form { margin-top: 8px; }
.resp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.resp-actions .btn-icon { margin-left: auto; }

/* ---------------------------------------------------------------- galeri photobooth (pemilik) */
.booth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.booth-tile { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); display: grid; }
.booth-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.booth-tile figcaption { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 13px; }
.booth-tile figcaption span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- loading & notifikasi */
.nav-progress { position: fixed; top: 0; left: 0; z-index: 200; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); box-shadow: 0 0 10px color-mix(in srgb, var(--gold) 70%, transparent); opacity: 0; pointer-events: none; }
.nav-progress.is-on { opacity: 1; animation: nav-grow 8s cubic-bezier(.1,.7,.2,1) forwards; }
.nav-progress.is-done { width: 100% !important; animation: none; transition: width .2s ease, opacity .3s ease .15s; opacity: 0; }
@keyframes nav-grow { 0% { width: 0; } 10% { width: 35%; } 40% { width: 70%; } 100% { width: 92%; } }
html.is-loading, html.is-loading * { cursor: progress; }
.is-loading-btn { position: relative; color: transparent !important; pointer-events: none; }
.is-loading-btn > * { visibility: hidden; }
.is-loading-btn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2.5px solid currentColor; border-color: rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-gold.is-loading-btn::after { border-color: rgba(27,20,5,.25); border-top-color: #1B1405; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-stack { position: fixed; top: calc(var(--topbar-h, 76px) + 12px); right: 16px; z-index: 150; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast-app { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #13213F; border: 1px solid rgba(63,191,143,.5); color: #E8F7EF; box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 14px; font-weight: 600; line-height: 1.45; animation: toast-in .3s ease; }
.toast-app.is-error { border-color: rgba(224,90,90,.65); color: #FCE3E3; background: #2A1620; }
.toast-app.is-out { opacity: 0; transform: translateX(20px); transition: opacity .25s, transform .25s; }
.toast-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: #3FBF8F; color: #0B1A12; }
.toast-app.is-error .toast-ic { background: #E05A5A; color: #fff; }
.toast-text { flex: 1; padding-top: 1px; }
.toast-x { flex: none; border: 0; background: none; color: inherit; opacity: .6; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast-x:hover { opacity: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 720px) { .toast-stack { top: calc(var(--topbar-h, 64px) + 8px); right: 12px; left: 12px; width: auto; } }

/* saringan ucapan (Sistem) */
.mono-list { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6; }
.mod-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.mod-groups .small { margin: 0 0 6px; }
.mod-words { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.mod-words span { padding: 2px 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* pilih foto love story dari galeri */
.story-pick { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.sp-opt { flex: none; cursor: pointer; position: relative; }
.sp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sp-opt img, .sp-none { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 2px solid transparent; opacity: .75; transition: opacity .15s, border-color .15s; }
.sp-none { border: 1px dashed var(--line); font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; padding: 4px; box-sizing: border-box; }
.sp-opt input:checked + img, .sp-opt input:checked + .sp-none { opacity: 1; border-color: var(--gold); border-style: solid; }
.sp-opt input:focus-visible + * { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Voice of Us (editor) */
.voice-slot { display: grid; gap: 12px; }
.vs-head { display: flex; align-items: flex-start; gap: 12px; }
.vs-head > div { flex: 1; }
.vs-head .h4, .vs-head .muted { margin: 0; }
.vs-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, transparent); font-size: 20px; flex: none; }
.vs-current { display: flex; align-items: center; gap: 8px; }
.vs-current audio, .vs-preview audio { flex: 1; width: 100%; height: 40px; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-actions[hidden], .vs-rec[hidden], .vs-preview[hidden] { display: none; }
.vs-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(224,90,90,.1); border: 1px solid rgba(224,90,90,.35); }
.vs-rec [data-rec-time] { font-variant-numeric: tabular-nums; font-weight: 700; }
.vs-dot { width: 12px; height: 12px; border-radius: 50%; background: #E05A5A; animation: vs-blink 1s ease-in-out infinite; }
@keyframes vs-blink { 50% { opacity: .25; } }
.vs-rec .btn { margin-left: auto; }
.vs-preview { display: grid; gap: 8px; }

/* ---------------------------------------------------------------- sesi kedatangan */
.sess-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sess-card { padding: 14px 16px; display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.sess-card p { margin: 0; }
.sess-card .progress { margin: 4px 0; }
.sess-card.is-over { border-color: rgba(224,90,90,.6); }
.sess-card.is-wait .sess-num { color: #E8A15A; }
a.sess-card:hover { border-color: var(--gold); }
.sess-num { font-size: 26px; font-weight: 700; line-height: 1.15; }
.sess-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.sess-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 80px 80px minmax(0, 1fr); gap: 8px; align-items: center; }
.sess-row[hidden] { display: none; }
.sess-row-head span { font-size: 12px; color: var(--muted); font-weight: 600; }
.sess-table select { min-width: 160px; }
@media (max-width: 900px) { .sess-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sess-row { grid-template-columns: 1fr 70px 70px; } .sess-row input[name$="_quota"] { grid-column: 1 / -1; } .sess-row-head span:last-child { display: none; } }

/* ---------------------------------------------------------------- program reseller */
.rs { display: grid; gap: 16px; }
.rs-public { padding-top: 32px; padding-bottom: 56px; }
.rs-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 26px; }
.rs-hero .h1 { margin: 4px 0 10px; }
.rs-example { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 8%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.rs-example div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rs-example strong { font-size: 20px; color: var(--gold-2); }
.rs-example p { margin: 0; text-align: right; }
.rs-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rs-steps .card { padding: 16px; display: grid; gap: 6px; }
.rs-steps span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1B1405; font-weight: 800; }
.rs-steps p { margin: 0; }
.rs-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.rs-link .small { margin: 0 0 6px; }
.rs-code { text-align: center; padding: 10px 18px; border-radius: 14px; border: 1px dashed var(--gold); }
.rs-code-val { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .12em; color: var(--gold-2); }
.ref-field summary { cursor: pointer; color: var(--gold-2); margin-bottom: 6px; }
@media (max-width: 820px) { .rs-hero, .rs-link { grid-template-columns: 1fr; } .rs-steps { grid-template-columns: 1fr; } }

/* rangkaian acara: tambah cepat (Ngunduh Mantu, dll.) */
.sched-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--line); background: none; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip-btn svg { width: 14px; height: 14px; }
.chip-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.chip-btn.is-hl { border-style: solid; border-color: var(--gold); color: var(--gold-2); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.chip-btn[hidden] { display: none; }

/* acara khusus grup tertentu (editor) & pilihan acara per tamu */
.aud { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.aud-groups { display: none; flex-wrap: wrap; gap: 6px; padding: 4px 0 0 24px; }
.aud:has(input[value="groups"]:checked) .aud-groups { display: flex; }
.aud-note { flex-basis: 100%; margin: 4px 0 0; }
.aud-chip { position: relative; cursor: pointer; }
.aud-chip input { position: absolute; opacity: 0; pointer-events: none; }
.aud-chip span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.aud-chip input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold-2); font-weight: 600; }
.aud-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.ev-pick { display: grid; gap: 6px; }
.ev-list { display: none; flex-wrap: wrap; gap: 6px; padding-left: 24px; }
.ev-pick:has(input[value="custom"]:checked) .ev-list { display: flex; }

/* ---------------------------------------------------------------- Event Planner */
.pl { display: grid; gap: 16px; }
.pl-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; scrollbar-width: none; }
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.pl-tabs a.is-on { background: var(--gold); border-color: var(--gold); color: #1B1405; }
.pl-hero { border-radius: 22px; padding: 20px; color: #fff; background: linear-gradient(120deg, #4E4BC7, #7A6AE6 55%, #A391F2); box-shadow: 0 18px 40px rgba(78,75,199,.35); display: grid; gap: 16px; }
.pl-hero-top { display: flex; align-items: center; gap: 12px; }
.pl-mono { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: #4E4BC7; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.pl-name { margin: 0; font-weight: 800; font-size: 18px; }
.pl-badge { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 99px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 700; }
.pl-days { margin-left: auto; padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.18); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pl-days strong { font-size: 16px; }
.pl-hero-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pl-hero-grid > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.14); min-width: 0; }
.pl-hero-grid span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.18); flex: none; }
.pl-hero-grid p { margin: 0; display: grid; min-width: 0; }
.pl-hero-grid small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.pl-hero-grid strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-ai { display: block; text-align: center; padding: 10px; border-radius: 14px; background: linear-gradient(90deg, #7A6AE6, #A391F2); color: #fff; font-weight: 700; text-decoration: none; }
.pl-summary { padding: 16px; display: grid; gap: 12px; }
.pl-sum-head { display: flex; align-items: center; gap: 10px; }
.pl-sum-head .btn { margin-left: auto; }
.pl-sum-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(122,106,230,.18); }
.pl-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pl-next li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pl-next li.is-late span:last-child, .pl-late-txt { color: #F08A8A; font-weight: 700; }
.pl-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 12px; }
.pl-stat { display: grid; gap: 2px; padding: 4px 12px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.pl-stat:first-child { border-left: 0; padding-left: 0; }
.pl-stat small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pl-stat strong { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-stat strong::after { content: ''; display: block; width: 14px; height: 3px; border-radius: 2px; margin-top: 3px; background: currentColor; opacity: .7; }
.pl-stat.is-green strong { color: #4CCB8F; } .pl-stat.is-teal strong { color: #3FC4D4; } .pl-stat.is-orange strong { color: #F2A65A; } .pl-stat.is-slate strong { color: #A9B4CC; } .pl-stat.is-red strong { color: #F08A8A; } .pl-stat.is-dark strong { color: var(--ink); }
.pl-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pl-tile { display: flex; align-items: center; gap: 12px; padding: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.pl-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.pl-tile > span:last-child { display: grid; }
.pl-tile small { color: var(--muted); font-size: 12px; }
.pl-tile-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none; background: rgba(255,255,255,.06); }
.pl-tile-ic.is-violet { background: rgba(122,106,230,.18); } .pl-tile-ic.is-green { background: rgba(76,203,143,.16); } .pl-tile-ic.is-orange { background: rgba(242,166,90,.16); } .pl-tile-ic.is-teal { background: rgba(63,196,212,.16); } .pl-tile-ic.is-red { background: rgba(240,138,138,.16); } .pl-tile-ic.is-slate { background: rgba(169,180,204,.14); }
.pl-setup { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 100vmax rgba(6,10,24,.6); z-index: 90; }
.pl-setup-head { padding: 22px 22px 18px; text-align: center; color: #fff; background: linear-gradient(120deg, #4E4BC7, #A391F2); }
.pl-setup-head span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; font-size: 20px; }
.pl-setup-head h2 { margin: 8px 0 2px; font-size: 18px; }
.pl-setup-head p { margin: 0; font-size: 13px; opacity: .9; }
.pl-setup form { padding: 18px 22px 22px; }
.pl-add { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.pl-group .mgroup-title { margin: 6px 0; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-todo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.pl-todo.is-done .pl-todo-text { text-decoration: line-through; color: var(--muted); }
.pl-todo.is-late { border-color: rgba(240,138,138,.5); }
.pl-todo.is-late .pl-due { color: #F08A8A; font-weight: 700; }
.pl-check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--gold); background: none; color: #1B1405; font-weight: 900; cursor: pointer; display: grid; place-items: center; flex: none; }
.pl-todo.is-done .pl-check { background: var(--gold); }
.pl-todo-main { flex: 1; min-width: 0; display: grid; }
.pl-edit { position: relative; }
.pl-edit > summary { list-style: none; cursor: pointer; }
.pl-edit > summary::-webkit-details-marker { display: none; }
.pl-edit[open] > form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(420px, 80vw); padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); display: grid; gap: 8px; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pl-vendor, .pl-person { display: grid; gap: 6px; align-content: start; }
.pl-vendor.st-deal, .pl-vendor.st-dp { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.pl-vendor.st-lunas { border-color: rgba(76,203,143,.55); }
.pl-vendor.st-batal { opacity: .55; }
.pl-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-2); font-weight: 800; flex: none; }
.pl-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pl-tl-date { margin: 12px 0 6px; font-weight: 800; color: var(--gold-2); font-size: 14px; }
.pl-tl { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0 10px 14px; border-left: 2px solid var(--line); position: relative; }
.pl-tl::before { content: ''; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.pl-tl-time { font-weight: 800; font-variant-numeric: tabular-nums; display: grid; }
.pl-tl-time small { font-weight: 500; color: var(--muted); }
.pl-tl-body { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pl-tl-body p { flex-basis: 100%; margin: 0; }
.pl-money { margin-bottom: 0; }
.lock-list { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; text-align: left; font-size: 14px; }
@media (max-width: 900px) {
  .pl-hero-grid { grid-template-columns: 1fr 1fr; }
  .pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .pl-stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .pl-menu { grid-template-columns: 1fr 1fr; }
  .pl-add { grid-template-columns: 1fr 1fr; }
  .pl-add .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .lock-list { grid-template-columns: 1fr; } .pl-tl { grid-template-columns: 60px minmax(0, 1fr); } .pl-tl > .row-sm { grid-column: 2; } }
@media print {
  .rail, .topbar, .pl-tabs, .page-head, .no-print, .sub-details, .card-head .row-sm, .app-foot, .toast-stack { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .pl .card { border: 0; box-shadow: none; background: #fff; }
  .pl-tl { border-left-color: #ccc; }
}

.pl-money .stat-num { font-size: clamp(18px, 2vw, 24px); overflow-wrap: anywhere; line-height: 1.2; }

/* diskon referral */
.ref-discount { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(63,191,143,.12); border: 1px solid rgba(63,191,143,.4); color: #BDEBD6; font-size: 14px; }
.pay-breakdown { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.pay-breakdown div { display: flex; justify-content: space-between; gap: 10px; }
.pay-breakdown .is-disc { color: #7FE0B4; font-weight: 700; }


/* ---------------------------------------------------------------- perbaikan responsif layar kecil */
@media (max-width: 900px) {
  .pl-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-add { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .pl-hero { padding: 16px; }
  .pl-hero-top { flex-wrap: wrap; }
  .pl-days { margin-left: 0; }
  .pl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-add { grid-template-columns: minmax(0, 1fr); }
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-stat { border-left: 0; padding-left: 0; }
  .pl-menu { grid-template-columns: minmax(0, 1fr); }
  .pl-tl { grid-template-columns: 56px minmax(0, 1fr); }
}
@media screen and (max-width: 640px) {
  .sp-list, .sp-cards, .sp-denah { margin: 12px; padding: 14px; max-width: none; }
  .sp-table { overflow-x: auto; }
  .sp-table table { font-size: 12px; }
  .sp-card { height: auto; min-height: 220px; padding: 24px 10px; }
  .sp-card-name { font-size: 56pt; }
}
.seat-g3 > *, .seat-g2 > *, .grid-2 > * { min-width: 0; }
.pl-edit .grid-2, .pl-edit .seat-g3 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) {
  .seat-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seat-g3 > :first-child { grid-column: 1 / -1; }
  .pl-edit[open] > form { position: fixed; left: 12px; right: 12px; top: auto; bottom: 84px; width: auto; max-height: 70vh; overflow: auto; z-index: 60; }
}
/* label tersembunyi (sr-only) di dalam tabel tidak boleh melebarkan halaman */
.table-wrap { position: relative; }
/* Angka tegak (bukan gaya lama) supaya "0" tidak terbaca "o" di huruf Cormorant */
.serif, .stat-num, .sess-num, .seat-stat-num, .pay-amount, .h1, .h2, .h3 { font-variant-numeric: lining-nums; }
/* Tablet (721–1100px): menu bagian editor jadi tab geser horizontal supaya formulir langsung terlihat */
@media (min-width: 721px) and (max-width: 1100px) {
  .editor-tabs { flex: 1 1 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .editor-tabs::-webkit-scrollbar { display: none; }
  .editor-tabs a { flex: none; white-space: nowrap; min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .editor-tabs a.is-active { border-color: var(--gold); }
  .editor-tabs .editor-notes { display: none; }
  .tour-below-editor { display: block; }
  .editor-form { flex-basis: 100%; }
}
/* Kartu yang bersebelahan langsung di area utama selalu diberi jarak (mis. halaman Sistem) */
.main > .card + .card, .main > .card + section, .main > section + .card, .main > .card + form, .main > form + .card { margin-top: 16px; }

/* ---------------------------------------------------------------- kotak pilihan bertema (pilihan.js) */
.pick-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; }
.pick-btn { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer; padding-right: 36px; position: relative; background-image: none; }
.pick-btn.input-auto { width: auto; }
.pick-btn::after { content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .15s; }
.pick-btn[aria-expanded="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }
.pick-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.pick-btn:disabled { opacity: .55; cursor: not-allowed; }
.pick-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-pop { position: fixed; z-index: 400; max-width: min(420px, calc(100vw - 16px)); overflow-y: auto; padding: 6px; border-radius: 14px; background: #13213F; border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); box-shadow: 0 18px 44px rgba(0,0,0,.55); animation: pick-in .14s ease; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--gold) 40%, transparent) transparent; }
@keyframes pick-in { from { opacity: 0; transform: translateY(-4px); } }
.pick-opt { position: relative; padding: 9px 34px 9px 12px; border-radius: 9px; font-size: 14px; color: #E8ECF5; cursor: pointer; line-height: 1.35; }
.pick-opt:hover, .pick-opt.is-active { background: color-mix(in srgb, var(--gold) 14%, transparent); color: #fff; }
.pick-opt.is-selected { color: var(--gold-2); font-weight: 700; }
.pick-opt.is-selected::after { content: '✓'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 800; }
.pick-opt.is-disabled { opacity: .4; cursor: not-allowed; }
.pick-opt mark { background: none; color: var(--gold-2); font-weight: 800; }
.pick-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pick-hint { padding: 6px 12px 4px; font-size: 11px; color: var(--muted); }

/* dialog: perubahan belum disimpan */
.leave-dlg { width: min(460px, calc(100vw - 32px)); padding: 26px 24px 22px; border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 20px; background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.leave-dlg::backdrop { background: rgba(6,10,24,.65); backdrop-filter: blur(2px); }
.leave-ic { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.leave-dlg h2 { margin: 0 0 6px; font-size: 20px; }
.leave-dlg p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.leave-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.leave-btns .btn { flex: 1 1 auto; white-space: nowrap; padding-left: 16px; padding-right: 16px; }

/* Timeline planner dalam bentuk tabel */
.pl-rundown td { vertical-align: top; }
.pl-rundown .pl-rd-no { width: 40px; }
.pl-rundown .pl-rd-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-rundown .pl-edit[open] > form { right: 0; }
@media (max-width: 720px) {
  .pl-rundown .pl-rd-no { display: none; }
  .pl-rundown td[data-label]::before { margin-top: 2px; }
  .pl-rundown tr .row-sm.nowrap { justify-content: flex-end; }
}
@media print {
  .pl-rundown { font-size: 11pt; color: #111; }
  .pl-rundown th, .pl-rundown td { border-bottom: 1px solid #ccc !important; color: #111 !important; }
  .pl-rundown .chip { background: none; border: 0; padding: 0; color: #111; }
}

.pl-rundown td { vertical-align: middle; }
.pl-rundown .pl-edit { display: inline-block; }
.pl-rundown td:last-child .row-sm { justify-content: flex-end; flex-wrap: nowrap; }
.pl-edit:not([open]) > :not(summary) { display: none !important; }
.pl-rundown td:last-child .row-sm { margin-top: 0; }
.pl-edit > summary { display: flex; }
.pl-edit > summary.btn { display: inline-flex; }
.pl-edit { padding: 0 !important; margin: 0; border: 0 !important; background: none !important; }

/* Kepala editor: aksi utama jelas, "Jadikan draf" jadi tautan kecil di baris status */
.ed-meta { flex-wrap: wrap; align-items: center; }
.ed-draft { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px dashed var(--line); border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ed-draft:hover { color: #F2B8B8; border-color: #F2B8B8; }
@media (max-width: 720px) {
  .ed-actions { width: 100%; }
  .ed-actions > .btn, .ed-actions > form { flex: 1 1 auto; }
  .ed-actions > form .btn { width: 100%; }
  /* Menu bagian editor: turun ke baris berikutnya, tidak terpotong */
  .editor-tabs { flex-wrap: wrap; overflow-x: visible; gap: 6px; }
  .editor-tabs a { padding: 7px 12px; min-height: 36px; font-size: 13px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .editor-tabs { flex-wrap: wrap; overflow-x: visible; }
}


/* ---------------------------------------------------------------- pemutar audio bertema (audio.js) */
.aplayer { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; min-width: 0; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); box-sizing: border-box; }
.aplayer.is-playing { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 7%, transparent); }
.ap-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--gold); color: #1B1405; cursor: pointer; transition: transform .12s, box-shadow .2s; }
.ap-btn:hover { transform: scale(1.06); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.ap-btn svg { margin-left: 1px; }
.aplayer.is-playing .ap-btn svg { margin-left: 0; }
.aplayer.is-loading .ap-btn { animation: ap-pulse 1s ease-in-out infinite; }
@keyframes ap-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); } }
.ap-track { position: relative; flex: 1; min-width: 60px; height: 22px; cursor: pointer; touch-action: none; outline: none; }
.ap-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,.14); }
.ap-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ap-knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #F1DDAE; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); opacity: 0; transition: opacity .15s; }
.aplayer:hover .ap-knob, .aplayer.is-playing .ap-knob, .ap-track:focus-visible .ap-knob { opacity: 1; }
.ap-track:focus-visible::before { box-shadow: 0 0 0 2px var(--gold); }
.ap-time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 74px; text-align: right; }
.lib-item .aplayer, .lib-admin-main .aplayer, .vs-current .aplayer, .vs-preview .aplayer, .file-row .aplayer { max-width: none; }
@media (max-width: 420px) { .ap-time { min-width: 0; font-size: 11px; } }

/* Menu tab tidak terpotong di layar kecil: turun ke baris berikutnya, bukan digeser ke samping */
.lib-tabs, .pl-tabs, .ci-tabs, .theme-tabs { flex-wrap: wrap; overflow-x: visible; }
@media (max-width: 720px) {
  .tabs { flex-wrap: wrap; overflow-x: visible; justify-content: center; }
  .lib-tabs > *, .pl-tabs > * { font-size: 13px; padding: 7px 12px; }
}
@media (max-width: 720px) { .tabs { border-radius: 20px; } }

/* HP: daftar harga disusun ke bawah (tidak digeser ke samping), pilihan foto cerita turun ke baris berikutnya */
@media (max-width: 720px) {
  .pricing { display: grid; grid-template-columns: minmax(0, 1fr); overflow-x: visible; scroll-snap-type: none; margin: 20px 0 0; padding: 12px 0 0; gap: 18px; }
  .price { flex: none; }
  #harga .center.narrow::after { content: none; }
}
.story-pick { flex-wrap: wrap; overflow-x: visible; }

/* pilih undangan untuk Penerima Tamu (beranda) */
button.big-card { width: 100%; text-align: left; font: inherit; cursor: pointer; border: 0; }
.pick-event { width: min(520px, calc(100vw - 24px)); padding: 18px; border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.pick-event::backdrop { background: rgba(6,10,24,.65); }
.pick-event-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pick-event-head .h4 { margin: 0; }
.pick-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick-event-list a { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; }
.pick-event-list a:hover { border-color: var(--gold); }
.pick-event-main { flex: 1; min-width: 0; display: grid; }
.pick-event-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Menu bawah HP: maksimal 5 tombol; sisanya (akun admin) di panel "Lainnya". Di layar lebar semua menu tampil di samping. */
.rail-more { display: none; }
@media (max-width: 720px) {
  .rail-link.is-extra { display: none; }
  .rail-more { display: flex; flex: 1; position: relative; }
  .rail-more > summary { list-style: none; cursor: pointer; width: 100%; }
  .rail-more > summary::-webkit-details-marker { display: none; }
  .rail-more[open] > summary { color: var(--gold); background: var(--surface); }
  /* Selama panel terbuka, menu bawah di atas tombol chatbot (lapis 80) supaya panel tidak tertutup. */
  .rail:has(.rail-more[open]) { z-index: 90; }
  .rail-more-panel { position: fixed; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(96px, 1fr)); gap: 6px; padding: 10px; border-radius: 18px; background: var(--deep); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
  .rail-more-panel .rail-link { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink); background: var(--surface); }
  .rail-more-panel .rail-link.is-active { color: var(--gold); }
}

/* Sapaan Suara AI */
.greet { display: flex; flex-direction: column; gap: 16px; }
.greet-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; }
.greet-meter { padding: 18px; border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.greet-num { font-family: var(--serif, inherit); font-size: 40px; line-height: 1; font-variant-numeric: lining-nums; margin: 0; }
.greet-num span { font-size: 20px; color: var(--muted); }
.greet-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.greet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.greet-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.greet-list li:last-child { border-bottom: 0; }
.greet-list .aplayer { flex: 0 1 280px; min-width: 200px; }
.greet .row-sm { flex-wrap: wrap; }
.greet [data-g-name] { flex: 1 1 200px; min-width: 0; }
@media (max-width: 860px) { .greet-hero, .greet-grid { grid-template-columns: minmax(0, 1fr); } }
audio[hidden] + .aplayer { display: none; }

/* Landing: bagian baru (Hari H, Event Planner, sapaan suara, reseller) */
.lp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; padding: 0; }
.lp-tags li { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted-2); }
.lp-planner-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-pct { font-weight: 700; color: var(--gold); font-variant-numeric: lining-nums; }
.lp-budget { margin-top: 18px; }
.lp-budget p { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; font-size: 14px; color: var(--muted-2); font-variant-numeric: lining-nums; }
.lp-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2, var(--gold))); }
.lp-voice { position: relative; overflow: hidden; }
.lp-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; margin: 22px 0 10px; }
.lp-wave i { width: 4px; height: 30%; border-radius: 4px; background: var(--gold); animation: lp-wave 1.1s ease-in-out infinite; }
@keyframes lp-wave { 0%, 100% { height: 20%; opacity: .5; } 50% { height: 100%; opacity: 1; } }
.lp-voice-cap { margin: 0; font-size: 14px; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .lp-wave i { animation: none; height: 60%; } }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.bento-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .25s, border-color .25s; }
.bento-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.bento-card.is-wide { grid-column: span 2; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.bento-icon { font-size: 28px; line-height: 1; }
.bento-card h3 { margin: 8px 0 0; font-size: 19px; }
.bento-card p { margin: 0; color: var(--muted-2); font-size: 15px; flex-grow: 1; }
.bento-plan { align-self: flex-start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.lp-reseller { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%), var(--surface); }
.lp-reseller .lead { margin-bottom: 24px; }
.lp-reseller-stats { display: grid; gap: 12px; }
.lp-reseller-stats div { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--surface-2); }
.lp-reseller-stats strong { font-size: 38px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; min-width: 80px; }
.lp-reseller-stats span { color: var(--muted-2); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lp-reseller { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 24px; } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento-card.is-wide { grid-column: auto; } .bento-card { padding: 22px; } }

/* Penanda kolom Wajib / Opsional (dipasang oleh public/js/app.js) */
.field-head { display: inline; }
.field-tag { display: inline-block; margin-left: 6px; font-size: 11px; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
.field-tag.is-req { padding: 0 7px; border-radius: 999px; font-weight: 700; color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, transparent); }
.field-tag.is-opt { font-weight: 500; color: var(--muted); }

/* Halaman "Buat undangan" bergaya halaman masuk: pratinjau langsung di kiri, form di kanan */
.onboard2 .auth2-visual { position: sticky; top: 0; height: 100vh; }
.onboard2 .auth2-form { align-items: flex-start; padding-top: 56px; }
.onboard2-panel { max-width: 480px; gap: 18px; }
.onb-lang { font-size: 22px !important; }
.onb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.onb-steps li { display: flex; align-items: center; gap: 8px; }
.onb-steps li + li::before { content: ''; width: 18px; height: 1px; background: var(--line-2); margin-right: 2px; }
.onb-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); }
.onb-steps .is-now { color: var(--ink); font-weight: 600; }
.onb-steps .is-now span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.onboard-form { gap: 18px; }
.onboard-form .fieldset { margin: 0; padding: 0; border: 0; }
.onboard-form .field-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.onboard-form .field small.muted { font-weight: 400; font-size: 12.5px; }
.onb-slot { margin: -6px 0 0; }
@media (max-width: 900px) {
  .onboard2 .auth2-visual { position: static; height: auto; }
  .onboard2 .auth2-form { padding-top: 26px; }
}
/* Di HP pratinjau kartu disembunyikan, jadi kalimat "pratinjau langsung" ikut disembunyikan. */
@media (max-width: 900px) { .onboard2 .auth2-copy { display: none; } .onboard2 .auth2-visual { padding-bottom: 18px; } }

/* Mockup ponsel (sama dengan landing page) di halaman masuk & Buat undangan */
.auth2-stage { flex-direction: column; gap: 18px; min-height: 0; }
.auth2-stage .hero-stage { zoom: .78; max-width: 520px; }
.auth2-stage .tabs { zoom: .9; }
.onb-link strong { font-size: 13px; overflow-wrap: anywhere; }
.onboard2 .float-left { max-width: 230px; }
/* Layar pendek: kecilkan ponsel dan sembunyikan daftar poin supaya panel kiri tidak perlu digulir. */
@media (max-height: 940px) { .auth2-stage .hero-stage { zoom: .64; } .auth2-points { display: none; } }
@media (max-height: 800px) { .auth2-stage .hero-stage { zoom: .56; } .auth2-visual { gap: 18px; padding-top: 28px; padding-bottom: 24px; } .auth2-headline { font-size: clamp(26px, 2.6vw, 36px); } }
@media (max-height: 680px) { .auth2-stage .hero-stage { zoom: .46; } .auth2-stage .tabs { display: none; } }
/* Sistem → Mockup undangan */
.hero-set { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.hero-set h2 { margin: 0; }
.hero-set .field-label { margin: 6px 0 -4px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.hero-set-prev { --halo: #1B2850; position: sticky; top: 90px; display: flex; justify-content: center; padding: 18px 0; border-radius: 24px; background: radial-gradient(circle at 50% 45%, var(--halo) 0 42%, transparent 43%); }
.hero-set-prev .phone { zoom: .66; animation: none; }
.hero-set-prev .slide { opacity: 1; transform: none; }
.hero-colors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) {
  .hero-set { grid-template-columns: 1fr; }
  .hero-set-prev { position: static; }
  .hero-colors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.slide-shot { padding: 0; }
.slide-shot img, .hero-set-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-colors-1 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Halaman Pilih paket (bergaya halaman masuk) */
.plan2 .onboard2-panel { max-width: 540px; }
.plan-opt .tag-up { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-2); }
.plan-opt .tag-down { background: rgba(255, 255, 255, .06); color: var(--muted); }
.onb-steps .is-done { color: var(--ok); }
.onb-steps .is-done span { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.onb-steps .is-done svg { width: 13px; height: 13px; }
.plan2 .float-left { max-width: 240px; }

/* Halaman pembayaran (bergaya halaman masuk) */
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-head .status-pill { flex-shrink: 0; margin-top: 10px; }
.pay-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.pay-amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay2 .pay-amount { font-size: 34px; }
.pay-tip { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--gold-2); font-size: 13px; }
.pay-label { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.pay-label span { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--gold); color: var(--on-gold); }
.pay-label-last { color: var(--muted); font-weight: 500; font-size: 14px; padding: 0 4px; }
.pay-label-last span { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.pay-accounts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pay-accounts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.pay-done { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--ok-bg); }
.pay-done p { margin: 0; color: var(--ok); }
.pay-float-amt { font-size: 22px !important; }

/* Kotak link (hanya untuk disalin/dibagikan, bukan kolom isian) */
.link-box { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border-radius: 14px; border: 1px dashed var(--line-2); background: color-mix(in srgb, var(--gold) 6%, transparent); color: var(--ink); cursor: default; }
.link-box svg { flex-shrink: 0; color: var(--gold); }
.link-box-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; user-select: all; }
.link-edit-hint { margin: -4px 0 0; }
/* Teks hanya-baca yang tetap berbentuk kotak (mis. prompt AI) */
.input-ro { background: rgba(255, 255, 255, .03); border-style: dashed; cursor: default; }
@media (max-width: 720px) {
  .copy-row .link-box { flex: 1 1 100%; }
}
#alamat { scroll-margin-top: 90px; }
/* Panel admin: ganti link undangan */
.slug-admin { margin-top: 4px; }
.slug-admin summary { cursor: pointer; color: var(--gold); }
.slug-admin-form { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.slug-admin-form .input { width: 170px; }

/* Sistem: tab pengaturan */
.settings-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 0 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.settings-tabs::-webkit-scrollbar { display: none; }
.settings-tabs a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.settings-tabs a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.settings-tabs a.is-active { background: var(--gold); color: var(--on-gold); }
/* Identitas aplikasi */
.brand-logo { height: 32px; width: auto; max-width: 170px; object-fit: contain; }
.brand-logo.brand-icon { height: 34px; width: 34px; border-radius: 9px; }
.rail-brand .brand-logo { height: 28px; max-width: 64px; }
.brand-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.brand-current { display: flex; align-items: center; min-height: 56px; padding: 8px 12px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line-2); }
.brand-current img { max-height: 48px; max-width: 100%; object-fit: contain; }
.brand-current .brand-fav { width: 32px; height: 32px; }
.brand-current svg { vertical-align: middle; color: var(--gold); }

/* Identitas: warna & sampul */
.brand-color-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.brand-color-row .color-field { width: 120px; }
.brand-swatch { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 42px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.brand-swatch .btn { background: var(--c); color: #101A33; pointer-events: none; }
.brand-swatch a { color: var(--c); font-size: 14px; }
.brand-swatch .tag-a { color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.brand-cover img { max-height: 120px; border-radius: 8px; }
.grid-3-sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .grid-3-sm { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------- Chatbot mengambang */
.cb { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.cb > * { pointer-events: auto; }
.cb-fab { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); transition: transform .2s; }
.cb-fab:hover { transform: translateY(-2px); }
.cb-fab-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-gold) 12%, transparent); }
.cb.is-open .cb-fab-label { display: none; }
.cb.is-open .cb-fab { padding: 8px; }
.cb-panel { width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); animation: cb-in .2s ease; }
.cb-panel[hidden] { display: none; }
@keyframes cb-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cb-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: var(--deep, #0B1226); border-bottom: 1px solid var(--line); }
.cb-head > div { flex: 1; min-width: 0; }
.cb-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); }
.cb-title { margin: 0; font-weight: 700; font-size: 15px; }
.cb-sub { margin: 0; font-size: 12px; color: var(--muted); }
.cb-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.cb-icon:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.cb-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.cb-msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.cb-msg.is-user { align-self: flex-end; align-items: flex-end; }
.cb-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cb-msg.is-bot .cb-bubble { background: var(--bg); border: 1px solid var(--line); border-top-left-radius: 6px; }
.cb-msg.is-user .cb-bubble { background: var(--gold); color: var(--on-gold); border-top-right-radius: 6px; white-space: pre-wrap; }
.cb-bubble p { margin: 0 0 6px; }
.cb-bubble p:last-child { margin-bottom: 0; }
.cb-bubble ul, .cb-bubble ol { margin: 4px 0 6px; padding-left: 20px; }
.cb-bubble li { margin: 2px 0; }
.cb-bubble code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); font-size: 13px; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: transparent; color: var(--gold-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.cb-chip:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.cb-contact { display: inline-flex; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: #1F3A35; color: var(--ok); font-size: 13px; font-weight: 600; text-decoration: none; }
.cb-typing .cb-bubble { display: inline-flex; gap: 4px; padding: 14px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: cb-dot 1s infinite ease-in-out; }
.cb-typing i:nth-child(2) { animation-delay: .15s; }
.cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cb-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cb-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.cb-form textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.4; }
.cb-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.cb-send { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 14px; background: var(--gold); color: var(--on-gold); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .cb-panel, .cb-typing i { animation: none; } }
/* Dasbor di HP: di atas menu bawah. Situs di HP: tombol musik digeser ke atas tombol chatbot. */
@media (max-width: 720px) {
  .cb { right: 14px; bottom: 14px; }
  body.app .cb { bottom: 84px; }
  .cb-fab-label { display: none; }
  .cb-fab { padding: 8px; min-height: 0; }
  .cb-fab-ico { width: 40px; height: 40px; }
  body.has-chatbot .site-music-btn { bottom: 76px; }
  .cb.is-open, body.app .cb.is-open { left: 0; right: 0; bottom: 0; top: 0; gap: 0; }
  .cb.is-open .cb-fab { display: none; }
  .cb-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
}
/* Sistem → Chatbot */
.kb-row2 { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; }
.kb-cat { display: flex; flex-direction: column; gap: 6px; }
.kb-cat-title { margin: 10px 0 2px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.kb-entry { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.kb-entry > summary { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.kb-entry[open] > summary { border-bottom: 1px solid var(--line); }
.kb-entry > div { padding: 12px 14px; }
.kb-entry.is-off { opacity: .6; }
.kb-answer { white-space: pre-line; font-size: 14px; color: var(--muted-2); }
.kb-unanswered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kb-unanswered li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.kb-unanswered li > span:first-child { display: flex; flex-direction: column; }
@media (max-width: 720px) { .kb-row2 { grid-template-columns: 1fr; } .kb-unanswered li { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- FAQ landing page */
.faq2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq2-intro { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.faq2-intro .h2 { margin: 0; }
.faq2-intro .lead { margin: 0; }
.faq2-help { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; margin-top: 10px; padding: 18px; border-radius: 20px; background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.faq2-help-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); }
.faq2-help-title { margin: 0; font-weight: 700; }
.faq2-help .muted { margin: 2px 0 0; }
.faq2-help-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.faq2-help-actions .btn { gap: 8px; }
.faq2-help-actions svg { width: 16px; height: 16px; }
.faq2-list { display: flex; flex-direction: column; gap: 10px; }
.faq2-item, .faq2-item:last-of-type { padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.faq2-item:hover { border-color: var(--line-2); }
.faq2-item[open] { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 5%, var(--surface)); box-shadow: 0 16px 36px rgba(0, 0, 0, .22); }
.faq2-item > summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; list-style: none; font-size: 16px; font-weight: 600; cursor: pointer; }
.faq2-item > summary::-webkit-details-marker { display: none; }
.faq2-item > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 18px; }
.faq2-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); transition: background-color .25s, color .25s; }
.faq2-item[open] .faq2-num { background: var(--gold); color: var(--on-gold); }
.faq2-q { flex: 1; min-width: 0; }
.faq2-toggle { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s, border-color .25s; }
.faq2-toggle::before, .faq2-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s; }
.faq2-toggle::after { transform: rotate(90deg); }
.faq2-item[open] .faq2-toggle { transform: rotate(180deg); border-color: var(--gold); }
.faq2-item[open] .faq2-toggle::after { transform: rotate(0deg); }
.faq2-a { padding: 0 20px 20px 68px; animation: faq2-in .3s ease; }
.faq2-a p { margin: 0; color: var(--muted-2); line-height: 1.7; }
@keyframes faq2-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .faq2-a, .faq2-toggle, .faq2-toggle::before, .faq2-toggle::after { animation: none; transition: none; } }
@media (max-width: 900px) {
  .faq2 { grid-template-columns: 1fr; gap: 24px; }
  .faq2-intro { position: static; text-align: center; align-items: center; }
  .faq2-help { text-align: left; width: 100%; }
}
@media (max-width: 720px) {
  .faq2-item, .faq2-item:last-of-type { padding: 0; }
  .faq2-item > summary { padding: 16px; gap: 12px; font-size: 15px; }
  .faq2-a { padding: 0 16px 18px 16px; }
}

/* ---------------------------------------------------------------- Kaki halaman situs */
.site-foot { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--deep) 70%, transparent)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; padding-top: 48px; padding-bottom: 36px; }
.foot-id { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-logo { font-size: 24px; }
.foot-tagline { margin: 0; max-width: 300px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted-2); transition: color .2s, border-color .2s, background-color .2s; }
.foot-social a:hover { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.foot-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.foot-h { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.foot-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.foot-menu a, .foot-contact a { color: var(--muted-2); text-decoration: none; font-size: 14px; }
.foot-menu a:hover, .foot-contact a:hover { color: var(--gold); }
.foot-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-contact li, .foot-contact a { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.foot-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.foot-contact span { min-width: 0; overflow-wrap: anywhere; }
.foot-address { color: var(--muted); font-size: 14px; line-height: 1.6; white-space: pre-line; }
.foot-bottom { padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
/* Ruang untuk tombol musik & chatbot yang melayang di pojok bawah */
.site-foot { padding-bottom: 72px; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-id { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 8px; }
  .foot-id { align-items: center; text-align: center; padding-bottom: 24px; }
  .foot-tagline { max-width: none; }
  .foot-col { padding: 20px 0; border-top: 1px solid var(--line); }
  .foot-bottom { text-align: center; padding-bottom: 20px; }
  .site-foot { padding-bottom: 88px; }
}

/* Tab editor bergembok (fitur belum termasuk paket) */
.editor-tabs a.is-locked { opacity: .7; }
.editor-tabs a.is-locked svg { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }

/* Landing: undian doorprize */
/* Roda berputar: sudut kotak SVG yang miring tidak boleh melebarkan halaman (tombol melayang di HP jadi bergeser). */
#undian { overflow-x: hidden; overflow-x: clip; }
.lp-raffle { align-items: center; }
.lp-raffle-visual { position: relative; display: grid; place-items: center; min-width: 0; width: 100%; padding: 10px 0 40px; }
.lp-wheel { position: relative; width: min(360px, 100%); aspect-ratio: 1; }
.lp-wheel-disc { width: 100%; height: 100%; display: block; animation: lp-spin 24s linear infinite; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.lp-wheel-pin { position: absolute; left: 50%; top: -5%; width: 11%; transform: translateX(-50%); z-index: 1; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-raffle-win { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); min-width: min(300px, 86%); padding: 16px 22px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.lp-raffle-win .eyebrow { margin: 0; }
.lp-raffle-name { margin: 4px 0; font-size: 26px; }
.lp-raffle-win .small { margin: 0; }
@media (prefers-reduced-motion: reduce) { .lp-wheel-disc { animation: none; } }
