/* =========================================================
   KINE-FEL — TOP-UP PAGE CSS
   KachiShop-style two-column layout
   ========================================================= */

/* ── Game Hero Header ─────────────────────────────────── */
.game-hero {
  position: relative;
  height: 130px;
  background-size: cover;
  background-position: center top;
  margin-bottom: 0;
}
.game-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--game-hero-overlay);
}
.game-hero .container {
  height: 100%;
}
.game-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;       /* vertical center */
  padding-bottom: 0;
}
.game-hero-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.game-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.game-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.game-hero-text h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}
@media (max-width: 480px) { .game-hero-text h1 { font-size: 18px; } }

.badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22,163,74,0.35);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Two-column layout ────────────────────────────────── */
.topup-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  padding: 20px 0 40px;
}
@media (max-width: 900px) {
  .topup-layout {
    grid-template-columns: 1fr;
  }
  .topup-sidebar { order: -1; }
}

/* ── Section Cards (numbered sections) ───────────────── */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Player ID Section ────────────────────────────────── */
.id-inputs-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) { .id-inputs-row { grid-template-columns: 1fr; } }

.id-input-wrap { position: relative; }
.id-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.id-input::placeholder { color: var(--text-dim); }
.id-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

/* IGN Status */
.ign-status {
  margin-top: 10px;
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
.ign-status.loading      { color: var(--text-muted); }
.ign-status.success      { color: var(--green); }
.ign-status.warning      { color: var(--yellow); }
.ign-status.unavailable  { color: var(--cyan); }
.ign-status.error        { color: var(--red); }
.ign-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Help tooltip toggle */
.help-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
}
.help-content {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
  display: none;
}
.help-content.open { display: block; }

/* ── Package Grid ─────────────────────────────────────── */
.pkg-section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.package-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
@media (max-width: 900px) {
  .package-grid, .package-grid-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
}

.package-tile {
  position: relative;
  background: var(--bg-section);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
@media (max-width: 900px) {
  .package-tile {
    min-height: 86px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
  }
}
@media (hover: hover) {
  .package-tile:hover { border-color: var(--border-strong); background: var(--bg-hover); }
}
.package-tile.selected {
  border-color: var(--orange);
  background: rgba(22, 163, 74, 0.08);
}
@media (max-width: 900px) {
  .package-tile.selected { background: rgba(22, 163, 74, 0.06); }
}
.package-tile.hidden-pkg { display: none; }

.package-tile-out {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
  filter: grayscale(0.5);
  overflow: hidden;
}

/* Shared diagonal STOCK OUT ribbon (package tiles + picker cards) */
.stock-ribbon {
  position: absolute;
  top: 14px;
  left: -26px;
  z-index: 3;
  background: #e53935;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 34px;
  transform: rotate(-45deg);
  transform-origin: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  text-transform: uppercase;
  pointer-events: none;
}

.pkg-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}
.package-tile.selected .pkg-check { display: flex; }

.pkg-info { flex: 1; }
.pkg-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.pkg-bonus {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 500;
}
.pkg-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-heading);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Featured badge ──────────────────────────────────────────── */
.pkg-featured-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, hsl(var(--secondary)), hsl(var(--primary)));
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px 3px 6px;
  border-radius: 0 0 6px 0;
  text-transform: uppercase;
  pointer-events: none;
  line-height: 1.3;
  z-index: 2;
}
.pkg-is-featured {
  border-color: hsl(var(--primary) / 0.55) !important;
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.25) !important;
}

/* ── Featured Section (shown before Select Package) ─────────── */
.featured-section-card {
  border-color: hsl(var(--primary) / 0.3);
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.04) 0%,
    var(--bg-card) 60%
  );
}
.featured-section-card .section-title {
  color: hsl(var(--primary));
}
.featured-pkg-grid {
  pointer-events: auto;
}

/* ── Discount display ────────────────────────────────────────── */
.pkg-was-price {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 1px;
}
.pkg-discount-pct {
  display: inline-block;
  background: hsl(0 72% 51%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* gc-denom and sub-plan featured highlight */
.gc-denom-featured,
.sub-plan-featured {
  border-color: hsl(var(--primary) / 0.55) !important;
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.25) !important;
}
.gc-denom,
.sub-plan {
  position: relative;
  overflow: visible;
}

.pkg-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-left: 10px;
  flex-shrink: 0;
  border-radius: 8px;
}

