:root {
  --bg-0: #05070b;
  --bg-1: #0d131c;
  --bg-2: #111a25;
  --panel: #121b27;
  --panel-2: #0d151f;
  --edge: rgba(255,255,255,0.08);
  --edge-strong: rgba(255,255,255,0.18);
  --gold: #d7b56b;
  --gold-2: #ffdf8a;
  --green: #2f805f;
  --green-dark: #1e5c44;
  --text: #e9f0ff;
  --muted: #9bb0c7;
  --shadow: rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }

body.games-root {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #1b2230 0%, #0b111a 40%, #04070b 100%);
  min-height: 100vh;
}

.games-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(90deg, rgba(12,18,28,0.95), rgba(8,12,18,0.85));
  gap: 20px;
}

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

.brand-mark {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--gold-2);
}

.brand-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.games-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-link.active {
  color: var(--text);
  border-color: var(--edge-strong);
  background: rgba(255,255,255,0.05);
}

.nav-link.disabled {
  opacity: 0.4;
}

.stack-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  font-size: 12px;
  color: var(--gold);
  background: rgba(255,255,255,0.04);
}

.games-home {
  flex: 1;
  padding: 36px 32px 48px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 38px;
  margin: 10px 0 12px;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.hero-label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d3e6ff;
  border: 1px solid var(--edge-strong);
  background: rgba(29,54,88,0.4);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(140deg, rgba(22,32,46,0.9), rgba(10,16,24,0.95));
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}

.hero-card-title {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #3a8a63, #24654a);
  color: #f5f0dd;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 20px rgba(36,101,74,0.35);
}

.cta.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--edge-strong);
  box-shadow: none;
}

.games-main {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 32px 40px;
}

.dealer-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0b0f17;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--edge-strong);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.inline-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--edge-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
}

.inline-btn.primary {
  background: linear-gradient(135deg, #2d7a58, #1f5d43);
  border-color: rgba(0,0,0,0.2);
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.chat-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}

.game-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  min-height: 220px;
  max-height: 320px;
}

.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #0b111a;
}

.chat-message {
  display: flex;
  margin-bottom: 10px;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 70%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.chat-message.user .chat-bubble {
  background: rgba(215, 181, 107, 0.2);
  border: 1px solid rgba(215, 181, 107, 0.4);
  color: var(--text);
}

.chat-message.girlfriend .chat-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--edge);
  color: var(--text);
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--edge);
  background: var(--panel-2);
}

.chat-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
}

.chat-send {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #3a8a63, #24654a);
  color: #f5f0dd;
  font-weight: 600;
  cursor: pointer;
}

.game-state {
  font-weight: 600;
  color: var(--gold-2);
}

.game-canvas {
  background: radial-gradient(circle at 30% 20%, #2d3e33, #0f1b16 70%);
  border-radius: 18px;
  border: 1px solid var(--edge);
  min-height: 360px;
  max-height: 420px;
  position: relative;
  overflow: hidden;
}

.game-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: var(--panel-2);
  font-size: 13px;
  color: var(--muted);
}

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.action-btn {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--edge-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  min-width: 120px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #e0c178, #b6893e);
  color: #1b1205;
}

.action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .games-main {
    grid-template-columns: 1fr;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .games-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .games-main {
    padding: 20px;
  }
}

.game-selector {
  margin-top: 36px;
}

.selector-title {
  font-family: " Cinzel\, \Times New Roman\, serif;
 font-size: 22px;
 margin: 0 0 16px;
 color: var(--gold-2);
}

.game-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 18px;
}

