/* ═══════════════════════════════════════════════════════════════════════════
   NexShop Fintech — sistem desain 2026
   Sumber acuan: .design-ref/.../nexshop_fintech/DESIGN.md
   Namespace: nx26- (agar tidak bertabrakan dengan CSS lama)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Primary — Deep Royal Blue */
  --nx26-primary: #0060AF;
  --nx26-primary-hover: #004B8A;
  --nx26-primary-soft: rgba(0, 82, 156, .08);
  --nx26-primary-line: rgba(0, 82, 156, .28);

  /* Secondary — Vibrant Sky Blue */
  --nx26-secondary: #00AEEF;
  --nx26-secondary-soft: rgba(0, 174, 239, .12);

  /* Surfaces */
  --nx26-canvas: #F4F7FB;
  --nx26-surface: #FFFFFF;
  --nx26-surface-alt: #F8FAFC;

  /* Ink */
  --nx26-ink: #0F172A;
  --nx26-muted: #475569;
  --nx26-line: #E2E8F0;

  /* Semantic */
  --nx26-success: #10B981;
  --nx26-success-soft: rgba(16, 185, 129, .10);
  --nx26-warning: #F59E0B;
  --nx26-warning-soft: rgba(245, 158, 11, .12);
  --nx26-danger: #EF4444;
  --nx26-danger-soft: rgba(239, 68, 68, .10);

  /* Shape */
  --nx26-r-sm: .5rem;
  --nx26-r: .75rem;
  --nx26-r-lg: 1rem;
  --nx26-r-xl: 1.5rem;
  --nx26-pill: 9999px;

  /* Elevation */
  --nx26-shadow: 0 4px 16px -2px rgba(15, 23, 42, .06);
  --nx26-shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, .14);

  /* Layout */
  --nx26-max: 1280px;
  --nx26-gutter: 1.25rem;
  --nx26-margin: 1.5rem;

  /* Type */
  --nx26-font-display: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --nx26-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

body.nx26 {
  margin: 0;
  background: var(--nx26-canvas);
  color: var(--nx26-ink);
  font-family: var(--nx26-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nx26 *,
body.nx26 *::before,
body.nx26 *::after { box-sizing: border-box; }

/**
 * Reset dasar memakai `:where()` supaya spesifisitasnya nol.
 *
 * Dengan `body.nx26 a`, aturan ini (0,1,2) mengalahkan `.nx26-btn--primary` (0,1,0) — akibatnya
 * `color: inherit` menang dan teks tombol biru tampil hitam di atas biru tua. `:where()` membuat
 * setiap aturan komponen selalu bisa menimpa reset tanpa perlu menambah selektor.
 */
:where(body.nx26) :where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-family: var(--nx26-font-display);
  color: var(--nx26-ink);
  letter-spacing: -.02em;
}

:where(body.nx26) :where(p) { margin: 0; }
:where(body.nx26) :where(a) { color: inherit; text-decoration: none; }
:where(body.nx26) :where(img) { max-width: 100%; display: block; }
:where(body.nx26) :where(button) { font-family: inherit; cursor: pointer; }
:where(body.nx26) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

body.nx26 :focus-visible {
  outline: 3px solid rgba(0, 174, 239, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.nx26-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.nx26-skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--nx26-primary); color: #fff;
  padding: 12px 18px; border-radius: 0 0 var(--nx26-r-sm) 0;
}
.nx26-skip:focus { left: 0; }

/* ── Layout ───────────────────────────────────────────────────────────────── */

.nx26-wrap {
  width: 100%;
  max-width: var(--nx26-max);
  margin: 0 auto;
  padding: 0 var(--nx26-margin);
}

.nx26-section { padding: 64px 0; }
.nx26-section--tight { padding: 40px 0; }

.nx26-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.nx26-eyebrow {
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nx26-primary);
  margin-bottom: 10px;
}

.nx26-h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.nx26-h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.nx26-h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.nx26-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--nx26-muted);
}

.nx26-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--nx26-primary);
  white-space: nowrap;
}
.nx26-link:hover { color: var(--nx26-primary-hover); }

.nx26-ico { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx26-ico--sm { width: 15px; height: 15px; }
.nx26-ico--lg { width: 22px; height: 22px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.nx26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--nx26-pill);
  border: 1px solid transparent;
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.nx26-btn--primary {
  background: var(--nx26-primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0, 82, 156, .55);
}
.nx26-btn--primary:hover { background: var(--nx26-primary-hover); }

.nx26-btn--secondary {
  background: var(--nx26-surface);
  color: var(--nx26-primary);
  border-color: var(--nx26-line);
}
.nx26-btn--secondary:hover { border-color: var(--nx26-primary-line); background: var(--nx26-primary-soft); }

.nx26-btn--accent { background: var(--nx26-secondary); color: #fff; }
.nx26-btn--accent:hover { background: #0098d1; }

.nx26-btn--ghost { background: transparent; color: var(--nx26-muted); }
.nx26-btn--ghost:hover { color: var(--nx26-primary); }

.nx26-btn--block { width: 100%; }
.nx26-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.nx26-btn:active { transform: translateY(1px); }

/* ── Header ───────────────────────────────────────────────────────────────── */

.nx26-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--nx26-surface);
  border-bottom: 1px solid var(--nx26-line);
}

.nx26-header-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.nx26-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nx26-brand img { height: 32px; width: auto; }

.nx26-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
}

.nx26-nav a {
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--nx26-muted);
  padding: 8px 0;
  position: relative;
  transition: color .15s ease;
}
.nx26-nav a:hover { color: var(--nx26-primary); }
.nx26-nav a[aria-current="page"] { color: var(--nx26-primary); }
.nx26-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--nx26-primary);
}

.nx26-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/**
 * Tombol tema dibuat oleh shell.js dengan SVG berkelas `.nx-theme-icon`.
 * Tanpa ukuran eksplisit, SVG memakai 300×150 bawaan dan tombolnya terlihat kosong.
 */
#nx-theme {
  width: 38px;
  min-width: 38px;
  padding: 0;
}
.nx-theme-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nx26-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--nx26-r-sm);
  border: 1px solid var(--nx26-line);
  background: var(--nx26-surface);
  color: var(--nx26-ink);
  align-items: center;
  justify-content: center;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.nx26-hero {
  padding: 56px 0 40px;
}

