/* ==========================================================================
   REGAL88 THEME LAYER
   Loaded after style.css + responsive.css on every page.
   Palette read from Regal88-revamp-v2.psd (layer fills, text colours and
   layer effects), not from the exported previews.
   ========================================================================== */

:root {
  /* Surfaces — deep brown-black panels over the amber hall background */
  --r88-surface: rgba(17, 10, 4, 0.9);
  --r88-panel: rgba(17, 10, 4, 0.9);

  /* Gold — primary action fill (Claim Now / Register) */
  --r88-gold: linear-gradient(180deg, #fbdc89 0%, #c27e33 100%);
  --r88-amber: linear-gradient(180deg, #f6ca2c 0%, #e2aa25 55%, #d49621 100%);
  --r88-dark-btn: #451e04;

  /* Strokes, as measured in Regal88-revamp-v2.psd */
  --r88-border: #72573a;          /* panel stroke */
  --r88-gold-stroke: #fbe498;     /* stroke on gold-filled controls */
  --r88-amber-stroke: #f5b909;    /* stroke on dark buttons */
  --r88-border-gold: #72573a;

  --r88-inset: inset 0 -2px 4px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(241, 214, 150, 0.22);
  --r88-inset-gold: inset 0 1px 2px rgba(255, 248, 214, 0.55);
  --r88-drop: 0 8px 22px rgba(0, 0, 0, 0.72);
  /* Panel Inner Glow, read off Regal88-revamp-subpages2.psd:
     #5e3d24, 45%, size 21px, normal, edge — times the layer's own 90%.
     CSS blurs a step across the edge instead of ramping inward from it, so
     the blur and alpha are fitted to the PSD's measured falloff, not copied. */
  --r88-inner-glow: inset 0 0 24px rgba(94, 61, 36, 0.95);
  /* same effect on the PSD's dark-gold controls: #f18b1d, 45%, size 21 */
  --r88-inner-glow-gold: inset 0 0 24px rgba(241, 139, 29, 0.95);
  --r88-glow: 0 0 22px rgba(209, 101, 3, 0.35);

  /* Text */
  --r88-text: #ffffff;
  --r88-text-2: #cdbba0;
  --r88-text-3: #9c8a73;
  --r88-heading: #e1c178;
  --r88-heading-2: #fcfcb4;
  --r88-ink: #110a04;
  --r88-divider: var(--r88-border);
  --r88-nav-divider: linear-gradient( 180deg, rgba(225, 193, 120, 0) 0%, rgba(225, 193, 120, 0.5) 24%, rgba(243, 220, 162, 0.88) 50%, rgba(225, 193, 120, 0.5) 76%, rgba(225, 193, 120, 0) 100% );
  --r88-track: rgba(10, 6, 2, 0.9);
  /* field surface: the panel fill at the same 90%, per the PSD */
  --r88-field: rgba(17, 10, 4, 0.9);
  --r88-live: #f10102;

  /* Fixed bottom chrome. The nav is position:fixed and the lobby's product
     nav floats above it, so page content has to be padded clear of both. */
  --r88-nav-h: 112px;
  --r88-nav-inset: 12px;
  --r88-nav-space: calc(var(--r88-nav-h) + var(--r88-nav-inset));
  --r88-cat-h: 100px;
  --r88-cat-space: calc(var(--r88-nav-space) + 8px + var(--r88-cat-h));

  /* Fixed top chrome. The header is position:fixed, so content that is itself
     positioned from the top has to clear it. 104px is where the design puts
     the first panel (the header row centres on y 56 and ends at y 84). */
  --r88-head-space: 104px;

  --font-sans: 'Outfit', 'Segoe UI', Arial, sans-serif;

  /* legacy tokens still read by info.css */
  --figma-category-bg: var(--r88-surface);
  --figma-category-active-bg: var(--r88-gold);
  --figma-surface-border: var(--r88-border);
  --figma-violet-glow: var(--r88-drop);
}

html,
body {
  font-family: var(--font-sans);
  background: #0d0703;
}

/* ---------- Primitives ---------- */

.gold-text {
  background: var(--r88-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.r88-card,
.glass-card {
  position: relative;
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  border-radius: 20px;
  box-shadow: var(--r88-inset), var(--r88-drop);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.r88-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.r88-btn:hover { filter: brightness(1.08); }
.r88-btn:active { transform: translateY(1px); }

.r88-btn--gold {
  background: var(--r88-gold);
  border: 0.9px solid var(--r88-border-gold);
  color: var(--r88-ink);
  box-shadow: var(--r88-inset-gold), 0 2px 4px rgba(217, 156, 26, 0.12);
}

.r88-btn--dark {
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  color: var(--r88-text);
  box-shadow: var(--r88-inset), var(--r88-drop);
}

.r88-btn--sm {
  height: 26px;
  padding: 0 12px;
  font-size: 10px;
}

/* Keep every primary action on the same metallic-gold treatment as Register. */
.wdp-allin-btn,
.claim-btn,
.smh-banner-cta,
.smh-invite-btn,
.cta-btn:not(.outline),
.reg-btn--next,
.slx-featured-cta,
.promo-card-cta,
.rp-tnc-btn,
.p2e-view-btn,
.ref-copy-btn,
.ref-withdraw-btn,
.acct-submit,
.acct-modal-btn--primary,
.info-contact-btn,
.redempt-tnc-btn {
  /* Account pages load their page-specific stylesheet after this theme layer. */
  background: var(--r88-gold) !important;
  color: var(--r88-ink) !important;
}

/* ---------- Background ---------- */

.hero-bg .sunset-circle,
.hero-bg .grid-floor {
  display: none !important;
}

.hero-bg {
  background: #08090a url(../img/regal88/bg-main.webp) no-repeat center / cover;
}

/* Product lobby art: 30% darker without dimming foreground content. */
.page-home .hero-bg-img {
  filter: brightness(0.7);
}

/* The dealer is a transparent foreground layer; preserve its aspect ratio. */
.page-home .dealer-img {
  width: auto;
  max-width: 100%;
  max-height: min(600px, calc(100dvh - 240px));
}

.page-home .dealer-stage[hidden] {
  display: none !important;
}

/* inner pages: readability overlay on the hall wallpaper */
body:not(.page-home) .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 9, 10, 0.4);
}

/* ---------- Header ---------- */

.top-header {
  background: transparent;
}

.hamburger {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ca7a;
  border-radius: 5px;
  background: linear-gradient(180deg, #29292b, #101113);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  color: #f8eac2;
}

.hamburger .app-icon--menu {
  font-size: 19px;
  color: #f8eac2;
}

.auth-btn {
  height: 40px;
  padding: 0 22px;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 20px;
  color: var(--r88-text);
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  box-shadow: var(--r88-inset), var(--r88-drop);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.auth-btn:hover {
  background: var(--r88-surface);
  border-color: var(--r88-border);
  filter: brightness(1.12);
  box-shadow: var(--r88-inset), var(--r88-drop);
}

.auth-btn--register,
.auth-btn--register:hover {
  border-radius: 50px;
  color: var(--r88-ink);
  background: var(--r88-gold);
  border: 0.9px solid var(--r88-border-gold);
  box-shadow: var(--r88-inset-gold), 0 2px 4px rgba(217, 156, 26, 0.12);
}

.auth-btn .app-icon {
  font-size: 14px;
}

/* Icons on metallic-gold actions use the same dark ink as their labels. */
:is(
  .r88-btn--gold,
  .header-deposit-btn,
  .wdp-allin-btn,
  .claim-btn,
  .smh-banner-cta,
  .smh-invite-btn,
  .cta-btn:not(.outline),
  .reg-btn--next,
  .slx-featured-cta,
  .promo-card-cta,
  .rp-tnc-btn,
  .p2e-view-btn,
  .ref-copy-btn,
  .ref-withdraw-btn,
  .acct-submit,
  .acct-modal-btn--primary,
  .info-contact-btn,
  .redempt-tnc-btn,
  .ms-card-btn,
  .redempt-claim-btn,
  .fw-spin-now
) :is(.app-icon, i, svg) {
  color: var(--r88-ink) !important;
  fill: currentColor;
}

/* ---------- Brand logo ---------- */

.brand-logo {
  top: 10px;
}

.brand-logo .logo-emblem img {
  display: block;
  width: 122px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.top-header .logo-img {
  height: 46px;
  width: auto;
}

/* ---------- Category nav ---------- */

.category-tabs-swiper,
.category-nav {
  background: none;
  border: 0;
  box-shadow: none;
}

.category-tabs-swiper::before,
.category-nav::before,
.cat-btn + .cat-btn::before {
  display: none !important;
}

.category-nav-section .category-tabs-swiper,
.event-cat-nav,
.account-cat-nav,
.info-cat-nav {
  background: var(--r88-surface) !important;
  border: 1px solid var(--r88-border) !important;
  border-radius: 20px;
  box-shadow: var(--r88-inset), var(--r88-drop) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1px;
}

[class*="cat-nav"] .cat-btn.active {
  background: var(--r88-gold) !important;
  box-shadow: var(--r88-inset-gold) !important;
}

[class*="cat-nav"] .cat-btn.active .cat-btn-label {
  color: var(--r88-ink) !important;
}

.category-nav .cat-btn,
.category-tabs-swiper .cat-btn.swiper-slide {
  padding: 4px 4px 8px;
  border-radius: 12px;
  border: 0.9px solid transparent;
  background: transparent;
}

.category-nav .cat-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(202, 180, 121, 0.16);
  pointer-events: none;
}

.category-nav .cat-btn.active {
  background: var(--r88-gold) !important;
  border-color: var(--r88-border-gold) !important;
  box-shadow: var(--r88-inset-gold), 0 2px 4px rgba(217, 156, 26, 0.12) !important;
}

.category-nav .cat-btn.active::after {
  display: none;
}

.cat-btn-inner {
  gap: 1px;
}

.cat-btn .cat-btn-icon-img {
  width: 49px;
  height: 49px;
  opacity: 1;
}

.cat-btn-label,
.cat-btn:hover:not(.active) .cat-btn-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--r88-text);
}

.cat-btn.active .cat-btn-label {
  color: var(--r88-ink);
  text-shadow: 0 0 5.5px rgba(255, 255, 255, 0.5);
}

/* ---------- Bottom nav ---------- */

.bottom-nav {
  height: 86px;
  border-radius: 20px;
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-item,
.nav-item:hover {
  color: var(--r88-text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-item:hover {
  background: rgba(255, 241, 188, 0.05);
}

.nav-item:not(:last-child)::after {
  top: 16%;
  bottom: 16%;
  background: var(--r88-divider);
  opacity: 0.32;
}

.nav-item .nav-icon-img {
  width: 41px;
  height: 41px;
}

.deposit-item {
  bottom: 0;
}

.deposit-btn,
.deposit-btn:hover {
  width: 127px;
  height: 103px;
  border-radius: 52px 52px 18px 18px;
  background: var(--r88-gold);
  border: 0.9px solid var(--r88-border-gold);
  box-shadow: inset 0 1px 2px rgba(255, 250, 224, 0.7), 0 4px 8px rgba(0, 0, 0, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

.deposit-btn .nav-icon-img {
  width: 49px;
  height: 49px;
}

.deposit-btn span {
  font-size: 12px;
  font-weight: 600;
  color: var(--r88-ink);
}

/* ---------- Side menu ---------- */

.side-menu.sm88 {
  width: min(373px, 92vw);
  background: var(--r88-panel);
  border-right: 1px solid rgba(255, 241, 188, 0.25);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--r88-text-2);
  padding: 0 16px 20px;
  gap: 0;
}

.side-menu.sm88::before,
.side-menu.sm88::after {
  display: none;
}

.sm88-glow {
  position: absolute;
  top: -26px;
  left: -14px;
  width: 400px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(225, 197, 121, 0.15), rgba(225, 197, 121, 0));
  box-shadow: inset 0 0 9.7px 4px rgba(219, 171, 77, 0.25);
  pointer-events: none;
}

.sm88 > * {
  position: relative;
  z-index: 1;
}

.sm88-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 0 0;
  min-height: 76px;
}

.sm88-avatar {
  position: relative;
  flex: 0 0 50px;
  height: 67px;
  margin-right: 5px;
}

.sm88-avatar-ring {
  position: absolute;
  top: 12px;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2b2a27, #0b0c0d 70%);
  border: 1px solid var(--r88-border);
  box-shadow: 0 0 13px rgba(219, 171, 77, 0.35);
}

.sm88-avatar-crown {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 18px;
  background: var(--r88-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sm88-avatar-vip {
  position: absolute;
  top: 50px;
  left: 10px;
  z-index: 2;
  width: 30px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset);
  color: #211b0d;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.sm88-profile {
  flex: 1;
  min-width: 0;
}

.sm88-name {
  margin: 0 0 7px;
  color: #f3e6c7;
  font-size: 14px;
  font-weight: 700;
}

.sm88-level {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
}

.sm88-progress {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sm88-progress small {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.sm88-bar {
  flex: 0 0 121px;
  height: 6px;
  border-radius: 20px;
  background: var(--r88-gold);
  position: relative;
}

.sm88-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 20px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.sm88-icon-btn {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.sm88-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--r88-gold);
  box-shadow: 0 0 4px rgba(255, 213, 104, 0.8);
}

.sm88-burger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.sm88-burger span {
  height: 3px;
  border-radius: 5px;
  background: var(--r88-gold);
}

.sm88-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 20px;
}

/* bonus slider */
.sm88-banner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sm88-banner-wrap .swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.sm88-bonus {
  height: 113px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 18px 18px;
  text-decoration: none;
}

.sm88-bonus-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-transform: uppercase;
}

.sm88-bonus-copy small {
  font-size: 12px;
  font-weight: 700;
}

.sm88-bonus-copy strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.sm88-bonus-copy .r88-btn {
  width: 118px;
  justify-content: space-between;
}

.sm88-bonus-badge {
  width: 64px;
  height: 64px;
  margin-right: 4px;
  transform: rotate(-6.56deg);
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset), var(--r88-drop);
  color: #211b0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 800;
}

.sm88-bonus-badge i {
  font-size: 19px;
}

.smh-banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  height: 5px;
}

.smh-banner-dots .smh-banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #e1b65a;
  opacity: 0.85;
  cursor: pointer;
  transition: width 0.25s;
}

.smh-banner-dots .smh-banner-dot.active {
  width: 16px;
  background: var(--r88-gold);
  opacity: 1;
}

/* game hub */
.sm88-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 101px 102px 101px;
  grid-template-areas: "a . b" ". h ." "c . d";
  padding: 34px 0 52px;
  border-color: #f2c35a;
}

.sm88-hub-lines {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 300px;
  pointer-events: none;
}

.sm88-hub-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: var(--r88-text-2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.sm88-hub-icon {
  position: relative;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a2925, #0b0c0d 75%);
  border: 1px solid #e1b65a;
  box-shadow: 0 0 13px rgba(219, 171, 77, 0.25);
}

.sm88-hub-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 52px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 50px;
  background: var(--r88-gold);
  box-shadow: 0 0 9.4px 2px rgba(219, 171, 77, 0.25);
}

.sm88-hub-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.sm88-hub-item--home {
  justify-content: center;
}

.sm88-hub-item--home .sm88-hub-icon {
  width: 60px;
  height: 60px;
  border: 0;
  background: var(--r88-gold);
  box-shadow: 0 13px 21px rgba(219, 171, 77, 0.45), inset 0 1px 2px rgba(255, 250, 224, 0.7);
}

.sm88-hub-item--home .sm88-hub-icon::after {
  width: 76px;
  height: 11px;
  bottom: -11px;
  background: radial-gradient(ellipse at center, rgba(255, 210, 110, 0.7), transparent 70%);
  box-shadow: none;
}

.sm88-hub-item--home .sm88-hub-icon img {
  width: 48px;
  height: 48px;
}

.sm88-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  background: var(--r88-surface);
  color: #f5e9cd;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.sm88-logout i {
  color: #efc96b;
}

.sm88-logout:hover {
  color: #211b0d;
  background: var(--r88-gold);
}

.sm88-logout:hover i {
  color: #211b0d;
}

.sm88-hub-item:hover .sm88-hub-icon {
  box-shadow: 0 0 18px rgba(255, 213, 104, 0.55);
}

