/**
 * MORION188 — desktop layout + homepage polish
 * ≥992px: full-bleed black canvas, desktop nav, section polish.
 * <992px: mobile pattern intact (phone frame 768–991 from layout).
 */

/* Hidden on mobile; revealed ≥992 */
.desk-primary-nav,
.desk-only-flex {
  display: none !important;
}

/* Shared section-head (mobile + desktop) */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 12px;
  min-height: 36px;
}

.section-head__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.section-head__icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex: 0 0 28px !important;
  object-fit: contain !important;
  display: block !important;
}

.section-head__heading,
.footer-title2,
.dpbox-title,
#provider-name-slug,
#provider-title,
.gsl-games > h3 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #f4b94b !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-head__heading {
  white-space: nowrap;
}

.footer-title2 {
  white-space: normal;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
}

.dpbox-title {
  white-space: normal;
  letter-spacing: 0.06em;
}

/* Shared lazy thumb (all game lists) */
.gsl-thumb.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 37%, #1a1a1a 63%);
  background-size: 400% 100%;
  animation: m188-skel-shimmer 1.2s ease-in-out infinite;
}

@keyframes m188-skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.gsl-thumb .lazy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.gsl-thumb .lazy-img.loaded {
  opacity: 1;
  filter: blur(0);
}

.gsl-title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-head__link {
  flex: 0 0 auto;
  font-size: 11px !important;
  font-weight: 600;
  color: #ff5722 !important;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-head__link:hover {
  color: #ff8a50 !important;
}

/* Visually hidden page H1 for SEO/a11y (no layout impact) */
.m188-page-h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hot slots grid + captions (all viewports) */
.hot-slots-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -4px !important;
  padding: 0 !important;
  overflow: visible !important;
  width: auto !important;
}

.hot-slots-grid > .hot-slots-grid__item {
  float: none !important;
  padding: 4px !important;
  box-sizing: border-box;
}