.nx26-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.nx26-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-secondary-soft);
  color: #00658D;
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.nx26-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nx26-secondary);
}

.nx26-hero h1 { margin-bottom: 18px; }

.nx26-hero .nx26-lead { max-width: 52ch; margin-bottom: 26px; }

.nx26-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.nx26-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 4px;
}
.nx26-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nx26-muted);
}
.nx26-trust .nx26-ico { color: var(--nx26-success); }

/* ── Order card ───────────────────────────────────────────────────────────── */

.nx26-order {
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-xl);
  box-shadow: var(--nx26-shadow-lg);
  padding: 22px;
}

.nx26-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.nx26-order-head h2 {
  font-size: 18px;
  font-weight: 700;
}
.nx26-order-head .nx26-tag {
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-secondary-soft);
  color: #00658D;
}

.nx26-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--nx26-canvas);
  border-radius: var(--nx26-pill);
  margin-bottom: 16px;
}
.nx26-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: var(--nx26-pill);
  background: transparent;
  color: var(--nx26-muted);
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
}
.nx26-tabs button[aria-selected="true"] {
  background: var(--nx26-surface);
  color: var(--nx26-primary);
  box-shadow: var(--nx26-shadow);
}

.nx26-field { margin-bottom: 14px; }
.nx26-label {
  display: block;
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--nx26-muted);
  margin-bottom: 6px;
}

.nx26-input,
.nx26-select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-surface);
  color: var(--nx26-ink);
  font-family: var(--nx26-font-body);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nx26-input::placeholder { color: #64748B; }
.nx26-input:focus,
.nx26-select:focus {
  outline: none;
  border-color: var(--nx26-secondary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, .15);
}

.nx26-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.nx26-nominals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.nx26-nominal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-surface);
  padding: 10px 8px;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.nx26-nominal:hover { border-color: var(--nx26-primary-line); }
.nx26-nominal[aria-pressed="true"] {
  border: 2px solid var(--nx26-secondary);
  background: rgba(0, 174, 239, .05);
  padding: 9px 7px;
}
.nx26-nominal strong {
  display: block;
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--nx26-ink);
  line-height: 1.3;
}
.nx26-nominal span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nx26-primary);
  font-variant-numeric: tabular-nums;
}

.nx26-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--nx26-line);
}
.nx26-order-foot small {
  display: block;
  font-size: 11px;
  color: var(--nx26-muted);
  margin-bottom: 2px;
}
.nx26-order-foot strong {
  font-family: var(--nx26-font-display);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ── Cards: kategori ──────────────────────────────────────────────────────── */

.nx26-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.nx26-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 15px 14px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nx26-cat:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-2px);
}
.nx26-cat > span:last-child { min-width: 0; }
.nx26-cat-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: var(--nx26-r);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
}
.nx26-cat strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  font-family: var(--nx26-font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}
.nx26-cat small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--nx26-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Cards: game ──────────────────────────────────────────────────────────── */

.nx26-games {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.nx26-game {
  display: flex;
  flex-direction: column;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nx26-game:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-3px);
}

.nx26-game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #E8EEF8;
  overflow: hidden;
}
.nx26-game-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.nx26-game-media .nx26-game-fallback {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  font-family: var(--nx26-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--nx26-primary);
}

.nx26-game-badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 4px 8px;
  border-radius: var(--nx26-pill);
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-family: var(--nx26-font-display);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.nx26-game-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nx26-game-body strong {
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx26-game-body small { font-size: 11px; color: var(--nx26-muted); }
.nx26-game-price {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  color: var(--nx26-muted);
}
.nx26-game-price b {
  font-family: var(--nx26-font-display);
  font-size: 13px;
  color: var(--nx26-primary);
  font-variant-numeric: tabular-nums;
}

.nx26-game-cta {
  display: block;
  margin: 8px 14px 14px;
  padding: 9px 0;
  text-align: center;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
}
.nx26-game-cta:hover { background: rgba(0, 82, 156, .14); }

/* ── Steps ────────────────────────────────────────────────────────────────── */

.nx26-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--nx26-gutter); }

.nx26-step {
  padding: 24px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
}
.nx26-step-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--nx26-primary);
  color: #fff;
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.nx26-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.nx26-step p { font-size: 13px; line-height: 1.55; color: var(--nx26-muted); }

/* ── CTA banner ───────────────────────────────────────────────────────────── */

.nx26-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  border-radius: var(--nx26-r-xl);
  background: #0060AF;
  color: #fff;
}
.nx26-cta h2 { color: #fff; margin-bottom: 10px; }
.nx26-cta p { color: rgba(255, 255, 255, .82); max-width: 56ch; }
.nx26-cta .nx26-eyebrow { color: rgba(255, 255, 255, .68); }
.nx26-cta .nx26-btn { background: #fff; color: var(--nx26-primary); flex: 0 0 auto; }
.nx26-cta .nx26-btn:hover { background: #E6F0FA; }

/* ── News ─────────────────────────────────────────────────────────────────── */

.nx26-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--nx26-gutter); }

.nx26-article {
  display: flex;
  flex-direction: column;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nx26-article:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-2px);
}
.nx26-article-media {
  aspect-ratio: 16 / 9;
  background: #E8EEF8;
  overflow: hidden;
}
.nx26-article-media img { width: 100%; height: 100%; object-fit: cover; }
.nx26-article-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nx26-pill {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
}
.nx26-article h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx26-article-meta { margin-top: auto; font-size: 12px; color: var(--nx26-muted); }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.nx26-footer {
  margin-top: 24px;
  background: var(--nx26-surface);
  border-top: 1px solid var(--nx26-line);
  padding: 48px 0 0;
}
.nx26-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.nx26-footer-brand .nx26-brand img { height: 32px; width: auto; }
.nx26-footer-brand p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--nx26-muted);
  max-width: 36ch;
}
.nx26-footer h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--nx26-ink);
}
.nx26-footer-links { display: flex; flex-direction: column; gap: 9px; }
.nx26-footer-links a {
  font-size: 13px;
  color: var(--nx26-muted);
  transition: color .15s ease;
}
.nx26-footer-links a:hover { color: var(--nx26-primary); }