.sm88-recent {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  height: 28px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--r88-border);
  border-radius: 0 0 10px 10px;
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  color: var(--r88-text-2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

/* event tiles */
.sm88-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sm88-tile {
  min-height: 88px;
  padding: 12px 6px 10px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: var(--r88-text-2);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.sm88-tile-icon {
  width: 38px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset), var(--r88-drop);
  color: #211b0d;
  font-size: 20px;
}

.sm88-tile strong {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sm88-tile small {
  font-size: 8px;
  font-weight: 600;
}

.sm88-tile-arrow {
  position: absolute;
  right: 7px;
  bottom: 10px;
  font-size: 12px;
}

/* invite */
.sm88-invite {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px 11px 12px;
  border-radius: 15px;
  text-decoration: none;
}

.sm88-invite-art {
  position: relative;
  flex: 0 0 43px;
  height: 42px;
}

.sm88-invite-user {
  position: absolute;
  top: 4px;
  left: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  font-size: 14px;
}

.sm88-invite-user + .sm88-invite-user {
  top: 16px;
  left: 15px;
}

.sm88-invite-plus {
  position: absolute;
  top: 0;
  left: 27px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  color: #211b0d;
  font-size: 10px;
  font-weight: 700;
}

.sm88-invite-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sm88-invite-text strong {
  color: #f3e6c7;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.sm88-invite-text small {
  color: var(--r88-text-2);
  font-size: 8px;
  font-weight: 600;
}

.sm88-invite .r88-btn {
  width: 96px;
  height: 29px;
}

/* link grids */
.sm88-links {
  display: flex;
  flex-direction: column;
}

.sm88-links-title {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.sm88-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 9px;
  margin-bottom: 18px;
}

.sm88-link {
  height: 43px;
  padding: 0 11px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--r88-text-2);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.sm88-link:hover {
  filter: brightness(1.15);
}

.sm88-link-icon {
  width: 27px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 0.5px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  font-size: 14px;
}

/* status bar */
.sm88-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 10px;
}

.sm88-status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.sm88-status-item span {
  display: flex;
  flex-direction: column;
  color: var(--r88-text-2);
}

.sm88-status-item strong {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sm88-status-item small {
  font-size: 8px;
  font-weight: 600;
}

.sm88-status-div {
  width: 1px;
  height: 27px;
  background: var(--r88-gold);
}

/* ---------- Category panes (provider cards) ---------- */

.slots-tab-header {
  gap: 8px;
}

.slots-tab-header h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.r88-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #e8e36a;
  box-shadow: 0 0 6px 2px rgba(232, 227, 106, 0.55);
}

.slots-prov-card {
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  border: 1px solid #e6d38e;
  background: var(--r88-surface);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.slots-prov-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 213, 104, 0.45);
}

.slots-prov-bg {
  object-fit: cover;
}

.r88-ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(17, 18, 19, 0.88);
  color: #f7da87;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Index dashboard ---------- */

.dashboard-layer h3,
.card-header-row h3,
.vip-dragon h3 {
  color: var(--r88-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.view-all {
  color: #e8c66e;
  font-size: 12px;
  font-weight: 400;
}

/* promo banner */
.dash-banner-swiper {
  border: 1px solid var(--r88-border);
  border-radius: 20px;
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.dash-banner-slide--image::before {
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0.15) 45%, transparent 70%) !important;
}

.dash-banner-slide--image img {
  object-fit: cover;
  opacity: 0.9;
}

.dash-banner-pagination {
  display: none;
}

.banner-promo-copy--dash {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  gap: 3px;
  max-width: 170px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

.banner-promo-copy--dash .banner-promo-kicker {
  align-self: flex-start;
  height: 18px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  border: 0.9px solid var(--r88-border-gold);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset-gold);
  color: var(--r88-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--r88-ink);
}

.banner-promo-copy--dash strong {
  color: var(--r88-text);
  font-size: 16px;
  font-weight: 800;
  -webkit-text-fill-color: var(--r88-text);
}

.banner-promo-copy--dash small {
  color: var(--r88-text);
  font-size: 11px;
  font-weight: 400;
}

.banner-promo-copy--dash .dash-banner-btn {
  pointer-events: auto;
  margin-top: 5px;
  align-self: flex-start;
  height: 28px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  border: 0.9px solid var(--r88-border-gold);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset-gold), 0 2px 4px rgba(217, 156, 26, 0.12);
  color: var(--r88-ink);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

/* The dashboard's left rail is only 20% wide on compact desktop screens.
   Keep the image banner tall enough for its complete CTA stack instead of
   allowing the aspect ratio to collapse and clip the button. */
@media (min-width: 900px) {
  .dash-banner-slide--image {
    min-height: 110px;
  }

  .banner-promo-copy--dash strong {
    font-size: clamp(13px, 1.1vw, 16px);
  }
}

/* check-in */
.checkin-bonus .checkin-cal-icon,
.checkin-bonus .checkin-node--locked .checkin-node-dot,
.checkin-bonus .checkin-node-dot {
  border: 0.8px solid rgba(227, 194, 100, 0.8);
  background: linear-gradient(180deg, #5d5030 0%, #29241a 40%, #100e0a 50%, #352b17 100%);
  color: var(--r88-text);
  box-shadow: none;
}

.checkin-bonus .checkin-title-row h3 {
  color: var(--r88-heading);
  font-size: 14px;
}

.checkin-bonus .checkin-subtitle {
  color: var(--r88-text);
  font-size: 10px;
}

.checkin-bonus .checkin-streak-row,
.checkin-bonus .checkin-node-btn,
.checkin-bonus .checkin-node-ms-tag {
  border: 0.7px solid rgba(185, 154, 74, 0.5);
  background: linear-gradient(180deg, #292722 0%, #171613 48%, #080808 51%, #13130f 100%);
  box-shadow: inset 0 1px 1px rgba(255, 232, 161, 0.12);
  color: var(--r88-text);
}

.checkin-bonus .checkin-track-rail {
  background: linear-gradient(180deg, #29292b, #101113);
}

.checkin-bonus .checkin-node-day,
.checkin-bonus .checkin-node-val,
.checkin-bonus .checkin-node--claimed .checkin-node-day,
.checkin-bonus .checkin-node--claimed .checkin-node-val {
  color: var(--r88-text);
  font-weight: 800;
  text-transform: uppercase;
}

.checkin-bonus .checkin-node--claimed .checkin-node-dot {
  background: radial-gradient(circle, #6b5a33 0%, #2a2418 70%);
  border-color: #e3c264;
  box-shadow: 0 0 8px rgba(255, 210, 110, 0.55);
  color: var(--r88-text);
}

.checkin-bonus .checkin-node--jackpot .checkin-node-dot {
  background: var(--r88-gold);
  border: 0;
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.6);
  color: #fff;
}

.checkin-bonus .checkin-node--jackpot .checkin-node-val {
  color: #e8c66e;
}

.checkin-bonus .checkin-claim-btn {
  border: 0.9px solid var(--r88-border-gold);
  background: var(--r88-gold);
  box-shadow: var(--r88-inset-gold);
  color: var(--r88-ink);
  animation: none;
}

/* top games */
.top-games .game-card {
  text-decoration: none;
}

.top-games .game-thumb {
  border: 0.7px solid rgba(242, 208, 117, 0.7);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.top-games .game-card p {
  color: var(--r88-text);
  font-size: 10px;
  font-weight: 400;
}

/* VIP */
.vip-dragon .vip-bar {
  height: 8px;
  border-radius: 8px;
  background: var(--r88-track);
  border: 0.6px solid rgba(158, 138, 88, 0.22);
}

.vip-dragon .progress-fill {
  border-radius: 20px;
  background: var(--r88-gold);
}

.vip-dragon .vip-level {
  color: var(--r88-heading-2);
  font-size: 14px;
  font-weight: 700;
}

.vip-dragon .vip-xp {
  color: var(--r88-text-3);
  font-size: 11px;
}

.vip-dragon .dragon-placeholder img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* live transactions */
.lxtx-live-badge {
  background: #715535;
  border: 0;
  color: var(--r88-text);
  box-shadow: 0 0 2px rgba(204, 153, 56, 0.5);
}

.lxtx-dot {
  background: var(--r88-text);
  box-shadow: none;
}

.live-wins .lxtx-section {
  border: 0;
  background: none;
  box-shadow: none;
}

.lxtx-section-title {
  color: var(--r88-text);
  font-size: 10px;
  font-weight: 700;
}

.lxtx-row {
  border-top: 1px solid rgba(196, 174, 119, 0.14);
  background: none;
}

.lxtx-user {
  color: var(--r88-text);
  font-weight: 700;
}

.lxtx-amount,
.lxtx-amount--withdraw {
  color: var(--r88-heading);
  font-weight: 700;
}

.lxtx-rank {
  background: linear-gradient(180deg, #29292b, #101113);
  color: var(--r88-text);
  box-shadow: 0 0 2px rgba(209, 191, 140, 0.24);
}

.lxtx-rank--2 { background: linear-gradient(143deg, #dedede 12%, #939393 89%); }
.lxtx-rank--4,
.lxtx-rank--5 { background: rgba(255, 255, 255, 0.5); }

.checkin-bonus.glass-card,
.top-games.glass-card,
.live-wins.glass-card,
.vip-dragon.glass-card {
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), var(--r88-drop);
}

.lxtx-pagination {
  display: none;
}

/* ==========================================================================
   MOBILE (Figma: Mobile Index 4252:627, Mobile Slots, Mobile Promotion)
   ========================================================================== */

.nav-item span,
.deposit-btn span {
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .top-header {
    height: 64px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.33);
  }

  .header-left {
    gap: 10px;
  }

  .hamburger,
  .top-header.scrolled .hamburger {
    width: 32px;
    height: 44px;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
  }

  .hamburger .app-icon--menu {
    font-size: 18px;
    color: #efc96b;
  }

  /* the artwork is 271x77; a 72x50 box with object-fit letterboxed it down to
     72x20, so the mark looked tiny inside a tall empty box */
  .top-header .logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
  }

  .header-right {
    gap: 8px;
  }

  .header-deposit-btn {
    height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }

  .auth-btn {
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 12px;
  }

  .auth-btn--register,
  .auth-btn--register:hover {
    border-radius: 12px;
    color: #211b0d;
  }

  .auth-btn .app-icon {
    display: none;
  }

  /* hero: dealer + table strip with a fade into the dim hall */
  .hero-bg {
    background: #0a0a0d url(../img/regal88/bg-main.webp) no-repeat center / cover;
  }

  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 13, 0.82);
    z-index: 0;
  }

  .hero-bg-img {
    height: 340px;
    bottom: auto;
    z-index: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }

  .page-home .dealer-stage {
    top: 64px;
    height: 230px;
    text-align: center;
  }

  .page-home .dealer-img {
    width: auto;
    max-width: min(100vw, 425px);
    max-height: 230px;
  }

  .page-home .center-content {
    padding: 296px 12px 100px;
  }

  /* category strip */
  .category-nav-section {
    width: 100%;
    max-width: none;
    margin: 0 auto 10px;
    left: auto;
    transform: none;
    padding-top: 0;
  }

  .category-nav-section .category-tabs-swiper {
    padding: 0;
    border-radius: 18px !important;
    box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7) !important;
  }

  .category-tabs-swiper .cat-btn.swiper-slide {
    width: 70px;
    height: 66px;
    padding: 0;
    border-radius: 14px;
  }

  .category-nav .cat-btn:not(:last-child)::after {
    display: none;
  }

  .cat-btn-inner {
    gap: 4px;
  }

  .cat-btn .cat-btn-icon-img {
    width: 30px;
    height: 30px;
  }

  .cat-btn-label,
  .cat-btn:hover:not(.active) .cat-btn-label {
    font-size: 8px;
    font-weight: 700;
    text-transform: none;
    color: #f5e9cd;
    overflow: visible;
  }

  .cat-btn.active .cat-btn-label {
    color: #211b0d;
    text-shadow: none;
  }

  /* floating footer */
  .bottom-nav {
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 72px;
    padding: 6px 0;
    border-radius: 18px;
    box-shadow: var(--r88-inset), var(--r88-drop);
  }

  .nav-group--left,
  .nav-group--right {
    padding: 0;
  }

  .nav-item,
  .nav-item:hover {
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #f5e9cd;
  }

  .nav-item span,
  .deposit-btn span {
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
  }

  .nav-item::after,
  .nav-item:not(:last-child)::after {
    display: none;
  }

  .nav-item .nav-icon-img {
    width: 28px;
    height: 28px;
  }

  .deposit-item {
    position: static;
    transform: none;
    flex: 0 0 74px;
    height: 68px;
    align-self: flex-end;
    margin-bottom: -2px;
  }

  .deposit-btn,
  .deposit-btn:hover {
    width: 74px;
    height: 68px;
    gap: 4px;
    border: 0;
    border-radius: 55px 55px 0 0;
    box-shadow: none;
  }

  .deposit-btn .nav-icon-img {
    width: 32px;
    height: 32px;
  }

  .deposit-btn span {
    color: #211b0d;
  }

  /* dashboard cards */
  .vip-dragon .dragon-placeholder {
    width: 97px;
    height: 97px;
    overflow: visible;
  }

  .vip-dragon .dragon-placeholder img {
    width: 97px;
    height: 97px;
  }
}

/* ---------- Header logo on inner pages (desktop: centred brand) ---------- */

@media (min-width: 900px) {
  .top-header .logo-link:not(.mobile-only) {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
  }

  .top-header .logo-link:not(.mobile-only) .logo-img {
    width: 108px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  }
}

/* ---------- Slots provider page (Figma 4236:554) ---------- */

/* The header is 112px from 900px up and 64px below it, so the padding that
   clears it has to switch at that same breakpoint. Unscoped here (this file
   loads last) the desktop value clobbered the phone padding and left ~46px
   of dead space above the provider panel. */
@media (min-width: 900px) {
  .slx-content {
    padding-top: 110px;
  }
}

@media (max-width: 899px) {
  .slx-content {
    padding-top: 69px; /* 64px header + 5px */
  }
}

.slx-sidebar {
  padding: 14px 12px 12px;
  border-radius: 10px;
  background: var(--r88-surface);
  border: 1px solid var(--r88-border);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), var(--r88-drop);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.slx-sidebar-head {
  justify-content: space-between;
  color: #efc96b;
  font-size: 16px;
}

.slx-sidebar-title {
  color: #efc96b;
  font-size: 15px;
}

.slx-ftype-btn {
  height: 32px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset);
  color: #f5e9cd;
  font-size: 12px;
}

.slx-ftype-btn.active {
  background: var(--r88-gold);
  border-color: var(--r88-border);
  color: #211b0d;
  box-shadow: var(--r88-inset);
}

.slx-filter-item {
  height: 62px;
  padding: 7px 4px;
  gap: 4px;
  border-radius: 8px;
  border: 1px solid var(--r88-border);
  background: #101113;
  color: #f5e9cd;
  font-size: 8px;
  font-weight: 700;
}

.slx-filter-item:hover,
.slx-filter-item.active {
  background: #1c1a16;
  border-color: #efc96b;
  color: #f5e9cd;
  box-shadow: 0 0 10px rgba(239, 201, 107, 0.35);
}

.slx-prov-img {
  width: 68px;
  height: 30px;
  max-width: none;
  filter: none;
}

.slx-filter-expand-btn {
  color: #efc96b;
}

.slx-search-field,
.slx-sort-trigger,
.slx-sort-field {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  backdrop-filter: none;
}

.slx-search-field i,
.slx-sort-caret {
  color: #efc96b;
}

.slx-search-field input {
  color: #f5e9cd;
  font-size: 13px;
}

.slx-search-field input::placeholder {
  color: #c6bda9;
}

.slx-sort-by,
.slx-sort-value {
  color: #f5e9cd;
  font-size: 12px;
  font-weight: 700;
}

.slx-sort-trigger {
  border: 0;
  box-shadow: none;
  background: none;
}

.slx-sort-menu {
  background: #101113;
  border: 1px solid var(--r88-border);
}

.slx-game-card {
  border-radius: 10px;
  border: 1px solid #e6d38e;
  background: #101113;
}

.slx-game-card:hover {
  border-color: #e6d38e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 213, 104, 0.4);
}

.slx-game-overlay {
  height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 0 8px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.97) 100%);
}

.slx-game-name {
  color: #f5e9cd;
  text-shadow: none;
}

.slx-game-prov {
  color: #c6bda9;
  text-transform: uppercase;
}

.slx-page-btn {
  border: 0;
  background: none;
  color: #efc96b;
}

.slx-page-info {
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--r88-gold);
  color: #211b0d;
  font-weight: 700;
}

/* ---------- Promotion page (Figma 4140:31) ---------- */