/* Show more */
.show-more-btn {
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.show-more-btn:hover { background: var(--bg-section); color: var(--text); }

/* ── Payment Method Section ───────────────────────────── */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px) {
  .payment-grid { grid-template-columns: 1fr; gap: 8px; }
}

.payment-tile {
  background: var(--bg-section);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
@media (max-width: 900px) {
  .payment-tile { min-height: 54px; padding: 12px 14px; border-radius: 10px; }
}
@media (hover: hover) {
  .payment-tile:hover { border-color: var(--border-strong); background: var(--bg-hover); }
}
.payment-tile.selected {
  border-color: var(--orange);
  background: var(--orange-glow);
}

.pay-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}
@media (max-width: 900px) {
  .pay-check { width: 16px; height: 16px; font-size: 8px; }
}
.payment-tile.selected .pay-check { display: flex; }

.payment-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .payment-logo { width: 40px; height: 40px; }
}
.payment-info { flex: 1; }
.payment-name { font-size: 14px; font-weight: 600; }
.payment-price { font-size: 13px; color: var(--text-muted); }

/* Wallet tile */
#walletPayTile {
  background: rgba(22, 163, 74, 0.05);
  border-color: rgba(22, 163, 74, 0.3);
}
#walletPayTile.selected {
  border-color: var(--orange);
  background: var(--orange-glow);
}
#walletPayTile .payment-name { color: var(--orange); }
#walletBalDisplay { color: var(--orange); font-size: 12px; }

/* ── Coupon Row ───────────────────────────────────────── */
.coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.coupon-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.coupon-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
}
.coupon-input::placeholder { color: var(--text-dim); }
.coupon-input:focus { border-color: var(--blue); }
.coupon-apply-btn {
  background: var(--bg-section);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
}
@media (hover: hover) {
  .coupon-apply-btn:hover { background: var(--bg-hover); }
}
.coupon-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}
.coupon-status.success { color: var(--green); }
.coupon-status.error   { color: var(--red); }

/* ── Game Info Section ────────────────────────────────── */
.game-info-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

/* Mobile toggle button — hidden on desktop */
.gi-toggle {
  display: none;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.gi-toggle-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gi-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.game-info-section.open .gi-chevron {
  transform: rotate(180deg);
}

/* Desktop section title — hidden on mobile */
.gi-desktop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 18px 20px 0;
}

/* Body */
.gi-body {
  padding: 12px 20px 20px;
}
.gi-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}
.gi-block-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

/* How to Top Up steps */
.gi-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gi-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.gi-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* How to find ID guide */
.gi-id-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 8px;
}
.gi-id-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.gi-id-badge {
  font-size: 15px;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1.3;
}
.gi-id-example {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
}
.gi-id-example code {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11.5px;
  font-family: monospace;
}
.gi-guide-img {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: 12px;
}

/* ── Mobile overrides for game-info-section ───────────── */
@media (max-width: 900px) {
  .topup-main {
    display: flex;
    flex-direction: column;
  }
  /* Move to top of column on mobile */
  .game-info-section {
    order: -1;
    margin-bottom: 12px;
  }
  /* Show toggle, hide desktop title */
  .gi-toggle { display: flex; }
  .gi-desktop-title { display: none; }
  /* Body hidden until toggled open */
  .gi-body { display: none; padding: 0 16px 16px; }
  .game-info-section.open .gi-body { display: block; }
  /* Divider line between toggle and body when open */
  .game-info-section.open .gi-toggle {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 0;
  }
}