.nx26-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--nx26-line);
  font-size: 12px;
  color: var(--nx26-muted);
}
.nx26-footer-bottom a { color: var(--nx26-primary); font-weight: 600; }

/* ── Komponen dari data layer (dipakai JS lama) ───────────────────────────── */

body.nx26 .nx-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  overflow: hidden;
  padding: 0 0 14px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.nx26 .nx-product-card::before {
  content: "Instan";
  position: absolute;
  top: 8px; left: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-primary);
  color: #fff;
  font-family: var(--nx26-font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .01em;
  backdrop-filter: blur(4px);
}
body.nx26 .nx-product-card::after {
  content: "Pilih";
  display: block;
  margin: 10px 12px 0;
  padding: 9px 0;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary);
  color: #fff;
  text-align: center;
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
}
body.nx26 .nx-product-card > strong {
  margin: 12px 12px 0;
  font-family: var(--nx26-font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nx26-ink);
  /**
   * Kunci tinggi judul ke dua baris supaya harga dan tombol "Pilih" sejajar di semua kartu.
   * Tanpa ini nama game yang panjang mendorong isi kartu lain ke bawah.
   */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
body.nx26 .nx-product-card > small {
  margin: 3px 12px 0;
  font-size: 10.5px;
  color: var(--nx26-muted);
}
body.nx26 .nx-product-card:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-3px);
}
body.nx26 .nx-product-logo {
  width: 100%;
  /**
   * `height: auto` wajib: elemen <img> dari data layer membawa atribut height="48", yang
   * bertindak sebagai presentational hint. Tanpa ini gambar menjadi 100% lebar × 48px tinggi —
   * strip tipis yang terlihat seperti area kosong.
   *
   * Kotak media persegi + `contain`: mayoritas logo game dari katalog berasio 1:1, sebagian
   * 1.48–1.50. Memaksa 16:9 dengan `cover` memotong logo; `contain` menampilkan seluruh gambar
   * tanpa mengubah rasio aslinya.
   */
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  background: #F4F7FB;
}
body.nx26 .nx-product-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #F4F7FB;
  color: var(--nx26-primary);
  font-family: var(--nx26-font-display);
  font-size: 26px;
  font-weight: 800;
}
body.nx26 .nx-product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: auto 12px 0;
  padding-top: 8px;
  font-family: var(--nx26-font-display);
  color: var(--nx26-primary);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/**
 * Ikon SVG yang dibuat data layer memakai kelas `.nx-icon`.
 *
 * Tanpa aturan ukuran, <svg> memakai 300×150 bawaan dan `stroke` tidak di-set, sehingga panah
 * kecil di kartu produk muncul sebagai segitiga hitam raksasa.
 */
body.nx26 .nx-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.nx26 .nx-filter-tab {
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--nx26-pill);
  border: 1px solid var(--nx26-line);
  background: var(--nx26-surface);
  color: var(--nx26-muted);
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 600;
}
body.nx26 .nx-filter-tab.is-active,
body.nx26 .nx-filter-tab[aria-pressed="true"] {
  background: var(--nx26-primary);
  border-color: var(--nx26-primary);
  color: #fff;
}

/* ── Kartu berita (dibuat home-data.js) ───────────────────────────────────── */

body.nx26 .nx-story-card {
  display: flex;
  flex-direction: column;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.nx26 .nx-story-card:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-2px);
}
body.nx26 .nx-story-card > strong {
  padding: 0 16px 16px;
  font-family: var(--nx26-font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--nx26-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.nx26 .nx-story-visual {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #E8EEF8;
}
body.nx26 .nx-story-visual img { width: 100%; height: 100%; object-fit: cover; }
body.nx26 .nx-story-placeholder { display: grid; place-items: center; }
body.nx26 .nx-story-placeholder img { width: 58px; height: 58px; opacity: .38; }
body.nx26 .nx-story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
  font-size: 12px;
  color: var(--nx26-muted);
}
body.nx26 .nx-story-meta > span:first-child {
  font-family: var(--nx26-font-display);
  font-weight: 700;
  color: var(--nx26-primary);
}
body.nx26 .nx-news-empty {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--nx26-muted);
  font-size: 14px;
}

/* ── Skeleton saat memuat ─────────────────────────────────────────────────── */

body.nx26 .skeleton {
  aspect-ratio: 3 / 4;
  border-radius: var(--nx26-r-lg);
  background: #EEF2F8;
  background-size: 200% 100%;
  animation: nx26-shimmer 1.4s linear infinite;
}
@keyframes nx26-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ── Responsif ────────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .nx26-games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nx26-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx26-hero-grid { gap: 36px; }
}

@media (max-width: 960px) {
  .nx26-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .nx26-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx26-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx26-news { grid-template-columns: repeat(2, 1fr); }
  .nx26-steps { grid-template-columns: 1fr; }
  .nx26-footer-grid { grid-template-columns: 1fr 1fr; }
  .nx26-cta { flex-direction: column; align-items: flex-start; }
  .nx26-nav { display: none; }
  .nx26-burger { display: inline-flex; }
  .nx26-header-in { justify-content: space-between; }
}

