.ugfx-game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.ugfx-game-board-wrap {
  border: 1px solid rgba(255, 173, 96, 0.25);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 154, 31, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(18, 15, 18, 0.96), rgba(10, 10, 14, 0.96));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.ugfx-mahjong-board {
  position: relative;
  min-height: 620px;
  width: 100%;
}

.ugfx-mahjong-tile {
  --tile-w: 54px;
  --tile-h: 70px;
  position: absolute;
  width: var(--tile-w);
  height: var(--tile-h);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 1.75rem;
  font-weight: 700;
  color: #17223b;
  background: linear-gradient(180deg, #fffdf7 0%, #f4eee2 100%);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(35, 35, 35, 0.24),
    inset -2px -2px 0 rgba(210, 198, 170, 0.42),
    inset 2px 2px 0 rgba(255, 255, 255, 0.9);
  transform: translate3d(0, 0, 0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, opacity 0.2s ease;
}

.ugfx-mahjong-tile::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.ugfx-mahjong-tile:hover,
.ugfx-mahjong-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(55, 45, 25, 0.35),
    inset -2px -2px 0 rgba(210, 198, 170, 0.42),
    inset 2px 2px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.ugfx-mahjong-tile.locked {
  cursor: not-allowed;
  filter: grayscale(0.25) brightness(0.85);
}

.ugfx-mahjong-tile.selected {
  box-shadow:
    0 0 0 2px rgba(255, 129, 42, 0.95),
    0 12px 22px rgba(0, 0, 0, 0.34),
    inset -2px -2px 0 rgba(210, 198, 170, 0.42),
    inset 2px 2px 0 rgba(255, 255, 255, 0.9);
}

.ugfx-mahjong-tile.hint {
  animation: ugfxMahjongHint 0.95s ease-in-out 2;
}

.ugfx-mahjong-tile.removed {
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
}

@keyframes ugfxMahjongHint {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,.24), 0 8px 16px rgba(0,0,0,.28); }
  50% { box-shadow: 0 0 0 2px rgba(84, 217, 174, 1), 0 0 26px rgba(84, 217, 174, 0.55); }
}

.ugfx-game-side .ugfx-chip {
  margin-right: 0.35rem;
  margin-bottom: 0.45rem;
}

.ugfx-game-controls .btn {
  min-width: 120px;
}

.ugfx-game-status {
  min-height: 1.25rem;
}

@media (max-width: 1199px) {
  .ugfx-game-shell {
    grid-template-columns: 1fr;
  }
}

.ugfx-game-canvas {
  border: 1px solid rgba(255, 173, 96, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 16, 21, 0.94), rgba(9, 10, 14, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.35);
  padding: 1rem;
}

.ugfx-dice-suite-tabs {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ugfx-dice-mode-blurb {
  margin: 0 0 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 236, 210, 0.82);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 173, 96, 0.18);
}

.ugfx-dice-live-readout {
  min-height: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(120, 255, 200, 0.88);
}

#ugfxDiceSuite.ugfx-dice-suite--craps .ugfx-dice-mode-blurb {
  border-color: rgba(96, 200, 255, 0.28);
  background: rgba(20, 40, 56, 0.35);
}

#ugfxDiceSuite.ugfx-dice-suite--yahtzee .ugfx-dice-mode-blurb {
  border-color: rgba(255, 200, 120, 0.35);
  background: rgba(56, 40, 20, 0.32);
}

#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-dice-mode-blurb {
  border-color: rgba(200, 140, 255, 0.32);
  background: rgba(40, 28, 56, 0.35);
}

.ugfx-dice-stage {
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Craps: casino table uses two dice only — hide the spare DOM slots */
#ugfxDiceSuite.ugfx-dice-suite--craps .ugfx-dice-stage {
  min-height: 200px;
  gap: clamp(1.25rem, 4vw, 2.25rem);
}
#ugfxDiceSuite.ugfx-dice-suite--craps .ugfx-die:nth-child(n + 3) {
  display: none !important;
}
#ugfxDiceSuite.ugfx-dice-suite--craps .ugfx-die {
  width: 108px;
  height: 108px;
  font-size: 3rem;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Yahtzee: clear five-across rack */
#ugfxDiceSuite.ugfx-dice-suite--yahtzee .ugfx-dice-stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 86px));
  justify-content: center;
  gap: 0.55rem 0.45rem;
  min-height: 280px;
  align-content: center;
}
@media (max-width: 520px) {
  #ugfxDiceSuite.ugfx-dice-suite--yahtzee .ugfx-dice-stage {
    grid-template-columns: repeat(5, minmax(0, 58px));
  }
  #ugfxDiceSuite.ugfx-dice-suite--yahtzee .ugfx-die {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }
}

/* High Roller: fan / arc emphasis (still 5 dice) */
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-dice-stage {
  min-height: 270px;
  gap: 0.65rem 0.5rem;
  padding: 0.5rem 0.25rem 1rem;
  background: radial-gradient(ellipse 85% 70% at 50% 100%, rgba(180, 100, 255, 0.12), transparent 55%);
  border-radius: 20px;
  border: 1px dashed rgba(200, 140, 255, 0.2);
}
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die:nth-child(1) { transform: rotate(-8deg) translateY(4px); }
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die:nth-child(2) { transform: rotate(-4deg) translateY(2px); }
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die:nth-child(3) { transform: translateY(-2px); }
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die:nth-child(4) { transform: rotate(4deg) translateY(2px); }
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die:nth-child(5) { transform: rotate(8deg) translateY(4px); }
#ugfxDiceSuite.ugfx-dice-suite--highroller .ugfx-die.rolling {
  transform: none !important;
}

.ugfx-die {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, #fefefe 0%, #ececec 100%);
  color: #171717;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.8);
}

.ugfx-die.rolling { animation: ugfxDiceShake .45s linear infinite; }
@keyframes ugfxDiceShake {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(4deg) translateY(-2px); }
  50% { transform: rotate(0deg) translateY(0); }
  75% { transform: rotate(-4deg) translateY(2px); }
  100% { transform: rotate(0deg) translateY(0); }
}