/* Allow the full carousel to remain reachable on short desktop viewports. */
.page-promotion .app {
  overflow-y: auto;
}

.page-promotion .center-content {
  position: relative;
  inset: auto;
  overflow: visible;
}

.promo-page-section .promo-page-header {
  text-align: center;
}

.promo-page-title {
  justify-content: center;
  margin: 0;
  color: #f5e9cd;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background: none;
  -webkit-text-fill-color: #f5e9cd;
  text-shadow: none;
}

.promo-page-sub {
  color: #c6bda9;
  font-size: 13px;
}

.promo-filter-bar {
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.promo-filter-btn {
  height: 42px;
  min-width: 112px;
  padding: 0 20px;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 700;
}

.promo-filter-btn:first-child {
  min-width: 80px;
}

.promo-filter-btn.active {
  background: var(--r88-gold);
  color: #211b0d;
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Keep the swiper mask from clipping card borders and drop shadows. */
.promo-swiper {
  box-sizing: border-box;
  padding: 8px 8px 44px;
}

.promo-card {
  border-radius: 16px;
  border: 1px solid rgba(205, 159, 65, 0.92);
  background: var(--r88-surface);
  box-shadow: inset 0 0 0 1px rgba(255, 229, 153, 0.08), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: none;
}

.promo-card:hover {
  border-color: rgba(225, 181, 87, 0.98);
  box-shadow: inset 0 0 0 1px rgba(255, 235, 174, 0.12), 0 14px 36px rgba(0, 0, 0, 0.55);
}

.promo-card-banner {
  aspect-ratio: 440 / 275;
}

.promo-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card-cat {
  top: 13px;
  left: 13px;
  min-width: 88px;
  height: 28px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50px;
  border: 1px solid var(--r88-border);
  background: rgba(9, 9, 10, 0.85) !important;
  color: #efc96b !important;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: none;
}

.promo-card-info {
  gap: 8px;
  padding: 16px 20px 14px;
}

.promo-card-title {
  color: #f5e9cd;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.promo-card-desc {
  color: #c6bda9;
  font-size: 13px;
  line-height: 1.4;
  min-height: 55px;
}

.promo-card-cta,
.promo-card-cta:hover {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold) !important;
  color: #211b0d !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.promo-card-meta {
  color: #c6bda9;
  font-size: 10px;
  text-align: center;
}

/* A bare gold chevron: no pill, no stroke, no halo. The backdrop-filter and
   box-shadow resets are what style.css would otherwise paint behind it. */
.promo-nav {
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.promo-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #3a352a;
  opacity: 1;
}

.promo-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: var(--r88-gold);
}

@media (min-width: 1200px) {
  .promo-carousel {
    max-width: 1368px;
    margin-inline: auto;
  }
}

@media (min-width: 900px) {
  .promo-page-section {
    padding-top: 112px;
  }
}

@media (min-width: 1200px) {
  /* the arrows ride the carousel's own edge, as in the design; -68px put the
     next one past the viewport, where it was clipped in half */
  .promo-carousel .promo-nav--prev { left: -20px; }
  .promo-carousel .promo-nav--next { right: -20px; }
}

@media (max-width: 899px) {
  .promo-page-title {
    text-transform: none;
  }

  .promo-nav {
    display: none;
  }

  .promo-card-title {
    font-size: 16px;
  }

  .promo-card-desc {
    font-size: 12px;
    min-height: 0;
  }
}

/* ---------- VIP page (Figma 4149:141) ---------- */

.vip-page-head h1 {
  color: #f5e9cd;
  font-size: 24px;
  font-weight: 800;
}

.vip-page-head-icon {
  color: #efc96b;
  font-size: 22px;
  background: none;
  border: 0;
  box-shadow: none;
}

.page-vip .glass-card,
.vip-level-card,
.vip-steps,
.vip-next,
.vip-cmp-card {
  border-radius: 16px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.vip-level-card-label {
  align-self: stretch;
  color: #c6bda9;
  font-size: 11px;
  font-weight: 700;
}

.vip-level-badge,
.vip-level-badge img {
  width: 136px;
  height: 152px;
  object-fit: contain;
}

.vip-level-card {
  gap: 8px;
  padding: 16px 18px 20px;
}

.vip-level-name,
.vip-next-label {
  display: none;
}

.vip-level-btn,
.vip-next-tc {
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: none;
  color: #efc96b;
  font-size: 11px;
  font-weight: 700;
}

.vip-level-btn {
  width: 176px;
}

.vip-next-tc {
  width: 100%;
  height: 30px;
}

.vip-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--r88-border);
  background: #101113;
  color: #efc96b;
  font-size: 13px;
  box-shadow: none;
}

.vip-step-text {
  color: #f5e9cd;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.vip-step-sep {
  display: none;
}

.vip-next-badge,
.vip-next-badge img {
  width: 54px;
  height: 64px;
  object-fit: contain;
}

.vip-next-bar {
  height: 8px;
  border-radius: 8px;
  background: #101113;
}

.vip-next-fill {
  border-radius: 8px;
  background: var(--r88-gold);
}

.vip-next-req {
  color: #c6bda9;
  font-size: 11px;
}

.vip-next-req strong {
  color: #c6bda9;
  font-weight: 400;
}

.vip-next-amt {
  display: block;
  margin-top: 8px;
  color: #efc96b;
  font-size: 16px;
  font-weight: 700;
}

/* privileges table */
.vip-cmp-card {
  padding: 0;
  overflow: hidden;
}

.vip-cmp-table thead tr {
  /* background: #101113; */
}

.vip-cmp-table thead th {
  height: 112px;
  background: transparent;
  border: 0;
}

.vip-cmp-corner {
  padding-left: 20px !important;
  color: #f5e9cd !important;
  font-size: 18px !important;
  font-weight: 800;
  text-transform: uppercase;
  /* background: #101113 !important; */
}

.vip-cmp-badge,
.vip-cmp-badge img {
  width: 58px;
  height: 68px;
  object-fit: contain;
}

.vip-cmp-badge {
  margin: 0 auto 4px;
}

@media (min-width: 900px) {
  .vip-page-head {
    margin-top: 13px;
    margin-bottom: 12px;
  }

  .vip-landscape {
    gap: 24px;
  }

  .vip-landscape-left {
    flex: 0 0 328px;
    gap: 14px;
  }
}

.vip-cmp-name,
.vip-cmp-table .vip-cmp-name[class*="vip-tier--"] {
  color: #efc96b !important;
  font-size: 11px;
  font-weight: 700;
}

.vip-cmp-section th {
  height: 28px;
  padding-left: 18px !important;
  background: rgba(221, 184, 98, 0.1) !important;
  color: #efc96b !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.vip-cmp-table tbody tr:not(.vip-cmp-section) {
  height: 38px;
  border: 0.5px solid rgba(113, 100, 69, 0.18);
  background: transparent;
}

.vip-cmp-table tbody th[scope="row"] {
  padding-left: 18px;
  background: transparent !important;
  color: #c6bda9;
  font-size: 12px;
  font-weight: 600;
}

.vip-cmp-table tbody td {
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
}

@media (max-width: 899px) {
  /* Keep the row labels readable while the tier columns scroll underneath. */
  .vip-cmp-table {
    min-width: 760px;
  }

  .vip-cmp-corner,
  .vip-cmp-table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 144px;
    min-width: 144px;
    max-width: 144px;
    background: #101113 !important;
    box-shadow:
      8px 0 0 #101113,
      9px 0 0 rgba(225, 182, 90, 0.22);
  }

  .vip-cmp-table tbody th[scope="row"] {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .vip-cmp-corner {
    z-index: 5;
  }
}

/* VIP terms modal (Figma 4149:664) */
.modal-backdrop.show {
  background: #000;
  opacity: 0.72;
}

.vip-tnc-dialog {
  max-width: 900px;
}

.vip-tnc-glass.modal-content {
  max-height: min(744px, calc(100vh - 40px));
  padding: 24px 30px;
  gap: 18px;
  border-radius: 18px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
}

.vip-tnc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: none;
}

.vip-tnc-head h2 {
  margin: 0;
  color: #f5e9cd;
  font-size: 24px;
  font-weight: 700;
}


.vip-tnc-glass .modal-body {
  padding: 0;
  overflow-y: auto;
}

.vip-tnc-list {
  list-style: decimal;
  margin: 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #c6bda9;
  font-size: 13px;
  line-height: 1.45;
}

.vip-tnc-list li {
  display: list-item;
  list-style: inherit;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

.vip-tnc-list li::before {
  display: none;
}

.vip-level-card-label {
  text-align: left;
}

/* ---------- Logged-in header (wallet / icons / profile) ---------- */

.wallet-pill,
.wallet-dropdown.open .wallet-pill,
.icon-btn,
.profile-pill {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #f5e9cd;
}

.wallet-pill::before {
  display: none;
}

.wallet-pill {
  width: max-content;
  min-width: 160px;
  padding: 0 14px;
  gap: 8px;
}

.wallet-pill .wallet-pill-caret {
  margin-left: auto;
}

.wallet-icon,
.wallet-icon .wallet-coin-icon,
.icon-btn .app-icon,
.profile-avatar,
.profile-avatar-icon {
  color: #efc96b;
  background: none;
  box-shadow: none;
  border: 0;
}

.wallet-amount,
.vip-badge {
  color: #f5e9cd;
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: 0;
  box-shadow: none;
}

.wallet-caret-icon,
.vip-caret-icon {
  color: #efc96b;
}

.icon-btn {
  width: 40px;
  display: grid;
  place-items: center;
}

.header-deposit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--r88-ink);
  background: var(--r88-gold);
  border: 0.9px solid var(--r88-border-gold);
  box-shadow: var(--r88-inset-gold), 0 2px 4px rgba(217, 156, 26, 0.12);
}

.header-deposit-btn:hover {
  filter: brightness(1.08);
  color: var(--r88-ink);
}

.header-deposit-btn i {
  font-size: 12px;
}

.profile-pill {
  min-width: 145px;
  padding: 0 16px;
  gap: 8px;
}

