:root {
  color-scheme: dark;
  --bg-deep: #070b09;
  --bg-panel: #0f1714;
  --gold-bright: #f3daa9;
  --gold: #d4b277;
  --gold-line: rgba(212, 178, 119, 0.25);
  --gold-strong: rgba(212, 178, 119, 0.58);
  --text: #f5efe4;
  --text-muted: #b8b0a2;
  --text-soft: #847d70;
  --crimson: #c42434;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.75);
  --radius-lg: 20px;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text);
  font: 14.5px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(24, 74, 56, 0.52), transparent 65%),
    linear-gradient(180deg, #0a100e 0%, #060908 100%);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(to right, rgba(212, 178, 119, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 178, 119, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1460px;
  width: min(96vw, 1460px);
  margin: 0 auto;
  padding: 14px clamp(12px, 1.8vw, 26px) 48px;
}

button, a, input {
  font: inherit;
}

button, a {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button:disabled {
  opacity: 0.36;
  cursor: default;
  transform: none !important;
}

/* =========================================================
   MONTE CARLO VIP GLASSMORPHIC LUXURY NAVBAR
   ========================================================= */
.luxury-navbar {
  position: sticky;
  top: 10px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 24, 20, 0.92) 0%, rgba(8, 13, 11, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(226, 188, 115, 0.42);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 245, 214, 0.16);
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1220px) {
  .luxury-navbar { flex-wrap: wrap; }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
}

.royal-crest {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #060707;
  border: 1.5px solid rgba(242, 198, 138, 0.78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.72), 0 0 12px rgba(232, 178, 108, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-lockup:hover .royal-crest {
  transform: scale(1.05);
  border-color: #ffe69b;
}

.royal-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-title {
  font: 700 20px/1.15 var(--font-display);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #ffffff 0%, #f5dfb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* Segmented Hall Category Tabs */
.hall-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(5, 9, 8, 0.72);
  border: 1px solid rgba(212, 178, 119, 0.2);
  flex-wrap: nowrap;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .hall-nav { flex-wrap: wrap; }
}

.hall-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.hall-tab em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.hall-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hall-tab.is-active {
  background: linear-gradient(180deg, #f0d59f 0%, #c69648 100%);
  border-color: #fff2cc;
  color: #1c1203;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 168, 76, 0.35);
}

.hall-tab.is-active em {
  background: rgba(28, 18, 3, 0.2);
  color: #1c1203;
}

.hall-tab-vip {
  color: #ffe299;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

/* Unified 24K Gold Vector Control Dock */
.nav-icon-dock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(6, 11, 9, 0.88);
  border: 1px solid rgba(224, 186, 112, 0.36);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65);
}

.dock-icon-btn {
  position: relative;
  width: 32px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #ebdfc7;
  display: grid;
  place-items: center;
  padding: 0;
}

.dock-icon-btn:hover {
  background: rgba(235, 196, 114, 0.16);
  color: #fff6df;
}

.dock-icon-btn .ico-off { display: none; }
.dock-icon-btn[aria-pressed="false"] .ico-on { display: none; }
.dock-icon-btn[aria-pressed="false"] .ico-off { display: block; }
.dock-icon-btn[aria-pressed="false"] {
  color: #8c8578;
}

.dock-tier-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe08a;
  box-shadow: 0 0 6px currentColor;
}

.stage-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(226, 188, 115, 0.38);
  background: linear-gradient(180deg, rgba(24, 38, 31, 0.92), rgba(11, 18, 15, 0.96));
  color: #efe4cc;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.stage-back-pill:hover {
  border-color: #ffe294;
  color: #ffffff;
  transform: translateX(-1px);
}

.cabinet-right-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vault-capsule, .chip-pill, .stage-bank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 192, 114, 0.55);
  background: linear-gradient(180deg, rgba(22, 34, 28, 0.92), rgba(10, 16, 13, 0.96));
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.14);
}

.vault-capsule strong, .chip-pill strong, .stage-bank strong {
  color: #ffe7a8;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.vault-coin-svg {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.nav-audio-btn, .icon-btn, .btn-ghost {
  border: 1px solid rgba(212, 178, 119, 0.32);
  background: rgba(18, 28, 24, 0.85);
  color: #dcd5c7;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-reload {
  border-color: #ffe294;
  background: linear-gradient(180deg, #e8bd6b, #b5802b);
  color: #1f1200;
  font-weight: 800;
}

.nav-audio-btn:hover, .icon-btn:hover, .btn-ghost:hover:not(:disabled) {
  border-color: var(--gold-bright);
  color: #ffffff;
}

.nav-audio-btn[aria-pressed="false"], .nav-pill[aria-pressed="false"] {
  opacity: 0.62;
  border-color: rgba(212, 178, 119, 0.18);
}

/* =========================================================
   LOBBY: LIVE JACKPOT TICKER + SPLIT HERO + 4-COL POSTER GRID
   ========================================================= */
.lobby {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jackpot-ticker-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(48, 32, 10, 0.72) 0%, rgba(15, 24, 20, 0.82) 50%, rgba(36, 24, 10, 0.68) 100%);
  border: 1px solid rgba(235, 195, 114, 0.35);
  flex-wrap: wrap;
}

.ticker-pool {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pool-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #36eb96;
  box-shadow: 0 0 10px #36eb96;
}

.pool-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ebd096;
}

.pool-val {
  font: 900 20px/1 Georgia, serif;
  font-variant-numeric: tabular-nums;
  color: #ffe680;
  text-shadow: 0 2px 12px rgba(255, 204, 64, 0.55);
}

.ticker-perks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  color: #cfc7b8;
  flex-wrap: wrap;
}

/* Split Hero Spotlight (Zero text over Zeus's artwork!) */
.hero-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  border-radius: 24px;
  overflow: hidden;
  background: #0e1513;
  border: 1.5px solid rgba(232, 192, 114, 0.48);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.72);
}

.hero-copy {
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(ellipse at 15% 15%, rgba(212, 168, 76, 0.14), transparent 65%);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-solid-gold {
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe08a, #d99b38);
  color: #211200;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.badge-glass {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(235, 198, 122, 0.35);
  color: #f5dfb0;
  font-size: 11px;
  font-weight: 700;
}

.hero-copy h2 {
  margin: 0;
  font: 800 clamp(26px, 3.2vw, 36px)/1.15 var(--font-display);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #f7e2b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  color: #c5bdb0;
  font-size: 14px;
  line-height: 1.62;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 10, 9, 0.66);
  border: 1px solid rgba(212, 178, 119, 0.22);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-size: 18px;
  font-weight: 900;
  color: #ffe48a;
}

.hero-stats span {
  font-size: 11.5px;
  color: #a8a093;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.hero-actions button {
  white-space: nowrap;
}

.btn-hero-main {
  padding: 11px 18px !important;
  font-size: 14px !important;
  border-radius: 12px !important;
}

.btn-hero-sec {
  padding: 11px 13px !important;
  font-size: 13px !important;
  border-radius: 12px !important;
}