.ugfx-memory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
}

.ugfx-memory-card {
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,124,42,.16), rgba(255,124,42,.08));
  color: #fff;
  font-size: 1.85rem;
  font-weight: 800;
}
.ugfx-memory-card:focus-visible {
  outline: 2px solid rgba(255, 200, 120, 0.95);
  outline-offset: 2px;
}

.ugfx-memory-card.revealed,
.ugfx-memory-card.matched {
  background: linear-gradient(180deg, #fefefe 0%, #efefef 100%);
  color: #1a1a1a;
}

.ugfx-card-table {
  min-height: 320px;
  border-radius: 16px;
  border: 1px solid rgba(255,194,116,.22);
  background:
    radial-gradient(circle at 50% 16%, rgba(255,200,128,.14), transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(49, 217, 164, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(8, 40, 33, 0.92), rgba(5, 22, 18, 0.96));
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 20px 40px rgba(0,0,0,.34);
}

/* Premium oval rail + felt (poker / blackjack) */
.ugfx-card-table--pro {
  min-height: 0;
  padding: 0.85rem 0.75rem 1rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 154, 31, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(12, 10, 14, 0.98), rgba(6, 7, 10, 1));
  border-color: rgba(255, 194, 116, 0.28);
}

.ugfx-pro-oval-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.ugfx-pro-oval-rail {
  position: relative;
  border-radius: 48% 48% 46% 46% / 36% 36% 40% 40%;
  padding: 12px 14px 14px;
  background:
    linear-gradient(155deg, #a0703d 0%, #6b4423 18%, #4a2c16 52%, #2c180c 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 230, 190, 0.22),
    inset 0 -12px 28px rgba(0, 0, 0, 0.5),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

.ugfx-pro-oval-rail::before {
  content: '';
  position: absolute;
  inset: 6px 8px 8px 8px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 210, 150, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.08);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 14px,
    rgba(0, 0, 0, 0.06) 14px 15px
  );
  opacity: 0.45;
  mix-blend-mode: multiply;
}

.ugfx-pro-oval-felt {
  position: relative;
  border-radius: inherit;
  min-height: 460px;
  padding: 1rem 1.15rem 1.85rem;
  border: 3px solid rgba(212, 175, 112, 0.55);
  box-shadow:
    inset 0 0 100px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background:
    radial-gradient(ellipse 78% 62% at 50% 44%, rgba(32, 118, 88, 0.98) 0%, rgba(14, 78, 58, 1) 48%, rgba(8, 48, 38, 1) 100%),
    repeating-linear-gradient(118deg, rgba(0, 0, 0, 0.035) 0px, rgba(0, 0, 0, 0.035) 1px, transparent 1px, transparent 7px);
}

.ugfx-pro-oval-felt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ugfx-pro-oval-felt--poker::after,
.ugfx-pro-oval-felt--blackjack::after,
.ugfx-pro-oval-felt--holdem::after,
.ugfx-pro-oval-felt--baccarat::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 10% 7% 14% 7%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 112, 0.18);
  pointer-events: none;
}

/* Dealer sits in document flow so HUD rows do not paint over the SVG. Flex order keeps branding above the pit. */
.ugfx-pro-felt-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: auto;
}
.ugfx-pro-felt-content > .ugfx-pro-table-topline {
  order: 1;
}
.ugfx-pro-felt-content > .ugfx-pro-dealer-bar {
  order: 2;
}
.ugfx-pro-felt-content > .ugfx-pro-dealer-backdrop {
  order: 3;
}
.ugfx-pro-felt-content > .ugfx-pro-stats-grid {
  order: 4;
  flex-shrink: 0;
}
.ugfx-pro-felt-content > .ugfx-pro-bj-zones,
.ugfx-pro-felt-content > .ugfx-pro-hand-grid,
.ugfx-pro-felt-content > .ugfx-pro-holdem-layout {
  order: 5;
  flex-shrink: 0;
}
.ugfx-pro-felt-content > .ugfx-pro-table-footnote {
  order: 6;
}

.ugfx-pro-dealer-backdrop {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: min(280px, 52vw);
  margin: 0 auto;
  padding: 0.15rem 0 0.2rem;
  z-index: 2;
  pointer-events: none;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-height: 4.5rem;
}

.ugfx-pro-dealer-caption {
  margin: 0.2rem 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 236, 210, 0.82);
  text-align: center;
  pointer-events: none;
}