@media (max-width: 760px) {
  .nx26-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx26-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/**
 * Di layar sempit, subteks kategori tidak dipotong dengan elipsis.
 * Lebar kartu hanya ~171px; memaksa satu baris memotong kata ("Diamond & vou…").
 */
@media (max-width: 760px) {
  .nx26-cat { align-items: flex-start; }
  .nx26-cat strong { min-height: 0; }
  .nx26-cat small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 640px) {
  :root { --nx26-margin: 1rem; --nx26-gutter: 1rem; }
  .nx26-section { padding: 44px 0; }
  .nx26-hero { padding: 32px 0 24px; }
  .nx26-h1 { font-size: 28px; line-height: 1.2; }
  .nx26-h2 { font-size: 24px; }
  .nx26-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx26-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx26-news { grid-template-columns: 1fr; }
  .nx26-nominals { grid-template-columns: repeat(2, 1fr); }
  .nx26-row-2 { grid-template-columns: 1fr; }
  .nx26-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nx26-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nx26-footer-bottom { flex-direction: column; align-items: flex-start; }
  .nx26-cta { padding: 26px; }
  .nx26-header-actions .nx26-btn--secondary,
  .nx26-header-actions .nx26-btn--ghost { display: none; }
  .nx26-brand img { height: 28px; }
}

/* ── Halaman katalog (topup) ──────────────────────────────────────────────── */

.nx26-hero--compact { padding: 44px 0 28px; }
.nx26-hero--compact .nx26-h1 { font-size: clamp(26px, 3.4vw, 36px); }

.nx26-searchbar {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
}
.nx26-searchbar .nx26-input { flex: 1 1 auto; min-width: 0; }

.nx26-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

body.nx26 .chip {
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--nx26-pill);
  border: 1px solid var(--nx26-line);
  background: var(--nx26-surface);
  color: var(--nx26-muted);
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.nx26 .chip:hover { border-color: var(--nx26-primary-line); color: var(--nx26-primary); }
body.nx26 .chip[aria-pressed="true"] {
  background: var(--nx26-primary);
  border-color: var(--nx26-primary);
  color: #fff;
}

body.nx26 .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0 0 14px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  background: var(--nx26-surface);
  overflow: hidden;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.nx26 .card:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
  transform: translateY(-3px);
}
body.nx26 .card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  background: #F4F7FB;
  margin-bottom: 9px;
}
body.nx26 .card b {
  margin: 0 14px;
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nx26-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  /* Kartu 4 kolom di ponsel hanya ~65px; kata panjang tanpa spasi
     ("Echocalypse") lebih lebar dari kartu dan terpotong di tepinya. */
  overflow-wrap: anywhere;
}
body.nx26 .card small {
  margin: 0 14px;
  font-size: 11px;
  color: var(--nx26-muted);
}
body.nx26 .card .price {
  margin: auto 12px 0;
  padding-top: 8px;
  font-size: 11px;
  color: var(--nx26-muted);
}
body.nx26 .card .price strong {
  font-family: var(--nx26-font-display);
  font-size: 13px;
  color: var(--nx26-primary);
  font-variant-numeric: tabular-nums;
}
body.nx26 .card::after {
  content: "Pilih";
  display: block;
  align-self: stretch;
  margin: 10px 14px 0;
  padding: 9px 0;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary);
  color: #fff;
  text-align: center;
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
}

/* Panel detail: hanya tampil saat kelas `on` diberikan skrip. */
body.nx26 .nx26-panel { display: none; }
body.nx26 .nx26-panel.on { display: block; }
body.nx26 .panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
body.nx26 .panel-head img { width: 52px; height: 52px; border-radius: var(--nx26-r); object-fit: cover; }
body.nx26 .panel-head h2 { font-size: 20px; font-weight: 700; }
body.nx26 .panel-head p { font-size: 13px; color: var(--nx26-muted); }
body.nx26 .panel-body { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
body.nx26 .panel-side {
  padding: 20px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  background: var(--nx26-surface);
}
body.nx26 .side-title {
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--nx26-muted);
  margin-bottom: 10px;
}
body.nx26 .side-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--nx26-line);
  font-size: 13px;
}
body.nx26 .side-row b { font-weight: 600; text-align: right; }
body.nx26 .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 16px;
  font-size: 13px;
  color: var(--nx26-muted);
}
body.nx26 .total strong {
  font-family: var(--nx26-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--nx26-primary);
  font-variant-numeric: tabular-nums;
}
body.nx26 .cta {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--nx26-pill);
  background: var(--nx26-primary);
  color: #fff;
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 700;
}
body.nx26 .cta:disabled { opacity: .45; cursor: not-allowed; }
body.nx26 .hint { margin-top: 10px; font-size: 11px; color: var(--nx26-muted); }
body.nx26 .denoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.nx26 .denom {
  padding: 10px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-surface);
  text-align: left;
  font-size: 12px;
}
body.nx26 .denom[aria-pressed="true"] { border: 2px solid var(--nx26-secondary); background: rgba(0,174,239,.05); }

@media (max-width: 860px) {
  body.nx26 .panel-body { grid-template-columns: 1fr; }
  body.nx26 .denoms { grid-template-columns: repeat(2, 1fr); }
}

/* ── Halaman legal (syarat, refund, privasi, kontak) ──────────────────────── */

/**
 * Hanya padding vertikal.
 *
 * `padding: 44px 0 72px` menimpa `padding: 0 24px` dari `.nx26-wrap` karena kedua kelas berada
 * pada elemen yang sama — akibatnya kolom isi melebar sampai keluar layar.
 */
.nx26-legal { padding-top: 44px; padding-bottom: 72px; }
.nx26-legal-head { max-width: 760px; margin-bottom: 34px; }
.nx26-legal-head h1 { margin-bottom: 12px; }
.nx26-legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-family: var(--nx26-font-display);
  font-size: 12px;
  font-weight: 600;
}

.nx26-legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.nx26-legal-toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
  background: var(--nx26-surface);
}
.nx26-legal-toc h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx26-muted);
  margin-bottom: 12px;
}
.nx26-legal-toc a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: var(--nx26-muted);
  transition: color .15s ease;
}
.nx26-legal-toc a:hover { color: var(--nx26-primary); }
.nx26-legal-toc a.is-active { color: var(--nx26-primary); font-weight: 600; }

.nx26-legal-body { min-width: 0; }
.nx26-legal-body > section {
  padding: 26px 0;
  border-bottom: 1px solid var(--nx26-line);
  scroll-margin-top: 96px;
}
.nx26-legal-body > section:first-child { padding-top: 0; }
.nx26-legal-body > section:last-child { border-bottom: 0; padding-bottom: 0; }
.nx26-legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.nx26-legal-body h2 .num {
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--nx26-primary);
}
.nx26-legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 8px;
}
.nx26-legal-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--nx26-muted);
  margin-bottom: 10px;
}
.nx26-legal-body ol,
.nx26-legal-body ul {
  padding-left: 20px;
  margin: 0 0 10px;
}
.nx26-legal-body ol { list-style: decimal; }
.nx26-legal-body ul { list-style: disc; }
.nx26-legal-body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--nx26-muted);
  margin-bottom: 8px;
}
.nx26-legal-body strong { color: var(--nx26-ink); font-weight: 600; }

