/* =========================================================================
   NEON PREMIUM 2.0 — BERANDA
   Dimuat terakhir di beranda (tamu & member). Menimpa aturan lama yang
   dipindahkan ke pages/home-legacy.css, tanpa mengubah ID/kelas yang dipakai
   JavaScript (db-banner, games-track, togel-track, football-track).
   ========================================================================= */

/* ------------------------------------------------------------------ Hero --- */
html:root .ui-hero{
  padding:10px 12px 0;
}
html:root .ui-hero-frame{
  position:relative;
  aspect-ratio:16 / 9;
  min-height:168px;
  max-height:320px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--ui-line);
  background:
    radial-gradient(120% 90% at 80% 0%,rgba(var(--brand-rgb),.22),transparent 60%),
    linear-gradient(150deg,var(--bg-2),var(--bg-0));
  box-shadow:var(--ui-sh-2),inset 0 1px 0 rgba(255,255,255,.05);
}
html:root .ui-hero-frame .db-banner img{
  object-fit:cover;
  object-position:center 42%;
}
html:root .ui-hero-frame .ui-hero-veil{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(6,2,14,0) 42%,rgba(6,2,14,.62) 100%),
    linear-gradient(90deg,rgba(6,2,14,.34),transparent 42%);
}
html:root .ui-hero-frame .hero-dots{
  position:absolute;
  left:14px;
  bottom:12px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:5px;
  transform:none;
}
html:root .ui-hero-frame .hero-dots .ui-hero-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:99px;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:width .2s ease,background-color .2s ease;
}
html:root .ui-hero-frame .hero-dots .ui-hero-dot.active{
  width:20px;
  background:var(--brand-2);
  box-shadow:0 0 10px rgba(var(--brand-2-rgb),.7);
}
html:root .ui-hero-cta{
  position:absolute;
  right:12px;
  bottom:10px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:var(--r-pill);
  background:rgba(10,4,22,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#fff;
  font-family:var(--font-display);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-decoration:none;
}
html:root .ui-hero-cta:hover{background:rgba(var(--brand-rgb),.4);border-color:rgba(var(--brand-2-rgb),.7)}
html:root .ui-hero-frame .ui-hero-caption{
  position:absolute;
  left:14px;
  right:120px;
  bottom:34px;
  z-index:2;
  margin:0;
  color:#fff;
  font-size:11px;
  font-weight:700;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
html:root .ui-hero-empty{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--muted);
  font-size:11px;
  text-align:center;
  padding:20px;
}
html:root .ui-hero-empty strong{font-family:var(--font-display);font-size:15px;color:var(--text)}

/* ---------------------------------------------------------------- Notice --- */
html:root .notice{
  height:32px;
  margin:8px 12px 0;
  padding:0 11px;
  gap:8px;
  border:1px solid var(--ui-line);
  border-radius:var(--r-pill);
  background:rgba(255,255,255,.025);
  color:var(--muted);
  font-size:10.5px;
}
html:root .notice-mic{color:var(--brand-2) !important;filter:none;animation:none !important}
html:root .notice-mic svg{animation:none !important;width:15px;height:15px}
html:root .notice .dot{display:none}

/* ---------------------------------------------------------------- Kategori --- */
html:root .section{padding:14px 12px 0}
html:root .cat-row{
  gap:6px;
}
html:root .cat{
  height:74px;
  gap:7px;
  border:1px solid var(--ui-line);
  border-radius:15px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
html:root .cat .cat-art{width:34px;height:34px;display:grid;place-items:center}
html:root .cat .cat-art img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.5))}
html:root .cat>span:last-child{
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.03em;
  color:var(--muted);
}
html:root .cat.active{
  border-color:rgba(var(--brand-2-rgb),.55);
  background:linear-gradient(160deg,rgba(var(--brand-rgb),.32),rgba(var(--brand-deep-rgb),.18));
  box-shadow:0 8px 20px rgba(var(--brand-deep-rgb),.28),inset 0 1px 0 rgba(255,255,255,.12);
}
html:root .cat.active>span:last-child{color:#fff}
html:root .cat:active{transform:scale(.97)}

/* -------------------------------------------------------- Kartu game/marquee --- */
html:root .games-marquee{
  mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);
}
html:root .games-marquee:before,
html:root .games-marquee:after{display:none}
html:root .games-marquee .games-track{gap:10px;padding:2px 0 4px}
html:root .games-marquee .game{
  flex:0 0 132px;
  width:132px;
  border-radius:16px;
  background:linear-gradient(170deg,rgba(var(--surface-2-rgb),.6),rgba(var(--bg-0-rgb),.85));
  border:1px solid var(--ui-line);
  padding:7px 7px 9px;
  box-shadow:var(--ui-sh-1);
}
html:root .games-marquee .game-img{
  aspect-ratio:3 / 4;
  border:0;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(150deg,var(--bg-3),var(--bg-1));
}
html:root .games-marquee .game-img:before{display:none}
html:root .games-marquee .game-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
html:root .games-marquee .latest-game-badge{
  position:absolute;
  top:6px;
  left:6px;
  z-index:2;
  padding:3px 6px;
  border-radius:6px;
  background:rgba(6,2,14,.72);
  border:1px solid rgba(var(--brand-2-rgb),.5);
  color:var(--brand-2);
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
html:root .games-marquee .game-name{
  margin:7px 2px 0;
  font-size:11px;
  font-weight:700;
  color:var(--text-soft);
}
html:root .games-marquee .game-win{
  margin:3px 2px 0;
  font-size:11px;
  font-weight:800;
  color:var(--gold);
}
html:root .games-marquee .game-meta,
html:root .games-marquee .game-user{display:none}
html:root .games-marquee .game-error{
  flex:0 0 100%;
  padding:22px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
  border:1px dashed var(--ui-line-2);
  border-radius:14px;
}

/* --------------------------------------------------------------- Togel --- */
html:root .togel-marquee{mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%)}
html:root .togel-marquee:before,
html:root .togel-marquee:after{display:none}
html:root .togel-track{gap:10px;animation-duration:34s}
html:root .togel-card{
  flex:0 0 148px;
  width:148px;
  min-height:118px;
  padding:11px;
  border:1px solid var(--ui-line);
  border-radius:15px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.6),rgba(var(--bg-0-rgb),.86));
  box-shadow:var(--ui-sh-1);
}
html:root .togel-card.is-live{border-color:rgba(var(--brand-2-rgb),.34)}
html:root .togel-top small{font-size:9.5px;letter-spacing:.06em;color:var(--text-soft)}
html:root .togel-top b{font-size:8px;letter-spacing:.1em;color:var(--brand-2)}
html:root .togel-flag{width:19px;height:13px;border-radius:3px;border:1px solid rgba(255,255,255,.14);box-shadow:none}
html:root .togel-card strong{
  margin:15px 0 5px;
  font-size:25px;
  letter-spacing:2px;
  color:var(--text);
  text-shadow:none;
  font-family:var(--font-display);
}
html:root .togel-card.is-pending strong{color:var(--muted-dim);letter-spacing:4px}
html:root .togel-status{font-size:9.5px;color:var(--muted-dim)}
html:root .togel-card.togel-loading strong{opacity:.4}