/* ── Trust Strip (redesigned) ─────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 0 8px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.trust-item:hover {
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.12), 0 4px 12px rgba(22, 163, 74, 0.08);
}
.trust-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon-green  { background: rgba(22, 163, 74, 0.12); }
.trust-icon-teal   { background: rgba(5, 150, 105, 0.12); }
.trust-icon-yellow { background: rgba(245, 158, 11, 0.12); }
.trust-item .ti-icon {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
}
.trust-item .ti-icon-teal   { stroke: var(--blue); }
.trust-item .ti-icon-yellow { stroke: var(--yellow); }
.trust-item-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.trust-item-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .trust-strip { gap: 8px; }
  .trust-item { padding: 12px 6px; gap: 6px; }
  .trust-icon-wrap { width: 32px; height: 32px; }
  .trust-item .ti-icon { width: 16px; height: 16px; }
  .trust-item-title { font-size: 11.5px; }
  .trust-item-sub { font-size: 10px; }
}

/* ── Sticky Sidebar (desktop) ─────────────────────────── */
.topup-sidebar { position: sticky; top: 72px; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-header {
  background: var(--bg-section);
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.sidebar-body { padding: 16px 18px; }

.sidebar-empty {
  text-align: center;
  padding: 20px 0;
  color: var(--text-dim);
  font-size: 13px;
}
.sidebar-empty .si-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  stroke: currentColor;
  opacity: 0.5;
  display: block;
}

.sidebar-pkg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-pkg-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-pkg-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.sidebar-price-rows { margin-bottom: 14px; }
.sidebar-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}
.sidebar-price-row.total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
}
.sidebar-price-row.discount .value { color: var(--green); }

.btn-pay {
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  padding: 13px;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-pay:hover { opacity: 0.92; box-shadow: 0 0 24px var(--orange-glow); }
.btn-pay:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Mobile Sticky Bottom Bar ─────────────────────────── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  padding: 10px 16px;
  align-items: center;
  gap: 12px;
}
.mobile-sticky-bar.visible { display: flex; }
@media (max-width: 900px) {
  .mobile-sticky-bar { display: flex; }
  /* Hide sidebar on mobile since we have bottom bar */
  .topup-sidebar { display: none; }
}

.sticky-info { flex: 1; }
.sticky-pkg-name { font-size: 13px; font-weight: 600; display: block; }
.sticky-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-heading);
}
.btn-pay-mobile {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.btn-pay-mobile:hover { opacity: 0.9; }
.btn-pay-mobile:disabled { opacity: 0.4; cursor: not-allowed; }

/* Body padding for mobile sticky bar */
@media (max-width: 900px) {
  body { padding-bottom: 72px; }
}

/* ── Product Type Primary Tabs ────────────────────────── */
.pt-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pt-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-strong);
}
.pt-tab-btn.active {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--orange-glow);
}
.pt-tab-content { display: none; }
.pt-tab-content.active { display: block; }

/* ── Package Categorized Tabs ─────────────────────────── */
.pkg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 12px;
}
.pkg-tab-btn {
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pkg-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-strong);
}
.pkg-tab-btn.active {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--orange-glow);
}
.pkg-tab-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.pkg-tab-content {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
  /* No forced layer promotion (translateZ/backface removed): permanently
     promoting this tall package grid to its own GPU backing store was itself
     causing the garbled pixel band on mobile. Let it paint on the normal layer. */
}
/* [FIX] Disable fadeIn on mobile — opacity animation promotes the tall package
   grid to its own compositor layer at page load, adding to GPU layer pressure
   (sticky header + fixed bottom bar + fixed sticky-bar already compete for
   limited Android texture memory). Instant show is imperceptible on mobile. */
@media (max-width: 900px) {
  .pkg-tab-content { animation: none !important; }
}
.pkg-tab-content.active {
  display: block;
}
/* Opacity-only fade — animating translateY here promoted the entire package
   grid to a transient GPU layer, producing static-bar artifacts on mobile */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Category tab overflow / More button ─────────────────── */
.pkg-tab-overflow {
  display: none !important;
}
.pkg-cats-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1.5px dashed var(--border-strong);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}
.pkg-cats-more-btn:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary)/.08);
}
.pkg-cats-more-count {
  font-size: 11px;
  opacity: 0.75;
}

/* ── Cached IGN Dropdown ──────────────────────────────────── */
.cached-ign-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  animation: slideDown 0.2s ease-out;
}
.cached-ign-list {
  display: flex;
  flex-direction: column;
  padding: 4px;
}
.cached-ign-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
  font-size: 13px;
}
.cached-ign-item:hover {
  background: var(--bg-hover);
}
.cached-ign-item-id {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}
.cached-ign-item-user {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
}
.cached-ign-item-ign {
  font-size: 12px;
  color: var(--text-muted);
}
.cached-ign-item-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Make id-input-wrap position:relative for absolute dropdown positioning */
.id-input-wrap {
  position: relative;
}

