/* IMOPLAY storefront v2 — warna & sudut bisa diatur di Admin > Tampilan (variabel ditimpa oleh layout) */
@font-face { font-family: "Bricolage"; src: url(fonts/BricolageGrotesque-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/BricolageGrotesque-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/InstrumentSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/InstrumentSans-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #EEF0F7; --surface: #FFFFFF; --surface-2: #E4E7F2; --ink: #191B3A; --muted: #5B5F80; --line: #D6DAEA;
  --primary: #6B3CF5; --primary-ink: #FFFFFF;
  --c-game: #6B3CF5; --c-voucher: #E07B00; --c-pulsa: #0E9FC2; --c-data: #12A77A; --c-pln: #2E6BE6; --c-tagihan: #E8336F;
  --ok: #12A77A; --warn: #C98A06; --danger: #D93A56;
  --r-l: 22px; --r-m: 14px; --r-s: 10px;
  --shadow: 0 1px 0 rgba(25,27,58,.04), 0 8px 24px -12px rgba(25,27,58,.18);
  --font-display: "Bricolage", "Segoe UI", sans-serif;
  --font-body: "Instrument", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-radius="sharp"] { --r-l: 8px; --r-m: 6px; --r-s: 4px; }
:root[data-radius="round"] { --r-l: 28px; --r-m: 20px; --r-s: 14px; }
:root[data-theme="dark"] {
  --bg: #141733; --surface: #1D2147; --surface-2: #272C5A; --ink: #EEF0FF; --muted: #A6AAD2; --line: #2F3466;
  --shadow: 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; margin: 0; }
h2 { font-size: 25px; line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Header dua tingkat ===== */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo img { height: 30px; width: auto; }
:root:not([data-theme="dark"]) .logo img, :root:not([data-theme="dark"]) .foot-logo { filter: drop-shadow(0 0 .6px #191B3A) drop-shadow(0 0 .6px #191B3A) drop-shadow(0 0 .6px #191B3A); }
.search { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 44px; color: var(--muted); }
.search input { flex: 1; border: 0; background: none; outline: none; color: var(--ink); min-width: 0; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 6px; max-height: 360px; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-s); color: var(--ink); }
.search-results a:hover, .search-results a.on { background: var(--surface-2); }
.search-results img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.search-results p { margin: 8px; color: var(--muted); font-size: 14px; }
.icon-btn { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.nav-row { display: flex; align-items: center; gap: 4px; height: 50px; }
.nav-row a.nav { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); }
.nav-row a.nav:hover { color: var(--ink); background: var(--surface-2); }
.nav-row a.nav.on { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.nav-auth { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface); border-color: var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.user-chip span.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; }

/* ===== Banner ===== */
.banner { margin-top: 20px; position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); aspect-ratio: 1920 / 600; }
.banner-track { display: flex; height: 100%; transition: transform .5s ease; }
.banner-track a, .banner-track div { flex: 0 0 100%; height: 100%; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); cursor: pointer; }
.banner-dots button.on { width: 22px; background: #fff; }

/* ===== Kategori ===== */
.deck { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 22px; }
.tile { --c: var(--c-game); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tile .ic { flex: none; width: 54px; height: 54px; border-radius: calc(var(--r-m) + 2px); display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.tile b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.tile small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.tile:hover { border-color: var(--c); }
.tile.voucher { --c: var(--c-voucher); } .tile.pulsa { --c: var(--c-pulsa); } .tile.data { --c: var(--c-data); } .tile.pln { --c: var(--c-pln); } .tile.tagihan { --c: var(--c-tagihan); }

/* ===== Seksi ===== */
.section { margin-top: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.section-head a.more { color: var(--primary); font-weight: 700; font-size: 15px; white-space: nowrap; }

/* Flash sale */
.flash-head { display: flex; align-items: center; gap: 10px; }
.flash-head svg { color: var(--warn); }
.flash-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.flash-card { scroll-snap-align: start; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.flash-card img { width: 64px; height: 64px; border-radius: var(--r-s); object-fit: cover; }
/* Pengganti saat nominal tidak punya ikon sendiri -- lebih baik netral daripada
   memakai artwork game, yang membuat semua nominal satu game terlihat kembar. */
.flash-card .fl-noic { width: 64px; height: 64px; border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted); }
/* Saat baris berjalan, snap dimatikan: snap mandatory menarik balik tiap geseran
   kecil sehingga jalannya tersendat. Scroll manual tetap jalan tanpa snap. */
.flash-row.jalan { scroll-snap-type: none; }
.flash-card b { display: block; font-size: 16px; line-height: 1.25; }
.flash-card .fl-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.flash-card .fl-harga { display: flex; align-items: baseline; gap: 7px; margin-top: 3px; }
.flash-card .fl-harga b { font-family: var(--font-display); font-size: 15px; color: var(--primary); display: inline; }
.flash-card .fl-harga s { font-size: 12px; color: var(--muted); }
.flash-card .disc { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--danger); color: #fff; font-weight: 700; font-size: 13px; }
.flash-card .ends { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.countdown { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Best seller */
.best { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.best a { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface-2); }
.best img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .3s ease; }
.best a:hover img { transform: scale(1.04); }
.best .label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 36px 16px 12px; background: linear-gradient(transparent, rgba(10,12,30,.88)); color: #fff; }
.best .label b { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.best .label small { opacity: .8; font-size: 13px; white-space: nowrap; }

/* Semua produk */
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mini-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); min-width: 240px; }
.mini-search input { border: 0; outline: 0; background: none; color: var(--ink); width: 100%; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { display: block; }
.card .cover { aspect-ratio: 3 / 4; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .cover img { transform: scale(1.04); }
.card b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.3; }
.card small { color: var(--muted); font-size: 13px; }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 32px 0; }
.center { text-align: center; margin-top: 20px; }

/* Keunggulan */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.perk .ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-m); display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.perk b { display: block; font-family: var(--font-display); font-size: 17px; }
.perk p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ===== Footer ===== */
.foot { margin-top: 64px; padding: 44px 0 28px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-logo { height: 28px; width: auto; margin-bottom: 12px; }
.foot h3 { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.pay-logos { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pay-logos h3 { margin-bottom: 12px; }
.pay-logos div { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-logos span { display: grid; place-items: center; width: 84px; height: 40px; padding: 6px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); }
.pay-logos img { max-height: 24px; width: auto; }
.foot-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }

/* ===== Bottom nav (HP) ===== */
.bottom-nav { display: none; }
.mobile-search { display: none !important; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .best { grid-template-columns: repeat(2, 1fr); }
  .deck { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .top-row { gap: 10px; height: 58px; }
  .top-row .search, .nav-row { display: none; }
  .logo img { height: 24px; }
  .top-row .spacer { flex: 1; }
  .mobile-search { display: flex !important; margin-top: 12px; }
  .banner { margin-top: 12px; aspect-ratio: 16 / 7; }
  .deck { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
  .tile { gap: 8px; padding: 12px 4px; border-radius: var(--r-m); box-shadow: none; }
  .tile .ic { width: 46px; height: 46px; }
  .tile b { font-size: 13px; }
  .tile small { display: none; }
  .best { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .best a { aspect-ratio: 4 / 3; border-radius: var(--r-m); }
  .best .label { padding: 28px 10px 8px; }
  .best .label b { font-size: 14px; }
  .best .label small { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .card b { font-size: 13px; }
  .mini-search { min-width: 0; width: 100%; }
  h2 { font-size: 20px; }
  .section { margin-top: 32px; }
  body { padding-bottom: 76px; }
  .foot-cols { grid-template-columns: 1fr; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
  .bottom-nav a.on { color: var(--primary); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== Halaman produk ===== */
.p-hero { position: relative; margin-top: 20px; border-radius: var(--r-l); overflow: hidden; background: #0d1030; color: #fff; }
.p-hero::before { content: ""; position: absolute; inset: -40px; background: var(--cover) center 30% / cover; filter: blur(28px) saturate(1.2); opacity: .55; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,16,48,.92) 30%, rgba(13,16,48,.55)); }
.p-hero-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; padding: 28px; }
.p-cover { width: 132px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-m); box-shadow: 0 16px 30px -12px rgba(0,0,0,.7); border: 2px solid rgba(255,255,255,.18); }
.p-hero h1 { font-size: 31px; line-height: 1.15; }
.p-pub { margin: 4px 0 0; opacity: .8; }
.p-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.p-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 700; }
.p-flash { margin-top: 14px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-m); background: color-mix(in srgb, var(--danger) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); color: var(--ink); font-size: 15px; }
.p-flash svg { color: var(--danger); flex: none; }

.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; margin-top: 20px; align-items: start; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; margin-bottom: 14px; }
.step-h { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 14px; }
.step-h .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 15px; }
.step-h small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 14px; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hint.ok { color: var(--ok); font-weight: 700; }
.empty-note { color: var(--muted); margin: 0; }
.fields { display: grid; gap: 12px; }
.fields-2 { grid-template-columns: 1fr 1fr; }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.fld input, .fld select, .promo input, .qty input { height: 48px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 400; width: 100%; }
.fld input:focus, .fld select:focus, .promo input:focus, .qty input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.fld textarea { padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font-body); width: 100%; resize: vertical; }
.fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.fld span small { font-weight: 400; }
.fld-wide { grid-column: 1 / -1; }
.fld-pw { position: relative; display: block; }
.fld-pw input { padding-right: 78px; }
.fld-eye { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--primary); font: 700 13px var(--font-body); cursor: pointer; }
.fld-eye:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.hint-safe { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--r-s); background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--ink); font-weight: 600; }
.hint-safe svg { flex: none; margin-top: 2px; color: var(--ok); }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.qty-row b { display: block; font-size: 15px; }
.qty-row small { color: var(--muted); font-size: 13px; }
.qty-box { display: flex; align-items: center; gap: 6px; }
.qty-box input { width: 68px; height: 44px; text-align: center; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 700 17px var(--font-display); }
.qty-btn { width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }

.top3 { border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); border-radius: var(--r-m); padding: 12px; margin-bottom: 14px; display: grid; gap: 8px; }
.top3-h { margin: 0 0 2px; font-weight: 700; font-size: 14px; color: var(--muted); }
.top3-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; }
.top3-item .rank { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: #9AA0BD; }
.top3-item .rank.r1 { background: #E0A100; } .top3-item .rank.r2 { background: #8C95B0; } .top3-item .rank.r3 { background: #C46A2B; }
.top3-item .nm { flex: 1; font-weight: 700; }
.top3-item b { font-family: var(--font-display); color: var(--primary); }
.nom-tools { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.noms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nom { position: relative; display: grid; gap: 4px; align-content: start; text-align: left; padding: 12px; min-height: 84px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; }
.nom .ic { width: 28px; height: 28px; object-fit: contain; }
.nom .nm { font-weight: 700; font-size: 15px; line-height: 1.3; }
.nom .pr { font-family: var(--font-display); font-weight: 700; color: var(--primary); }
.nom s { color: var(--muted); font-size: 13px; }
.nom:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.nom.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.nom.on::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 13px; }

.qty { display: flex; gap: 10px; max-width: 260px; }
.qty input { text-align: center; }
.qbtn { flex: none; width: 48px; height: 48px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surface-2); font-size: 22px; cursor: pointer; }

.pay-group { border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 10px; overflow: hidden; }
.pay-group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-weight: 700; cursor: pointer; list-style: none; }
.pay-group summary::-webkit-details-marker { display: none; }
.pay-group[open] summary { border-bottom: 1px solid var(--line); }
.pay-mini { display: flex; gap: 6px; }
.pay-mini img { height: 18px; width: auto; background: #fff; border-radius: 4px; padding: 1px 3px; }
.pay-group[open] .pay-mini { display: none; }
.pays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
.pay { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 10px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; }
.pay .lg { grid-row: span 2; height: 40px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px; border: 1px solid var(--line); }
.pay .lg img { max-height: 26px; width: auto; }
.pay .nm { font-weight: 700; font-size: 14px; }
.pay .tot { font-size: 13px; color: var(--muted); }
.pay.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.pay.on .tot { color: var(--primary); font-weight: 700; }
.promo { display: flex; gap: 10px; }

.p-side { position: sticky; top: 130px; display: grid; gap: 14px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.side-card h3 { font-size: 17px; margin-bottom: 12px; }
.sum { margin: 0 0 14px; display: grid; gap: 8px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--muted); } .sum dd { margin: 0; font-weight: 700; text-align: right; }
.sum .tot { padding-top: 10px; border-top: 1px dashed var(--line); }
.sum .tot dd { font-family: var(--font-display); font-size: 21px; color: var(--primary); }
.sum-empty { color: var(--muted); padding: 10px 0 16px; }
.btn-block { width: 100%; height: 50px; font-size: 16px; }
.form-msg { margin: 10px 0 0; color: var(--danger); font-weight: 700; font-size: 14px; min-height: 1em; }
.rich { color: var(--muted); font-size: 14px; max-height: 320px; overflow: auto; }
.rich p { margin: 0 0 8px; }
.rich ol, .rich ul { margin: 0 0 8px; padding-left: 20px; }
.reviews, .related { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reviews { gap: 0; }
.reviews li { display: grid; gap: 2px; font-size: 14px; }
.reviews small { color: var(--muted); }
.reviews p { margin: 2px 0 0; }
.related a { display: flex; align-items: center; gap: 10px; }
.related img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.related b { display: block; font-size: 15px; } .related small { color: var(--muted); font-size: 13px; }
.help p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.m-bar { display: none; }

@media (max-width: 960px) {
  .p-layout { grid-template-columns: 1fr; }
  .p-side { position: static; }
  .noms { grid-template-columns: repeat(2, 1fr); }
  .m-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.4); }
  .m-bar small { display: block; color: var(--muted); font-size: 12px; }
  .m-bar b { font-family: var(--font-display); font-size: 19px; color: var(--primary); }
  body:has(.m-bar) .bottom-nav { display: none; }
  body:has(.m-bar) { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .p-hero { margin-top: 12px; }
  .p-hero-in { padding: 18px; gap: 16px; }
  .p-cover { width: 88px; }
  .p-hero h1 { font-size: 22px; }
  .p-badges li { font-size: 12px; padding: 5px 10px; }
  .step { padding: 16px; border-radius: var(--r-m); }
  .fields-2 { grid-template-columns: 1fr 1fr; }
  .pays { grid-template-columns: 1fr; }
}

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60; max-width: min(92vw, 440px); padding: 12px 16px; border-radius: var(--r-m); background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 960px) { .toast { bottom: 96px; } }