.wallet-dropdown-panel,
.profile-dropdown {
  border: 1px solid var(--r88-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #1c1b18, #0b0c0d);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
}

/* ---------- Deposit (Figma 4213:327) ---------- */

.deposit-page-head h1 {
  color: #f5e9cd;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.deposit-page-head-icon {
  color: #efc96b;
  font-size: 22px;
  background: none;
  border: 0;
  box-shadow: none;
}

.deposit-main,
.deposit-balance,
.deposit-bonus-card,
.deposit-note {
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.deposit-main {
  padding: 24px;
}

.deposit-page-section .modal-label,
.deposit-main label,
.deposit-balance-label {
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.deposit-method,
.deposit-bank,
.deposit-chips .chip-btn {
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
  color: #f5e9cd;
  font-weight: 700;
  backdrop-filter: none;
}

.deposit-method {
  min-height: 72px;
  font-size: 13px;
}

.deposit-method i,
.deposit-bank i {
  color: #efc96b;
}

.deposit-method i {
  font-size: 22px;
}

.deposit-bank {
  min-height: 55px;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.deposit-chips .chip-btn {
  height: 38px;
  font-size: 13px;
  /* flex:1 gave every chip an equal share, so "MYR 1,000" wrapped; size to
     content and share only the leftover space */
  flex: 1 1 auto;
  /* a lone chip on a wrapped last row would otherwise stretch the full width */
  max-width: 120px;
  white-space: nowrap;
}

.deposit-method.active,
.deposit-bank.active,
.deposit-chips .chip-btn.active {
  background: var(--r88-gold);
  border-color: var(--r88-border);
  color: #211b0d;
}

.deposit-method.active i,
.deposit-bank.active i {
  color: #211b0d;
}

.r88-amount-field {
  position: relative;
  display: flex;
  align-items: center;
}

.r88-amount-field > span {
  position: absolute;
  left: 16px;
  color: #efc96b;
  font-size: 14px;
  font-weight: 700;
}

.r88-amount-field .glass-input {
  padding-left: 36px;
}

.deposit-page-section .glass-input {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-field);
  color: #f5e9cd;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.r88-field-hint {
  display: block;
  margin-top: 8px;
  color: #c6bda9;
  font-size: 11px;
}

.deposit-submit.cta-btn {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  color: #211b0d;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.deposit-balance-amt {
  color: #f5e9cd;
  font-size: 30px;
  font-weight: 800;
}

.deposit-balance-label {
  font-size: 11px;
  text-transform: uppercase;
}

.deposit-balance-icon {
  color: #efc96b;
  font-size: 30px;
  background: none;
  border: 0;
  box-shadow: none;
}

.deposit-bonus-toggle {
  border-radius: 10px;
  border: 1px solid #c9a75b;
  background: var(--r88-field);
}

.deposit-bonus-toggle strong {
  color: #efc96b;
  font-size: 13px;
}

.deposit-bonus-toggle small,
.deposit-note-list li {
  color: #c6bda9;
}

.deposit-bonus-caret,
.deposit-note-list i {
  color: #efc96b;
}

.deposit-side-title {
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.deposit-history-link {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  color: #f5e9cd;
  font-weight: 700;
}

.wallet-amount {
  background: none;
  -webkit-text-fill-color: #f5e9cd;
}

.deposit-main .input-group {
  display: block;
}

.deposit-main .input-group > label {
  display: block;
  margin-bottom: 8px;
}

.deposit-note-list {
  gap: 0;
}

.deposit-note-list li {
  padding: 14px 0;
}

@media (min-width: 900px) {
  .deposit-page-head {
    margin-top: 22px;
  }
}

.deposit-page-head h1,
.vip-page-head h1 {
  background: none;
  -webkit-text-fill-color: #f5e9cd;
}

.r88-amount-field > span {
  z-index: 1;
}

/* ---------- Event pages (Figma 4244:364 / 523 / 609 / 695) ---------- */

.p2e-panel.glass-card {
  border-radius: 18px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface) !important;
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-p2e .p2e-header-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-p2e .p2e-header-icon img {
  filter: none !important;
}

.p2e-title {
  color: #f5e9cd;
  font-size: 30px;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: #f5e9cd;
}

.p2e-sub {
  color: #c6bda9;
  font-size: 16px;
}

.ci-total,
.p2e-header-actions .ci-total {
  height: 48px;
  padding: 0 40px;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: #c6bda9;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}

.ci-total i,
.ci-total strong {
  color: #efc96b;
}

.ci-total i { font-size: 22px; }
.ci-total strong { font-size: 24px; font-weight: 700; }

.p2e-action-btn {
  height: 44px;
  padding: 0 34px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: #101113;
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
  color: #c6bda9;
  font-size: 14px;
  font-weight: 700;
}

/* check-in: art-only day cards (the art carries the CLAIM label) */
.ci-day {
  position: relative;
  padding: 0;
  border: 0;
  background: none !important;
  box-shadow: none !important;
}

.ci-day-art {
  background: none;
  border: 0;
  box-shadow: none;
}

.ci-day-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ci-day-icon {
  display: none;
}

.ci-day .ci-claim-btn {
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 4%;
  height: 9%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0;
}

/* event category nav (inline icon + label) */
.event-cat-nav-section .event-cat-nav {
  --event-cat-inner-radius: 17px;
  max-width: 1120px;
  height: 68px;
  padding: 0 !important;
  gap: 8px;
  border-radius: 18px;
}

.event-cat-nav .cat-btn {
  height: 66px;
  min-height: 0;
  border-radius: 10px;
  /* three events fit any width, so share the row rather than left-packing
     them and leaving dead space at the end */
  flex: 1 1 0;
  min-width: 0;
}

.event-cat-nav .cat-btn-inner {
  flex-direction: row;
  gap: 10px;
}

.event-cat-nav .cat-btn .cat-btn-icon-img {
  width: 36px;
  height: 36px;
}

.event-cat-nav .cat-btn-label,
.event-cat-nav .cat-btn:hover:not(.active) .cat-btn-label {
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.event-cat-nav .cat-btn.active .cat-btn-label {
  color: #211b0d !important;
}

/* mission cards (Figma component "Mission Card / Gloss Gift Pedestal") */
.page-p2e .ms-swiper {
  padding-top: 6px;
  margin-top: -6px;
}

.ms-card {
  height: 184px;
  padding: 16px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.ms-card-status {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c6bda9;
  font-size: 10px;
  font-weight: 600;
}

.ms-card-status i {
  color: #efc96b;
  font-size: 14px;
}

.ms-card-body {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-card-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.page-p2e .ms-card-title {
  margin: 0;
  letter-spacing: 0;
  color: #f5e9cd;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.page-p2e .ms-card-reward {
  text-transform: none;
  letter-spacing: 0;
  color: #efc96b;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: #efc96b;
}

.ms-card-gift {
  width: 80px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 80px;
}

.ms-card-btn,
.ms-card-btn--open,
.ms-card-btn--claim {
  width: 100%;
  height: 36px;
  margin-top: auto;
  border-radius: 8px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold) !important;
  color: #211b0d !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  box-shadow: var(--r88-inset), 0 8px 20px rgba(0, 0, 0, 0.7);
}

.ms-nav,
.ms-pagination {
  display: none !important;
}

.event-cat-nav-section {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: 1120px !important;
}

@media (min-width: 900px) {
  .page-p2e .p2e-page-container {
    max-width: 100%;
    margin-inline: auto;
  }

  .page-p2e .p2e-page-section {
    padding-top: 140px;
  }

  .p2e-page-section .p2e-panel {
    padding: 15px;
  }

  .p2e-sub {
    white-space: nowrap;
  }
}

/* reward redemption (Figma component "Reward Card") */
.redempt-avail {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #c6bda9;
  font-size: 12px;
  text-transform: uppercase;
}

.redempt-avail strong {
  color: #efc96b;
  font-size: 24px;
  font-weight: 700;
}

.redempt-item {
  height: 340px;
  padding: 16px;
  gap: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface) !important;
  box-shadow: var(--r88-inset), var(--r88-inner-glow), var(--r88-drop);
}

.redempt-item .redempt-gift {
  width: 88px;
  height: 88px;
  margin: 0;
  object-fit: contain;
}

.redempt-amount {
  color: #efc96b;
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
}

.redempt-points {
  color: #f5e9cd;
  font-size: 16px;
  font-weight: 700;
  -webkit-text-fill-color: #f5e9cd;
  background: none;
  text-shadow: none;
}

.redempt-min {
  color: #c6bda9;
  font-size: 11px;
}

.redempt-claim-btn {
  width: 100%;
  max-width: 156px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold) !important;
  color: #211b0d !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--r88-inset), var(--r88-drop);
}

/* check-in: give the seven cards the full row */
.ci-days {
  gap: 16px;
}

.ci-days .ci-day {
  flex: 1 1 0;
  min-width: 0;
}

.redempt-item {
  margin-top: 0;
}

.redempt-item .redempt-gift {
  position: static;
  transform: none;
}

.redempt-item .redempt-points {
  margin: 0;
}

@media (min-width: 900px) {
  .redempt-item {
    height: 340px;
  }
}

.ci-days {
  flex: 0 0 auto;
  margin-top: 28px;
}

@media (min-width: 900px) {
  .page-p2e .p2e-page-container {
    height: auto;
  }

  .page-p2e .p2e-panel {
    flex: 0 0 auto;
    height: auto;
  }
}


.fw-wheel {
  position: absolute;
  left: 50%;
  top: 45.4%;
  width: 54.5%;
  height: auto;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 0;
  box-shadow: 0 0 0 2px #6b4d14, inset 0 0 16px rgba(120, 80, 10, 0.35);
  background:
    repeating-conic-gradient(from -0.6deg, #6b4d14 0deg 1.2deg, transparent 1.2deg 45deg),
    conic-gradient(#fbf0d2 0deg 45deg, #e9c46d 45deg 90deg, #fbf0d2 90deg 135deg, #e9c46d 135deg 180deg,
      #fbf0d2 180deg 225deg, #e9c46d 225deg 270deg, #fbf0d2 270deg 315deg, #e9c46d 315deg 360deg);
}

.fw-labels li span {
  margin-top: 9%;
  gap: 0;
  color: #211b0d;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
  text-shadow: none;
}

.fw-labels li span small {
  font-size: 10px;
  font-weight: 700;
  opacity: 1;
  text-transform: none;
}

.page-p2e .fw-hub {
  left: 50%;
  top: 45.4%;
  width: 12%;
  translate: -50% -50%;
  border: 2px solid #8a6415;
  background: radial-gradient(circle at 38% 32%, #fff3c4, #e4b544 55%, #9a6d14);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.fw-panel-card {
  height: 74px;
  padding: 16px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-drop);
}

.fw-panel-label {
  color: #c6bda9;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fw-panel-card + .fw-panel-card .fw-panel-label {
  color: #f5e9cd;
  font-size: 15px;
  text-transform: none;
}

.fw-token,
.fw-timer {
  color: #efc96b;
  font-weight: 700;
}

.fw-token { font-size: 32px; }
.fw-timer { font-size: 24px; }

.fw-panel-sub {
  margin: 0;
  color: #c6bda9;
  font-size: 14px;
}

.fw-result,
.fw-result[hidden] {
  height: 44px;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: none;
  box-shadow: none;
  color: #f5e9cd;
  font-size: 15px;
  font-weight: 700;
}

.fw-result strong {
  color: #efc96b;
  font-size: 22px;
}

.fw-spin-now {
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold) !important;
  color: #211b0d !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: var(--r88-inset), var(--r88-drop);
}

@media (min-width: 900px) {
  .page-p2e .fw-stage {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
    justify-content: stretch;
    justify-items: center;
    gap: clamp(20px, 3vw, 40px);
  }

  .page-p2e .fw-wheel-area {
    width: min(420px, 100%);
  }

  .page-p2e .fw-panel {
    width: 100%;
    min-width: 0;
    gap: 16px;
  }
}

/* pages whose content starts at the top: clear the centred logo */
@media (min-width: 900px) {
  .ref-page-section,
  .page-vip .vip-page-section {
    padding-top: 112px !important;
  }
}

@media (max-width: 899px) {
  .p2e-title {
    font-size: 22px;
  }

  .p2e-sub {
    font-size: 13px;
  }

  .p2e-header-icon {
    width: 48px;
    height: 48px;
  }

  .ms-card {
    height: auto;
    padding: 12px;
  }

  .page-p2e .ms-card-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-p2e .ms-card-reward {
    font-size: 18px;
  }

  .ms-card-gift {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* Referral programme: the mobile hero must wrap instead of clipping its link,
   while its statistic cards use the requested gold-to-transparent wash. */
.rp-stat {
  background: linear-gradient(160deg, rgb(244 208 116 / 57%), rgb(0 0 0));
}

@media (max-width: 599px) {
  .rp-hero {
    align-items: flex-start;
    min-width: 0;
  }

  .rp-hero-info {
    flex: 1 1 100%;
    min-width: 0;
    padding-right: 58px;
    flex-direction: column;
    gap: 10px;
  }

  .rp-hero-link,
  .rp-hero-link-field {
    width: 100%;
    min-width: 0;
  }

  .rp-hero-art {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

/* ==========================================================================
   MODALS — one dialog style for every modal
   Figma: 4181:215 (result dialog, 600w) · 4181:38 (content / T&C dialog, 940w)
   ========================================================================== */

.overlay,
.modal-backdrop.show {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.modal-backdrop.show {
  opacity: 1;
}

.modal-glass,
.vip-tnc-glass.modal-content {
  max-width: 600px;
  max-height: min(85vh, 760px);
  padding: 30px 36px;
  gap: 18px;
  border-radius: 20px;
  border: 1px solid var(--r88-border);
  background: var(--r88-surface);
  box-shadow: var(--r88-inset), var(--r88-inner-glow), 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #c6bda9;
}

.modal-glass.modal-lg,
.modal-glass.r88-dialog--wide,
.vip-tnc-glass.modal-content {
  max-width: 940px;
  gap: 22px;
}

.vip-tnc-dialog {
  max-width: 940px;
}

.modal-head,
.vip-tnc-head {
  min-height: 40px;
  padding: 0;
  gap: 16px;
  border: 0;
  background: none;
  flex-shrink: 0;
}

.modal-head h2,
.vip-tnc-head h2 {
  margin: 0;
  color: #f5e9cd;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  background: none;
  -webkit-text-fill-color: #f5e9cd;
}

.modal-head .modal-close,
.vip-tnc-close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #efc96b;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.modal-head .modal-close:hover,
.vip-tnc-close:hover {
  background: none;
  color: #fff1bc;
}

.modal-body,
.vip-tnc-glass .modal-body {
  padding: 0;
  color: #c6bda9;
  font-size: 16px;
  line-height: 1.45;
}

/* All-games modal: real portrait artwork in a compact responsive grid. */
#modalAllGames .modal-body {
  min-height: 0;
}

#modalAllGames .search-bar {
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid var(--r88-border);
  border-radius: 14px;
  background: var(--r88-panel);
  box-shadow: var(--r88-inset);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#modalAllGames .search-bar:focus-within {
  box-shadow: var(--r88-inset), 0 0 12px rgba(232, 201, 114, 0.22);
}

#modalAllGames .search-bar .search-icon {
  color: #e8c972;
  opacity: 1;
}

#modalAllGames .search-bar .glass-input.search {
  height: 38px;
  padding: 4px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.games-grid-modal {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  align-items: start;
}

.game-card-modal {
  min-width: 0;
  padding: 6px;
  outline: none;
}

.game-card-modal:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 220, 120, 0.8);
}

.game-thumb-m {
  position: relative;
  overflow: hidden;
  border-color: var(--r88-border);
  background: #121315;
}

.game-thumb-m img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.game-card-modal:hover .game-thumb-m img,
.game-card-modal:focus-visible .game-thumb-m img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.game-card-modal p {
  margin: 8px 0 2px;
  overflow: hidden;
  color: #f5e9cd;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card-modal[hidden] {
  display: none;
}

.game-preview-img.has-game-art {
  background-color: #0d0e10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* buttons */
.modal-glass .cta-btn {
  height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: var(--r88-gold);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--r88-inset-gold);
  color: #211b0d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.modal-glass .cta-btn.outline {
  background: var(--r88-surface);
  box-shadow: var(--r88-inset);
  color: #f5e9cd;
}

.r88-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.r88-modal-actions .cta-btn {
  width: 160px;
  margin: 0;
}

/* result dialog: centred icon, message, single action */
.r88-dialog--result .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.r88-dialog--result .r88-modal-actions {
  justify-content: center;
  margin-top: 0;
}

.r88-dialog--result .r88-modal-actions .cta-btn {
  width: 200px;
}

.r88-dialog-icon {
  color: #efc96b;
  font-size: 64px;
  line-height: 78px;
}

.r88-dialog-text {
  margin: 0;
  color: #c6bda9;
  font-size: 18px;
  line-height: 1.45;
}

.r88-dialog-text span {
  color: inherit;
  font-weight: inherit;
}

/* content dialog: gold section heading + numbered rules */
.p2e-tnc-heading {
  margin: 0 0 22px;
  color: #efc96b;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.tnc-intro {
  margin: 0 0 18px;
  color: #c6bda9;
  font-size: 14px;
}

.p2e-tnc-list {
  list-style: decimal;
  margin: 0;
  padding-left: 1.3em;
  gap: 14px;
}

.p2e-tnc-list li {
  display: list-item;
  color: #c6bda9;
  font-size: 16px;
  line-height: 1.45;
}

.p2e-tnc-list li::marker {
  color: #c6bda9;
}

/* form controls inside dialogs */
.modal-glass .modal-label,
.modal-glass .input-group > label {
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.modal-glass .glass-input {
  height: 46px;
  border-radius: 10px !important;
  border: 1px solid #c9a75b;
  background: var(--r88-field);
  backdrop-filter: none;
  color: #f5e9cd;
}

.modal-glass .glass-input::placeholder {
  color: #8a8270;
}

/* Bootstrap pulls every input-group child after the first 1px left to collapse
   adjoining borders. These groups are stacked label + field, so the offset only
   clips the field's left stroke. */
.input-group > :not(:first-child) { margin-left: 0 !important; }

/* Registration fields are stacked blocks. */
#modalRegister .input-group {
  display: block;
}

#modalRegister .input-group > .glass-input {
  width: 100%;
  margin-left: 0 !important;
  border: 1px solid var(--r88-border) !important;
  background: var(--r88-field) !important;
}

/* legacy variants now share the same surface */
.modal-glass--promo,
.reg-success-glass {
  background: var(--r88-surface);
  border-color: var(--r88-border);
}

.promo-modal-icon,
.reg-success-icon {
  border: 0;
  background: none;
  box-shadow: none;
  color: #efc96b;
  font-size: 64px;
}

.promo-modal-desc,
.reg-success-text {
  color: #c6bda9;
  font-size: 18px;
}

.promo-modal-meta {
  color: #8a8270;
}

.reg-success-title {
  color: #f5e9cd;
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 599px) {
  .modal-glass,
  .vip-tnc-glass.modal-content {
    padding: 24px 20px;
  }

  .modal-head h2,
  .vip-tnc-head h2 {
    font-size: 22px;
  }

  .r88-modal-actions .cta-btn {
    width: 100%;
  }

  .modal-body,
  .p2e-tnc-list li,
  .r88-dialog-text {
    font-size: 14px;
  }

  .r88-dialog-icon {
    font-size: 52px;
    line-height: 64px;
  }
}

/* Category tabs: corners of the end tabs follow the bar's inner radius
   (bar radius 20 − 1px border − 1px padding = 18; mobile 18 − 1 = 17) */
.category-nav-section .category-tabs-swiper { --cat-inner-r: 18px; overflow: hidden; }

.category-nav-section .category-nav > .cat-btn,
.category-nav-section .category-nav > .cat-btn.active {
  border-radius: 12px;
}

.category-nav-section .category-nav > .cat-btn:first-child,
.category-nav-section .category-nav > .cat-btn:first-child.active {
  border-top-left-radius: var(--cat-inner-r);
  border-bottom-left-radius: var(--cat-inner-r);
}

.category-nav-section .category-nav > .cat-btn:last-child,
.category-nav-section .category-nav > .cat-btn:last-child.active {
  border-top-right-radius: var(--cat-inner-r);
  border-bottom-right-radius: var(--cat-inner-r);
}

@media (max-width: 899px) {
  .category-nav-section .category-tabs-swiper { --cat-inner-r: 17px; }
}

/* Information nav follows the same flush treatment as the other main navs. */
.info-cat-nav-section .info-cat-nav {
  --info-cat-inner-radius: 17px;
  padding: 0 !important;
  gap: 8px;
  border-radius: 18px;
  overflow: hidden;
}

/* Account sub-navs retain their compact inset pill treatment. */
.account-cat-nav {
  padding: 6px 12px !important;
  gap: 8px;
  border-radius: 18px;
  overflow: hidden;
}

@media (max-width: 899px) {
  .event-cat-nav-section .event-cat-nav,
  .info-cat-nav-section .info-cat-nav,
  .account-cat-nav {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .event-cat-nav-section .event-cat-nav::-webkit-scrollbar,
  .info-cat-nav-section .info-cat-nav::-webkit-scrollbar,
  .account-cat-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-history .acct-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .page-history .acct-filters .chip-btn {
    min-width: 0;
    padding-inline: 4px;
    font-size: 11px;
    white-space: nowrap;
  }
}

.info-cat-nav-section .info-cat-nav > .cat-btn,
.info-cat-nav-section .info-cat-nav > .cat-btn.active,
.account-cat-nav > .cat-btn,
.account-cat-nav > .cat-btn:first-child.active,
.account-cat-nav > .cat-btn:last-child.active {
  border-radius: 10px;
}

.info-cat-nav-section .info-cat-nav > .cat-btn:first-child {
  border-top-left-radius: var(--info-cat-inner-radius);
  border-bottom-left-radius: var(--info-cat-inner-radius);
}

.info-cat-nav-section .info-cat-nav > .cat-btn:last-child {
  border-top-right-radius: var(--info-cat-inner-radius);
  border-bottom-right-radius: var(--info-cat-inner-radius);
}

.event-cat-nav-section .event-cat-nav > .cat-btn,
.event-cat-nav-section .event-cat-nav > .cat-btn.active {
  border-radius: 10px;
}

.event-cat-nav-section .event-cat-nav > .cat-btn:first-child {
  border-top-left-radius: var(--event-cat-inner-radius);
  border-bottom-left-radius: var(--event-cat-inner-radius);
}

.event-cat-nav-section .event-cat-nav > .cat-btn:last-child {
  border-top-right-radius: var(--event-cat-inner-radius);
  border-bottom-right-radius: var(--event-cat-inner-radius);
}

/* ========================================================================== 
   FIGMA GOLD BORDER SYSTEM
   Exact stroke from Figma node 4134:2. A masked overlay preserves every
   component's existing fill, rounded corners, and layout.
   ========================================================================== */

:where(
  .r88-card,
  .glass-card,
  .r88-btn--dark,
  .sm88-avatar-ring,
  .sm88-icon-btn,
  .sm88-recent,
  .sm88-invite-user,
  .sm88-link-icon,
  .slx-sidebar,
  .slx-filter-item,
  .slx-search-field,
  .slx-sort-field,
  .slx-sort-menu,
  .deposit-bonus-toggle,
  .transfer-dd-toggle,
  .ref-link-btn,
  .promo-card,
  .info-card,
  .info-content,
  .vip-level-card,
  .vip-steps,
  .vip-next,
  .vip-cmp-card,
  .vip-level-btn,
  .vip-next-tc,
  .vip-tnc-glass.modal-content,
  .wallet-pill,
  .icon-btn,
  .profile-pill,
  .wallet-dropdown-panel,
  .profile-dropdown,
  .deposit-main,
  .deposit-balance,
  .deposit-bonus-card,
  .deposit-note,
  .deposit-chips .chip-btn,
  .deposit-history-link,
  .p2e-panel,
  .p2e-action-btn,
  .ms-card,
  .redempt-item,
  .fw-panel-card,
  .modal-glass,
  .prf-form-card
) {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--r88-border) !important;
}

/* Gold-filled controls take the PSD's own lighter stroke. */
:where(
  .sm88-avatar-vip,
  .sm88-bar span,
  .sm88-bonus-badge,
  .sm88-tile-icon,
  .sm88-invite-plus,
  .slx-ftype-btn,
  .promo-filter-btn,
  .vip-step-icon,
  .deposit-method,
  .deposit-bank,
  .acct-filter-tab.active,
) {
  border: 1px solid var(--r88-gold-stroke) !important;
}

/* These carry their frame in the artwork, so they take no stroke at all. */
:where(
  .category-nav-section .category-tabs-swiper,
  .auth-btn,
  .event-cat-nav,
  .account-cat-nav,
  .info-cat-nav,
  .bottom-nav
) {
  border: 0 !important;
}



/* Gold-filled controls use the same Figma stroke without pseudo-element
   conflicts from active-state dividers and button effects. */
:where(
  .r88-btn--gold,
  .category-nav .cat-btn.active,
  [class*="cat-nav"] .cat-btn.active,
  .promo-filter-btn.active,
  .wdp-allin-btn,
  .claim-btn,
  .smh-banner-cta,
  .smh-invite-btn,
  .cta-btn:not(.outline),
  .reg-btn--next,
  .slx-featured-cta,
  .banner-promo-copy--dash .banner-promo-kicker,
  .banner-promo-copy--dash .dash-banner-btn,
  .promo-card-cta,
  .checkin-claim-btn,
  .rp-tnc-btn,
  .p2e-view-btn,
  .ref-copy-btn,
  .ref-withdraw-btn,
  .acct-submit,
  .acct-modal-btn--primary,
  .info-contact-btn,
  .ms-card-btn,
  .ms-card-btn--open,
  .ms-card-btn--claim,
  .redempt-claim-btn,
  .redempt-tnc-btn,
  .fw-spin-now
) {
  border: 1px solid var(--r88-gold-stroke) !important;
  background: var(--r88-gold) !important;
}

/* Standalone strokes that cannot use a masked pseudo-element. */
.side-menu.sm88 {
  border-right: 1px solid var(--r88-border);
}

.deposit-page-section .glass-input,
.modal-glass .glass-input,
.p2e-tnc-select {
  border: 1px solid var(--r88-border) !important;
  background: var(--r88-field) !important;
}

/* ==========================================================================
   REGAL88 CHROME — header, chevron navs, reward float
   Overrides the Man88 chrome above; matches Regal88-revamp-index.png.
   ========================================================================== */

/* ---------- Panels ---------- */

.r88-card,
.glass-card {
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
  box-shadow: var(--r88-inner-glow), var(--r88-drop);
}

/* ---------- Header ---------- */

.hamburger {
  width: 54px;
  height: 54px;
  border: 2px solid var(--r88-heading);
  border-radius: 10px;
  background: rgba(13, 7, 3, 0.55);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
}

.hamburger .app-icon--menu {
  font-size: 26px;
  color: var(--r88-heading);
}

/* Login / Register are artwork; the label rides on top of the image. */
.auth-btn,
.auth-btn:hover,
.auth-btn--register,
.auth-btn--register:hover {
  position: relative;
  width: 164px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: none;
}

.auth-btn > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-btn > span {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.auth-btn--login > span { color: var(--r88-heading); }
.auth-btn--register > span { color: var(--r88-ink); }
.auth-btn:hover { filter: brightness(1.08); }

/* ---------- Language picker ---------- */

.lang-picker {
  position: relative;
  display: inline-flex;
}

/* the design draws the flag as a 34px disc, not a rounded rectangle */
.lang-flag {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}

.lang-flag img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* hangs off the flag, right-aligned so it never leaves the viewport */
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: #101113;
  border: 1px solid var(--r88-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.lang-menu[hidden] { display: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #f5e9cd;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.lang-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(251, 220, 137, 0.12);
  outline: none;
}

.lang-option.is-selected {
  background: rgba(251, 220, 137, 0.18);
  color: var(--r88-heading);
}

.header-right { gap: 10px; align-items: center; }

/* ---------- Product nav (chevron frame, 4 categories) ---------- */

.category-nav-section .category-tabs-swiper {
  width: 970px;
  max-width: 100%;
  height: var(--r88-cat-h);
  margin-inline: auto;
  padding: 0 46px !important;
  display: flex;
  align-items: center;
  background: url(../img/regal88/nav-2.webp) no-repeat center / 100% 100% !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.category-nav { height: 100%; }

.category-nav .cat-btn,
.category-tabs-swiper .cat-btn.swiper-slide {
  padding: 8px 4px;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.category-nav .cat-btn.active,
[class*="cat-nav"] .cat-btn.active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* the rule between categories fades out at both ends rather than
   stopping square against the bar */
.category-nav .cat-btn:not(:last-child)::after {
  top: 14%;
  bottom: 14%;
  background: var(--r88-nav-divider);
}

.cat-btn .cat-btn-icon-img { width: 46px; height: 46px; }

.cat-btn-label,
.cat-btn:hover:not(.active) .cat-btn-label,
.cat-btn.active .cat-btn-label,
[class*="cat-nav"] .cat-btn.active .cat-btn-label {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--r88-text) !important;
  text-shadow: none;
}

.cat-btn.active .cat-btn-icon-img,
.cat-btn.active .cat-btn-label {
  filter: drop-shadow(0 0 8px rgba(241, 189, 30, 0.75));
}

/* ---------- Bottom nav (chevron frame) ---------- */

.bottom-nav {
  left: 85px;
  right: 85px;
  bottom: var(--r88-nav-inset);
  height: var(--r88-nav-h);
  padding: 0 70px;
  border: 0;
  border-radius: 0;
  background: url(../img/regal88/nav-1.webp) no-repeat center / 100% 100%;
  box-shadow: none;
}

.nav-item,
.nav-item:hover {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--r88-text);
  background: none;
}

.nav-item:not(:last-child)::after { display: none; }

.nav-item .nav-icon-img { width: 44px; height: 44px; }

.nav-group--left { padding-right: 70px; }
.nav-group--right { padding-left: 70px; }

/* nav-1.webp leaves 15px of empty space above the bar and 4px below it, so
   its visual centre sits ~4.5px lower than the element's. Pad the top to
   match; the Games hexagon spans the full artwork and keeps its own box. */
.nav-group .nav-item { padding-top: 17px; }

/* The hexagon and its stroke are part of nav-1.webp. Unlike the bar, the
   hexagon spans the artwork's full height, so its centre is the element's
   centre — any lift here pushes the icon above it. */
.deposit-item { bottom: 0; }

.deposit-btn,
.deposit-btn:hover {
  width: 150px;
  height: 100px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  gap: 2px;
}


.deposit-btn .nav-icon-img {
  width: 50px;
  height: 50px;
}

.deposit-btn span {
  font-size: 15px;
  font-weight: 500;
  color: var(--r88-text);
}

/* ---------- Floating Reward Game ---------- */

.reward-float {
  position: fixed;
  right: 26px;
  bottom: 150px;
  z-index: 11;
  width: 256px;
  line-height: 0;
  transition: transform 0.2s;
}

.reward-float img { width: 100%; height: auto; transition: transform 0.2s; }
/* the bob owns the anchor's transform, so the hover lift moves to the image */
.reward-float:hover img { transform: scale(1.05); }

@keyframes r88-float-bob { to { transform: translateY(-10px); } }
.reward-float { animation: r88-float-bob 2.6s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .reward-float { animation: none; }
}

.reward-float-close {
  position: absolute;
  /* the artwork's solid pixels start ~10% down, so sit on its corner, not in
     the transparent margin above it */
  top: 6%;
  left: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--r88-border);
  border-radius: 50%;
  background: rgba(10, 8, 5, 0.9);
  color: var(--r88-heading);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.reward-float-close:hover {
  background: #0a0805;
  color: #fff;
}

@media (max-width: 991px) {
  .reward-float-close { width: 22px; height: 22px; font-size: 11px; }
}

@media (max-width: 1500px) {
  .reward-float { width: 180px; bottom: 130px; }
}

@media (max-width: 991px) {
  .reward-float { width: 110px; right: 10px; bottom: 96px; }
  .bottom-nav { left: 10px; right: 10px; padding: 0 10px; height: 86px; background: var(--r88-panel); border: 1px solid var(--r88-border); border-radius: 18px; }
  .nav-group .nav-item { padding-top: 8px; }
  .nav-group--left { padding-right: 46px; }
  .nav-group--right { padding-left: 46px; }
  .deposit-btn, .deposit-btn:hover { width: 102px; height: 88px; }
  .category-nav-section .category-tabs-swiper {
    width: 100%; height: auto; padding: 0 !important;
    background: var(--r88-panel) !important;
    border: 1px solid var(--r88-border) !important;
    border-radius: 14px;
  }
  .auth-btn, .auth-btn:hover, .auth-btn--register, .auth-btn--register:hover { width: 110px; height: 40px; }
  .auth-btn > span { font-size: 13px; }
  .hamburger { width: 42px; height: 42px; }
}

/* ==========================================================================
   REGAL88 LOBBY — check-in, top games, VIP, live transactions
   ========================================================================== */

.dashboard-left > .glass-card,
.dashboard-right > .glass-card {
  padding: 20px 22px;
}

/* Title Case headings everywhere in the lobby panels */
.dashboard-layer h3,
.card-header-row h3 {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--r88-heading);
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* ---------- Check-in Bonus (lobby card) ---------- */

.r88-checkin .ci-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.r88-checkin .ci-cal {
  font-size: 38px;
  color: var(--r88-heading);
}

.r88-checkin h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.r88-checkin .ci-sub {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--r88-text);
}

.r88-checkin .ci-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 0 0 22px;
}

.r88-checkin .ci-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: initial;
}

.r88-checkin .ci-day-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--r88-text);
}

.r88-checkin .ci-day-dot {
  /* the 7-up grid drops below 46px on phones, so the dot follows its column
     instead of overflowing it, and the glyph tracks the same ratio */
  width: min(46px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(209, 101, 3, 0.75);
  background: rgba(10, 5, 1, 0.72);
  font-size: clamp(13px, 4.2vw, 19px);
  color: #d16503;
}

.r88-checkin .ci-day--claimed .ci-day-dot {
  border-color: rgba(120, 40, 10, 0.9);
  color: #6d2309;
}

.r88-checkin .ci-day--today .ci-day-dot {
  border-color: var(--r88-heading);
  background: linear-gradient(180deg, #4b3414, #241406);
  color: #fff;
  box-shadow: 0 0 10px rgba(225, 193, 120, 0.45);
}

.r88-checkin .ci-day--jackpot .ci-day-dot {
  border-color: #f6ca2c;
  background: var(--r88-amber);
  color: var(--r88-ink);
}

.r88-checkin .ci-day-val {
  font-size: 14px;
  color: var(--r88-text);
}

.r88-checkin .ci-day--jackpot .ci-day-val {
  color: var(--r88-heading);
}

.r88-checkin .ci-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.r88-checkin .ci-points-label {
  font-size: 16px;
  color: var(--r88-text);
  white-space: nowrap;
}

.r88-checkin .ci-points {
  flex: 1;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-heading);
  font-size: 16px;
  font-weight: 500;
}

.r88-checkin .ci-claim {
  flex: 1;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold);
  color: var(--r88-ink);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

/* ---------- Top Games ---------- */

.r88-topgames .card-header-row h3 { font-size: 22px; }

.r88-topgames .view-all {
  font-size: 15px;
  color: var(--r88-text);
  text-decoration: none;
}

.tg-tiles {
  display: grid;
  /* minmax(0,…): plain 1fr floors at min-content, so a nowrap label would
     widen its column instead of ellipsing */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.tg-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.18s;
}

.tg-tile:hover { transform: translateY(-3px); }

/* When the column is short the card shrinks; the header stays and the tiles
   scroll instead of clipping. No-op at full height. */
.r88-topgames {
  display: flex;
  flex-direction: column;
}
.r88-topgames .tg-tiles {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  /* room for the 3px hover lift inside the scroll box; 8 + 4 keeps the
     original 12px gap (flex margins don't collapse, so the header's is 0) */
  margin-top: 8px;
  padding-top: 4px;
}
.r88-topgames .card-header-row { margin-bottom: 0; }
.r88-topgames .tg-tiles::-webkit-scrollbar { display: none; }

.tg-tile img {
  width: 100%;
  aspect-ratio: 89 / 83;
  object-fit: cover;
  border-radius: 14px;
}

.tg-tile span {
  font-size: 15px;
  color: var(--r88-text);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- VIP ---------- */

.r88-vip h3 { font-size: 22px; margin: 0 0 14px; }
.r88-vip .vip-tier { color: var(--r88-text); }

.r88-vip .vip-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--r88-track);
  border: 1px solid var(--r88-border);
  overflow: hidden;
}

.r88-vip .progress-fill {
  height: 100%;
  background: var(--r88-gold);
}

.r88-vip .vip-level,
.r88-vip .vip-xp {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--r88-text);
}

.r88-vip .dragon-placeholder img { width: 82px; height: 82px; }

/* ---------- Live transactions ---------- */

.r88-live .card-header-row h3 { font-size: 20px; }

/* When the column is short the card shrinks; the header stays and the
   deposit/withdraw list scrolls instead of clipping. No-op at full height. */
.r88-live .lxtx-swiper {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.r88-live .lxtx-swiper::-webkit-scrollbar { display: none; }
.r88-live .lxtx-swiper > .swiper-wrapper,
.r88-live .lxtx-swiper .swiper-slide { height: auto; }

.r88-live .lxtx-live-badge {
  padding: 3px 14px;
  border-radius: 6px;
  background: var(--r88-live);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.r88-live .lxtx-section-title {
  margin: 10px 0 8px;
  font-size: 15px;
  color: var(--r88-heading);
}

.r88-live .lxtx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.r88-live .lxtx-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(225, 193, 120, 0.14);
  border: 1px solid var(--r88-border);
  color: var(--r88-text-2);
  font-size: 12px;
  flex-shrink: 0;
}

.r88-live .lxtx-rank--1 {
  background: var(--r88-amber);
  border-color: #f6ca2c;
  color: var(--r88-ink);
}

.r88-live .lxtx-user {
  flex: 1;
  font-size: 15px;
  color: var(--r88-text);
}

.r88-live .lxtx-amount {
  font-size: 15px;
  color: var(--r88-heading);
  white-space: nowrap;
}

/* ---------- Header fixes ---------- */

.auth-btn { justify-content: center; }

.brand-logo { top: 10px; }
.brand-logo .logo-emblem img { width: 271px; height: auto; }

/* Nav + panel labels follow the design's Title Case */
.nav-item span,
.deposit-btn span,
.cat-btn-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Category pane section titles */
.slots-tab-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slots-tab-icon { width: 52px; height: 52px; }

.slots-tab-header h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: var(--r88-text);
  letter-spacing: 1px;
}

/* Design column widths: 442px panels with 28px gutters at 1920 */
@media (min-width: 992px) {
  .dashboard-layer {
    left: 28px;
    right: 28px;
    top: var(--r88-head-space);
    grid-template-columns: minmax(0, 442px) auto minmax(0, 442px);
    gap: 20px;
  }

  .dashboard-left,
  .dashboard-right { gap: 18px; }

  .r88-vip h3 { white-space: nowrap; }
}

/* Lobby spacing follows viewport height: design values at >=1080px tall,
   easing down to the tight values at <=790px (a 1440x900 laptop's browser
   viewport) so Check-in + Top Games fit the column without scrolling.
   Pattern: clamp(lo, lo + (hi - lo) * (100vh - 790px) / 290, hi) */
@media (min-width: 992px) {
  .dashboard-left,
  .dashboard-right {
    gap: clamp(10px, calc(10px + 8 * (100vh - 790px) / 290), 18px);
  }

  .dashboard-left > .glass-card,
  .dashboard-right > .glass-card {
    padding-top: clamp(12px, calc(12px + 8 * (100vh - 790px) / 290), 20px);
    padding-bottom: clamp(12px, calc(12px + 8 * (100vh - 790px) / 290), 20px);
  }

  .r88-checkin .ci-head {
    margin-bottom: clamp(8px, calc(8px + 12 * (100vh - 790px) / 290), 20px);
  }
  .r88-checkin .ci-days {
    margin-bottom: clamp(10px, calc(10px + 12 * (100vh - 790px) / 290), 22px);
  }
  .r88-checkin .ci-day {
    gap: clamp(4px, calc(4px + 4 * (100vh - 790px) / 290), 8px);
  }
  .r88-topgames .tg-tiles {
    margin-top: clamp(4px, calc(4px + 4 * (100vh - 790px) / 290), 8px);
  }

  .r88-vip h3 {
    margin-bottom: clamp(8px, calc(8px + 6 * (100vh - 790px) / 290), 14px);
  }
  .r88-live .lxtx-section-title {
    margin-top: clamp(4px, calc(4px + 6 * (100vh - 790px) / 290), 10px);
  }
  .r88-live .lxtx-row {
    padding-top: clamp(2px, calc(2px + 3 * (100vh - 790px) / 290), 5px);
    padding-bottom: clamp(2px, calc(2px + 3 * (100vh - 790px) / 290), 5px);
  }
}

.r88-vip h3 .vip-tier { display: inline; }

/* Category provider grid: 8 per row, portrait tiles (design: 8 x 2 + pager) */
@media (min-width: 992px) {
  .tab-content-section .slots-prov-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 16px;
    padding: 0 60px;
  }

  .tab-content-section .slots-prov-card {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    border: 1px solid #e6d38e;
    overflow: hidden;
  }

  .tab-content-section .slots-prov-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slots-tab-header { padding-left: 60px; margin-bottom: 14px; }
}