.game-tile {
 display: flex;
 flex-direction: column;
 gap: 10px;
 padding: 18px;
 border-radius: 16px;
 border: 1px solid var(--edge);
 background: linear-gradient(160deg, rgba(22,32,46,0.9), rgba(9,14,22,0.96));
 text-decoration: none;
 color: var(--text);
 min-height: 180px;
 box-shadow: 0 10px 30px rgba(0,0,0,0.35);
 transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover {
 transform: translateY(-4px);
 border-color: var(--edge-strong);
 box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.tile-title {
 font-family: \Cinzel\, \Times New Roman\, serif;
 font-size: 18px;
 color: var(--gold);
}

.tile-desc {
 color: var(--muted);
 line-height: 1.5;
 font-size: 13px;
}

.tile-status {
 font-size: 12px;
 color: rgba(233,240,255,0.7);
}

.tile-action {
 margin-top: auto;
 font-weight: 600;
 color: #f0e3c1;
 border-top: 1px solid var(--edge);
 padding-top: 10px;
}

.bj-table {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 height: 100%;
 padding: 16px;
 gap: 18px;
}

.bj-hand {
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.bj-label {
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 1px;
 color: var(--muted);
}

.bj-cards {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
 min-height: 120px;
}

.bj-card {
 width: 80px;
 height: auto;
 border-radius: 8px;
 border: 1px solid var(--edge-strong);
 box-shadow: 0 6px 16px rgba(0,0,0,0.45);
 background: #0b111a;
}

.bj-values {
 font-size: 13px;
 color: var(--muted);
}

.slot-panel {
 height: 100%;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 16px;
}

.slot-reels {
 display: flex;
 gap: 12px;
}

.slot-reel {
 width: 150px;
 height: 190px;
 border-radius: 14px;
 border: 1px solid var(--edge-strong);
 background: linear-gradient(180deg, #111b27, #0a1018);
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 12px 30px rgba(0,0,0,0.45);
 overflow: hidden;
}

.slot-symbol {
 width: 120px;
 height: 120px;
 object-fit: contain;
 filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45));
}

.slot-strip {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 10px;
 transform: translateY(0);
}

.slot-strip.is-final {
 gap: 0;
}

.slot-reel.spinning .slot-strip {
 animation: reelSpin var(--spin-duration, 0.8s) linear infinite;
}

.slot-reel.spinning {
 animation: slotPulse 0.22s ease-in-out infinite alternate;
}

.slot-hint {
 font-size: 12px;
 color: var(--muted);
}

@keyframes slotPulse {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-280px); }
}
/* Blackjack design pass 2026-08-12 */
.casino-page {
  --panel: #121713;
  --panel-2: #0c120f;
  --edge: rgba(203, 165, 90, .20);
  --edge-strong: rgba(230, 211, 161, .44);
  --gold: #cba55a;
  --gold-2: #e6d3a1;
  --green: #165c45;
  --green-dark: #0f3b2e;
  --text: #f5f0e4;
  --muted: #a9aaa3;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(22,92,69,.20), transparent 29rem),
    radial-gradient(circle at 82% 55%, rgba(203,165,90,.07), transparent 36rem),
    linear-gradient(145deg, #121412, #080908 52%, #050605);
}
.casino-page .games-shell { position: relative; isolation: isolate; }
.casino-page .games-shell::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
  background-image: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.018) 23px, transparent 24px);
}
.casino-page .games-header {
  min-height: 74px; padding: 14px clamp(20px,3vw,48px);
  border-color: rgba(203,165,90,.28); background: rgba(8,10,9,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.28); backdrop-filter: blur(18px);
}
.casino-page .brand-mark,
.casino-page .table-title span { font-family: "Playfair Display", Georgia, serif; }
.casino-page .brand-mark {
  font-size: 22px; letter-spacing: .2em; color: var(--gold-2);
  text-shadow: 0 2px 14px rgba(203,165,90,.2);
}
.casino-page .brand-suit { margin-right: 5px; color: var(--gold); }
.casino-page .brand-sub {
  margin-left: 28px; font-size: 9px; letter-spacing: .24em; color: #85877f;
}
.casino-page .games-nav { gap: 4px; }
.casino-page .nav-link {
  position: relative; padding: 9px 14px; border-radius: 4px; font-size: 11px;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}