.nx26-callout {
  padding: 16px 18px;
  border-radius: var(--nx26-r);
  border-left: 3px solid var(--nx26-primary);
  background: var(--nx26-primary-soft);
  color: var(--nx26-ink);
  font-size: 13px;
  line-height: 1.65;
  margin: 4px 0 16px;
}
.nx26-callout strong { color: var(--nx26-primary); }

.nx26-table-wrap { overflow-x: auto; margin: 4px 0 16px; }
.nx26-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}
.nx26-table th,
.nx26-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--nx26-line);
  vertical-align: top;
}
.nx26-table th {
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--nx26-muted);
  background: var(--nx26-surface-alt);
}
.nx26-table td { color: var(--nx26-muted); }
.nx26-tag-ok, .nx26-tag-no {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--nx26-pill);
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.nx26-tag-ok { background: var(--nx26-success-soft); color: #047857; }
.nx26-tag-no { background: var(--nx26-danger-soft); color: #B91C1C; }

.nx26-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 6px 0 14px;
}
.nx26-contact {
  display: block;
  padding: 16px;
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r);
  background: var(--nx26-surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nx26-contact:hover {
  border-color: var(--nx26-primary-line);
  box-shadow: var(--nx26-shadow);
}
.nx26-contact small {
  display: block;
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nx26-muted);
  margin-bottom: 4px;
}
.nx26-contact strong {
  font-family: var(--nx26-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--nx26-primary);
  word-break: break-word;
}

@media (max-width: 960px) {
  .nx26-legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .nx26-legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 14px 16px;
  }
  .nx26-legal-toc h2 { width: 100%; margin-bottom: 4px; }
  .nx26-legal-toc a { padding: 4px 0; }
  .nx26-contact-grid { grid-template-columns: 1fr; }
}

/* ── Bottom navigation mobile (disuntik shell.js) ─────────────────────────── */
/**
 * `shell.js` membuat `.nx-bottom-nav` di semua halaman. Tanpa aturan ukuran di sini, SVG di
 * dalamnya memakai 300×150 bawaan dan ikon rumah tampil raksasa di dasar halaman.
 */
.nx-bottom-nav { display: none; }

@media (max-width: 820px) {
  .nx26-header-actions .nx26-account-btn { display: none !important; }
  .nx-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--nx26-surface);
    border-top: 1px solid var(--nx26-line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .nx-bottom-nav a {
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--nx26-muted);
    font-family: var(--nx26-font-display);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
  }
  .nx-bottom-nav a[aria-current="page"] { color: var(--nx26-primary); }
  .nx-bottom-nav .nx-bottom-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
  }
  .nx-bottom-nav .nx-bottom-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  body.nx26 { padding-bottom: 64px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Beranda v2 — topbar, hero asimetris, panel kilat, akses cepat, trust
   Acuan: .design-ref/beranda-baru · ikon: Phosphor Duotone
   ═══════════════════════════════════════════════════════════════════════════ */

.nx26-topbar {
  background: var(--nx26-primary);
  color: #fff;
  font-size: 12px;
}
.nx26-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.nx26-topbar-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.nx26-topbar-promo > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx26-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--nx26-pill);
  background: #fff;
  color: var(--nx26-primary);
  font-family: var(--nx26-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nx26-topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 11px;
  opacity: .92;
}
.nx26-topbar-meta span { display: inline-flex; align-items: center; gap: 5px; }
.nx26-topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .35); }

.nx26-header--offset { top: 0; }

.nx26-toplink {
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--nx26-muted);
  padding: 0 4px;
}
.nx26-toplink:hover { color: var(--nx26-primary); }

.nx26-btn--icon { width: 38px; min-width: 38px; padding: 0; }
.nx26-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nx26-primary);
  color: #fff;
  font-size: 17px;
}

/* ── Hero asimetris ───────────────────────────────────────────────────────── */

.nx26-hero2 { padding: 20px 0 10px; }

.nx26-hero2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
  gap: 18px;
  align-items: start;
}

.nx26-hero2-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.nx26-hero2-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 296px;
  padding: 30px;
  border-radius: var(--nx26-r-xl);
  background: #003B73;
  /* Splash art asli Mobile Legends sebagai latar promo. */
  --hero-art: url("/images/hero-promo-mlbb.webp");
  color: #fff;
}

/**
 * Lapisan art dari katalog.
 *
 * Logo game di katalog adalah wordmark, bukan foto. Menaruhnya sebagai `background-size: cover`
 * membuat tulisan raksasa menembus judul. Di-blur + di-scale + ditimpa gradien: warnanya tetap
 * berasal dari game, tetapi tidak ada huruf yang bisa dibaca dan teks tetap jadi fokus.
 */
.nx26-hero2-art {
  position: absolute;
  inset: -8%;
  background-image: var(--hero-art, none);
  background-size: cover;
  background-position: center 32%;
  filter: blur(2.5px) saturate(1.06);
  opacity: .95;
  transform: scale(1.06);
  pointer-events: none;
}
.nx26-hero2-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 80, .58);
  pointer-events: none;
}

.nx26-hero2-copy { position: relative; z-index: 1; max-width: 30rem; }

.nx26-hero2-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nx26-hero2-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--nx26-pill);
  background: rgba(245, 158, 11, .2);
  border: 1px solid rgba(245, 158, 11, .45);
  color: #FDE68A;
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.nx26-hero2-badge--ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.nx26-hero2-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.nx26-hero2-sub {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 46ch;
}
.nx26-hero2-facts { display: flex; flex-wrap: wrap; gap: 16px; }
.nx26-hero2-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.nx26-hero2-facts i { color: #6EE7B7; font-size: 15px; }

/* Tiga kartu mini di bawah banner */
.nx26-hero2-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.nx26-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nx26-mini:hover { border-color: var(--nx26-primary-line); box-shadow: var(--nx26-shadow); }
.nx26-mini-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-size: 19px;
}
.nx26-mini-ico--amber { background: var(--nx26-warning-soft); color: #B45309; }
.nx26-mini-ico--cyan { background: var(--nx26-secondary-soft); color: #0369A1; }
.nx26-mini-body { min-width: 0; }
.nx26-mini-body strong {
  display: block;
  font-family: var(--nx26-font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--nx26-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx26-mini-body small {
  display: block;
  font-size: 11px;
  color: var(--nx26-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Panel Top Up Kilat ───────────────────────────────────────────────────── */

.nx26-quick {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .16);
}

.nx26-quick-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nx26-line);
}
.nx26-quick-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-size: 17px;
}
.nx26-quick-title { min-width: 0; flex: 1; }
.nx26-quick-title h2 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}
.nx26-quick-title p { font-size: 11px; color: var(--nx26-muted); margin-top: 2px; }
.nx26-quick-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: var(--nx26-pill);
  background: var(--nx26-success-soft);
  border: 1px solid rgba(16, 185, 129, .3);
  color: #047857;
  font-family: var(--nx26-font-display);
  font-size: 10.5px;
  font-weight: 700;
}