/* ── Mobile Overrides (KachiShop Alignment) ───────────────── */
@media (max-width: 900px) {
  /* 1. Game Hero Card layout */
  .game-hero {
    margin: 12px 12px 0 12px;
    border-radius: 12px;
    height: 140px !important;
    overflow: hidden;
  }
  .game-hero::after {
    border-radius: 12px;
    background: var(--game-hero-overlay-mobile);
  }
  .game-hero .container {
    padding: 0;
    height: 100%;
  }
  .game-hero-inner {
    align-items: flex-end;
    padding-bottom: 0;
  }
  .game-hero-info {
    background: var(--bg-card);
    width: 100%;
    padding: 10px 14px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border);
    gap: 12px;
    align-items: center;
  }
  .game-hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.25);
    /* [FIX] translateY removed — `transform` on an element near the sticky header
       promotes it to its own compositor layer. margin gives the same visual lift
       without forcing GPU promotion. box-shadow also dropped — same scroll-frame
       repaint cost. */
    margin-top: -20px;
    margin-bottom: -10px;
  }
  .game-hero-text {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .game-hero-text h1 {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--text);
  }
  .badge-partner {
    display: none !important;
  }
  /* Show a subtle chevron indicator on right just like KachiShop (pure CSS chevron) */
  .game-hero-text::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(45deg);
    margin-right: 4px;
  }

  /* 2. Top-up main container padding */
  .topup-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 10px 12px 40px 12px !important;
  }
  
  .section-card {
    padding: 16px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }

  /* 3. Player ID side-by-side inputs on mobile */
  .id-inputs-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  .id-input-wrap {
    min-width: 0;
  }
  .id-input {
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    background: var(--bg-input) !important;
    border-color: var(--border-strong) !important;
  }

  /* 4. Package Selection Grid - force 2-columns on mobile */
  .package-grid, .package-grid-wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  /* 5. Package Tiles — image-led card */
  .package-tile {
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 10px 10px 12px;
    background: var(--bg-section);
    border-radius: 10px;
    border-width: 1.5px;
    overflow: hidden;
  }
  .package-tile.selected {
    background: rgba(22, 163, 74, 0.07) !important;
  }

  /* Diamond image — moved to TOP-RIGHT, 44px (was 26px bottom-right) */
  .pkg-img {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    object-fit: contain !important;
    opacity: 0.92 !important;
  }

  .pkg-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-right: 52px !important; /* clear space for 44px image + 8px gap */
  }
  .pkg-name {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    line-height: 1.3 !important;
    margin-bottom: 1px !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }
  .pkg-bonus {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: var(--cyan) !important;
    margin-bottom: 3px !important;
  }
  .pkg-was-price {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }
  .pkg-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--orange) !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .pkg-discount-pct {
    font-size: 9px !important;
    padding: 1px 4px !important;
  }
  /* Checkmark stays top-right but sits on top of the image */
  .pkg-check {
    top: 6px !important;
    right: 6px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 8px !important;
    z-index: 2 !important;
  }

  /* 7. Mobile Sticky Bottom Bar — GPU-safe (no box-shadow, no backdrop-filter) */
  .mobile-sticky-bar {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-strong) !important;
    padding: 10px 16px !important;
    height: 68px !important;
    /* box-shadow removed — shadows on position:fixed elements cause continuous
       GPU repaints during scroll, contributing to texture corruption artifacts
       on Android. A solid border-top provides the visual separation instead. */
    box-shadow: none !important;
  }
  .sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .sticky-pkg-name {
    font-size: 11px !important;
    color: var(--text-dim) !important;
    font-weight: 500 !important;
  }
  .sticky-total {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--orange) !important;
  }
  .btn-pay-mobile {
    padding: 10px 24px !important;
    border-radius: 30px !important; /* Rounded pill Pay button */
    font-size: 14px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    /* No box-shadow — this button lives inside the position:fixed .mobile-sticky-bar;
       a shadow here repaints with the bar every scroll frame (same rule that
       removed the bar's own shadow at line ~1286). Gradient provides emphasis. */
    box-shadow: none !important;
  }
  body {
    padding-bottom: 68px !important;
  }
}

/* ── Lift sticky bar above bottom-nav (both visible at ≤768px) ── */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    bottom: 64px !important;
  }
  body {
    padding-bottom: 132px !important; /* 64px bottom-nav + 68px sticky bar */
  }
}