.hero-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  cursor: pointer;
  background: #0b0914;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e1513 0%, rgba(14, 21, 19, 0.48) 14%, transparent 36%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual:hover img {
  transform: scale(1.045);
}

.hero-play-chip {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(10, 15, 13, 0.84);
  backdrop-filter: blur(8px);
  border: 1.5px solid #ffd97d;
  color: #ffe7a3;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}

/* Section Heading */
.lobby-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4px 2px 0;
}

.lobby-section-head h3 {
  margin: 0 0 2px;
  font: 700 20px/1.2 var(--font-display);
  color: #f7ebd2;
  letter-spacing: 0.05em;
}

.lobby-section-head span {
  font-size: 12.5px;
  color: #999184;
}

/* 4-Column Crisp Poster Matrix (100% True Aspect Ratio, Zero Text Over Artwork!) */
.lobby-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.poster-card {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #141e1a 0%, #0b110f 100%);
  border: 1px solid rgba(212, 178, 119, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.58);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.poster-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 206, 132, 0.78);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.78), 0 0 26px rgba(212, 172, 84, 0.18);
}

.poster-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.8;
  overflow: hidden;
  background: #080c0a;
  cursor: pointer;
  text-decoration: none;
}

.poster-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.poster-card:hover .poster-media img {
  transform: scale(1.06);
  filter: brightness(1.06) contrast(1.03);
}

.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 13, 11, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(235, 198, 122, 0.52);
  color: #f6e2b3;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.poster-badge.badge-hot {
  background: linear-gradient(90deg, rgba(186, 30, 48, 0.92), rgba(118, 16, 30, 0.92));
  border-color: #ff9ca8;
  color: #fff5f6;
}

.poster-cat-pill {
  position: absolute;
  bottom: 9px;
  right: 10px;
  padding: 2px 9px;
  border-radius: 6px;
  background: rgba(7, 11, 10, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ded7ca;
  font-size: 10.5px;
  font-weight: 700;
}

.poster-body {
  flex: 1;
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(212, 178, 119, 0.16);
}

.poster-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.poster-body h4 {
  margin: 0;
  font: 700 16.5px/1.25 var(--font-sans);
  color: #faf4e8;
}

.poster-odds {
  font-size: 11px;
  font-weight: 800;
  color: #ffd97d;
  white-space: nowrap;
}

.poster-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.52;
  color: #a8a093;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.poster-cta {
  margin-top: 4px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 178, 119, 0.42);
  background: rgba(22, 38, 31, 0.88);
  color: #f5dfb0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.poster-cta:hover {
  background: rgba(212, 178, 119, 0.22);
  border-color: #ffe299;
  color: #ffffff;
}

.poster-cta.cta-gold {
  background: linear-gradient(180deg, #f0d59f 0%, #c69648 100%);
  border-color: #fff0c4;
  color: #1c1203;
  font-weight: 800;
}

.poster-cta.cta-gold:hover {
  filter: brightness(1.08);
  color: #120b00;
}

/* ── v68 Clean Architectural 3-Hall Lobby Layout ── */
.hero-spotlight.hero-compact {
  grid-template-columns: 1.15fr 1fr;
  min-height: 238px;
  padding: 24px 28px;
  gap: 24px;
  align-items: center;
}
.hero-spotlight.hero-carousel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 22px 26px 16px;
}
.hero-slides-viewport {
  display: grid;
  grid-template-areas: "slide";
  position: relative;
}
.hero-slide {
  grid-area: slide;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}
.hero-duo-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hds-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10.6;
  border: 1.5px solid rgba(235, 198, 120, 0.48);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.72);
  background: #091510;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hds-card:hover {
  transform: translateY(-3px);
  border-color: #ffe39a;
}
.hds-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hds-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 7px;
  background: linear-gradient(0deg, rgba(4, 10, 8, 0.94) 0%, rgba(4, 10, 8, 0.6) 62%, transparent 100%);
  color: #fff2cc;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
}
.hero-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 188, 115, 0.2);
  flex-wrap: wrap;
}
.hero-dots-track {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-dot-pill {
  position: relative;
  overflow: hidden;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(226, 188, 115, 0.28);
  background: rgba(10, 20, 16, 0.85);
  color: #b7b0a2;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.hero-dot-pill em {
  font-style: normal;
  font-size: 10.5px;
  color: #e6be6e;
  opacity: 0.8;
}
.hero-dot-pill:hover {
  color: #fff3d1;
  border-color: rgba(242, 204, 128, 0.6);
}
.hero-dot-pill.is-active {
  color: #fff6dc;
  border-color: #f2cc7e;
  background: rgba(44, 34, 12, 0.72);
}
.hero-dot-pill i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #ffe7a3, #d89b28);
}
@keyframes heroDotProgress {
  from { width: 0%; }
  to { width: 100%; }
}
.hero-dot-pill.is-active i {
  animation: heroDotProgress 5s linear forwards;
}
.hero-carousel.is-paused .hero-dot-pill.is-active i {
  animation-play-state: paused;
}
.hero-arrows-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-arrow-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(226, 188, 115, 0.42);
  background: rgba(14, 26, 20, 0.9);
  color: #f5dfb0;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.hero-arrow-btn:hover {
  background: linear-gradient(180deg, #f2d79e, #c69444);
  border-color: #fff2c4;
  color: #1c1102;
  transform: scale(1.06);
}
@media (max-width: 980px) {
  .hero-slide { grid-template-columns: 1fr; gap: 16px; }
}
.hero-compact h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin: 8px 0 8px;
}
.hero-compact p {
  margin: 0 0 16px;
  font-size: 14px;
  max-width: 560px;
}
.pool-dot-inline {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  margin-right: 4px;
  vertical-align: 1px;
}
.hero-actions-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-dealers-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  cursor: pointer;
}
.hd-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 3.9;
  border: 1.5px solid rgba(235, 198, 120, 0.45);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.72);
  background: #091510;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hd-tile:hover {
  transform: translateY(-4px);
  border-color: #fde047;
}
.hd-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
}
.hd-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 4px 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
  color: #fff4d6;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.hall-floor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 178, 119, 0.16);
}
.hall-floor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.hfh-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #c8a86b;
  margin-bottom: 3px;
}
.hfh-title h3 {
  margin: 0;
  font-size: 20px;
  color: #fff5e0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hfh-title h3 em {
  font-style: normal;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(235, 198, 120, 0.16);
  border: 1px solid rgba(235, 198, 120, 0.35);
  color: #f5dda4;
}
.hfh-sub {
  font-size: 12.5px;
  color: #9ba59f;
}