.ugfx-pro-dealer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.ugfx-pro-dealer-img {
  width: min(200px, 42vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
  opacity: 0.97;
}

.ugfx-pro-chip-columns {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: -0.35rem;
}

.ugfx-pro-chip-stack {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 -7px 0 -1px rgba(0, 0, 0, 0.35),
    0 -14px 0 -1px rgba(0, 0, 0, 0.28),
    0 -21px 0 -1px rgba(0, 0, 0, 0.22);
}

.ugfx-pro-chip-stack--crimson {
  background: linear-gradient(180deg, #f06b6b, #a61e1e);
  box-shadow:
    0 -7px 0 -1px #c42a2a,
    0 -14px 0 -1px #e04545,
    0 -21px 0 -1px #f06b6b;
}

.ugfx-pro-chip-stack--emerald {
  background: linear-gradient(180deg, #5cdb9a, #1e7a52);
  box-shadow:
    0 -7px 0 -1px #2a9d62,
    0 -14px 0 -1px #42c07e,
    0 -21px 0 -1px #5cdb9a;
}

.ugfx-pro-chip-stack--sapphire {
  background: linear-gradient(180deg, #6ba8ff, #2a4a9e);
  box-shadow:
    0 -7px 0 -1px #3d62c4,
    0 -14px 0 -1px #5588e8,
    0 -21px 0 -1px #6ba8ff;
}

.ugfx-pro-chip-stack--gold {
  background: linear-gradient(180deg, #ffe08a, #c98a2c);
  box-shadow:
    0 -7px 0 -1px #d4a017,
    0 -14px 0 -1px #e8c04a,
    0 -21px 0 -1px #ffe08a;
}

.ugfx-pro-oval-felt--blackjack {
  background:
    radial-gradient(ellipse 76% 60% at 50% 42%, rgba(26, 102, 76, 0.99) 0%, rgba(12, 68, 50, 1) 50%, rgba(6, 42, 32, 1) 100%),
    repeating-linear-gradient(125deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 8px);
}

.ugfx-pro-oval-felt--holdem {
  background:
    radial-gradient(ellipse 76% 60% at 48% 40%, rgba(24, 95, 88, 0.99) 0%, rgba(10, 62, 58, 1) 52%, rgba(5, 38, 36, 1) 100%),
    repeating-linear-gradient(110deg, rgba(0, 0, 0, 0.038) 0px, rgba(0, 0, 0, 0.038) 1px, transparent 1px, transparent 7px);
}

.ugfx-pro-oval-felt--baccarat {
  background:
    radial-gradient(ellipse 74% 58% at 50% 44%, rgba(36, 28, 52, 0.97) 0%, rgba(18, 14, 32, 1) 55%, rgba(10, 8, 22, 1) 100%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(32, 88, 72, 0.35) 0%, transparent 70%),
    repeating-linear-gradient(122deg, rgba(0, 0, 0, 0.045) 0px, rgba(0, 0, 0, 0.045) 1px, transparent 1px, transparent 8px);
}

.ugfx-pro-casino-frame {
  border-radius: 20px;
  border: 1px solid rgba(255, 194, 116, 0.28);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 154, 31, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(12, 10, 14, 0.98), rgba(6, 7, 10, 1));
  padding: 0.75rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ugfx-pro-casino-frame-inner {
  border-radius: 14px;
  border: 1px solid rgba(255, 180, 100, 0.14);
  background: linear-gradient(180deg, rgba(16, 14, 18, 0.92), rgba(8, 9, 12, 0.96));
  padding: 0.85rem 0.95rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.ugfx-pro-table-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.ugfx-pro-table-logo {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #f0d6a8;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.45);
}

.ugfx-pro-table-divider {
  width: 1px;
  height: 14px;
  background: rgba(240, 214, 168, 0.35);
}

.ugfx-pro-table-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 242, 220, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.ugfx-pro-dealer-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.45);
  border: 1px solid rgba(255, 214, 160, 0.22);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff0d8;
}

.ugfx-pro-dealer-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
}

.ugfx-pro-dealer-meta {
  font-size: 0.6rem;
  color: rgba(255, 224, 188, 0.55);
  letter-spacing: 0.06em;
}

.ugfx-pro-stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ugfx-pro-stats-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Push balance / pot / ante to the rails so the dealer column stays visually open. */
.ugfx-pro-stats-grid--pit-rail {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.4rem 0.75rem;
  align-items: start;
}
.ugfx-pro-stats-grid--pit-rail .ugfx-pro-stat-card:nth-child(1) {
  justify-self: start;
}
.ugfx-pro-stats-grid--pit-rail .ugfx-pro-stat-card:nth-child(2) {
  grid-column: 2;
  justify-self: center;
  min-width: 5.25rem;
}
.ugfx-pro-stats-grid--pit-rail .ugfx-pro-stat-card:nth-child(3) {
  grid-column: 3;
  justify-self: end;
}
.ugfx-pro-stats-grid--pit-rail-cols2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ugfx-pro-stats-grid--pit-rail-cols2 .ugfx-pro-stat-card:nth-child(1) {
  grid-column: 1;
  justify-self: start;
}
.ugfx-pro-stats-grid--pit-rail-cols2 .ugfx-pro-stat-card:nth-child(2) {
  grid-column: 2;
  justify-self: end;
}
.ugfx-pro-stats-grid--pit-rail.ugfx-pro-stats-grid--compact {
  max-width: 100%;
}

.ugfx-pro-stats-grid--wide {
  max-width: 100%;
}

.ugfx-pro-stat-card {
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  background: rgba(8, 10, 14, 0.55);
  border: 1px solid rgba(255, 210, 160, 0.2);
  text-align: center;
}

.ugfx-pro-stat-card--accent {
  border-color: rgba(255, 176, 64, 0.55);
  background: rgba(40, 22, 8, 0.45);
  box-shadow: 0 0 18px rgba(255, 140, 42, 0.12);
}

.ugfx-pro-stat-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 232, 200, 0.55);
  margin-bottom: 0.15rem;
}

.ugfx-pro-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff6e6;
  font-variant-numeric: tabular-nums;
}

.ugfx-pro-hand-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* North / south seats — staggered like arc seats on the oval (draw poker). */
.ugfx-pro-hand-grid.ugfx-pro-hand-grid--pit {
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  padding: 0.35rem 0.35rem 0.55rem;
  min-height: min(46vh, 400px);
  align-content: space-between;
  justify-items: stretch;
}
.ugfx-pro-hand-grid--pit .ugfx-pro-hand-block {
  width: 100%;
  max-width: 520px;
}
/* Draw poker: house dealer (always) · opponent row (2-player only) · you */
.ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--dealer-pit {
  grid-column: 1 / -1;
  justify-self: center;
  transform: translateX(clamp(-2rem, -3vw, -0.5rem));
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(255, 214, 160, 0.22);
}
.ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--opponent-pit {
  grid-column: 1 / -1;
  justify-self: center;
  transform: translateX(clamp(0.5rem, 3vw, 2rem));
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 214, 160, 0.14);
}
.ugfx-poker-layout--solo .ugfx-pro-hand-block--opponent-pit {
  display: none;
}
.ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--south {
  grid-column: 1 / -1;
  justify-self: center;
  transform: translateX(clamp(1rem, 5vw, 3.5rem));
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(255, 214, 160, 0.16);
}

.ugfx-poker-layout--solo .ugfx-pro-hand-grid--pit {
  min-height: min(42vh, 380px);
}