/* ── Extra Mobile Responsive Overrides for smaller devices ── */
@media (max-width: 480px) {
  .topup-layout {
    padding: 10px 8px 40px 8px !important;
  }
  .section-card {
    padding: 12px !important;
    border-radius: 10px !important;
  }
  .coupon-input {
    min-width: 0;
  }
}


/* ═══════════════════════════════════════════════════════════
   STEP PROGRESS BAR
   ═══════════════════════════════════════════════════════════ */
.step-progress-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.spb-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  transition: all 0.35s ease;
}
.spb-dot.spb-locked {
  background: var(--bg-section);
  color: var(--text-dim);
  border: 2px solid var(--border-strong);
}
.spb-dot.spb-active {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 0 14px var(--orange-glow);
}
.spb-dot.spb-done {
  background: linear-gradient(135deg, var(--green) 0%, #16a34a 100%);
  color: #fff;
  border: 2px solid transparent;
}
.spb-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.spb-line {
  flex: 1;
  height: 2px;
  background: var(--border-strong);
  border-radius: 1px;
  margin: 0 8px;
  margin-bottom: 14px; /* align with dot center */
  transition: background 0.4s ease;
}
.spb-line.spb-line-done {
  background: var(--green);
}
@media (max-width: 480px) {
  .spb-label { display: none; }
  .spb-dot { width: 26px; height: 26px; font-size: 12px; }
  .step-progress-bar { padding: 10px 14px; }
}

/* ═══════════════════════════════════════════════════════════
   STEP BADGE (inside section title)
   ═══════════════════════════════════════════════════════════ */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.step-badge-locked {
  background: var(--bg-section);
  color: var(--text-dim);
  border: 1.5px solid var(--border-strong);
  opacity: 0.6;
}
.step-badge-active {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 0 10px var(--orange-glow);
}
.step-badge-done {
  background: var(--green);
  color: #fff;
  border: 1.5px solid transparent;
}

/* ═══════════════════════════════════════════════════════════
   SECTION LOCK / UNLOCK STATES
   ═══════════════════════════════════════════════════════════ */
.section-card {
  position: relative; /* needed for overlay positioning */
}

/* Locked state: slightly dimmed */
.section-card.step-locked {
  opacity: 0.72;
}

/* Overlay that blocks interaction */
.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 36, 0.82); /* solid dim — backdrop blur removed (mobile GPU compositing glitch) */
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: not-allowed;
  transition: opacity 0.3s ease;
  /* Contain repaints to this element's box */
  contain: layout;
}
.section-overlay.overlay-hiding {
  opacity: 0;
  pointer-events: none;
}

.overlay-lock-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
}
.overlay-lock-icon {
  width: 28px;
  height: 28px;
  opacity: 0.5;
  stroke: var(--text-muted);
}