.lobby-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.lobby-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.poster-card.span-2 {
  grid-column: span 2;
}
.poster-card.is-clean {
  cursor: pointer;
}
.poster-media.media-wide {
  aspect-ratio: 32 / 10.45;
}
.poster-media.media-sport {
  aspect-ratio: 24 / 9.2;
}
.bac-poster-4grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #1a1206;
}
.bac-poster-4grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.poster-bar {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(17, 29, 24, 0.96), rgba(9, 15, 13, 0.99));
  border-top: 1px solid rgba(212, 178, 119, 0.18);
}
.poster-bar h4 {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 800;
  color: #fff6e6;
}
.poster-sub {
  display: block;
  font-size: 11.5px;
  color: #9ea8a2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-enter-pill {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(235, 198, 120, 0.45);
  background: rgba(22, 40, 32, 0.9);
  color: #f6e1b3;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.poster-card.is-clean:hover .poster-enter-pill {
  background: linear-gradient(180deg, #f2d79e, #c69444);
  border-color: #fff1c2;
  color: #1c1102;
}
.poster-enter-pill.cta-gold {
  background: linear-gradient(180deg, #f2d79e, #c69444);
  border-color: #fff1c2;
  color: #1c1102;
}
@media (max-width: 980px) {
  .hero-spotlight.hero-compact { grid-template-columns: 1fr; }
  .lobby-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-grid-2 { grid-template-columns: 1fr; }
  .poster-card.span-2 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .lobby-grid-4 { grid-template-columns: 1fr; }
  .poster-card.span-2 { grid-column: span 1; }
  .poster-media.media-wide { aspect-ratio: 16 / 10; }
}

@media (max-width: 1120px) {
  .lobby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-spotlight { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; order: -1; }
  .hero-visual::after {
    background: linear-gradient(0deg, #121a17 0%, transparent 45%);
  }
}

@media (max-width: 640px) {
  .lobby-grid { grid-template-columns: 1fr; }
  .hall-nav { width: 100%; justify-content: center; }
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  background: rgba(19, 56, 43, 0.8);
  border: 1px solid rgba(124, 198, 163, 0.34);
  color: #d2efe0;
}

.tag-gold {
  background: rgba(212, 178, 119, 0.2);
  border-color: rgba(212, 178, 119, 0.52);
  color: var(--gold-bright);
}

.tag-subtle {
  font-size: 12px;
  color: var(--gold);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid #f4ddaf;
  background: linear-gradient(180deg, #efd4a2 0%, #c49852 100%);
  color: #191205;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--gold-strong);
  background: rgba(16, 26, 22, 0.88);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 14px;
}

.btn-outline:hover:not(:disabled) {
  background: rgba(212, 178, 119, 0.18);
}

/* Stage Panel */
.stage-open .shell {
  padding-top: 10px;
  padding-bottom: 20px;
}

.stage-open .luxury-navbar {
  max-width: 1460px;
  margin: 0 auto 10px;
}

.stage-open .hall-nav {
  display: none;
}

.stage-open .lobby {
  display: none;
}

.stage-panel {
  max-width: 1460px;
  margin: 0 auto;
  padding: 14px clamp(14px, 2vw, 24px) 18px;
  border-radius: 22px;
  border: 1.5px solid rgba(224, 186, 112, 0.48);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(24, 78, 58, 0.36), transparent 65%),
    linear-gradient(180deg, #0f1815 0%, #070c0a 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 245, 214, 0.12);
}

.cabinet-header {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(224, 186, 112, 0.18);
}

.cabinet-header > :first-child { justify-self: start; }
.cabinet-header > :last-child { justify-self: end; }

.cabinet-heading { text-align: center; }
.cabinet-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.cabinet-heading h2 {
  margin: 2px 0 0;
  font: 600 clamp(20px, 2.4vw, 25px)/1.15 var(--font-display);
  color: var(--gold-bright);
}

html {
  scrollbar-gutter: stable;
}

.stage-status {
  margin: 10px auto 0;
  text-align: center;
  height: 22px;
  line-height: 22px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gold-bright);
}

.chip-rack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}

.casino-chip-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3.5px dashed rgba(255, 255, 255, 0.85);
  font-weight: 900;
  font-size: 12.5px;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}
.c-25 { background: #1d7a52; }
.c-100 { background: #212529; border-color: #f0d399; color: #f5dfb2; }
.c-500 { background: #6b2d9e; border-color: #f3d9a4; }
.c-1000 { background: #c98f2b; border-color: #261803; color: #1b1102; }
.casino-chip-btn[aria-pressed="true"] {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 0 3px var(--gold-bright), 0 8px 20px rgba(0, 0, 0, 0.75);
}

.util-btn {
  padding: 9px 15px;
  min-height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(224, 186, 112, 0.36);
  background: linear-gradient(180deg, rgba(24, 38, 32, 0.94), rgba(12, 20, 17, 0.96));
  color: #e8dec8;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.util-btn:hover:not(:disabled) {
  border-color: var(--gold-bright);
  color: #ffffff;
}
.util-btn.active-unit {
  background: linear-gradient(180deg, rgba(242, 202, 112, 0.32), rgba(146, 96, 18, 0.48));
  border-color: #ffe48a;
  color: #fff9e6;
  box-shadow: 0 0 14px rgba(242, 202, 112, 0.28), inset 0 1px 0 rgba(255, 248, 220, 0.35);
}

.spinner { min-width: 175px; }

/* =========================================================
   1. ROYAL DOU DIZHU (王牌斗地主)
   ========================================================= */
@keyframes bombShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-8px, 5px); }
  40% { transform: translate(8px, -6px); }
  60% { transform: translate(-6px, -4px); }
  80% { transform: translate(6px, 4px); }
}

.bomb-shake {
  animation: bombShake 0.42s ease-out;
}

.ddz-arena {
  position: relative;
  border-radius: 22px;
  padding: 14px 18px 18px;
  background: radial-gradient(ellipse at 50% 42%, #1d5a42 0%, #103728 65%, #081e15 100%);
  border: 6px solid #2c1910;
  box-shadow: inset 0 0 0 2px rgba(212, 178, 119, 0.35), inset 0 12px 32px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ddz-fx-banner {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b81d2a, #e89f24, #b81d2a);
  border: 2px solid #fff3c4;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 40px rgba(255, 204, 84, 0.85);
  pointer-events: none;
}

.ddz-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ddz-kitty-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(6, 15, 11, 0.68);
  border: 1px solid rgba(212, 178, 119, 0.25);
}

.ddz-kitty-cards {
  display: flex;
  gap: 5px;
}

.ddz-kitty-card {
  --cw: 36px;
  --ch: 50px;
}

.ddz-mult-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 15, 11, 0.78);
  border: 1px solid var(--gold-strong);
  font-size: 13px;
}

.ddz-mult-box strong {
  color: #ffd875;
  font-size: 15px;
}

.ddz-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 118px;
  gap: 16px;
}

.ddz-rival {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rival-right {
  flex-direction: row-reverse;
}

.ddz-rival-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(8, 18, 14, 0.88);
  border: 1.5px solid rgba(212, 178, 119, 0.34);
}

.ddz-rival.is-turn .ddz-rival-card {
  border-color: #ffe299;
  box-shadow: 0 0 22px rgba(255, 226, 153, 0.45);
}

.ddz-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background-size: cover;
}

.av-alan {
  background-image: url(icons/avatar_alan.jpg);
  background-size: cover;
  background-position: center;
}

.av-boss {
  background-image: url(icons/avatar_luye.jpg);
  background-size: cover;
  background-position: center;
}