.nx26-quick-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--nx26-canvas);
  border-radius: var(--nx26-r);
}
.nx26-quick-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  border: 0;
  border-radius: var(--nx26-r-sm);
  background: transparent;
  color: var(--nx26-muted);
  font-family: var(--nx26-font-display);
  font-size: 11.5px;
  font-weight: 700;
}
.nx26-quick-tabs button i { font-size: 14px; }
.nx26-quick-tabs button[aria-selected="true"] {
  background: var(--nx26-surface);
  color: var(--nx26-primary);
  box-shadow: var(--nx26-shadow);
}

.nx26-step2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.nx26-step2-num {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--nx26-primary);
  color: #fff;
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 800;
}
.nx26-step2-body { flex: 1; min-width: 0; }
.nx26-step2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx26-step2-hint {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--nx26-muted);
}

.nx26-quick .nx26-label { margin-bottom: 4px; font-size: 11px; }
.nx26-quick .nx26-input,
.nx26-quick .nx26-select { min-height: 38px; font-size: 12.5px; }
.nx26-quick .nx26-nominals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 4px 0 0;
}
.nx26-quick .nx26-nominal { padding: 8px 9px; }
.nx26-quick .nx26-nominal[aria-pressed="true"] { padding: 7px 8px; }
.nx26-quick .nx26-nominal strong { font-size: 11.5px; }
.nx26-quick .nx26-nominal span { font-size: 11.5px; }

.nx26-quick-foot {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--nx26-line);
}
.nx26-quick-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nx26-quick-total small {
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nx26-muted);
}
.nx26-quick-total strong {
  font-family: var(--nx26-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--nx26-ink);
  font-variant-numeric: tabular-nums;
}
.nx26-quick-note { font-size: 10.5px; color: var(--nx26-muted); text-align: center; }

/* ── Akses cepat ──────────────────────────────────────────────────────────── */

.nx26-qa-section { padding: 14px 0 4px; }
.nx26-qa {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 14px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-xl);
}
.nx26-qa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 4px;
  border-radius: var(--nx26-r);
  text-align: center;
  transition: background .15s ease;
}
.nx26-qa-item:hover { background: var(--nx26-canvas); }
.nx26-qa-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nx26-canvas);
  color: var(--nx26-primary);
  font-size: 21px;
  border: 1px solid var(--nx26-line);
}
.nx26-qa-item:hover .nx26-qa-ico {
  background: var(--nx26-primary-soft);
  border-color: var(--nx26-primary-line);
}
.nx26-qa-item > span:last-child {
  font-family: var(--nx26-font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--nx26-ink);
  line-height: 1.25;
  max-width: 100%;
}

/* ── Kepala katalog ───────────────────────────────────────────────────────── */

.nx26-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.nx26-catalog-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.nx26-searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  min-width: 250px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-pill);
}
.nx26-searchbox i { color: var(--nx26-muted); font-size: 16px; }
.nx26-searchbox input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--nx26-font-body);
  font-size: 13px;
  color: var(--nx26-ink);
}
.nx26-searchbox:focus-within {
  border-color: var(--nx26-secondary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, .14);
}

.nx26-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* ── Trust + statistik ────────────────────────────────────────────────────── */

.nx26-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nx26-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  background: var(--nx26-surface);
  border: 1px solid var(--nx26-line);
  border-radius: var(--nx26-r-lg);
}
.nx26-trust-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--nx26-r-sm);
  background: var(--nx26-primary-soft);
  color: var(--nx26-primary);
  font-size: 19px;
}
.nx26-trust-card strong {
  display: block;
  font-family: var(--nx26-font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.nx26-trust-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--nx26-muted);
}