/* ==========================================================================
   REGAL88 GAMES PAGE (slots.html)
   ========================================================================== */

.slx-sidebar {
  background: var(--r88-panel);
  border: 1px solid var(--r88-border-gold);
  border-radius: 12px;
}

.slx-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--r88-text);
  text-transform: none;
  letter-spacing: 0;
}

.slx-ftype-btn {
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-heading);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.slx-ftype-btn.active {
  background: var(--r88-gold);
  color: var(--r88-ink);
}

.slx-filter-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.slx-filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: rgba(10, 5, 1, 0.75);
}

.slx-filter-item.active,
.slx-filter-item:hover { border-color: var(--r88-border-gold); }

.slx-prov-img {
  width: 100%;
  max-width: 110px;
  height: 34px;
  object-fit: contain;
}

.slx-filter-item span {
  font-size: 12px;
  color: var(--r88-text);
}

/* Search + sort */

.slx-search-field,
.slx-sort-field {
  background: var(--r88-panel);
  border: 1px solid var(--r88-border-gold);
  border-radius: 10px;
}

.slx-search-field input {
  color: var(--r88-text);
  font-size: 15px;
}

.slx-search-field input::placeholder { color: var(--r88-text-3); }
.slx-search-field i { color: var(--r88-text-3); }