.role-hat {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.hat-landlord {
  background: linear-gradient(90deg, #ffe299, #cf9432);
  color: #1f1302;
}

.hat-farmer {
  background: #1f5c43;
  border: 1px solid #78d6ad;
  color: #e2fff1;
}

.ddz-rival-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-counter {
  font-size: 12px;
  color: var(--gold-bright);
  font-weight: 700;
}

.card-counter.is-danger {
  color: #ff7a85;
  animation: pulseWarn 0.8s infinite alternate;
}

@keyframes pulseWarn {
  from { opacity: 0.7; }
  to { opacity: 1; text-shadow: 0 0 8px #ff5463; }
}

.ddz-desk-slot {
  min-width: 120px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ddz-hero-desk {
  min-height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ddz-played-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ddz-mini-fan {
  display: flex;
  justify-content: center;
}

.ddz-table-card {
  --cw: 50px;
  --ch: 72px;
}

.ddz-mini-fan .real-card + .real-card {
  margin-left: -22px;
}

.ddz-reveal-card {
  --cw: 36px;
  --ch: 52px;
}

.ddz-combo-tag {
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffe299;
  font-size: 11px;
  font-weight: 700;
}

.ddz-pass-pill {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 17, 0.82);
  border: 1px solid rgba(212, 178, 119, 0.3);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
}

.ddz-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  align-items: center;
  flex-wrap: wrap;
}

.ddz-hero-area {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ddz-hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.ddz-hand-fan {
  display: flex;
  justify-content: center;
  padding: 16px 12px 4px;
  max-width: 100%;
  overflow-x: auto;
  touch-action: none;
}

.ddz-card-hit {
  cursor: pointer;
}

.ddz-card-hit + .ddz-card-hit {
  margin-left: -25px;
}

.ddz-hero-card {
  --cw: 66px;
  --ch: 94px;
}

/* =========================================================
   2. 8-BALL POOL (俱乐部黑八台球)
   ========================================================= */
.pool-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pool-player-pill {
  flex: 1;
  min-width: 220px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(9, 17, 14, 0.84);
  border: 1.5px solid rgba(212, 178, 119, 0.24);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pool-player-pill.is-active {
  border-color: #ffe299;
  box-shadow: 0 0 18px rgba(255, 226, 153, 0.28);
}

.pool-balls-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.pool-ball-chip {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.35);
}

.pool-vs {
  font: 800 14px var(--font-display);
  color: var(--gold);
}

.pool-arena-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 12px;
  align-items: stretch;
}

.pool-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pool-canvas {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 820 / 450;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.78);
  cursor: pointer;
  touch-action: none;
}

/* Miniclip-style Vertical Spring Pull-Cue Chute */
.cue-chute-box {
  border-radius: 18px;
  background: rgba(8, 15, 12, 0.88);
  border: 1.5px solid var(--gold-line);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  touch-action: none;
}

.chute-label {
  font-size: 10.5px;
  color: var(--gold);
  font-weight: 700;
}

.cue-chute {
  position: relative;
  width: 34px;
  height: 235px;
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 12px), #050a08;
  border: 1px solid rgba(212, 178, 119, 0.35);
  overflow: hidden;
  cursor: grab;
}

.cue-chute-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0%;
  background: linear-gradient(180deg, rgba(94, 214, 158, 0.35), rgba(242, 168, 59, 0.65), rgba(214, 52, 66, 0.75));
  pointer-events: none;
}

.cue-stick-handle {
  position: relative;
  width: 10px;
  height: 68px;
  margin: 8px auto 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #e7c58e 0%, #c99c58 45%, #381d0e 45%, #241106 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.cue-stick-handle .handle-tip {
  display: block;
  width: 10px;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: #3aa3eb;
}

.chute-pct {
  font-size: 12px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.pool-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(9, 16, 13, 0.82);
  border: 1px solid var(--gold-line);
  flex-wrap: wrap;
}

.pool-aim-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.pool-key-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-soft);
}

.pool-key-hint code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(212, 178, 119, 0.16);
  color: var(--gold-bright);
}

.pool-power-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#pool-power {
  width: 160px;
  accent-color: #e6be73;
}

/* =========================================================
   3. CURVED VIP BLACKJACK WITH DEALER ANNE
   ========================================================= */