/* Hold’em: opponent (north) · board (center) · you (south) */
.ugfx-pro-holdem-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(96px, 1fr) auto;
  gap: clamp(0.7rem, 2vw, 1.25rem);
  padding: 0.35rem 0.25rem 0.55rem;
  min-height: min(52vh, 460px);
  align-items: center;
  justify-items: center;
}
.ugfx-pro-holdem-layout .ugfx-pro-hand-block {
  width: 100%;
  max-width: 580px;
  text-align: center;
}
.ugfx-pro-holdem-layout .ugfx-pro-board-zone {
  width: 100%;
  padding: 0.5rem 0.45rem;
  border-radius: 16px;
  background: rgba(4, 18, 16, 0.42);
  border: 1px solid rgba(100, 240, 200, 0.14);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28);
}
.ugfx-pro-holdem-layout .ugfx-pro-seat--north {
  align-self: end;
  transform: translateX(clamp(-2.5rem, -4vw, -0.75rem));
}
.ugfx-pro-holdem-layout .ugfx-pro-seat--south {
  align-self: start;
  transform: translateX(clamp(0.75rem, 4vw, 2.5rem));
}
.ugfx-pro-holdem-layout .ugfx-pro-board-zone {
  transform: translateX(-2%);
}

/* Baccarat: Punto and Banco side by side */
.ugfx-pro-bj-zones--bank-pit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.35rem;
  align-items: start;
}
.ugfx-pro-bj-zones--bank-pit .ugfx-pro-bj-zone {
  text-align: center;
}

@media (max-width: 720px) {
  .ugfx-pro-hand-grid {
    grid-template-columns: 1fr;
  }
  .ugfx-pro-hand-grid--pit {
    min-height: min(44vh, 380px);
  }
  .ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--dealer-pit,
  .ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--opponent-pit,
  .ugfx-pro-hand-grid--pit .ugfx-pro-hand-block--south {
    transform: none;
  }
  .ugfx-pro-holdem-layout {
    min-height: 0;
    grid-template-rows: auto auto auto;
  }
  .ugfx-pro-holdem-layout .ugfx-pro-seat--north,
  .ugfx-pro-holdem-layout .ugfx-pro-seat--south,
  .ugfx-pro-holdem-layout .ugfx-pro-board-zone {
    transform: none;
  }
  .ugfx-pro-bj-zones--bank-pit {
    grid-template-columns: 1fr;
  }
  .ugfx-pro-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .ugfx-pro-dealer-img {
    width: min(155px, 52vw);
  }
  .ugfx-pro-dealer-backdrop {
    max-width: min(220px, 58vw);
  }
  .ugfx-card-hand--pro .ugfx-playing-card {
    width: 52px;
    height: 74px;
    margin-left: -18px;
  }
}

.ugfx-pro-hand-block {
  min-height: 120px;
}

.ugfx-pro-hand-label,
.ugfx-pro-bj-zone .ugfx-pro-hand-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 236, 210, 0.65);
  margin-bottom: 0.35rem;
}

