/* Elloco design system — diambil dari screenshot prototype Figma
   maroon #720604 (primary), biru #1C41AC (info/countdown), hijau #12A150 (komisi) */
:root {
  --maroon: #720604;
  --maroon-dark: #5a0503;
  --maroon-soft: #f7ecec;
  --price: #7e1114;
  --danger: #d93025;
  --blue: #1c41ac;
  --blue-soft: #eef7fe;
  --blue-ink: #1e6fd9;
  --green: #12a150;
  --green-soft: #e9f8ef;
  --ink: #111418;
  --ink-2: #4b5563;
  --muted: #8a9099;
  --line: #e6e8eb;
  --line-strong: #d3d7dc;
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #f7f8f9;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 20, 24, .06);
  /* palet grafik — sudah lolos validator (lightness/CVD/kontras) */
  --c1: #b0353a;
  --c2: #3e6fd6;
  --grid: #ecedef;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #dfe1e4; color: var(--ink); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- frame telepon ---------- */
#app {
  max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg);
  position: relative; display: flex; flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, .14);
}
.screen { flex: 1; padding-bottom: calc(72px + var(--safe-bottom)); }
.screen.no-nav { padding-bottom: calc(88px + var(--safe-bottom)); }
.screen.plain { padding-bottom: 24px; }