.bj-semicircle-table {
  position: relative;
  border-radius: 28px 28px 180px 180px;
  padding: 16px 22px 28px;
  background: radial-gradient(ellipse at 50% 25%, #1f6147 0%, #11392a 62%, #081f16 100%);
  border: 8px solid #2c1910;
  box-shadow: inset 0 0 0 2px rgba(212, 178, 119, 0.4), inset 0 14px 36px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.bj-shoe-prop, .bj-discard-prop {
  position: absolute;
  top: 18px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d7b16d, #7c5c28);
  border: 1px solid #fbe5b6;
  color: #1d1304;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}
.bj-shoe-prop { right: 24px; transform: rotate(14deg); }
.bj-discard-prop { left: 24px; transform: rotate(-14deg); background: rgba(12, 24, 19, 0.78); color: var(--gold); border-color: var(--gold-line); }

.bj-dealer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bj-anne-pic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.bj-anne-bubble {
  padding: 6px 14px;
  border-radius: 14px;
  background: rgba(7, 16, 12, 0.86);
  border: 1px solid var(--gold-line);
  max-width: 380px;
}
.bj-anne-bubble strong { font-size: 11.5px; color: var(--gold); }
.bj-anne-bubble p { margin: 2px 0 0; font-size: 13px; color: var(--text); }

.bj-dealer-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 128px;
  min-height: 128px;
  max-height: 128px;
  justify-content: center;
}

.bj-player-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 132px;
  min-height: 132px;
  max-height: 132px;
  justify-content: center;
}

.bj-controls-dock {
  height: 62px;
  min-height: 62px;
  max-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.bj-controls-dock .chip-rack {
  margin: 0;
}

.bj-card-fan {
  display: flex;
  justify-content: center;
}
.bj-card-fan .real-card + .real-card {
  margin-left: -18px;
}

.bj-arc-svg {
  width: min(680px, 96%);
  height: 68px;
  margin: -6px 0;
}

.bj-bet-circle {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 2px dashed rgba(243, 218, 169, 0.65);
  background: radial-gradient(circle, rgba(243, 218, 169, 0.12), rgba(7, 18, 14, 0.55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 2px;
}
.bj-bet-circle strong { color: var(--gold-bright); font-size: 14px; }
.bj-bet-circle small { font-size: 10.5px; color: var(--text-muted); }

.bet-circle-stack {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 2px;
}
.mini-clay {
  width: 24px;
  height: 9px;
  border-radius: 50%;
  margin-top: -5px;
  border: 1.5px dashed rgba(255, 255, 255, 0.82);
}
.mini-clay:first-child { margin-top: 0; }

.bj-bet-spot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(7, 16, 12, 0.86);
  border: 1px solid var(--gold-strong);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--gold-bright);
}

.bj-hands-wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.bj-hand-box { padding: 8px 12px; border-radius: 14px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bj-hand-box.active-split { border-color: var(--gold-bright); background: rgba(243, 218, 169, 0.1); }
.bj-score-pill { padding: 2px 11px; border-radius: 999px; background: rgba(7, 15, 12, 0.85); border: 1px solid var(--gold-strong); font-size: 12px; font-weight: 700; color: var(--gold-bright); }
.bj-score-pill.is-bust { background: rgba(145, 26, 38, 0.88); border-color: #ff8c97; color: #ffe0e3; }
.bj-score-pill.is-bj { background: linear-gradient(90deg, #ffe299, #cf9432); color: #1d1202; }
.bj-empty-hint { color: rgba(243, 218, 169, 0.45); font-size: 12.5px; }
.bj-actions { display: flex; justify-content: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* =========================================================
   4. CLASSIC ARCADE "LITTLE MARY" (街机大满贯 · 小玛丽)
   ========================================================= */
.mary-cabinet {
  display: grid;
  grid-template-columns: minmax(540px, 1.02fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 7, 10, 0.36) 0%, rgba(8, 6, 9, 0.78) 100%),
    url('bg-vegas-slot-floor.jpg?v=58') center center / cover no-repeat;
  border: 2px solid rgba(235, 190, 96, 0.55);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 242, 200, 0.25);
}

.mary-board-7x7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(7, 70px);
  gap: 6px;
  padding: 13px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #2b1510 0%, #140908 48%, #24110c 100%);
  border: 4px solid #d4a656;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.92),
    0 0 0 2px #3b1c0a,
    inset 0 2px 3px rgba(255, 245, 210, 0.55),
    inset 0 0 28px rgba(0, 0, 0, 0.95);
}

.mary-board-7x7.jackpot-strobe .mary-lamp {
  animation: lampStrobe 0.24s infinite alternate;
}

@keyframes lampStrobe {
  from { border-color: rgba(255, 224, 158, 0.3); }
  to { border-color: #ffe484; box-shadow: 0 0 14px rgba(255, 212, 74, 0.65); }
}

.mary-lamp {
  position: relative;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 42%, #2b2236 0%, #14101a 100%);
  border: 1.5px solid rgba(255, 224, 158, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.mary-lamp.is-lucky {
  background: radial-gradient(circle, #59310e 0%, #241103 100%);
  border-color: #f5b342;
}

.mary-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.mary-icon img,
.mary-reel-cell img,
.mbtn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.mary-badge {
  margin-top: -2px;
  font-size: 11.5px;
  font-weight: 900;
  color: #ffe4a3;
  line-height: 1;
  text-shadow: 0 1px 3px #000;
}

.mary-lamp.is-lit {
  background: radial-gradient(circle, #fff8d6 0%, #ffca47 68%, #c9780e 100%);
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 214, 92, 0.98), inset 0 0 8px #ffffff;
  transform: scale(1.08);
  z-index: 3;
}

.mary-lamp.is-lit .mary-badge {
  color: #290e00;
  text-shadow: none;
}

.mary-center {
  grid-area: 2 / 2 / 7 / 7;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 48%, rgba(212, 166, 86, 0.14) 0%, #211524 55%, #0d0a10 100%);
  border: 2px solid rgba(212, 178, 119, 0.42);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.led-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
}

.led-box {
  padding: 7px 11px;
  border-radius: 9px;
  background: #080305;
  border: 1.5px solid #6b2d35;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.led-box span {
  font-size: 11px;
  font-weight: 900;
  color: #e6aa5c;
  flex-shrink: 0;
}

.led-box strong, .led-mini {
  font-family: "Courier New", monospace;
  font-weight: 900;
  color: #ff424e;
  text-shadow: 0 0 8px rgba(255, 59, 71, 0.75);
  letter-spacing: 0.04em;
}
.led-box strong {
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mary-reels {
  display: grid;
  grid-template-columns: repeat(3, 108px);
  gap: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #94a3b8 28%, #334155 52%, #e2e8f0 85%, #475569 100%);
  border: 2px solid #1e293b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9), inset 0 2px 1px #ffffff;
}

.mary-reel-cell {
  height: 112px;
  border-radius: 8px;
  background: linear-gradient(180deg, #17130e 0%, #948977 14%, #f8f4e8 40%, #ffffff 50%, #f5efe0 60%, #8f8472 86%, #14100c 100%);
  border: 1.5px solid #334155;
  display: grid;
  place-items: center;
  padding: 10px;
  box-shadow: inset 0 14px 16px rgba(0, 0, 0, 0.65), inset 0 -14px 16px rgba(0, 0, 0, 0.65);
}

.mary-reel-cell.is-triple {
  background: linear-gradient(180deg, #291805 0%, #d99b26 18%, #fffbeb 50%, #d99b26 82%, #291805 100%);
  border-color: #fde047;
  box-shadow: 0 0 20px rgba(255, 212, 84, 0.88), inset 0 10px 14px rgba(0,0,0,0.45), inset 0 -10px 14px rgba(0,0,0,0.45);
}

.mary-reels.is-spinning .mary-reel-cell img {
  filter: blur(1.8px) brightness(1.12);
  transform: translateY(4px) scale(0.9);
}

.mary-brand-plate {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #ffe49c;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 216, 117, 0.08);
  border: 1px solid rgba(255, 216, 117, 0.25);
}

.mary-gamble-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mary-gb-btn {
  padding: 8px 13px;
  border-radius: 9px;
  background: #781924;
  border: 1.5px solid #ff9ca6;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.mary-console {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 28, 23, 0.94), rgba(8, 14, 11, 0.98));
  border: 2px solid rgba(212, 178, 119, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.14), 0 16px 38px rgba(0, 0, 0, 0.7);
}

.mary-8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}

.mary-bet-wrap {
  position: relative;
  display: flex;
}

.mary-zero-btn {
  position: absolute;
  top: -6px;
  right: -5px;
  z-index: 4;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #ff9aa4;
  background: #7f1d1d;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.mary-bet-btn {
  width: 100%;
  padding: 10px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1b2a23, #0e1713);
  border: 1.5px solid rgba(212, 178, 119, 0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--text);
}

.mary-bet-btn.has-bet {
  border-color: #ffd875;
  background: linear-gradient(180deg, #2d4536, #14221a);
  box-shadow: 0 0 16px rgba(255, 216, 117, 0.28);
}

.led-mini {
  display: block;
  width: 100%;
  padding: 4px 6px;
  border-radius: 6px;
  background: #090405;
  border: 1px solid rgba(255, 92, 108, 0.24);
  font-size: 15px;
  text-align: center;
}

.mbtn-icon { width: 66px; height: 66px; }
.mbtn-name { font-size: 14.5px; font-weight: 800; color: #f6efe0; }
.mary-bet-btn small { font-size: 13px; color: #ffe28a; font-weight: 900; }

.mary-bar-bottom {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mary-chip-group {
  display: grid;
  grid-template-columns: auto repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
}
.mary-chip-group .util-btn {
  padding: 9px 8px;
  text-align: center;
}
@media (max-width: 720px) {
  .mary-chip-group { grid-template-columns: repeat(3, 1fr); }
}

.mary-pace-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pace-seg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 11px;
  background: rgba(8, 14, 12, 0.85);
  border: 1.5px solid rgba(212, 178, 119, 0.3);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.pace-pill {
  padding: 5px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 800;
}

.pace-pill.is-active {
  background: rgba(243, 218, 169, 0.24);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.mary-cta-row {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 12px;
}

.mary-auto-btn {
  padding: 13px 14px;
  min-height: 52px;
  border-radius: 13px;
  border: 1.5px solid var(--gold-strong);
  background: rgba(20, 48, 36, 0.92);
  color: var(--gold-bright);
  font-weight: 900;
  font-size: 14.5px;
  white-space: nowrap;
}

.mary-auto-btn.is-on {
  background: linear-gradient(180deg, #f0b93c 0%, #bd7a0d 100%);
  border-color: #fff4c9;
  color: #1c1000;
  box-shadow: 0 0 20px rgba(240, 185, 60, 0.55);
}

.mary-start-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 13px;
  border: 2px solid #ffe7a8;
  background: linear-gradient(180deg, #ff5447 0%, #bd1522 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 17.5px;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 22px rgba(189, 21, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.mary-start-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* =========================================================
   FULL-SCREEN JACKPOT & BIG WIN CELEBRATION OVERLAY
   (Styled dynamically via jackpot-fx.js VIP Goddess Plaque)
   ========================================================= */

/* =========================================================
   5. ROYAL ZHA JIN HUA (皇家炸金花 · 赢三张)
   ========================================================= */
.zjh-arena {
  position: relative;
  border-radius: 24px;
  padding: 18px 22px 22px;
  background:
    linear-gradient(180deg,
      rgba(6, 12, 9, 0.22) 0%,
      rgba(9, 32, 23, 0.76) 36%,
      rgba(14, 62, 44, 0.94) 62%,
      rgba(7, 29, 20, 0.98) 100%),
    url('bg-live-dealer-vip.jpg?v=58') center top / cover no-repeat;
  border: 5px solid #4a2612;
  box-shadow:
    0 0 0 1.5px rgba(242, 202, 118, 0.62),
    inset 0 0 0 2px rgba(242, 202, 118, 0.38),
    inset 0 14px 36px rgba(0, 0, 0, 0.65),
    0 24px 56px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zjh-pot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zjh-pot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(6, 15, 11, 0.88);
  border: 1.5px solid var(--gold-bright);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  font-size: 13.5px;
}

.zjh-pot-pill strong {
  color: #ffe28a;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.zjh-opps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.zjh-hero-row {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.zjh-seat {
  position: relative;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(7, 17, 13, 0.72);
  border: 1.5px solid rgba(212, 178, 119, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease;
}

.zjh-hero {
  min-width: min(420px, 100%);
  background: rgba(7, 17, 13, 0.86);
}

.zjh-seat.is-out {
  opacity: 0.42;
  filter: grayscale(0.5);
}

.zjh-seat.is-turn {
  border-color: #ffe299;
  box-shadow: 0 0 24px rgba(255, 226, 153, 0.38);
}

.zjh-seat.pk-target {
  cursor: pointer;
  border-color: #ff9c42;
  box-shadow: 0 0 24px rgba(255, 156, 66, 0.5);
  animation: pkPulse 0.7s infinite alternate;
}

@keyframes pkPulse {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

.zjh-seat-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
}

.zjh-av-hero { background-image: url(../texas/hero.jpg); background-size: 145%; background-position: center 18%; }
.zjh-av-alan { background-image: url(icons/avatar_alan.jpg); background-size: cover; background-position: center; }
.zjh-av-boss { background-image: url(icons/avatar_luye.jpg); background-size: cover; background-position: center; }
.zjh-av-zhou { background-image: url(../texas/players.jpg); background-size: 200% 100%; background-position: right center; }

.zjh-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.zjh-meta strong { font-size: 13.5px; color: #fff; }
.zjh-meta small { font-size: 11px; color: #e2cda0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.zjh-seen-tag, .zjh-blind-tag, .zjh-type-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.zjh-seen-tag { background: rgba(242, 198, 109, 0.2); border: 1px solid #e6be6e; color: #ffe4a3; }
.zjh-blind-tag { background: rgba(34, 92, 68, 0.5); border: 1px solid #6ad1a6; color: #c7f7e2; }
.zjh-type-pill { background: linear-gradient(90deg, #f5dca8, #ca9640); color: #1f1200; }

.zjh-cards-fan {
  display: flex;
  justify-content: center;
}
.zjh-cards-fan .zjh-card {
  --cw: 52px;
  --ch: 74px;
}
.zjh-cards-fan.is-hero-fan .zjh-card {
  --cw: 72px;
  --ch: 102px;
}
.zjh-cards-fan .real-card + .real-card {
  margin-left: -14px;
}
.zjh-cards-fan .real-card:first-child { transform: rotate(-6deg); }
.zjh-cards-fan .real-card:last-child { transform: rotate(6deg); }

.zjh-pk-pick {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 5px 14px !important;
  font-size: 12px !important;
  white-space: nowrap;
}

/* =========================================================
   6. 3D FOREST DANCE JUNGLE WHEEL (丛林大转盘 · 森林舞会)
   ========================================================= */
.fw-pedestal {
  position: relative;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 45%, #1d2b24 0%, #0d1511 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.fw-pedestal.fw-col-red { border-bottom: 3.5px solid #e63244; }
.fw-pedestal.fw-col-green { border-bottom: 3.5px solid #29cc82; }
.fw-pedestal.fw-col-yellow { border-bottom: 3.5px solid #f5b82e; }

.fw-gem-dot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.fw-col-red .fw-gem-dot { background: #ff4759; box-shadow: 0 0 6px #ff4759; }
.fw-col-green .fw-gem-dot { background: #36e898; box-shadow: 0 0 6px #36e898; }
.fw-col-yellow .fw-gem-dot { background: #ffd24c; box-shadow: 0 0 6px #ffd24c; }

.fw-head {
  width: 44px;
  height: 44px;
}
.fw-head img, .fw-spot-img img, .fw-pad-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.fw-pedestal.is-lit {
  background: radial-gradient(circle, #fff9db 0%, #ffcf52 68%, #c97a10 100%);
  border-color: #ffffff !important;
  box-shadow: 0 0 24px rgba(255, 214, 88, 0.98);
  transform: scale(1.09);
  z-index: 4;
}

.fw-center-hub {
  background: radial-gradient(circle, #183628 0%, #09140f 100%);
}

.fw-spotlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 16px;
  background: rgba(6, 14, 10, 0.85);
  border: 2px solid #d9a84e;
}
.fw-spot-red { border-color: #ff5465; box-shadow: 0 0 20px rgba(255, 71, 89, 0.35); }
.fw-spot-green { border-color: #36e898; box-shadow: 0 0 20px rgba(54, 232, 152, 0.35); }
.fw-spot-yellow { border-color: #ffd24c; box-shadow: 0 0 20px rgba(255, 210, 76, 0.35); }

.fw-spot-img {
  width: 72px;
  height: 72px;
}

.fw-spot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fw-spot-info strong {
  font: 800 18px/1.15 var(--font-display);
  color: #fff3cf;
}
.fw-mode-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(243, 218, 169, 0.16);
  color: #ffd875;
  font-size: 10.5px;
  font-weight: 800;
}

.fw-side-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.fw-side-btn {
  width: 100%;
  min-height: 50px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(12, 22, 18, 0.92);
  border: 1.5px solid rgba(212, 178, 119, 0.34);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text);
}

.fw-12-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  flex: 1;
}

.fw-pad-btn {
  width: 100%;
  padding: 9px 8px;
  border-radius: 13px;
  background: linear-gradient(180deg, #192b22, #0f1b15);
  border: 1.5px solid rgba(212, 178, 119, 0.34);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.fw-pad-btn:hover, .fw-side-btn:hover {
  border-color: #ffe28f;
  background: linear-gradient(180deg, #254032, #14261d);
  transform: translateY(-1px);
}

.fw-pad-btn:active, .fw-side-btn:active {
  transform: scale(0.97);
}

.fw-pad-btn.fw-col-red, .fw-side-btn.fw-col-red { border-left: 4px solid #ef3347; }
.fw-pad-btn.fw-col-green, .fw-side-btn.fw-col-green { border-left: 4px solid #25cf80; }
.fw-pad-btn.fw-col-yellow, .fw-side-btn.fw-col-yellow { border-left: 4px solid #f5bc2e; }

.fw-pad-btn.has-bet, .fw-side-btn.has-bet {
  border-color: #ffd978;
  background: linear-gradient(180deg, #2d4737, #15261d);
  box-shadow: 0 0 12px rgba(255, 217, 120, 0.22);
}

.fw-pad-btn.has-bet .led-mini, .fw-side-btn.has-bet .led-mini {
  color: #ffe47a;
  text-shadow: 0 0 8px rgba(255, 218, 92, 0.8);
}

.fw-pad-btn.just-bet, .fw-side-btn.just-bet {
  animation: fwBetBounce 0.28s cubic-bezier(0.2, 1.4, 0.4, 1);
  border-color: #ffffff;
}

@keyframes fwBetBounce {
  0% { transform: scale(0.95); }
  55% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 224, 112, 0.75); }
  100% { transform: scale(1); }
}

.mary-start-btn.is-cancel-rebet {
  background: linear-gradient(180deg, #d9881c 0%, #874b06 100%);
  border-color: #fff0b8;
  box-shadow: 0 8px 22px rgba(217, 136, 28, 0.45);
}

.fw-pad-btn.win-pad, .fw-side-btn.win-pad {
  background: linear-gradient(180deg, rgba(224, 172, 62, 0.52), rgba(24, 58, 42, 0.95));
  border-color: #fff0b3;
  box-shadow: 0 0 18px rgba(255, 220, 115, 0.65);
}

.fw-pad-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.fw-pad-ico { width: 44px; height: 44px; flex-shrink: 0; }
.fw-pad-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.fw-pad-txt b { font-size: 13.5px; }
.fw-pad-txt small { font-size: 12.5px; color: #ffd875; font-weight: 900; }

/* =========================================================
   7. TRUE 3D CAROUSEL STAGE FOR FOREST DANCE & OLYMPUS 6x5 SLOT
   ========================================================= */
.fw-3d-layout {
  grid-template-columns: minmax(610px, 1.08fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.fw-3d-viewport {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #d9a94e;
  background: #06120d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85), inset 0 0 28px rgba(0, 0, 0, 0.8);
}

.fw-3d-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 540 / 472;
  cursor: pointer;
}

.fw-3d-led-overlay {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  pointer-events: none;
}

.fw-front-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(6, 15, 11, 0.82);
  border: 1px solid rgba(255, 218, 117, 0.45);
  color: #ffe28a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* EUROPEAN 6x5 GATES OF OLYMPUS SLOT */
.oly-wrapper {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(88, 52, 148, 0.42), transparent 68%),
    linear-gradient(180deg, #161126 0%, #0b0814 100%);
  border: 2px solid rgba(236, 194, 108, 0.55);
}

.oly-wrapper.is-freespins {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(196, 62, 40, 0.48), rgba(74, 24, 128, 0.45) 55%, #090512 100%);
  border-color: #ffe278;
  box-shadow: 0 0 36px rgba(255, 196, 68, 0.35);
}

.oly-left-panel, .oly-zeus-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oly-buy-box {
  padding: 10px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #6b1b29 0%, #380b14 100%);
  border: 2px solid #ffd875;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}
.buy-kicker { font-size: 9.5px; letter-spacing: 0.16em; color: #ffd875; font-weight: 900; }
.oly-buy-box strong { font-size: 13px; }
.oly-buy-box b { font-size: 17px; color: #ffe47a; font-variant-numeric: tabular-nums; }
.oly-buy-box small { font-size: 10px; color: #e8c7cc; }

.oly-ante-box {
  padding: 8px;
  border-radius: 12px;
  background: rgba(20, 32, 46, 0.85);
  border: 1.5px solid rgba(132, 190, 255, 0.35);
  color: #dcecff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
}
.oly-ante-box.is-on {
  background: linear-gradient(180deg, #1b5c42, #0e3324);
  border-color: #72f2b8;
}
.oly-ante-box b { color: #ffd875; font-size: 11.5px; }

.oly-tumble-box {
  flex: 1;
  padding: 9px;
  border-radius: 13px;
  background: rgba(8, 6, 16, 0.78);
  border: 1px solid rgba(236, 194, 108, 0.28);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tumble-head {
  font-size: 11px;
  font-weight: 800;
  color: #f3d285;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fs-mult-orb {
  padding: 5px 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #7a2299, #310b47);
  border: 1.5px solid #ffd875;
  text-align: center;
  font-size: 11.5px;
  color: #fff;
}
.fs-mult-orb strong { color: #ffe47a; font-size: 15px; }
.tumble-list { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; }
.tumble-row { display: flex; justify-content: space-between; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.tumble-row strong { color: #ffd875; }
.tumble-empty { font-size: 11px; color: #8f88a3; text-align: center; padding: 12px 4px; line-height: 1.45; }

/* 6x5 Marble & Gold Temple Frame */
.oly-temple-frame {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b213d 0%, #140e21 100%);
  border: 3px solid #e3b459;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.85), 0 12px 30px rgba(0, 0, 0, 0.65);
}

.oly-temple-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 12px 8px;
  font-size: 12px;
  color: #dfd4f5;
}
.oly-temple-banner strong { color: #ffe27a; font-size: 13.5px; }

.oly-grid-stage {
  position: relative;
}

.oly-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

.oly-grid-6x5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  background: rgba(7, 5, 14, 0.82);
  padding: 7px;
  border-radius: 11px;
  border: 1px solid rgba(243, 212, 142, 0.25);
}

.oly-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 418px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

/* Phase 1: Old symbols drop downward out of column */
.oly-col.is-drop-out .oly-cell {
  transform: translateY(350px);
  opacity: 0;
  transition: transform 0.19s ease-in, opacity 0.17s ease-in;
}

/* Phase 2: High-speed blurred vertical reel strip */
.oly-col.is-spinning {
  background: linear-gradient(180deg, rgba(16, 11, 30, 0.95), rgba(44, 31, 78, 0.68), rgba(16, 11, 30, 0.95));
  box-shadow: inset 0 14px 18px rgba(0, 0, 0, 0.82), inset 0 -14px 18px rgba(0, 0, 0, 0.82);
}

/* Phase 3: Scatter Tease blazing golden-cyan electric slow-roll! */
.oly-col.is-teasing {
  background: linear-gradient(180deg, rgba(68, 42, 10, 0.92), rgba(128, 78, 16, 0.65), rgba(24, 52, 88, 0.88));
  outline: 2px solid #ffe47a;
  box-shadow:
    inset 0 0 20px rgba(255, 218, 92, 0.85),
    0 0 18px rgba(96, 212, 255, 0.85);
  z-index: 3;
}

.oly-spin-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
  animation: olyReelSpin 0.26s linear infinite;
}

.oly-col.is-teasing .oly-spin-track {
  animation-duration: 0.17s;
}

@keyframes olyReelSpin {
  from { transform: translateY(-50%); }
  to { transform: translateY(0%); }
}

.oly-blur-sym {
  height: 70px;
  padding-bottom: 6px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: blur(2.1px) brightness(1.18);
}

.oly-blur-sym img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transform: scaleY(1.24);
  opacity: 0.92;
}

/* Column slam mechanical bounce */
.oly-col.is-slammed .oly-cell {
  animation: colSlamBounce 0.22s cubic-bezier(0.22, 1.38, 0.5, 1);
}

@keyframes colSlamBounce {
  0% { transform: translateY(-28px); opacity: 0.65; }
  68% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.oly-cell {
  position: relative;
  height: 78px;
  flex-shrink: 0;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 42%, rgba(56, 44, 84, 0.65), rgba(18, 13, 30, 0.92));
  border: 1px solid rgba(255, 232, 178, 0.16);
  display: grid;
  place-items: center;
  padding: 5px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.oly-cell.is-scatter {
  border-color: rgba(255, 222, 112, 0.72);
  box-shadow: inset 0 0 14px rgba(255, 206, 72, 0.35);
}

.oly-cell img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.72));
}

/* Phase 4: Electrified gems locked in the crackling lightning chain! */
.oly-cell.electrified {
  border-color: #fff8c4;
  background: radial-gradient(circle, rgba(255, 236, 138, 0.58) 0%, rgba(68, 156, 255, 0.42) 68%, rgba(22, 14, 42, 0.95) 100%);
  box-shadow: 0 0 22px rgba(255, 224, 102, 0.92), inset 0 0 10px #ffffff;
  transform: scale(1.07);
  z-index: 4;
  animation: gemElectrifyJitter 0.12s infinite alternate;
}

@keyframes gemElectrifyJitter {
  from { transform: scale(1.06) translate(-1px, 0.5px); }
  to { transform: scale(1.09) translate(1px, -0.5px); }
}

.oly-cell.drop-in,
.oly-cell.cascade-new {
  animation: olyDrop 0.28s cubic-bezier(0.2, 1.18, 0.4, 1);
}

.oly-cell.gravity-drop {
  animation: olyGravDrop 0.22s cubic-bezier(0.25, 1.25, 0.5, 1);
}

@keyframes olyDrop {
  from { opacity: 0; transform: translateY(-34px) scale(0.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes olyGravDrop {
  from { transform: translateY(-20px); }
  to { transform: translateY(0); }
}

.oly-cell.shatter {
  background: radial-gradient(circle, #fff8c4 0%, #ffb830 60%, transparent 100%);
  border-color: #ffffff;
  animation: olyShatter 0.36s ease-out forwards;
}
@keyframes olyShatter {
  0% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(0.2); opacity: 0; }
}

.oly-cell.orb-strike, .oly-cell.orb-pulse {
  border-color: #fff2a6;
  box-shadow: 0 0 22px rgba(255, 216, 92, 0.9);
  transform: scale(1.08);
  z-index: 3;
}

.oly-scat-tag {
  position: absolute;
  bottom: 1px;
  padding: 0 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffe27a, #e09119);
  color: #240c00;
  font-size: 8.5px;
  font-weight: 900;
}

/* Winged Multiplier Orbs (2x ~ 500x) */
.oly-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid #fff4bd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 222, 112, 0.65), inset 0 2px 6px rgba(255, 255, 255, 0.65);
}
.orb-green { background: radial-gradient(circle at 35% 30%, #8ff7b8, #147a42 75%); }
.orb-blue { background: radial-gradient(circle at 35% 30%, #99e2ff, #1454a8 75%); }
.orb-purple { background: radial-gradient(circle at 35% 30%, #eab0ff, #6b1ba1 75%); }
.orb-red { background: radial-gradient(circle at 35% 30%, #ffad99, #b51828 75%); }
.orb-gold { background: radial-gradient(circle at 35% 30%, #ffffff, #f2aa18 68%, #8c4800 100%); }

.orb-wings { font-size: 9px; line-height: 1; color: #fff8d6; }
.oly-orb strong {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 4px #000, 0 0 6px rgba(0, 0, 0, 0.85);
}

.oly-lightning-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

/* Zeus Character Card */
.oly-zeus-card {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(236, 194, 108, 0.5);
  background: #120d21;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 250px;
}

.zeus-art {
  position: absolute;
  inset: 0;
  background-image: url(art-olympus.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 46% center;
  animation: zeusFloat 3.2s ease-in-out infinite alternate;
}

@keyframes zeusFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-6px) scale(1.03); }
}

.oly-zeus-card.is-striking {
  border-color: #ffffff;
  box-shadow: 0 0 32px rgba(145, 220, 255, 0.95);
}
.oly-zeus-card.is-striking .zeus-art {
  filter: brightness(1.38) contrast(1.15);
}

.zeus-caption {
  position: relative;
  z-index: 2;
  padding: 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(9, 6, 18, 0.96) 38%);
  text-align: center;
}
.zeus-caption strong { display: block; font-size: 13px; color: #ffe48f; }
.zeus-caption small { font-size: 10.5px; color: #cfc6e6; }

.oly-pay-mini {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(8, 6, 16, 0.78);
  border: 1px solid rgba(236, 194, 108, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
  font-size: 11px;
  color: #bdb4d4;
}
.oly-pay-mini div { display: flex; justify-content: space-between; }
.oly-pay-mini b { color: #ffd875; }

.oly-bottom-bar {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(9, 14, 12, 0.88);
  border: 1px solid var(--gold-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .fw-3d-layout, .oly-wrapper { grid-template-columns: 1fr; }
  .oly-zeus-card { min-height: 160px; }
}

@media (max-width: 820px) {
  .zjh-opps-row { grid-template-columns: 1fr; }
  .fw-12-grid { grid-template-columns: repeat(2, 1fr); }
  .card-entry { grid-column: span 12; }
  .mary-cabinet { grid-template-columns: 1fr; }
  .mary-board-7x7 { max-width: 440px; margin: 0 auto; width: 100%; }
  .bj-shoe-prop, .bj-discard-prop { display: none; }
}
