:root {
  --ink: #0f1e2e;
  --ink-2: #4f5b6b;
  --ink-3: #8a94a3;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e2e5eb;
  --rose: #0d2a4c;
  --rose-2: #081c33;
  --rose-soft: #e7ecf3;
  --gold: #b89a5b;
  --green: #2f7d5b;
  --green-soft: #e3f3ea;
  --amber: #a7660b;
  --amber-soft: #fbf0dc;
  --red: #b3261e;
  --red-soft: #fbe5e3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(29, 36, 39, .05), 0 6px 20px rgba(29, 36, 39, .06);
  --font: "Open Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Montserrat", "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  --tabbar: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; }
body { min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-family: var(--serif); font-weight: 800; font-size: 28px; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 8px; }
small, .muted { color: var(--ink-2); }
.tiny { font-size: 12px; color: var(--ink-3); }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(var(--tabbar) + var(--safe-b) + 16px); position: relative; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(246, 244, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.topbar.line { border-bottom-color: var(--line); }
.topbar .title { font-weight: 700; font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); font-size: 18px; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 800; letter-spacing: .02em; color: var(--rose-2); flex: 1; display: flex; align-items: center; gap: 6px; }
.brand-logo { width: 54px; height: 54px; margin: -6px 0 -6px -6px; }
.brand b { font-weight: 800; color: #a8884a; }
.brand i { font-style: italic; color: var(--gold); }
.page { padding: 4px 16px 16px; }
.section { margin: 22px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 10px; }
.stack > a { display: block; }
.hr { height: 1px; background: var(--line); margin: 12px 0; }

.btn { appearance: none; border: 0; border-radius: 12px; padding: 12px 16px; font: inherit; font-weight: 700; cursor: pointer; background: var(--rose); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .08s, background .2s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }
.btn.soft { background: var(--rose-soft); color: var(--rose-2); }
.btn.plain { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--red-soft); color: var(--red); }
.btn.green { background: var(--green); }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns > .btn { flex: 1; }

label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--rose); }
textarea { min-height: 84px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--rose); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.opt:has(input:checked) { border-color: var(--rose); background: var(--rose-soft); }
.opt.disabled { opacity: .5; pointer-events: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-2); white-space: nowrap; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.gray { background: #eceef2; color: var(--ink-2); }
.pill.gold { background: #f7eedc; color: #8a6420; }

.hero { padding: 8px 0 4px; }
.hero h1 em { font-style: normal; color: #a8884a; }
.search-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 16px; margin-top: 16px; }
.search-card label.f > span { color: #e7d6dd; }
.search-card input, .search-card select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.search-card select option { color: var(--ink); }
.search-card input::-webkit-calendar-picker-indicator { filter: invert(1); }

.mcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 14px; cursor: pointer; }
.mcard .cover { aspect-ratio: 4/3; max-height: 420px; width: 100%; background: linear-gradient(135deg, #f3d5df, #f6e7d6); position: relative; }
.mcard .cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.mcard .cover .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.mcard .body { padding: 12px 14px 14px; display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--rose-soft); flex: none; display: grid; place-items: center; font-weight: 700; color: var(--rose-2); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar.lg { width: 76px; height: 76px; font-size: 26px; }
.price { font-weight: 800; color: var(--ink); }
.stars { color: var(--gold); font-weight: 700; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; overflow: hidden; }
.gallery img, .gallery .ph { aspect-ratio: 1; object-fit: cover; width: 100%; cursor: pointer; background: var(--rose-soft); }
.gallery .cell { position: relative; }
.gallery .cell .x { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; }

.tabs { display: flex; gap: 4px; background: #e9ecf1; border-radius: 12px; padding: 4px; margin: 12px 0; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px 6px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.pkg { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; background: #fff; }
.lock { display: flex; gap: 10px; align-items: center; background: #f7eedc; color: #6e4f1a; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.edu { background: linear-gradient(135deg, var(--rose-soft), #f7f1e3); border-radius: 14px; padding: 14px; font-size: 13.5px; color: var(--ink); }
.edu b { color: var(--rose-2); }
.note { background: var(--amber-soft); color: #6e4a0c; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.note.red { background: var(--red-soft); color: var(--red); }
.note.green { background: var(--green-soft); color: var(--green); }
.note.gold { background: #f6ecdc; color: #6b4a1a; border: 1px solid #ead6b3; }

.sum { width: 100%; border-collapse: collapse; font-size: 14px; }
.sum td { padding: 5px 0; }
.sum td:last-child { text-align: right; font-weight: 600; }
.sum tr.total td { border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 800; font-size: 16px; }

.steps { display: flex; gap: 4px; margin: 10px 0 4px; }
.steps div { flex: 1; height: 5px; border-radius: 4px; background: var(--line); }
.steps div.on { background: var(--rose); }

.list-item { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--card); border-radius: 14px; margin-bottom: 8px; box-shadow: var(--shadow); cursor: pointer; }
.list-item .meta { flex: 1; min-width: 0; }
.list-item .meta > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .meta > div.wrap { white-space: normal; display: flex; flex-wrap: wrap; gap: 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); flex: none; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tabbar nav { max-width: 560px; margin: 0 auto; display: flex; height: var(--tabbar); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); position: relative; }
.tabbar a svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tabbar a.on { color: var(--rose); }
.tabbar .badge { position: absolute; top: 8px; left: 52%; background: var(--rose); color: #fff; font-size: 10px; border-radius: 999px; padding: 0 5px; min-width: 16px; text-align: center; }

.chat { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px calc(84px + var(--safe-b)); }
.bubble { max-width: 80%; padding: 9px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); white-space: pre-wrap; word-wrap: break-word; font-size: 14px; }
.bubble.mine { align-self: flex-end; background: var(--rose); color: #fff; border-bottom-right-radius: 4px; }
.bubble:not(.mine) { border-bottom-left-radius: 4px; }
.bubble .t { font-size: 10.5px; opacity: .65; margin-top: 3px; text-align: right; }
.bubble.consult { background: #fff7ec; color: var(--ink); border: 1px solid #f0dcc0; }
.composer { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + var(--safe-b)); z-index: 30; }
.composer > div { max-width: 560px; margin: 0 auto; display: flex; gap: 8px; }
.composer textarea { min-height: 44px; max-height: 120px; padding: 10px 12px; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .h { font-size: 11px; color: var(--ink-3); font-weight: 700; padding: 4px 0; }
.cal .d { aspect-ratio: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.cal .d.today { border-color: var(--rose); }
.cal .d.full { background: #efe7e3; color: var(--ink-3); text-decoration: line-through; }
.cal .d .dots { display: flex; gap: 2px; height: 6px; }
.cal .d .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.cal .d .dots i.t { background: var(--gold); }
.cal .d .dots i.b { background: var(--ink-3); }

.sheet-bg { position: fixed; inset: 0; background: rgba(30, 15, 22, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 8px 16px calc(20px + var(--safe-b)); animation: up .2s ease-out; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 4px auto 12px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 60; display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 90vh; border-radius: 8px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 24px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 70; max-width: 90vw; box-shadow: var(--shadow); animation: up .2s; }
.toast.err { background: var(--red); }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); }
.empty .ic { font-size: 40px; margin-bottom: 8px; }
.spin { width: 28px; height: 28px; border: 3px solid var(--rose-soft); border-top-color: var(--rose); border-radius: 50%; animation: sp 0.8s linear infinite; margin: 40px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check .c { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none; background: var(--line); color: var(--ink-3); }
.check .c.ok { background: var(--green); color: #fff; }
.stat { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 20px; }
.stat span { font-size: 12px; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 22px; font-weight: 800; letter-spacing: .08em; background: #fff; border: 2px dashed var(--rose); color: var(--rose-2); border-radius: 12px; padding: 10px; text-align: center; }
.otp { font-size: 26px; letter-spacing: .4em; text-align: center; font-weight: 800; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-3); border-radius: 8px; }
.pw-eye:hover { color: var(--rose); background: var(--rose-soft); }
.pw-eye svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 2px 0; font-size: 12px; color: var(--ink-3); }
.pw-rules .ok { color: var(--green); font-weight: 700; }
.pw-match { font-size: 12px; margin: 6px 2px 0; min-height: 0; }
.pw-match.ok { color: var(--green); } .pw-match.bad { color: var(--red); }
.gbtn { display: flex; justify-content: center; min-height: 44px; margin: 4px 0 6px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; margin: 12px 0 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.blurred { filter: blur(5px); user-select: none; -webkit-user-select: none; background: rgba(0,0,0,.06); border-radius: 4px; padding: 0 2px; pointer-events: none; }
.bubble.mine .blurred { background: rgba(255,255,255,.18); }
.bubble.img { padding: 4px; max-width: 70%; }
.bubble.img img { border-radius: 12px; max-height: 320px; width: auto; cursor: zoom-in; display: block; }
.bubble.img .t { padding: 2px 6px 2px 0; }
.bubble.loc { width: 78%; max-width: 320px; }
.bubble.loc iframe { width: 100%; height: 150px; border: 0; border-radius: 10px; margin: 8px 0; background: #eee; }
.bubble.loc .btn { margin-top: 2px; }
.bubble.loc.mine .btn { background: rgba(255,255,255,.9); }

.sbadge { position: absolute; left: 4px; bottom: 4px; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.sbadge.drive { background: rgba(47,125,91,.92); }
.sbadge.host { background: rgba(167,102,11,.92); }
.sbadge.fail { background: rgba(179,38,30,.95); }
.sbadge.wait { background: rgba(42,27,34,.7); }

/* Judul besar tetap serif, tanpa efek huruf meliuk */
h1 { font-variation-settings: "SOFT" 0, "WONK" 0; }

/* Galeri geser kartu mitra */
.ccar { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ccar::-webkit-scrollbar { display: none; }
.ccar img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; scroll-snap-align: start; }
.cdots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.cdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.4); transition: width .2s; }
.cdots i.on { background: #fff; width: 16px; border-radius: 4px; }
.ccount { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.cnav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.cnav.prev { left: 8px; } .cnav.next { right: 8px; }
.mcard:hover .cnav { opacity: 1; }
@media (hover: none) { .cnav { display: none; } }

.join h3 { font-size: 16px; }
.perks { list-style: none; padding: 0; margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.perks li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.perks li:last-child { border-bottom: 0; }
.terms-box { max-height: 46vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-size: 13px; line-height: 1.55; }
.terms { padding-left: 18px; margin: 0; } .terms li { margin-bottom: 6px; }

.join-hero { background: linear-gradient(135deg, #fff, #ecf0f6); border: 1px solid #d3dcea; }
.progress { height: 8px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.progress div { height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); border-radius: 6px; transition: width .4s; }

.choice { display: flex; align-items: center; gap: 14px; padding: 18px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; color: var(--ink); box-shadow: var(--shadow); }
.choice .ic { font-size: 30px; }
.choice > div { flex: 1; }
.choice b { font-size: 16px; }
.choice.mitra { background: linear-gradient(135deg, #fff, #ecf0f6); border-color: #d3dcea; }

/* Promo & Boost */
.pill.boost { background: linear-gradient(90deg, #fff3c9, #ffe2c4); color: #8a3a12; }
.promo-tag { position: absolute; right: 10px; bottom: 10px; background: #0d2a4c; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.promo-line { background: #f5f1e6; border: 1px dashed #e7a1bb; color: #a3164f; border-radius: 10px; padding: 7px 10px; font-size: 12.5px; margin-top: 8px; }
.sum tr.disc td { color: #0d2a4c; font-weight: 700; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -2px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .mcard { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; margin-bottom: 4px; }
.boost-hero { background: linear-gradient(135deg, #fff7df, #ffe9d6); }
.boost-tile { background: linear-gradient(135deg, #fffaf0, #fff0e2); }
.opt.plan .price { margin-left: auto; }

/* Favorit & notifikasi */
.heart { border: 0; background: none; cursor: pointer; font-size: 19px; line-height: 1; color: #c9a3b2; padding: 0 2px; vertical-align: middle; }
.heart.on { color: #d81b60; }
.heart.big { font-size: 24px; }
.push-card { background: linear-gradient(135deg, #fff7e6, #f5efe0); }

/* Persetujuan kebijakan */
.agree { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; margin: 4px 0 14px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.agree input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--rose); }
.agree.need { border-color: var(--red); background: #fff5f5; }
.agree a { font-weight: 700; }
.policy-view { font-size: 14px; line-height: 1.6; }
.policy-view h1 { font-size: 20px; margin-bottom: 6px; }
.policy-view h2 { font-size: 16px; margin: 18px 0 6px; }
.policy-view h3 { font-size: 14.5px; margin: 12px 0 4px; }
.policy-view table { border-collapse: collapse; width: 100%; font-size: 12.5px; margin: 6px 0; }
.policy-view td, .policy-view th { border: 1px solid var(--line); padding: 6px; vertical-align: top; text-align: left; }
.policy-view .box { background: #f1f4f9; border: 1px solid #d3dcea; border-radius: 10px; padding: 8px 12px; }
.policy-view ul, .policy-view ol { padding-left: 20px; }
.support-entry { background: linear-gradient(135deg, #fff, #f1f4f9); }
.btn.on { outline: 2px solid var(--ink); }

.attend { margin-top: 6px; display: grid; gap: 4px; font-size: 13.5px; }
.attend .pill { font-size: 11px; }
/* Titik lokasi GPS */
.gps { border: 1px solid var(--line, #dfe4ec); border-radius: 14px; padding: 12px; margin: 4px 0 12px; background: #fffaf8; }
.gps.need { border-color: var(--red); background: #fff5f5; }
.gps-lbl { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.gps-st { margin: 0 0 8px; color: #8a6d78; }
.gps-st.ok { color: #2f7a4f; }
.gps-paste { display: flex; gap: 6px; margin-top: 8px; }
.gps-paste .gps-in { flex: 1; min-width: 0; border: 1px solid var(--line, #dfe4ec); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; background: #fff; }
.price small { font-size: .68em; font-weight: 600; opacity: .75; margin-left: 1px; }
/* Banner "Buka di aplikasi" (browser Android) */
.appban { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar) + var(--safe-b) + 10px); z-index: 40; max-width: 540px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 12px; box-shadow: 0 8px 24px rgba(42,27,34,.14); }
.appban img { width: 40px; height: 40px; border-radius: 10px; }
.appban b { font-size: 13.5px; }
.appban .x { border: 0; background: none; color: var(--ink-3); font-size: 16px; padding: 4px 6px; cursor: pointer; }
/* Metrik kualitas & balasan ulasan */
.qual { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: #2f6b49; font-weight: 600; margin: 2px 0; }
.reply { margin-top: 8px; background: var(--cream, #f5f6f8); border-left: 3px solid var(--rose); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.reply b { font-size: 12px; color: var(--rose); }
.reply p { margin: 2px 0 0; }
/* Paket Sambutan & lencana rekomendasi */
.welcome-box { background: linear-gradient(135deg, #fff4e5, #eef6f3); border: 1px solid #f0d3a8; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 12px; }
.pill.rec { background: #efe7fb; color: #5b3d8f; }
/* Daftar paket ringkas di kartu MUA */
.mcard .pkgline { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.mcard .pkgline span { font-size: 12px; background: #eef2f7; color: #2c3e57; border-radius: 999px; padding: 4px 10px; }
.mcard .pkgline b { color: var(--ink, #2a1b22); font-weight: 700; }
.mcard .pkgline .more { background: none; color: var(--rose); font-weight: 600; padding-left: 2px; }

/* ---------- KamuPilih ---------- */
.pill.svc { background: #eef2f7; color: var(--rose-2); font-weight: 600; }
.pill.prem { background: linear-gradient(90deg, #fff1c7, #ffe0a8); color: #7a4c00; }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 54px; background: linear-gradient(135deg, var(--rose-soft), #f7f1e3); }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.catcard .ic { font-size: 26px; }
.catcard b { font-size: 13.5px; line-height: 1.25; }
.catpick details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.catpick details[open] { border-color: var(--rose); }
.catpick summary { list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 12px; cursor: pointer; }
.catpick summary::-webkit-details-marker { display: none; }
.catpick summary .ic { font-size: 24px; line-height: 1; }
.catpick summary > span:last-child { display: flex; flex-direction: column; }
.catpick summary::after { content: '▾'; margin-left: auto; color: var(--ink-3); }
.catpick details[open] summary::after { content: '▴'; }
.catpick .opt { margin: 0 10px 8px; }
.paybox { border: 1.5px solid var(--rose); background: linear-gradient(135deg, #fff, #eef7f5); }
.bankrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px dashed var(--rose); border-radius: 12px; padding: 10px 12px; margin-top: 6px; }
img.qris { max-width: 220px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.payrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.payrow:last-of-type { border-bottom: 0; }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: 13px; margin: 12px 0 4px; }
table.cmp th, table.cmp td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: center; }
table.cmp td:first-child, table.cmp th:first-child { text-align: left; }
table.cmp th:last-child { color: #7a4c00; }
.prem-hero { background: linear-gradient(135deg, #f9f4e6, #e9f5f2); }
.prem-tile { background: linear-gradient(135deg, #fbf8ef, #f1f4f9); }
.stat.warn { outline: 2px solid var(--amber-soft); background: #fffaf0; }
.stat.warn b { color: var(--amber); }
.pkg.dim, .cell.dim { opacity: .55; }
.locked { position: relative; }
.opt.disabled { opacity: .6; }

/* KamuPilih: aksen champagne gold */
.btn.gold { background: #c9b079; color: #0d2a4c; }
.progress div { background: linear-gradient(90deg, var(--rose), #c9b079); }
.steps div.on { background: linear-gradient(90deg, var(--rose), #2a4f7c); }
.tagline { font-family: var(--serif); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a8884a; margin-bottom: 6px; }

/* Pilih bidang usaha & penanda kunjungan */
.catpick .gcount { font-style: normal; color: var(--gold); font-size: 12px; }
.views { white-space: nowrap; color: var(--ink-2, #4f5b6b); }

/* Masuk dengan kode email */
.btn.mail-otp { background: #fff; color: var(--ink); border: 1.5px solid var(--gold); }
.otp-in { font-size: 26px; letter-spacing: .5em; text-align: center; font-weight: 700; }

/* ===== Banner beranda ===== */
.promo-hero { position: relative; border-radius: 22px; overflow: hidden; margin: 6px 0 16px; background: #0d2a4c; box-shadow: 0 10px 30px rgba(13, 42, 76, .18); }
.ph-art { height: 190px; background: url(/assets/hero-event.svg?v=1) 32% 60% / cover no-repeat; }
.ph-panel { position: relative; margin-top: -34px; padding: 34px 20px 22px; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 100% 0%, #173e6c 0%, #0d2a4c 55%, #081c33 100%); clip-path: ellipse(130% 100% at 50% 100%); }
.ph-dot { position: absolute; top: 8px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: linear-gradient(135deg, #f1dfa8, #c9b079); box-shadow: 0 0 0 6px rgba(201, 176, 121, .18); }
.ph-tag { font-weight: 800; font-size: 13px; letter-spacing: .04em; color: #e6d3a2; }
.ph-title { color: #fff; font-size: 27px; line-height: 1.12; margin: 6px 0 8px; letter-spacing: -.015em; }
.ph-title em { font-style: normal; color: #e2c98d; }
.ph-sub { font-size: 13.5px; line-height: 1.5; color: #c9d5e6; margin: 0 auto 14px; max-width: 420px; }
.ph-badges { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.ph-badge { width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 30% 25%, #f6e7bd, #c9b079 60%, #a98c4f); color: #0d2a4c; box-shadow: 0 6px 16px rgba(0,0,0,.25), inset 0 -3px 0 rgba(0,0,0,.08); }
.ph-badge span { font-size: 19px; line-height: 1; font-weight: 800; }
.ph-badge b { font-size: 11px; line-height: 1.15; font-weight: 800; }
.ph-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn.ph-btn { background: #fff; color: #0d2a4c; border-radius: 999px; padding: 12px 26px; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn.ph-btn:hover { background: #f6eedb; }
.ph-link { color: #e2c98d; font-weight: 700; font-size: 13.5px; }
.ph-tagline { margin-top: 14px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (min-width: 960px) {
  .promo-hero { min-height: 410px; margin-top: 10px; }
  .promo-hero::after { content: ''; position: absolute; top: 50%; left: calc(42% - 17px); width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
    background: linear-gradient(135deg, #f1dfa8, #c9b079); box-shadow: 0 0 0 7px rgba(201, 176, 121, .22); }
  .ph-dot { display: none; }
  .ph-art { position: absolute; inset: 0 auto 0 0; width: 64%; height: auto; background-position: 18% 75%; }
  .ph-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; margin: 0; padding: 26px 36px 22px 80px; display: flex; flex-direction: column; justify-content: center;
    clip-path: ellipse(100% 130% at 100% 50%); }
  .ph-title { font-size: 34px; margin: 4px 0 8px; }
  .ph-title br { display: none; }
  .ph-title em::before { content: ' '; }
  .ph-sub { font-size: 14.5px; max-width: 470px; margin-bottom: 16px; }
  .ph-badges { gap: 14px; margin-bottom: 18px; }
  .ph-badge { width: 100px; height: 100px; }
  .ph-badge b { font-size: 12px; }
  .ph-cta { flex-direction: row; justify-content: center; gap: 18px; }
  .ph-tagline { margin-top: 12px; }
}
@media (min-width: 1300px) {
  .ph-title { font-size: 38px; }
  .ph-title br { display: inline; }
  .ph-title em::before { content: none; }
}

/* ================= Tampilan laptop / desktop (layar lebar) ================= */
.vgrid { display: block; }
@media (min-width: 960px) {
  :root { --side: 236px; --wrapw: 1240px; --off: max(0px, calc(50vw - var(--wrapw) / 2)); }
  #app { max-width: var(--wrapw); padding-left: var(--side); padding-bottom: 40px; }
  .topbar { padding: 14px 32px; }
  .page { padding: 8px 32px 32px; }

  /* Menu bawah menjadi menu samping */
  .tabbar { top: 0; bottom: 0; right: auto; left: var(--off); width: var(--side); border-top: 0; border-right: 1px solid var(--line); background: #fff; padding: 0; }
  .tabbar::before { content: 'KamuPilih'; display: flex; align-items: center; gap: 8px; height: 76px; padding: 0 18px 0 74px; font-family: var(--serif); font-size: 21px; font-weight: 800; color: var(--rose-2);
    background: url(/icons/logo-sm.png) 18px center / 46px 46px no-repeat; border-bottom: 1px solid var(--line); }
  .tabbar nav { max-width: none; height: auto; flex-direction: column; gap: 4px; padding: 14px 12px; }
  .tabbar a { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: 15px; }
  .tabbar a:hover { background: #f3f5f9; color: var(--ink); }
  .tabbar a.on { background: #eaf0f7; }
  .tabbar .badge { position: static; margin-left: auto; font-size: 11px; padding: 1px 7px; }

  /* Kartu vendor dalam beberapa kolom */
  .vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; align-items: start; }
  .vgrid .mcard, .vgrid > .card { margin: 0; }
  .vgrid .mcard .cover { aspect-ratio: 4/3; }
  .hscroll .mcard { flex: 0 0 300px; }
  .mcard { transition: transform .15s, box-shadow .15s; }
  .mcard:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13, 42, 76, .12); }
  .catgrid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .catcard { padding: 16px; transition: border-color .15s; }
  .catcard:hover { border-color: var(--gold); }
  .gallery { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .grid2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
  .topbar .brand { visibility: hidden; }

  /* Formulir & halaman detail tidak terlalu melebar */
  #sf, .page > form, .page > .card, .page > .list-item, .page > .note, .page > .edu, .page > .welcome-box { max-width: 1000px; }

  /* Kolom chat/aksi bawah mengikuti area konten */
  .composer { left: calc(var(--off) + var(--side)); right: var(--off); }
  .composer > div { max-width: 820px; }

  /* Lembar pilihan tampil sebagai jendela di tengah */
  .sheet-bg { align-items: center; }
  .sheet .grab { display: none; }
  .sheet { padding-top: 18px; max-width: 620px; border-radius: 22px; max-height: 86vh; }
  .toast { bottom: 28px; left: calc(var(--off) + var(--side) + (100vw - 2 * var(--off) - var(--side)) / 2); }
  .appban { bottom: 20px; left: calc(var(--off) + var(--side) + 20px); }
}
@media (min-width: 1400px) {
  .vgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* ===== Hubungi via WhatsApp & kalender tanggal acara ===== */
.btn.wa { background: #1f8f4e; color: #fff; }
.btn.wa:hover { background: #197a42; }
.wcal { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-h b { font-size: 16px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-w span { text-align: center; font-size: 11.5px; color: var(--ink-3); font-weight: 700; padding: 2px 0; }
.cd { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: #f4f6fa; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.cd:hover:not(:disabled) { border-color: var(--rose); }
.cd:disabled { background: transparent; color: #c3c9d3; cursor: default; }
.cd.full { background: #fdecec; color: #c9a0a0; text-decoration: line-through; }
.cd.some i { position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.cd.on { background: var(--rose); color: #fff; }
.cd.on i { background: #fff; }
.cal-l { display: flex; gap: 14px; justify-content: center; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.cal-l .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.cal-l .dot.some { background: var(--gold); }
.cal-l .dot.full { background: #e7a3a3; }
.card.inq.new { border-left: 4px solid var(--gold); }
.card.inq.confirmed { border-left: 4px solid #2f8a57; }
.stars-in { display: flex; gap: 6px; margin: 4px 0 12px; }
.stars-in button { border: 0; background: none; font-size: 34px; color: #d6dbe3; cursor: pointer; padding: 0; line-height: 1; }
.stars-in button.on { color: #e2a924; }

/* Kartu vendor tanpa foto portofolio (akun Free) */
.mcard .cover.np { aspect-ratio: 16/7; background: linear-gradient(135deg, #0d2a4c, #1d4677 60%, #c9b079 140%); }
.mcard .cover.np .cover-ph { background: none; display: flex; align-items: center; justify-content: center; gap: 14px; }
.cph-av { width: 84px !important; height: 84px !important; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cph-in { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #f1dfa8; font-weight: 800; font-size: 28px; border: 2px solid rgba(241,223,168,.6); }
.cph-ic { font-size: 30px; opacity: .9; }
@media (min-width: 960px) { .vgrid .mcard .cover.np { aspect-ratio: 16/9; } }

/* Foto paket */
.pkimg { width: calc(100% + 28px); max-width: none; margin: -14px -14px 10px; aspect-ratio: 16/9; object-fit: cover; border-radius: 13px 13px 0 0; cursor: zoom-in; background: #eef2f7; }
.pkphoto { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 12px; }
.pkprev { flex: 0 0 96px; height: 72px; border-radius: 10px; background: #eef2f7; display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.pkprev img { width: 100%; height: 100%; object-fit: cover; }
.pkthumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin: 10px 0 2px; background: #eef2f7; }
.pkcar { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: -14px -14px 6px; border-radius: 13px 13px 0 0; scrollbar-width: none; }
.pkcar::-webkit-scrollbar { display: none; }
.pkcar .pkimg { flex: 0 0 100%; width: 100%; margin: 0; border-radius: 0; scroll-snap-align: start; }
.pkcnt { font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; }
.pkstrip { display: flex; gap: 6px; overflow-x: auto; margin: 10px 0 2px; }
.pkstrip img { flex: 0 0 auto; width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }
.pkstrip img.dim { opacity: .35; }
.pkgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pkgrid .cell { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #eef2f7; }
.pkgrid .cell img { width: 100%; height: 100%; object-fit: cover; }
.pkgrid .cell .x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; cursor: pointer; }
.pkgrid .cell .sbadge { position: absolute; left: 3px; bottom: 3px; font-size: 10px; background: var(--gold); color: #0d2a4c; padding: 1px 6px; border-radius: 999px; font-weight: 700; }
.pkgrid .cell.add { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed var(--line); cursor: pointer; font-size: 22px; color: var(--rose); background: #fff; }
.pkgrid .cell.add span { font-size: 11px; font-weight: 700; }

/* Kartu vendor: susunan rapi + tombol WhatsApp */
.mcard .vbody { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.mcard .vhead { display: flex; gap: 10px; align-items: center; }
.mcard .vhead h3 { font-size: 16px; line-height: 1.25; margin: 0; }
.mcard .vhead .tiny { line-height: 1.45; }
.mcard .vsvc { display: flex; flex-wrap: wrap; gap: 6px; }
.mcard .vsvc .pill { margin: 0; }
.mcard .vfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.mcard .vfoot .price { font-size: 17px; }
.mcard .vfoot .btn { flex: none; }
/* Foto paket di profil: proporsional (di laptop berdampingan dengan isi paket) */
.pkmedia { margin: -14px -14px 8px; }
.pkmedia .pkcar { margin: 0; }
.pkmedia .pkcnt { padding: 4px 14px 0; margin: 0; }
.pkcar { max-height: 240px; }
.pkcar .pkimg { aspect-ratio: 16/9; max-height: 240px; }
@media (min-width: 760px) {
  .pkg.ph { display: grid; grid-template-columns: 260px 1fr; column-gap: 16px; align-items: start; }
  .pkg.ph .pkmedia { margin: 0; }
  .pkg.ph .pkmedia .pkcnt { padding: 4px 0 0; }
  .pkg.ph .pkcar { margin: 0; border-radius: 12px; max-height: none; }
  .pkg.ph .pkcar .pkimg { aspect-ratio: 4/3; max-height: none; }
  .pkg.ph .pkcnt { margin: 4px 0 0; }
}

/* Slide foto paket di profil */
.pkmedia { position: relative; }
.pkmedia .cnav { opacity: 1; width: 30px; height: 30px; font-size: 18px; }
.pkmedia .cdots { bottom: 8px; }
.pkmedia .ccount { top: 8px; right: 8px; }
.pkcar.ccar { height: auto; }
.pkcar.ccar img { height: auto; object-position: center; }