.slx-sort-by { color: var(--r88-text-3); font-size: 14px; }
.slx-sort-value { color: var(--r88-text); font-size: 15px; }

/* Grid: 8 across, portrait art that already carries its own title */

.slx-game-card {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.slx-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.slx-page-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--r88-gold);
  color: var(--r88-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.slx-page-btn[disabled] { opacity: 0.45; cursor: default; }
.slx-page-info { font-size: 16px; color: var(--r88-text); }

@media (min-width: 992px) {
  .slx-games-grid {
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 16px;
  }

  /* The sidebar used to carry width: 340px while its grid track was 210px
     (or 18% from 1100px up). The track only reaches 340px around a 1900px
     window, so at anything narrower the sidebar overflowed its track and
     painted over the games grid. One source of truth now — the track — and
     it grows with the window instead of being pinned. */
  .slx-layout {
    grid-template-columns: clamp(210px, 18%, 340px) minmax(0, 1fr);
  }
}

/* Inner pages: the logo sits beside the hamburger, not centred (Regal design) */
@media (min-width: 900px) {
  .top-header .logo-link:not(.mobile-only) {
    position: static;
    transform: none;
    line-height: 0;
  }

  .top-header .logo-link:not(.mobile-only) .logo-img {
    width: 205px;
    height: auto;
  }

  .header-left { gap: 16px; align-items: center; }
}

/* ==========================================================================
   REGAL88 EVENTS
   ========================================================================== */

/* Events sub-nav uses the same chevron frame as the product nav */
@media (min-width: 992px) {
  .event-cat-nav-section .event-cat-nav,
  .info-cat-nav-section .info-cat-nav {
    width: 970px;
    max-width: 100%;
    height: var(--r88-cat-h);
    margin-inline: auto;
    padding: 0 46px !important;
    display: flex;
    align-items: center;
    background: url(../img/regal88/nav-2.webp) no-repeat center / 100% 100% !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
  }

  /* the buttons carry align-self: stretch, which beats the bar's align-items,
     so they sat at the top of the taller chevron frame */
  .event-cat-nav .cat-btn,
  .info-cat-nav .cat-btn {
    align-self: center;
  }
}

.event-cat-nav .cat-btn,
.info-cat-nav .cat-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.event-cat-nav .cat-btn.active .cat-btn-icon-img,
.event-cat-nav .cat-btn.active .cat-btn-label,
.info-cat-nav .cat-btn.active .cat-btn-icon-img,
.info-cat-nav .cat-btn.active .cat-btn-label {
  filter: drop-shadow(0 0 8px rgba(241, 189, 30, 0.75));
}

/* ---------- Daily check-in ---------- */

.ci-panel {
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
}

.p2e-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--r88-heading);
}

.p2e-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--r88-text);
}

.ci-header-icon img { width: 62px; height: auto; }

.ci-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}

.ci-day {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
  border: 0;
  padding: 0;
}

.ci-day-art {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.ci-day-art img {
  width: 100%;
  height: auto;
  display: block;
}

.ci-day.is-claimed .ci-day-art img { filter: grayscale(0.55) brightness(0.55); }

.ci-day-amount {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-text);
  font-size: 14px;
  line-height: 1;
}

.ci-claim-btn {
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold);
  color: var(--r88-ink);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
}

.ci-claim-btn.is-claimed {
  background: var(--r88-dark-btn);
  color: var(--r88-text-2);
  cursor: default;
}

/* Events check-in: the claim button is a real control below the card */
.page-p2e .ci-day .ci-claim-btn,
.ci-days .ci-day .ci-claim-btn {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold) !important;
  color: var(--r88-ink) !important;
  font-size: 15px;
  box-shadow: var(--r88-inset-gold);
}

.ci-days .ci-day .ci-claim-btn.is-claimed {
  background: var(--r88-dark-btn) !important;
  color: var(--r88-text-2) !important;
}

.ci-days .ci-day {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

/* ==========================================================================
   REGAL88 — events sub-nav sizing, mission grid, promotions
   ========================================================================== */

/* The events / info sub-nav matches the product nav's icon + label scale */
@media (min-width: 992px) {
  .event-cat-nav .cat-btn-icon-img,
  .info-cat-nav .cat-btn-icon-img {
    width: 46px !important;
    height: 46px !important;
  }

  .event-cat-nav .cat-btn-label,
  .info-cat-nav .cat-btn-label {
    font-size: 15px;
  }

  /* Event / promo panels use the full stage width, as in the design */
  .p2e-page-container,
  .promo-page-container {
    max-width: 1864px;
  }
}

/* ---------- Mission ---------- */

.ms-carousel .ms-nav { display: none; }

.page-p2e .ms-card.r88-ms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 16px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--r88-border);
  background: rgba(14, 8, 3, 0.72);
  box-shadow: none;
  text-align: center;
}

.page-p2e .r88-ms-art {
  width: 92px;
  height: auto;
  max-width: 92px;
  flex: 0 0 auto;
}

.page-p2e .r88-ms.is-claimed .r88-ms-art { filter: grayscale(0.7) brightness(0.45); }

.page-p2e .r88-ms-text {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  color: var(--r88-text);
}

.page-p2e .r88-ms.is-claimed .r88-ms-text { color: var(--r88-text-2); }

.page-p2e .r88-ms-btn {
  width: 100%;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold);
  color: var(--r88-ink);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
}

.page-p2e .r88-ms-btn.is-claimed {
  background: var(--r88-dark-btn);
  color: var(--r88-text-2);
  cursor: default;
}

.ms-pagination .swiper-pagination-bullet {
  background: var(--r88-text-3);
  opacity: 0.6;
}

.ms-pagination .swiper-pagination-bullet-active {
  background: var(--r88-gold);
  opacity: 1;
  width: 22px;
  border-radius: 999px;
}

/* sub-nav icons: beat .event-cat-nav .cat-btn .cat-btn-icon-img */
.event-cat-nav .cat-btn .cat-btn-icon-img,
.info-cat-nav .cat-btn .cat-btn-icon-img {
  width: 46px;
  height: 46px;
}

.event-cat-nav .cat-btn .cat-btn-label,
.info-cat-nav .cat-btn .cat-btn-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--r88-text);
}

.event-cat-nav .cat-btn-inner,
.info-cat-nav .cat-btn-inner {
  flex-direction: column;
  gap: 6px;
}

/* ---------- Promotions ---------- */

.promo-page-title {
  font-size: 34px;
  font-weight: 600;
  color: var(--r88-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-page-sub {
  font-size: 15px;
  color: var(--r88-text);
}

.promo-filter-bar { gap: 12px; }

.promo-filter-btn {
  min-width: 118px;
  height: 38px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.promo-filter-btn.active {
  background: var(--r88-gold);
  color: var(--r88-ink);
}

.promo-card {
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promo-card-banner { line-height: 0; }

.promo-card-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  flex: 1;
}

.promo-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--r88-heading);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.promo-card-desc {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--r88-text);
}

.promo-card-cta {
  width: 100%;
  height: 40px;
  border-radius: 7px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold) !important;
  color: var(--r88-ink) !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.promo-card-meta {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--r88-text-2);
}

.promo-card-cat { display: none; }

.promo-nav {
  width: 40px;
  height: 56px;
  border: 0;
  background: none;
  color: var(--r88-heading);
  font-size: 34px;
  cursor: pointer;
}

.promo-nav--prev { display: none; }

.promo-vip-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 22px 10px 0 0;
  font-size: 15px;
  color: var(--r88-text);
  text-decoration: none;
}

.promo-vip-link:hover { color: var(--r88-heading); }

/* Promotions: the card row spans the stage, as in the design */
@media (min-width: 1200px) {
  .promo-carousel {
    max-width: 1842px;
  }

  .promo-carousel .promo-nav--next { right: -20px; }

  .promo-vip-link {
    max-width: 1842px;
    margin-inline: auto;
    padding-right: 4px;
  }
}

/* ---------- Promotion detail popup ---------- */

.modal-glass--promo {
  width: min(695px, 94vw);
  max-height: 76vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
  box-shadow: var(--r88-inner-glow), var(--r88-drop);
}

.modal-glass--promo .modal-head {
  position: relative;
  padding: 20px 56px 16px;
  border-bottom: 1px solid rgba(225, 193, 120, 0.35);
}

.modal-glass--promo .modal-head h2 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--r88-heading);
}

.modal-glass--promo .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 26px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--r88-heading) transparent;
}

.modal-glass--promo .modal-body::-webkit-scrollbar { width: 6px; }
.modal-glass--promo .modal-body::-webkit-scrollbar-thumb {
  background: var(--r88-heading);
  border-radius: 999px;
}

.promo-modal-desc {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--r88-heading);
}

.promo-modal-tnc-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--r88-text);
}

.promo-modal-tnc {
  margin: 0 0 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.promo-modal-tnc li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--r88-text);
}

.promo-modal-example p {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--r88-text);
}

.promo-modal-example-head { font-weight: 700; margin-top: 12px !important; }
.promo-modal-note { margin-top: 10px !important; }

.promo-modal-meta {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--r88-text-2);
}

.promo-modal-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px 26px 24px;
}

.promo-modal-actions .r88-btn {
  flex: 0 1 200px;
  height: 46px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
}

.promo-modal-actions .r88-btn--dark {
  background: var(--r88-dark-btn);
  border: 1px solid var(--r88-border-gold);
  color: var(--r88-text);
}

/* ---------- Fortune wheel ---------- */

.page-p2e .fw-wheel-area {
  position: relative;
  display: grid;
  place-items: center;
}

.page-p2e .fw-wheel {
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.page-p2e .fw-wheel::before,
.page-p2e .fw-wheel::after { content: none; }

.page-p2e .fw-wheel-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.page-p2e .fw-pointer {
  position: absolute;
  top: calc(50% - 229px);
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  z-index: 3;
  pointer-events: none;
}

.page-p2e .fw-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 116px;
  border: 0;
  background: none;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
}

.page-p2e .fw-hub img { width: 100%; height: 100%; display: block; }
.page-p2e .fw-hub::before, .page-p2e .fw-hub::after { content: none; }

/* the wheel sits straight on .p2e-panel in the design; this was a second card
   drawn inside the first, with the same fill and stroke */
.page-p2e .fw-stage {
  border: 0;
  border-radius: 0;
  background: none;
}

.page-p2e .fw-panel-card {
  border-radius: 10px;
  border: 1px solid var(--r88-border);
  background: rgba(12, 7, 2, 0.7);
  box-shadow: none;
}

.page-p2e .fw-panel-label {
  font-size: 14px;
  color: var(--r88-text-2);
  text-transform: none;
  letter-spacing: 0;
}

.page-p2e .fw-token,
.page-p2e .fw-timer {
  font-size: 30px;
  font-weight: 500;
  color: var(--r88-text);
}

.page-p2e .fw-panel-sub {
  font-size: 14px;
  color: var(--r88-text);
}

.page-p2e .fw-spin-now {
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold);
  color: var(--r88-ink);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

@media (min-width: 992px) {
  .page-p2e .fw-stage {
    max-width: 995px;
    margin-inline: auto;
  }
}

/* Fortune wheel: let the disc sit in flow and size the stage around it */
.page-p2e .fw-stage {
  overflow: visible;
  align-items: center;
  padding: 26px 30px 30px;
}

.page-p2e .fw-wheel-area {
  min-height: 430px;
  overflow: visible;
}

.page-p2e .fw-wheel {
  position: relative;
  top: auto;
  left: auto;
  margin: 0 auto;
}

.page-p2e .fw-pointer {
  top: 50%;
  margin-top: -229px;
}

.page-p2e .fw-panel-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 18px;
  /* 3141 still carried the old horizontal card's 74px, so the value dropped
     13px out of the box once this turned it into a column */
  height: auto;
}

.page-p2e .fw-result {
  justify-content: flex-start;
  color: var(--r88-text-2);
  font-size: 14px;
}

/* the Man88 decorative wheel illustration is replaced by the Regal artwork */
.page-p2e .fw-wheel-area {
  background-image: none;
  place-self: center;
}

/* the Man88 wheel used the CSS `translate` property to centre itself */
.page-p2e .fw-wheel { translate: none; }
.page-p2e .fw-hub { translate: none; }

.promo-modal-actions {
  flex-direction: row;
  /* 2x200 + gap + padding needs 470px and the box is only vw-40 on phones,
     so the pair stacks instead of hanging off both edges */
  flex-wrap: wrap;
}

.promo-vip-link {
  width: 100%;
  align-self: stretch;
}

/* ==========================================================================
   REGAL88 VIP
   ========================================================================== */

.vip-level-card,
.vip-steps,
.vip-next,
.vip-cmp-card {
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
  box-shadow: none;
}

.vip-level-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.vip-level-card-label {
  align-self: flex-start;
  font-size: 18px;
  font-weight: 600;
  color: var(--r88-heading);
  letter-spacing: 0.4px;
}