.nx26-stats-strip {
  background: #0060AF;
  color: #fff;
  padding: 22px 0;
}
.nx26-stats-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.nx26-stats-in > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.nx26-stats-in > div:first-child { border-left: 0; padding-left: 0; }
.nx26-stats-in strong {
  font-family: var(--nx26-font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.nx26-stats-in span { font-size: 12px; color: rgba(255, 255, 255, .78); }

.nx26-cta--split { align-items: center; }

@media (max-width: 1180px) {
  .nx26-hero2-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .nx26-qa { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
}

@media (max-width: 960px) {
  .nx26-hero2-grid { grid-template-columns: 1fr; }
  .nx26-hero2-banner { min-height: 250px; padding: 24px; }
  .nx26-catalog-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nx26-catalog-tools { width: 100%; justify-content: space-between; }
  .nx26-searchbox { flex: 1; min-width: 0; }
  .nx26-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx26-topbar-meta { display: none; }
}

@media (max-width: 760px) {
  .nx26-hero2-mini { grid-template-columns: 1fr; }
  .nx26-qa { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx26-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .nx26-stats-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .nx26-topbar { font-size: 11px; }
  .nx26-topbar-promo > span:last-child { max-width: 62vw; }
  .nx26-hero2 { padding: 12px 0 6px; }
  .nx26-hero2-banner { min-height: 220px; padding: 20px; }
  .nx26-hero2-title { font-size: 24px; }
  .nx26-hero2-sub { font-size: 12.5px; }
  .nx26-quick { padding: 14px; }
  .nx26-step2-row { grid-template-columns: 1fr; }
  .nx26-trust-grid { grid-template-columns: 1fr; }
  .nx26-qa { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 8px; }
  .nx26-qa-ico { width: 38px; height: 38px; font-size: 19px; }
  .nx26-qa-item > span:last-child { font-size: 10.5px; }
  .nx26-toplink { display: none; }
  .nx26-avatar { display: none; }
  .nx26-searchbox { min-height: 40px; }
  .nx26-stats-in strong { font-size: 20px; }
}

/* ── Drawer navigasi mobile ───────────────────────────────────────────────── */

@media (max-width: 960px) {
  .nx26-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 16px 12px;
    background: var(--nx26-surface);
    border-bottom: 1px solid var(--nx26-line);
    box-shadow: var(--nx26-shadow-lg);
  }
  .nx26-nav.is-open a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--nx26-line);
  }
  .nx26-nav.is-open a:last-child { border-bottom: 0; }
  .nx26-nav.is-open a[aria-current="page"]::after { display: none; }
}

/**
 * Di bawah 380px, brand dan tombol aksi tidak lagi muat sebaris.
 * Tombol tema disembunyikan (tema tetap mengikuti preferensi sistem) dan lockup diperkecil.
 */
@media (max-width: 380px) {
  .nx26-header-actions .nx26-btn--icon { display: none; }
  /* Di 320px dompet + Masuk/Daftar + burger masih meluber; aksi dirampingkan
     (ukuran lockup diatur brand-size.css) supaya tetap satu baris. */
  .nx26-header-actions { gap: 6px; }
  .nx26-header-in { gap: 8px; }
  .nx26-hide-sm { display: none; }
  .nx26-header-actions .nx26-btn--primary { padding: 0 10px; font-size: 12px; }
  .nx26-header-actions .nx26-burger { width: 36px; height: 36px; }
  .nx26-header-actions .nx26-wallet-btn { height: 34px; padding: 0 8px; }
}

/* Anti-slop: tipografi sistem, tanpa gradasi dekoratif */
:root {
  --nx26-font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --nx26-font-display: "Segoe UI", Arial, Helvetica, sans-serif;
}
body.nx26, body.nx26 * { font-family: "Segoe UI", Arial, Helvetica, sans-serif !important; }
.nx26-ico{width:1.05em;height:1.05em;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:-0.14em}
.nx26-mini-ico{background:#E8EEFA!important;color:#0060AF!important}
.nx26-promo-art{width:200px;height:auto;border-radius:12px;flex:0 0 auto}
@media (max-width:720px){.nx26-promo-art{display:none}}

/* Hero: art game terlihat jelas, bukan abstrak */
.nx26-hero2-art{filter:none!important;opacity:1!important}
.nx26-hero2-banner::after{background:linear-gradient(90deg,rgba(0,32,64,.86) 0%,rgba(0,32,64,.55) 46%,rgba(0,32,64,.12) 100%)!important}
/* Banner promo: latar preview game */
.nx26-cta{position:relative;overflow:hidden;background-image:url("/images/hero-promo-valorant.webp")!important;background-size:cover!important;background-position:center 28%!important}
.nx26-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,32,64,.92),rgba(0,32,64,.55));pointer-events:none}
.nx26-cta > *{position:relative;z-index:1}