/* Dompet, bintang, nickname, konfirmasi */
.wallet { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; }
.wallet .wallet-ic { width: 44px; height: 44px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--primary); color: #fff; }
.wallet .nm b { display: block; font-size: 15px; }
.wallet .nm small { color: var(--muted); font-size: 13px; }
.wallet .nm a { color: var(--primary); font-weight: 700; }
.wallet .tot { font-size: 13px; color: var(--muted); text-align: right; }
.wallet.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.wallet.on .tot { color: var(--primary); font-weight: 700; }
.wallet.locked { cursor: default; opacity: .85; }
.wallet.locked .wallet-ic { background: var(--surface-2); color: var(--muted); }
.wallet .lock { color: var(--muted); }
.pay.short .tot { color: var(--danger); font-weight: 700; }
.stars { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; vertical-align: -1px; }
.stars i { font-style: normal; color: var(--line); }
.stars i.on { color: #F5A623; }
.stars i.half { background: linear-gradient(90deg, #F5A623 50%, var(--line) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-rate { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.p-hero .stars i:not(.on):not(.half) { color: rgba(255,255,255,.3); }
/* ===== Ulasan pembeli ===== */
.ul-ring {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: var(--r-m);
  background: var(--surface-2);
}
.ul-nilai { text-align: center; min-width: 76px; }
.ul-nilai > b { display: block; font-family: var(--font-display); font-size: 40px; line-height: .95; }
.ul-nilai .stars { font-size: 15px; letter-spacing: .5px; }
.ul-nilai small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.ul-sebar { display: grid; gap: 5px; }
.ul-baris { display: grid; grid-template-columns: 10px 1fr 18px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.ul-lv { text-align: right; font-variant-numeric: tabular-nums; }
.ul-rel { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 22%, transparent); overflow: hidden; }
.ul-rel i { display: block; height: 100%; border-radius: 99px; background: #f5b301; }
.ul-jml { text-align: right; font-variant-numeric: tabular-nums; }

.reviews .rv { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.reviews .rv + .rv { padding-top: 12px; border-top: 1px solid var(--line); }
.rv-ava {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 22%, var(--surface-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 38%, transparent);
  color: color-mix(in srgb, var(--primary) 82%, var(--ink));
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.rv-isi { min-width: 0; }
.rv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rv-top b { font-size: 13.5px; }
.rv-bin .stars { font-size: 12px; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; }
.rv-prod {
  font-size: 11px; color: var(--muted);
  padding: 2px 7px; border-radius: 99px;
  background: var(--surface-2);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rv-meta time { font-size: 11px; color: var(--muted); }
.reviews .rv p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; }
.nick { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r-s); background: var(--surface-2); font-size: 14px; font-weight: 700; color: var(--muted); }
.nick.ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok);
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--ok) 32%, transparent); }
.nick.ok b { font-weight: 800; letter-spacing: .01em; }
.nick.ok .nick-ic { display: inline-flex; align-items: center; justify-content: center;
    width: 17px; height: 17px; border-radius: 50%; flex: none;
    background: var(--ok); color: var(--surface); font-size: 11px; font-weight: 900; line-height: 1; }
.nick.warn { background: color-mix(in srgb, var(--warn) 14%, var(--surface)); color: var(--warn); }
.confirm { width: min(460px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.confirm::backdrop { background: rgba(10,12,30,.55); backdrop-filter: blur(2px); }
.confirm h2 { font-size: 22px; }
.confirm-sub { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.confirm .sum dd { word-break: break-word; }
.confirm-act { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 16px; }
.confirm-act .btn { height: 48px; }
.confirm[open] { animation: pop .18s ease-out; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* Hero kategori tanpa cover (Pulsa, Paket Data, Tagihan) */
.p-hero-ic { --hc: var(--c-pulsa); background: linear-gradient(120deg, color-mix(in srgb, var(--hc) 85%, #0d1030), #0d1030 75%); }
.p-hero-ic::before, .p-hero-ic::after { display: none; }
.p-hero-ic.hero-data { --hc: var(--c-data); }
.p-hero-ic.hero-tagihan { --hc: var(--c-tagihan); }
.p-hero-ic.hero-pln { --hc: var(--c-pln); }
.p-icon { flex: none; width: 112px; height: 112px; border-radius: calc(var(--r-l) + 4px); display: grid; place-items: center; background: var(--hc); color: #fff; box-shadow: inset 0 -6px 0 rgba(0,0,0,.2), 0 18px 34px -14px rgba(0,0,0,.6); }
.op-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.op-line img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; }
@media (max-width: 640px) { .p-icon { width: 76px; height: 76px; } .p-icon svg { width: 40px; height: 40px; } }

/* ===== Tagihan ===== */
.bill-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bill-type { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bill-type .ic { flex: none; width: 50px; height: 50px; border-radius: var(--r-m); display: grid; place-items: center; background: color-mix(in srgb, var(--c-tagihan) 14%, var(--surface)); color: var(--c-tagihan); }
.bill-type b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.bill-type small { color: var(--muted); font-size: 13px; }
.bill-type:hover { border-color: var(--c-tagihan); }
.bill-switch { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; scrollbar-width: none; }
.bill-switch a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--muted); }
.bill-switch a.on { color: #fff; background: var(--c-tagihan); border-color: var(--c-tagihan); }
.provs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-height: 360px; overflow: auto; }
.prov { padding: 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg); text-align: left; font-weight: 700; font-size: 14px; cursor: pointer; }
.prov.on { border-color: var(--c-tagihan); background: color-mix(in srgb, var(--c-tagihan) 10%, var(--surface)); }
.bill-check { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.bill-check .btn { height: 48px; }
.bill-result { margin-top: 14px; padding: 16px; border-radius: var(--r-m); background: var(--bg); border: 1px dashed var(--line); }
.bill-result.err { color: var(--danger); font-weight: 700; border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.bill-result .sum { margin: 10px 0 0; }
.bill-name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
@media (max-width: 960px) { .bill-types { grid-template-columns: repeat(2, 1fr); } .provs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bill-types { grid-template-columns: 1fr; } .bill-check { grid-template-columns: 1fr; } }

/* ===== Invoice ===== */
.inv-head { --tone: var(--primary); margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 24px 20px; box-shadow: var(--shadow); background-image: linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, transparent), transparent 70%); }
.inv-head.tone-ok { --tone: var(--ok); } .inv-head.tone-bad { --tone: var(--danger); }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.inv-head h1 { font-size: 30px; line-height: 1.15; margin-top: 6px; }
.inv-sub { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.inv-id { margin: 0; font-size: 14px; color: var(--muted); }
.copy-inline { border: 0; background: none; padding: 0 0 0 4px; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.inv-timer { flex: none; text-align: right; padding: 10px 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.inv-timer small { display: block; font-size: 12px; color: var(--muted); }
.inv-timer .countdown { font-size: 24px; color: var(--tone); }
.track { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); position: relative; }
.track::before, .track::after { content: ""; position: absolute; top: 14px; height: 4px; border-radius: 4px; left: calc(50% / var(--n)); }
.track::before { right: calc(50% / var(--n)); background: var(--surface-2); }
.track::after { width: calc((100% - 100% / var(--n)) * var(--p)); background: var(--tone); transition: width .8s ease; }
.track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 0 4px; }
.track .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--surface-2); color: #fff; margin-bottom: 6px; }
.track .st-done .dot { background: var(--tone); border-color: var(--tone); }
.inv-head.tone-bad .track .st-done .dot { background: var(--muted); border-color: var(--muted); }
.track .st-bad .dot { background: var(--danger); border-color: var(--danger); }
.track .st-now .dot { border-color: var(--tone); box-shadow: 0 0 0 0 color-mix(in srgb, var(--tone) 45%, transparent); animation: pulse 1.8s ease-out infinite; }
.track .st-now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
@keyframes pulse { to { box-shadow: 0 0 0 12px color-mix(in srgb, var(--tone) 0%, transparent); } }
.track b { font-size: 14px; line-height: 1.25; }
.track small { font-size: 12px; color: var(--muted); }
.track .st-todo b { color: var(--muted); font-weight: 400; }
.track .st-bad small { color: var(--danger); font-weight: 700; }
.inv-layout { margin-top: 16px; }
.pay-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pay-top small { display: block; font-size: 13px; color: var(--muted); }
.pay-top b { font-family: var(--font-display); font-size: 19px; }
.pay-logo { width: 64px; height: 40px; object-fit: contain; background: #fff; border-radius: var(--r-s); padding: 4px; border: 1px solid var(--line); }
.pay-lead { margin: 12px 0 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-m); background: var(--bg); border: 1px dashed var(--line); }
.code-big { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; word-break: break-all; }
.code-big.sn { font-size: 18px; }
.qr { width: 240px; height: 240px; margin: 4px auto 12px; background: #fff; padding: 10px; border-radius: var(--r-m); border: 1px solid var(--line); }
.amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-m); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.amount-row small { display: block; font-size: 13px; color: var(--muted); }
.amount-row b { font-family: var(--font-display); font-size: 26px; color: var(--primary); }
.howto { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.howto summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 17px; }
.howto ol { margin: 10px 0 0; padding-left: 22px; color: var(--muted); display: grid; gap: 6px; }
.result-box .note { margin: 0; white-space: pre-line; color: var(--ink); }
.wait-line { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inv-actions { display: grid; gap: 8px; }
.inv-keep { margin: 0 4px; }
@media (max-width: 640px) {
  .inv-head { padding: 18px 16px 16px; border-radius: var(--r-m); margin-top: 12px; }
  .inv-top { flex-direction: column; gap: 12px; }
  .inv-head h1 { font-size: 24px; }
  .inv-timer { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; }
  .inv-timer .countdown { font-size: 20px; }
  .track b { font-size: 12px; } .track small { font-size: 11px; }
  .track .dot { width: 28px; height: 28px; } .track::before, .track::after { top: 12px; }
  .code-big { font-size: 21px; }
  .amount-row b { font-size: 22px; }
}

/* ===== Masuk / daftar ===== */
.auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 28px; align-items: center; margin: 28px auto 40px; max-width: 1040px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; line-height: 1.15; }
.auth-lead { margin: 8px 0 0; color: var(--muted); }
.auth-lead a, .auth-fine a, .fld-row a { color: var(--primary); font-weight: 700; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-form .btn-block { margin-top: 6px; }
.auth-msg { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--r-s); background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-weight: 700; font-size: 14px; }
.auth-msg.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.fld-row { display: flex; justify-content: space-between; gap: 10px; }
.fld-row a { font-size: 13px; }
.fld-hint { font-weight: 400; font-size: 12px; color: var(--muted); }
.pw { position: relative; display: block; }
.pw input { padding-right: 84px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface-2); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.otp { letter-spacing: .5em; font-family: var(--font-display); font-weight: 700 !important; font-size: 22px !important; text-align: center; }
.auth-ref summary { cursor: pointer; color: var(--primary); font-weight: 700; font-size: 14px; }
.auth-ref .fld { margin-top: 8px; }
.auth-fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.auth-side { display: grid; gap: 26px; justify-items: start; padding: 8px 12px; }
.wcard { position: relative; width: min(100%, 340px); aspect-ratio: 1.586; border-radius: 20px; padding: 20px 22px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--primary) 55%, #fff) 0%, var(--primary) 45%, color-mix(in srgb, var(--primary) 50%, #000) 100%); box-shadow: 0 24px 40px -22px color-mix(in srgb, var(--primary) 80%, #000), inset 0 1px 0 rgba(255,255,255,.25); transform: rotate(-4deg); }
.wcard-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; }
.wcard-chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F6D77B, #C99A2E); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.wcard-bottom small { display: block; opacity: .8; font-size: 13px; }
.wcard-bottom b { font-family: var(--font-display); font-size: 22px; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.auth-perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth-perks svg { flex: none; margin-top: 2px; color: var(--primary); }
.auth-perks b { display: block; font-family: var(--font-display); font-size: 17px; }
.auth-perks span { color: var(--muted); font-size: 15px; }
.auth-perks span b { color: var(--ink); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; margin-top: 14px; gap: 22px; }
  .auth-side { grid-template-columns: 1fr; padding: 0 4px; }
  .wcard { display: none; }
}
@media (max-width: 640px) {
  .auth-card { padding: 22px 18px; border-radius: var(--r-m); }
  .auth-card h1 { font-size: 25px; }
  .auth .fields-2 { grid-template-columns: 1fr; }
}
.auth .fld { align-content: start; }
.wcard-top img { height: 24px; width: auto; filter: none !important; }

/* ===== Area akun member ===== */
.ak { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 22px; align-items: start; margin: 22px 0 40px; }
.ak-side { position: sticky; top: 130px; display: grid; gap: 14px; }
.ak-bal { border-radius: var(--r-l); padding: 18px; color: #fff; background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000)); box-shadow: 0 18px 32px -24px color-mix(in srgb, var(--primary) 90%, #000); }
.ak-bal-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .85; }
.ak-bal b { display: block; margin: 6px 0 2px; font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.ak-bal small { display: block; font-size: 12px; opacity: .8; }
.ak-bal .btn-light { margin-top: 14px; background: #fff; color: var(--primary); border: 0; }
.ak-menu { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 8px; }
.ak-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-s); font-weight: 700; font-size: 15px; color: var(--ink); }
.ak-menu a svg { color: var(--muted); flex: none; }
.ak-menu a:hover { background: var(--surface-2); }
.ak-menu a.on { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.ak-menu a.on svg { color: var(--primary); }
.ak-menu a.out { color: var(--danger); margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-s) var(--r-s); }
.ak-menu a.out svg { color: var(--danger); }
.ak-main { display: grid; gap: 16px; min-width: 0; }
.ak-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ak-head h1 { font-size: 28px; line-height: 1.15; }
.ak-hi { margin: 0; color: var(--muted); }
.ak-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ak-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ak-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.ak-stats b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.ak-stats b.ok { color: var(--ok); } .ak-stats b.wait { color: var(--primary); }
.ak-stats span { font-size: 13px; color: var(--muted); }
.ak-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.ak-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ak-card-h h2 { font-size: 19px; }
.ak-card-h a { color: var(--primary); font-weight: 700; font-size: 14px; }
.ak-empty { margin: 0; color: var(--muted); }
.ak-empty a { color: var(--primary); font-weight: 700; }
.ak-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ak-list li + li { border-top: 1px solid var(--line); }
.ak-list li > * { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 2px; color: var(--ink); }
.ak-list li > a:hover { background: var(--surface-2); border-radius: var(--r-s); padding-inline: 10px; }
.ak-list-main { min-width: 0; display: grid; gap: 2px; }
.ak-list-main b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-list-main small { font-size: 13px; color: var(--muted); }
.ak-list-id { font-size: 12px !important; font-variant-numeric: tabular-nums; }
.ak-list-side { flex: none; display: grid; gap: 4px; justify-items: end; text-align: right; }
.ak-list-side b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ak-list-side b.in { color: var(--ok); } .ak-list-side b.out { color: var(--ink); }
/* dibayar di luar dompet: nominalnya informasi saja, bukan mutasi saldo */
.ak-list-side b.flat { color: var(--muted); font-weight: 600; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.pill.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.pill.wait { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.ak-filter { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ak-filter .fld { flex: 1 1 170px; margin: 0; }
.ak-page { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.topup .pay-lead:first-of-type { margin-top: 0; }
.topup .chips { margin-bottom: 14px; }
.topup .chip.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.topup .pay-group { margin-top: 8px; }
.topup .sum { margin: 16px 0; padding: 14px 16px; border-radius: var(--r-m); background: var(--bg); }
.topup .sum .tot dd { color: var(--primary); font-size: 18px; }
@media (max-width: 900px) {
  .ak { grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
  .ak-side { position: static; grid-template-columns: 1fr; }
  .ak-menu { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .ak-menu::-webkit-scrollbar { display: none; }
  .ak-menu a { white-space: nowrap; }
  .ak-menu a.out { margin-top: 0; border-top: 0; border-left: 1px solid var(--line); border-radius: var(--r-s); }
}
@media (max-width: 640px) {
  .ak-card { padding: 14px; border-radius: var(--r-m); }
  .ak-head h1 { font-size: 23px; }
  .ak-stats { gap: 8px; }
  .ak-stats div { padding: 12px; }
  .ak-stats b { font-size: 20px; }
  .ak-stats span { font-size: 12px; }
  .ak .pays { grid-template-columns: 1fr; }
  .ak-filter .btn { flex: 1 1 100%; }
}

/* ===== Halaman informasi (harga, cek, leaderboard, berita) ===== */
.pg-head { margin: 24px 0 18px; }
.pg-head h1 { font-size: 32px; line-height: 1.12; }
.pg-head > p { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.pg-search { display: flex; align-items: center; gap: 10px; margin-top: 18px; max-width: 520px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); }
.pg-search svg { color: var(--muted); flex: none; }
.pg-search input { flex: 1; border: 0; background: none; padding: 13px 0; font: inherit; color: var(--ink); outline: none; }
.pg-count { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---- Daftar harga ----------------------------------------------------------
   Dua pekerjaan: menemukan layanan, lalu membandingkan harga member dan reseller.
   Rak layanan bergambar yang jadi elemen paling berani; tabelnya sengaja tenang --
   garis rambut, angka rata kanan, tanpa belang dan tanpa efek angkat di tiap baris.
   Kolom reseller membawa selisihnya, karena itu alasan orang membuka halaman ini. */

.hrg-saring { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hrg-tipe { display: flex; gap: 8px; flex-wrap: wrap; }
.hrg-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: color .15s, border-color .15s; }
.hrg-chip span { font-weight: 400; opacity: .7; margin-left: 2px; }
.hrg-chip:hover { color: var(--ink); }
.hrg-chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

.hrg-cari-layanan, .hrg-cari-produk { display: flex; align-items: center; gap: 9px; padding: 0 14px; height: 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.hrg-cari-layanan { min-width: 260px; flex: 1; max-width: 340px; }
.hrg-cari-produk { flex: 1; min-width: 200px; }
.hrg-cari-layanan input, .hrg-cari-produk input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ink); font-size: 15px; }

.hrg-rak { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.hrg-kartu { flex: none; width: 92px; display: grid; justify-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: start; color: var(--muted); }
.hrg-kartu b { font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hrg-kartu-img { width: 72px; height: 72px; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); border: 2px solid transparent; display: grid; place-items: center; transition: border-color .15s; }
.hrg-kartu-img img { width: 100%; height: 100%; object-fit: cover; }
.hrg-kartu-img.kosong::after { content: ""; width: 24px; height: 24px; border-radius: 6px; background: var(--line); }
.hrg-kartu-semua { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.hrg-kartu-semua svg { width: 26px; height: 26px; }
.hrg-kartu:hover { color: var(--ink); }
.hrg-kartu.on { color: var(--ink); }
.hrg-kartu.on .hrg-kartu-img { border-color: var(--primary); }

.hrg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 14px; }
.hrg-baris { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.hrg-baris select { height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; }

.hrg-judul { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 2px 10px; }
.hrg-judul b { display: block; font-family: var(--font-display); font-size: 18px; }
.hrg-judul small { font-size: 13px; color: var(--muted); }

.hrg-tabel-bungkus { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.hrg-tabel { width: 100%; border-collapse: collapse; }
.hrg-tabel th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.hrg-tabel th.ka, .hrg-tabel td.ka { text-align: right; }
/* Dua kolom harga dikunci lebarnya supaya berdempetan di tepi kanan: membandingkannya jadi gerakan mata yang pendek, bukan menyeberangi meja kosong. */
.hrg-tabel th.ka, .hrg-tabel td.ka { width: 150px; }
.hrg-tabel td { padding: 11px 16px; vertical-align: middle; border-top: 1px solid var(--line); }
.hrg-tabel tbody tr:first-child td { border-top: 0; }
.hrg-tabel td b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.hrg-tabel td small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.hrg-tabel td s { font-size: 12px; color: var(--muted); }
.hrg-res { color: var(--primary); }
.hrg-hemat { color: var(--ok) !important; white-space: nowrap; }

.hrg-nihil { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.hrg-lagi { display: grid; justify-items: center; margin-top: 14px; }
.hrg-catatan { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.hrg-catatan a { color: var(--primary); font-weight: 700; }

.cek-form { display: flex; gap: 10px; margin-top: 18px; max-width: 560px; align-items: flex-end; flex-wrap: wrap; }
.cek-form .fld { flex: 1 1 260px; margin: 0; }
.cek-form input { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cek-list li > div { cursor: default; }

/* ---- Papan peringkat -------------------------------------------------------
   Gagasannya: jarak. Tinggi tiang podium dan panjang jejak di daftar peringkat
   dihitung dari besar belanja, jadi selisih antara juara dan sisanya terlihat,
   bukan sekadar tiga kotak sama tinggi. Keberanian warna dipakai di satu tempat
   saja -- peringkat satu. Peringkat dua dan tiga memakai warna merek yang
   diredam, bukan perak dan perunggu.                                         */

.lb-tabs { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.lb-tabs::-webkit-scrollbar { display: none; }
.lb-tab { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.lb-tab:hover { color: var(--ink); }
.lb-tab.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

.lbp { --juara: #E8A317; position: relative; list-style: none; margin: 0 0 30px; padding: 0 0 2px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
/* Garis dasar: tanpa ini tiangnya terlihat terpotong, karena sisi bawahnya memang tidak berbingkai. */
.lbp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--line); }
.lbp-col { position: relative; display: grid; justify-items: center; text-align: center; gap: 3px; min-width: 0; }

.lbp-mahkota { color: var(--juara); width: 26px; margin-bottom: -2px; }
.lbp-mahkota svg { width: 100%; height: auto; display: block; }

.lbp-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; background: color-mix(in srgb, var(--primary) 78%, var(--surface)); }
.lbp-nama { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbp-total { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lbp-trx { font-size: 12px; color: var(--muted); }

.lbp-tiang { position: relative; width: min(100%, 136px); margin: 10px auto 0; height: calc(var(--h, 100) * 1.15px); display: grid; place-items: center; }
.lbp-tiang::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-m) var(--r-m) 0 0; background: color-mix(in srgb, var(--primary) 13%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--line)); border-bottom: 0; transform-origin: bottom; }
.lbp-no { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 6vw, 40px); line-height: 1; color: color-mix(in srgb, var(--primary) 62%, transparent); }

.lbp-col.is-1 .lbp-av { width: 68px; height: 68px; font-size: 26px; background: var(--juara); box-shadow: 0 0 0 4px color-mix(in srgb, var(--juara) 20%, transparent); }
.lbp-col.is-1 .lbp-nama { font-size: 16px; }
.lbp-col.is-1 .lbp-total { font-size: 17px; color: var(--juara); }
.lbp-col.is-1 .lbp-tiang::before { background: color-mix(in srgb, var(--juara) 20%, var(--surface)); border-color: color-mix(in srgb, var(--juara) 48%, var(--line)); }
.lbp-col.is-1 .lbp-no { font-size: clamp(32px, 7.5vw, 50px); color: color-mix(in srgb, var(--juara) 88%, transparent); }

.lb-ladder { list-style: none; margin: 0; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.lbr { display: grid; grid-template-columns: 24px 34px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; }
.lbr + .lbr { border-top: 1px solid var(--line); }
.lbr-no { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--muted); text-align: center; }
.lbr-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.lbr-isi { min-width: 0; }
.lbr-isi b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbr-jejak { display: block; height: 3px; margin-top: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lbr-jejak i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: color-mix(in srgb, var(--primary) 65%, transparent); }
.lbr-kanan { text-align: right; white-space: nowrap; }
.lbr-kanan b { font-size: 15px; font-variant-numeric: tabular-nums; }
.lbr-kanan small { display: block; font-size: 12px; color: var(--muted); }

.lb-kosong { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 44px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.lb-kosong-ikon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.lb-kosong-ikon svg { width: 24px; height: 24px; }
.lb-kosong b { font-size: 17px; }
.lb-kosong p { margin: 0; max-width: 42ch; color: var(--muted); font-size: 14px; }
.lb-kosong .btn { margin-top: 8px; }

/* Di tema gelap, kuning juara yang dicampur ke permukaan gelap jadi cokelat keruh.
   Kuningnya dicerahkan dan campurannya ditipiskan, bobotnya dipindah ke garis dan angka. */
:root[data-theme="dark"] .lbp { --juara: #F4B740; }
:root[data-theme="dark"] .lbp-tiang::before { background: color-mix(in srgb, var(--primary) 24%, var(--surface)); }
:root[data-theme="dark"] .lbp-col.is-1 .lbp-tiang::before { background: color-mix(in srgb, var(--juara) 12%, var(--surface)); border-color: color-mix(in srgb, var(--juara) 55%, var(--line)); }
:root[data-theme="dark"] .lbp-av { color: #15173A; }

/* Satu momen gerak, dan hanya sebagai jawaban atas pindah tab atau halaman dibuka. */
@keyframes lb-naik { from { transform: scaleY(.03); } to { transform: scaleY(1); } }
@keyframes lb-lebar { from { width: 0; } to { width: var(--w, 0%); } }
.lbp-tiang.tumbuh::before { animation: lb-naik .62s cubic-bezier(.22,.9,.3,1) both; }
.lbr-jejak i.tumbuh { animation: lb-lebar .7s cubic-bezier(.22,.9,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  .lbp-tiang.tumbuh::before, .lbr-jejak i.tumbuh { animation: none; }
}

/* ---- Berita ----------------------------------------------------------------
   Halaman daftar bekerja dengan satu hierarki: satu tulisan utama berukuran besar,
   tiga pendamping ramping di sampingnya, lalu kartu seukuran sama di bawah. Yang
   berani cuma tulisan utamanya; sisanya bergaris rambut dan tenang.
   Halaman baca memakai satu kolom dengan lebar baca terbatas, karena yang penting
   di sana cuma satu: teksnya enak dibaca.                                      */

.br-tab { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; padding-bottom: 2px; }
.br-tab::-webkit-scrollbar { display: none; }
.br-chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 700; transition: color .15s, border-color .15s; }
.br-chip:hover { color: var(--ink); }
.br-chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

.br-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--primary); background: color-mix(in srgb, var(--primary) 13%, var(--surface)); white-space: nowrap; }
.br-badge.kecil { padding: 2px 8px; font-size: 11px; }
.br-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.br-meta time { font-size: 12px; color: var(--muted); }

.br-atas { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-bottom: 30px; align-items: start; }

.br-utama { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; min-height: 400px; color: #fff; background: var(--surface-2); }
.br-utama img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.br-utama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,30,.92) 18%, rgba(10,8,30,.55) 48%, rgba(10,8,30,.05) 78%); }
.br-utama-isi { position: relative; z-index: 1; display: grid; gap: 8px; align-content: end; min-height: 400px; padding: 24px; }
.br-utama-isi b { font-family: var(--font-display); font-size: 25px; line-height: 1.22; }
.br-utama-isi small { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.br-utama-isi time { font-size: 12px; color: rgba(255,255,255,.7); }
.br-utama .br-badge { justify-self: start; color: #fff; background: var(--primary); }
.br-utama:hover img { transform: scale(1.03); }
.br-utama img { transition: transform .4s ease; }

.br-sisi { display: grid; gap: 12px; align-content: start; }
.br-ringkas { display: flex; gap: 13px; padding: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); transition: border-color .15s; }
.br-ringkas:hover { border-color: var(--primary); }
.br-ringkas-img { flex: none; width: 92px; height: 74px; border-radius: var(--r-s); overflow: hidden; background: var(--surface-2); }
.br-ringkas-img img { width: 100%; height: 100%; object-fit: cover; }
.br-ringkas-isi { min-width: 0; display: grid; gap: 5px; align-content: start; }
.br-ringkas-isi b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-ringkas-isi small { font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.br-judul { font-size: 20px; margin-bottom: 14px; }

/* tiga kolom di layar lebar: empat membuat baris terakhir sering menyisakan satu kartu sendirian */
.br-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.br-kartu a { display: grid; align-content: start; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; color: var(--ink); transition: border-color .15s; }
.br-kartu a:hover { border-color: var(--primary); }
.br-kartu-img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.br-kartu-img img { width: 100%; height: 100%; object-fit: cover; }
.br-kartu-isi { display: grid; gap: 7px; padding: 14px 16px 16px; align-content: start; }
.br-kartu-isi b { font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.br-kartu-isi small { font-size: 14px; color: var(--muted); line-height: 1.45; }

.br-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.br-kosong { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 50px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.br-kosong b { font-size: 18px; }
.br-kosong p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- Halaman baca ---- */
.bc { max-width: 760px; margin: 20px auto 0; }
.bc-kepala h1 { font-size: 34px; line-height: 1.14; margin: 4px 0 0; }
.bc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 18px; font-size: 14px; color: var(--muted); }
.bc-penulis { font-size: 14px; }

.bc-bagi { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bc-bagi-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.bc-bagi a, .bc-bagi button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.bc-bagi svg { width: 16px; height: 16px; flex: none; }
.bc-bagi-wa:hover { color: #1FA855; border-color: #1FA855; }
.bc-bagi-x:hover { color: var(--ink); border-color: var(--ink); }
.bc-bagi-fb:hover { color: #1877F2; border-color: #1877F2; }
.bc-bagi-salin:hover { color: var(--primary); border-color: var(--primary); }
.bc-bagi-salin.beres { color: var(--ok); border-color: var(--ok); }

.bc-hero { margin: 22px 0; }
/* dikunci 16:9: gambar unggahan yang persegi atau memanjang ke bawah kalau dibiarkan bisa memenuhi satu layar penuh sebelum teksnya mulai */
.bc-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); display: block; }

.bc-isi { font-size: 17px; line-height: 1.75; }
.bc-isi > * + * { margin-top: 1.05em; }
.bc-isi h2 { font-size: 24px; line-height: 1.25; margin-top: 1.7em; }
.bc-isi h3 { font-size: 19px; line-height: 1.3; margin-top: 1.5em; }
.bc-isi img { max-width: 100%; height: auto; border-radius: var(--r-m); }
.bc-isi a:not(.btn) { color: var(--primary); text-decoration: underline; }
.bc-isi ul, .bc-isi ol { padding-left: 24px; }
.bc-isi li + li { margin-top: .4em; }
.bc-isi blockquote { margin-left: 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--primary); color: var(--muted); }

.bc-kaki { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-layout .p-side { position: static; }
}
@media (max-width: 640px) {
  .br-atas { grid-template-columns: 1fr; }
  .br-utama, .br-utama-isi { min-height: 280px; }
  .br-utama-isi { padding: 18px; }
  .br-utama-isi b { font-size: 20px; }
  .br-ringkas-img { width: 76px; height: 62px; }
  .br-grid { grid-template-columns: 1fr; }
  .bc-kepala h1 { font-size: 26px; }
  .bc-isi { font-size: 16px; }
  .bc-bagi a span, .bc-bagi button span { display: none; }
  .bc-bagi a, .bc-bagi button { padding: 9px 12px; }
  .bc-bagi-salin span { display: inline !important; }
  .pg-head { margin: 14px 0 14px; }
  .pg-head h1, .art h1 { font-size: 25px; }
  .pg-search { max-width: none; }
  .cek-form .btn { flex: 1 1 100%; }
  .hrg-cari-layanan { max-width: none; min-width: 0; width: 100%; }
  .hrg-kartu { width: 76px; }
  .hrg-kartu-img { width: 62px; height: 62px; }
  .hrg-kartu b { font-size: 11px; }
  .hrg-judul b { font-size: 16px; }
  .hrg-tabel th { padding: 10px 12px; }
  .hrg-tabel td { padding: 10px 12px; }
  .hrg-tabel td b { font-size: 14px; }
  .hrg-tabel th.ka, .hrg-tabel td.ka { width: auto; }
  .hrg-tabel td small { font-size: 11px; }
  .hrg-tabel td:first-child { max-width: 44vw; }
  .hrg-tabel td:first-child b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lbp { gap: 6px; }
  .lbp-av { width: 44px; height: 44px; font-size: 17px; }
  .lbp-col.is-1 .lbp-av { width: 54px; height: 54px; font-size: 21px; }
  .lbp-nama { font-size: 12px; }
  .lbp-col.is-1 .lbp-nama { font-size: 13px; }
  .lbp-total { font-size: 12px; }
  .lbp-col.is-1 .lbp-total { font-size: 14px; }
  .lbp-trx { font-size: 11px; }
  .lbp-mahkota { width: 20px; }
  .lbp-tiang { width: min(100%, 96px); height: calc(var(--h, 100) * .82px); }
  .lb-ladder { padding-inline: 12px; }
  .lbr { grid-template-columns: 20px 30px 1fr auto; gap: 9px; }
  .lbr-av { width: 30px; height: 30px; font-size: 13px; }
  .lbr-isi b, .lbr-kanan b { font-size: 14px; }
  .art-body { font-size: 16px; }
}

/* ===== Halaman teks panjang: Syarat & ketentuan, Kebijakan privasi ===== */
.doc-head { display: grid; gap: 4px; }
.doc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px;
  background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary); }
.doc-date { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.doc-admin { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-s); font-size: 14px;
  background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.doc-toc { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.doc-toc h2 { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.doc-toc li a { display: block; padding: 6px 10px; border-radius: 8px; }
.doc-toc li a:hover { background: var(--surface-2); }
.doc-toc a { color: var(--ink); }
.doc-toc a:hover { color: var(--primary); }
.doc-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 32px; font-size: 16px; line-height: 1.75; max-width: 72ch; }
.doc-body h2 { font-size: 21px; margin: 1.8em 0 .5em; scroll-margin-top: 92px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.doc-body p { margin: 0 0 1em; }
.doc-body ul, .doc-body ol { padding-left: 24px; margin: 0 0 1em; }
.doc-body li + li { margin-top: .4em; }
/* :not(.btn) penting: tombol "Hubungi kami" ada di dalam .doc-body, dan aturan
   tautan ini lebih kuat daripada .btn-primary -- teksnya jadi ungu di atas
   latar ungu, alias tombol kosong. */
.doc-body a:not(.btn) { color: var(--primary); text-decoration: underline; }
.doc-help { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-help p { margin: 0 0 14px; color: var(--muted); }
.doc-help-act { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-bottom: 40px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 22px; height: 22px; border-radius: 50%; position: relative; background: var(--surface-2); transition: transform .18s ease; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; inset: 50% 6px auto; height: 2px; background: var(--muted); transform: translateY(-50%); }
.faq-item summary i::after { transform: translateY(-50%) rotate(90deg); transition: opacity .18s ease; }
.faq-item[open] summary i::after { opacity: 0; }
.faq-item[open] summary i { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.faq-ans { padding: 0 18px 18px; color: var(--muted); line-height: 1.7; }
.faq-ans p { margin: 0 0 .8em; } .faq-ans p:last-child { margin-bottom: 0; }
.faq-ans b { color: var(--ink); }
.faq-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.faq-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.faq-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-s); color: var(--ink); font-weight: 600; font-size: 15px; }
.faq-links a:hover { background: var(--surface-2); color: var(--primary); }
.faq-links svg { color: var(--muted); flex: none; }

/* ===== Hubungi kami ===== */
.kt { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-bottom: 40px; }
.kt-main { display: grid; gap: 18px; }
.kt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.kt-card { display: grid; gap: 2px; padding: 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
a.kt-card:hover { border-color: var(--primary); }
.kt-card.prim { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.kt-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px;
  background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary); }
.kt-card.prim .kt-ic { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.kt-card b { font-size: 16px; }
.kt-card small { color: var(--muted); font-size: 14px; word-break: break-word; }
.kt-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.kt-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.kt-form h2 { font-size: 20px; }
.kt-sub { margin: 6px 0 18px; color: var(--muted); }
.kt-form .fields { margin-bottom: 16px; }
.kt-prev { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--surface-2); color: var(--muted);
  font-size: 14px; white-space: pre-wrap; }
.kt-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.kt-tips { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: 14px; }
.kt-tips a { color: var(--primary); font-weight: 700; }
.kt-tips b { color: var(--ink); }
.kt-warn { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.kt-sos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kt-sos a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-s); color: var(--ink); font-weight: 600; }
.kt-sos a:hover { background: var(--surface-2); color: var(--primary); }

/* ===== Promo & kupon ===== */
.pr-banner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.pr-banner-it { scroll-snap-align: start; }
.pr-banner-it img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--r-m); display: block; }
.pr-flash { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pr-fl { display: flex; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); border-radius: var(--r-m); }
.pr-fl > img { width: 72px; height: 72px; border-radius: var(--r-s); object-fit: cover; flex: none; background: var(--surface-2); }
.pr-fl-b { display: grid; gap: 3px; align-content: start; min-width: 0; }
.pr-disc { justify-self: start; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--warn); color: #1b1300; }
.pr-fl-b b { font-size: 16px; }
.pr-fl-b small { color: var(--muted); font-size: 14px; }
.pr-end { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.pr-end b { font-family: var(--font-display); color: var(--ink); }
.pr-fl-b .btn { justify-self: start; }
.pr-kupon { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pr-kp { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.pr-kp-l { flex: none; width: 96px; display: grid; place-content: center; text-align: center; padding: 16px 8px; color: var(--primary-ink);
  background: var(--primary); border-right: 2px dashed color-mix(in srgb, #fff 45%, var(--primary)); }
.pr-kp-l b { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.pr-kp-l small { font-size: 12px; opacity: .85; }
.pr-kp-r { padding: 14px 16px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.pr-kode { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; word-break: break-all; }
.pr-kp-r small { color: var(--muted); font-size: 13px; }
.pr-pribadi { justify-self: start; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.pr-kp-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pr-kp-act .btn { padding: 8px 14px; font-size: 14px; }
.pr-kosong { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 36px 20px; }
.pr-kosong p { color: var(--muted); max-width: 46ch; margin: 0 0 8px; }
.pr-kosong .doc-help-act { justify-content: center; }
.pr-cara { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 8px; line-height: 1.6; }
.pr-cara b { color: var(--ink); }
.pr-member { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pr-member a { color: var(--primary); font-weight: 700; }

@media (max-width: 980px) {
  .doc, .faq-wrap, .kt { grid-template-columns: 1fr; }
  .doc-toc, .faq-side, .kt-side { position: static; }
  .doc-toc ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .doc-body { padding: 20px 18px; font-size: 15px; }
  .doc-body h2 { font-size: 19px; }
  .doc-toc ul { grid-template-columns: 1fr; }
  .doc-help-act .btn, .pr-kp-act .btn { flex: 1 1 100%; }
  .faq-item summary { padding: 14px; font-size: 15px; }
  .faq-ans { padding: 0 14px 14px; }
  .kt-form { padding: 18px 16px; }
  .kt-form .fields-2 { grid-template-columns: 1fr; }
  .pr-kp-l { width: 78px; }
  .pr-banner-it img { height: 120px; }
}

/* ===== Pengumuman berjalan (Promosi > Pengumuman) ===== */
.announce { position: relative; background: var(--an-bg); color: var(--an-ink); font-size: 14px; font-weight: 600; }
.announce-in { width: min(1200px, 100% - 60px); margin-inline: auto; padding: 9px 0; overflow: hidden; }
.announce-in span { display: inline-block; white-space: nowrap; animation: an-jalan 26s linear infinite; padding-left: 100%; }
.announce:hover .announce-in span { animation-play-state: paused; }
@keyframes an-jalan { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .announce-in span { animation: none; padding-left: 0; white-space: normal; }
}
.announce-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.announce-x:hover { background: rgba(255,255,255,.3); }

/* ===== Pop up promosi ===== */
.pop-wrap { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.pop-bg { position: absolute; inset: 0; background: rgba(8,10,30,.6); backdrop-filter: blur(2px); }
.pop-box { position: relative; width: min(440px, 100%); max-height: 86vh; overflow: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); animation: pop-naik .25s ease-out; }
@keyframes pop-naik { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .pop-box { animation: none; } }
.pop-img { display: block; width: 100%; height: auto; border-radius: var(--r-l) var(--r-l) 0 0; }
.pop-isi { padding: 20px 22px 4px; line-height: 1.65; }
.pop-isi :first-child { margin-top: 0; }
.pop-isi a { color: var(--primary); font-weight: 700; }
.pop-isi img { max-width: 100%; height: auto; border-radius: var(--r-s); }
.pop-sekali { display: flex; align-items: center; gap: 8px; padding: 14px 22px 18px; font-size: 13px; color: var(--muted); }
.pop-x { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(8,10,30,.55); color: #fff; font-size: 21px; line-height: 1; cursor: pointer; }
.pop-x:hover { background: rgba(8,10,30,.8); }

/* ===== Pembayaran manual & progres joki di invoice ===== */
.sudah-bayar { margin-top: 14px; }
.sudah-bayar .hint { margin-top: 8px; }
.cek-bayar { padding: 14px 16px; border-radius: var(--r-m); margin-bottom: 16px;
  background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.cek-bayar b { display: block; margin-bottom: 4px; }
.cek-bayar p { margin: 0; color: var(--muted); font-size: 14px; }
.kerja-box { margin-bottom: 16px; }
.kerja-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.kerja-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.kerja-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.kerja-list li.on { color: var(--ink); font-weight: 700; }
.kerja-list li.on::before { background: var(--ok); border-color: var(--ok); }
.kerja-list li.bad { color: var(--danger); font-weight: 700; }
.kerja-list li.bad::before { background: var(--danger); border-color: var(--danger); }
.kerja-note { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--surface-2); font-size: 14px; }

/* ===== Affiliate di akun member ===== */
.ak-flash { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-s); font-weight: 600; font-size: 14px; }
.ak-flash.ok { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.ak-flash.bad { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.af-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.af-kpi > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 18px; }
.af-kpi small { display: block; font-size: 13px; color: var(--muted); }
.af-kpi b { display: block; font-family: var(--font-display); font-size: 24px; margin: 3px 0 2px; }
.af-kpi span { font-size: 12px; color: var(--muted); }
.af-kpi > div:first-child b { color: var(--primary); }
.af-form { display: grid; gap: 12px; }
.ak-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .af-form { grid-template-columns: 1fr 1fr; } .af-form .btn { grid-column: 1 / -1; } }

/* ===== Halaman VIP Reseller ===== */
.rs-aktif { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 18px; border-radius: var(--r-l);
  background: color-mix(in srgb, var(--ok) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); }
.rs-aktif h2 { font-size: 21px; margin: 8px 0 4px; }
.rs-aktif p { margin: 0; color: var(--muted); max-width: 60ch; }
.rs-jalur { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 32px; }
.rs-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.rs-card.hi { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: var(--shadow); }
.rs-tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--surface-2); color: var(--muted); }
.rs-card.hi .rs-tag { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.rs-card h2 { font-size: 26px; margin: 12px 0 6px; }
.rs-card h2 small { font-size: 15px; font-weight: 500; color: var(--muted); }
.rs-card > p { color: var(--muted); margin: 0 0 16px; }
.rs-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.rs-bar span { display: block; height: 100%; border-radius: 999px; background: var(--primary); transition: width .4s ease; }
.rs-angka { margin: 0 0 6px; font-size: 15px; }
.rs-angka b { font-family: var(--font-display); }
.rs-form { display: grid; gap: 12px; margin-bottom: 12px; }
.rs-poin { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.rs-poin li { position: relative; padding-left: 22px; line-height: 1.5; }
.rs-poin li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.rs-poin b { color: var(--ink); }
.rs-contoh { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rs-contoh > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.rs-contoh b { display: block; font-size: 15px; }
.rs-harga { display: flex; align-items: baseline; gap: 9px; margin: 6px 0 2px; }
.rs-harga s { color: var(--muted); font-size: 14px; }
.rs-harga b { font-family: var(--font-display); font-size: 19px; color: var(--primary); }
.rs-contoh small { color: var(--ok); font-weight: 700; font-size: 13px; }
@media (max-width: 560px) { .rs-card { padding: 18px 16px; } .rs-aktif { padding: 16px 18px; } }

/* ===== Social proof: pita atas header ===== */
.proof-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-band-in { width: min(1200px, 100% - 32px); margin-inline: auto; overflow: hidden; }
.proof-band-row { display: flex; width: max-content; gap: 34px; padding: 7px 0; animation: pf-jalan 44s linear infinite; }
.proof-band-row span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; color: var(--muted); }
.proof-band-row b { color: var(--ink); font-weight: 700; }
.proof-band-row i { font-style: normal; opacity: .75; }
.proof-band-row svg { color: var(--ok); flex: none; }
.proof-band:hover .proof-band-row { animation-play-state: paused; }
@keyframes pf-jalan { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Social proof: kartu melayang ===== */
.proof-pop { position: fixed; left: 16px; bottom: 18px; z-index: 55; display: flex; align-items: flex-start; gap: 10px;
  width: min(300px, calc(100vw - 32px)); padding: 11px 30px 11px 12px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(16, 18, 48, .18);
  opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
.proof-pop.tampil { opacity: 1; transform: translateY(0); }
.proof-pop.naik { bottom: 104px; }
.proof-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.proof-isi { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.proof-isi b { color: var(--ink); }
.proof-isi small { display: block; margin-top: 2px; font-size: 11.5px; opacity: .8; }
.proof-x { position: absolute; top: 5px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: none; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; }
.proof-x:hover { background: var(--surface-2); }

/* ===== Tombol chat WhatsApp dengan maskot Imo ===== */
.imo-chat { position: fixed; bottom: 18px; z-index: 60; display: flex; align-items: flex-end; gap: 10px; }
.imo-chat.kanan { right: 16px; }
.imo-chat.kiri { left: 16px; flex-direction: row-reverse; }
.imo-tombol { position: relative; flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 26%, #FFFFFF, #E6DEFF 72%); border: 1px solid color-mix(in srgb, var(--primary) 32%, #FFFFFF);
  box-shadow: 0 10px 26px rgba(76, 44, 190, .3); }
.imo-tombol:hover { transform: translateY(-2px); }
.imo-tombol:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.imo-maskot { width: 50px; height: 50px; animation: imo-apung 3.4s ease-in-out infinite; }
/* Varian foto: maskotnya sudah berupa lencana bundar lengkap dengan cincin menyalanya
   sendiri, jadi latar dan garis tepi tombol dimatikan supaya tidak ada dua lingkaran
   bertumpuk. Animasi apungnya tetap karena menempel di .imo-maskot. */
.imo-tombol.foto { background: none; border: 0; box-shadow: 0 10px 26px rgba(76, 44, 190, .34); }
.imo-tombol.foto .imo-maskot { width: 62px; height: 62px; object-fit: contain; }
/* z-index wajib: gambar maskot datang setelah titik ini di dalam markup, jadi tanpa
   lapisan eksplisit dia menimpa titiknya. */
.imo-nyala { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: #25D366; border: 2.5px solid var(--surface); z-index: 2; }
.imo-tombol.foto .imo-nyala { top: 1px; right: 1px; }
.imo-nyala::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #25D366;
  opacity: .6; animation: imo-denyut 2.2s ease-out infinite; }
@keyframes imo-apung { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3.5px) rotate(2deg); } }
@keyframes imo-denyut { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.imo-bubble { position: relative; max-width: 215px; padding: 10px 26px 10px 13px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(16, 18, 48, .16);
  font-size: 13.5px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.imo-bubble.tampil { opacity: 1; transform: translateY(0); }
.imo-bubble-x { position: absolute; top: 3px; right: 5px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: none; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }
.socials .sos-teks { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .proof-band-row, .imo-maskot, .imo-nyala::after { animation: none; }
  .proof-band-row { gap: 24px; }
}
@media (max-width: 860px) {
  .imo-chat { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .proof-pop { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .proof-pop.naik { bottom: calc(146px + env(safe-area-inset-bottom)); }
  body:has(.m-bar) .imo-chat, body:has(.m-bar) .proof-pop { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .imo-tombol { width: 54px; height: 54px; }
  .imo-maskot { width: 43px; height: 43px; }
  .imo-tombol.foto .imo-maskot { width: 54px; height: 54px; }
  /* layar sempit: gelembung sapaan disembunyikan supaya tidak menutupi social proof */
  .imo-bubble { display: none !important; }
  .proof-pop { width: calc(100vw - 92px); padding-right: 26px; }
}

/* ===== Bukti transaksi: tampilan cetak / simpan PDF ===== */
.inv-cetak, .inv-cetak-kaki { display: none; }
@media print {
  @page { size: A4; margin: 12mm 12mm 14mm; }

  /* Satu tema tetap untuk kertas. Tema gelap situs memakai :root[data-theme="dark"]
     yang spesifisitasnya lebih tinggi dari :root, jadi ketiganya ditimpa sekaligus
     supaya PDF tidak pernah ikut tema layar. */
  :root, :root[data-theme="dark"], :root[data-theme="light"] {
    --bg: #ffffff; --surface: #ffffff; --surface-2: #ffffff;
    --ink: #15161c; --muted: #5c6070; --line: #d9dbe4;
    --primary: #5b2ee0; --shadow: none;
    color-scheme: light;
  }
  html, body {
    background: #fff !important; color: #15161c !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  /* apa pun yang di layar punya latar gelap, di kertas dibuat putih */
  main.wrap, .inv-layout, .p-layout, .step, .side-card, .sum div, .code-row,
  .inv-head, section, aside, div, dl { background-image: none !important; }
  .step, .side-card, .inv-head, .code-row { background-color: #fff !important; }

  .announce, .proof-band, .top, .foot, .bottom-nav, .m-bar, .imo-chat, .proof-pop, .pop-wrap,
  .mobile-search, .inv-timer, .howto, .sudah-bayar, .inv-actions, .toast, .track,
  [data-copy], .copy-inline, .btn, .qr, .wait-line, #ulasanKotak, .inv-keep,
  .inv-beli, [id^="debug"], [class^="debug"] { display: none !important; }
  /* status sudah ada di strip dan di cap, jadi judul layar tidak perlu diulang */
  .inv-head { display: none !important; }
  .inv-cetak, .inv-cetak-kaki { display: block !important; }
  main.wrap { width: auto; padding: 0; }

  /* ---------- pita kop ---------- */
  .inv-cetak-band {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
    padding: 14px 16px; border-radius: 8px;
    background: #2a1a5e !important; color: #fff !important;
  }
  .inv-cetak-co b {
    display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em;
    line-height: 1.15; margin-bottom: 3px; color: #fff !important;
  }
  .inv-cetak-co span { display: block; font-size: 10px; line-height: 1.6; color: #c9c2ef !important; }
  .inv-cetak-id { text-align: right; flex: none; }
  .inv-cetak-id b {
    display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .2em;
    color: #c9c2ef !important; margin-bottom: 5px;
  }
  .inv-cetak-kode {
    display: inline-block !important;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    padding: 4px 10px; border-radius: 5px;
    background: rgba(255,255,255,.14) !important; color: #fff !important;
  }

  /* ---------- strip tanggal / metode / status ---------- */
  .inv-cetak-meta {
    position: relative;
    display: flex; gap: 28px;
    padding: 11px 16px 13px; margin-bottom: 20px;
    border: 1px solid #e3e5ed; border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fafaff !important;
  }
  .inv-cetak-meta > div { min-width: 0; }
  .inv-cetak-meta b {
    display: block; font-size: 8px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #8a8fa3 !important; margin-bottom: 2px;
  }
  .inv-cetak-meta span { display: block; font-size: 11.5px; font-weight: 600; color: #15161c !important; }
  .inv-cetak-meta .st-lunas { color: #11703d !important; }
  .inv-cetak-meta .st-batal { color: #a51c1c !important; }
  .inv-cetak-meta .st-tunggu { color: #8a6000 !important; }

  /* ---------- cap ---------- */
  .inv-cetak-cap { position: absolute; right: 14px; top: -6px; transform: rotate(-5deg); }
  .inv-cetak-cap span {
    display: inline-block; padding: 4px 14px;
    border: 2.5px solid currentColor; border-radius: 6px;
    font-size: 15px; font-weight: 800; letter-spacing: .14em;
    background: #fff !important;
  }
  .inv-cetak-cap.lunas span { color: #11703d !important; }
  .inv-cetak-cap.batal span { color: #a51c1c !important; }
  .inv-cetak-cap.tunggu span { color: #8a6000 !important; }

  /* ---------- badan ---------- */
  .inv-layout, .p-layout { display: block !important; }

  .side-card, .step {
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 0 16px !important; break-inside: avoid;
  }
  .side-card h3, .step h3 {
    font-size: 8.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: #8a8fa3 !important; padding-bottom: 5px; margin: 0 0 8px;
    border-bottom: 1px solid #e3e5ed;
  }

  /* ---------- tabel rincian ---------- */
  .sum { margin: 0; display: block !important; }
  .sum div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 2px; border-bottom: 1px solid #f0f1f6; }
  .sum dt { color: #5c6070 !important; font-size: 11px; }
  .sum dd { font-size: 11.5px; font-weight: 700; text-align: right; color: #15161c !important; }

  .karcis .tot-takik { display: none !important; }
  .sum .tot, .karcis .sum .tot {
    margin-top: 10px !important; padding: 12px 14px !important;
    border: 0 !important; border-radius: 7px;
    background: #f1edff !important;
  }
  .sum .tot::before, .karcis .sum .tot::before { display: none !important; }
  .sum .tot dt { color: #2a1a5e !important; font-size: 12.5px; font-weight: 700; }
  .sum .tot dd, .karcis .sum .tot dd {
    font-family: var(--font-display); font-size: 19px; font-weight: 800;
    color: #2a1a5e !important;
  }

  /* ---------- SN / kode ---------- */
  .pay-lead {
    font-size: 8.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: #8a8fa3 !important; margin: 0 0 5px;
  }
  .code-row { border: 0 !important; padding: 0 !important; margin: 0 !important; }
  .code-big, .code-big.sn {
    display: inline-block;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 13px; letter-spacing: .06em; font-weight: 700; color: #15161c !important;
    padding: 7px 13px; border: 1.5px dashed #b9bcc9; border-radius: 6px;
    background: #fafaff !important;
  }
  .note { color: #15161c !important; font-size: 11px; margin: 5px 0 0; }

  /* ---------- kaki ---------- */
  .inv-cetak-kaki {
    margin-top: 22px; padding-top: 10px; border-top: 1px solid #e3e5ed;
    font-size: 9px; color: #74788a !important; text-align: center; line-height: 1.75;
  }
  .inv-cetak-kaki p { margin: 0; }
  .inv-cetak-verif b { color: #2a1a5e !important; font-weight: 700; }

  a[href]::after { content: ''; }
}

/* ===== Kartu reseller di Ringkasan akun ===== */
.ak-rs { display: grid; gap: 12px; padding: 16px 18px; margin-bottom: 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); }
.ak-rs.on { border-color: color-mix(in srgb, var(--ok) 45%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 8%, var(--surface)), var(--surface)); }
.ak-rs-t { display: flex; align-items: flex-start; gap: 11px; }
.ak-rs-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.ak-rs.on .ak-rs-ic { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.ak-rs-t b { display: block; font-size: 15px; color: var(--ink); }
/* :not(.ak-rs-ic): aturan ini untuk teks keterangan, tapi span ikon juga ikut
   kena. display:block-nya mematikan place-items:center, jadi trofinya nempel
   di pojok kiri atas kotaknya. */
.ak-rs-t span:not(.ak-rs-ic) { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ak-rs-t span b { display: inline; font-size: inherit; }
.ak-rs .btn { justify-self: start; }
@media (min-width: 720px) {
  .ak-rs { grid-template-columns: 1fr auto; align-items: center; }
  .ak-rs-t { grid-column: 1; }
  .ak-rs .rs-bar { grid-column: 1; }
  .ak-rs .btn { grid-column: 2; grid-row: 1 / span 2; }
}
.ak-main .rs-jalur { margin: 0 0 18px; }
.ak-main .rs-aktif { margin-bottom: 18px; }
.ak-rs.warn { border-color: color-mix(in srgb, var(--warn, #E8A33D) 50%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--warn, #E8A33D) 9%, var(--surface)), var(--surface)); }
.ak-rs.warn .ak-rs-ic { background: color-mix(in srgb, var(--warn, #E8A33D) 18%, transparent); color: var(--warn, #E8A33D); }
.auth-ref-info { margin: -2px 0 14px; padding: 9px 12px; border-radius: 10px; font-size: 13px;
  background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 32%, var(--line)); color: var(--muted); }
.auth-ref-info b { color: var(--ink); letter-spacing: .04em; }

/* Label flash sale pada kartu nominal */
.nom { position: relative; }
/* ===== Bukti sosial: angka terjual & nominal terlaris ===== */
/* Angka terjual memimpin baris, ulasan menyusul lebih tipis. */
.p-rate .p-terjual { font-weight: 700; }
.p-rate .p-pisah { opacity: .45; margin: 0 3px; }
.p-rate .p-ulasan-redup { opacity: .72; }

/* Label menumpang di tepi atas kartu, jadi barisnya direnggangkan sedikit --
   hanya pada panel yang memuat nominal terlaris. */
.noms.ada-laris { row-gap: 20px; }
.nom.laris, .nom.laris:hover { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.nm-laris { position: absolute; top: -10px; left: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--ok); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
/* Saat kartunya dipilih, tanda pilihan tetap yang menang. */
.nom.on.laris { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.nom.on .nm-laris { background: var(--primary); }

.nm-flash { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 6px 2px 4px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .01em;
  background: linear-gradient(135deg, #FF8A3D, #F5452B); color: #fff; box-shadow: 0 2px 6px rgba(245, 69, 43, .35); }
.nom.on .nm-flash { box-shadow: 0 2px 8px rgba(245, 69, 43, .5); }
.nom.ada-flash .nm { padding-right: 46px; }

/* Judul subkategori pada daftar nominal, menggantikan tab */
.nom-judul { display: flex; align-items: baseline; gap: 9px; margin: 22px 0 10px; padding-bottom: 7px;
  font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--ink);
  border-bottom: 1px solid var(--line); }
.nom-judul:first-of-type { margin-top: 6px; }
.nom-judul small { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ===== Ulasan pembeli di halaman invoice ===== */
.ul-kotak {
  /* .step sudah memberi padding 20px; bilah emas ditambahkan di luar itu */
  border-left: 3px solid #f5b301;
  padding-left: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #f5b301 7%, transparent), transparent 120px),
    var(--surface);
}
.ul-kepala h3 { margin: 0; }
.ul-lead { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.ul-nilai-blok {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 16px 0;
}
.ul-bintang { display: flex; gap: 4px; }
.ul-b {
  background: none; border: 0; padding: 2px;
  line-height: 0; cursor: pointer;
  color: color-mix(in srgb, var(--muted) 34%, transparent);
  transition: color .12s ease, transform .12s ease;
}
.ul-b svg { width: 34px; height: 34px; fill: currentColor; }
.ul-b:hover { transform: translateY(-2px); }
.ul-b.aktif { color: #f5b301; }
.ul-b:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.ul-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.ul-label.terisi { color: var(--ink); }

.ul-isi {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit; font-size: 15px;
  resize: vertical;
}
.ul-isi::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.ul-isi:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent); }

.ul-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 12px;
}
.ul-sisa { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .ul-b { transition: none; }
  .ul-b:hover { transform: none; }
}

/* ===== Invoice: baris "apa yang dibeli" di kepala ===== */
.inv-beli {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin: 12px 0 0; font-size: 15px;
}
.inv-beli-p {
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.inv-beli-ke { color: var(--muted); font-size: 14px; }
.inv-beli-ke b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ===== Invoice: kartu Rincian sebagai karcis sobek =====
   Takik dan garis putus menempel pada baris Total, bukan pada kartunya, supaya
   posisinya selalu pas berapa pun isi rinciannya. Padding kartu 18px, jadi takik
   digeser -27px (18 + 9) agar separuhnya menggigit tepi kartu. */
.karcis { position: relative; }
.karcis .sum .tot {
  position: relative;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 0;
}
.karcis .sum .tot::before {
  content: '';
  position: absolute;
  left: -18px; right: -18px; top: 0;
  border-top: 2px dashed var(--line);
}
.karcis .sum .tot dd { font-size: 22px; }

.karcis .tot-takik { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.karcis .tot-takik::before,
.karcis .tot-takik::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.karcis .tot-takik::before { left: -27px; }
.karcis .tot-takik::after { right: -27px; }

@media (max-width: 960px) {
  .karcis .tot-takik { display: none; }
}

/* ---- Bilah pasang aplikasi -------------------------------------------------
   Muncul hanya setelah browser memastikan situsnya bisa dipasang, lalu ikut alur
   halaman (bukan melayang) supaya tidak menutupi apa pun. Ditutup sekali, diam
   selama 30 hari.                                                             */
.pwa-bar { background: var(--ink); color: #fff; }
.pwa-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.pwa-logo { flex: none; border-radius: 9px; }
.pwa-teks { flex: 1; min-width: 0; display: grid; }
.pwa-teks b { font-size: 14px; line-height: 1.3; }
.pwa-teks small { font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.35; }
.pwa-bar .btn { flex: none; }
.pwa-tutup { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: rgba(255,255,255,.7); cursor: pointer; }
.pwa-tutup:hover { color: #fff; background: rgba(255,255,255,.12); }
.pwa-tutup svg { width: 17px; height: 17px; }
:root[data-theme="dark"] .pwa-bar { background: var(--surface-2); }

@media (max-width: 560px) {
  .pwa-row { gap: 10px; padding: 9px 0; }
  .pwa-logo { width: 34px; height: 34px; }
  .pwa-teks b { font-size: 13px; }
  .pwa-teks small { font-size: 11px; }
}