/* ------------------------------------------------------------- Football --- */
html:root .football-marquee{mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%)}
html:root .football-marquee:before,
html:root .football-marquee:after{display:none}
html:root .football-track{gap:10px}
html:root .football-card{
  flex:0 0 172px;
  width:172px;
  border:1px solid var(--ui-line);
  border-radius:15px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.6),rgba(var(--bg-0-rgb),.86));
  box-shadow:var(--ui-sh-1);
  padding:11px;
}
html:root .football-card.is-live{border-color:rgba(var(--brand-2-rgb),.34)}
html:root .football-top small{font-size:9.5px;color:var(--text-soft);letter-spacing:.04em}
html:root .football-top b{font-size:8px;letter-spacing:.1em}
html:root .football-teams>strong{font-size:15px;color:var(--text);letter-spacing:.04em}
html:root .football-team span{font-size:9.5px;color:var(--text-soft)}
html:root .football-status{font-size:9px;letter-spacing:.05em}
html:root .football-empty{
  flex:0 0 100%;
  border:1px dashed var(--ui-line-2);
  border-radius:14px;
  background:rgba(255,255,255,.02);
  color:var(--muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
}

/* ------------------------------------------------------------- Provider --- */
html:root .provider-logo-wall{
  padding:9px;
  border:1px solid var(--ui-line);
  border-radius:18px;
  background:linear-gradient(160deg,#0c0718,#07040f);
  box-shadow:var(--ui-sh-2);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
}
html:root .provider-logo-wall::-webkit-scrollbar{display:none}
html:root .provider-logo-wall img{
  display:block;
  width:760px;
  max-width:none;
  height:auto;
  border-radius:11px;
}
@media (min-width:700px){
  html:root .provider-logo-wall img{width:100%}
}
html:root .provider-hint{
  display:flex;
  align-items:center;
  gap:5px;
  margin:7px 2px 0;
  color:var(--muted-dim);
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
html:root .provider-hint svg{width:12px;height:12px}

/* ------------------------------------------------------- Metode pembayaran --- */
html:root .payment-method-title{
  margin:0 !important;
  font-family:var(--font-display) !important;
  font-size:var(--ui-fs-title) !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
  color:var(--text) !important;
  text-align:left !important;
}
html:root .payment-method-title::after{display:none !important}
html:root .bank-online-section .section-head{display:none !important}

html:root .bank-online-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
html:root .bank-online-card,
html:root .ui-pay{
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:62px;
  padding:9px 10px;
  border:1px solid var(--ui-line);
  border-radius:15px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.84));
  box-shadow:var(--ui-sh-1);
  text-align:left;
  color:inherit;
  font:inherit;
  cursor:pointer;
  transition:border-color .18s ease,transform .18s ease,background-color .18s ease;
}
html:root .ui-pay:active{transform:scale(.985)}
html:root .ui-pay:hover,
html:root .ui-pay:focus-visible{border-color:rgba(var(--brand-2-rgb),.45);background:rgba(var(--brand-rgb),.06)}
html:root .bank-online-logo{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:12px;
  background:#f7f7f8;
  border:1px solid rgba(255,255,255,.14);
  overflow:hidden;
}
html:root .bank-online-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
html:root .bank-online-fallback{font-size:11px;color:#23252a;font-weight:900}
html:root .qris-logo{background:#fff}
html:root .qris-logo b{color:#111;font-size:10px;font-weight:900;letter-spacing:-.02em}
html:root .bank-online-info{gap:2px;min-width:0}
html:root .bank-online-name{
  font-size:11px;
  font-weight:800;
  color:var(--text);
  line-height:1.2;
}
html:root .bank-online-status{
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.1em;
  color:var(--ok);
}
html:root .bank-online-dot{display:none}
html:root .bank-online-card.is-offline{
  opacity:1;
  border-style:dashed;
  background:rgba(255,255,255,.015);
}
html:root .bank-online-card.is-offline .bank-online-logo{filter:grayscale(1);opacity:.6}
html:root .bank-online-card.is-offline .bank-online-status{color:var(--bad)}
html:root .bank-online-card.is-offline .bank-online-name{color:var(--muted)}
html:root .bank-empty-card{
  grid-column:1 / -1;
  border-style:dashed;
  opacity:1;
  justify-content:center;
  color:var(--muted);
  font-size:11px;
}

/* Header beranda: logo dikecilkan di ponsel sempit supaya pil AKUN/KELUAR
   (atau MASUK/DAFTAR untuk tamu) tidak terpotong di tepi kanan. */
@media (max-width:360px){
  html:root body.page-home .header .brand-logo{max-width:92px !important}
}

/* ------------------------------------------------------------- Home bottom --- */
html:root .home-bottom{
  margin:20px 12px 0;
  font-family:var(--font-body);
}
html:root .home-benefits{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:14px;
}
html:root .home-benefit{
  min-height:56px;
  gap:10px;
  padding:10px 11px;
  border:1px solid var(--ui-line);
  border-radius:14px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.5),rgba(var(--bg-0-rgb),.8));
}
html:root .home-benefit-icon{
  width:28px;height:28px;flex:0 0 28px;
  border-radius:9px;
  background:rgba(var(--brand-rgb),.12);
  border:1px solid var(--ui-line-2);
  color:var(--brand-2);
  font-size:0;
  display:grid;place-items:center;
}
html:root .home-benefit-icon svg{width:15px;height:15px}
html:root .home-benefit-text{font-size:10.5px;font-weight:700;color:var(--text-soft);line-height:1.3}

html:root .home-stats{
  gap:8px;
  margin:0 0 14px;
  padding:14px 8px;
  border:1px solid var(--ui-line);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}
html:root .home-stat strong{
  font-family:var(--font-display);
  font-size:17px;
  font-weight:700;
  color:var(--gold);
  text-shadow:none;
}
html:root .home-stat span{font-size:9.5px;color:var(--muted);margin-top:3px;letter-spacing:.03em}

html:root .home-responsible{
  padding:0 4px 16px;
  border-bottom:1px solid var(--ui-line);
  color:var(--muted-dim);
  font-size:10px;
}
html:root .home-responsible b{color:var(--brand-2);font-size:11px}

html:root .home-about-public{
  padding:18px 2px 14px !important;
  margin:0 auto 16px !important;
  border-bottom:1px solid var(--ui-line) !important;
  color:var(--muted) !important;
}
html:root .home-about-public .home-about-kicker{
  margin-bottom:9px;
  padding:4px 9px;
  border-color:var(--ui-line-2);
  background:rgba(var(--brand-rgb),.06);
  font-size:9px;
  letter-spacing:.14em;
}
html:root .home-about-public h2{
  margin:0 0 8px;
  font-family:var(--font-display);
  font-size:17px;
  font-weight:700;
  color:var(--text);
  line-height:1.35;
}
html:root .home-about-public h3{
  margin:16px 0 6px;
  font-family:var(--font-display);
  font-size:12.5px;
  font-weight:700;
  color:var(--text-soft);
}
html:root .home-about-public p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:11px;
  line-height:1.75;
}
html:root .home-about-public ul{margin:8px 0 12px;padding-left:18px;color:var(--muted);font-size:11px;line-height:1.7}
html:root .home-about-public li{margin:5px 0}
html:root .home-about-public strong{color:var(--text-soft)}
html:root .home-about-public .home-about-disclaimer{margin-top:12px;color:var(--muted-dim);font-size:10px;line-height:1.6}

html:root .home-info-grid{
  gap:8px;
  margin:14px auto 0;
}
html:root .home-info-card,
html:root .home-info-card:first-child,
html:root .home-info-card:nth-child(n){
  min-height:52px;
  padding:9px 11px;
  gap:9px;
  border-radius:14px;
  background:linear-gradient(165deg,rgba(var(--surface-2-rgb),.55),rgba(var(--bg-0-rgb),.82)) !important;
  border:1px solid var(--ui-line) !important;
  box-shadow:var(--ui-sh-1) !important;
  position:relative;
}
html:root .home-info-card::after{
  content:"";
  width:7px;height:7px;
  margin-left:auto;
  flex:0 0 7px;
  border-top:1.5px solid var(--muted-dim);
  border-right:1.5px solid var(--muted-dim);
  transform:rotate(45deg);
}
html:root .home-info-card:hover{
  border-color:rgba(var(--brand-2-rgb),.4) !important;
  transform:translateY(-1px);
}
html:root .home-info-card .home-info-icon{
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
  border-radius:9px !important;
  background:rgba(var(--brand-rgb),.12) !important;
  border:1px solid var(--ui-line-2) !important;
  color:var(--brand-2) !important;
  font-size:0;
}
html:root .home-info-card>span:last-child{
  color:var(--text-soft) !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

html:root .home-credit{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:18px 0 0;
  padding:14px 4px 4px;
  border-top:1px solid var(--ui-line);
  color:var(--muted-dim);
  font-size:9.5px;
  letter-spacing:.02em;
  text-align:center;
}
html:root .home-credit b{color:var(--muted);font-weight:800}
html:root .home-credit .sep{opacity:.5}

/* ------------------------------------------------------ Saldo member --- */
html:root .member-balance-card{
  display:flex;
  align-items:center;
  gap:12px;
  margin:10px 12px 0;
  padding:14px 16px;
  border:1px solid var(--ui-line-2);
  border-radius:18px;
  background:
    radial-gradient(120% 140% at 100% 0%,rgba(var(--brand-rgb),.22),transparent 58%),
    linear-gradient(160deg,rgba(var(--surface-2-rgb),.9),rgba(var(--bg-0-rgb),.94));
  box-shadow:var(--ui-sh-2),inset 0 1px 0 rgba(255,255,255,.05);
}
html:root .member-balance-info{flex:1;min-width:0}
html:root .member-balance-info small{
  display:block;
  color:var(--muted-dim);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
html:root .member-balance-info strong{
  display:block;
  margin:2px 0 1px;
  font-family:var(--font-display);
  font-size:23px;
  font-weight:700;
  line-height:1.1;
  color:var(--text);
  letter-spacing:-.01em;
}
html:root .member-balance-info span{display:block;color:var(--muted);font-size:10px}
html:root .member-balance-refresh{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid var(--ui-line);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:15px;
  cursor:pointer;
}
html:root .member-wallet-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:8px 12px 0;
}
html:root .member-wallet-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  border-radius:13px;
  font-family:var(--font-display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none;
}
html:root .member-wallet-actions a svg{width:15px;height:15px}
html:root .member-wallet-actions .is-deposit{
  background:linear-gradient(140deg,var(--cta-from),var(--brand-deep));
  border:1px solid rgba(var(--brand-2-rgb),.5);
  color:#fff;
  box-shadow:0 8px 18px rgba(var(--brand-deep-rgb),.3);
}
html:root .member-wallet-actions .is-withdraw{
  background:rgba(255,255,255,.04);
  border:1px solid var(--ui-line);
  color:var(--text-soft);
}

/* --------------------------------------------------------- Notifikasi --- */
html:root .header-notification{position:relative}
html:root .notification-btn{
  position:relative;
  width:36px;height:36px;
  display:grid;place-items:center;
  border:1px solid var(--ui-line);
  border-radius:11px;
  background:rgba(255,255,255,.04);
  color:var(--text-soft);
  font-size:15px;
  cursor:pointer;
}
html:root .notification-badge{
  position:absolute;
  top:-4px;right:-4px;
  min-width:16px;height:16px;
  padding:0 4px;
  border-radius:99px;
  background:var(--accent);
  color:var(--ink);
  font-size:9px;
  font-weight:900;
  line-height:16px;
  text-align:center;
}
html:root .notification-popup{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  z-index:80;
  width:min(300px,calc(100vw - 28px));
  padding:10px;
  border:1px solid var(--ui-line-2);
  border-radius:16px;
  background:var(--ui-surface-2);
  box-shadow:var(--ui-sh-3);
}
html:root .notification-title{
  display:flex;align-items:center;justify-content:space-between;
  padding:2px 4px 8px;
  border-bottom:1px solid var(--ui-line);
  font-size:11px;
}
html:root .notification-empty{padding:14px 4px;color:var(--muted);font-size:11px;text-align:center}

/* ------------------------------------------------------------- Footer hero --- */
html:root .cxfcore-engine{
  display:flex;
  justify-content:center;
  padding:6px 0 18px;
  opacity:.55;
}
html:root .cxfcore-shine{
  font-size:9px !important;
  letter-spacing:.22em !important;
  color:var(--muted-dim) !important;
  background:none !important;
  -webkit-text-fill-color:currentColor !important;
  animation:none !important;
  text-shadow:none !important;
}
html:root .cxfcore-shine:after{display:none !important}

/* --------------------------------------------------------------- >600px --- */
@media (min-width:600px){
  html:root .ui-hero{padding:14px 14px 0}
  html:root .ui-hero-frame{aspect-ratio:2.6 / 1;max-height:300px}
  html:root .section{padding:18px 14px 0}
  html:root .games-marquee .game{flex-basis:150px;width:150px}
  html:root .togel-card{flex-basis:168px;width:168px}
  html:root .football-card{flex-basis:196px;width:196px}
  html:root .bank-online-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html:root .home-bottom{margin-left:14px;margin-right:14px}
  html:root .member-balance-card{margin-left:14px;margin-right:14px}
  html:root .member-wallet-actions{margin-left:14px;margin-right:14px}
  html:root .home-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:350px){
  html:root .cat{height:70px}
  html:root .cat>span:last-child{font-size:9px}
  html:root .home-info-card>span:last-child{font-size:9.5px !important}
  html:root .bank-online-grid{grid-template-columns:1fr}
}

/* Ikon notifikasi memakai SVG (bukan emoji), dan berhenti bergoyang terus. */
html:root .notification-icon{display:grid;place-items:center;font-size:0;line-height:0}
html:root .notification-icon svg{width:18px;height:18px}
html:root .header-notification .notification-btn{width:36px;height:36px;border-radius:11px}
html:root .notification-btn.has-notification .notification-icon{animation:none !important}

/* ---------------------------------------------------------- Hero v2 (media + bar) --- */
html:root .ui-hero-frame{
  display:flex;
  flex-direction:column;
  aspect-ratio:auto;
  min-height:0;
  max-height:none;
}
html:root .ui-hero-media{
  position:relative;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:linear-gradient(150deg,var(--bg-2),var(--bg-0));
}
html:root .ui-hero-media .db-banner{position:absolute;inset:0}
html:root .ui-hero-media .ui-hero-empty{position:absolute}
html:root .ui-hero-bar{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-top:1px solid var(--ui-line);
  background:linear-gradient(180deg,rgba(10,4,22,.55),rgba(10,4,22,.86));
}
html:root .ui-hero-frame .hero-dots{
  position:static;
  inset:auto;
  transform:none;
  display:flex;
  align-items:center;
  gap:5px;
}
html:root .ui-hero-cta{
  position:static;
  inset:auto;
  min-height:30px;
  padding:0 12px;
  border:1px solid rgba(var(--brand-2-rgb),.55);
  background:linear-gradient(140deg,var(--cta-from),var(--brand-deep));
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  font-size:10px;
  box-shadow:0 6px 16px rgba(var(--brand-deep-rgb),.32);
}
html:root .ui-hero-cta:hover{background:linear-gradient(140deg,var(--brand),var(--brand-deep))}
html:root .ui-hero-note{
  color:var(--muted-dim);
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* -------------------------------------------- Jackpot: carousel geser, bukan auto --- */
html:root .games-marquee{
  overflow-x:auto !important;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
html:root .games-marquee::-webkit-scrollbar{display:none}
html:root .games-marquee .games-track,
html:root .games-marquee .games-track.is-ready{
  animation:none !important;
  transform:none !important;
  width:max-content;
  padding-right:16px;
}
html:root .games-marquee .game{scroll-snap-align:start}

/* Empty state pembayaran mengambil lebar penuh agar chip QRIS tidak ikut melar. */
html:root .bank-online-grid > .ui-empty{grid-column:1 / -1}
html:root .bank-online-grid > .bank-empty-card{grid-column:1 / -1}

/* ------------------------------------------------------ Lantai tipografi --- */
/* Aturan lama mengunci banyak label di 8–9px (warisan tema sebelumnya).
   Desain baru menetapkan minimum 10px supaya tetap terbaca di ponsel. */
html:root .header .auth a,
html:root .header .auth .login,
html:root .header .auth .register,
html:root .cat > span:last-child,
html:root .latest-game-badge,
html:root .game-badge,
html:root .live-pill,
html:root .more,
html:root .bottom a,
html:root .bottom .center label,
html:root .notice,
html:root .provider-hint,
html:root .provider-item,
html:root .home-stat span,
html:root .home-benefit-text,
html:root .home-info-card > span:last-child,
html:root .home-credit,
html:root .bank-online-status,
html:root .game-win,
html:root .togel-status,
html:root .togel-top b,
html:root .togel-top small,
html:root .football-status,
html:root .football-team span,
html:root .football-top b,
html:root .football-top small,
html:root .ui-hero-note,
html:root .ui-hero-cta,
html:root .ui-section-head__action,
html:root .ui-section-head__meta,
html:root .ui-sheet__note,
html:root .ui-empty p{
  font-size:10px !important;
}
html:root .bottom a span,
html:root .bottom .center label{font-size:9.5px !important}
html:root .ui-empty h3{font-size:14px !important}
html:root .ui-section-head h2{font-size:17px !important}
html:root .home-about-kicker{font-size:10px !important}
html:root .bottom a span,
html:root .bottom .center label{font-size:10px !important}

/* Sidebar (drawer) — label & panah dinaikkan kontrasnya. */
html:root .side-section{
  font-size:10px !important;
  letter-spacing:.14em !important;
  color:#9d93b8 !important;
}
html:root .side-arrow,
html:root .side-link .side-arrow{
  color:var(--muted) !important;
  opacity:.9;
}

/* Tampilkan / sembunyikan password di modal login. */
html:root #loginModal .login-modal-field{position:relative}
html:root #loginModal .login-modal-input-wrap{position:relative}
html:root #loginModal .login-modal-input-wrap input{padding-right:78px !important}
html:root #loginModal .login-modal-eye{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  min-height:32px;
  padding:0 10px;
  border:1px solid var(--ui-line);
  border-radius:9px;
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
}
html:root #loginModal .login-modal-eye:hover{color:var(--brand-2);border-color:var(--ui-line-2)}
html:root .member-balance-info small,
html:root .member-balance-info span{font-size:10px !important}
html:root .member-balance-info strong{font-size:23px !important}

/* ------------------------------------------------------------ Desktop ≥700px --- */
/* Beranda memakai lebar yang sama dengan halaman lain (1200px, lalu 1280px)
   supaya tampil desktop, bukan kolom mobile yang dipusatkan. */
@media (min-width:700px){
  html:root body{
    padding:22px 0 26px;
    background-image:var(--bg-grad) !important;
  }
  html:root .app{
    width:100%;
    max-width:1200px !important;
    margin:0 auto;
    border:1px solid var(--ui-line-2);
    border-radius:26px;
    box-shadow:var(--ui-sh-3),0 0 0 1px rgba(var(--brand-rgb),.06);
    overflow:hidden;
    padding-bottom:24px !important;
  }
  /* Dock bawah adalah navigasi mobile. Di desktop navigasi memakai menu
     header, sama seperti halaman lain, supaya tidak terlihat seperti layar HP. */
  html:root .bottom{display:none !important}
}

@media (min-width:1100px){
  html:root .app{max-width:1280px !important}
}

/* Notice: satu baris tenang dengan elipsis (sebelumnya marquee yang langsung
   terpotong di tengah kalimat). */
html:root .notice-marquee{
  overflow:hidden;
  white-space:nowrap;
  flex:1;
  min-width:0;
}
html:root .notice-marquee span{
  display:block;
  padding-left:0 !important;
  animation:none !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* QRIS memakai wordmark resmi (bukan teks) agar sama dengan logo bank lain. */
html:root .qris-logo{
  width:66px;
  flex:0 0 66px;
  height:42px;
  background:#fff;
  border-color:rgba(var(--brand-rgb),.35);
}
html:root .qris-logo img{
  width:56px;
  height:auto;
  max-height:26px;
  padding:0;
  object-fit:contain;
}
html:root .qris-logo b{font-size:11px}

/* ------------------------------------------------------- Banner desktop --- */
/* Pada lebar desktop, media banner mengikuti 16:9 sehingga tingginya ~700px
   dan layar pertama hanya berisi banner. Tinggi dibatasi di >=700px agar
   kategori dan jackpot ikut terlihat; tampilan mobile tidak berubah. */
@media (min-width:700px){
  html:root .ui-hero-frame{
    height:clamp(340px, 30vw, 440px);
    max-height:440px;
  }
  html:root .ui-hero-media{
    aspect-ratio:auto;
    flex:1 1 auto;
    min-height:0;
  }
}