/* Kartu katalog: tanpa badge menutupi gambar, tanpa tombol semu. */
body.nx26 .nx-product-card{padding:0 0 12px!important;border-radius:14px!important;background:#fff!important;gap:0}
body.nx26 .nx-product-card::before,
body.nx26 .nx-product-card::after{content:none!important;display:none!important}
body.nx26 .nx-product-card .nx-product-logo{aspect-ratio:1/1!important;padding:16px!important;background:#F7F9FC!important;margin:0 0 10px!important}
body.nx26 .nx-product-card > strong{margin:0 12px!important;font-size:13px!important;line-height:1.35!important;min-height:2.7em!important}
body.nx26 .nx-product-card > small{margin:2px 12px 0!important;font-size:11px!important}
body.nx26 .nx-product-price{margin:auto 12px 0!important;padding-top:10px!important;font-size:12.5px!important;border-top:1px solid var(--nx26-line);margin-top:10px!important}
body.nx26 .nx-product-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(16,42,80,.10)!important}
/* Kartu katalog: hanya logo, nama, kategori. */
body.nx26 .nx-product-card .nx-product-price{display:none!important}
body.nx26 .nx-product-card{padding-bottom:14px!important}
body.nx26 .nx-product-card > strong{margin:0 12px!important}
body.nx26 .nx-product-card > small{margin:3px 12px 0!important}

/* Panel top up kilat: field jelas, nominal rata, total sejajar */
.nx26-quick-title h2{font-size:15px}
.nx26-quick-title p{font-size:11.5px}
.nx26-quick .nx26-input,.nx26-quick .nx26-select{border:1px solid #CBD5E1!important;background:#fff!important;min-height:42px!important;font-size:13px!important}
.nx26-quick .nx26-input::placeholder{font-size:12.5px}
.nx26-quick .nx26-label{font-size:11.5px!important;font-weight:600!important;letter-spacing:.01em;margin-bottom:6px!important}
.nx26-step2{gap:10px!important}
.nx26-step2-num{margin-top:3px!important}
.nx26-step2-row{gap:10px!important}
.nx26-quick .nx26-nominal{min-height:60px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:9px 10px;border:1px solid #D5DDEA!important}
.nx26-quick .nx26-nominal strong,.nx26-quick .nx26-nominal span{font-size:12px}
.nx26-quick .nx26-nominal[aria-pressed="true"]{padding:8px 9px;border:2px solid var(--nx26-primary)!important;background:#EFF6FF!important;box-shadow:none}
.nx26-quick-total{align-items:baseline!important}
.nx26-quick-total strong{line-height:1!important}
.nx26-quick .nx26-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;box-shadow:0 6px 16px -8px rgba(0,82,156,.55)}
@media (max-width:640px){
  .nx26-games{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  .nx26-games .nx-product-card .nx-product-logo{padding:8px!important;margin-bottom:6px!important}
  .nx26-games .nx-product-card > strong{font-size:10.5px!important;margin:0 7px!important;min-height:2.8em!important}
  .nx26-games .nx-product-card > small{font-size:9.5px!important;margin:1px 7px 0!important}
  .nx26-games .nx-product-card{padding-bottom:9px!important}
  .nx26-qa{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:820px){ body.nx26{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))} }

/* Anti luapan teks */
.nx26-table{display:block!important;width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.nx26-table table{min-width:520px}
@media (max-width:640px){
  .rs-subnav{flex-wrap:wrap!important;row-gap:8px!important}
  .rs-subnav-cta{max-width:100%!important;white-space:normal!important}
}
@media (max-width:640px){
  .rs-subnav .rs-container{flex-wrap:wrap!important;overflow-x:visible!important;row-gap:4px;padding-top:6px;padding-bottom:6px}
  .rs-subnav .rs-subnav-cta{margin-left:0!important;width:100%;justify-content:center;border:1px solid var(--rs-line);white-space:normal!important}
}
.nx-hero-inner{max-width:100%!important;overflow-wrap:anywhere}
@media (max-width:640px){
  .nx26-table{table-layout:fixed!important;width:100%!important;font-size:11px!important}
  .nx26-table th,.nx26-table td{word-break:break-word!important;padding:8px 6px!important}
}
@media (max-width:640px){
  .nx26-table{display:table!important;table-layout:fixed!important;width:100%!important;max-width:100%!important;font-size:11px!important;overflow:visible!important}
  .nx26-table th,.nx26-table td{word-break:break-word!important;padding:7px 5px!important}
}
.nx-hero-inner{min-width:0!important;overflow-wrap:anywhere!important}
@media (max-width:640px){ .nx26-table{min-width:0!important} }
@media (max-width:820px){
  .nx-bottom-nav a{min-width:0!important;padding:0 4px!important}
  .nx-bottom-nav a span,.nx-bottom-nav a small,.nx-bottom-nav a b{font-size:10px!important;line-height:1.15!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important;text-align:center}
}

/* Cegah dark-mode otomatis browser pada halaman terang */
html{color-scheme:light!important}
@media (prefers-color-scheme:dark){
  html,body{background:#F4F7FB!important;color:#0F172A!important}
  input,select,textarea{background:#fff!important;color:#0F172A!important;border-color:#CBD5E1!important}
  input::placeholder,textarea::placeholder{color:#64748B!important}
  input:-webkit-autofill,input:-webkit-autofill:focus{
    -webkit-text-fill-color:#0F172A!important;
    -webkit-box-shadow:0 0 0 1000px #fff inset!important;
    caret-color:#0F172A!important;
  }
}
.nx26-cta{background-image:url("/images/promo-banner-valorant.svg")!important;background-size:cover!important;background-position:center!important}
.nx26-cta p{color:rgba(255,255,255,.93)!important;font-size:14px!important}

/* Pemilih game custom */
.nx-pick{position:relative}
.nx-pick__btn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;border:1px solid #CBD5E1;border-radius:10px;background:#F8FAFC;color:var(--nx26-ink);font-size:13.5px;font-weight:600;text-align:left;cursor:pointer}
.nx-pick__btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.nx-pick__btn:focus-visible{outline:none;border-color:var(--nx26-primary);box-shadow:0 0 0 3px rgba(31,78,216,.14)}
.nx-pick__panel{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;background:#fff;border:1px solid #E4E9F2;border-radius:12px;box-shadow:0 18px 44px rgba(15,42,80,.18);padding:8px;overflow:hidden}
.nx-pick__panel[hidden]{display:none!important}
.nx-pick__search{width:100%;min-height:38px;border:1px solid #E2E8F0;border-radius:8px;padding:0 10px;font-size:13px;background:#fff;color:#0F172A;margin-bottom:6px}
.nx-pick__list{max-height:248px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;overscroll-behavior:contain}
.nx-pick__item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#0F172A;font-size:13px;text-align:left;cursor:pointer}
.nx-pick__item:hover{background:#F1F5FB}
.nx-pick__item.is-active{background:#E6F0FA;color:#0060AF;font-weight:700}
.nx-pick__item svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nx-pick__empty{margin:8px;font-size:12.5px;color:#5F6B7F}
@media (max-width:820px){
  .nx-bottom-nav a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;overflow:hidden!important}
  .nx-bottom-nav a svg{width:20px!important;height:20px!important;flex:0 0 auto!important}
  .nx-bottom-nav a span,.nx-bottom-nav a small,.nx-bottom-nav a b{font-size:9.5px!important;line-height:1!important;margin:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}

/* Panel tab yang tidak aktif benar-benar disembunyikan (display:flex menimpa [hidden]) */
.nx26-step2[hidden],.nx26-quick-foot[hidden]{display:none!important}
.nx26-wallet-btn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--nx26-line);background:#fff;color:var(--nx26-primary);text-decoration:none;flex:0 0 auto}
.nx26-wallet-btn:hover{background:var(--nx26-primary-soft);border-color:var(--nx26-primary-line)}
.nx26-wallet-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.nx26-wallet-amount{font-family:var(--nx26-font-display);font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--nx26-ink)}
@media (max-width:520px){.nx26-wallet-btn{padding:0 9px;gap:5px}.nx26-wallet-amount{font-size:11.5px}}

/* Strip atas dihapus: tampilan lebih bersih tanpa pita promo tipis. */
.nx26-topbar{display:none!important}

/* Nominal: huruf tidak terlalu tebal, badge QRIS tidak terpotong */
.nx26-nominal strong{font-weight:600!important}
.nx26-nominal span{font-weight:600!important}
.nx26-quick-flag{flex:0 0 auto!important;white-space:nowrap!important;min-width:52px;justify-content:center}
@media (min-width:641px){.nx26-nominals{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Kartu topup disamakan dengan kartu beranda */
body.nx26 .card{background:#fff!important;border:1px solid #E4E9F2!important;border-radius:14px!important;padding:0 0 12px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;text-align:left!important}
body.nx26 .card::before,body.nx26 .card::after{content:none!important;display:none!important}
body.nx26 .card img{width:100%!important;aspect-ratio:1/1!important;object-fit:contain!important;padding:16px!important;background:#F7F9FC!important;margin:0 0 10px!important}
body.nx26 .card b{font-size:13px!important;font-weight:600!important;margin:0 12px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:2.7em}
body.nx26 .card small{font-size:11px!important;color:#5F6B7F!important;margin:2px 12px 0!important}
body.nx26 .card .price{margin:auto 12px 0!important;padding-top:10px!important;border-top:1px solid #EEF2F8!important;font-size:12.5px!important;color:#0060AF!important;font-weight:600!important}
body.nx26 .card .price strong{font-weight:600!important}