/* ---------- header ---------- */
.appbar {
  position: sticky; top: 0; z-index: 30; background: var(--surface);
  border-bottom: 1px solid var(--line); display: flex; align-items: center;
  gap: 12px; padding: 12px 16px; min-height: 56px;
}
.appbar .logo { display: flex; align-items: center; gap: 8px; }
.appbar .logo svg { width: 34px; height: 22px; }
.appbar .logo span { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.appbar h1 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -.3px; }
.appbar .spacer { flex: 1; }
.appbar .icon-btn { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.appbar .icon-btn svg { width: 25px; height: 25px; }
.badge {
  position: absolute; top: -4px; right: -6px; background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.back { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -6px; }
.back svg { width: 26px; height: 26px; }
.appbar .action { color: var(--danger); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.appbar .action svg { width: 22px; height: 22px; flex: none; }

/* ---------- kartu produk (feed) ---------- */
.feed { display: flex; flex-direction: column; }
.product-card { background: var(--surface); margin-bottom: 8px; }
.media { position: relative; background: #eceff1; }
.media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.media .seller-chip {
  position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px 10px 3px 3px;
  color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.seller-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.seller-chip .avatar svg, .seller-chip .avatar img { width: 20px; height: 20px; object-fit: contain; }
.verified { width: 16px; height: 16px; }
.media .counter {
  position: absolute; top: 14px; right: 14px; background: rgba(40, 40, 40, .62); color: #fff;
  font-size: 13px; font-weight: 600; border-radius: 8px; padding: 3px 10px;
}
.media .cta-row { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 10px; }
.cta-ghost {
  width: 52px; height: 52px; border-radius: 10px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.cta-ghost svg { width: 24px; height: 24px; }
.btn-cart {
  flex: 1; max-width: 300px; background: var(--maroon); color: #fff; font-weight: 700; font-size: 16px;
  border-radius: 10px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.btn-cart svg { width: 22px; height: 22px; }
.btn-cart:disabled { background: var(--line-strong); }

.pinfo { padding: 12px 16px 16px; }
.pinfo .row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price-main { color: var(--price); font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.price-sub { color: var(--ink); font-size: 20px; font-weight: 600; margin-top: 8px; }
.label-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.label-row .sep { color: var(--line-strong); }
.komisi { color: var(--green); font-weight: 600; }
.info-dot { width: 15px; height: 15px; opacity: .6; }
.pactions { display: flex; align-items: center; gap: 18px; color: var(--ink-2); }
.pactions button { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.pactions svg { width: 24px; height: 24px; }
.pname { margin-top: 12px; font-size: 17px; line-height: 1.45; }
.pname .more { color: var(--price); font-weight: 700; }

/* ---------- bottom nav ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: var(--safe-bottom);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 2px 10px;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.tabbar a.active { color: var(--maroon); }
.tabbar svg { width: 26px; height: 26px; }

/* ---------- daftar & kartu umum ---------- */
.section { background: var(--surface); margin-bottom: 8px; padding: 14px 16px; }
.section.tight { padding: 0; }
.section h2 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.bold { font-weight: 700; }
.right { text-align: right; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.gap { height: 8px; }

/* ---------- keranjang ---------- */
.cart-group { background: var(--surface); margin-bottom: 8px; }
.cart-group .ghead { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.ghead .name { font-weight: 700; font-size: 16px; }
.cart-item { display: flex; gap: 14px; padding: 4px 16px 14px; }
.cart-item + .cart-item { border-top: 1px solid var(--line); padding-top: 14px; }
.cart-item .thumb { width: 86px; height: 86px; border-radius: 8px; object-fit: cover; flex: none; }
.cart-item .body { flex: 1; min-width: 0; }
.cart-item .title { font-size: 15.5px; }
.cart-item .price { color: var(--price); font-weight: 700; font-size: 19px; margin: 2px 0 8px; }
.variant-select {
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 30px 6px 12px; font-size: 14.5px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 8px center/16px;
  appearance: none; max-width: 100%;
}
.qty-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 16px 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.qty button { width: 46px; height: 42px; font-size: 22px; color: var(--ink); display: grid; place-items: center; }
.qty button:disabled { color: var(--line-strong); }
.qty .val { width: 46px; text-align: center; font-weight: 600; color: var(--price); border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); line-height: 42px; }
.trash { color: var(--danger); }
.trash svg { width: 26px; height: 26px; }

.checkbox {
  width: 26px; height: 26px; border: 2px solid var(--line-strong); border-radius: 5px; flex: none;
  display: grid; place-items: center; background: #fff;
}
.checkbox.on { background: var(--maroon); border-color: var(--maroon); }
.checkbox svg { width: 18px; height: 18px; color: #fff; opacity: 0; }
.checkbox.on svg { opacity: 1; }

/* ---------- bar bawah (total + tombol) ---------- */
.bottombar {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; z-index: 45;
  background: var(--surface); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 12px 16px calc(12px + var(--safe-bottom));
}
.bottombar .total-label { color: var(--muted); font-size: 13.5px; }
.bottombar .total { color: var(--price); font-size: 21px; font-weight: 700; }
.btn {
  background: var(--maroon); color: #fff; font-weight: 700; font-size: 16px; border-radius: 10px;
  padding: 14px 22px; display: flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled, .btn.off { background: #b7b9bd; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn.soft { background: var(--surface-2); color: var(--ink); }

/* ---------- checkout ---------- */
.addr { display: flex; gap: 12px; padding: 16px; background: var(--surface); align-items: flex-start; text-align: left; width: 100%; }
.addr .pin { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.addr .nm { font-weight: 700; font-size: 16px; }
.chev { width: 22px; height: 22px; color: var(--ink-2); flex: none; }
.co-item { display: flex; gap: 12px; padding: 12px 16px; align-items: center; }
.co-item + .co-item { border-top: 1px solid var(--line); }
.co-item img { width: 68px; height: 68px; border-radius: 6px; object-fit: cover; }
.co-item .qtyx { color: var(--ink); font-weight: 500; }
.note-box { background: var(--surface-2); border-radius: 8px; padding: 12px 14px; color: var(--ink-2); margin: 4px 16px 0; }
.link-action { color: var(--price); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; }
.link-action svg { width: 20px; height: 20px; }
.ship-box { background: var(--blue-soft); border-radius: var(--radius); margin: 12px 16px; padding: 14px; }
.ship-box h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.ship-pick { background: #fff; border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 12px; width: 100%; }
.ship-pick .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; flex: none; }
.ship-pick .ico svg { width: 22px; height: 22px; color: var(--blue-ink); }
.ship-pick .nm { font-weight: 700; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; background: var(--surface); width: 100%; }
.row-link .lbl { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.row-link .lbl svg { width: 24px; height: 24px; }
.row-link .val { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.row-link .val.filled { color: var(--ink); font-weight: 600; }
.chip-free { background: var(--green-soft); color: var(--green); font-weight: 700; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.chip-free svg { width: 22px; height: 22px; }
.sumrow { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); }
.sumrow.total { color: var(--ink); font-weight: 700; font-size: 17px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }

/* ---------- menunggu pembayaran ---------- */
.pay-hero { background: var(--maroon); border-radius: 0 0 50% 50% / 0 0 22% 22%; padding: 16px 16px 66px; position: relative; }
.pay-hero .close { position: absolute; right: 16px; top: 14px; color: #fff; }
.pay-hero .close svg { width: 28px; height: 28px; }
.pay-badge {
  width: 116px; height: 116px; border-radius: 50%; background: #fff; margin: -74px auto 0;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); position: relative; z-index: 2;
}
.pay-badge .inner { width: 88px; height: 88px; border-radius: 50%; background: #b7564f; display: grid; place-items: center; }
.pay-badge svg { width: 46px; height: 46px; color: #fff; }
.pay-title { text-align: center; font-size: 24px; font-weight: 700; margin: 18px 0 6px; }
.pay-desc { text-align: center; color: var(--muted); padding: 0 22px; }
.count-label { text-align: center; margin-top: 18px; color: var(--ink); }
.countdown { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 8px; font-size: 22px; font-weight: 700; color: var(--muted); }
.countdown b { background: var(--blue); color: #fff; border-radius: 8px; padding: 6px 12px; min-width: 56px; text-align: center; font-weight: 700; }
.card { background: var(--surface); border-radius: var(--radius); margin: 12px 16px; padding: 16px; box-shadow: var(--shadow); }
.copy-btn { color: var(--danger); }
.copy-btn svg { width: 20px; height: 20px; }

/* ---------- form ---------- */
.field { padding: 0 16px 14px; }
.field label { display: block; font-size: 15px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px;
  font-size: 15px; background: #fff; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--maroon); }
.field.err input, .field.err textarea { border-color: var(--maroon); }
.field .msg { color: var(--danger); font-size: 13px; margin-top: 6px; }
.form-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.form-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.form-head .action { color: var(--price); font-weight: 700; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.form-head .action svg { width: 20px; height: 20px; }
.switch-row { display: flex; align-items: center; gap: 10px; padding: 0 16px 16px; }

/* ---------- transaksi ---------- */
.tx { background: var(--surface); margin-bottom: 8px; padding: 14px 16px; }
.tx .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.status-pill { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.st-waiting { background: #fff4e5; color: #b26a00; }
.st-paid { background: var(--green-soft); color: var(--green); }
.st-expired, .st-cancelled { background: #f3f4f6; color: var(--muted); }
.st-shipped { background: var(--blue-soft); color: var(--blue); }
.seg { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: var(--surface); border-bottom: 1px solid var(--line); }
.seg button { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-size: 14px; white-space: nowrap; color: var(--ink-2); }
.seg button.on { background: var(--maroon); border-color: var(--maroon); color: #fff; font-weight: 600; }

/* ---------- dashboard & statistik ---------- */
.hero-strip { background: var(--maroon); color: #fff; padding: 16px; }
.hero-strip .who { display: flex; align-items: center; gap: 12px; }
.hero-strip .who .av { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-weight: 700; }
.hero-strip .tier { font-size: 12.5px; background: rgba(255, 255, 255, .16); padding: 2px 10px; border-radius: 999px; }
.hero-strip .balance { margin-top: 14px; font-size: 13px; opacity: .85; }
.hero-strip .balance b { display: block; font-size: 26px; letter-spacing: -.5px; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
.kpi { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.kpi .k { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin-top: 4px; }
.kpi .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.chart-card { background: var(--surface); border-radius: var(--radius); margin: 8px; padding: 14px; box-shadow: var(--shadow); }
.chart-card h3 { margin: 0; font-size: 15.5px; font-weight: 700; }
.chart-card .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.chart-card .hero-num { font-size: 25px; font-weight: 700; letter-spacing: -.6px; margin-top: 8px; }
.legend { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.chart { width: 100%; display: block; margin-top: 6px; touch-action: pan-y; }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .axis-txt { fill: var(--muted); font-size: 10.5px; }
.chart .val-txt { fill: var(--ink); font-size: 11px; font-weight: 700; }
.chart .hit { fill: transparent; }
.chart-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.chart-table th, .chart-table td { text-align: right; padding: 5px 4px; border-bottom: 1px solid var(--line); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; color: var(--ink-2); }
.table-toggle { color: var(--ink-2); font-size: 13px; text-decoration: underline; margin-top: 8px; }
.tip {
  position: fixed; z-index: 90; background: #1b1f24; color: #fff; font-size: 12.5px; border-radius: 8px;
  padding: 8px 10px; pointer-events: none; opacity: 0; transition: opacity .12s; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.tip.on { opacity: 1; }
.tip .r { display: flex; align-items: center; gap: 6px; }
.tip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

/* ---------- akun ---------- */
.menu-item { display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: var(--surface); border-bottom: 1px solid var(--line); width: 100%; }
.menu-item svg.ic { width: 23px; height: 23px; color: var(--ink-2); }
.menu-item .t { flex: 1; text-align: left; }
.menu-item .hint { color: var(--muted); font-size: 13.5px; }

/* ---------- backlog (mode PM) ---------- */
.bl-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; }
.bl-summary .cell { background: var(--surface); border-radius: 10px; padding: 10px 8px; text-align: center; box-shadow: var(--shadow); }
.bl-summary .cell b { display: block; font-size: 19px; }
.bl-summary .cell span { font-size: 11.5px; color: var(--muted); }
.bl-item { background: var(--surface); border-radius: var(--radius); margin: 8px; padding: 13px 14px; box-shadow: var(--shadow); }
.bl-item .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.tag.p0 { background: #fdecea; color: #b3261e; }
.tag.p1 { background: #fff4e5; color: #b26a00; }
.tag.p2 { background: var(--blue-soft); color: var(--blue); }
.tag.p3 { background: #f3f4f6; color: var(--muted); }
.tag.layer { background: var(--maroon-soft); color: var(--maroon); }
.bl-item .story { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
.bl-item .story b { font-weight: 700; }
.bl-item .meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.bl-item .rice { font-weight: 700; color: var(--ink); }
.status-select { border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; font-size: 13px; background: #fff; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 10px 8px; }
.filters select, .filters input { border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; background: #fff; }
.hyp-card { background: var(--surface); border-radius: var(--radius); margin: 8px; padding: 13px 14px; box-shadow: var(--shadow); }
.hyp-card .id { font-weight: 700; color: var(--maroon); }

/* ---------- sheet / modal ---------- */
.sheet-mask { position: fixed; inset: 0; background: rgba(15, 18, 22, .45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 16px 16px 0 0; max-height: 86vh; overflow-y: auto; padding-bottom: calc(16px + var(--safe-bottom)); animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet .hd { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.sheet .hd h3 { margin: 0; font-size: 17px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.opt .r { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.opt.on .r { border-color: var(--maroon); }
.opt.on .r::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--maroon); }
.opt .nm { font-weight: 600; }
.opt .ds { color: var(--muted); font-size: 13px; }
.opt .pr { margin-left: auto; color: var(--price); font-weight: 600; }
.opt:disabled { opacity: .45; }

.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: #1b1f24; color: #fff;
  padding: 11px 16px; border-radius: 10px; font-size: 14px; z-index: 95; max-width: 92%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); animation: up .16s;
}
.empty { text-align: center; padding: 60px 30px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; opacity: .35; margin-bottom: 12px; }
.spinner { margin: 60px auto; width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--maroon); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eceef0 25%, #f5f6f7 37%, #eceef0 63%); background-size: 400% 100%; animation: sk 1.2s infinite; }
@keyframes sk { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* switch akun demo */
.demo-bar { background: #1b1f24; color: #cfd4da; font-size: 12px; padding: 7px 12px; display: flex; align-items: center; gap: 8px; }
.demo-bar select { background: #2a2f36; color: #fff; border: none; border-radius: 6px; padding: 4px 8px; font-size: 12px; }
.demo-bar .grow { flex: 1; }
.demo-bar a { color: #ffd9a0; font-weight: 600; }
