/* ==========================================================================
   Golden Rush Lounge — Game Tables
   Shared "emerald baize" table surface + per-game rules (scoped by body class)
   ========================================================================== */

/* ---------- Game page chrome ---------- */
.game-stage { padding: 40px 0 80px; position: relative; }
.crumbs { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.crumbs a { color: var(--gold-ink); text-decoration: none; }
.crumbs a:hover { color: var(--emerald); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--gold); }

.game-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 22px 0 30px; }
.game-heading h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 6px; }
.game-sub { margin-top: 6px; }

.coin-plaque {
  display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center;
  padding: 12px 22px 12px 14px; background: var(--paper); border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--rule-soft);
}
.coin-plaque svg { grid-row: span 2; width: 42px; height: 42px; }
.coin-plaque small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.coin-plaque .coin-figure { font-family: var(--font-display); font-size: 1.5rem; color: var(--emerald); line-height: 1.1; }

/* ---------- Table surface ---------- */
.table-surface {
  --felt: #0d4535;
  position: relative; color: var(--ivory);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(220, 196, 143, .14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--felt), var(--emerald-night));
  border: 1px solid var(--gold);
  outline: 1px solid var(--rule); outline-offset: 6px;
  box-shadow: inset 0 0 0 10px rgba(7, 38, 32, .55), inset 0 0 0 11px rgba(220, 196, 143, .45), inset 0 0 90px rgba(0, 0, 0, .35), var(--shadow-lift);
  padding: 44px 36px 40px;
  margin: 8px 6px 0;
}
.table-surface .corner { position: absolute; width: 38px; height: 38px; color: var(--gold-light); opacity: .9; }
.table-surface .corner.tl { top: 18px; left: 18px; }
.table-surface .corner.tr { top: 18px; right: 18px; transform: scaleX(-1); }
.table-surface .corner.bl { bottom: 18px; left: 18px; transform: scaleY(-1); }
.table-surface .corner.br { bottom: 18px; right: 18px; transform: scale(-1, -1); }
.table-surface h2, .table-surface h3 { color: var(--ivory); }
.table-surface p { color: #d9dfd4; }

.table-label {
  font-family: var(--font-caps); font-size: .85rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light);
  text-align: center;
}
.table-rule { border: 0; height: 9px; margin: 6px auto; max-width: 520px; position: relative; background:
  linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat; opacity: .6; }
.table-rule::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -5px; background: var(--gold-light); transform: rotate(45deg); }