.ugfx-pro-table-footnote {
  position: relative;
  z-index: 2;
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.ugfx-pro-bj-zones {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Pit layout MUST follow the base .ugfx-pro-bj-zones rule so display:grid wins over flex. */
.ugfx-pro-bj-zones.ugfx-pro-bj-zones--pit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.55rem 1.35rem;
  align-items: start;
  width: 100%;
}
.ugfx-pro-bj-zones--pit > .ugfx-pro-bj-zone--dealer {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 360px;
}
.ugfx-pro-bj-zones--pit > .ugfx-pro-stats-grid--compact {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--west {
  grid-column: 1;
  justify-self: end;
  align-self: end;
  text-align: center;
  max-width: min(360px, 48vw);
  padding-right: 0.35rem;
}
.ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--east {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  text-align: center;
  max-width: min(360px, 48vw);
  padding-left: 0.35rem;
}

/* Solo blackjack: one seat — full-width your hand so cards aren’t squeezed. */
.ugfx-bj-layout--solo .ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--west {
  display: none;
}
.ugfx-bj-layout--solo .ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--east {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 640px) {
  .ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--west,
  .ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--east {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    align-self: start;
  }
  .ugfx-bj-layout--solo .ugfx-pro-bj-zones--pit .ugfx-pro-bj-seat--west {
    display: none;
  }
}

.ugfx-pro-bj-zone--dealer {
  text-align: center;
}

.ugfx-pro-bj-zone--player {
  text-align: center;
}

.ugfx-card-hand--pro {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: 88px;
  padding: 0.15rem 0;
}

/* Overlap fan: readable via corner pips */
.ugfx-card-hand--pro .ugfx-playing-card {
  position: relative;
  flex: 0 0 auto;
  width: 60px;
  height: 86px;
  margin-left: -22px;
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  z-index: 0;
}
.ugfx-card-hand--pro .ugfx-playing-card__pip {
  font-size: 0.72rem;
  line-height: 1.08;
}
.ugfx-card-hand--pro .ugfx-playing-card__suit {
  font-size: 0.82rem;
}
.ugfx-card-hand--pro .ugfx-playing-card:first-child {
  margin-left: 0;
}
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(1) { z-index: 1; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(2) { z-index: 2; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(3) { z-index: 3; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(4) { z-index: 4; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(5) { z-index: 5; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(6) { z-index: 6; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(7) { z-index: 7; }
.ugfx-card-hand--pro .ugfx-playing-card:nth-child(8) { z-index: 8; }
.ugfx-card-hand--pro .ugfx-playing-card--back,
.ugfx-card-hand--pro .ugfx-playing-card--hole {
  font-size: 0.55rem;
}

.ugfx-casino-dealer {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255, 201, 138, .22);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.ugfx-casino-dealer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
}

.ugfx-casino-shoe {
  font-size: .76rem;
  color: #ffe1bf;
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,206,151,.35);
}

.ugfx-casino-banner {
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 12px 24px rgba(0,0,0,.35);
}

.ugfx-card-hand {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.ugfx-playing-card {
  width: 76px;
  height: 106px;
  border-radius: 10px;
  border: 1px solid rgba(30,30,30,.28);
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.9), transparent 46%),
    linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  color: #171717;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.9);
}

/* Plain-text center cards (video poker, simple blackjack demos) */
button.ugfx-playing-card.ugfx-playing-card--vp,
.ugfx-playing-card.ugfx-playing-card--vp {
  font-size: 1.28rem;
  letter-spacing: 0.02em;
}

/* Corner indices (table games using ugfxBuildPlayingCard) */
.ugfx-playing-card--pip {
  display: block;
  padding: 0.28rem 0.32rem;
  text-align: left;
}
.ugfx-playing-card__pip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  pointer-events: none;
  color: #141414;
}
.ugfx-playing-card--red .ugfx-playing-card__pip {
  color: #b01030;
}
.ugfx-playing-card__pip--tl {
  top: 0.28rem;
  left: 0.32rem;
}
.ugfx-playing-card__pip--br {
  bottom: 0.28rem;
  right: 0.32rem;
  transform: rotate(180deg);
}
.ugfx-playing-card__suit {
  display: block;
  font-size: 0.9rem;
  line-height: 1;
  margin-top: 0.04rem;
}
.ugfx-playing-card--hole {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.35rem;
}
button.ugfx-playing-card--pip {
  font: inherit;
  cursor: pointer;
  text-align: left;
}
button.ugfx-playing-card--pip:focus-visible {
  outline: 2px solid rgba(255, 200, 120, 0.95);
  outline-offset: 2px;
}

.ugfx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Face-down row for online duel (opponent hole cards until showdown broadcast). */
.ugfx-playing-card.ugfx-playing-card--back {
  background: linear-gradient(145deg, #1a4a6e 0%, #0d2844 48%, #122a38 100%);
  color: rgba(200, 245, 255, 0.45);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-color: rgba(60, 200, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), inset 0 0 24px rgba(0, 40, 60, 0.55);
  cursor: default;
  user-select: none;
}

.ugfx-arcade-pad {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.ugfx-arcade-pad button {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color: #fff;
  min-height: 80px;
}

.ugfx-arcade-pad button.hot {
  background: linear-gradient(180deg, rgba(255,124,42,.8), rgba(255,81,22,.7));
  box-shadow: 0 0 24px rgba(255,124,42,.38);
}

.ugfx-arcade-maze {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 2px;
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: #05070f;
  padding: .45rem;
}

.maze-cell {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #101426;
  position: relative;
}

.maze-cell.wall { background: #23386f; }
.maze-cell.dot::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffd96a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.maze-cell.player {
  background: radial-gradient(circle at 50% 50%, #ffe068 0%, #f5c941 72%, #d8a51e 100%);
}
.maze-cell.ghost {
  background: radial-gradient(circle at 50% 42%, #ff5f6d 0%, #ca2d48 70%, #8f1d31 100%);
}

.ugfx-game-suite-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.ugfx-game-suite-panel {
  display: none;
}

.ugfx-game-suite-panel.active {
  display: block;
}

.ugfx-dice-log {
  min-height: 130px;
  max-height: 180px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.02);
  padding: 0.6rem;
}

.ugfx-dice-log-line {
  font-size: 0.83rem;
  color: #cfd4df;
  margin-bottom: 0.3rem;
}

.ugfx-slots-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  min-height: 220px;
  align-items: center;
}

.ugfx-slot-reel {
  min-height: 140px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #15181f, #0c0d12);
  color: #fff;
  font-size: 3rem;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 24px rgba(255,255,255,.03), 0 14px 26px rgba(0,0,0,.35);
}

.ugfx-slot-machine {
  border-radius: 18px;
  border: 1px solid rgba(255, 199, 120, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 124, 42, 0.24), transparent 45%),
    radial-gradient(circle at 50% 120%, rgba(255, 204, 120, 0.12), transparent 40%),
    linear-gradient(180deg, #24170d 0%, #140d08 100%);
  padding: 1rem 1rem 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 20px 36px rgba(0,0,0,.45);
}

.ugfx-slot-marquee {
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 146, 0.55);
  background:
    radial-gradient(circle at 50% 10%, rgba(255,195,118,.4), transparent 56%),
    linear-gradient(180deg, #3a2513 0%, #1c120a 100%);
  padding: .52rem .7rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.3);
}

.ugfx-slot-marquee-title {
  color: #ffddb5;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ugfx-slot-marquee-sub {
  color: #f3bf89;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ugfx-slot-cabinet-art {
  min-height: 130px;
  border-radius: 12px;
  border: 1px solid rgba(255,204,136,.45);
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.35);
}

.ugfx-slot-machine-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem;
}

.ugfx-slot-machine-thumb {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.ugfx-slot-machine-thumb.active {
  border-color: rgba(255,196,116,.85);
  box-shadow: 0 0 0 1px rgba(255,196,116,.75), 0 0 14px rgba(255,124,42,.28);
}

.ugfx-slot-displays {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.ugfx-slot-display {
  border-radius: 10px;
  border: 1px solid rgba(255, 212, 158, .32);
  background: linear-gradient(180deg, rgba(8,8,10,.9), rgba(20,13,9,.82));
  padding: .38rem .45rem;
}

.ugfx-slot-display-label {
  color: #eebf87;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.ugfx-slot-display-value {
  color: #ffe9c9;
  font-weight: 800;
  font-size: .95rem;
}

.ugfx-cue-potted {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  padding: .4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.ugfx-cue-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: .2rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.ugfx-cue-power-wrap {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.26);
  overflow: hidden;
}

.ugfx-cue-power-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5bd07b 0%, #f4c348 55%, #ef6b52 100%);
  transition: width .08s linear;
}

.ugfx-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.ugfx-slot-cell {
  min-height: 102px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3);
  background: linear-gradient(180deg, #f5f5f5 0%, #dfdfdf 100%);
  color: #191919;
  font-size: 2.35rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.9);
}

.ugfx-slot-cell.win {
  box-shadow: 0 0 0 2px rgba(255,124,42,.9), 0 0 24px rgba(255,124,42,.5);
}

/* Premium slots: multi-screen tabs, paytable, line map */
.ugfx-slot-machine--premium {
  position: relative;
}
.ugfx-slots-screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 200, 140, 0.25);
}
.ugfx-slots-tab {
  flex: 1 1 auto;
  min-width: 5.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f0e6dc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ugfx-slots-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 196, 120, 0.45);
}
.ugfx-slots-tab.active {
  border-color: rgba(255, 180, 90, 0.95);
  background: linear-gradient(180deg, rgba(255, 140, 60, 0.35), rgba(120, 40, 10, 0.5));
  box-shadow: 0 0 0 1px rgba(255, 200, 120, 0.5), 0 0 18px rgba(255, 100, 40, 0.22);
  color: #fff8f0;
}
.ugfx-slots-panel--hidden {
  display: none !important;
}
.ugfx-slots-paytable-wrap {
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 160, 0.28);
  background: rgba(8, 6, 10, 0.72);
  padding: 0.75rem;
  max-height: min(420px, 52vh);
  overflow: auto;
}
.ugfx-slots-pt-head h4 {
  color: #ffe6c9;
  letter-spacing: 0.04em;
}
.ugfx-slots-pt-table {
  --bs-table-bg: transparent;
  --bs-table-color: #f5efe6;
  font-size: 0.82rem;
}
.ugfx-slots-pt-table thead th {
  color: #ffcc8e;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-color: rgba(255, 255, 255, 0.12);
}
.ugfx-slots-pt-table td {
  border-color: rgba(255, 255, 255, 0.1);
  vertical-align: middle;
}
.ugfx-slots-pt-sym {
  font-size: 1.35rem;
  line-height: 1.2;
}
.ugfx-slots-line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
}
.ugfx-slots-line-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 200, 140, 0.22);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.45rem 0.5rem;
}
.ugfx-slots-line-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffcc8e;
  margin-bottom: 0.35rem;
}
.ugfx-slots-line-row {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  margin-bottom: 0.12rem;
}
.ugfx-slots-line-cell {
  width: 1.1rem;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.28);
}
.ugfx-slots-line-cell.is-on {
  color: #ffb347;
  text-shadow: 0 0 8px rgba(255, 160, 60, 0.65);
}
.ugfx-slots-bet-dock .form-control {
  background: rgba(12, 10, 14, 0.85);
  border-color: rgba(255, 180, 100, 0.35);
  color: #fff;
}
.ugfx-slots-bet-dock .form-control:focus {
  border-color: rgba(255, 200, 120, 0.75);
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 60, 0.2);
}
.ugfx-slots-side .ugfx-chip--gold {
  border-color: rgba(255, 200, 100, 0.55);
  background: linear-gradient(180deg, rgba(255, 180, 80, 0.22), rgba(80, 40, 10, 0.35));
}
.ugfx-slots-machine-select {
  max-width: 280px;
  background: rgba(12, 10, 14, 0.9);
  border-color: rgba(255, 180, 100, 0.35);
  color: #fff;
}