/* Unlock entry animation */
@keyframes sectionUnlock {
  from { opacity: 0.4; transform: translateY(10px); }
  to   { opacity: 1;   transform: translateY(0); }
}
.section-card.step-unlocking {
  animation: sectionUnlock 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* On mobile, use opacity-only unlock to prevent scroll-time layer promotion */
@media (max-width: 900px) {
  @keyframes sectionUnlock {
    from { opacity: 0.5; }
    to   { opacity: 1; }
  }
}

/* ═══════════════════════════════════════════════════════════
   PACKAGE TILE TAP MICRO-ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes tileTap {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.95); }
  70%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.package-tile.tile-tap-anim {
  animation: tileTap 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
/* [FIX] Disable tap animation on mobile — each animated tile gets a transient GPU
   layer, and with 20+ package cards this exceeds mobile GPU texture limits. */
@media (max-width: 900px) {
  .package-tile.tile-tap-anim { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PAY BUTTON PULSE (active state)
   ═══════════════════════════════════════════════════════════ */
/* payPulse animation removed — infinite box-shadow animation on fixed elements
   causes GPU layer thrashing and scroll glitches on Android Chrome */
.btn-pay:not(:disabled) {
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.35);
}
/* [FIX] btn-pay-mobile lives inside .mobile-sticky-bar (position: fixed) — any
   static shadow on it forces a GPU repaint on every scroll frame. Desktop only. */
@media (min-width: 901px) {
  .btn-pay-mobile:not(:disabled) {
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  }
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR PLAYER VERIFIED ROW
   ═══════════════════════════════════════════════════════════ */
.sidebar-player-row {
  display: none; /* shown via JS */
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.sidebar-player-row svg {
  flex-shrink: 0;
  stroke: var(--green);
}
@keyframes playerRowAppear {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sidebar-player-row.player-row-appear {
  animation: playerRowAppear 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE STICKY BAR — 4 STATES REWORK
   ═══════════════════════════════════════════════════════════ */

/* Always visible on mobile */
@media (max-width: 900px) {
  .mobile-sticky-bar {
    display: flex !important;
  }
}

/* State sub-panels */
.msb-state {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  animation: msbFadeIn 0.25s ease;
}
/* opacity-only fade — translateY on fixed-position children triggers
   new compositor layers mid-scroll and causes glitch artifacts on mobile */
@keyframes msbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* [FIX] Disable state-transition animations on mobile — creating transient GPU
   layers inside position:fixed elements mid-scroll causes artifacts. */
@media (max-width: 900px) {
  .msb-state { animation: none !important; }
}

/* ── State A: Enter ID prompt ── */
.msb-prompt-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}
.msb-prompt-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── State B: bounce arrow ── */
.msb-arrow-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.msb-arrow-bounce {
  stroke: var(--orange);
  /* [FIX] Animation disabled by default (mobile) — an infinite animation inside
     a position:fixed element keeps a GPU layer permanently active, causing
     garbled-pixel-band artifacts on Android Chrome. Enabled on desktop only. */
  animation: none;
  isolation: isolate;
}
@media (min-width: 901px) {
  .msb-arrow-bounce {
    animation: arrowBounce 1.2s ease-in-out infinite;
  }
}

/* ── State C & D: package info ── */
.msb-pkg-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.msb-pkg-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.msb-pkg-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-heading);
}
.msb-pkg-price.msb-total {
  color: var(--orange);
}
.msb-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  flex-shrink: 0;
}
.msb-hint svg {
  stroke: var(--text-dim);
  flex-shrink: 0;
}
.msb-state-c .msb-state-d { flex: 1; }

/* State D msb-state fills row properly */
.msb-state-d {
  flex: 1;
  justify-content: space-between;
}

/* Override existing mobile bar defaults that hide info */
@media (max-width: 900px) {
  .mobile-sticky-bar.state-a,
  .mobile-sticky-bar.state-b,
  .mobile-sticky-bar.state-c {
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .mobile-sticky-bar.state-d {
    align-items: center;
    gap: 12px;
  }
  /* State D: ensure button is visible */
  .mobile-sticky-bar.state-d .btn-pay-mobile {
    display: flex !important;
    align-items: center;
    padding: 10px 20px !important;
  }
}

/* IGN verify skeleton placeholder */
.ign-skeleton { display:inline-block; width:96px; height:12px; vertical-align:middle; margin-left:4px; border-radius:4px; }

/* ── Login Wall Card ───────────────────────────────────── */
.login-wall-card {
  border: 1.5px dashed hsl(var(--primary) / 0.35) !important;
  background: hsl(var(--primary) / 0.04) !important;
}
.login-wall-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  gap: 10px;
}
.login-wall-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 4px;
}
.login-wall-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.login-wall-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  max-width: 280px;
}
.login-wall-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.btn-login-wall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.12s;
}
@media (hover: hover) and (pointer: fine) {
  .btn-login-wall:hover { opacity: 0.88; transform: translateY(-1px); }
}
.btn-login-wall-primary {
  background: hsl(var(--primary));
  color: #fff;
}
html:not(.dark) .btn-login-wall-primary {
  color: #0f172a;
}
.btn-login-wall-secondary {
  background: hsl(var(--card));
  color: var(--text);
  border: 1px solid hsl(var(--border));
}

/* ═══════════════════════════════════════════════════════════
   [FIX] Mobile GPU Layer Consolidation — REVERTED 2026-06-18
   Forcing `translateZ(0)` on `.topup-main` did the OPPOSITE of consolidating:
   `.topup-main` is the full-height scrolling column (far taller than the
   viewport), so promoting it allocates one enormous backing store that
   exhausts the mobile GPU's texture memory → the garbled pixel bands seen
   across the package grid and Payment Method section on Android Chrome.
   Let the column paint/tile normally — do NOT force-promote tall elements.
   See .claude/COMMON_MISTAKES.md §7.
   ═══════════════════════════════════════════════════════════ */