.hot-slots-grid .thumbnail {
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.hot-slots-grid .thumbnail > img,
.hot-slots-grid .thumbnail .img-responsive {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.hot-slots-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 6px 6px !important;
  background: rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
  text-align: center;
  font-size: 11px !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  box-sizing: border-box;
}

.hot-slots-caption .truncate {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

@media (max-width: 991px) {
  html,
  body,
  body.mobile {
    overflow-x: clip !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  .desktop-phone-container,
  .phone-wrapper,
  .full-container.layout,
  .main-content,
  .backdrop,
  .content.my01 {
    overflow-x: hidden !important;
    max-width: 100% !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  /*
   * Symmetrical mobile gutters.
   * Prior `max-width:100%` on .row broke Bootstrap -15 gutters → ~30px dead zone on the right.
   * Neutralize row/col gutters instead and pad content evenly.
   */
  .content.my01 > .row,
  .main-content .content.my01 > .row,
  .content.my01 .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .content.my01 > .row > [class*="col-"],
  .content.my01 .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Full-bleed content stack under hero — equal left/right (pad once) */
  .content.my01 .g-slider-wrapper.recommend,
  .content.my01 .g-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .content.my01 .common-top-section,
  .content.my01 .app-wrapper,
  .content.my01 .common-section-inner,
  .content.my01 .common-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .hot-slots-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hot-slots-grid > .hot-slots-grid__item {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }

  /* Category icon strip: 6 equal columns, centered icons/labels, no scroll bias */
  .gx-menu-wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative;
    padding: 8px 10px 10px !important;
    background: #000 !important;
    box-sizing: border-box !important;
  }

  .gx-menu-wrapper::after {
    display: none !important; /* no fade — all 6 fit evenly */
  }

  .gx-menu-scroll {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    scrollbar-width: none;
  }

  .gx-menu-scroll::-webkit-scrollbar {
    display: none;
  }

  .gx-menu-scroll .gx-menu-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    /* Keep bottom padding so .gx-menu-item::after (active bar) sits under the label,
       not over it — base blade used padding-bottom:12px; mobile had zeroed it. */
    padding: 0 2px 10px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #fff !important;
    position: relative !important;
  }

  /* Active underline: park below label (3px bar + 2px gap under text) */
  .gx-menu-scroll .gx-menu-item::after {
    bottom: 2px !important;
    height: 3px !important;
  }

  .gx-menu-scroll .gx-menu-item .gx-icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    margin: 0 0 4px !important;
  }

  .gx-menu-scroll .gx-menu-item img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .gx-menu-scroll .gx-menu-item span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important; /* allow "Mini Games" on 2 lines */
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: center !important;
    word-break: keep-all;
    hyphens: manual;
  }

  /* ---- Mobile home polish (keep desktop ≥992 untouched) ---- */

  /* Hero: banner assets are ~1600×425 (≈3.765:1) — show full art, no crop/stretch */
  .carousel-fixed-height,
  #carousel-fixed-height,
  #carousel-fixed-height .carousel-inner,
  #carousel-fixed-height .item {
    background: #000 !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #carousel-fixed-height img.slider-size,
  .carousel-fixed-height img.slider-size,
  #carousel-fixed-height .item img,
  .carousel-fixed-height .item img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1600 / 425;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }

  .carousel-fixed-height .carousel-control .icon-wrap {
    opacity: 0.7;
  }

  /* Surfaces → #000 (kill gray bars) */
  #download-app-mobile {
    background: #0a0a0a !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.12);
  }

  .top-bar {
    background: #000 !important;
    background-color: #000 !important;
  }

  #running-text.rt-container,
  .rt-container {
    background: #000 !important;
    background-color: #000 !important;
    border-top: 1px solid rgba(244, 185, 75, 0.12) !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.12) !important;
    min-height: 34px !important;
    margin-top: 0 !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  #running-text .rt-icon,
  .rt-container .rt-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 auto;
    color: #f4b94b;
  }

  .rt-marquee-text,
  #running-text marquee {
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: #d4d4d4 !important;
  }

  /* Auth CTAs: tighter, black canvas */
  .btns-log.row,
  .btns-log {
    background: #000 !important;
    background-color: #000 !important;
    padding: 10px 12px !important;
    margin: 0 !important;
  }

  .btns-log .btn {
    min-height: 38px;
    font-size: 13px !important;
  }

  .wrapper-jackpot {
    margin: 4px auto 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .wrapper-jackpot img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Auth CTAs already full-bleed; keep equal inset */
  .btns-log.row,
  .btns-log {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .section-head {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-head__heading {
    font-size: 14px !important;
    letter-spacing: 0.04em;
  }

  .section-head__link {
    font-size: 11px !important;
    white-space: nowrap;
  }

  /* Slot cards: less cramped captions */
  .hot-slots-grid {
    margin-top: 0 !important;
  }

  .hot-slots-grid > .hot-slots-grid__item {
    padding: 3px !important;
  }

  .hot-slots-caption .truncate,
  .hot-slots-caption {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  /* Side promo tab: less overlap into grid */
  .side-arrow {
    opacity: 0.85;
    transform: scale(0.92);
    transform-origin: left center;
  }

  .side-panel {
    background: #0a0a0a !important;
  }

  /*
   * Sticky bottom nav + kill empty void above footer.
   * Theme: .mobile .content/.main-content { margin-bottom:200px }
   * Blade: .content.my01 { min-height:100vh; flex } + .layout { height:100vh }
   * Phone shells locked to viewport → scroll inside .main-content → sticky
   * mnav releases into the 200px margin void. Fix: document scroll + fixed mnav.
   */
  html,
  body,
  body.mobile {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  /* Clearance for fixed .mnav — body only (not html) to avoid double gap */
  body,
  body.mobile {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .desktop-phone-container,
  .phone-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: hidden !important;
  }

  .full-container.layout,
  .layout.full-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .main-content,
  #mainContent,
  .backdrop,
  #mainContentContainer {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }

  .mobile .content,
  .mobile .main-content,
  .content.my01,
  .mobile .content.my01 {
    margin-bottom: 0 !important;
  }

  .content.my01 {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
  }

  /* Fixed bottom nav (viewport) — desktop ≥992 still hides via nav.mnav { display:none } */
  .mnav,
  nav.mnav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #0a0a0a !important;
    border-top: 1px solid rgba(244, 185, 75, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (min-width: 992px) {
  :root {
    /* Match mobile theme black (body.mobile / original canvas) */
    --m188-desk-bg: #000000;
    --m188-desk-surface: #000000;
    --m188-desk-elevated: #0e0e0e;
    --m188-desk-line: rgba(244, 185, 75, 0.16);
    --m188-desk-max: 1360px;
    --m188-desk-pad: 16px;
  }

  /* ---- Full-bleed canvas: kill phone shell ---- */
  html,
  body,
  body.mobile {
    height: auto !important;
    min-height: 100% !important;
    /* clip (not hidden) so position:sticky header can stick */
    overflow-x: clip !important;
    overflow-y: auto !important;
    background: var(--m188-desk-bg) !important;
    background-color: var(--m188-desk-bg) !important;
    background-image: none !important;
  }

  /* Beat layout inline `body.mobile { background-color: black }` */
  html body.mobile,
  html body {
    background: var(--m188-desk-bg) !important;
    background-color: var(--m188-desk-bg) !important;
    background-image: none !important;
  }

  .desktop-phone-container {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100vh !important;
    display: block !important;
    justify-content: stretch !important;
    overflow: visible !important;
    background: var(--m188-desk-bg) !important;
    background-color: var(--m188-desk-bg) !important;
  }

  .phone-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    background: var(--m188-desk-bg) !important;
    background-color: var(--m188-desk-bg) !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .full-container.layout,
  .main-content,
  .backdrop,
  #mainContent,
  #mainContentContainer,
  .content.my01 {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  .layout.full-container {
    background: transparent !important;
  }

  /* Kill mobile mnav clearance void under copyright on desktop */
  .main-content,
  #mainContent {
    margin-bottom: 0 !important;
  }

  /* Sticky footer: fill viewport, pin .footer-legal to bottom when short */
  html,
  body.mobile {
    min-height: 100vh !important;
  }

  body.mobile {
    display: flex !important;
    flex-direction: column !important;
  }

  .desktop-phone-container,
  .phone-wrapper,
  .full-container.layout,
  .main-content,
  .backdrop,
  #mainContent,
  #mainContentContainer {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  .phone-wrapper {
    min-height: calc(100vh - var(--m188-header-offset, 72px)) !important;
  }

  .content.my01 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  .footer-legal {
    margin-top: auto !important;
    margin-bottom: 16px !important;
    flex-shrink: 0;
  }

  /* ---- Header: fixed on scroll (reliable vs sticky+overflow) ---- */
  .top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background: rgba(0, 0, 0, 0.96) !important;
    background-color: rgba(0, 0, 0, 0.96) !important;
    border-bottom: 1px solid var(--m188-desk-line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body.mobile {
    padding-top: var(--m188-header-offset, 72px) !important;
  }

  .top-bar .inner-header,
  .inner-header {
    height: 72px !important;
    padding: 0 var(--m188-desk-pad) !important;
    max-width: var(--m188-desk-max);
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    background: transparent !important;
    background-color: transparent !important;
  }

  body.mobile .inner-header {
    background-color: transparent !important;
    background-image: none !important;
  }

  .top-bar .header-logo img,
  .inner-header .logo img,
  .inner-header .header-logo .img-fluid {
    max-height: 36px !important;
    width: auto !important;
  }

  .desk-primary-nav {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
  }

  .desk-primary-nav a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    color: #cfcfcf;
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  }

  .desk-primary-nav .desk-nav-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .desk-primary-nav .desk-nav-icon img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .desk-primary-nav .desk-nav-icon--bi {
    color: #fff;
    font-size: 18px !important;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .desk-primary-nav .desk-nav-label {
    display: block;
    line-height: 1.1;
    white-space: nowrap;
  }

  .desk-primary-nav a {
    position: relative;
  }

  .desk-primary-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: #f4b94b;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
  }

  .desk-primary-nav a:hover,
  .desk-primary-nav a.is-active {
    color: #f4b94b !important;
    background: rgba(244, 185, 75, 0.14);
    text-decoration: none;
    transform: translateY(-1px);
  }

  .desk-primary-nav a.is-active {
    box-shadow: inset 0 0 0 1px rgba(244, 185, 75, 0.28);
  }

  .desk-primary-nav a:hover::after,
  .desk-primary-nav a.is-active::after {
    width: 56%;
  }

  .desk-primary-nav a:hover .desk-nav-icon img,
  .desk-primary-nav a.is-active .desk-nav-icon img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
  }

  .desk-primary-nav a:hover .desk-nav-icon--bi,
  .desk-primary-nav a.is-active .desk-nav-icon--bi {
    color: #f4b94b;
    opacity: 1;
    transform: scale(1.05);
  }

  .desk-only-flex {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .desk-header-cta,
  button.desk-header-cta,
  a.desk-header-cta {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 7px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.1 !important;
    min-height: 0 !important;
    height: auto !important;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .desk-header-cta:hover {
    transform: translateY(-1px);
  }

  .desk-header-cta--ghost {
    background: transparent;
    border-color: rgba(244, 185, 75, 0.45);
    color: #f4b94b;
  }

  .desk-header-cta--ghost:hover {
    border-color: #f4b94b;
    color: #fff;
  }

  /* CB-138 — DEPOSIT accent: gold fill + dark text (beat theme .top-bar a) */
  .top-bar a.desk-header-cta--accent,
  .top-bar button.desk-header-cta--accent,
  a.desk-header-cta--accent,
  button.desk-header-cta--accent,
  .desk-header-cta--accent {
    background: #f4b94b !important;
    background-image: none !important;
    border-color: #d4a03a !important;
    color: #1a1208 !important;
    box-shadow: 0 3px 10px rgba(244, 185, 75, 0.28);
    text-shadow: none !important;
  }

  .top-bar a.desk-header-cta--accent:hover,
  .top-bar button.desk-header-cta--accent:hover,
  a.desk-header-cta--accent:hover,
  button.desk-header-cta--accent:hover,
  .desk-header-cta--accent:hover {
    background: #ffc85c !important;
    background-image: none !important;
    color: #1a1208 !important;
  }

  .desk-header-cta.is-active {
    outline: 1px solid rgba(244, 185, 75, 0.55);
    outline-offset: 1px;
  }

  /* Compact deposit/withdraw clarity (header + wallet page) */
  .wallet-action-flex {
    gap: 8px !important;
  }

  .wallet-btn {
    min-width: 0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    gap: 6px !important;
  }

  .wallet-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .header-currency-box {
    min-width: 110px;
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Hamburger stays for account/side; slightly quieter when CTAs present */
  .inner-header .btnToggleRSideNav {
    opacity: 0.85;
  }

  .inner-header .btnToggleRSideNav svg {
    width: 22px !important;
    height: 22px !important;
  }

  #download-app-mobile {
    background-color: var(--m188-desk-bg) !important;
    border-bottom: 1px solid var(--m188-desk-line);
  }

  #download-app-mobile .container-fluid {
    max-width: var(--m188-desk-max);
    margin: 0 auto;
    padding-left: var(--m188-desk-pad);
    padding-right: var(--m188-desk-pad);
  }

  #download-app-mobile h4 {
    font-size: 14px !important;
  }

  #download-app-mobile img {
    max-height: 32px !important;
    width: auto !important;
  }

  /* Icon category strip duplicates header nav — hide on desktop */
  .gx-menu-wrapper {
    display: none !important;
  }

  /* ---- Carousel: FULL edge-to-edge width ---- */
  .carousel-fixed-height {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: var(--m188-desk-bg);
    overflow: hidden;
  }

  .carousel-fixed-height,
  #carousel-fixed-height,
  #carousel-fixed-height .carousel-inner,
  #carousel-fixed-height .item {
    min-height: 0;
    height: auto;
    width: 100% !important;
  }

  #carousel-fixed-height img.slider-size,
  .carousel-fixed-height img.slider-size,
  #carousel-fixed-height .item img {
    width: 100% !important;
    height: clamp(260px, 28vw, 380px) !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center 28%;
    display: block;
    animation: m188-hero-fade 0.7s ease both;
  }

  /* Mobile CTA strip hidden on desktop (header CTAs replace it) */
  .btns-log.row,
  .btns-log {
    display: none !important;
  }

  /* Running text: full-bleed bar, content aligned to desktop max */
  #running-text.rt-container,
  .rt-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 var(--m188-desk-pad) !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    background-color: var(--m188-desk-bg) !important;
    border-top: 1px solid var(--m188-desk-line) !important;
    border-bottom: 1px solid var(--m188-desk-line) !important;
  }

  #running-text .rt-icon,
  .rt-container .rt-icon {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    margin-left: 0 !important;
  }

  .rt-marquee-wrapper {
    flex: 1 1 auto;
    width: 100%;
    max-width: calc(var(--m188-desk-max) - 48px);
    margin: 0 auto;
    overflow: hidden;
  }

  .rt-marquee-text,
  #running-text marquee,
  .rt-container marquee {
    width: 100%;
    font-size: 12px !important;
    line-height: 1.4;
  }

  /* ---- Content / section hierarchy (dense homepage) ---- */
  .content.my01 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
  }

  .content.my01 > br {
    display: none !important;
  }

  .common-top-section,
  .app-wrapper {
    max-width: var(--m188-desk-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--m188-desk-pad);
    padding-right: var(--m188-desk-pad);
    background: transparent !important;
  }

  .common-section-inner {
    background: transparent !important;
    padding-top: 8px !important;
    padding-bottom: 4px !important;
    margin-bottom: 12px !important;
  }

  /* Tighter vertical rhythm between provider / game sections */
  .g-slider-wrapper.recommend,
  .g-slider-wrapper {
    background: transparent !important;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
  }

  .wrapper-jackpot {
    margin: 8px auto 6px !important;
    max-width: 520px;
  }

  .wrapper-jackpot img {
    display: block;
    width: 100%;
    max-height: 84px;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
  }

  .jackpot-text-overlay {
    bottom: 6px !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }

  .section-head {
    margin: 4px 0 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid var(--m188-desk-line);
    min-height: 32px;
  }

  .table-history-transaction {
    margin-top: 16px !important;
    margin-bottom: 12px !important;
    padding-top: 12px !important;
  }

  .footer-top-wrapper {
    margin-top: 16px !important;
  }

  .footer-col {
    margin-top: 16px !important;
  }

  .section-head__icon {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex: 0 0 24px !important;
  }

  .section-head__heading,
  .footer-title2,
  .dpbox-title,
  #provider-name-slug,
  #provider-title,
  .gsl-games > h3 {
    font-size: 16px !important;
    letter-spacing: 0.1em !important;
  }

  .gsl-title-overlay {
    font-size: 11px !important;
    padding: 7px 5px !important;
  }

  .section-head__link {
    font-size: 10px !important;
    padding: 4px 8px;
    border: 1px solid rgba(255, 87, 34, 0.45);
    border-radius: 4px;
    color: #ff7043 !important;
  }

  .section-head__link:hover {
    transform: translateY(-1px);
    border-color: #ff7043;
  }

  .hot-slots-grid {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .hot-slots-grid > .hot-slots-grid__item,
  .common-section-inner .row.hot-slots-grid > .col-xs-4 {
    flex: 0 0 12.5% !important;
    width: 12.5% !important;
    max-width: 12.5% !important;
    float: none !important;
    padding: 2px !important;
    box-sizing: border-box !important;
  }

  .hot-slots-grid .thumbnail {
    background: var(--m188-desk-elevated) !important;
    border: 1px solid var(--m188-desk-line) !important;
    transition: transform 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
  }

  .hot-slots-grid .thumbnail:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 185, 75, 0.45) !important;
  }

  .hot-slots-grid .thumbnail > img {
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .hot-slots-grid .thumbnail:hover > img {
    transform: scale(1.06);
  }

  /* Light hover zoom — game list thumbs + generic section thumbs */
  .gsl-thumb {
    overflow: hidden;
  }

  .gsl-thumb img,
  .gsl-thumb .lazy-img,
  .common-section-inner .thumbnail > img,
  .common-section-inner .thumbnail .img-responsive {
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .gsl-card:hover .gsl-thumb img,
  .gsl-card:hover .gsl-thumb .lazy-img,
  .common-section-inner .thumbnail:hover > img,
  .common-section-inner .thumbnail:hover .img-responsive {
    transform: scale(1.06);
  }

  .hot-slots-caption {
    font-size: 11px !important;
    min-height: 26px;
    padding: 4px 5px !important;
  }

  .hot-slots-caption .truncate {
    font-size: 11px !important;
  }

  .common-section-inner h2.text-uppercase {
    font-size: 15px !important;
  }

  /* Deposit + withdraw */
  .table-history-transaction {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
    max-width: var(--m188-desk-max);
    margin: 8px auto 0;
    padding: 12px var(--m188-desk-pad) 16px;
    background: transparent !important;
  }

  .table-history-transaction > .py-4,
  .table-history-transaction > .py-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .table-history-transaction .row {
    margin-left: 0;
    margin-right: 0;
  }

  .table-history-transaction .col-xs-12 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .dpbox-card {
    min-height: 100%;
    padding: 16px 14px !important;
    background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%) !important;
    border: 1px solid var(--m188-desk-line);
    box-shadow: none !important;
  }

  .dpbox-title {
    font-size: 16px !important;
  }

  .dpbox-table td {
    font-size: 12px !important;
    padding: 8px 4px !important;
  }

  .dpbox-ribbon {
    width: 78px !important;
    height: 78px !important;
  }

  .dpbox-ribbon-top-left span {
    font-size: 8px !important;
    width: 84px !important;
    right: 22px !important;
    top: 8px !important;
  }

  .dpbox-swiper-deposit .swiper-slide,
  .dpbox-swiper-withdraw .swiper-slide {
    background: rgba(0, 0, 0, 0.9) !important;
  }

  /* ---- Footer ---- */
  .container-fluid {
    max-width: var(--m188-desk-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--m188-desk-pad);
    padding-right: var(--m188-desk-pad);
    background: transparent !important;
  }

  .footer-top-wrapper {
    max-width: var(--m188-desk-max);
    margin: 16px auto 0;
    padding: 20px var(--m188-desk-pad) !important;
    border-top-color: var(--m188-desk-line) !important;
    background: #000 !important;
  }

  .footer-top-inner {
    grid-template-columns: 1fr 1.2fr 1.2fr !important;
    grid-template-areas: "licence responsible browser" !important;
    gap: 32px !important;
    background: transparent !important;
    align-items: start !important;
  }

  .footer-top-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    color: #9a9a9a !important;
    margin-bottom: 12px !important;
  }

  .footer-licence,
  .footer-responsible,
  .footer-browser {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-responsible .footer-single-image,
  .footer-browser .footer-single-image {
    max-height: 32px !important;
    max-width: 240px !important;
    width: auto !important;
    margin: 0 !important;
  }

  .footer-top-logo {
    max-height: 40px !important;
  }

  /* Responsible gaming + browser support sprites are mid-grey (#9a9a9a)
     silhouettes — on black they read as muddy grey plates. Force transparent
     containers and render icons as clean light marks on #000. */
  .footer-top-col.footer-responsible,
  .footer-top-col.footer-browser,
  .footer-licence {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .footer-responsible .footer-single-image,
  .footer-browser .footer-single-image {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    filter: none !important;
    /* Swap grey-plate sprites for white-on-transparent (desktop only) */
  }

  .footer-responsible .footer-single-image {
    content: url('/assets/images/responsible-gaming-onblack.png');
  }

  .footer-browser .footer-single-image {
    content: url('/assets/images/support-onblack.png');
  }

  .footer-provider {
    grid-template-columns: repeat(10, 1fr) !important;
    gap: 6px !important;
  }

  .footer-payment {
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 6px !important;
  }

  .provider-icon,
  .payment-icon {
    padding: 4px !important;
    border-radius: 4px !important;
  }

  .provider-icon img {
    max-height: 36px !important;
  }

  .payment-icon img {
    max-height: 32px !important;
  }

  .footer-contact-full {
    width: 100% !important;
    max-width: var(--m188-desk-max);
    margin: 0 auto !important;
    padding: 8px 0 16px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-contact-box {
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    text-align: center;
    background: #0e0e0e !important;
    border: 1px solid var(--m188-desk-line) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
  }

  .footer-contact-box--spaced {
    margin-top: 0 !important;
  }

  .footer-contact-title {
    margin: 0 0 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    color: #cfcfcf !important;
  }

  .footer-contact-apps {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px !important;
    margin: 0 !important;
  }

  .contact-app {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    box-shadow: none !important;
  }

  .contact-app:hover {
    transform: translateY(-1px);
    box-shadow: none !important;
  }

  .footer-socials {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px !important;
    margin: 0 !important;
  }

  .footer-socials .social {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .footer-socials .social:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-1px);
  }

  .footer-title2 {
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .provider-icon,
  .payment-icon {
    background: rgba(14, 14, 14, 0.95) !important;
    border: 1px solid var(--m188-desk-line);
    padding: 4px !important;
    border-radius: 4px !important;
  }

  .provider-icon img {
    max-height: 36px !important;
  }

  .payment-icon img {
    max-height: 32px !important;
  }

  nav.mnav {
    display: none !important;
  }

  .modal-dialog {
    margin-top: 60px;
  }

  /* Desktop auth modal — wider than mobile phone-frame box */
  .auth-modal .modal-dialog {
    width: 560px !important;
    max-width: min(560px, 92vw) !important;
    margin: 48px auto !important;
  }

  .auth-modal .auth-box,
  .auth-modal .modal-content.auth-box {
    padding: 32px 36px 36px !important;
    border-radius: 12px !important;
  }

  .auth-modal .auth-title {
    font-size: 22px !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 26px !important;
  }

  .auth-modal .auth-input {
    height: 48px !important;
    font-size: 14px !important;
  }

  .auth-modal .auth-btn-login,
  .auth-modal .auth-btn-register {
    height: 48px !important;
    font-size: 14px !important;
  }

  .auth-modal .captcha-box {
    height: 48px !important;
    min-width: 100px !important;
  }

  .auth-modal .auth-input:focus-visible {
    box-shadow: 0 0 0 2px rgba(244,185,75,.35) !important;
  }

  .auth-modal .auth-input.is-invalid {
    border-color: #e05353 !important;
  }

  .auth-modal .error-text {
    font-size: 12px !important;
    color: #ff8e8e !important;
  }

  /* ---- Inner pages: match homepage desktop chrome ---- */
  .promo-view,
  .promo-list,
  .promotion-page {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--m188-desk-pad) !important;
    padding-right: var(--m188-desk-pad) !important;
    background: #000 !important;
    background-image: none !important;
  }

  .promo-list.ml-lg-5,
  .promo-list.mr-lg-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .promotion-page > div {
    max-width: var(--m188-desk-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .promotion-group {
    max-width: var(--m188-desk-max);
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }

  .promotion-single {
    margin-bottom: 0 !important;
    background: #0e0e0e !important;
    border: 1px solid var(--m188-desk-line);
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: none !important;
  }

  .promotion-single:hover {
    border-color: rgba(244,185,75,.35);
  }

  .promotion-single .promo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .promotion-single .promo-image img {
    width: 100%;
    display: block;
    border-radius: 0 !important;
  }

  .promotion-single .title,
  .promotion-single .title div,
  .promo-title {
    color: #f4b94b !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    font-size: 16px !important;
  }

  .promotion-single .col-md-8,
  .promotion-single .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .promotion-single .btn-secondary {
    background: transparent !important;
    border: 1px solid #f4b94b !important;
    color: #f4b94b !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
  }

  .section-promo-new {
    background: #000 !important;
  }

  /* Account deposit / withdraw — desktop shell */
  .slx-page {
    width: 100% !important;
    max-width: var(--m188-desk-max) !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: calc(100vh - var(--m188-header-offset, 72px) - 24px) !important;
    margin: 12px auto 24px !important;
    background: #000 !important;
    border: 1px solid var(--m188-desk-line);
    border-radius: 8px;
    overflow: hidden;
  }

  .slx-header-bar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 14px 20px !important;
    background: #0a0a0a !important;
    border-bottom: 1px solid var(--m188-desk-line) !important;
  }

  .slx-header-actions {
    gap: 10px;
  }

  .slx-page-content {
    padding: 20px 24px !important;
  }

  .slx-depo-form {
    background: #000 !important;
    background-image: none !important;
    padding: 8px 4px 24px !important;
    overflow: visible !important;
  }

  .slx-depo-label {
    color: #f4b94b !important;
  }

  .slx-depo-form input,
  .slx-depo-form select,
  .slx-depo-form textarea {
    background: #0a0a0a !important;
    border: 1px solid var(--m188-desk-line) !important;
    color: #eee !important;
    border-radius: 8px !important;
  }

  .slx-depo-form input:focus,
  .slx-depo-form select:focus,
  .slx-depo-form textarea:focus {
    border-color: #f4b94b !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(244,185,75,.22) !important;
  }

  /* Kill mobile phone-narrow caps inside deposit/withdraw */
  .slx-page [style*="max-width"],
  .slx-depo-form,
  .slx-depo-form > *,
  .slx-page .slx-depo-form .form-control,
  .slx-page select,
  .slx-page input[type="text"],
  .slx-page input[type="number"],
  .slx-page .btn,
  .slx-page .slx-submit,
  .slx-page .submit-deposit {
    max-width: none !important;
  }

  .slx-depo-form {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .slx-header-bar {
    max-width: none !important;
  }

  /* Game lists (/slots, casino, …): dense full-bleed desktop pack */
  .gsl-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    background: transparent !important;
  }

  .gsl-layout {
    height: calc(100vh - var(--m188-header-offset, 72px) - 12px) !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--m188-header-offset, 72px) - 12px) !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    background: #000 !important;
    border: 1px solid var(--m188-desk-line);
    border-radius: 6px;
    overflow: hidden;
  }

  .gsl-provider {
    width: 72px !important;
    flex: 0 0 72px !important;
    background: #0a0a0a !important;
    border-right-color: var(--m188-desk-line) !important;
    padding: 8px 5px !important;
    gap: 6px !important;
  }

  .gsl-prov {
    padding: 3px !important;
    border-radius: 6px !important;
  }

  .gsl-prov img {
    width: 36px !important;
    height: 36px !important;
  }

  .gsl-games {
    padding: 8px 10px !important;
    height: 100% !important;
    overflow-y: auto !important;
  }

  .gsl-games > h3,
  #provider-name-slug {
    margin: 2px 0 8px !important;
    font-size: 15px !important;
    letter-spacing: 0.18em !important;
  }

  .gsl-search {
    margin-bottom: 8px !important;
  }

  .gsl-search input {
    padding: 8px 10px !important;
  }

  .gsl-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)) !important;
    gap: 6px !important;
  }

  .gsl-title {
    height: 26px !important;
    font-size: 11px !important;
  }
}