/* Generic game controls */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.chip-row .chip-label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-right: 4px; }
.bet-btn, .bet-amount-btn, .bet-type-btn, .bet-choice-btn {
  font-family: var(--font-text); font-weight: 500; letter-spacing: .06em; cursor: pointer;
  background: rgba(7, 38, 32, .55); color: var(--ivory); border: 1px solid rgba(220, 196, 143, .55); border-radius: 0;
  padding: 10px 20px; font-size: .95rem; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.bet-btn:hover:not(:disabled), .bet-amount-btn:hover, .bet-type-btn:hover, .bet-choice-btn:hover { border-color: var(--gold-light); background: rgba(220, 196, 143, .12); }
.bet-btn.active, .bet-amount-btn.active, .bet-amount-btn.selected, .bet-type-btn.active, .bet-choice-btn.selected {
  background: linear-gradient(180deg, #e6d3a3, var(--gold)); color: var(--emerald-night); border-color: var(--gold-pale);
}
.bet-btn:disabled { opacity: .35; cursor: not-allowed; }

.action-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.action-btn, .spin-btn {
  font-family: var(--font-text); font-size: .92rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 0; cursor: pointer; border: 1px solid var(--gold-pale);
  background: linear-gradient(180deg, #ead9ad, var(--gold) 60%, #a3834a); color: var(--emerald-night);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .15), 0 10px 22px -12px rgba(0, 0, 0, .6);
  transition: transform .2s var(--ease), filter .2s;
}
.action-btn:hover:not(:disabled), .spin-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.action-btn:disabled, .spin-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.action-btn.ghost { background: transparent; color: var(--ivory); border-color: var(--gold-light); }
.action-btn.wine { background: linear-gradient(180deg, #84303f, var(--burgundy)); color: var(--ivory); border-color: var(--gold-light); }

.status-line { text-align: center; color: #d9dfd4; font-size: .95rem; }
.status-line strong { color: var(--gold-pale); }

/* Game notes under the table */
.game-notes { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 56px; align-items: start; }
.game-notes .frame-card ul { margin-top: 12px; display: grid; gap: 8px; color: var(--ink-soft); }
.game-notes .frame-card li::marker { color: var(--gold); }
.other-tables { margin-top: 56px; text-align: center; }
.other-tables h2 { font-size: 1.5rem; margin-top: 8px; }
.other-tables nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* Symbol glyphs (slots) */
.glyph { display: block; width: 100%; height: 100%; }

/* ---------- Playing cards (shared look) ---------- */
.g-blackjack .card, .g-poker .playing-card, .g-baccarat .playing-card {
  background: linear-gradient(180deg, #fffdf6, #f3ecd9);
  border-radius: 6px; position: relative; font-family: var(--font-display);
  box-shadow: inset 0 0 0 3px #fffdf6, inset 0 0 0 4px rgba(184, 151, 90, .7), 0 8px 18px -6px rgba(0, 0, 0, .55);
}
.g-blackjack .card.red, .g-poker .playing-card.red, .g-baccarat .playing-card.red { color: #8e1f30; }
.g-blackjack .card.black, .g-poker .playing-card.black, .g-baccarat .playing-card.black { color: #14201b; }
.g-blackjack .card.face-down, .g-poker .playing-card.face-down {
  background:
    repeating-linear-gradient(45deg, rgba(220, 196, 143, .35) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(220, 196, 143, .35) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #7a2435, var(--burgundy-deep));
  box-shadow: inset 0 0 0 4px var(--burgundy-deep), inset 0 0 0 5px var(--gold-light), 0 8px 18px -6px rgba(0, 0, 0, .55);
  color: transparent;
}
.g-blackjack .card.face-down::after, .g-poker .playing-card.face-down::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 1px solid var(--gold-light); background: var(--burgundy-deep); transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--burgundy-deep), 0 0 0 5px rgba(220, 196, 143, .7);
}

/* ========== Lounge Blackjack ========== */
.g-blackjack .hand-area { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.g-blackjack .hand-label { font-family: var(--font-caps); letter-spacing: .26em; text-transform: uppercase; font-size: .85rem; color: var(--gold-light); }
.g-blackjack .hand-value { display: inline-block; min-width: 34px; margin-left: 10px; padding: 0 8px; border: 1px solid var(--gold); color: var(--ivory); font-family: var(--font-display); letter-spacing: 0; }
.g-blackjack .hand-value:empty { display: none; }
.g-blackjack .cards-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; min-height: 128px; align-items: center; }
.g-blackjack .card { width: 84px; height: 124px; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 9px; animation: deal .35s var(--ease); }
.g-blackjack .card-corner, .g-blackjack .card-bottom { display: flex; flex-direction: column; align-items: center; line-height: 1; width: max-content; }
.g-blackjack .card-bottom { transform: rotate(180deg); align-self: flex-end; }
.g-blackjack .card-val { font-size: 1.15rem; }
.g-blackjack .card-suit { font-size: .85rem; }
.g-blackjack .card-center { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; }
.g-blackjack .result-message { min-height: 56px; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.g-blackjack .result-message p, .g-poker .result-message.has-text, .g-baccarat .result-msg {
  font-family: var(--font-display); font-size: 1.3rem; padding: 8px 26px; margin: 0;
  border: 1px solid var(--gold); background: rgba(7, 38, 32, .7); color: var(--gold-pale); animation: deal .35s var(--ease);
}
.g-blackjack .result-message p.win { color: #cfe8c9; border-color: #8fbf8a; }
.g-blackjack .result-message p.lose { color: #f0c9cf; border-color: #b0566a; }
.g-blackjack .result-message p.push { color: var(--gold-pale); }
.g-blackjack .result-message p.blackjack { color: var(--emerald-night); background: linear-gradient(180deg, #ead9ad, var(--gold)); font-size: 1.45rem; }
.g-blackjack .controls-area { display: grid; gap: 18px; margin-top: 30px; justify-items: center; }

@keyframes deal { from { opacity: 0; transform: translateY(-24px) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* ========== Gold Rush Reels ========== */
.g-reels .reels-container { display: flex; justify-content: center; gap: 18px; margin: 10px 0 30px; }
.g-reels .reel {
  width: 150px; height: 180px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #e9e0c8, #fffdf6 30%, #fffdf6 70%, #e9e0c8);
  border: 1px solid var(--gold-light); box-shadow: inset 0 0 0 4px #fffdf6, inset 0 0 0 5px var(--gold), 0 12px 24px -10px rgba(0, 0, 0, .6);
  transition: box-shadow .3s;
}
.g-reels .reel-symbol { width: 96px; height: 96px; display: block; user-select: none; }
.g-reels .reel.spinning .reel-symbol { animation: reelBlur .1s linear infinite; }
.g-reels .reel.winner { box-shadow: inset 0 0 0 4px #fffdf6, inset 0 0 0 5px var(--gold), 0 0 0 3px var(--gold-light), 0 0 34px rgba(220, 196, 143, .6); animation: pulse .6s ease-in-out 3; }
@keyframes reelBlur { 0% { transform: translateY(-12px); opacity: .55; } 50% { transform: none; opacity: 1; } 100% { transform: translateY(12px); opacity: .55; } }
@keyframes pulse { 50% { transform: scale(1.04); } }
.g-reels .spin-btn { min-width: 240px; margin: 24px auto 0; display: block; font-size: 1.05rem; }
.g-reels .win-message { min-height: 52px; margin-top: 20px; text-align: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-pale); opacity: 0; transition: opacity .3s; }
.g-reels .win-message.visible { opacity: 1; }
.g-reels .win-message.big-win { font-size: 1.6rem; color: #fff3d0; text-shadow: 0 0 18px rgba(220, 196, 143, .7); }
.g-reels .win-message.loss { font-family: var(--font-text); font-size: 1rem; color: #c3cdbf; }

/* Symbol value tables (both slots) */
.symbol-table { margin-top: 40px; background: var(--paper); border: 1px solid var(--gold); padding: 30px 28px; position: relative; }
.symbol-table::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--rule-soft); pointer-events: none; }
.symbol-table h2 { font-size: 1.4rem; text-align: center; }
.symbol-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; margin-top: 18px; position: relative; }
.symbol-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.symbol-row .trio { display: flex; gap: 3px; flex: none; }
.symbol-row .trio svg { width: 30px; height: 30px; }
.symbol-row .name { flex: 1; color: var(--ink-soft); }
.symbol-row .mult { font-family: var(--font-display); color: var(--emerald); font-size: 1.15rem; }
.symbol-note { text-align: center; margin-top: 16px; color: var(--ink-muted); font-size: .95rem; position: relative; }

/* ========== Gilded Poker ========== */
.g-poker .hand-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 0; max-width: 720px; margin: 0 auto 30px; border: 1px solid rgba(220, 196, 143, .5); padding: 14px 18px; background: rgba(7, 38, 32, .45); font-size: .92rem; }
.g-poker .hand-table .pair { display: flex; justify-content: space-between; gap: 10px; padding: 4px 12px; border-right: 1px solid rgba(220, 196, 143, .2); }
.g-poker .hand-table .pair:nth-child(3n) { border-right: 0; }
.g-poker .hand-name { color: #d9dfd4; }
.g-poker .hand-mult { color: var(--gold-light); font-family: var(--font-display); }
.g-poker .pair.active-hand, .g-poker .hand-name.active-hand, .g-poker .hand-mult.active-hand { color: var(--emerald-night); }
.g-poker .pair:has(.active-hand) { background: linear-gradient(180deg, #ead9ad, var(--gold)); }
.g-poker .cards-area { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.g-poker .card-slot { width: 96px; height: 140px; position: relative; cursor: pointer; }
.g-poker .card-slot.no-click { cursor: default; }
.g-poker .card-slot.deal-anim { animation: deal .3s var(--ease) both; }
.g-poker .playing-card { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.g-poker .playing-card.held { transform: translateY(-10px); box-shadow: inset 0 0 0 3px #fffdf6, inset 0 0 0 4px var(--gold), 0 0 0 3px var(--gold-light), 0 14px 22px -8px rgba(0, 0, 0, .6); }
.g-poker .card-value { font-size: 1.6rem; line-height: 1; }
.g-poker .card-suit { font-size: 1.6rem; line-height: 1.1; }
.g-poker .card-corner { position: absolute; font-size: .78rem; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.g-poker .card-corner-tl { top: 8px; left: 9px; }
.g-poker .card-corner-br { bottom: 8px; right: 9px; transform: rotate(180deg); }
.g-poker .corner-suit { font-size: .7rem; }
.g-poker .hold-badge {
  position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); opacity: 0; transition: opacity .2s;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding: 3px 10px;
  background: var(--gold-light); color: var(--emerald-night);
}
.g-poker .card-slot.held .hold-badge { opacity: 1; }
.g-poker .playing-card.winner { animation: glow .6s ease 3; }
@keyframes glow { 50% { box-shadow: inset 0 0 0 3px #fffdf6, inset 0 0 0 4px var(--gold), 0 0 26px 4px rgba(220, 196, 143, .75); } }
.g-poker .controls-area { display: grid; justify-items: center; gap: 18px; margin-top: 36px; }
.g-poker .result-message { min-height: 50px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-pale); }
.g-poker .result-message.lose { color: #c3cdbf; font-family: var(--font-text); font-size: 1rem; }
.g-poker .game-info { font-size: .9rem; color: #c3cdbf; text-align: center; }

/* ========== Emerald Roulette ========== */
.g-roulette .wheel-zone { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.g-roulette .wheel-wrap { position: relative; width: 240px; height: 240px; }
.g-roulette .wheel-ring { position: absolute; inset: 0; color: var(--gold-light); }
.g-roulette .result-circle {
  position: absolute; inset: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 3.4rem; color: var(--ivory); user-select: none;
  background: radial-gradient(circle at 40% 35%, #1b5a48, var(--emerald-night));
  border: 2px solid var(--gold); box-shadow: inset 0 0 0 5px rgba(7, 38, 32, .8), inset 0 0 0 6px rgba(220, 196, 143, .6);
  transition: background .3s;
}
.g-roulette .result-circle.spinning { animation: ringGlow .5s ease-in-out infinite; }
@keyframes ringGlow { 50% { box-shadow: inset 0 0 0 5px rgba(7, 38, 32, .8), inset 0 0 0 6px rgba(220, 196, 143, .6), 0 0 34px rgba(220, 196, 143, .55); } }
.g-roulette .result-circle.color-red { background: radial-gradient(circle at 40% 35%, #9b3043, var(--burgundy-deep)); }
.g-roulette .result-circle.color-black { background: radial-gradient(circle at 40% 35%, #3a3a36, #111311); }
.g-roulette .result-circle.color-green { background: radial-gradient(circle at 40% 35%, #2f8a62, #0b4a33); }
.g-roulette .result-message { font-family: var(--font-display); font-size: 1.35rem; color: var(--ivory); min-height: 40px; }
.g-roulette .result-message.win { color: #cfe8c9; }
.g-roulette .result-message.lose { color: #f0c9cf; }
.g-roulette .history-label { margin-top: 18px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.g-roulette .history-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 32px; }
.g-roulette .history-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: #fff; border: 1px solid var(--gold-light); }
.g-roulette .history-dot.h-red { background: var(--burgundy); }
.g-roulette .history-dot.h-black { background: #141614; }
.g-roulette .history-dot.h-green { background: #1d7a52; }
.g-roulette .bet-panel { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(220, 196, 143, .35); display: grid; gap: 26px; }
.g-roulette .bet-section-title { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.g-roulette .bet-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g-roulette .bet-type-btn small, .g-baccarat .odds-label { opacity: .8; font-size: .78rem; margin-left: 4px; }
.g-roulette .bet-type-btn.btn-red { border-color: #b0566a; }
.g-roulette .bet-type-btn.btn-red.active { background: linear-gradient(180deg, #9b3043, var(--burgundy)); color: var(--ivory); }
.g-roulette .bet-type-btn.btn-black-color.active { background: linear-gradient(180deg, #3a3a36, #111311); color: var(--ivory); }
.g-roulette .number-bet-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.g-roulette .number-bet-row label { font-size: .92rem; color: #d9dfd4; }
.g-roulette .number-input { width: 90px; padding: 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--gold); border-radius: 0; text-align: center; font-size: 1rem; }
.g-roulette .number-bet-row .bet-type-btn { flex: 1; }
.g-roulette .bet-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g-roulette .spin-zone { text-align: center; }
.g-roulette .spin-btn { min-width: 220px; }
.g-roulette .bet-summary { margin-top: 12px; font-size: .92rem; color: #c3cdbf; text-align: center; }

/* ========== Art Deco Slots ========== */
.g-deco .win-display { text-align: center; min-height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.g-deco .win-message { font-family: var(--font-display); font-size: 1.5rem; color: #fff3d0; text-shadow: 0 0 16px rgba(220, 196, 143, .6); animation: deal .35s var(--ease); }
.g-deco .no-win-message { color: #c3cdbf; }
.g-deco .reels-frame { position: relative; padding: 14px; background: rgba(7, 38, 32, .6); border: 1px solid var(--gold); }
.g-deco .payline-label { position: absolute; top: 50%; transform: translateY(-50%); left: -1px; background: var(--gold-light); color: var(--emerald-night); font-size: .62rem; letter-spacing: .14em; padding: 3px 5px; z-index: 2; }
.g-deco .payline-label-right { left: auto; right: -1px; }
.g-deco .reels-container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.g-deco .reel { background: linear-gradient(180deg, #e9e0c8, #fffdf6 30%, #fffdf6 70%, #e9e0c8); border: 1px solid var(--gold); overflow: hidden; }
.g-deco .reel-inner { display: flex; flex-direction: column; }
.g-deco .reel-cell { height: 86px; display: grid; place-items: center; padding: 12px; }
.g-deco .reel-cell svg { width: 58px; height: 58px; }
.g-deco .reel-cell.center { background: rgba(184, 151, 90, .14); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.g-deco .reel-cell.win-highlight { animation: cellGlow .6s ease-in-out infinite alternate; }
@keyframes cellGlow { from { background: rgba(184, 151, 90, .16); } to { background: rgba(184, 151, 90, .5); } }
.g-deco .reel.spinning .reel-inner { animation: reelRoll .08s linear infinite; }
@keyframes reelRoll { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
.g-deco .controls { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.g-deco .bet-section { display: flex; align-items: center; gap: 10px; }
.g-deco .bet-section label { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.g-deco .bet-select {
  appearance: none; -webkit-appearance: none; padding: 12px 40px 12px 16px; border-radius: 0; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e4a3a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ink); border: 1px solid var(--gold); font-size: 1rem; font-weight: 500;
}
.g-deco .spin-btn { min-width: 200px; }

/* ========== Velvet Baccarat ========== */
.g-baccarat .table-surface { --felt: #5a1a28; background:
    radial-gradient(ellipse at 50% 0%, rgba(220, 196, 143, .14), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #5f1c2b, #34101a); }
.g-baccarat .result-area { min-height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.g-baccarat .result-msg.win { color: #cfe8c9; border-color: #8fbf8a; }
.g-baccarat .result-msg.lose { color: #f0c9cf; border-color: #c27a88; }
.g-baccarat .card-table { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.g-baccarat .hand-area { padding: 22px 16px; min-height: 230px; display: flex; flex-direction: column; align-items: center; border: 1px solid rgba(220, 196, 143, .45); background: rgba(20, 6, 10, .35); transition: box-shadow .3s, border-color .3s; }
.g-baccarat .hand-area.winner { border-color: var(--gold-light); box-shadow: 0 0 0 2px var(--gold-light), 0 0 30px rgba(220, 196, 143, .35); }
.g-baccarat .hand-label { font-family: var(--font-caps); letter-spacing: .3em; text-transform: uppercase; font-size: .9rem; color: var(--gold-light); }
.g-baccarat .hand-value { font-family: var(--font-display); font-size: 2.4rem; color: var(--ivory); min-height: 52px; line-height: 1.4; }
.g-baccarat .hand-cards { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.g-baccarat .vs-divider { display: grid; place-items: center; font-family: var(--font-display); color: var(--gold-light); font-size: 1.2rem; font-style: italic; }
.g-baccarat .playing-card { width: 76px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: deal .35s var(--ease); }
.g-baccarat .card-value { font-size: 1.45rem; line-height: 1; }
.g-baccarat .card-suit { font-size: 1.5rem; line-height: 1.1; }
.g-baccarat .card-corner, .g-baccarat .card-corner-br { position: absolute; font-size: .7rem; line-height: 1.05; text-align: center; }
.g-baccarat .card-corner { top: 7px; left: 8px; }
.g-baccarat .card-corner-br { bottom: 7px; right: 8px; transform: rotate(180deg); }
.g-baccarat #new-round-btn { display: none; }
.g-baccarat .round-row { text-align: center; margin: 18px 0 4px; }
.g-baccarat .bet-section { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(220, 196, 143, .35); transition: opacity .3s; }
.g-baccarat .bet-section-title { text-align: center; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.g-baccarat .bet-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.g-baccarat .bet-choice-btn { padding: 18px 10px; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em; }
.g-baccarat .bet-choice-btn .odds-label { display: block; font-family: var(--font-text); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin: 4px 0 0; }
.g-baccarat .bet-amounts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.g-baccarat .deal-btn-wrap { text-align: center; }
.g-baccarat .history-section { margin-top: 26px; text-align: center; }
.g-baccarat .history-title { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.g-baccarat .history-dots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; min-height: 32px; align-items: center; }
.g-baccarat .history-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; border: 1px solid var(--gold-light); color: var(--ivory); }
.g-baccarat .history-dot.player-dot { background: var(--emerald); }
.g-baccarat .history-dot.banker-dot { background: var(--burgundy-deep); }
.g-baccarat .history-dot.tie-dot { background: var(--gold); color: var(--emerald-night); }
.g-baccarat .empty-history { color: #d9c7ca; font-style: italic; font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .game-notes { grid-template-columns: 1fr; }
  .g-roulette .wheel-zone { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
  .g-roulette .history-dots { justify-content: center; }
  .g-poker .hand-table { grid-template-columns: repeat(2, 1fr); }
  .g-poker .hand-table .pair { border-right: 0; }
  .symbol-rows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .table-surface { padding: 40px 14px 30px; margin: 8px 4px 0; }
  .table-surface .corner { width: 24px; height: 24px; top: 14px; }
  .table-surface .corner.tl, .table-surface .corner.bl { left: 14px; }
  .table-surface .corner.tr, .table-surface .corner.br { right: 14px; }
  .table-surface .corner.bl, .table-surface .corner.br { top: auto; bottom: 14px; }
  .coin-plaque { width: 100%; }
  .g-blackjack .card { width: 62px; height: 92px; padding: 5px 6px; }
  .g-blackjack .card-val { font-size: .95rem; }
  .g-blackjack .card-center { font-size: 1.5rem; }
  .g-blackjack .cards-row { min-height: 96px; gap: 8px; }
  .action-btn, .spin-btn { padding: 13px 22px; letter-spacing: .16em; }
  .g-reels .reels-container { gap: 8px; }
  .g-reels .reel { width: 31%; max-width: 110px; height: 130px; }
  .g-reels .reel-symbol { width: 70px; height: 70px; }
  .g-reels .spin-btn { min-width: 0; width: 100%; max-width: 300px; }
  .g-poker .card-slot { width: 17.5%; height: auto; aspect-ratio: 96 / 140; }
  .g-poker .cards-area { gap: 6px; }
  .g-poker .card-value, .g-poker .card-suit { font-size: 1.1rem; }
  .g-poker .card-corner { font-size: .55rem; }
  .g-poker .hold-badge { font-size: .55rem; padding: 2px 5px; letter-spacing: .1em; }
  .g-poker .hand-table { grid-template-columns: 1fr; font-size: .85rem; }
  .g-roulette .wheel-wrap { width: 200px; height: 200px; }
  .g-roulette .result-circle { inset: 34px; font-size: 2.6rem; }
  .g-roulette .bet-type-grid { grid-template-columns: repeat(2, 1fr); }
  .g-roulette .bet-amounts { grid-template-columns: repeat(2, 1fr); }
  .g-deco .reels-frame { padding: 8px; }
  .g-deco .reels-container { gap: 4px; }
  .g-deco .reel-cell { height: 58px; padding: 6px; }
  .g-deco .reel-cell svg { width: 40px; height: 40px; }
  .g-deco .payline-label { display: none; }
  .g-baccarat .card-table { grid-template-columns: 1fr; }
  .g-baccarat .hand-area { min-height: 180px; }
  .g-baccarat .playing-card { width: 60px; height: 90px; }
  .g-baccarat .bet-choices { grid-template-columns: 1fr; }
  .symbol-table { padding: 24px 16px; }
}
