/* ABPIGCVgold — dark violet + gold theme (Pi-flavoured), Plus Jakarta Sans */
:root {
  --bg: #0a0714;
  --bg-2: #120a26;
  --text: #f4f1ff;
  --muted: #a49cc4;
  --muted-2: #7f77a3;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --input: rgba(255, 255, 255, 0.05);
  --card: rgba(23, 15, 46, 0.72);
  --card-solid: #150d2b;
  --purple: #7d3cff;
  --purple-2: #b18cff;
  --gold: #f5b942;
  /* GRADASI LOGO PI NETWORK (permintaan pemilik akun 30 Sep 2026). Warna diambil langsung dari
     berkas resmi `public/assets/pi-network.png` (ikon koin π): inti emas #fdbb43, sorot #fdc96d.
     Dipakai kartu member sebagai aksen. --gold lama tetap dipakai seluruh app lainnya. */
  --pi-gold: #fdbb43;
  --pi-gold-light: #ffd97a;
  --pi-gold-deep: #e39a1a;
  --pi-grad: linear-gradient(120deg, #ffd97a, #fdbb43 52%, #e39a1a);
  --green: #24d07a;
  --red: #f6465d;
  --radius: 14px;
  --gap: 20px;
  --pad: 22px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }

body {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(125, 60, 255, 0.28), transparent 62%),
    radial-gradient(760px 460px at 4% 4%, rgba(245, 185, 66, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
/* .mono dipakai untuk angka, alamat wallet, dan hash transaksi. Alamat Pi 56 karakter /
   hash panjang TIDAK boleh memaksa halaman melebar di layar sempit (dulu checkout @390px
   meluber 492px) → biarkan boleh dipotong di mana saja kalau perlu. */
.mono { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.up { color: var(--green); }
.down { color: var(--red); }
.gold { color: var(--gold); }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }

/* ---------------------------------------------------------------- topbar */
.topbar {
  display: flex;
  align-items: center;
  /* 18px (dulu 26px): logo π+GCV sekarang lebih lebar dari ikon lama, jadi jarak antar-blok
     dirapatkan supaya menu tetap SATU baris di layar 1280–1440px. */
  gap: 18px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 20, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: 0.01em; }
.brand em { color: var(--gold); font-style: normal; }
/* Logo (1 Okt 2026 — permintaan pemilik akun): LOGO π ASLI Pi Network (emas) dengan tulisan
   "GOLD" DI BAWAHNYA — satu berkas `public/assets/abpigcvgold.png`, yaitu berkas yang SAMA
   dengan logo di Digital ID Card (dulu topbar memakai versi lebar `pi-gcv.png` yang berbeda
   dari kartu; berkas lebar itu sudah dihapus 1 Okt 2026). Jadi topbar, footer, favicon, dan
   kartu memakai satu gambar.
   Nama app di sampingnya tetap TEKS (bukan bagian gambar) supaya memakai font situs, dan
   TIDAK memuat kata "GCV" lagi — kata itu sudah ada di dalam logo (dulu "ABPIGCVgold · GCV"
   membuat GCV tampil dua kali). */
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(253, 187, 67, 0.35));
}
.brand-mark-foot { width: 56px; height: 56px; }   /* ukuran tetap di semua lebar — aturan HP di bawah hanya menyasar logo topbar (.brand .brand-mark) */
.brand-wordmark { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--gold); white-space: nowrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-wordmark {
    background: linear-gradient(118deg, #c9aeff 0%, #f5b942 55%, #ffdd8f 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.brand-suffix { color: var(--gold); font-size: 16px; }

.nav-main { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
.nav-main a { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-main a:hover, .nav-main a.is-active { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.text-link { color: var(--muted); font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--text); }
.member-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  color: #1b0b3d;
}
.who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.who strong, .who small { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who strong { font-size: 13px; }
.who small { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- layout */
.shell { max-width: 1180px; margin: 0 auto; padding: 32px 28px 56px; }
.view { display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head .lede { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 660px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
/* Grid/flex item default-nya min-width:auto → tabel lebar di dalam card bisa
   memaksa kolom melebar dan bikin overflow horizontal di layar sempit. */
.split > *, .split-wide > *, .split-3 > *, .hero > *, .grid-cards > *, .stat-grid > * { min-width: 0; }
.split-wide { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gap); align-items: start; }
.split-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }

/* ---------------------------------------------------------------- surfaces */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}
.card.head { display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h3 { font-size: 16px; }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.hero .lede { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 620px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.chip-gold { border-color: rgba(245, 185, 66, 0.45); background: rgba(245, 185, 66, 0.1); color: var(--gold); }
.chip-purple { border-color: rgba(177, 140, 255, 0.42); background: rgba(125, 60, 255, 0.14); color: var(--purple-2); }
.chip-warn { border-color: rgba(245, 185, 66, 0.3); background: rgba(245, 185, 66, 0.07); color: #e7c98a; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.gcv-badge { display: flex; flex-direction: column; gap: 10px; }
.gcv-badge .label { font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.gcv-value { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.02em; color: var(--gold); line-height: 1; }
.gcv-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.disclaimer {
  border: 1px dashed rgba(245, 185, 66, 0.4);
  background: rgba(245, 185, 66, 0.06);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13px;
  color: #f0dcae;
  line-height: 1.55;
}
.note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------------------------------------------------------------- stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--gap); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat strong { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.stat small { font-size: 12px; color: var(--muted-2); }

.kv { display: flex; flex-direction: column; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv-row:last-child { border-bottom: none; }
.kv-row span:first-child { color: var(--muted); }
.kv-row strong { font-weight: 700; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--purple), #5a24c9); border-color: transparent; color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #8d54ff, #6629e0); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d99a1f); border-color: transparent; color: #2a1a04; }
.btn-gold:hover { background: linear-gradient(135deg, #ffca5c, #e6a726); }
.btn-ghost { background: transparent; }
.btn-danger { border-color: rgba(246, 70, 93, 0.5); color: #ff8a9a; background: rgba(246, 70, 93, 0.08); }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px;
  background: var(--input);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 14px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple-2); background: rgba(255, 255, 255, 0.08); }
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted-2); }
.form-error { color: #ff9aa8; font-size: 13px; }
.form-note { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- tiers */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: var(--gap); }
.tier {
  display: flex; flex-direction: column; gap: 14px;
  padding: var(--pad);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.tier.is-featured { border-color: rgba(245, 185, 66, 0.5); box-shadow: 0 14px 36px rgba(245, 185, 66, 0.12); }
.tier-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tier-plan { font-size: 17px; font-weight: 800; }
.tier-lock { font-size: 12.5px; color: var(--muted); }
.tier-apy { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; }
.tier-apy small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.tier ul li { display: flex; gap: 8px; align-items: flex-start; }
.tier ul li::before { content: "◆"; color: var(--purple-2); font-size: 9px; line-height: 20px; }
.tier-foot { margin-top: auto; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line-2);
}
table.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td.right, table.tbl th.right { text-align: right; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.badge-ok { background: rgba(36, 208, 122, 0.14); color: var(--green); }
.badge-warn { background: rgba(245, 185, 66, 0.16); color: var(--gold); }
.badge-bad { background: rgba(246, 70, 93, 0.14); color: #ff8a9a; }
.badge-neutral { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.badge-purple { background: rgba(125, 60, 255, 0.18); color: var(--purple-2); }
.empty { padding: 22px; text-align: center; color: var(--muted-2); font-size: 13.5px; border: 1px dashed var(--line-2); border-radius: 12px; }

/* ---------------------------------------------------------------- steps / faq */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .num {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(125, 60, 255, 0.2); color: var(--purple-2); font-weight: 800; font-size: 13px;
}
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(255, 255, 255, 0.03); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.faq p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- modal */
.modal-root { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 12, 0.72); backdrop-filter: blur(4px); }
.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, #1a1033, #130c28);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column; gap: 18px;
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h3 { font-size: 18px; }
.modal-head .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.modal-close { background: transparent; border: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.modal-close:hover { color: var(--text); }
.modal-foot { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, 88vw); }
.toast {
  padding: 13px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  background: rgba(21, 13, 43, 0.96); border: 1px solid var(--line-2); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}
.toast.ok { border-color: rgba(36, 208, 122, 0.5); color: #b8f5d6; }
.toast.err { border-color: rgba(246, 70, 93, 0.5); color: #ffc0c9; }

/* ---------------------------------------------------------------- admin */
.pending-list { display: flex; flex-direction: column; gap: 12px; }
.pending-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.pending-item .meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pending-item .meta strong { font-size: 14px; }

/* ---------------------------------------------------------------- footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 1180px; margin: 0 auto;
  color: var(--muted-2); font-size: 12.5px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .foot-wordmark { display: block; font-size: 20px; }
.foot-brand .foot-sub { display: block; color: var(--muted-2); font-size: 12px; margin-top: 2px; }
.foot-note { line-height: 1.6; max-width: 900px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero, .split, .split-wide, .split-3 { grid-template-columns: 1fr; }
  .shell { padding: 24px 18px 44px; }
  .topbar { padding: 12px 16px; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- VIP */
.vip-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #d99a1f);
  color: #2a1a04; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
}
.gcv-chip { font-variant-numeric: tabular-nums; }
.trade-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.trade-form { display: flex; flex-direction: column; gap: 14px; }
.trade-side {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.trade-side.buy { color: var(--green); }
.trade-side.sell { color: var(--red); }
.price-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(245, 185, 66, 0.08); border: 1px solid rgba(245, 185, 66, 0.28);
}
.price-line .p { font-size: 20px; font-weight: 800; color: var(--gold); }
.locked-panel { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.locked-panel .lock-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(125, 60, 255, 0.18); color: var(--purple-2); font-size: 20px;
}
.net-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.net-tab {
  padding: 9px 14px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--muted);
}
.net-tab.is-active { border-color: rgba(245, 185, 66, 0.5); background: rgba(245, 185, 66, 0.1); color: var(--gold); }
.pool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.pool {
  padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; gap: 6px;
}
.pool span { font-size: 12px; color: var(--muted); font-weight: 600; }
.pool strong { font-size: 20px; font-weight: 800; }
@media (max-width: 960px) { .trade-panel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- kartu member VIP (hitam–emas) */
.vip-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 26px;
  background: linear-gradient(160deg, #15110a 0%, #0b0a08 52%, #100d08 100%);
  border: 1px solid rgba(245, 185, 66, 0.42);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 224, 138, 0.12);
  display: flex; flex-direction: column; gap: 22px;
}
.vc-sheen {
  position: absolute; inset: -40% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 100% at 20% 0%, rgba(255, 224, 138, 0.14), transparent 70%);
  pointer-events: none;
}
.vc-empty { color: var(--muted); font-size: 13.5px; }
.vc-top { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.vc-avatar-wrap { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.vc-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #f7d98b, #c8901c);
  border: 2px solid rgba(245, 185, 66, 0.65);
  box-shadow: 0 6px 22px rgba(245, 185, 66, 0.18);
}
.vc-photo { width: 100%; height: 100%; object-fit: cover; }
.vc-initial { font-size: 32px; font-weight: 800; color: #2a1a04; }
.vc-avatar-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.vc-mini {
  padding: 5px 10px; border-radius: 8px; cursor: pointer;
  background: rgba(255, 224, 138, 0.08); border: 1px solid rgba(245, 185, 66, 0.34);
  color: #f0d79a; font-size: 11.5px; font-weight: 700;
}
.vc-mini:hover { background: rgba(255, 224, 138, 0.16); }
.vc-mini:disabled { opacity: 0.6; cursor: wait; }
.vc-identity { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.vc-name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.vc-rows { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.vc-member { color: #f0d79a; font-weight: 700; letter-spacing: 0.06em; }
.vc-dot { color: rgba(245, 185, 66, 0.5); }
.vc-level {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px; margin-top: 4px;
  border: 1px solid var(--lv, var(--gold)); color: var(--lv, var(--gold));
  background: rgba(245, 185, 66, 0.07);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.vc-level-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.vc-qr {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  padding: 12px; border-radius: 14px;
  background: rgba(255, 224, 138, 0.06); border: 1px solid rgba(245, 185, 66, 0.26);
}
.vc-qr img { border-radius: 10px; background: #fff; padding: 6px; }
.vc-qr-actions { display: flex; gap: 6px; }
.vc-qr-note { font-size: 11px; color: #cbb98a; text-align: center; line-height: 1.4; }
.vc-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px;
  padding-top: 18px; border-top: 1px solid rgba(245, 185, 66, 0.18);
}
.vc-meta > div { display: flex; flex-direction: column; gap: 5px; }
.vc-meta span { font-size: 11.5px; color: #a89b7c; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.vc-meta strong { font-size: 15px; font-weight: 700; }
.vc-progress { display: flex; flex-direction: column; gap: 9px; }
.vc-progress-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #e6d9b4; flex-wrap: wrap; }
.vc-bar { height: 8px; border-radius: 999px; background: rgba(255, 224, 138, 0.12); overflow: hidden; }
.vc-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ffe08a, #d99a1f); }
.vc-progress-foot { font-size: 11.5px; color: #a89b7c; }
.vc-foot {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid rgba(245, 185, 66, 0.18);
}
/* ------------------------------------------------- ID Card Digital (dua sisi)
   Isi kartu SENGAJA hanya identitas & keanggotaan (tanpa saldo / nilai aset / data bank) —
   keputusan pemilik akun 29 Sep 2026. Tombol aksi & catatan panjang ditandai .no-print. */
.ic-wrap { gap: 20px; }
.ic-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ic-head h3 { font-size: 19px; font-weight: 800; }
.ic-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ic-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }

.ic-card {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 300px;
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(160deg, #1a1230 0%, #120c22 52%, #0b0817 100%);
  border: 1px solid rgba(253, 187, 67, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 217, 122, 0.14);
}
/* TINGGI KARTU mengikuti ISI, bukan `aspect-ratio` tetap. Rasio 1.586 yang dipakai sebelumnya
   MEMOTONG blok tanda tangan di tepi bawah (bug yang dilaporkan pemilik akun 30 Sep 2026),
   karena `.ic-card` memakai `overflow: hidden`. Sekarang grid meregangkan KEDUA sisi ke tinggi
   yang sama (sisi terpanjang menentukan = sisi belakang), jadi tidak ada yang terpotong dan
   kedua kartu tetap rapi sejajar. PNG unduhan tetap memakai rasio kartu ID-1 1012×638. */
.ic-pair { align-items: stretch; }
.ic-back { justify-content: flex-start; }
.ic-sheen {
  position: absolute; inset: -40% -10% auto -10%; height: 70%; pointer-events: none;
  background: radial-gradient(60% 100% at 20% 0%, rgba(255, 217, 122, 0.18), transparent 70%);
}
.ic-top { display: flex; align-items: center; gap: 12px; position: relative; }
.ic-mark { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; }
.ic-brand { display: flex; flex-direction: column; line-height: 1.25; }
.ic-brand strong {
  font-size: 17px; font-weight: 800; letter-spacing: -0.3px;
  /* gradasi logo Pi Network pada wordmark kartu */
  background: var(--pi-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .ic-brand strong { color: var(--pi-gold); } }
.ic-brand span { font-size: 11px; color: #b8a98a; font-weight: 600; }
.ic-tier {
  margin-left: auto; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--lv, var(--pi-gold)); color: var(--lv, var(--pi-gold));
  background: rgba(253, 187, 67, 0.09);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.ic-mid { display: flex; align-items: center; gap: 16px; position: relative; }
.ic-avatar {
  width: 78px; height: 78px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: var(--pi-grad);                 /* gradasi logo Pi Network */
  border: 2px solid rgba(253, 187, 67, 0.7);
}
.ic-photo { width: 100%; height: 100%; object-fit: cover; }
.ic-initial { font-size: 28px; font-weight: 800; color: #2a1a04; }
.ic-id { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ic-name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ic-code { color: var(--pi-gold-light); font-weight: 700; letter-spacing: 0.08em; font-size: 13.5px; }
.ic-sub { font-size: 12px; color: #b8a98a; }
/* Baris bawah kartu: QR wallet dinaikkan & di-TENGAH, lalu footer meta 4 kolom.
   Tampilan bersih seperti ID card fisik. */
.ic-qrzone { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ic-wallet-label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pi-gold-light); text-align: center; }
.ic-qr { background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 8px 22px rgba(0, 0, 0, .42); }
.ic-qr img { display: block; width: 118px; height: 118px; border-radius: 10px; }
/* Kotak putih KOSONG (alamat wallet belum diisi) — ukurannya sama supaya tata letak tidak bergeser. */
.ic-qr.is-empty { width: 130px; height: 130px; }
/* Alamat wallet singkat di bawah QR (boleh dibagikan; alamat lengkap ada di sisi belakang). */
.ic-wallet-addr { font-size: 11px; color: #cbb98a; text-align: center; letter-spacing: 0.02em; }
.ic-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 18px;
  border-top: 1px solid rgba(253, 187, 67, 0.22); padding-top: 12px; }
.ic-meta > div { display: flex; flex-direction: column; gap: 3px; }
.ic-meta span { font-size: 10.5px; color: #a89b7c; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ic-meta strong { font-size: 14px; font-weight: 700; }
.ic-valid strong { color: var(--pi-gold); }
.ic-stripe { height: 12px; margin: -22px -22px 0; background: var(--pi-grad); }
.ic-back-body { display: flex; flex-direction: column; gap: 12px; position: relative; }
/* Daftar baris sisi belakang: diisi PER KOLOM (7 baris kiri dulu) — sama seperti PNG, supaya
   hasil cetak persis seperti yang terlihat di layar. Jangan diubah ke aliran baris. */
.ic-rows { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr));
  grid-template-rows: repeat(7, auto); grid-auto-flow: column; gap: 8px 20px; }
.ic-row { display: flex; flex-direction: column; gap: 2px; }
.ic-row span { font-size: 10.5px; color: #a89b7c; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ic-row strong { font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.ic-sign { display: flex; flex-direction: column; gap: 5px; }
.ic-sig-line { border-top: 1px solid rgba(253, 187, 67, 0.45); padding-top: 4px; max-width: 240px; }
.ic-sig-name { font-family: "Segoe Script", "Plus Jakarta Sans", cursive; font-size: 17px; font-weight: 700; color: var(--pi-gold-light); }
.ic-sig-cap { display: flex; justify-content: space-between; gap: 12px; max-width: 520px; font-size: 10.5px; color: #a89b7c; }
.ic-note { font-size: 11px; color: #a89b7c; line-height: 1.5; overflow-wrap: anywhere; }
.ic-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 4px; }

@media (max-width: 640px) {
  .ic-card { padding: 16px; aspect-ratio: auto; }
  .ic-stripe { margin: -16px -16px 0; }
  .ic-pair { grid-template-columns: 1fr; }
  .ic-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
  .ic-name { font-size: 20px; }
  .ic-rows { grid-template-columns: 1fr; }
}

/* Cetak / simpan PDF: hanya dua sisi kartu yang ikut tercetak. */
@media print {
  body.printing-card { background: #fff; }
  body.printing-card .topbar,
  body.printing-card .site-foot,
  body.printing-card .toasts,
  body.printing-card #modal-root,
  body.printing-card .no-print { display: none !important; }
  body.printing-card .view { display: none !important; }
  body.printing-card #view-dashboard { display: block !important; }
  body.printing-card .shell { padding: 0; margin: 0; max-width: none; }
  body.printing-card .vip-card {
    background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0;
  }
  body.printing-card .ic-head, body.printing-card .ic-foot,
  body.printing-card .vc-progress, body.printing-card .vc-meta { display: none !important; }
  /* hanya kartunya yang tercetak dari halaman Dashboard (promo, statistik, dll disembunyikan) */
  body.printing-card #view-dashboard > *:not(.vip-card) { display: none !important; }
  body.printing-card .ic-pair { grid-template-columns: 1fr; gap: 16px; }
  body.printing-card .ic-card {
    break-inside: avoid; page-break-inside: avoid;
    box-shadow: none; border: 1px solid #999;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
}
@media print {
  @page { size: A4 portrait; margin: 12mm; }
}

.pf-avatar-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pf-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--line-2);
}
.pf-initial {
  display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #2a1a04;
  background: linear-gradient(135deg, #ffe08a, #d99a1f); border-color: rgba(245, 185, 66, 0.6);
}
@media (max-width: 640px) {
  .vip-card { padding: 20px; }
  .vc-name { font-size: 20px; }
  .vc-qr { width: 100%; }
}

/* ------------------------------------------------------------------ promosi ABPIGCVgold
   Banner promosi beranimasi di Dashboard: angka GCV besar (dihitung naik via JS),
   marquee produk toko dua baris berlawanan arah, kilau bergerak, dan koin mengambang.
   Semua animasi dimatikan saat pengguna memilih prefers-reduced-motion. */

.promo {
  position: relative; overflow: hidden; border-radius: 26px;
  padding: clamp(24px, 3.2vw, 46px);
  border: 1px solid rgba(245, 185, 66, 0.34);
  background:
    radial-gradient(980px 420px at 10% -12%, rgba(125, 60, 255, 0.42), transparent 62%),
    radial-gradient(720px 380px at 94% 6%, rgba(245, 185, 66, 0.22), transparent 60%),
    radial-gradient(520px 300px at 60% 110%, rgba(201, 174, 255, 0.16), transparent 65%),
    linear-gradient(160deg, #1d1238 0%, #120a26 55%, #1a1030 100%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 224, 138, 0.16);
  isolation: isolate;
}
/* Cincin cahaya yang berputar pelan di tepi banner (bikin kesan "hidup").
   Catatan performa: dipromosikan ke layer sendiri (will-change) supaya rotasinya
   dikerjakan compositor, bukan repaint gradien besar tiap frame. */
.promo::before {
  content: ''; position: absolute; inset: -18%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 185, 66, 0.30) 40deg,
    rgba(201, 174, 255, 0.22) 90deg, transparent 150deg, transparent 360deg);
  animation: promo-ring 20s linear infinite;
  z-index: -1; opacity: 0.5;
  will-change: transform; transform: translateZ(0);
  backface-visibility: hidden;
}
@keyframes promo-ring { to { transform: rotate(360deg); } }
/* Garis gradasi tipis di tepi atas banner. */
.promo::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(245, 185, 66, 0.5), rgba(201, 174, 255, 0.25) 45%, rgba(125, 60, 255, 0.4));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; opacity: 0.7;
}
.promo-sheen {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    linear-gradient(105deg, transparent 34%, rgba(255, 240, 200, 0.22) 47%, rgba(255, 255, 255, 0.10) 50%, transparent 63%);
  transform: translateX(-130%);
  animation: promo-sheen 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}
.promo-sheen::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 50% 0%, rgba(255, 224, 138, 0.16), transparent 70%);
  animation: promo-breathe 5s ease-in-out infinite;
  will-change: opacity;
}
@keyframes promo-sheen {
  0% { transform: translateX(-130%); }
  60% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}
@keyframes promo-breathe {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
.promo-coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.promo-coin {
  position: absolute; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #2a1a04;
  background: radial-gradient(circle at 32% 28%, #fff3cd, #ffd479 42%, #d99a1f 100%);
  box-shadow: 0 10px 26px rgba(245, 185, 66, 0.32), inset 0 -2px 6px rgba(150, 100, 10, 0.35);
  animation: promo-float 7.5s ease-in-out infinite, promo-glowpulse 9s ease-in-out infinite;
  will-change: transform, opacity;
}
/* Posisi & ukuran tiap koin diatur lewat atribut style dari JS (8 koin, tersebar). */
@keyframes promo-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(6px, -22px, 0) rotate(10deg); }
}
/* Denyut opacity (bukan filter) — jauh lebih ringan di HP kelas bawah. */
@keyframes promo-glowpulse {
  0%, 100% { opacity: 0.34; }
  50% { opacity: 0.72; }
}
/* Kabut cahaya yang bergerak pelan di belakang konten.
   Catatan performa: TANPA filter blur (gradien radial sudah lembut sendiri) dan tanpa
   animasi scale — keduanya memaksa raster ulang tiap frame dan bikin FPS drop. */
.promo-glow {
  position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.45;
  animation: promo-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes promo-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(42px, -30px, 0); }
}

.promo-head { position: relative; display: flex; flex-direction: column; gap: 14px; }
.promo-kicker {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 8px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: #2a1a04;
  background: linear-gradient(120deg, #ffe08a, #f5b942 40%, #ffe9b0 70%, #f0a81f);
  background-size: 260% 100%;
  animation: promo-shift 6s ease-in-out infinite, promo-kick 3.4s ease-in-out infinite;
  box-shadow: 0 10px 26px rgba(245, 185, 66, 0.3);
}
@keyframes promo-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes promo-kick {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.035); }
}
.promo-title { font-size: clamp(27px, 4.1vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.promo-title em {
  font-style: normal;
  background: linear-gradient(115deg, #c9aeff, #f5b942 60%, #ffe08a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promo-sub { font-size: clamp(14.5px, 1.35vw, 17px); color: #d5cdee; max-width: 78ch; line-height: 1.6; }

.promo-value {
  position: relative; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin: 6px 0 4px;
}
.promo-value strong {
  font-size: clamp(44px, 7.4vw, 96px); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  background: linear-gradient(112deg, #fff3cd, #ffe08a 28%, #f5b942 52%, #c9aeff 82%, #ffe08a);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: promo-pulse 3.8s ease-in-out infinite;
  will-change: transform;
  text-shadow: 0 0 40px rgba(245, 185, 66, 0.22);
}
.promo-value span { font-size: clamp(13px, 1.3vw, 15.5px); color: #bdb2e6; max-width: 30ch; line-height: 1.5; }
/* Denyut pakai transform saja (tanpa drop-shadow animasi yang memicu repaint). */
@keyframes promo-pulse {
  0%, 100% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.045) translateZ(0); }
}
.promo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.promo-cta .btn { padding: 14px 24px; font-size: 15px; border-radius: 14px; }
.promo-cta .btn-gold {
  position: relative; overflow: hidden;
  animation: promo-cta-pulse 2.8s ease-in-out infinite;
  box-shadow: 0 12px 34px rgba(245, 185, 66, 0.34);
}
.promo-cta .btn-gold::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: promo-cta-shine 3.4s ease-in-out infinite;
}
@keyframes promo-cta-pulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(245, 185, 66, 0.34); filter: brightness(1); }
  50% { box-shadow: 0 16px 46px rgba(245, 185, 66, 0.62); filter: brightness(1.08); }
}
@keyframes promo-cta-shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  55% { transform: translateX(320%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

.promo-marquee {
  position: relative; margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.promo-track {
  display: flex; gap: 18px; width: max-content; padding: 6px 0;
  animation: promo-scroll 46s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.promo-track.reverse { animation-duration: 58s; animation-direction: reverse; margin-top: 10px; }
.promo-marquee:hover .promo-track { animation-play-state: paused; }
@keyframes promo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.promo-prod {
  display: flex; align-items: center; gap: 14px; width: 296px; flex: 0 0 auto;
  padding: 13px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.promo-prod:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(245, 185, 66, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(245, 185, 66, 0.25);
}
.promo-prod img {
  width: 76px; height: 76px; border-radius: 14px; object-fit: cover; flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.promo-prod .pi-name {
  font-size: 14.5px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-prod .pi-price { font-size: 15.5px; font-weight: 800; color: var(--gold); margin-top: 2px; }
.promo-prod .pi-usd { font-size: 12.5px; color: #a49cc4; }

.promo-foot {
  position: relative; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(245, 185, 66, 0.2);
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.promo-steps { display: flex; gap: 18px; flex-wrap: wrap; }
.promo-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #cfc6ea; }
.promo-step b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.3), rgba(201, 174, 255, 0.22));
  color: var(--gold); font-size: 12.5px; font-weight: 800;
  animation: promo-kick 3.4s ease-in-out infinite;
}
.promo-foot .btn-gold { padding: 12px 20px; font-size: 14px; }

@media (max-width: 640px) {
  .promo { padding: 22px 18px; border-radius: 18px; }
  .promo-prod { width: 232px; padding: 11px; gap: 12px; }
  .promo-prod img { width: 62px; height: 62px; border-radius: 12px; }
  .promo-coin { display: none; }
  .promo-value strong { font-size: clamp(40px, 13vw, 64px); }
  .promo-cta .btn { width: 100%; justify-content: center; }
}

/* Hormati preferensi pengguna: tanpa animasi kalau sistem meminta reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .promo-sheen, .promo-sheen::after, .promo-coin, .promo-value strong, .promo-track, .promo-kicker,
  .promo-cta .btn-gold, .promo-cta .btn-gold::after, .promo-step b, .promo-glow, .promo::before {
    animation: none !important;
  }
  .promo-marquee { overflow-x: auto; }
  .promo-value strong { transform: none; }
  .promo-prod:hover { transform: none; }
}

/* ------------------------------------------------------------------ blok bantuan / support
   Dipakai halaman Shop (Inggris), Wallet, dan #/support (Indonesia).
   Berisi tombol unduh Pi Browser untuk Android & iPhone (link resmi). */
.sup-devices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sup-device {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.sup-device:hover { border-color: var(--gold); background: rgba(245, 185, 66, 0.09); }
.sup-device:active { transform: translateY(1px); }
.sup-device.is-current { border-color: rgba(36, 208, 122, 0.55); background: rgba(36, 208, 122, 0.08); }
.sup-device .sup-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.07); color: var(--gold);
}
.sup-device .sup-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.sup-device .sup-text strong { font-size: 14.5px; }
.sup-device .sup-text small { font-size: 12px; color: var(--muted-2); }
.sup-device .sup-go { font-size: 12.5px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.sup-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.sup-tips { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.sup-tips li { line-height: 1.5; }

@media (max-width: 520px) {
  .sup-device { flex-wrap: wrap; }
  .sup-device .sup-go { margin-left: 50px; }
}

/* ------------------------------------------------------------------ login lewat No HP
   Form login (halaman #/login & beranda) + pemilih kode negara yang bisa dicari. */

.login-tabs { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.04); padding: 5px; border-radius: 13px; }
.login-tab {
  flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent;
  background: none; color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.login-tab:hover { color: var(--text); }
.login-tab.is-active {
  color: #2a1a04; border-color: rgba(245, 185, 66, 0.5);
  background: linear-gradient(120deg, #ffe08a, var(--gold));
}
.login-pane { display: flex; flex-direction: column; gap: 14px; }

/* Baris nomor: pemilih kode negara + kolom nomor */
.phone-row { display: flex; gap: 10px; align-items: stretch; }
.phone-row > input { flex: 1; min-width: 0; }

.dial-picker { position: relative; flex: 0 0 auto; }
.dial-btn {
  display: flex; align-items: center; gap: 8px; height: 100%; min-height: 44px; padding: 0 12px;
  border-radius: 11px; border: 1px solid var(--line-2); background: var(--input);
  cursor: pointer; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.dial-btn:hover { border-color: var(--purple-2); }
.dial-btn .dial-name { font-weight: 600; font-size: 12.5px; color: var(--muted); max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
.dial-caret { color: var(--muted-2); font-size: 11px; }
.dial-menu {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: min(320px, 82vw);
  background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); padding: 10px; display: flex; flex-direction: column; gap: 8px;
}
.dial-search {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--input); color: var(--text);
}
.dial-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; }
.dial-opt {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px;
  cursor: pointer; font-size: 13.5px;
}
.dial-opt:hover { background: rgba(125, 60, 255, 0.16); }
.dial-opt[aria-selected="true"] { background: rgba(245, 185, 66, 0.16); color: var(--gold); }
.field .hint.is-bad { color: #ff9aa8; }

@media (max-width: 560px) {
  .phone-row { flex-direction: column; }
  .dial-picker, .dial-btn { width: 100%; }
  .dial-menu { width: 100%; }
}

/* ------------------------------------------------------------------ CS AI (asisten)
   Kotak tanya di beranda + halaman #/cs. Semua jawaban dirender setelah di-escape. */
.cs-card { display: flex; flex-direction: column; gap: 14px; }
.cs-body-wrap {
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  max-height: 460px; padding-right: 4px; scroll-behavior: smooth;
}
.cs-body-short { max-height: 320px; }
.cs-msg { display: flex; gap: 11px; align-items: flex-start; }
.cs-msg .cs-avatar {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; background: linear-gradient(135deg, rgba(245, 185, 66, 0.28), rgba(201, 174, 255, 0.22));
}
.cs-msg .cs-body {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.6;
  min-width: 0; max-width: 92%;
}
.cs-msg.is-user { flex-direction: row-reverse; }
.cs-msg.is-user .cs-body {
  background: rgba(125, 60, 255, 0.18); border-color: rgba(125, 60, 255, 0.42);
  border-radius: 14px 14px 4px 14px;
}
.cs-msg .cs-body p { margin: 0 0 8px; }
.cs-msg .cs-body p:last-child { margin-bottom: 0; }
.cs-list { margin: 4px 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.cs-typing .cs-dots { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.cs-typing .cs-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); display: block;
  animation: cs-dot 1.1s ease-in-out infinite;
}
.cs-typing .cs-dots i:nth-child(2) { animation-delay: 0.15s; }
.cs-typing .cs-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cs-dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.cs-composer { display: flex; gap: 10px; align-items: flex-end; }
.cs-composer textarea {
  flex: 1; min-width: 0; resize: vertical; min-height: 48px; max-height: 160px;
  padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--input); color: var(--text);
}
.cs-composer textarea:focus { border-color: var(--purple-2); }
.cs-composer .cs-send { flex: 0 0 auto; }
.cs-foot { font-size: 12px; }
.cs-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-chip {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 12.5px; cursor: pointer;
  text-align: left;
}
.cs-chip:hover { border-color: var(--purple-2); color: var(--text); }
.cs-hist {
  display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  cursor: pointer; margin-bottom: 8px; text-align: left;
}
.cs-hist:hover { border-color: var(--purple-2); }

@media (max-width: 640px) {
  .cs-body-wrap { max-height: 380px; }
  .cs-composer { flex-direction: column; align-items: stretch; }
  .cs-composer .cs-send { width: 100%; }
  .cs-msg .cs-body { max-width: 100%; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-typing .cs-dots i { animation: none !important; }
}

/* ------------------------------------------------------------------ menu HP (drawer)
   Di layar kecil menu dipindah ke panel geser dari kiri (tombol 3 garis di kiri atas),
   supaya topbar tidak lagi membungkus jadi 4–5 baris. Di desktop tampilannya tidak berubah:
   tombol 3 garis disembunyikan dan #nav kembali inline.
   Modul JS-nya: public/nav-mobile.js (dipakai identik di app lain). */

/* Tombol keranjang di topbar + menu toko di dalam halaman Dashboard (toko).
   Permintaan pemilik akun: menu Shop/Cart/My orders tidak lagi terpisah di topbar —
   semuanya berkumpul di menu "Dashboard", dengan badge keranjang tetap terlihat di topbar. */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
  font-size: 17px; line-height: 1; text-decoration: none;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn .cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: #23180a;
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.store-menu {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin-top: 16px;
}
.store-menu-item {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); text-decoration: none;
  font-weight: 700; font-size: 14.5px; color: var(--text);
}
.store-menu-item:hover { border-color: var(--gold); }
.store-menu-item.is-active { border-color: var(--gold); background: rgba(245, 185, 66, 0.12); }
.store-menu-item small { font-weight: 600; font-size: 12px; color: var(--muted); }

.nav-toggle { display: none; }
.nav-drawer-head { display: none; }
.nav-scrim { display: none; }

@media (max-width: 900px) {
  /* --- topbar: satu baris rapi --- */
  .topbar {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 12px;
    align-items: center;
  }
  .brand { min-width: 0; flex: 1 1 auto; }
  .topbar-actions { flex-wrap: nowrap; margin-left: auto; gap: 6px; }
  .member-chip { gap: 8px; padding: 4px 6px; }
  .member-chip .who { display: none; }                 /* hemat ruang: nama & saldo ada di Dashboard */
  .member-chip a[href="#/dashboard"] { display: none; } /* Dashboard sudah ada di dalam drawer */
  /* CATATAN: jangan menambahkan `.brand-suffix-full{display:none}` di blok ≤900px ini.
     Suffix "gold" hanya disembunyikan di ≤560px (lihat blok di atas) — sudah diukur:
     di 561–900px topbar tetap SATU baris (64px), tanpa overflow, dan tidak bertabrakan
     dengan tombol keranjang/member chip. Menyembunyikannya di sini membuat uji geometri logo
     (dan tampilan merek) salah. */

  /* --- tombol 3 garis (kiri atas) --- */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 42px; height: 42px; flex: 0 0 auto; padding: 0 10px;
    border: 1px solid var(--line-2); border-radius: 12px;
    background: rgba(255, 255, 255, 0.05); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); }
  .nav-toggle:hover { border-color: var(--gold); }
  .nav-toggle[aria-expanded="true"] { border-color: var(--gold); background: rgba(245, 185, 66, 0.14); }

  /* --- panel menu geser dari kiri --- */
  /* PENTING: .topbar memakai `backdrop-filter`, dan itu membuat topbar menjadi CONTAINING
     BLOCK untuk anak ber-position:fixed. Akibatnya `top:0;bottom:0` mengukur tinggi topbar
     (±72px), bukan layar — drawer jadi strip kecil. Solusinya: tinggi eksplisit 100dvh/100vh
     (bukan mengandalkan top/bottom). */
  #nav {
    position: fixed; top: 0; left: 0; z-index: 70;
    height: 100vh; max-height: 100vh;
    width: min(84vw, 330px); max-width: 330px;
    display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px;
    align-items: stretch; flex: none;
    padding: 14px 14px 26px; margin: 0;
    background: var(--card-solid); border-right: 1px solid var(--line-2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    visibility: hidden;
  }
  @supports (height: 100dvh) {
    #nav { height: 100dvh; max-height: 100dvh; }
  }
  #nav.is-open { transform: translateX(0); visibility: visible; }
  #nav a {
    display: block; width: 100%; padding: 13px 14px; border-radius: 12px;
    font-size: 15.5px; font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  #nav a:last-of-type { border-bottom: none; }
  #nav a.is-active { background: rgba(125, 60, 255, 0.22); color: var(--text); }

  .nav-drawer-head {
    display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between;
    padding: 2px 4px 12px; margin-bottom: 6px;
    border-bottom: 1px solid var(--line-2);
  }
  /* row-reverse → tombol × berada di KIRI, persis di posisi tombol 3 garis tadi. */
  .nav-drawer-head strong { font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .nav-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
    color: var(--text); font-size: 20px; line-height: 1;
  }
  .nav-close:hover { border-color: var(--gold); }

  /* PENTING: z-index scrim HARUS lebih kecil dari .topbar (30), bukan lebih besar dari #nav.
     .topbar memakai position:sticky + z-index → punya stacking context sendiri, jadi z-index
     #nav dihitung di dalam konteks itu dan selalu kalah dari scrim kalau scrim di atasnya.
     Pernah kejadian: seluruh tautan menu tidak bisa diklik karena tertutup scrim. */
  .nav-scrim {
    display: none; position: fixed; inset: 0; z-index: 20;
    background: rgba(6, 3, 14, 0.62); backdrop-filter: blur(2px);
  }
  .nav-scrim.is-open { display: block; }
  body.nav-open { overflow: hidden; }
}

/* Layar sangat sempit: sedikit lebih rapat lagi. */
@media (max-width: 400px) {
  .topbar { padding: 9px 10px; gap: 8px; }
  .brand-wordmark { font-size: 16px; }
  .nav-toggle { width: 38px; height: 38px; }
}

/* ------------------------------------------------------------------ kartu notifikasi email (admin) */
.mail-events { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 6px; }
.mail-ev { display: flex; gap: 9px; align-items: flex-start; padding: 9px 11px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer; font-size: 13.5px; }
.mail-ev:hover { border-color: var(--purple-2); }
.mail-ev input { margin-top: 2px; }
.mail-ev em { font-style: normal; font-size: 12px; }
.form-note.mail-err { color: #ff9aa8; }

/* ------------------------------------------------------------------ topbar HP: rapat & satu baris
   Ditaruh di AKHIR berkas dengan sengaja: aturan dasar .topbar-actions/.member-chip ada di atas,
   jadi blok kecil ini harus menyusul supaya tidak tertimpa (pernah kejadian: topbar jadi
   91–102px karena tombol & chip teksnya membungkus dua baris). */
@media (max-width: 560px) {
  .topbar { gap: 8px; }
  .topbar-actions .btn { white-space: nowrap; }        /* label tombol jangan membungkus */
  .topbar-actions a[href="#/signup"].btn-ghost { display: none; }   /* Sign up sudah ada di drawer */
  .brand { min-width: 0; overflow: hidden; }
  .brand .brand-mark { height: 36px; width: 36px; }
  .brand-wordmark { font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
  .member-chip { flex-wrap: nowrap; overflow: hidden; }
  .member-chip .btn { white-space: nowrap; }
  .member-chip a[href="#/dashboard"] { display: none; }  /* Dashboard ada di drawer */
}
@media (max-width: 430px) {
  .brand-wordmark { font-size: 15px; }
  /* Layar sempit: tampilkan "ABPIGCV" saja — kata "Global" disembunyikan CSS supaya topbar
     tidak meluber / tidak terpotong elipsis (logo π+GCV di sebelahnya sudah membawa "GCV").
     Nama lengkap tetap ada di judul tab, footer, dan kartu member. */
  .bw-rest { display: none; }
  .brand .brand-mark { height: 34px; width: 34px; }
  .member-chip .vip-pill { display: none; }              /* status VIP tetap terlihat di dalam app */
}
@media (max-width: 380px) {
  .brand-wordmark { font-size: 14px; }
  .brand .brand-mark { height: 32px; width: 32px; }
  .topbar-actions .btn-sm { padding: 8px 10px; }
}
/* Label tombol login: versi panjang di layar besar, "Login" saja di HP sempit —
   supaya teks brand "ABPIGCVgold" tetap tampil utuh (tidak terpotong elipsis). */
.lg-short { display: none; }
@media (max-width: 560px) {
  .lg-full { display: none; }
  .lg-short { display: inline; }
  .brand-wordmark { font-size: 15px; }
}
@media (max-width: 430px) {
  .brand-wordmark { font-size: 14px; }
}
@media (max-width: 380px) {
  .brand-wordmark { font-size: 13px; }
}

/* Nomor urut kartu VIP (mis. "VIP No. 0001") di sisi depan kartu & halaman terkunci. */
.ic-vipno { align-self: flex-start; margin-top:4px; padding:3px 10px; border-radius:999px;
  border:1px solid rgba(245,185,66,.55); background:rgba(245,185,66,.10);
  color:#f0d79a; font-size:12px; font-weight:800; letter-spacing:.08em; }

/* ------------------------------------------------------------------ penukar bahasa (i18n)
   Tombol globe + kode bahasa di kiri atas (setelah logo), tersedia juga SEBELUM login.
   Panel daftar bahasa muncul di bawahnya. Kompak supaya topbar HP tetap satu baris. */
.lang-slot { flex: 0 0 auto; }
.lang-switch { position: relative; display: inline-flex; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  padding: 6px 10px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font-size: 12.5px; font-weight: 700; line-height: 1;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-btn .lang-code { letter-spacing: 0.04em; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 190px; max-height: 60vh; overflow-y: auto; padding: 8px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(18, 14, 32, 0.98); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.lang-menu-head { padding: 4px 8px 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--text); font-size: 14px; font-weight: 600; text-align: start;
}
.lang-item:hover { background: rgba(255, 255, 255, 0.07); }
.lang-item.is-active { background: rgba(245, 185, 66, 0.14); color: var(--gold); }
.lang-check { font-weight: 800; }

@media (max-width: 560px) {
  .lang-btn { padding: 6px 8px; font-size: 12px; }
  .lang-menu { left: auto; right: 0; min-width: 170px; }
}

/* ------------------------------------------------------------------ RTL (Arab)
   `dir="rtl"` diatur otomatis oleh i18n.js. Flexbox/DOM ikut terbalik sendiri; di sini hanya
   hal-hal yang posisinya "dipatok" (ikon, teks mono, tombol) yang perlu disesuaikan. */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .mono { direction: ltr; unicode-bidi: embed; display: inline-block; }
html[dir="rtl"] .kv-row span:first-child { text-align: right; }
html[dir="rtl"] .table-wrap { direction: rtl; }
html[dir="rtl"] .table-wrap table.tbl th,
html[dir="rtl"] .table-wrap table.tbl td { text-align: right; }
html[dir="rtl"] .table-wrap table.tbl th.right,
html[dir="rtl"] .table-wrap table.tbl td.right { text-align: left; }
html[dir="rtl"] .lang-menu { left: auto; right: 0; }
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { direction: rtl; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="number"] { direction: ltr; text-align: right; }

/* RTL: drawer menu harus masuk dari KANAN. Kalau tetap digeser ke kiri (translateX(-104%)),
   lebar gulir dokumen ikut bertambah di mode RTL — terukur scrollWidth 731px di viewport 390px
   (bukan sekadar kosmetik: halaman jadi bisa digulir horizontal).
   PENTING: aturan ini WAJIB di dalam media query ≤900px — kalau ditulis di luar, menu desktop
   (yang normalnya inline) juga tergusur keluar layar dan menutupi tombol lain (pernah kejadian). */
@media (max-width: 900px) {
  html[dir="rtl"] #nav { left: auto; right: 0; transform: translateX(104%); border-right: 0; border-left: 1px solid var(--line-2); }
  html[dir="rtl"] #nav.is-open { transform: translateX(0); }
}

/* ------------------------------------------------------------------ Hot News (setelah login)
   Banner pengumuman: logo koin Pi Network ASLI + tulisan PiGCV($314159) + judul berita.
   Animasi memakai transform/opacity saja (murah) dan dimatikan saat prefers-reduced-motion. */
.hotnews {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; margin-bottom: 24px; border-radius: 18px;
  background: linear-gradient(120deg, #171034 0%, #120b26 55%, #1a1233 100%);
  border: 1px solid rgba(245, 185, 66, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 224, 138, 0.12);
}
.hotnews-glow {
  position: absolute; inset: -30% -5% auto -30%; height: 160%; pointer-events: none;
  background: radial-gradient(45% 70% at 12% 30%, rgba(245, 185, 66, 0.16), transparent 70%);
}
.hotnews-coin { position: relative; flex: 0 0 auto; width: 64px; height: 64px; }
.hotnews-coin img { display: block; width: 64px; height: 64px; filter: drop-shadow(0 4px 14px rgba(245, 185, 66, 0.45)); animation: hotnews-pulse 3.2s ease-in-out infinite; }
.hotnews-body { position: relative; flex: 1 1 260px; min-width: 0; }
.hotnews-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(246, 70, 93, 0.16); border: 1px solid rgba(246, 70, 93, 0.45);
  color: #ff9aa8; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.hotnews-title { font-size: clamp(17px, 2.4vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.hotnews-sub { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.hotnews-brand {
  position: relative; display: flex; align-items: baseline; gap: 2px; flex: 0 0 auto;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(245, 185, 66, 0.10); border: 1px solid rgba(245, 185, 66, 0.35);
  white-space: nowrap;
}
.hotnews-brand-name {
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(118deg, #ffe08a, #f5b942 60%, #c8901c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .hotnews-brand-name { color: var(--gold); } }
.hotnews-brand-value { font-size: 14px; font-weight: 800; color: var(--gold); }
@keyframes hotnews-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.92; } }
@media (max-width: 560px) {
  .hotnews { padding: 16px; gap: 14px; }
  .hotnews-coin, .hotnews-coin img { width: 52px; height: 52px; }
  .hotnews-brand { padding: 8px 12px; }
  .hotnews-brand-name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hotnews-coin img { animation: none !important; }
}

/* ------------------------------------------------------------------ Jumlah bayar Pi (Pi SDK)
   Blok "Amount to pay": jumlah π yang harus dibayar + nilai GCV-nya WAJIB tampil di layar
   sebelum dompet Pi terbuka (permintaan pemilik akun). Dipakai di modal konfirmasi checkout
   dan di panel "Amount due" pada halaman order. */
.pi-amount {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; margin-bottom: 14px;
  border-radius: 16px; border: 1px solid rgba(245, 185, 66, 0.42);
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.14), rgba(125, 60, 255, 0.14));
}
.pi-amount-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pi-amount-value { font-size: clamp(26px, 4.6vw, 40px); font-weight: 800; line-height: 1.12; color: var(--text); overflow-wrap: anywhere; }
.pi-unit { font-size: 0.62em; color: var(--gold); }
.pi-amount-sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.pi-due {
  margin-top: 18px; padding: 18px; border-radius: 16px;
  border: 1px solid rgba(125, 60, 255, 0.42); background: rgba(125, 60, 255, 0.10);
}
@media (max-width: 560px) {
  .pi-amount { padding: 14px; }
  .pi-amount-value { font-size: 26px; }
  .pi-due { padding: 14px; }
}

/* ------------------------------------------------------------------ KYC: bukti foto
   Kartu KYC member (selfie + dokumen) dan pratinjau bukti di panel admin. Foto KYC hanya
   ditampilkan ke pemiliknya & admin; thumbnail memakai aspect-ratio tetap supaya layout stabil. */
.kyc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .kyc-grid { grid-template-columns: 1fr; } }
.kyc-box {
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--input); min-width: 0;
}
.kyc-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kyc-thumb {
  padding: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
  background: #000; cursor: zoom-in; display: block; width: 100%;
}
.kyc-thumb img { display: block; width: 100%; height: 190px; object-fit: cover; }
.kyc-empty {
  display: flex; align-items: center; justify-content: center; min-height: 120px;
  border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted-2); font-size: 13px;
}
.kyc-full { display: flex; justify-content: center; background: #000; border-radius: 12px; overflow: hidden; }
.kyc-full img { display: block; max-width: 100%; max-height: 68vh; object-fit: contain; }
.kyc-proof { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.kyc-mini {
  position: relative; width: 64px; height: 64px; padding: 0; cursor: zoom-in;
  border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #000;
}
.kyc-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kyc-mini span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px;
  font-size: 9.5px; font-weight: 700; text-align: center; letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.62); color: #fff;
}
.kyc-mini.is-missing {
  cursor: default; display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); background: rgba(255, 255, 255, 0.04); border-style: dashed;
}
.kyc-mini.is-missing span { background: transparent; color: var(--muted-2); }

/* ------------------------------------------------------------------ panel admin: cari & paginasi
   Daftar member di produksi sudah 700+ baris dan daftar KYC 200 baris: dirender sekaligus
   membuat halaman admin setinggi ~182.000px sehingga praktis tidak terjangkau (terutama di HP).
   Sekarang keduanya dirender 25 baris per halaman + kotak pencarian. */
.admin-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.admin-search {
  flex: 1 1 260px; min-width: 0; padding: 10px 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--input); color: var(--text); font-size: 14px;
}
.admin-search:focus { outline: none; border-color: var(--gold); }
.admin-pager {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.admin-pager .small { margin: 0 4px; }
/* Pemilih jumlah baris per layar di panel admin (default 100). */
.admin-size {
  padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--input); color: var(--text); font-size: 13.5px; font-weight: 600;
}


/* ------------------------------------------------------------------ halaman Laporan (Reports)
   Dipakai public/reports.js. Angka USD di sini bernilai GCV — labelnya wajib tetap ada. */
.report-filters { display: grid; gap: 14px; margin-bottom: 18px; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.report-tab { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink);
  padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.report-tab:hover { border-color: var(--purple-2); }
.report-tab.is-active { background: linear-gradient(118deg, var(--purple), var(--purple-2)); color: #fff; border-color: transparent; }
.report-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.report-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted-2); }
.report-field input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; min-width: 130px; }
.report-search input { min-width: 190px; }
.report-check { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted-2); padding-bottom: 8px; }
.report-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; justify-content: space-between; }
.report-actions { display: flex; gap: 8px; }
.report-kpi { margin: 4px 0 2px; }
.report-kpi .stat { min-width: 0; }
.report-tbl td { vertical-align: top; }
.report-tbl th.num, .report-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.report-tbl tr.report-total td { font-weight: 800; border-top: 2px solid var(--gold); background: rgba(245, 185, 66, .07); }
.report-notes { margin: 0; padding-left: 18px; color: var(--muted-2); font-size: 13px; display: grid; gap: 4px; }
.report-code { font-size: 19px; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px;
  border: 1px dashed var(--line); background: rgba(0, 0, 0, .25); display: inline-block; }
.temp-pw { font-size: 20px; letter-spacing: .08em; padding: 10px 14px; border-radius: 10px;
  background: rgba(245, 185, 66, .12); border: 1px solid rgba(245, 185, 66, .45); display: inline-block; }
.notice-bad { border: 1px solid rgba(255, 120, 140, .45); background: rgba(255, 90, 120, .10); }
@media (max-width: 620px) {
  .report-bar { flex-direction: column; align-items: stretch; }
  .report-field input, .report-search input { min-width: 0; width: 100%; }
  .report-actions { width: 100%; }
  .report-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Sub-bagian di modal "Manage member": peran / saldo / password (supaya menu pengangkatan
   Admin Operator tidak lagi terkubur di dalam form penyesuaian saldo). */
.adj-section { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; display: grid; gap: 10px; }
.adj-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.adj-title { margin: 0; font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .02em; }

/* ------------------------------------------------------------------ daftar member: penanda tindakan
   Kolom "Action" + penyorotan baris yang menunggu keputusan admin (KYC / belum VIP).
   Server sudah mengurutkan baris-baris ini KE ATAS — warna hanya membantu mata. */
.tbl .row-flag { width: 1%; white-space: nowrap; padding-right: 4px; }
.tbl tr.row-attention td { background: rgba(245, 185, 66, .07); }
.tbl tr.row-attention td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
@media (max-width: 700px) {
  .tbl .row-flag { display: none; }   /* di HP badge tindakan tetap terlihat di kolom Status/KYC */
}

/* Bilah aksi massal daftar member (centang baris → aktifkan VIP sekaligus). */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.bulk-bar .small { margin-right: 4px; }
.bulk-bar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.row-check { accent-color: #f5b942; width: 16px; height: 16px; cursor: pointer; }

/* Blok EKSKLUSIVITAS nilai PiGCV (permintaan pemilik akun 2 Okt 2026): nilai hanya berlaku di app
   ini, khusus VIP Member ABPIMall Community — tidak diakui platform/bursa mana pun. */
.disclaimer.excl { border-left-color: var(--pi-gold); background: rgba(253, 187, 67, .10); }
.disclaimer.excl strong { color: var(--pi-gold-light); }
.foot-exclusive { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px;
  color: #f6e7c4; background: rgba(253, 187, 67, .10); border: 1px solid rgba(253, 187, 67, .35); }
.foot-exclusive strong { color: var(--pi-gold-light); }

/* ------------------------------------------------------------------ identitas perusahaan (footer)
   Badan hukum, kedudukan, CEO, kontak CS, dan regulasi pembayaran. Isinya dari setelan server. */
.foot-legal { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 22px; }
.fl-grid > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fl-grid span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.fl-grid strong { font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.fl-grid a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .fl-grid { grid-template-columns: 1fr 1fr; gap: 10px 14px; } }

/* ------------------------------------------------------------------ status utility (publik)
   Kartu di halaman Support: harga PiGCV tidak bisa dicairkan di luar platform, khusus Komunitas
   VIP Member ABPIMall Global, dan status Testnet/Mainnet. */
.utility-card { border: 1px solid rgba(253, 187, 67, .45); background: rgba(253, 187, 67, .07); }
.utility-statement { font-size: 14.5px; line-height: 1.7; color: #f3ead6; margin: 6px 0 4px; }
.utility-card .sup-tips { margin-top: 6px; }
.foot-utility { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.6;
  color: #f6e7c4; background: rgba(253, 187, 67, .08); border: 1px solid rgba(253, 187, 67, .28); }

/* Kolom nama bank manual (muncul saat memilih "Other" di pemilih bank). */
.bank-other { margin-top: 8px; }

/* ------------------------------------------------------------------ RUANG CHAT VIP ("VIP Lounge")
   Hanya untuk member VIP. Tampilan mirip WhatsApp: gelembung pesan, avatar, jam kirim,
   pemisah tanggal, dan penanda @sebutan. Semua warna mengikuti palet app. */
.chat-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 20px; }
.chat-stat { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.chat-stat span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); font-weight: 700; }
.chat-stat strong { display: block; font-size: 20px; margin-top: 4px; }

.chat-room { display: flex; flex-direction: column; gap: 16px; }
.chat-list { display: flex; flex-direction: column; gap: 14px; max-height: 58vh; min-height: 240px;
  overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 4px 2px; }
.chat-empty { text-align: center; padding: 40px 16px; }
.chat-empty-ico { font-size: 34px; display: block; margin-bottom: 8px; }

.chat-day { text-align: center; margin: 6px 0 2px; }
.chat-day span { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px;
  color: var(--muted); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }

.chat-msg { display: flex; gap: 10px; align-items: flex-end; min-width: 0; }
.chat-msg.is-mine { flex-direction: row-reverse; }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid rgba(253, 187, 67, .38); background: rgba(255, 255, 255, .04); }
.chat-ava-txt { display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #1b1030;
  background: var(--pi-grad); }
.chat-bubble-wrap { min-width: 0; max-width: min(680px, 76%); display: flex; flex-direction: column; gap: 4px; }
.chat-msg.is-mine .chat-bubble-wrap { align-items: flex-end; }
.chat-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12.5px; }
.chat-name { font-weight: 700; color: var(--text); }
.chat-admin { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #1b1030;
  background: var(--pi-grad); padding: 1px 7px; border-radius: 999px; font-weight: 800; }
.chat-meta-sub { color: var(--muted-2); font-size: 11.5px; }
.chat-bubble { padding: 11px 14px; border-radius: 14px; line-height: 1.6; font-size: 14.5px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); overflow-wrap: anywhere; }
.chat-msg.is-mine .chat-bubble { background: linear-gradient(135deg, rgba(125, 60, 255, .42), rgba(177, 140, 255, .26));
  border-color: rgba(177, 140, 255, .45); }
.chat-msg.is-deleted .chat-bubble { background: rgba(255, 255, 255, .03); border-style: dashed; }
.chat-bubble .mention { color: #ffd97a; font-weight: 700; }
.chat-foot { display: flex; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted-2); }
.chat-tools { display: inline-flex; gap: 4px; }
.chat-tool { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted);
  border-radius: 8px; padding: 2px 7px; font-size: 12px; cursor: pointer; line-height: 1.5; }
.chat-tool:hover { border-color: rgba(177, 140, 255, .7); color: var(--text); }

.chat-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  margin-left: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(36, 208, 122, .6); animation: chat-pulse 2.2s infinite; }
@keyframes chat-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 208, 122, .55); } 70% { box-shadow: 0 0 0 9px rgba(36, 208, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 208, 122, 0); } }

.chat-composer { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; position: relative; }
.chat-composer textarea { resize: none; min-height: 46px; max-height: 140px; padding: 12px 14px; border-radius: 12px;
  background: var(--input); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 14.5px; width: 100%; }
.chat-composer textarea:focus { outline: none; border-color: rgba(177, 140, 255, .7); }
.chat-hint { margin: 0; }
.chat-mention-box { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 5; min-width: 240px; max-width: 320px;
  max-height: 220px; overflow-y: auto; padding: 6px; border-radius: 12px; background: var(--card-solid);
  border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(8, 4, 20, .55); }
.chat-mention-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 8px 10px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer; font: inherit; font-size: 13.5px; }
.chat-mention-item:hover { background: rgba(177, 140, 255, .16); }
.chat-muted-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(245, 185, 66, .35); background: rgba(245, 185, 66, .08); font-size: 13.5px; }
.chat-admin { padding: 16px 18px; }
.chat-admin summary { cursor: pointer; font-weight: 700; }
.chat-admin .tbl { margin-top: 12px; }

@media (max-width: 640px) {
  .chat-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .chat-bubble-wrap { max-width: 86%; }
  .chat-list { max-height: 62vh; }
  .chat-composer { grid-template-columns: 1fr; }
  .chat-composer .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-live-dot { animation: none; }
}

/* ------------------------------------------------------------------ banner "Coming Soon!"
   Diletakkan PALING ATAS halaman pembuka (Dashboard/toko) dan Dashboard member. Mengikuti
   setelan utility: selama Testnet Utility berbunyi "Coming Soon", otomatis berubah saat Mainnet
   aktif. Bisa ditutup pengunjung untuk sesi ini saja (tombol ×). */
.coming { position: relative; display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
  padding: 20px 54px 20px 22px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(36, 208, 122, .45);
  background: linear-gradient(120deg, rgba(36, 208, 122, .14), rgba(253, 187, 67, .12) 55%, rgba(125, 60, 255, .16)); }
.coming::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(36, 208, 122, .22), transparent 62%); pointer-events: none; }
.coming-orb { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 25px;
  background: radial-gradient(circle at 32% 28%, rgba(36, 208, 122, .35), rgba(255, 255, 255, .05));
  border: 1px solid rgba(36, 208, 122, .5); animation: coming-float 3.6s ease-in-out infinite; }
@keyframes coming-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.coming-body { min-width: 0; flex: 1 1 340px; }        /* basis 340px: kalau tidak cukup, pindah baris */
.coming-note-sm { display: none; }                       /* versi pendek, hanya untuk layar HP */
.coming-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #062413; background: linear-gradient(120deg, #7cf0b4, #24d07a);
  box-shadow: 0 0 0 0 rgba(36, 208, 122, .5); animation: coming-pulse 2.4s infinite; }
@keyframes coming-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 208, 122, .55); } 70% { box-shadow: 0 0 0 10px rgba(36, 208, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 208, 122, 0); } }
.coming-title { margin: 10px 0 6px; font-size: clamp(19px, 2.3vw, 27px); line-height: 1.25; color: var(--text); }
.coming-sub { margin: 0; font-size: 13.5px; color: #d9f5e6; }
.coming-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.coming-brand { flex: 0 0 auto; margin-left: auto; display: flex; align-items: baseline; gap: 2px; padding: 12px 18px; border-radius: 14px;
  border: 1px solid rgba(253, 187, 67, .5); background: rgba(253, 187, 67, .08); }
.coming-brand-name { font-weight: 800; font-size: 20px; background: var(--pi-grad); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.coming-brand-value { font-weight: 700; font-size: 14px; color: var(--pi-gold); }
.coming-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--muted); font-size: 17px;
  line-height: 1; cursor: pointer; }
.coming-close:hover { color: var(--text); border-color: rgba(177, 140, 255, .7); }
/* Di HP, flex membagi ruang sehingga kolom teks bisa terhimpit (gejala nyata: judul 6-7 baris).
   GRID 2 kolom memastikan kolom teks selalu mengambil sisa lebar, dan plakat PiGCV turun ke barisnya
   sendiri (lebar penuh) sehingga tidak ada lagi ruang yang diperebutkan. */
@media (max-width: 700px) {
  .coming { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start;
    gap: 10px 12px; padding: 16px 46px 16px 16px; border-radius: 16px; }
  .coming::after { width: 220px; height: 220px; inset: -30% -24% auto auto; }
  .coming-orb { width: 44px; height: 44px; font-size: 21px; }
  .coming-body { grid-column: 2; }
  .coming-title { margin: 8px 0 6px; font-size: 18px; }
  .coming-sub { font-size: 13px; }
  /* Catatan GCV panjang disembunyikan di HP, diganti versi pendek (label tetap ada). */
  .coming-note { display: none; }
  .coming-note-sm { display: block; margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
  .coming-brand { grid-column: 1 / -1; justify-self: start; margin: 2px 0 0; padding: 8px 13px; }
  .coming-brand-name { font-size: 17px; }
  .coming-brand-value { font-size: 13px; }
  .coming-close { top: 8px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .coming-orb, .coming-chip { animation: none; }
}

/* ChatRoom — baris SISTEM (peringatan/blokir otomatis dari mesin atau admin) + chip peringatan. */
.chat-sys { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0;
  padding: 9px 13px; border-radius: 11px; font-size: 13px; line-height: 1.5;
  color: #ffe6b8; background: rgba(245, 185, 66, .10); border: 1px dashed rgba(245, 185, 66, .45); }
.chat-sys.is-deleted { opacity: .6; }
.chat-sys-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.chat-sys-time { font-size: 11.5px; color: var(--muted-2); }
.chat-warn-chip { margin: 8px 0 0; padding: 9px 13px; border-radius: 11px; font-size: 13px;
  color: #ffd9a1; background: rgba(246, 70, 93, .10); border: 1px solid rgba(246, 70, 93, .4); }
.chat-admin .chat-head { display: flex; gap: 12px; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; margin: 18px 0 8px; }
.chat-admin .chat-head h4 { margin: 0; font-size: 14.5px; }

/* ChatRoom — KODE ETIK (jendela yang bisa ditutup + pita pengingat). */
.crules-banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-bottom: 18px; padding: 13px 16px; border-radius: 13px; font-size: 13.5px; line-height: 1.6;
  color: #ffe9c2; background: rgba(245, 185, 66, .10); border: 1px solid rgba(245, 185, 66, .45); }
.crules-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  padding: 20px; background: rgba(6, 3, 14, .72); overflow-y: auto; }
.crules-panel { width: min(720px, 100%); max-height: 88vh; display: flex; flex-direction: column;
  border-radius: 18px; background: var(--card-solid); border: 1px solid rgba(245, 185, 66, .45);
  box-shadow: 0 26px 60px rgba(4, 2, 12, .6); overflow: hidden; }
.crules-head { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.crules-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #241703; background: var(--pi-grad); }
.crules-title { margin: 9px 0 0; font-size: 18px; line-height: 1.35; }
.crules-close { flex: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--muted); }
.crules-close:hover { color: var(--text); border-color: rgba(245, 185, 66, .6); }
.crules-body { padding: 18px 20px; overflow-y: auto; font-size: 14px; line-height: 1.75; color: #efe9ff;
  overflow-wrap: anywhere; }
.crules-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.crules-note { margin: 0 0 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) {
  .crules-panel { max-height: 92vh; }
  .crules-body { font-size: 13.5px; padding: 16px; }
  .crules-foot .btn { width: 100%; }
}

/* ---------------------------------------------------------------- CS AI provider profiles
   Editor in the CS AI admin card (public/cs-profiles.js — identical file in both portals). */
.csprof-wrap { display: grid; gap: 10px; margin: 6px 0 4px; }
.csprof {
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  background: rgba(255, 255, 255, .03); display: grid; gap: 10px;
}
.csprof-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.csprof-order {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(230, 192, 114, .16); border: 1px solid rgba(230, 192, 114, .45);
  color: #f3e2b6; font-size: 11.5px; font-weight: 800;
}
.csprof-actions { margin-left: auto; display: inline-flex; gap: 6px; }
.cs-prof-btn {
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 13px; line-height: 1;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text);
}
.cs-prof-btn:hover { border-color: rgba(230, 192, 114, .6); }
.cs-prof-del:hover { border-color: var(--down); color: #ffb3bd; }
.csprof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 14px; }
.csprof-field { display: flex; flex-direction: column; gap: 4px; }
.csprof-field > span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.csprof-clear { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.csprof-note { font-size: 12px; color: var(--dim); line-height: 1.5; margin: 0; }
.csprof-add { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.csprof-add .select { min-width: 240px; }
@media (max-width: 560px) { .csprof-grid { grid-template-columns: 1fr; } }

/* Batas & kepatuhan pencairan di halaman jual (bank = Rupiah + plafon harian, kripto = plafon $/hari). */
.payout-limits { margin: 6px 0 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(253, 187, 67, .35); background: rgba(253, 187, 67, .06); }
.payout-limits .kv-row { padding: 4px 0; }
.payout-limits .kv-row span:first-child { font-size: 12.5px; }
.payout-limits .kv-row strong { font-size: 12.5px; text-align: right; }
.payout-limits #sell-limits-note { margin: 8px 0 0; }

/* ------------------------------------------------------------------ CS AI mengambang ("Ask to AI Super")
   Permintaan pemilik akun 3 Okt 2026: CS AI dipindah ke ikon depan (kanan bawah) dengan avatar
   asisten pria + label. Panelnya memakai markup CS yang sama (#cs-home-transcript + #csh-input). */
.cs-float { position: fixed; right: 18px; bottom: 18px; z-index: 48; display: flex; flex-direction: column;
  align-items: flex-end; gap: 12px; pointer-events: none; }
.cs-float > * { pointer-events: auto; }

.cs-fab { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 7px 18px 7px 7px; border-radius: 999px; border: 1px solid rgba(253, 187, 67, .5);
  background: linear-gradient(120deg, rgba(125, 60, 255, .95), rgba(59, 33, 112, .96));
  box-shadow: 0 14px 34px rgba(6, 3, 16, .55), 0 0 0 0 rgba(139, 92, 255, .5);
  animation: cs-fab-pulse 3.4s ease-in-out infinite; }
.cs-fab:hover { border-color: rgba(253, 187, 67, .85); }
.cs-fab:focus-visible { outline: 2px solid var(--pi-gold); outline-offset: 3px; }
.cs-fab.is-open { animation: none; }
.cs-fab-img { width: 54px; height: 54px; border-radius: 50%; flex: none; display: block;
  background: #1b1030; border: 2px solid rgba(253, 187, 67, .55); }
.cs-fab-label { font-weight: 800; font-size: 14.5px; letter-spacing: .2px; color: #fff; white-space: nowrap; }
.cs-fab-badge { position: absolute; top: -4px; left: 42px; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 999px; color: #1b1030; background: var(--pi-grad); }
@keyframes cs-fab-pulse {
  0% { box-shadow: 0 14px 34px rgba(6, 3, 16, .55), 0 0 0 0 rgba(139, 92, 255, .45); }
  70% { box-shadow: 0 14px 34px rgba(6, 3, 16, .55), 0 0 0 14px rgba(139, 92, 255, 0); }
  100% { box-shadow: 0 14px 34px rgba(6, 3, 16, .55), 0 0 0 0 rgba(139, 92, 255, 0); }
}

.cs-panel { width: min(520px, calc(100vw - 24px)); height: min(88vh, 780px); max-height: calc(100vh - 24px);
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(253, 187, 67, .35);
  background: var(--card-solid); box-shadow: 0 26px 60px rgba(4, 2, 12, .62); }
.cs-panel[hidden] { display: none; }
.cs-panel-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  padding: 11px 13px; border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(125, 60, 255, .3), rgba(59, 33, 112, .35)); }
.cs-panel-head .chip { white-space: nowrap; justify-self: end; }
.cs-panel-img { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #1b1030;
  border: 1px solid rgba(253, 187, 67, .5); }
.cs-panel-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cs-panel-title strong { font-size: 15px; }
.cs-panel-title span { line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-chip-model { font-weight: 600; }
.cs-panel-close { flex: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: var(--muted); }
.cs-panel-close:hover { color: var(--text); border-color: rgba(177, 140, 255, .7); }
.cs-panel-body { padding: 14px; display: flex; flex-direction: column; gap: 10px;
  flex: 1 1 auto; min-height: 0; overflow-y: auto; }
/* Transkrip mengambil sisa ruang: tanpa `flex:1` + `min-height`, kolom ini bisa menyusut sampai
   ~67px di dalam flex container sehingga jawaban AI hilang dari layar (bug yang diperbaiki ini). */
.cs-panel-body .cs-body-wrap { flex: 1 1 auto; min-height: 240px; max-height: none; }
.cs-panel-body .cs-composer { flex: 0 0 auto; }
/* Saran pertanyaan jadi SATU baris yang bisa digeser: kalau membungkus jadi 4 baris, ruang
   transkrip ikut termakan dan jawaban AI jadi sempit (masalah yang diperbaiki di sini). */
.cs-panel-body .cs-chips { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.cs-panel-body .cs-chip { flex: 0 0 auto; }
.cs-panel-body .cs-foot { flex: 0 0 auto; font-size: 11.5px; line-height: 1.5; }

/* Di HP: label tetap tampil (lebih kecil) dan konten diberi ruang bawah supaya tidak tertutup ikon. */
@media (max-width: 640px) {
  .cs-float { right: 10px; bottom: 10px; gap: 10px; }
  .cs-fab { padding: 6px 14px 6px 6px; gap: 8px; }
  .cs-fab-img { width: 46px; height: 46px; }
  .cs-fab-label { font-size: 13px; }
  .cs-fab-badge { left: 34px; }
  /* Di HP panel dipakai hampir penuh layar supaya papan chatnya lapang (permintaan pemilik akun). */
  .cs-panel { width: calc(100vw - 16px); height: calc(100vh - 96px); max-height: none; }
  .cs-panel-head { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding: 10px 11px; }
  .cs-panel-img { width: 34px; height: 34px; }
  .cs-panel-title strong { font-size: 14px; }
  .cs-panel-title span { font-size: 11.5px; }
  .cs-chip-model { display: none; }              /* nama model disembunyikan → header tetap 1 baris */
  .cs-panel-head .chip { font-size: 10.5px; padding: 3px 8px; }
  .cs-panel-close { width: 26px; height: 26px; font-size: 16px; }
  .cs-panel-body { padding: 12px; }
  .cs-panel-body .cs-body-wrap { min-height: 260px; }
  /* Composer tetap satu baris di HP supaya hemat tinggi (di halaman #/cs tetap menumpuk). */
  .cs-panel-body .cs-composer { flex-direction: row; align-items: flex-end; }
  .cs-panel-body .cs-composer .cs-send { width: auto; }
  .cs-panel-body .cs-chip { font-size: 12.5px; }
  .shell { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-fab { animation: none; }
}

/* ---------------------------------------------------------------- REFERRAL (11 Okt 2026)
   Dipakai di Dashboard, Profil, dan baris ringkas di bawah Kartu ID. Kelasnya sengaja sama di
   ketiga app supaya bisa disalin apa adanya. `.ref-row` membungkus (wrap) di layar sempit supaya
   tautan panjang tidak memaksa halaman melebar. */
.ref-grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 18px; }
.ref-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ref-row .input, .ref-row input { flex: 1 1 200px; min-width: 0; }
.ref-code { font-size: 17px; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line, rgba(255,255,255,.14)); background: rgba(255,255,255,.04); }
.ref-stats { margin-top: 16px; gap: 16px; }
.ref-stats .stat strong { font-size: 20px; }
.ref-bar { margin-top: 14px; padding: 12px 14px; border-radius: 14px; display: flex;
  gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--line, rgba(255,255,255,.14)); background: rgba(255,255,255,.04); }
.ref-bar .btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- TOMBOL "Open App" (11 Okt 2026)
   Pil bergaya "Open in app" milik peramban. Sengaja TIDAK ada tombol unduh .apk di halaman ini
   (menghindari penandaan "mengunduh aplikasi" oleh pemblokir/penyaring web). */
.open-app-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.open-app-icon { width: 40px; height: 40px; object-fit: contain; border-radius: 11px;
  background: rgba(255,255,255,.06); padding: 5px; }
.open-app-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
  color: #221000; background: linear-gradient(135deg, #ffe08a, #f5b942);
  border: 1px solid rgba(255,255,255,.35); box-shadow: 0 6px 18px rgba(245,185,66,.28); }
.open-app-pill:hover { filter: brightness(1.06); }
.open-app-glyph { font-size: 15px; line-height: 1; }
@media (max-width: 560px) { .open-app-pill { width: 100%; justify-content: center; } }

/* ------------------------------------------------------------------ INBOX CS (16 Okt 2026)
   Menggantikan ruang chat VIP "ChatRoom" (diarsipkan). Percakapan pribadi 1-lawan-1 antara
   anggota/pengunjung dengan petugas CS. Gaya dibuat menyatu dengan tema gelap + aksen emas app ini.
   Ditulis di AKHIR berkas agar tidak ada aturan lama yang menimpanya (kebiasaan di repo ini). */

.nav-badge {
  display: inline-block; margin-left: 6px; min-width: 18px; padding: 1px 6px;
  border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 16px; text-align: center;
  color: #221000; background: linear-gradient(135deg, #ffe08a, #f5b942);
}

.inbox-transcript {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 260px; max-height: min(58vh, 560px); overflow-y: auto;
  padding: 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03);
}
.inbox-row { display: flex; }
.inbox-row.is-mine { justify-content: flex-end; }
.inbox-row.is-them { justify-content: flex-start; }
.inbox-bubble {
  max-width: min(78%, 560px); padding: 10px 13px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05);
}
.inbox-row.is-mine .inbox-bubble {
  background: linear-gradient(135deg, rgba(245,185,66,.18), rgba(245,185,66,.10));
  border-color: rgba(245,185,66,.42);
}
.inbox-meta { display: flex; gap: 10px; align-items: baseline; margin-bottom: 5px; font-size: 11.5px; opacity: .75; }
.inbox-meta time { font-variant-numeric: tabular-nums; }
.inbox-text { font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-sys { text-align: center; margin: 4px 0; }
.inbox-sys span {
  display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px;
  border: 1px dashed rgba(255,255,255,.20); background: rgba(255,255,255,.03); opacity: .85;
}
.inbox-day {
  align-self: center; margin: 6px 0 2px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .55;
}
.inbox-composer { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.inbox-composer textarea {
  flex: 1 1 auto; min-height: 54px; max-height: 160px; resize: vertical;
  padding: 11px 13px; border-radius: 12px; font: inherit; font-size: 14.5px;
  color: inherit; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
}
.inbox-composer textarea:focus { outline: none; border-color: rgba(245,185,66,.55); }
.form-note.is-err { color: #ff9aa8; }

/* --- panel petugas --- */
.inbox-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.inbox-kpi { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.inbox-kpi span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; font-weight: 700; }
.inbox-kpi strong { display: block; font-size: 20px; margin-top: 4px; }
.inbox-split { display: grid; gap: 16px; grid-template-columns: minmax(240px, 340px) 1fr; align-items: start; }
.inbox-list { display: flex; flex-direction: column; gap: 10px; max-height: min(62vh, 620px); overflow-y: auto; }
.inbox-thread {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 12px; border-radius: 12px; font: inherit; color: inherit;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
}
.inbox-thread:hover { border-color: rgba(245,185,66,.55); }
.inbox-thread.is-active { border-color: rgba(245,185,66,.75); background: rgba(245,185,66,.10); }
.inbox-thread-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.inbox-thread-top time { font-size: 11.5px; opacity: .65; }
.inbox-thread-prev { display: block; margin: 5px 0 7px; font-size: 13px; opacity: .78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.inbox-view { min-width: 0; }
.inbox-who {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 12px; border-radius: 12px; margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03);
}
.tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); opacity: .9;
}
.tag-ok { border-color: rgba(36,208,122,.5); background: rgba(36,208,122,.14); color: #7cf0b4; }
.tag-warn { border-color: rgba(245,185,66,.5); background: rgba(245,185,66,.16); color: #f7d491; }

/* Di HP: daftar percakapan di atas, isi percakapan di bawah (satu kolom). */
@media (max-width: 860px) {
  .inbox-split { grid-template-columns: 1fr; }
  .inbox-list { max-height: 300px; }
  .inbox-transcript { max-height: min(52vh, 460px); }
  .inbox-composer { flex-direction: column; }
  .inbox-composer button { width: 100%; }
}

/* Kotak centang izin peran ADMIN OPERATOR (kartu setelan owner). */
.perm-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 6px; }
.perm-item {
  display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font-size: 13.5px; cursor: pointer;
}
.perm-item:hover { border-color: rgba(245,185,66,.6); }
.perm-item input { margin: 0; }

/* ------------------------------------------------------------------ TAWARAN UNDUH APLIKASI
   Muncul sekali saat pengunjung membuka web (lihat public/app-download.js). Ditulis di AKHIR
   berkas agar tidak ditimpa aturan lama. */
.app-prompt { max-width: 520px; }
.app-prompt-row { display: flex; gap: 16px; align-items: flex-start; }
.app-prompt-icon {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 16px;
  object-fit: contain; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.app-prompt-row p { margin: 0; }
.app-prompt-note {
  margin: 4px 0 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(245,185,66,.40); background: rgba(245,185,66,.10); color: #f7d491;
}
.app-prompt .modal-foot { margin-top: 6px; }
@media (max-width: 480px) {
  .app-prompt-row { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .app-prompt .modal-foot { flex-direction: column-reverse; }
  .app-prompt .modal-foot .btn { width: 100%; }
}