@media (min-width: 1200px) {
  .gsl-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .gsl-grid {
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)) !important;
    gap: 6px !important;
  }
}

@media (min-width: 1400px) {
  .gsl-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .gsl-grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)) !important;
    gap: 7px !important;
  }
}

@media (min-width: 1280px) {
  :root {
    --m188-desk-max: 1400px;
    --m188-desk-pad: 18px;
  }

  #carousel-fixed-height img.slider-size,
  .carousel-fixed-height img.slider-size,
  #carousel-fixed-height .item img {
    height: clamp(280px, 26vw, 360px) !important;
  }

  .hot-slots-grid > .hot-slots-grid__item,
  .common-section-inner .row.hot-slots-grid > .col-xs-4 {
    flex: 0 0 10% !important;
    width: 10% !important;
    max-width: 10% !important;
  }

  .footer-provider {
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 6px !important;
  }
}

@keyframes m188-hero-fade {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #carousel-fixed-height .item img,
  .common-section-inner .row > .col-xs-4 .thumbnail,
  .desk-header-cta,
  .desk-primary-nav a,
  .section-head__link {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile: Tanggung Jawab + Browser 2-col; compact sprite icons */
@media (max-width: 991px) {
  .footer-top-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "licence licence"
      "responsible browser" !important;
    gap: 12px 10px !important;
    align-items: start !important;
  }

  .footer-licence {
    grid-area: licence !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-responsible {
    grid-area: responsible !important;
  }

  .footer-browser {
    grid-area: browser !important;
  }

  .footer-responsible,
  .footer-browser {
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  .footer-top-inner .footer-top-title {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .footer-responsible .footer-single-image,
  .footer-browser .footer-single-image {
    max-height: 22px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    object-fit: contain !important;
    opacity: 0.9;
  }

  .contact-app {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
  }

  .footer-socials .social {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
  }

  .footer-contact-box {
    padding: 14px 16px !important;
    border-radius: 8px !important;
  }

  .footer-contact-title {
    font-size: 12px !important;
    letter-spacing: 0.12em;
    margin-bottom: 10px !important;
  }

  .footer-contact-apps {
    gap: 10px !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   Polish3 — footer legal, tablet (768–991)
   (skeleton / cat overlay removed)
   ========================================================= */

/* Footer copyright / legal */
.footer-legal {
  max-width: 1200px;
  margin: 4px auto 16px;
  padding: 10px 16px 4px;
  border-top: 1px solid rgba(244, 185, 75, 0.14);
  text-align: center;
}

.footer-legal p {
  margin: 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.footer-legal .footer-legal__age {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid rgba(244, 185, 75, 0.45);
  border-radius: 3px;
  color: #f4b94b;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
}

@media (min-width: 992px) {
  .footer-legal {
    max-width: var(--m188-desk-max);
    padding-left: var(--m188-desk-pad);
    padding-right: var(--m188-desk-pad);
    margin-top: auto !important;
    margin-bottom: 16px !important;
  }

  .footer-legal p {
    font-size: 13px;
  }
}

/* Tablet: expand awkward 500px phone-frame mid-breakpoint */
@media (min-width: 768px) and (max-width: 991px) {
  html,
  body,
  body.mobile {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  .desktop-phone-container {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    display: block !important;
    justify-content: stretch !important;
    overflow: visible !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  .phone-wrapper {
    width: 100% !important;
    max-width: 780px !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    position: relative !important;
    background: #000 !important;
    background-color: #000 !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .full-container.layout,
  .main-content,
  .backdrop,
  #mainContent,
  #mainContentContainer,
  .content.my01 {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background: transparent !important;
  }

  .top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background: #000 !important;
    background-color: #000 !important;
  }

  body.mobile {
    padding-top: var(--m188-header-offset, 110px) !important;
  }

  .hot-slots-grid > .hot-slots-grid__item {
    width: 25% !important;
    max-width: 25% !important;
  }

  .gsl-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .carousel-fixed-height img.slider-size,
  #carousel-fixed-height img.slider-size,
  #carousel-fixed-height .item img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1600 / 425;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hot-slots-grid .thumbnail > img,
  .gsl-thumb img,
  .gsl-thumb .lazy-img {
    transition: none !important;
  }
}

/* =========================================================
   Mobile homepage density — safe vertical tighten (no redesign)
   ========================================================= */
@media (max-width: 991px) {
  #running-text.rt-container,
  .rt-container {
    min-height: 28px !important;
    padding: 4px 12px !important;
  }

  .btns-log.row,
  .btns-log {
    padding: 6px 12px !important;
  }

  .btns-log .btn {
    min-height: 34px !important;
  }

  .gx-menu-wrapper {
    padding: 4px 8px 6px !important;
  }

  .wrapper-jackpot {
    margin: 2px auto 6px !important;
  }

  .section-head {
    margin-top: 2px !important;
    margin-bottom: 6px !important;
  }

  .content.my01 .g-slider-wrapper.recommend,
  .content.my01 .g-slider-wrapper {
    padding-top: 4px !important;
    padding-bottom: 6px !important;
  }

  .hot-slots-caption {
    padding: 4px 4px !important;
  }

  .table-history-transaction > .py-4,
  .content.my01 .py-4 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .dpbox-card {
    padding: 12px !important;
  }

  .dpbox-divider {
    margin-top: 6px !important;
    margin-bottom: 10px !important;
  }

  .footer-contact-full {
    padding: 12px !important;
  }

  .footer-top-wrapper {
    padding: 12px !important;
  }

  .footer-col.mt-3,
  .footer-col {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
  }

  .footer-title2 {
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    letter-spacing: 0.1em !important;
  }

  .footer-payment.mt-3,
  .footer-payment {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
  }

  .payment-icon {
    padding: 4px !important;
  }

  .payment-icon img {
    max-height: 28px !important;
  }

  /* Provider wall denser: 6 cols */
  .footer-provider {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 4px !important;
  }

  .provider-icon {
    padding: 3px !important;
  }

  .provider-icon img {
    max-height: 22px !important;
  }

  .footer-legal {
    margin-top: 2px !important;
    margin-bottom: 8px !important;
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }

  /* ---- Leftovers pass ---- */

  /*
   * Download-app bar — readable flex row (~40px).
   * Prior leftover pass nested flex on table-cells → close/logo/text stacked.
   */
  #download-app-mobile {
    height: 40px !important;
    max-height: 40px !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
  }

  #download-app-mobile .container-fluid {
    height: 40px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #download-app-mobile .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    margin: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  #download-app-mobile .col-xs-10 {
    float: none !important;
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    padding: 0 8px 0 6px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Kill inline display:table — real flex row: close | logo | text */
  #download-app-mobile .col-xs-10 > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  #download-app-mobile .col-xs-10 > div > div {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
  }

  /* Text cell grows; truncate long titles */
  #download-app-mobile .col-xs-10 > div > div:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  #download-app-mobile #close-download-app {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    flex-shrink: 0 !important;
  }

  #download-app-mobile #close-download-app svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
  }

  #download-app-mobile .col-xs-10 img[alt="Icon Aplikasi"],
  #download-app-mobile .col-xs-10 img:not(.icon-download-mover) {
    width: 28px !important;
    height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  #download-app-mobile h4 {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  #download-app-mobile .col-xs-10 h4 + div {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    opacity: 0.85;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  #download-app-mobile .col-xs-2 {
    float: none !important;
    width: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #download-app-mobile .col-xs-2 a.btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    width: 100% !important;
    border-radius: 0 !important;
    line-height: 1 !important;
  }

  #download-app-mobile .col-xs-2 img,
  #download-app-mobile .icon-download-mover {
    height: 16px !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* 2) Compact DP/WD history swipers */
  .table-history-transaction > .py-4,
  .content.my01 .py-4 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .content.my01 .py-2 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .dpbox-card {
    padding: 10px 10px 8px !important;
    border-radius: 10px !important;
  }

  .dpbox-title {
    font-size: 15px !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
  }

  .dpbox-divider {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
  }

  .dpbox-swiper-deposit,
  .dpbox-swiper-withdraw {
    height: 144px !important; /* ~4 rows */
  }

  .dpbox-swiper-deposit .swiper-slide,
  .dpbox-swiper-withdraw .swiper-slide {
    height: 36px !important;
    padding: 1px 8px !important;
  }

  .dpbox-table td {
    padding: 3px 4px !important;
    font-size: 11px !important;
  }

  .dpbox-ribbon {
    width: 72px !important;
    height: 72px !important;
    transform: scale(0.72);
    transform-origin: top left;
  }

  .dpbox-ribbon-top-left span {
    font-size: 8px !important;
    padding: 1px 0 !important;
  }

  /* 3) Side promo tab: tuck closed peek so it doesn't cover slots */
  .side-arrow {
    width: 14px !important;
    height: 44px !important;
    left: -4px !important;
    opacity: 0.72 !important;
    transform: none !important;
  }

  .side-arrow svg {
    width: 14px !important;
    height: 44px !important;
  }

  .side-panel.open ~ .side-arrow {
    left: 64px !important;
  }

  .side-panel {
    background: #0a0a0a !important;
  }

  /* 4) Ease 6-icon strip / Mini Games — one-line labels */
  .gx-menu-scroll .gx-menu-item .gx-icon-box {
    height: 28px !important;
    margin: 0 0 2px !important;
  }

  .gx-menu-scroll .gx-menu-item img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
  }

  .gx-menu-scroll .gx-menu-item span {
    font-size: 9px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 5) Footer titles — tighter tracking on mobile */
  .footer-title2 {
    letter-spacing: 0.06em !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   /slots (gsl) mobile polish — gutters, density, provider rail
   Desktop ≥992 gsl rules above stay untouched.
   ========================================================= */
@media (max-width: 991px) {
  .gsl-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
  }

  /*
   * Blade uses height: calc(100vh - 60px) which ignores download+header+menu+mnav
   * → page + inner double-scroll. Fit remaining viewport under chrome, above mnav.
   */
  .gsl-layout {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    /* Was 270px → ~−6px mnav overlap; 278 clears sticky mnav + safe-area */
    height: calc(100dvh - 278px) !important;
    max-height: calc(100dvh - 278px) !important;
    min-height: 360px !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  /* Narrower provider rail → more room for 3-col game grid */
  .gsl-provider {
    width: 56px !important;
    flex: 0 0 56px !important;
    padding: 6px 4px !important;
    gap: 5px !important;
    background: #0a0a0a !important;
    border-right: 1px solid rgba(244, 185, 75, 0.14) !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .gsl-prov {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 3px !important;
    border-radius: 6px !important;
    min-height: 44px !important;
    background: #141414 !important;
  }

  .gsl-prov img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    object-fit: contain !important;
    /* Hide muddy broken-alt text when CDN icons fail */
    font-size: 0 !important;
    color: transparent !important;
  }

  .gsl-prov.active {
    background: linear-gradient(180deg, #f4b94b, #c9962c) !important;
  }

  .gsl-games {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 8px !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .gsl-games > h3,
  #provider-name-slug {
    margin: 0 0 6px !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
  }

  .gsl-search {
    margin-bottom: 8px !important;
  }

  .gsl-search input {
    padding: 8px 10px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    background: #111 !important;
    border-color: #2a2a2a !important;
  }

  .gsl-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .gsl-card {
    min-width: 0 !important;
    border-radius: 8px !important;
    background: #141414 !important;
  }

  .gsl-thumb {
    border-radius: 8px 8px 0 0;
  }

  .gsl-thumb::after {
    width: 26px !important;
    height: 26px !important;
    top: -4px !important;
    right: -4px !important;
    background-size: 14px 14px !important;
  }

  /* 2-line titles — less ugly truncation on ~100px cards */
  .gsl-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    height: auto !important;
    min-height: 28px !important;
    max-height: 32px !important;
    padding: 3px 4px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .gsl-load-status {
    padding: 10px 6px 16px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   Category pages with horizontal provider rail
   (casino / fishing / minigames — no .gsl-layout)
   Desktop ≥992 unchanged.
   ========================================================= */
@media (max-width: 991px) {
  /*
   * Wrapper includes gx-menu + provider-slider + games.
   * Top sticky chrome ~142px, mnav ~70px → 100dvh - 218 clears mnav
   * without the calc(100vh - 60px) double-scroll / −100px overlap.
   */
  .gsl-wrapper:has(.provider-slider) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: calc(100dvh - 218px) !important;
    max-height: calc(100dvh - 218px) !important;
    min-height: 360px !important;
    overflow: hidden !important;
    background: #000 !important;
  }

  .gsl-wrapper:has(.provider-slider) .gx-menu-wrapper {
    flex: 0 0 auto !important;
  }

  .gsl-wrapper:has(.provider-slider) .provider-slider {
    flex: 0 0 auto !important;
    display: flex !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
    background: #0a0a0a !important;
    scrollbar-width: none;
  }

  .gsl-wrapper:has(.provider-slider) .provider-slider::-webkit-scrollbar {
    display: none;
  }

  .gsl-wrapper:has(.provider-slider) .provider-item {
    flex: 0 0 auto !important;
    width: 64px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    padding: 5px 3px !important;
    border-radius: 8px !important;
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
  }

  .gsl-wrapper:has(.provider-slider) .provider-item img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    font-size: 0 !important;
    color: transparent !important;
  }

  .gsl-wrapper:has(.provider-slider) .provider-item span {
    font-size: 8px !important;
    line-height: 1.15 !important;
    margin-top: 2px !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gsl-wrapper:has(.provider-slider) .provider-item.active {
    background: linear-gradient(180deg, #f4b94b, #c9962c) !important;
    border: none !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-games {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 8px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .gsl-wrapper:has(.provider-slider) #provider-title {
    margin: 0 0 6px !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-grid {
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-card {
    min-width: 0 !important;
    border-radius: 8px !important;
    background: #141414 !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-thumb {
    height: 110px !important;
    border-radius: 8px !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-title-overlay {
    padding: 4px 3px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-provider-badge {
    width: 26px !important;
    height: 26px !important;
    top: -4px !important;
    right: -4px !important;
  }

  .gsl-wrapper:has(.provider-slider) .gsl-provider-badge img {
    width: 14px !important;
    height: 14px !important;
  }

  .gsl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 36px 12px;
    color: #9a9a9a;
    font-size: 13px;
  }

  .gsl-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }

  /* Sports / togel share .gsl-layout — tighten title tracking like slots */
  .gsl-layout #provider-name-slug {
    letter-spacing: 0.08em !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   /promotion mobile polish — black theme, denser cards, CTAs
   Desktop ≥992 promo rules above stay untouched.
   ========================================================= */
@media (max-width: 991px) {
  .promo-view,
  .promo-list,
  .promotion-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #000 !important;
    background-image: none !important;
    box-sizing: border-box !important;
  }

  .promo-list.ml-lg-5,
  .promo-list.mr-lg-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .promotion-page {
    padding-top: 0 !important;
    /* Extra room under last card for raised .mnav-center gift button */
    padding-bottom: 48px !important;
  }

  /* Kill theme 30px top/bottom pad that wastes first viewport */
  .promotion-page > div {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .promotion-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 8px 0 4px !important;
    margin: 0 !important;
  }

  .promotion-single {
    width: 100% !important;
    margin: 0 !important;
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.14) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    color: #fff !important;
    transform: none !important;
  }

  .promotion-single:hover,
  .promotion-single:active {
    transform: none !important;
    border-color: rgba(244, 185, 75, 0.35) !important;
    box-shadow: none !important;
  }

  .promotion-single .promo-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .promotion-single .promo-image {
    width: 100% !important;
    margin: 0 !important;
    line-height: 0 !important;
    background: #111 !important;
  }

  .promotion-single .promo-image img,
  .promotion-single img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 148px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    background: #141414 !important;
  }

  /* Meta row: title + CTA denser */
  .promotion-single .promo-meta,
  .promotion-single > .promo-card > .col-md-8,
  .promotion-single .promo-card > .col-md-8 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  .promotion-single .promo-meta .text-left,
  .promotion-single .col-md-8 > .text-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .promotion-single .title,
  .promotion-single .title div,
  .promo-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .promotion-single .m-t-10 {
    margin-top: 0 !important;
  }

  .promotion-single .btn-secondary,
  .promotion-single a.btn-secondary,
  .promotion-single .promo-cta {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    min-width: 96px !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 1px solid #f4b94b !important;
    color: #f4b94b !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .promotion-single .btn-secondary:active,
  .promotion-single .promo-cta:active {
    background: rgba(244, 185, 75, 0.14) !important;
  }

  /* Already hidden by theme; keep compact if ever shown */
  .promotion-single .time-remaining-wraper,
  .mobile .time-remaining-wraper {
    display: none !important;
  }

  .promo-empty {
    text-align: center;
    padding: 48px 16px;
    color: #9a9a9a;
    font-size: 13px;
    background: #0e0e0e;
    border: 1px solid rgba(244, 185, 75, 0.14);
    border-radius: 10px;
  }

  /* Detail modal — black theme, mnav-safe scroll */
  .promotion-modal .md-content,
  .promotionmodal_content,
  .section-promo-new {
    background: #0a0a0a !important;
    background-image: none !important;
  }

  .promotion-modal .md-content {
    position: relative !important;
  }

  /* Close X — ≥44px hit area, inset from edges (override theme top:-2px) */
  .promotion-modal .md-close,
  .mobile .promotion-modal .md-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #f4b94b !important;
    opacity: 0.92 !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(244, 185, 75, 0.28) !important;
    -webkit-tap-highlight-color: transparent;
  }

  .promotion-modal .md-close:hover,
  .promotion-modal .md-close:focus,
  .promotion-modal .md-close:active {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.78) !important;
    border-color: rgba(244, 185, 75, 0.5) !important;
  }

  .promotion-modal .md-body,
  .mobile .promotion-modal .md-body {
    padding: 16px 14px 20px !important;
    padding-top: 74px !important; /* clear close button + air under X */
  }

  .section-promo-new {
    padding: 16px !important;
    border: 1px solid rgba(244, 185, 75, 0.12);
    border-radius: 8px;
  }

  .promotion-modal .section-promo-new:first-child {
    padding: 16px 16px 18px !important;
  }

  .promotion-modal .section-promo-new.mt-3 {
    margin-top: 16px !important;
  }

  /* keep banner inset — Bootstrap .row gutters cancel section padding */
  .promotion-modal .section-promo-new > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .promotion-modal .promobanner_img,
  .promotion-modal .promo-modal-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .promotion-modal .promobanner_img {
    margin-bottom: 4px !important;
  }

  .promotion-modal .promo-modal-header {
    padding-top: 14px !important;
    padding-bottom: 0 !important;
  }

  .promotion-modal .promo-modal-header .promo-title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    font-size: 15px !important;
    color: #f4b94b !important;
  }

  .promotion-modal .promo-time {
    font-size: 12px !important;
    color: #aaa !important;
    margin: 8px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .promotion-modal .promobanner_img img {
    width: 100% !important;
    height: auto !important;
    max-height: 160px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .promotionmodal_content {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .promotion-modal .promo-tnc {
    margin-top: 0 !important;
    padding-top: 2px !important;
  }

  .promotion-modal .promo-tnc.mt-2 {
    margin-top: 0 !important;
  }

  /* T&C copy — Montserrat theme, readable dash list */
  .promotion-modal .promo-tnc-heading {
    margin: 0 0 10px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #f4b94b !important;
    letter-spacing: 0.02em;
  }

  .promotion-modal .promo-tnc-body {
    margin: 0 0 1rem !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 300 !important;
    line-height: 1.65 !important;
    color: #e8e8e8 !important;
    white-space: pre-line;
  }

  .promotion-modal .promo-tnc-body * {
    font-family: Montserrat, sans-serif !important;
    color: #e8e8e8 !important;
  }
}

/* =========================================================
 * CB-82/84 — /register-success
 * Mobile gold polish + desktop match + tablet scroll + mnav glow
 * ========================================================= */
@media (max-width: 991px) {
  /* Blade used to force .layout .content.my01 { height:100vh } → nested scroll + void */
  .layout .content.my01:has(.reg-success),
  .content.my01:has(.reg-success),
  .mobile .content.my01:has(.reg-success) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: block !important;
    padding-bottom: 0 !important;
  }

  .container-wrapper.reg-success,
  .reg-success {
    height: auto !important;
    /* Fill leftover viewport under top-bar(~100) + ticker(~42) above fixed mnav(~70) */
    min-height: calc(100dvh - 212px) !important;
    max-height: none !important;
    padding-top: 12px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .reg-success .container-box {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .reg-success .ux-summary-card {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
    border-radius: 12px !important;
    margin: 0 12px 12px !important;
    padding: 20px 16px 22px !important;
    box-shadow: none !important;
    max-width: 100% !important;
  }

  /* Header already has brand mark — drop duplicate card logo */
  .reg-success .reg-success-logo,
  .reg-success .ux-summary-card > img {
    display: none !important;
  }

  .reg-success .big-congrats {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
    text-shadow: none !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .reg-success .sub-text {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #cfcfcf !important;
    margin: 0 auto !important;
    max-width: 32em !important;
    padding: 0 4px !important;
  }

  .reg-success .web-name {
    color: #f4b94b !important;
    font-weight: 700 !important;
    text-shadow: none !important;
  }

  .reg-success .reg-success-cta,
  .reg-success a.btn-warning,
  .reg-success .btn-warning {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 280px !important;
    min-height: 48px !important;
    margin-top: 18px !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    border: 1px solid #f4b94b !important;
    background: linear-gradient(180deg, #f4b94b, #c9962c) !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    box-shadow: none !important;
    animation: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .reg-success .reg-success-cta strong,
  .reg-success a.btn-warning strong {
    color: #111 !important;
    font-weight: 800 !important;
  }

  .reg-success .reg-success-cta i,
  .reg-success a.btn-warning i {
    color: #111 !important;
    font-size: 1.05em !important;
  }

  .reg-success .reg-success-cta:hover,
  .reg-success .reg-success-cta:focus,
  .reg-success .reg-success-cta:active,
  .reg-success a.btn-warning:hover,
  .reg-success a.btn-warning:focus,
  .reg-success a.btn-warning:active {
    background: linear-gradient(180deg, #ffd06a, #d4a532) !important;
    border-color: #ffd06a !important;
    color: #111 !important;
  }

  /* Dim Promosi center glow so Deposit CTA owns attention */
  body:has(.reg-success) .mnav-center-btn::before,
  .mobile:has(.reg-success) .mnav-center-btn::before {
    animation: none !important;
    background: rgba(244, 185, 75, 0.55) !important;
    opacity: 0.55 !important;
  }
}

/* Tablet band: kill 100vh phone-shell + download-bar offset (~100–170 scrollExtra) */
@media (min-width: 768px) and (max-width: 991px) {
  body:has(.reg-success),
  body.mobile:has(.reg-success) {
    padding-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  /* Download bar sits above .desktop-phone-container; 100vh shell → +100 scroll */
  body:has(.reg-success) .desktop-phone-container,
  body:has(.reg-success) .phone-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .container-wrapper.reg-success,
  .reg-success {
    min-height: calc(100dvh - 220px) !important;
    padding-top: 8px !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
    justify-content: center !important;
  }

  .reg-success .ux-summary-card {
    margin: 12px auto 16px !important;
    max-width: 520px !important;
  }

  .reg-success .reg-success-cta,
  .reg-success a.btn-warning {
    max-width: 300px !important;
  }
}

/* Desktop ≥992 — match mobile gold polish; constrain card; kill void */
@media (min-width: 992px) {
  .layout .content.my01:has(.reg-success),
  .content.my01:has(.reg-success) {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .container-wrapper.reg-success,
  .reg-success {
    min-height: calc(100vh - 220px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 32px 16px 48px !important;
    box-sizing: border-box !important;
  }

  .reg-success .container-box {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .reg-success .ux-summary-card {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
    border-radius: 12px !important;
    margin: 0 auto !important;
    padding: 28px 28px 30px !important;
    box-shadow: none !important;
    max-width: 480px !important;
    width: 100% !important;
  }

  .reg-success .reg-success-logo,
  .reg-success .ux-summary-card > img {
    display: none !important;
  }

  .reg-success .big-congrats {
    font-size: 1.85rem !important;
    letter-spacing: 0.08em !important;
    margin: 0 0 12px !important;
    text-shadow: none !important;
  }

  .reg-success .sub-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #cfcfcf !important;
    max-width: 34em !important;
    margin: 0 auto !important;
  }

  .reg-success .web-name {
    color: #f4b94b !important;
    text-shadow: none !important;
  }

  .reg-success .reg-success-cta,
  .reg-success a.btn-warning,
  .reg-success .btn-warning {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 280px !important;
    min-height: 48px !important;
    margin-top: 20px !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    border: 1px solid #f4b94b !important;
    background: linear-gradient(180deg, #f4b94b, #c9962c) !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    animation: none !important;
  }

  .reg-success .reg-success-cta strong,
  .reg-success a.btn-warning strong,
  .reg-success .reg-success-cta i,
  .reg-success a.btn-warning i {
    color: #111 !important;
  }

  .reg-success .reg-success-cta:hover,
  .reg-success .reg-success-cta:focus,
  .reg-success a.btn-warning:hover,
  .reg-success a.btn-warning:focus {
    background: linear-gradient(180deg, #ffd06a, #d4a532) !important;
    border-color: #ffd06a !important;
    color: #111 !important;
  }
}

/* =========================================================
 * CB-86 — /account/profile mobile ≤991
 * Kill 100dvh shell, black theme, mnav clearance, denser grid
 * ========================================================= */
@media (max-width: 991px) {
  /* Blade .slx-page { height:100dvh } + nested .content.my01 scroll → void / clip under mnav.
   * Do NOT pair overflow-x:hidden with overflow-y:visible — CSS forces y→auto (nested scroll).
   * Horizontal clip stays on html/body (overflow-x:clip) from the global ≤991 block. */
  .layout .content.my01:has(.wallet-action-wrap),
  .content.my01:has(.wallet-action-wrap),
  .mobile .content.my01:has(.wallet-action-wrap) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding-bottom: 0 !important;
    background: #000 !important;
  }

  .full-container.layout:has(.wallet-action-wrap),
  .layout.full-container:has(.wallet-action-wrap) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .slx-page:has(.wallet-action-wrap) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    background: #000 !important;
    background-image: none !important;
    overflow: visible !important;
  }

  .slx-page:has(.wallet-action-wrap) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
    padding: 12px 12px 14px !important;
    gap: 10px !important;
  }

  /* CB-91 — drop large page saldo (header chip remains) */
  .slx-page:has(.wallet-action-wrap) .slx-saldo {
    display: none !important;
  }

  /* CB-91 — dim Promosi center glow on profile (Akun Saya owns attention) */
  body:has(.wallet-action-wrap) .mnav-center-btn::before,
  .mobile:has(.wallet-action-wrap) .mnav-center-btn::before {
    animation: none !important;
    background: rgba(244, 185, 75, 0.55) !important;
    opacity: 0.55 !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-wrap {
    background: #0a0a0a !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.16) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    box-shadow: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-flex {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    flex-wrap: unset !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-flex.one-column {
    grid-template-columns: 1fr !important;
    margin-top: 8px !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn {
    flex: unset !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 68px !important;
    padding: 10px 6px !important;
    gap: 5px !important;
    border: 1px solid rgba(244, 185, 75, 0.28) !important;
    border-radius: 10px !important;
    background: #000 !important;
    color: #f4b94b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn span {
    line-height: 1.2 !important;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn:hover,
  .slx-page:has(.wallet-action-wrap) .wallet-btn:focus,
  .slx-page:has(.wallet-action-wrap) .wallet-btn:active {
    background: rgba(244, 185, 75, 0.08) !important;
    transform: none !important;
    border-color: rgba(244, 185, 75, 0.45) !important;
  }

  /* Logout — full-width quieter row */
  .slx-page:has(.wallet-action-wrap) .wallet-action-flex.one-column .wallet-btn {
    min-height: 48px !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    border-color: rgba(244, 185, 75, 0.22) !important;
    color: #e8c56a !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-flex.one-column .wallet-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .slx-page:has(.wallet-action-wrap) .slx-page-content {
    flex: none !important;
    /* Body already pads 70px for fixed mnav; keep a light page pad so jackpot clears raised center gift */
    padding: 12px 12px 24px !important;
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(.wallet-action-wrap) .ux-wallet-page {
    background: #000 !important;
    background-color: #000 !important;
    padding: 0 !important;
    color: #fff !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-card {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    max-width: 100% !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-header h3 {
    font-size: 15px !important;
    color: #f4b94b !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.02em;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-info {
    background: rgba(244, 185, 75, 0.08) !important;
    border: 1px solid rgba(244, 185, 75, 0.12) !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    gap: 8px;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-info strong {
    color: #f4b94b !important;
    font-weight: 700 !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-table {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-table thead th {
    font-size: 11px !important;
    color: #f4b94b !important;
    padding: 8px 4px !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.16) !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-table tbody td {
    font-size: 12px !important;
    padding: 8px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ddd !important;
    overflow-wrap: anywhere;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-table .win {
    color: #00e676 !important;
    font-weight: 600 !important;
  }
}

/* Tablet band: phone-frame + download bar — keep document scroll */
@media (min-width: 768px) and (max-width: 991px) {
  body:has(.wallet-action-wrap),
  body.mobile:has(.wallet-action-wrap) {
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  body:has(.wallet-action-wrap) .desktop-phone-container,
  body:has(.wallet-action-wrap) .phone-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .slx-page:has(.wallet-action-wrap) {
    max-width: 100% !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn {
    min-height: 72px !important;
    font-size: 13px !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-card {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =========================================================
 * CB-89 — /account/profile desktop ≥992 black wallet theme
 * Match CB-86 black page/wallet/jackpot (blade gray gradient out)
 * ========================================================= */
@media (min-width: 992px) {
  .layout .content.my01:has(.wallet-action-wrap),
  .content.my01:has(.wallet-action-wrap) {
    background: #000 !important;
  }

  .slx-page:has(.wallet-action-wrap) {
    background: #000 !important;
    background-image: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
  }

  .slx-page:has(.wallet-action-wrap) .slx-saldo {
    display: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-wrap {
    background: #0a0a0a !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.16) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn {
    height: auto !important;
    min-height: 72px !important;
    border: 1px solid rgba(244, 185, 75, 0.28) !important;
    background: #000 !important;
    color: #f4b94b !important;
    box-shadow: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-btn:hover,
  .slx-page:has(.wallet-action-wrap) .wallet-btn:focus {
    background: rgba(244, 185, 75, 0.08) !important;
    border-color: rgba(244, 185, 75, 0.45) !important;
    transform: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .wallet-action-flex.one-column .wallet-btn {
    min-height: 48px !important;
    flex-direction: row !important;
    justify-content: center !important;
  }

  .slx-page:has(.wallet-action-wrap) .slx-page-content {
    background: #000 !important;
  }

  .slx-page:has(.wallet-action-wrap) .ux-wallet-page {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-card {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
    box-shadow: none !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-header h3,
  .slx-page:has(.wallet-action-wrap) .jackpot-info strong,
  .slx-page:has(.wallet-action-wrap) .jackpot-table thead th {
    color: #f4b94b !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-info {
    background: rgba(244, 185, 75, 0.08) !important;
    border: 1px solid rgba(244, 185, 75, 0.12) !important;
  }

  .slx-page:has(.wallet-action-wrap) .jackpot-table .win {
    color: #00e676 !important;
  }
}

/* =========================================================
 * CB-92/94 — /account/deposit mobile ≤991
 * Kill 100dvh + form overflow:hidden, black theme, denser form, mnav Dompet
 * CB-94: +Rekening enable style, hint gold, placeholder muted, hide side peek
 * Scoped to #wrapper-deposit (deposit-only; withdraw/profile share .slx-depo-form)
 * ========================================================= */
@media (max-width: 991px) {
  /* Nested .content.my01 scroll + blade .slx-page { height:100dvh } + form height:100%/overflow:hidden */
  .layout .content.my01:has(#wrapper-deposit),
  .content.my01:has(#wrapper-deposit),
  .mobile .content.my01:has(#wrapper-deposit) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding-bottom: 0 !important;
    background: #000 !important;
  }

  .full-container.layout:has(#wrapper-deposit),
  .layout.full-container:has(#wrapper-deposit) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-deposit) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    background: #000 !important;
    background-image: none !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
    padding: 10px 12px 12px !important;
    gap: 8px !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-header-actions {
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-back,
  .slx-page:has(#wrapper-deposit) .slx-btn-add,
  .slx-page:has(#wrapper-deposit) .slx-btn-add-disabled {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    cursor: pointer !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    border: none !important;
    cursor: pointer !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-add-disabled {
    background: #141414 !important;
    color: #888 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: not-allowed !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-page-content {
    flex: none !important;
    padding: 12px 12px 24px !important;
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-form,
  .slx-page:has(#wrapper-deposit) #wrapper-deposit {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background: #000 !important;
    background-image: none !important;
    padding: 4px 0 8px !important;
    color: #fff !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-group {
    margin-bottom: 12px !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    color: #f4b94b !important;
    letter-spacing: 0.02em;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-hint {
    font-size: 11px !important;
    margin-top: 5px !important;
    line-height: 1.35 !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-input::placeholder {
    color: rgba(244, 185, 75, 0.38) !important;
    font-weight: 500 !important;
    opacity: 1 !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-min {
    font-size: 11px !important;
    margin-top: 5px !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-input,
  .slx-page:has(#wrapper-deposit) .slx-select-trigger {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 12px !important;
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.45) !important;
    border-radius: 8px !important;
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    min-height: 44px !important;
    height: auto !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-text {
    color: #f4b94b !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .slx-page:has(#wrapper-deposit) .slx-rek-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
  }

  /* Promo picker — match methods gold chrome */
  .slx-page:has(#wrapper-deposit) .slx-option-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.25;
  }

  .slx-page:has(#wrapper-deposit) .slx-option-meta {
    margin-top: 3px;
    font-size: 11px;
  }

  .slx-page:has(#wrapper-deposit) .slx-freq,
  .slx-page:has(#wrapper-deposit) .slx-freq-once,
  .slx-page:has(#wrapper-deposit) .slx-freq-daily,
  .slx-page:has(#wrapper-deposit) .slx-freq-weekly {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: #111 !important;
    background: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.55) !important;
    white-space: nowrap;
  }

  .slx-page:has(#wrapper-deposit) .slx-bonus {
    color: rgba(244, 185, 75, 0.72) !important;
    letter-spacing: 0.02em !important;
    font-weight: 500 !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-arrow {
    color: #f4b94b !important;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-options {
    background: #000 !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    border-radius: 8px !important;
    z-index: 40 !important;
    max-height: min(260px, 48vh) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55) !important;
    top: calc(100% + 4px) !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-divider {
    padding: 6px 12px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    color: #f4b94b !important;
    background: #050505 !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.18) !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-option {
    padding: 9px 12px !important;
    font-size: 13px !important;
    color: #f4b94b !important;
    background: #000 !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.1) !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-options .slx-option + .slx-option {
    border-top: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-option:hover {
    background: rgba(244, 185, 75, 0.1) !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-pay-row {
    gap: 10px;
  }

  .slx-page:has(#wrapper-deposit) .slx-pay-logo {
    width: 32px !important;
    height: 24px !important;
    background: #161616 !important;
    border-radius: 4px !important;
    border: 1px solid rgba(244, 185, 75, 0.16) !important;
    padding: 3px !important;
    object-fit: contain !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-pay-logo-fallback {
    width: 32px !important;
    height: 24px !important;
    background: #111 !important;
    border-radius: 4px !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-pay-logo[src*="ocbc-bank"],
  .slx-page:has(#wrapper-deposit) .slx-pay-logo[src*="jenius"],
  .slx-page:has(#wrapper-deposit) .slx-pay-logo[src*="telkomsel"] {
    filter: brightness(0) invert(1);
  }

  .slx-page:has(#wrapper-deposit) .slx-pay-name {
    color: #f4b94b !important;
    font-weight: 650 !important;
    font-size: 13px !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-badge-recommendation {
    margin-left: auto !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #111 !important;
    background: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.55) !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-select-trigger .slx-pay-logo,
  .slx-page:has(#wrapper-deposit) .slx-select-trigger .slx-pay-logo-fallback {
    width: 22px !important;
    height: 22px !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-submit {
    width: 100% !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    background: #f4b94b !important;
    background-image: none !important;
    border: none !important;
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-submit:active {
    background: #e0a82e !important;
  }

  /* Dim Promosi center glow — Dompet owns attention on deposit */
  body:has(#wrapper-deposit) .mnav-center-btn::before,
  .mobile:has(#wrapper-deposit) .mnav-center-btn::before {
    animation: none !important;
    background: rgba(244, 185, 75, 0.55) !important;
    opacity: 0.55 !important;
  }

  /* Hide floating side-panel peek on deposit */
  body:has(#wrapper-deposit) .side-wrap,
  body:has(#wrapper-deposit) .side-panel,
  body:has(#wrapper-deposit) .side-arrow,
  .mobile:has(#wrapper-deposit) .side-wrap,
  .mobile:has(#wrapper-deposit) .side-panel,
  .mobile:has(#wrapper-deposit) .side-arrow {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* CB-94 — deposit side-panel hide (all breakpoints) */
body:has(#wrapper-deposit) .side-wrap,
body:has(#wrapper-deposit) .side-panel,
body:has(#wrapper-deposit) .side-arrow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Tablet band: document scroll for deposit */
@media (min-width: 768px) and (max-width: 991px) {
  body:has(#wrapper-deposit),
  body.mobile:has(#wrapper-deposit) {
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  body:has(#wrapper-deposit) .desktop-phone-container,
  body:has(#wrapper-deposit) .phone-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .slx-page:has(#wrapper-deposit) {
    max-width: 100% !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-form,
  .slx-page:has(#wrapper-deposit) #wrapper-deposit {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* CB-97 — mnav Deposit gold pill: kill Promosi glow circle site-wide */
.mnav-center-btn::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
  background: none !important;
}
.mnav-center-btn {
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* =========================================================
 * CB-98 — /account/withdraw mobile ≤991
 * Match deposit polish: kill 100dvh + form overflow:hidden,
 * black theme, denser form, mnav Akun, hide side peek
 * Scoped to #wrapper-withdraw
 * ========================================================= */
@media (max-width: 991px) {
  .layout .content.my01:has(#wrapper-withdraw),
  .content.my01:has(#wrapper-withdraw),
  .mobile .content.my01:has(#wrapper-withdraw) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding-bottom: 0 !important;
    background: #000 !important;
  }

  .full-container.layout:has(#wrapper-withdraw),
  .layout.full-container:has(#wrapper-withdraw) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-withdraw) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    background: #000 !important;
    background-image: none !important;
    overflow: visible !important;
  }

  /* Site header already shows saldo — drop page duplicate */
  .slx-page:has(#wrapper-withdraw) .slx-saldo {
    display: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
    padding: 10px 12px 12px !important;
    gap: 8px !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-header-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-page-title {
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-back,
  .slx-page:has(#wrapper-withdraw) .slx-btn-add,
  .slx-page:has(#wrapper-withdraw) .slx-btn-add-disabled {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    cursor: pointer !important;
    justify-self: start !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-add-disabled {
    background: #141414 !important;
    color: #888 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: not-allowed !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-page-content {
    flex: none !important;
    padding: 12px 12px 12px !important;
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-form,
  .slx-page:has(#wrapper-withdraw) #wrapper-withdraw {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background: #000 !important;
    background-image: none !important;
    padding: 4px 0 8px !important;
    color: #fff !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-group {
    margin-bottom: 12px !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-rek-text {
    display: block;
    max-width: 100%;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    color: #f4b94b !important;
    letter-spacing: 0.02em;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-hint {
    font-size: 11px !important;
    margin-top: 5px !important;
    line-height: 1.35 !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-input::placeholder {
    color: rgba(244, 185, 75, 0.38) !important;
    font-weight: 500 !important;
    opacity: 1 !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-min {
    font-size: 11px !important;
    margin-top: 5px !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-input,
  .slx-page:has(#wrapper-withdraw) .slx-rek-static {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 12px !important;
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.45) !important;
    border-radius: 8px !important;
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    min-height: 44px !important;
    height: auto !important;
    box-shadow: none !important;
  }

  /* CB-102 — Rekening Tujuan read-only (no select / chevron / focus) */
  .slx-page:has(#wrapper-withdraw) .slx-rek-static {
    display: flex !important;
    align-items: center !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-rek-static .slx-rek-text {
    color: #f4b94b !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-select,
  .slx-page:has(#wrapper-withdraw) .slx-select-trigger,
  .slx-page:has(#wrapper-withdraw) .slx-select-arrow,
  .slx-page:has(#wrapper-withdraw) .slx-select-options,
  .slx-page:has(#wrapper-withdraw) .slx-option {
    display: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-submit {
    width: 100% !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    background: #f4b94b !important;
    background-image: none !important;
    border: none !important;
    color: #111 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-submit:active {
    background: #e0a82e !important;
  }

  body:has(#wrapper-withdraw) .mnav-center-btn::before,
  .mobile:has(#wrapper-withdraw) .mnav-center-btn::before {
    animation: none !important;
    background: rgba(244, 185, 75, 0.55) !important;
    opacity: 0.55 !important;
  }

  body:has(#wrapper-withdraw) .side-wrap,
  body:has(#wrapper-withdraw) .side-panel,
  body:has(#wrapper-withdraw) .side-arrow,
  .mobile:has(#wrapper-withdraw) .side-wrap,
  .mobile:has(#wrapper-withdraw) .side-panel,
  .mobile:has(#wrapper-withdraw) .side-arrow {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* CB-98 — withdraw side-panel hide (all breakpoints) */
body:has(#wrapper-withdraw) .side-wrap,
body:has(#wrapper-withdraw) .side-panel,
body:has(#wrapper-withdraw) .side-arrow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Tablet band: document scroll for withdraw */
@media (min-width: 768px) and (max-width: 991px) {
  body:has(#wrapper-withdraw),
  body.mobile:has(#wrapper-withdraw) {
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  body:has(#wrapper-withdraw) .desktop-phone-container,
  body:has(#wrapper-withdraw) .phone-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .slx-page:has(#wrapper-withdraw) {
    max-width: 100% !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-form,
  .slx-page:has(#wrapper-withdraw) #wrapper-withdraw {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* CB-99 — withdraw desktop ≥992: no cyan/gradient bleed */
@media (min-width: 992px) {
  .slx-page:has(#wrapper-withdraw) {
    height: auto !important;
    min-height: 0 !important;
    background: #000 !important;
    background-image: none !important;
    overflow: visible !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-saldo {
    display: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-header-actions {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .slx-page:has(#wrapper-withdraw) .slx-page-title {
    color: #f4b94b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    cursor: pointer !important;
    justify-self: start !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-btn-add-disabled {
    background: #141414 !important;
    color: #888 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-page-content {
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-form,
  .slx-page:has(#wrapper-withdraw) #wrapper-withdraw {
    height: auto !important;
    overflow: visible !important;
    background: #000 !important;
    background-image: none !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-label {
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-input,
  .slx-page:has(#wrapper-withdraw) .slx-rek-static {
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.45) !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-rek-static {
    cursor: default !important;
    pointer-events: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-depo-submit {
    background: #f4b94b !important;
    background-image: none !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-withdraw) .slx-rek-text {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}


/* ==========================================================================
   CB-103 — /account/transaction polish
   ========================================================================== */
/* CB-103 account/transaction polish */
.slx-page:has(.wallet-action-wrap) .wallet-action-flex.two-column,
.slx-page:has(#wrapper-transaction) .wallet-action-flex.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
  .layout .content.my01:has(#wrapper-transaction),
  .content.my01:has(#wrapper-transaction),
  .mobile .content.my01:has(#wrapper-transaction) {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .full-container.layout:has(#wrapper-transaction),
  .layout.full-container:has(#wrapper-transaction) {
    height: auto !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-transaction) {
    height: auto !important;
    min-height: 0 !important;
    background: #000 !important;
    background-image: none !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-header-bar {
    background: #000 !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-header-actions {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-page-title {
    color: #f4b94b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    cursor: pointer !important;
    justify-self: start !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-transaction) .wallet-action-wrap {
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.16) !important;
  }

  .slx-page:has(#wrapper-transaction) .wallet-action-flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-page-content,
  .slx-page:has(#wrapper-transaction) .ux-wallet-page {
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-transaction) .ux-summary-card,
  .slx-page:has(#wrapper-transaction) .ux-transaction-card {
    background: #0e0e0e !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
    box-shadow: none !important;
  }

  body:has(#wrapper-transaction) .mnav-center-btn::before,
  .mobile:has(#wrapper-transaction) .mnav-center-btn::before {
    animation: none !important;
    opacity: 0.55 !important;
  }
}

@media (min-width: 992px) {
  .slx-page:has(#wrapper-transaction) {
    background: #000 !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-header-actions {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-page-title {
    color: #f4b94b !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    justify-self: start !important;
  }

  .slx-page:has(#wrapper-transaction) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-transaction) .wallet-action-flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .slx-page:has(#wrapper-transaction) .ux-summary-card,
  .slx-page:has(#wrapper-transaction) .ux-transaction-card {
    background: #0e0e0e !important;
    border: 1px solid rgba(244, 185, 75, 0.18) !important;
  }
}


/* ==========================================================================
   CB-126 — Account desktop parity ≥992 (Critical bleed only)
   Append-only; do not redesign. Mirror CB-99 withdraw black/gold chrome.
   ========================================================================== */

/* Profile hub only (:has(.jackpot-card)) — wallet wrap was ~390px → blank right void.
   Do NOT use bare :has(.wallet-action-wrap): transaction + history_betting reuse that class. */
@media (min-width: 992px) {
  .slx-page:has(.wallet-action-wrap):has(.jackpot-card) .slx-header-bar {
    display: block !important;
    width: 100% !important;
    padding: 16px 20px !important;
    background: #000 !important;
    background-image: none !important;
  }

  .slx-page:has(.wallet-action-wrap):has(.jackpot-card) .wallet-action-wrap {
    width: 100% !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    background: #0a0a0a !important;
    background-image: none !important;
  }

  .slx-page:has(.wallet-action-wrap):has(.jackpot-card) .wallet-action-flex {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  .slx-page:has(.wallet-action-wrap):has(.jackpot-card) .jackpot-card {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Deposit ≥992 — title chrome + solid CTA (kill blade gold gradient) */
@media (min-width: 992px) {
  .slx-page:has(#wrapper-deposit) {
    height: auto !important;
    min-height: 0 !important;
    background: #000 !important;
    background-image: none !important;
    overflow: visible !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-saldo {
    display: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-header-bar {
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(244, 185, 75, 0.14) !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-header-actions {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .slx-page:has(#wrapper-deposit) .slx-page-title {
    color: #f4b94b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-back {
    background: #1a1a1a !important;
    color: #f4b94b !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    cursor: pointer !important;
    justify-self: start !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-add {
    background: #f4b94b !important;
    color: #111 !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-btn-add-disabled {
    background: #141414 !important;
    color: #888 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    justify-self: end !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-page-content {
    background: #000 !important;
    overflow: visible !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-form,
  .slx-page:has(#wrapper-deposit) #wrapper-deposit {
    height: auto !important;
    overflow: visible !important;
    background: #000 !important;
    background-image: none !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: Montserrat, sans-serif !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-label {
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-input,
  .slx-page:has(#wrapper-deposit) .slx-select-trigger {
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.45) !important;
    color: #f4b94b !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-depo-submit {
    background: #f4b94b !important;
    background-image: none !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .slx-page:has(#wrapper-deposit) .slx-badge-recommendation {
    background: #f4b94b !important;
    background-image: none !important;
    color: #111 !important;
  }
}

/* Login / forgot — kill auth-box gray gradient at desktop */
@media (min-width: 992px) {
  .auth-modal .auth-box,
  .auth-modal .modal-content.auth-box,
  #loginModal .auth-box,
  #loginModal .modal-content.auth-box {
    background: #000 !important;
    background-image: none !important;
    border: 1px solid rgba(244, 185, 75, 0.22) !important;
  }

  .auth-modal .auth-forgot,
  .auth-modal .auth-forgot-reset,
  #loginModal .auth-forgot,
  #loginModal .auth-forgot-reset {
    background: transparent !important;
    background-image: none !important;
  }

  .auth-modal .auth-title,
  #loginModal .auth-title {
    color: #f4b94b !important;
  }

  .auth-modal .auth-input,
  #loginModal .auth-input {
    background: #0a0a0a !important;
    border-color: rgba(244, 185, 75, 0.35) !important;
    color: #eee !important;
  }

  .auth-modal .captcha-box,
  #loginModal .captcha-box {
    background: #0a0a0a !important;
    border: 1px solid rgba(244, 185, 75, 0.35) !important;
    color: #f4b94b !important;
  }
}

/* CB-129 — loyalty / redeem widen toward slx shell @≥992 */
@media (min-width: 992px) {
  .loyalty-page,
  .redeem-page {
    max-width: 720px !important;
  }
}

/* CB-129 — withdraw 1-rek helper */
.slx-page:has(#wrapper-withdraw) .slx-rek-help {
  margin: 8px 0 0 !important;
  color: rgba(244, 185, 75, 0.72) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

/* CB-135 — hide Unduh APP download bar on desktop only; keep mobile */
@media (min-width: 992px) {
  #download-app-mobile {
    display: none !important;
  }
}