.vip-level-badge img { width: 128px; height: 128px; }

.vip-level-name {
  font-size: 30px;
  font-weight: 600;
  color: var(--r88-heading);
  letter-spacing: 1px;
}

.vip-level-btn {
  min-width: 186px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-heading);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

/* Journey steps */

.vip-steps {
  display: flex;
  flex-direction: column;
  padding: 8px 20px;
  list-style: none;
  margin: 0;
}

.vip-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.vip-step-sep {
  height: 1px;
  background: rgba(225, 193, 120, 0.3);
}

.vip-step-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--r88-dark-btn);
  border: 1px solid var(--r88-amber-stroke) !important;
  color: var(--r88-heading);
  font-size: 18px;
}

.vip-step-text {
  font-size: 16px;
  color: var(--r88-text);
}

/* Next-level progress */

.vip-next { padding: 18px 20px 20px; }

.vip-next-track {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip-next-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vip-next-badge img { width: 56px; height: 56px; }

.vip-next-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--r88-text);
  letter-spacing: 0.4px;
}

.vip-next-bar {
  flex: 1;
  height: 10px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid var(--r88-border);
  background: var(--r88-track);
  overflow: hidden;
}

.vip-next-fill {
  height: 100%;
  background: var(--r88-gold);
}

.vip-next-foot { margin-top: 14px; }

.vip-next-req {
  margin: 0;
  font-size: 14px;
  color: var(--r88-heading);
}

.vip-next-amt {
  margin: 4px 0 14px;
  font-size: 18px;
  color: var(--r88-text);
}

.vip-next-tc {
  width: 100%;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn);
  color: var(--r88-heading);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

/* Benefits table */

.vip-cmp-card { padding: 16px 18px; }

.vip-cmp-table {
  width: 100%;
  /* separate, not collapse: border-radius on a cell is ignored under collapse,
     so the active column could never draw the PSD's 10px corners */
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.vip-cmp-table th,
.vip-cmp-table td {
  padding: 9px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--r88-text);
  line-height: 1.3;
  border: 0;
  background: none;
}

.vip-cmp-corner { width: 230px; }

.vip-cmp-table tbody th[scope="row"] {
  width: 230px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--r88-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.vip-cmp-lvl { padding-bottom: 14px !important; }

.vip-cmp-badge img { width: 68px; height: 68px; }

.vip-cmp-name {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--r88-heading);
  letter-spacing: 0.5px;
}

.vip-cmp-table tbody tr:nth-child(odd) th,
.vip-cmp-table tbody tr:nth-child(odd) td {
  background: #2b2013!important;
}

/* Current tier column reads as one lit panel down the table */

.vip-cmp-table .vip-cmp-active {
  /* In the PSD one 50% #451e04 rect sits ABOVE the row stripes and spans the
     whole column. A background-image keeps the stripe's background-color
     underneath, so the stripes still read through the wash. */
  background-image: linear-gradient(rgba(69, 30, 4, 0.5), rgba(69, 30, 4, 0.5)) !important;
  border-inline: 1px solid rgba(245, 185, 9, 0.5);

  /* That one rect also carries an inner glow, so the glow belongs to the
     COLUMN, not to each cell: a plain `inset 0 0` here would light every row's
     top and bottom and band the whole column. Each cell lights only its sides;
     the first and last cells add the column's own top and bottom edge. */
  --col-glow-side:
    inset 22px 0 22px -14px rgba(241, 139, 29, 0.45),
    inset -22px 0 22px -14px rgba(241, 139, 29, 0.45);
  box-shadow: var(--col-glow-side);
}

.vip-cmp-table thead .vip-cmp-active {
  box-shadow: var(--col-glow-side), inset 0 22px 22px -14px rgba(241, 139, 29, 0.45);
}

.vip-cmp-table tbody tr:last-child .vip-cmp-active {
  box-shadow: var(--col-glow-side), inset 0 -22px 22px -14px rgba(241, 139, 29, 0.45);
}

.vip-cmp-table thead .vip-cmp-active {
  border-top: 1px solid rgba(245, 185, 9, 0.5);
  border-radius: 10px 10px 0 0;
}

.vip-cmp-table tbody tr:last-child .vip-cmp-active {
  border-bottom: 1px solid rgba(245, 185, 9, 0.5);
  border-radius: 0 0 10px 10px;
}

@media (min-width: 992px) {
  .vip-landscape {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .vip-landscape-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .vip-journey {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .vip-page-container { max-width: 1864px; }
}

/* Man88 baked the tier name into the badge art and hid these labels */
.vip-level-name { display: block; }
.vip-next-label { display: block; }

/* the pill sits inside .vip-landscape-right now; the container keeps the
   clearance it used to carry above the fixed bottom nav */
.vip-page-container .vip-landscape { margin-bottom: 150px; }

.vip-cmp-table th,
.vip-cmp-table td { overflow-wrap: break-word; }

.vip-cmp-table th,
.vip-cmp-table td { white-space: normal; }

/* keep the left column clear of the fixed bottom nav at 1080p */
@media (min-width: 992px) {
  .vip-level-card { padding: 14px 18px 16px; gap: 8px; margin: 0; }
  .vip-level-badge img { width: 112px; height: 112px; }
  .vip-level-name { font-size: 27px; }
  .vip-level-btn { height: 36px; }

  .vip-steps { padding: 2px 18px; }
  .vip-step { padding: 11px 0; gap: 14px; }
  .vip-step-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
  .vip-step-text { font-size: 15px; }

  .vip-next { padding: 14px 18px 16px; }
  .vip-next-badge img { width: 48px; height: 48px; }
  .vip-next-amt { margin: 4px 0 10px; font-size: 17px; }
  .vip-next-tc { height: 36px; }

  .vip-landscape-left,
  .vip-journey { gap: 14px; }
}

.vip-cmp-table tbody td,
.vip-cmp-table tbody th[scope="row"] {
  white-space: normal;
  font-weight: 400;
}

/* ==========================================================================
   REGAL88 INFO PAGES
   ========================================================================== */

.info-card {
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-panel);
  box-shadow: none;
}

.info-section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--r88-heading);
  text-transform: none;
  letter-spacing: 0;
}

.info-card p,
.info-card li {
  color: var(--r88-text);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Contact channels ---------- */

.info-contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.info-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: rgba(14, 8, 3, 0.7);
  text-decoration: none;
  transition: transform 0.18s, border-color 0.18s;
}

.info-contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--r88-heading);
}

.info-contact-icon,
.info-contact-icon--chat,
.info-contact-icon--email,
.info-contact-icon--whatsapp,
.info-contact-icon--telegram,
.info-contact-icon--line {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-gold);
  color: var(--r88-ink);
  font-size: 30px;
  box-shadow: none;
}

.info-contact-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--r88-heading);
}

.info-contact-detail {
  font-size: 13px;
  color: var(--r88-text);
}

.info-contact-btn {
  width: 100%;
  height: 36px;
  margin-top: 6px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--r88-border-gold);
  background: var(--r88-dark-btn) !important;
  color: var(--r88-heading) !important;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

@media (min-width: 992px) {
  .info-page-container,
  .info-cat-nav-section { max-width: 1864px; }

  .contact-us-page .info-card,
  .page-contact .info-card { max-width: 1210px; margin-inline: auto; }
}

/* Contact page: the channel panel hugs its content */
.contact-cols { align-items: start; }
.page-info .info-card { height: fit-content; }

/* Channel icons all use the gold plate from the design, not brand colours */
.info-contact-card .info-contact-icon {
  background: var(--r88-gold) !important;
  color: var(--r88-ink) !important;
  border: 1px solid var(--r88-border-gold) !important;
}

/* Sub-navs: the chevron frame carries the active state, not a gold pill */
.event-cat-nav .cat-btn.active,
.info-cat-nav .cat-btn.active,
.event-cat-nav .cat-btn[aria-current="page"],
.info-cat-nav .cat-btn[aria-current="page"] {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.event-cat-nav .cat-btn.active .cat-btn-label,
.info-cat-nav .cat-btn.active .cat-btn-label {
  color: var(--r88-text) !important;
}

@media (min-width: 992px) {
  .info-cat-nav-section,
  .event-cat-nav-section {
    width: 100%;
    max-width: none;
  }

  .event-cat-nav-section .event-cat-nav,
  .info-cat-nav-section .info-cat-nav {
    width: 970px !important;
    min-height: var(--r88-cat-h);
  }
}

@media (min-width: 992px) {
  .info-page-container { max-width: 1864px !important; }

  .event-cat-nav-section .event-cat-nav,
  .info-cat-nav-section .info-cat-nav {
    max-width: none !important;
    margin-inline: auto;
  }

  .page-info .contact-cols { height: auto; }
  .page-info .contact-cols > .info-card { flex: 0 0 auto; }
}

/* Contact page: the design panel is 1210 wide and only as tall as its cards */
@media (min-width: 992px) {
  .page-info .info-page-container > .contact-cols {
    flex: 0 0 auto;
    height: auto;
    width: 100%;
    max-width: 1210px;
    margin-inline: auto;
  }

  .page-info .info-page-container > .contact-cols > .info-card {
    flex: 0 0 auto;
    min-height: 0;
  }
}

/* beat [class*="cat-nav"] .cat-btn.active, which repaints the gold pill */
.event-cat-nav .cat-btn.active[aria-current="page"],
.info-cat-nav .cat-btn.active[aria-current="page"] {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* info.css loads after this theme layer on the info pages */
@media (min-width: 992px) {
  .page-info .info-page-container > .contact-cols {
    flex: 0 0 auto !important;
    height: auto !important;
  }

  .page-info .info-page-container > .contact-cols > .info-card {
    flex: 0 0 auto !important;
    height: auto !important;
  }
}

.info-cat-nav .cat-btn .cat-btn-icon-img {
  width: 46px !important;
  height: 46px !important;
}

.info-cat-nav .cat-btn .cat-btn-label {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--r88-text) !important;
}

.info-cat-nav .cat-btn-inner {
  flex-direction: column !important;
  gap: 6px;
}

/* ---------- All Games modal ---------- */

/* the Regal game artwork carries its own title, so the text label is redundant */
.game-card-modal p { display: none; }

/* ==========================================================================
   BOTTOM-CHROME CLEARANCE
   style.css padded content for the Man88 nav (120px, flush to the bottom).
   The Regal nav is 130px tall and sits 24px up, so it covers 154px, and
   responsive.css still pinned the lobby's product nav at bottom:130px —
   24px inside the nav. Both are driven off --r88-nav-space now.
   ========================================================================== */

.center-content {
  padding-bottom: calc(var(--r88-nav-space) + 28px);
}

.page-home .center-content {
  padding-bottom: calc(var(--r88-nav-space) + var(--r88-cat-h) + 24px);
}

/* These float above the nav too, and only above 900px — below that they drop
   into the page flow, where a `bottom` offset would shift them upward. */
@media (min-width: 900px) {
  /* The lobby's product nav floats between the content and the main nav. */
  .category-nav-section {
    bottom: calc(var(--r88-nav-space) + 8px);
  }

  .event-cat-nav-section {
    bottom: calc(var(--r88-nav-space) + 8px);
  }

  /* the lobby's tab panes stop just above the product nav */
  .tab-content-section--extended {
    bottom: var(--r88-cat-space);
  }
}

@media (max-width: 991px) {
  :root {
    --r88-nav-h: 86px;
  }

  /* the mobile nav drops the chevron artwork for a plain rounded bar, so it
     takes the panel stroke back */
  .bottom-nav {
    border: 1px solid var(--r88-border) !important;
  }

  /* …and with no artwork behind it the Games button draws its own hexagon,
     which the full-width nav gets from nav-1.webp. The gold edge is the
     button's own background with the dark fill inset over it — a z-index:-1
     pseudo-element would paint *over* the background, not behind it, because
     the button is its own stacking context. */
  .deposit-item { bottom: 0; }

  .deposit-item .deposit-btn { position: relative; }

  .deposit-btn,
  .deposit-btn:hover {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
    background: var(--r88-gold-stroke);
  }

  .deposit-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    clip-path: polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
    background: #0b0602;
  }

  /* lift the icon and label above the inset fill: ::after is a positioned
     descendant too, so tree order alone would paint it over them */
  .deposit-btn > * { position: relative; z-index: 1; }

  /* the desktop icon is sized for the artwork hexagon; here it matches
     the other nav icons */
  .deposit-btn .nav-icon-img {
    width: 44px;
    height: 44px;
  }
}

/* Below 900px the Games item is bottom-aligned and capped at 68px, which put
   its icon and label ~11px below the other four. Give it the same box as them
   so all five line up. (900-991px keeps the taller layout, and from 992px the
   artwork hexagon is raised on purpose.) */
@media (max-width: 899px) {
  .deposit-item {
    position: static;
    flex: 0 0 auto;
    height: auto;
    align-self: center;
    margin-bottom: 0;
  }

  .deposit-btn,
  .deposit-btn:hover {
    width: 104px;
    height: 84px;
    gap: 4px;
  }

  .deposit-btn .nav-icon-img {
    width: 44px;
    height: 44px;
  }
}

/* Only five items show below 992px (Events and Wallet are desktop-only), so
   the gutters that hold them clear of the Games hexagon are too wide to fit. */
@media (max-width: 560px) {
  .nav-group--left { padding-right: 0; }
  .nav-group--right { padding-left: 0; }

  /* The product nav collapses to a plain bar here; the desktop icon fills it
     and clips the label. */
  .category-nav-section .cat-btn-icon-img {
    width: 36px;
    height: 36px;
  }

  .category-nav-section .cat-btn-label {
    font-size: 12px;
  }

  /* Seven check-in columns leave ~41px each, and Claimed does not fit at 14px. */
  .r88-checkin .ci-day-val {
    font-size: 10px;
  }
}

/* The desktop shell locks the viewport and scrolls inside a per-page section,
   so the clearance has to reach those too: most carry a 6.5-7rem bottom
   padding that was sized for the old 120px nav. */
.vip-page-section,
.ref-page-section,
.p2e-page-section,
.promo-page-section,
.acct-page-section,
.page-vip .center-content,
.page-deposit .center-content,
.page-referral .ref-page-section {
  padding-bottom: calc(var(--r88-nav-space) + 28px);
}

/* ==========================================================================
   REGISTRATION MODAL — Regal88-revamp-registration.jpg
   A 403px panel: gold title over a rule, a four-step ring indicator, gold
   field labels over near-black inputs, and a full-width gold action.
   ========================================================================== */

#modalRegister .modal-glass {
  width: min(403px, calc(100vw - 32px));
  max-width: 403px;
  padding: 0;
}

#modalRegister .modal-head {
  align-items: flex-start;
  margin: 0 22px;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--r88-border);
}

#modalRegister .modal-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--r88-heading);
}

#modalRegister .modal-body {
  padding: 18px 22px 22px;
}

/* ---------- Step indicator ---------- */

#modalRegister .reg-stepper {
  align-items: flex-start;
  margin: 0 0 22px;
}

#modalRegister .reg-step { gap: 9px; }

#modalRegister .reg-step-num {
  width: 38px;
  height: 38px;
  border: 2px solid #d1690a;
  background: #120802;
  color: #e8780d;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

/* current and completed steps: cream ring, white numeral */
#modalRegister .reg-step.active .reg-step-num,
#modalRegister .reg-step.done .reg-step-num {
  border-color: #dbc480;
  background: linear-gradient(180deg, #3a2410 0%, #1d1105 100%);
  color: var(--r88-text);
  box-shadow: 0 0 10px rgba(219, 196, 128, 0.28);
}

#modalRegister .reg-step-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--r88-text);
}

#modalRegister .reg-step-line {
  height: 2px;
  margin: 19px 8px 0;
  background: #cf6803;
  box-shadow: none;
}

/* the run leaving the current step is cream, like the ring */
#modalRegister .reg-step-line.done,
#modalRegister .reg-step.active + .reg-step-line {
  background: #dbc480;
  box-shadow: none;
}

/* ---------- Form ---------- */

#modalRegister .reg-panel-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--r88-text);
}

#modalRegister .input-group { margin-bottom: 14px; }

#modalRegister .input-group > label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--r88-heading);
}

#modalRegister .glass-input {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--r88-border);
  border-radius: 10px;
  background: var(--r88-field) !important;
  color: var(--r88-text);
  font-size: 14px;
}

#modalRegister .glass-input::placeholder { color: var(--r88-text-3); }