/* Slots cabinet: staggered reels, bezel, win celebration */
.ugfx-slots-reel-housing {
  position: relative;
  border-radius: 16px;
  padding: 0.5rem 0.45rem 0.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, #0a090d 0%, #121018 48%, #08070a 100%);
  border: 1px solid rgba(255, 190, 120, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.ugfx-slots-reel-housing--spinning .ugfx-slots-reel-led-strip span {
  animation-duration: 0.35s;
}
.ugfx-slots-reel-chrome {
  height: 6px;
  border-radius: 4px;
  margin: 0 0.15rem;
  background: linear-gradient(90deg, #2a2218, #6b5340 40%, #2a2218);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ugfx-slots-reel-chrome--top {
  margin-bottom: 0.4rem;
}
.ugfx-slots-reel-chrome--bottom {
  margin-top: 0.45rem;
}
.ugfx-slots-reel-led-strip {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0 0.2rem 0.45rem;
}
.ugfx-slots-reel-led-strip span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(80, 80, 90, 0.5);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
  animation: ugfxSlotsLedPulse 1.1s ease-in-out infinite;
}
.ugfx-slots-reel-led-strip span:nth-child(1) { animation-delay: 0s; }
.ugfx-slots-reel-led-strip span:nth-child(2) { animation-delay: 0.12s; }
.ugfx-slots-reel-led-strip span:nth-child(3) { animation-delay: 0.24s; }
.ugfx-slots-reel-led-strip span:nth-child(4) { animation-delay: 0.36s; }
.ugfx-slots-reel-led-strip span:nth-child(5) { animation-delay: 0.48s; }
@keyframes ugfxSlotsLedPulse {
  0%, 100% {
    background: rgba(90, 85, 100, 0.45);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 0 0 rgba(255, 140, 60, 0);
  }
  50% {
    background: rgba(255, 150, 70, 0.95);
    box-shadow: inset 0 0 4px rgba(255, 220, 160, 0.5), 0 0 12px rgba(255, 120, 40, 0.55);
  }
}
.ugfx-slots-grid--cabinet {
  display: flex;
  align-items: stretch;
  gap: 0.32rem;
  position: relative;
  z-index: 1;
}
.ugfx-slots-reel-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
  padding: 0.2rem 0.12rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(25, 20, 30, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.ugfx-slots-reel-col--spinning {
  filter: blur(0.5px) saturate(1.15);
}
.ugfx-slots-reel-col--spinning .ugfx-slot-cell {
  animation: ugfxSlotsCellShuffle 0.12s linear infinite;
  opacity: 0.92;
}
.ugfx-slots-reel-col--bounce {
  animation: ugfxSlotsReelLock 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes ugfxSlotsCellShuffle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
@keyframes ugfxSlotsReelLock {
  0% { transform: translateY(0); }
  35% { transform: translateY(6px); }
  70% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.ugfx-slot-machine--premium.ugfx-slots-cabinet--pulse {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 20px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 130, 50, 0.18);
}
#ugfxSlotsGame.ugfx-slots--freespin .ugfx-slots-reel-housing {
  border-color: rgba(120, 220, 255, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.65),
    0 0 22px rgba(80, 200, 255, 0.22);
}
.ugfx-slots-win-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255, 240, 200, 0.2), rgba(10, 8, 12, 0.82) 62%);
  animation: ugfxSlotsWinFade 2.6s ease forwards;
}
.ugfx-slots-win-overlay[hidden] {
  display: none !important;
}
.ugfx-slots-win-burst {
  position: absolute;
  width: 140%;
  height: 140%;
  left: -20%;
  top: -20%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 200, 100, 0.12), transparent 40%, rgba(255, 80, 40, 0.1), transparent 70%);
  animation: ugfxSlotsBurst 2.4s linear infinite;
  opacity: 0.65;
}
@keyframes ugfxSlotsBurst {
  to { transform: rotate(360deg); }
}
@keyframes ugfxSlotsWinFade {
  0% { opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}
.ugfx-slots-win-tier {
  position: relative;
  font-weight: 900;
  font-size: clamp(1.05rem, 3.8vw, 1.65rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff8f0;
  text-shadow: 0 0 18px rgba(255, 160, 60, 0.85), 0 2px 0 #3a1808;
}
.ugfx-slots-win-amount {
  position: relative;
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  color: #ffe566;
  text-shadow: 0 0 20px rgba(255, 220, 80, 0.75);
}
.ugfx-slots-win-overlay.is-big .ugfx-slots-win-tier {
  color: #ffd4a8;
}
.ugfx-slots-win-overlay.is-mega .ugfx-slots-win-tier {
  color: #e8f4ff;
  text-shadow: 0 0 22px rgba(120, 200, 255, 0.9), 0 2px 0 #102040;
}
.ugfx-slots-win-overlay.is-mega .ugfx-slots-win-amount {
  color: #9fe8ff;
}
.ugfx-slots-ticker-wrap {
  margin-top: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 200, 140, 0.2);
}
.ugfx-slots-ticker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8c9a0;
  line-height: 1.35;
}
.ugfx-slots-spin-cta {
  position: relative;
  overflow: hidden;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.ugfx-slots-spin-glow {
  position: absolute;
  inset: -40%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  animation: ugfxSlotsSpinShine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ugfxSlotsSpinShine {
  0% { transform: translateX(-60%) rotate(12deg); }
  100% { transform: translateX(60%) rotate(12deg); }
}
.ugfx-slots-side .form-check-label {
  color: rgba(255, 240, 220, 0.85);
}

.ugfx-roulette-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: .35rem;
  margin-top: .45rem;
}

.ugfx-roulette-cell {
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .79rem;
  font-weight: 700;
  background: rgba(255,255,255,.06);
}

.ugfx-roulette-cell.red { background: linear-gradient(180deg, #9b1e27, #5f0f16); }
.ugfx-roulette-cell.black { background: linear-gradient(180deg, #36373b, #15161a); }
.ugfx-roulette-cell.green { background: linear-gradient(180deg, #1f855a, #14513a); }

.ugfx-roulette-betboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
}

.ugfx-roulette-zone {
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.ugfx-roulette-zone.red { background: linear-gradient(180deg, #a32931, #65151b); }
.ugfx-roulette-zone.black { background: linear-gradient(180deg, #383b43, #191b21); }
.ugfx-roulette-zone.active {
  box-shadow: 0 0 0 2px rgba(255,196,116,.75), 0 0 16px rgba(255,144,54,.35);
}

.ugfx-roulette-wheel-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ugfx-roulette-wheel-stage {
  position: relative;
  width: min(260px, 58vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.36), rgba(0,0,0,.62));
  border: 1px solid rgba(255,214,158,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 16px 34px rgba(0,0,0,.42);
}
.ugfx-roulette-wheel-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 3%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 14px solid #ffcf84;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
  z-index: 4;
}

.ugfx-roulette-wheel {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  overflow: hidden;
  background:
    conic-gradient(
      #0d9349 0deg 9.7deg,
      #8a1620 9.7deg 19.4deg,
      #111822 19.4deg 29.1deg,
      #8a1620 29.1deg 38.8deg,
      #111822 38.8deg 48.5deg,
      #8a1620 48.5deg 58.2deg,
      #111822 58.2deg 67.9deg,
      #8a1620 67.9deg 77.6deg,
      #111822 77.6deg 87.3deg,
      #8a1620 87.3deg 97deg,
      #111822 97deg 106.7deg,
      #8a1620 106.7deg 116.4deg,
      #111822 116.4deg 126.1deg,
      #8a1620 126.1deg 135.8deg,
      #111822 135.8deg 145.5deg,
      #8a1620 145.5deg 155.2deg,
      #111822 155.2deg 164.9deg,
      #8a1620 164.9deg 174.6deg,
      #111822 174.6deg 184.3deg,
      #8a1620 184.3deg 194deg,
      #111822 194deg 203.7deg,
      #8a1620 203.7deg 213.4deg,
      #111822 213.4deg 223.1deg,
      #8a1620 223.1deg 232.8deg,
      #111822 232.8deg 242.5deg,
      #8a1620 242.5deg 252.2deg,
      #111822 252.2deg 261.9deg,
      #8a1620 261.9deg 271.6deg,
      #111822 271.6deg 281.3deg,
      #8a1620 281.3deg 291deg,
      #111822 291deg 300.7deg,
      #8a1620 300.7deg 310.4deg,
      #111822 310.4deg 320.1deg,
      #8a1620 320.1deg 329.8deg,
      #111822 329.8deg 339.5deg,
      #8a1620 339.5deg 349.2deg,
      #111822 349.2deg 360deg
    );
  border: 7px solid #b5792d;
  box-shadow: inset 0 0 0 2px rgba(255,235,199,.46);
  transform: rotate(0deg);
}
.ugfx-roulette-wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: #fff8eb;
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
  pointer-events: none;
  z-index: 2;
}
.ugfx-roulette-wheel-label.red { color: #ffd8da; }
.ugfx-roulette-wheel-label.black { color: #e6e9ef; }
.ugfx-roulette-wheel-label.green { color: #dcffe9; }

.ugfx-roulette-wheel::after {
  content: '';
  position: absolute;
  inset: 31%;
  border-radius: 999px;
  background: radial-gradient(circle at 45% 42%, #f1c373, #8c5a21);
  border: 2px solid rgba(255,236,210,.5);
  z-index: 3;
}

.ugfx-roulette-ball {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, #ffffff, #cfd5df 70%, #808a98);
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateY(-108px);
  z-index: 5;
}

#ugfxSlotsSpin:not(:disabled) {
  box-shadow: 0 0 0 1px rgba(255,196,116,.35), 0 0 18px rgba(255,124,42,.28);
}

#ugfxSlotsSpin:disabled {
  opacity: .72;
}

.ugfx-solitaire-table {
  min-height: 620px;
  border-radius: 16px;
  border: 1px solid rgba(255, 193, 115, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 143, 42, 0.14), transparent 46%),
    radial-gradient(circle at 50% 120%, rgba(255, 225, 160, 0.06), transparent 44%),
    linear-gradient(180deg, #103b2f 0%, #0a261e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 32px rgba(0,0,0,.36);
  padding: .9rem;
}
.ugfx-sol-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: .9rem;
}
.ugfx-sol-pile-wrap {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ugfx-sol-pile-label {
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 234, 206, 0.62);
}
.ugfx-sol-foundations,
.ugfx-sol-freecells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
}
.ugfx-sol-pile {
  width: 72px;
  min-height: 100px;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.2);
  display: grid;
  place-items: center;
  padding: 1px;
}
.ugfx-sol-empty {
  color: rgba(255,255,255,.45);
  font-size: 1rem;
  font-weight: 700;
}
.ugfx-sol-tableau {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .45rem;
}
.ugfx-sol-col-drop {
  min-height: 380px;
  position: relative;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
}
.ugfx-sol-stack-card {
  position: absolute;
  left: 3px;
}
.ugfx-sol-card {
  width: 70px;
  height: 100px;
  border-radius: 9px;
  border: 1px solid rgba(26,26,26,.42);
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,.88), transparent 48%),
    linear-gradient(180deg, #fefefe 0%, #ececec 100%);
  color: #171717;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: .4rem;
  font-size: 1.12rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.95);
}
.ugfx-sol-card.red { color: #a7222f; }
.ugfx-sol-card-back {
  background:
    repeating-linear-gradient(45deg, #0f2b65, #0f2b65 6px, #1e4a9f 6px, #1e4a9f 12px),
    linear-gradient(180deg, #12326f, #0d2450);
  border-color: rgba(255,255,255,.34);
}
[data-sol-selectable].selected .ugfx-sol-card {
  box-shadow: 0 0 0 2px rgba(255,198,116,.92), 0 0 18px rgba(255,124,42,.35);
}

@media (max-width: 900px) {
  .ugfx-sol-tableau {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ugfx-keno-machine {
  border-radius: 16px;
  border: 1px solid rgba(255, 198, 122, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,124,42,.16), transparent 42%),
    linear-gradient(180deg, #2b1a0f 0%, #160f0a 100%);
  padding: .85rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 14px 28px rgba(0,0,0,.4);
}
.ugfx-keno-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .4rem;
}
.ugfx-keno-cell {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  color: #fff;
  font-weight: 700;
}
.ugfx-keno-cell.picked {
  border-color: rgba(255,196,116,.9);
  box-shadow: 0 0 0 1px rgba(255,196,116,.68), inset 0 0 14px rgba(255,124,42,.18);
}
.ugfx-keno-cell.drawn {
  background: linear-gradient(180deg, rgba(70,129,255,.32), rgba(37,75,170,.42));
}
.ugfx-keno-cell.hit {
  background: linear-gradient(180deg, rgba(57,200,124,.62), rgba(24,110,67,.72));
}
.ugfx-keno-drawn {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.24);
  padding: .42rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.ugfx-sol-tableau.spider {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.ugfx-sol-tableau.spider .ugfx-sol-col-drop {
  min-height: 430px;
}

.ugfx-tri-layout {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ugfx-tri-row {
  display: grid;
  justify-content: center;
  gap: .35rem;
}
.ugfx-tri-row.row-0 { grid-template-columns: repeat(3, 66px); }
.ugfx-tri-row.row-1 { grid-template-columns: repeat(6, 66px); }
.ugfx-tri-row.row-2 { grid-template-columns: repeat(9, 66px); }
.ugfx-tri-row.row-3 { grid-template-columns: repeat(10, 66px); }
.ugfx-tri-node.removed {
  width: 66px;
  height: 96px;
  border-radius: 9px;
  border: 1px dashed rgba(255,255,255,.15);
  background: rgba(0,0,0,.12);
}

/* —— Casino floor hub (games.php, cards suite): tile chrome only (no full-bleed dark slab) —— */
.oldies-bridge-page .ugfx-casino-floor-section {
  position: relative;
  background: transparent;
}
.oldies-bridge-page .ugfx-casino-floor-hero .page-title {
  text-shadow: 0 0 40px rgba(255, 180, 90, 0.25);
}
.oldies-bridge-page .ugfx-casino-floor-hero .page-copy a {
  color: #ffc98a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.oldies-bridge-page .ugfx-games-hub--casino > h2 {
  color: #ffd9a4 !important;
  text-shadow: 0 0 18px rgba(255, 140, 60, 0.2);
  border-bottom: 1px solid rgba(255, 200, 140, 0.15);
  padding-bottom: 0.35rem;
}
.oldies-bridge-page .ugfx-casino-tile {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 200, 120, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, rgba(22, 18, 28, 0.95) 0%, rgba(8, 7, 12, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.oldies-bridge-page .ugfx-casino-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 215, 140, 0.07) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.oldies-bridge-page .ugfx-casino-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 210, 130, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 44px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 120, 50, 0.12);
}
.oldies-bridge-page .ugfx-casino-tile:hover::before {
  opacity: 1;
}
.oldies-bridge-page .ugfx-casino-tile .ugfx-micro-label {
  color: #e8b876;
  letter-spacing: 0.14em;
}
.oldies-bridge-page .ugfx-casino-tile h3 {
  color: #fff6ec;
}
.oldies-bridge-page .ugfx-casino-tile .text-secondary {
  color: rgba(230, 220, 210, 0.72) !important;
}
.ugfx-casino-sfx-toggle {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 200, 120, 0.35) !important;
}