.casino-page .nav-link:hover { color: var(--gold-2); background: rgba(203,165,90,.06); }
.casino-page .nav-link.active { color: var(--gold-2); border-color: transparent; background: transparent; }
.casino-page .nav-link.active::after {
  content: ""; position: absolute; right: 14px; bottom: 2px; left: 14px; height: 1px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
}
.casino-page .stack-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 5px;
  border-color: rgba(203,165,90,.28); color: var(--gold-2); background: rgba(15,59,46,.32);
}
.casino-page .presence-dot {
  width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #58b989;
  box-shadow: 0 0 0 3px rgba(88,185,137,.11), 0 0 12px rgba(88,185,137,.45);
}
.casino-page .games-main {
  width: min(1280px,100%); margin: 0 auto; padding: clamp(20px,2.4vw,34px);
  grid-template-columns: minmax(340px,440px) minmax(430px,1fr);
  gap: clamp(20px,2.2vw,34px);
  /* ★ 16.08.2026 (Dieter: "Spielfelder buendig Unterkante mit dem Video-Frame, Chatfeld oben
     etwas groesser") — war "align-items:start" (Spalten unabhaengig hoch), jetzt "stretch":
     .game-panel bekommt dieselbe Hoehe wie .dealer-panel (die Video-Spalte ist i.d.R. die
     hoehere), .chat-panel (einziges Element mit flex-grow darin) frisst den Rest. */
  align-items: stretch;
}
.casino-page .dealer-panel > .panel-card {
  position: relative; padding: 9px; border-radius: 20px;
  border-color: rgba(203,165,90,.42);
  background: linear-gradient(145deg,#302918,#0d110f 13%,#080b09 84%,#2c2617);
  box-shadow: 0 25px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(230,211,161,.08) inset;
}
.casino-page .dealer-panel > .panel-card::before,
.casino-page .dealer-panel > .panel-card::after {
  content: "◆"; position: absolute; z-index: 3; top: -8px;
  color: var(--gold); font-size: 12px; text-shadow: 0 2px 8px #000;
}
.casino-page .dealer-panel > .panel-card::before { left: 18px; }
.casino-page .dealer-panel > .panel-card::after { right: 18px; }
.casino-page .video-frame {
  border-radius: 14px 14px 7px 7px; border-color: rgba(230,211,161,.28); background: #07100c;
}
.casino-page .video-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,rgba(0,0,0,.1),transparent 58%,rgba(0,0,0,.68));
  box-shadow: inset 0 0 55px rgba(0,0,0,.28);
}
.casino-page .dealer-badge {
  position: absolute; right: 13px; bottom: 13px; left: 13px;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 9px;
  padding: 10px 12px; border: 1px solid rgba(230,211,161,.24); border-radius: 8px;
  background: rgba(7,12,9,.70); backdrop-filter: blur(10px);
  font-family: "Playfair Display",Georgia,serif; color: #f5ead1;
}
.casino-page .dealer-badge .presence-dot { grid-row: 1 / 3; }
.casino-page .dealer-badge small {
  font-family: "Montserrat",sans-serif; font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: #9c9f96;
}
.casino-page .video-controls { margin: 8px 0 0; gap: 7px; }
.casino-page .inline-btn {
  flex: 1; min-height: 36px; border-radius: 6px; border-color: rgba(203,165,90,.25);
  background: linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  color: #b7b8b1; font-family: inherit; font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: border-color 160ms ease,color 160ms ease,background 160ms ease;
}
.casino-page .inline-btn:hover {
  border-color: rgba(230,211,161,.55); color: var(--gold-2); background: rgba(203,165,90,.08);
}
.casino-page .game-panel { gap: 12px; }
.casino-page .chat-panel,
.casino-page .game-status,
.casino-page .game-canvas {
  border-color: rgba(203,165,90,.24); box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.casino-page .chat-panel {
  /* war max-height:230px (fest) -> jetzt flex:1, waechst in den durch align-items:stretch
     freiwerdenden Platz bis zur Unterkante des Video-Frames; game-status/game-canvas/
     action-bar bleiben unveraendert (kein flex-grow), nur das Chatfeld wird groesser. */
  min-height: 178px; flex: 1 1 auto; border-radius: 10px; background: rgba(12,18,15,.92);
}
.casino-page .panel-heading {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 14px;
  border-bottom: 1px solid rgba(203,165,90,.18);
  background: linear-gradient(90deg,rgba(22,92,69,.24),transparent);
}
.casino-page .panel-heading > div { display: flex; flex-direction: column; gap: 2px; }
.casino-page .panel-heading strong {
  font-family: "Playfair Display",Georgia,serif; font-size: 14px; color: var(--gold-2);
}
.casino-page .eyebrow,
.casino-page .status-caption {
  font-size: 8px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #898c84;
}
.casino-page .panel-ornament { color: rgba(203,165,90,.62); }
.casino-page .chat-messages {
  min-height: 82px; padding: 10px 14px; background: rgba(5,9,7,.58);
}
.casino-page .chat-bubble { border-radius: 10px 10px 10px 3px; font-size: 12px; }
.casino-page .chat-message.user .chat-bubble {
  border-radius: 10px 10px 3px 10px; border-color: rgba(203,165,90,.32);
  background: rgba(203,165,90,.12);
}
.casino-page .chat-input-row {
  padding: 9px 10px; border-color: rgba(203,165,90,.18); background: #0b100d;
}
.casino-page .chat-input {
  min-width: 0; padding: 9px 12px; border-radius: 6px; border-color: rgba(203,165,90,.2);
  background: rgba(255,255,255,.035); font-family: inherit; font-size: 12px;
}
.casino-page .chat-input:focus {
  border-color: rgba(230,211,161,.55); box-shadow: 0 0 0 3px rgba(203,165,90,.08);
}
.casino-page .chat-send {
  padding: 8px 15px; border-radius: 6px; border-color: #d9b96f;
  background: linear-gradient(180deg,#d7b96f,#a87c36); color: #1a1307;
  font-family: inherit; font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(203,165,90,.16);
}
.casino-page .game-status {
  padding: 0; overflow: hidden; border-radius: 8px;
  background: linear-gradient(90deg,rgba(15,59,46,.7),rgba(11,16,13,.96));
}
.casino-page .status-block {
  display: flex; min-height: 54px; flex: 1; flex-direction: column; justify-content: center;
  gap: 3px; padding: 9px 16px; border-left: 1px solid rgba(203,165,90,.16);
}
.casino-page .status-block:first-child { border-left: 0; }
.casino-page .status-round { flex: 1.35; }
.casino-page .status-block strong { color: #eee4ce; font-size: 12px; }
.casino-page .game-state {
  font-family: "Playfair Display",Georgia,serif; color: var(--gold-2);
}
.casino-page .game-canvas {
  position: relative; min-height: 390px; max-height: none; padding: 0;
  border-radius: 80px 80px 14px 14px / 38px 38px 14px 14px;
  background:
    radial-gradient(ellipse at 50% 24%,rgba(41,117,86,.44),transparent 45%),
    repeating-radial-gradient(circle at 50% 20%,rgba(255,255,255,.012) 0 1px,transparent 1px 4px),
    linear-gradient(150deg,#155440,#0f3b2e 48%,#09271f);
  box-shadow: inset 0 0 70px rgba(0,0,0,.36),0 18px 50px rgba(0,0,0,.38);
}
.casino-page .game-canvas::before {
  content: ""; position: absolute; inset: 8px; z-index: 0; pointer-events: none;
  border: 1px solid rgba(230,211,161,.23);
  border-radius: 72px 72px 9px 9px / 32px 32px 9px 9px;
  box-shadow: 0 0 0 3px rgba(5,18,14,.3);
}
.casino-page .table-title {
  position: absolute; z-index: 1; top: 18px; left: 50%; display: flex;
  flex-direction: column; align-items: center; transform: translateX(-50%);
  color: rgba(230,211,161,.72); text-transform: uppercase; white-space: nowrap;
}
.casino-page .table-title span { font-size: 16px; letter-spacing: .12em; }
.casino-page .table-title small { font-size: 7px; letter-spacing: .25em; }
.casino-page .bj-table {
  position: relative; z-index: 1; padding: 52px 28px 22px; gap: 14px;
}
.casino-page .bj-hand {
  min-height: 142px; padding: 7px 12px 10px; border-bottom: 1px solid rgba(230,211,161,.13);
}
.casino-page .bj-hand:last-child { border-bottom: 0; }
.casino-page .bj-label {
  color: var(--gold-2); font-size: 9px; font-weight: 700; letter-spacing: .2em;
}
.casino-page .bj-cards { min-height: 92px; gap: 8px; align-items: center; }
.casino-page .bj-card {
  width: clamp(64px,7vw,84px); border-radius: 7px; border-color: rgba(230,211,161,.45);
  box-shadow: 0 8px 20px rgba(0,0,0,.48);
}
.casino-page .bj-values { color: #acb3aa; font-size: 10px; }
.casino-page .action-bar {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px;
}
.casino-page .action-btn {
  min-width: 0; min-height: 44px; padding: 9px 10px; border-radius: 6px;
  border-color: rgba(203,165,90,.33); background: linear-gradient(180deg,#17241d,#0b120e);
  color: #ddd5c4; font-family: inherit; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: inset 0 1px rgba(255,255,255,.04),0 6px 16px rgba(0,0,0,.24);
  transition: transform 120ms ease,border-color 160ms ease,color 160ms ease,background 160ms ease;
}
.casino-page .action-btn:hover:not(:disabled) {
  transform: translateY(-1px); border-color: rgba(230,211,161,.65);
  color: var(--gold-2); background: linear-gradient(180deg,#1b3528,#0d1b14);
}
.casino-page .action-btn:active:not(:disabled) { transform: translateY(1px); background: #09100c; }
.casino-page .action-btn.primary {
  border-color: #e1c27a; background: linear-gradient(180deg,#e1c477,#a77b34); color: #1b1306;
}
.casino-page .action-btn.primary:hover:not(:disabled) {
  color: #130d04; background: linear-gradient(180deg,#ecd58f,#b98d43);
}
.casino-page .action-btn:disabled { opacity: .33; filter: saturate(.3); }

@media (max-width: 980px) {
  .casino-page .games-main {
    grid-template-columns: minmax(300px,400px) minmax(390px,1fr); padding-inline: 18px;
  }
}
@media (max-width: 820px) {
  .casino-page .games-header { align-items: center; }
  .casino-page .games-main { grid-template-columns: minmax(0,1fr); }
  .casino-page .dealer-panel { width: min(430px,100%); margin: 0 auto; }
  .casino-page .game-panel { width: min(640px,100%); margin: 0 auto; }
}
@media (max-width: 620px) {
  .casino-page .games-header { padding: 12px 16px; }
  .casino-page .games-nav { order: 3; width: 100%; justify-content: center; }
  .casino-page .stack-pill {
    position: absolute; top: 17px; right: 16px; max-width: 42%; overflow: hidden; white-space: nowrap;
  }
  .casino-page .games-main { padding: 14px 12px 28px; }
  .casino-page .chat-panel { max-height: 250px; }
  .casino-page .game-status { flex-wrap: wrap; }
  .casino-page .status-block { min-width: 30%; padding-inline: 10px; }
  .casino-page .status-round {
    width: 100%; flex-basis: 100%; border-bottom: 1px solid rgba(203,165,90,.16);
  }
  .casino-page .game-canvas {
    min-height: 360px; border-radius: 48px 48px 12px 12px / 26px 26px 12px 12px;
  }
  .casino-page .game-canvas::before {
    border-radius: 42px 42px 8px 8px / 21px 21px 8px 8px;
  }
  .casino-page .bj-table { padding-inline: 18px; }
  .casino-page .action-bar { grid-template-columns: repeat(3,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .casino-page *, .casino-page *::before, .casino-page *::after { transition: none !important; }
}
/* Shared casino page refinements 2026-08-12 */
.casino-page:not(.blackjack-page) .video-vignette,
.casino-page:not(.blackjack-page) .dealer-badge { z-index:2; }
.casino-page .video-frame video { position:relative; z-index:1; }
.casino-page .video-vignette,
.casino-page .dealer-badge { z-index:2; }
.casino-page .game-status:not(.panel-card) {
  overflow:hidden; padding:0; border-radius:8px;
  border-color:rgba(203,165,90,.24);
  background:linear-gradient(90deg,rgba(15,59,46,.7),rgba(11,16,13,.96));
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.poker-page .game-status { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.poker-page .status-block { min-width:0; padding-inline:10px; }
.poker-page .game-canvas {
  border:1px solid rgba(203,165,90,.24);
  background:
    radial-gradient(ellipse at 50% 28%,rgba(41,117,86,.38),transparent 46%),
    linear-gradient(150deg,#155440,#0f3b2e 48%,#09271f);
}
.poker-page .game-canvas canvas { position:relative; z-index:1; display:block; }
.slots-page .game-canvas { min-height:390px; }
.slots-page .slot-panel { position:relative; z-index:1; padding:48px 18px 20px; }
.slots-page .slot-reels { width:100%; justify-content:center; gap:clamp(7px,1.2vw,12px); }
.slots-page .slot-reel {
  width:clamp(92px,13vw,138px); height:clamp(142px,18vw,184px);
  border:1px solid rgba(230,211,161,.38); border-radius:10px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.04),transparent 18% 82%,rgba(255,255,255,.04)),
    linear-gradient(180deg,#eee8d9,#c9bfa7 48%,#f3eddf);
  box-shadow:inset 0 0 18px rgba(0,0,0,.38),0 10px 28px rgba(0,0,0,.42);
}
.slots-page .slot-symbol { width:min(88%,116px); height:auto; max-height:116px; }
.slots-page .slot-hint {
  color:#9da39b; font-size:9px; letter-spacing:.12em; text-transform:uppercase;
}
.slots-page .action-bar { grid-template-columns:minmax(150px,240px) minmax(110px,180px); }
.slots-page .action-btn { min-height:48px; }
.casino-home-page .games-home {
  width:min(1220px,100%); margin:0 auto; padding:clamp(34px,6vw,82px) clamp(20px,4vw,48px) 64px;
}
.casino-home-page .home-hero {
  position:relative; grid-template-columns:minmax(320px,1.15fr) minmax(270px,.75fr);
  gap:clamp(28px,5vw,70px); align-items:center;
}
.casino-home-page .hero-copy { position:relative; padding:18px 0 22px; }
.casino-home-page .hero-label {
  padding:6px 10px; border-radius:4px; border-color:rgba(203,165,90,.32);
  color:var(--gold-2); background:rgba(15,59,46,.34);
  font-size:9px; font-weight:700; letter-spacing:.18em;
}
.casino-home-page .hero-copy h1 {
  max-width:680px; margin:17px 0 15px; color:#f1e8d6;
  font-family:"Playfair Display",Georgia,serif; font-size:clamp(38px,5vw,68px);
  line-height:1.04; letter-spacing:-.025em;
}
.casino-home-page .hero-copy h1::after {
  content:""; display:block; width:120px; height:1px; margin-top:20px;
  background:linear-gradient(90deg,var(--gold),transparent);
}
.casino-home-page .hero-copy p {
  max-width:650px; color:#aaada5; font-size:14px; line-height:1.75;
}
.casino-home-page .hero-actions { margin-top:25px; }
.casino-home-page .cta {
  min-height:44px; border-radius:6px; border-color:#d9b96f;
  background:linear-gradient(180deg,#d7b96f,#a87c36); color:#1a1307;
  font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  box-shadow:0 9px 24px rgba(203,165,90,.15);
}
.casino-home-page .cta:hover { filter:brightness(1.08); transform:translateY(-1px); }
.casino-home-page .cta.ghost {
  border-color:rgba(203,165,90,.3); color:var(--gold-2); background:rgba(15,59,46,.22);
}
.casino-home-page .hero-meta { max-width:620px; color:#777c75; font-size:10px; line-height:1.6; }
.casino-home-page .hero-card {
  position:relative; padding:28px; border-radius:14px; border-color:rgba(203,165,90,.3);
  background:
    linear-gradient(145deg,rgba(22,92,69,.28),transparent 50%),
    rgba(10,15,12,.88);
  box-shadow:0 25px 70px rgba(0,0,0,.42);
}
.casino-home-page .hero-card::before {
  content:"◆"; position:absolute; top:-8px; right:22px; color:var(--gold); font-size:12px;
}
.casino-home-page .hero-card-title {
  font-family:"Playfair Display",Georgia,serif; color:var(--gold-2); font-size:20px;
}
.casino-home-page .hero-card ul { color:#a8aaa3; font-size:13px; }
.casino-home-page .game-selector { margin-top:clamp(48px,7vw,88px); }
.casino-home-page .selector-title {
  margin:0 0 20px; color:var(--gold-2);
  font-family:"Playfair Display",Georgia,serif; font-size:26px;
}
.casino-home-page .game-grid { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; }
.casino-home-page .game-tile {
  position:relative; min-height:205px; padding:20px; overflow:hidden;
  border-radius:10px; border-color:rgba(203,165,90,.2);
  background:
    radial-gradient(circle at 100% 0,rgba(22,92,69,.22),transparent 55%),
    linear-gradient(155deg,rgba(19,26,21,.96),rgba(8,12,9,.98));
}
.casino-home-page .game-tile::after {
  content:"♠"; position:absolute; right:14px; bottom:0; color:rgba(203,165,90,.055);
  font-family:Georgia,serif; font-size:86px; line-height:.8;
}
.casino-home-page .game-tile:hover {
  transform:translateY(-4px); border-color:rgba(230,211,161,.48);
  box-shadow:0 18px 44px rgba(0,0,0,.42);
}
.casino-home-page .game-tile.disabled { opacity:.48; filter:saturate(.55); }
.casino-home-page .tile-title {
  position:relative; z-index:1; color:var(--gold-2);
  font-family:"Playfair Display",Georgia,serif; font-size:19px;
}
.casino-home-page .tile-desc,
.casino-home-page .tile-status,
.casino-home-page .tile-action { position:relative; z-index:1; }
.casino-home-page .tile-desc { color:#a6aaa2; font-size:12px; }
.casino-home-page .tile-status {
  width:max-content; max-width:100%; padding:4px 7px; border-radius:3px;
  color:#91a89b; background:rgba(22,92,69,.18); font-size:9px; text-transform:uppercase;
  letter-spacing:.07em;
}
.casino-home-page .tile-action {
  border-color:rgba(203,165,90,.16); color:var(--gold); font-size:10px;
  letter-spacing:.08em; text-transform:uppercase;
}
@media(max-width:820px){
  .poker-page .game-status { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .poker-page .status-round { grid-column:span 2; }
  .casino-home-page .home-hero { grid-template-columns:1fr; }
}
@media(max-width:560px){
  .poker-page .game-status { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .poker-page .status-round { grid-column:span 2; }
  .slots-page .slot-panel { padding-inline:8px; }
  .slots-page .slot-reel { width:clamp(78px,26vw,108px); height:145px; }
  .slots-page .action-bar { grid-template-columns:2fr 1fr; }
  .casino-home-page .games-home { padding-inline:15px; }
  .casino-home-page .hero-copy h1 { font-size:39px; }
}
/* Embedded in the persistent FLOW hub: navigation remains outside the view. */
.casino-page.embedded-page .games-header { display:none; }
.casino-page.embedded-page .games-shell { min-height:100dvh; }
.casino-page.embedded-page .games-main { padding-top:clamp(16px,2vw,26px); }