#modalRegister .glass-input:focus {
  border-color: var(--r88-border-gold);
  box-shadow: 0 0 0 2px rgba(219, 196, 128, 0.14);
}

/* ---------- Actions ---------- */

#modalRegister .reg-nav {
  gap: 10px;
  margin-top: 20px;
}

#modalRegister .reg-btn {
  height: 45px;
  border-radius: 23px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* the design runs the gold across the button rather than down it */
#modalRegister .reg-btn--next {
  flex: 1;
  border: 1px solid var(--r88-gold-stroke) !important;
  background: linear-gradient(90deg, #fbdc89 0%, #c27e33 100%) !important;
  color: var(--r88-ink);
}

#modalRegister .reg-btn--back {
  flex: 0 0 110px;
  background: var(--r88-dark-btn);
  border: 1px solid var(--r88-amber-stroke);
  color: var(--r88-text);
}

#modalRegister .auth-switch {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--r88-text);
}

#modalRegister .auth-switch-link {
  font-weight: 600;
  color: var(--r88-heading);
}

/* ---------- Verification step ---------- */

#modalRegister .reg-otp-row { gap: 8px; }

#modalRegister .otp-input {
  height: 48px;
  padding: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

#modalRegister .reg-verify-text,
#modalRegister .reg-resend {
  font-size: 13px;
  color: var(--r88-text-2);
}

#modalRegister .reg-resend-link,
#modalRegister .terms-check a { color: var(--r88-heading); }

@media (max-width: 420px) {
  #modalRegister .reg-step-label { font-size: 10px; }
  #modalRegister .reg-step-num { width: 34px; height: 34px; }
  #modalRegister .reg-step-line { margin-top: 17px; }
}

/* The sub-navs carry the product nav's divider too. They sit in an 8px gap
   between buttons rather than flush, so the line is centred in that gap. */
.event-cat-nav .cat-btn,
.info-cat-nav .cat-btn {
  position: relative;
}

.event-cat-nav .cat-btn:not(:last-child)::after,
.info-cat-nav .cat-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: var(--r88-nav-divider);
  pointer-events: none;
}

@media (max-width: 899px) {
  .event-cat-nav .cat-btn:not(:last-child)::after,
  .info-cat-nav .cat-btn:not(:last-child)::after {
    display: none;
  }
}

/* ==========================================================================
   FORTUNE WHEEL — geometry from Regal88-fortunewheel.jpg
   The artwork is a circle of 390 with a 116 hub (29.7%) and the gem pointer
   sitting 11px above the rim. Wheel, hub and pointer share one grid cell so
   they stay concentric at any size; the previous rules pinned them with pixel
   offsets measured against an off-centre 400px crop, which is why the ring
   looked clipped and the overlays sat wrong.
   ========================================================================== */

.page-p2e .fw-wheel-area {
  position: relative;
  width: min(390px, 86vw, 42vh);
  aspect-ratio: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}

.page-p2e .fw-wheel,
.page-p2e .fw-hub,
.page-p2e .fw-pointer {
  grid-area: 1 / 1;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  translate: none;
  transform: none;
}

.page-p2e .fw-wheel {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  z-index: 1;
}

.page-p2e .fw-wheel-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* the hub stays still while the wheel turns under it */
.page-p2e .fw-hub {
  width: 29.7%;
  aspect-ratio: 1;
  border: 0;
  background: none;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
}

.page-p2e .fw-hub img {
  width: 100%;
  height: 100%;
  display: block;
}

/* the gem overlaps the rim at the top, as in the design */
.page-p2e .fw-pointer {
  align-self: start;
  width: 11.8%;
  height: auto;
  margin-top: -2.8%;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   CONTENT HEIGHT vs THE FIXED CHROME
   The desktop shell locks the viewport and scrolls inside .center-content.
   These containers were pinned to height:100% of that box, so when their
   content grew past it they overflowed *visibly* instead of making the box
   scroll — and the fixed nav then covered the last control (Transfer Now,
   Update Profile, Save Bank Account...). Letting them grow hands the overflow
   back to the scroll container.
   ========================================================================== */

.page-deposit .deposit-page-container {
  height: auto;
  min-height: 100%;
}

.page-deposit .deposit-page-container > .deposit-layout,
.page-deposit .deposit-page-container > .deposit-layout > .deposit-main {
  min-height: 0;
  height: auto;
}

/* The events pages float their sub-nav above the nav, so their section has to
   clear both — the shared rule above only accounts for the nav. */
@media (min-width: 900px) {
  .page-p2e .p2e-page-section,
  .p2e-page-section {
    padding-bottom: calc(var(--r88-cat-space) + 20px);
  }
}

/* ==========================================================================
   HEADER — measured from Regal88-revamp-index.png
   The design centres the header row on y 56 and draws the menu button as a
   brown gradient tile with a hairline amber edge and three white bars; ours
   was a translucent black tile with a 2px gold edge and a gold glyph.
   ========================================================================== */

/* The whole block is scoped to desktop: it sits after the phone block, and a
   media query adds no specificity, so unscoped sizes here silently clobbered
   the 64px phone header and its 32x44 menu button. */
@media (min-width: 900px) {
  .top-header {
    height: 112px;
  }

  .hamburger {
    width: 54px;
    height: 54px;
    max-height: none;   /* style.css caps it at 50px */
    border: 1px solid #ffc857;
    border-radius: 16px;
    background: linear-gradient(180deg, #5e3115 0%, #2e190a 100%);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* three white bars in place of the Font Awesome glyph */
  .hamburger .app-icon--menu {
    position: relative;
    width: 31px;
    height: 5px;
    border-radius: 3px;
    background: #fff;
    color: transparent;
    font-size: 0;
  }

  .hamburger .app-icon--menu::before,
  .hamburger .app-icon--menu::after {
    content: '';
    position: absolute;
    left: 0;
    width: 31px;
    height: 5px;
    border-radius: 3px;
    background: #fff;
  }

  .hamburger .app-icon--menu::before { top: -12px; }
  .hamburger .app-icon--menu::after { top: 12px; }

  /* the wordmark is 256x62 in the design */
  .brand-logo {
    top: 25px;
  }

  .brand-logo .logo-emblem img {
    width: 256px;
  }
}

/* The events container was pinned to a fixed height smaller than its panel, so
   the panel overflowed downward past the sub-nav rather than centring in the
   band between the header and the nav. */
@media (min-width: 900px) {
  .page-p2e .p2e-page-container {
    height: auto;
    min-height: 0;
    max-height: none;
    /* it was flex: 0 1 auto, so it shrank to the line and the taller panel
       spilled out with overflow:visible — which never adds to the section's
       scroll height, leaving the overflow unreachable behind the sub-nav */
    flex: 0 0 auto;
  }
}

/* The section reserved 140px at the top while the header only needs 112, which
   pinned the panel too low to centre in the band. "safe center" keeps it
   centred when it fits and falls back to top-aligned when it does not, so a
   tall panel scrolls from its top instead of being clipped. */
@media (min-width: 900px) {
  .page-p2e .p2e-page-section,
  .p2e-page-section {
    padding-top: 124px;
    justify-content: safe center;
  }
}

/* ==========================================================================
   PHONE HEADER — the logged-out row is burger + logo + two artwork buttons +
   the flag. At 110px per button that totals 430px, so on a 390px phone the
   flag was pushed off the right edge and clipped. Tighten the whole row.
   ========================================================================== */
@media (max-width: 480px) {
  .top-header { padding: 0 10px; gap: 6px; }

  .header-deposit-btn {
    padding: 0 10px;
    font-size: 11px;
    gap: 4px;
  }
  .header-left,
  .header-right { gap: 6px; }

  /* as wide as the gap to the auth buttons allows at 375px */
  .top-header .logo-img { width: 86px; height: auto; }

  /* keep the artwork's 164x56 ratio so the button doesn't letterbox */
  .auth-btn,
  .auth-btn:hover,
  .auth-btn--register,
  .auth-btn--register:hover { width: 88px; height: 30px; }

  .auth-btn > span { font-size: 12px; }

  .lang-flag { width: 28px; height: 28px; }
}

/* ---------- Dark-gold controls ----------
   Every #451e04 control in the PSD carries the same amber Inner Glow as the
   panels carry the brown one. Listed once; none of these set a box-shadow of
   their own, and the gold-filled active states are excluded. */
.r88-btn--dark,
.vip-level-btn,
.vip-next-tc,
.vip-step-icon,
.info-contact-btn,
.promo-filter-btn:not(.active),
.slx-ftype-btn:not(.active),
.ci-points,
.ci-day-amount,
.ci-claim-btn.is-claimed,
.page-p2e .r88-ms-btn.is-claimed,
#modalRegister .reg-btn--back {
  box-shadow: var(--r88-inner-glow-gold);
}

/* "VIP Privileges info" is Rounded Rectangle 8 copy 27 in the PSD: a 190x37
   dark-gold pill, r18.5, not a bare text link. Sits at the right of its row. */
.promo-vip-link {
  width: fit-content;
  align-self: flex-end;
  /* 19px under the table card, as in the PSD; both margins are auto at
     >=1200px, which would otherwise centre the shrunk pill */
  margin: 19px 0 0 auto;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--r88-dark-btn);
  border: 1px solid var(--r88-amber-stroke);
  box-shadow: var(--r88-inner-glow-gold);
  color: var(--r88-heading);
}

.promo-vip-link:hover {
  color: var(--r88-heading-2);
}

/* ---------- register.html ----------
   The registration card moved out of its modal onto its own page. It keeps
   id="modalRegister" so the whole #modalRegister block above still styles it;
   only the overlay's entrance transform and height cap need undoing. */
.reg-page {
  display: flex;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.reg-page .modal-glass {
  transform: none;
  max-height: none;
}

/* ---------- Text-only buttons ----------
   These were display:block with a fixed height and symmetric padding, so the
   line box (line-height > content box) sat low: Next +4px, CLAIM NOW +2.5px,
   the amount chips +10.8px. Centre on the box instead of leaning on padding. */
.reg-btn,
.promo-card-cta,
.chip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Fortune wheel, mobile ----------
   .fw-wheel is a fixed 400px disc. In the stage's auto grid track that fixed
   width became the track's min-content, so the track grew to 322px inside a
   253px content box and the whole column hung 8px off the right of a 375px
   screen. One shrinkable column plus a fluid disc keeps it in frame. */
@media (max-width: 899px) {
  .page-p2e .fw-stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 12px 24px;
  }

  .page-p2e .fw-wheel-area {
    width: 100%;
    min-height: 0;
  }

  .page-p2e .fw-wheel {
    width: 100%;
  }
}

/* ---------- Deposit: bank details for the selected channel ---------- */
.deposit-bank-info {
  display: grid;
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid var(--r88-border);
  border-radius: 10px;
  background: var(--r88-border);
  overflow: hidden;
}

.dbi-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--r88-field);
}

.dbi-label {
  flex: 0 0 120px;
  color: var(--r88-text-2);
  font-size: 13px;
}

.dbi-value {
  flex: 1;
  min-width: 0;
  color: var(--r88-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  overflow-wrap: anywhere;
}

.dbi-copy {
  flex: 0 0 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--r88-border);
  border-radius: 8px;
  background: none;
  color: var(--r88-heading);
  font-size: 13px;
  cursor: pointer;
}

.dbi-copy:hover { color: var(--r88-heading-2); }
.dbi-copy.is-copied { color: #6dff9a; border-color: #6dff9a; }

@media (max-width: 560px) {
  .dbi-label { flex-basis: 92px; font-size: 12px; }
  .dbi-value { font-size: 13px; }
}

/* ---------- Lobby character on the category tabs (mobile) ----------
   The script hides .dealer-stage on every tab but the lobby. On mobile the
   layout still reserves its 296px of top padding, so hiding it just left a
   gap: keep the character on Sports / Live Casino / Slots / Poker too.
   The element is decorative (aria-hidden), so showing it past [hidden] is
   safe; desktop keeps the script behaviour. !important is required: the HTML
   spec sets [hidden] { display: none !important } in the UA sheet. */
@media (max-width: 899px) {
  .page-home .dealer-stage[hidden] { display: block !important; }
}

/* ---------- Daily check-in: two cards per row on phones ----------
   Seven columns left each day 29px wide at 375px, clipping the Claim button.
   The lobby card keeps its own 7-up strip (.r88-checkin .ci-days wins on
   specificity). */
@media (max-width: 767px) {
  .ci-days {
    /* the base rule is a horizontal scroller (auto-flow column, 132px tracks);
       both have to be undone or the extra days become implicit columns */
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: auto;
    overflow-x: visible;
    gap: 12px;
  }
}

/* ---------- Date inputs (profile / register / referral) ----------
   iOS Safari sizes input[type=date] itself and renders the value inside a
   ::-webkit-date-and-time-value box with its own margin and min-height, so
   the control grew taller and wider than its .glass-input frame and the
   value sat outside the box. Strip the native sizing and let the field's
   own padding set the height, as it does for every other input. */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  text-align: left;
}

input[type="date"]::-webkit-date-and-time-value {
  margin: 0;
  min-height: 0;
  text-align: left;
  line-height: normal;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.55;
  cursor: pointer;
}

/* ---------- VIP privileges table on phones ----------
   Seven tier columns need 760px, so the table could only be read by dragging
   it sideways under a sticky label column — barely one tier visible at a
   time. Show a single tier instead, picked from the pill row script.js
   builds out of the table's own headers. data-tier on the table says which
   one, and the markup ships with the current tier selected so the table
   still reads if that script never runs. */
.vip-tier-pills { display: none; }

@media (max-width: 899px) {
  .vip-tier-pills {
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .vip-tier-pills::-webkit-scrollbar { display: none; }

  .vip-tier-pill {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid var(--r88-border);
    border-radius: 999px;
    background: none;
    color: var(--r88-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    cursor: pointer;
  }

  .vip-tier-pill.active {
    border-color: rgba(245, 185, 9, 0.6);
    background: rgba(69, 30, 4, 0.9);
    color: var(--r88-heading);
  }

  /* undo the horizontal scroller and its sticky label column */
  .vip-cmp-wrap { overflow-x: hidden; }
  .vip-cmp-table { min-width: 0; }

  .vip-cmp-corner,
  .vip-cmp-table tbody th[scope="row"] {
    position: static;
    width: 52%;
    min-width: 0;
    max-width: none;
    box-shadow: none;
    /* the sticky column needed its own opaque fill; in flow it should just
       take the row's stripe like every other cell */
    background: none !important;
  }

  .vip-cmp-table thead .vip-cmp-lvl,
  .vip-cmp-table tbody td { display: none; }

  .vip-cmp-table[data-tier="1"] :is(thead .vip-cmp-lvl, tbody td):nth-child(2),
  .vip-cmp-table[data-tier="2"] :is(thead .vip-cmp-lvl, tbody td):nth-child(3),
  .vip-cmp-table[data-tier="3"] :is(thead .vip-cmp-lvl, tbody td):nth-child(4),
  .vip-cmp-table[data-tier="4"] :is(thead .vip-cmp-lvl, tbody td):nth-child(5),
  .vip-cmp-table[data-tier="5"] :is(thead .vip-cmp-lvl, tbody td):nth-child(6),
  .vip-cmp-table[data-tier="6"] :is(thead .vip-cmp-lvl, tbody td):nth-child(7),
  .vip-cmp-table[data-tier="7"] :is(thead .vip-cmp-lvl, tbody td):nth-child(8) {
    display: table-cell;
  }
}

/* ---------- Live Chat tab ----------
   The bottom nav has Live Chat where Profile used to be; Profile lives in
   the side menu. The icon is main-livechat.webp and rides the shared
   .nav-icon-img sizing, so only the longer label needs anything here. */
.nav-item--chat span { white-space: nowrap; }

/* Journey steps dropped from the VIP page at every width */
.vip-steps { display: none; }

/* Mobile VIP tweaks: shrink the level card */
@media (max-width: 991.98px) {
  .vip-level-card { padding: 12px 14px 14px; gap: 8px; }
  .vip-level-card-label { font-size: 14px; }
  .vip-level-badge,
  .vip-level-badge img { width: 84px; height: 84px; }
  .vip-level-name { font-size: 22px; }
  .vip-level-btn { min-width: 150px; height: 34px; font-size: 14px; }
}



/* MAINTENANCE label: same colour everywhere (wallet dropdown, transfer wallets) */
.r88-maint,
.wdp-game-balance.r88-maint,
.transfer-wallet-bal.r88-maint {
  color: #ff2d2d !important;
  font-weight: 700;
}
