/* Shared presentation layer. Game handlers and state remain in their original pages. */
.club {
  --club-bg:#0b1110; --club-panel:#151e1b; --club-raised:#1b2823;
  --club-line:#35433b; --club-gold:#e7c48b; --club-text:#f5efe3;
  --club-muted:#adbdb4; --club-felt:#154236;
  margin:0; min-height:100vh; color:var(--club-text);
  background:radial-gradient(ellipse at 50% 0,#192922 0, transparent 620px),var(--club-bg)!important;
  font-family:system-ui,"Malgun Gothic",sans-serif;
  color-scheme:dark;
}
.club *, .club *::before, .club *::after { box-sizing:border-box; }
.club a { color:var(--club-gold); }
.club :focus-visible { outline:3px solid #ffe0a4!important; outline-offset:4px; }
.club .hidden { display:none!important; }
.club .club-bar {
  position:static; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:10px 20px; max-width:none; margin:0; padding:13px max(16px,calc((100vw - 1200px)/2));
  min-height:62px; border:0; border-bottom:1px solid #3e473b; border-radius:0;
  background:#101815; color:var(--club-muted); text-align:left;
}
.club .club-wordmark { display:inline-flex; align-items:center; gap:10px; font-weight:800; text-decoration:none; color:var(--club-text); }
.club-wordmark span { color:var(--club-gold); font-size:1.5rem; line-height:1; }
.club .club-nav { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; font-size:.82rem; }
.club .club-nav a { font-weight:650; text-decoration:none; }
.club .club-nav a:hover { text-decoration:underline; }
.club .club-meta { color:var(--club-muted); font-size:.78rem; }
.club .club-main, .club main { max-width:1200px; margin:0 auto; padding:24px clamp(12px,3vw,28px) 40px; }
.club h1, .club h2, .club h3 { color:var(--club-text); letter-spacing:normal; overflow-wrap:anywhere; }
.club h1 { line-height:1.1; }
.club h2, .club h3 { margin-top:0; }
.club button, .club input, .club select { font-family:inherit; }
.club button:not(.chip):not(.bonusTile) {
  border-radius:9px; border:1px solid #76674c; min-height:40px;
  background:#28342b; color:var(--club-text); font-weight:660; cursor:pointer;
}
.club button:not(.chip):hover:not(:disabled) { filter:brightness(1.15); }
.club button:disabled { opacity:.5; cursor:default; }
.club input:not([type=range]), .club select {
  min-height:40px; padding:8px 10px; border-radius:8px; border:1px solid #566259;
  background:#0e1713; color:var(--club-text); min-width:0;
}
.club .primary, .club #enterButton, .club #start, .club #call, .club #raise,
.club #confirmBjBet, .club #betBtn, .club #deal, .club #spin {
  background:linear-gradient(#f1d59f,#c99c60)!important; color:#22170b!important; border-color:#dfb57e!important;
}
.club .muted, .club .sub { color:var(--club-muted); }
.club .panel, .club #game, .club #table, .club #lobby {
  background:var(--club-panel)!important; border:1px solid var(--club-line)!important; border-radius:16px;
}
.club .entry-shell, .club #lobby.lobby {
  width:min(100%,550px); margin:0 auto!important; padding:clamp(18px,5vw,36px);
}
.club .entry-shell h1, .club #lobby h1 { font-size:clamp(2rem,6vw,3rem); margin:0 0 10px; font-weight:780; text-align:left; }
.club .entry-shell > p, .club #lobby > p { color:var(--club-muted); margin:0 0 22px; }
.club .entry-shell form { display:grid; gap:14px; }
.club .entry-shell .entry-field { display:grid; gap:6px; text-align:left; min-width:0; color:var(--club-muted); font-size:.9rem; }
.club .entry-shell .entry-field input, .club .entry-field select { width:100%; margin:0; }
.club .entry-shell .entry-join { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px; border-top:1px solid var(--club-line); padding-top:14px; }
.club .entry-shell button { margin:0; }
.club .table-top {
  display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between;
  gap:10px; padding:0 0 12px; border-bottom:1px solid var(--club-line); margin-bottom:12px;
}
.club .table-top h2 { margin:0; font-size:clamp(1.25rem,4vw,1.7rem); }
.club .table-top .table-tools { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.club .table-tools strong { font-size:.83rem; color:var(--club-gold); }
.club .table-message { min-height:36px; margin:0 0 14px; padding:9px 12px; border-radius:8px; background:#0c1511; color:#e3dfd0; font-size:.9rem; }
.club .v5-layout { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(290px,345px); align-items:start; gap:16px; }
.club .v5-stage, .club .v5-dock { min-width:0; }
.club .v5-dock { display:grid!important; gap:12px; background:transparent!important; }
.club .v5-dock > :not(.hidden) { min-width:0; }
.club .v5-dock > #actions:not(.hidden), .club .v5-dock > #playerBetArea:not(.hidden),
.club .v5-dock > #betArea:not(.hidden), .club .v5-dock > #hostArea:not(.hidden),
.club .v5-dock > #hostcontrols:not(.hidden) {
  background:#17231e!important; border:1px solid #405046!important; border-radius:12px; padding:14px!important;
}
.club .v5-dock h3 { margin:0 0 10px; font-size:1rem; line-height:1.35; }
.club .v5-dock p { font-size:.86rem; }
.club .ui-felt {
  display:block; min-height:310px; padding:22px clamp(10px,3vw,28px)!important; border:2px solid #a08860!important;
  border-radius:22px!important; box-shadow:inset 0 0 0 5px #0d2c23,inset 0 0 65px #061e17!important;
  background:radial-gradient(ellipse at 50% 18%,#1d5847,var(--club-felt) 62%,#10362b)!important;
}
.club .ui-felt .deck52 { top:14px; right:15px; width:36px; height:52px; font-size:16px; pointer-events:none; }
.club .ui-felt #players { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:8px!important; }
.club .ui-felt #players > :is(.seat,.person) {
  display:block; min-width:0; margin:0; padding:10px 6px!important; border:1px solid #5e7969!important;
  border-radius:10px!important; background:#102d25!important; text-align:center; order:0;
  box-shadow:none; overflow-wrap:anywhere;
}
.club .ui-felt #players > :is(.seat,.person)::before { content:none; }
.club .ui-felt #players > .ui-me { border-color:#c0a272!important; }
.club .ui-felt #players > .ui-active, .club .ui-felt #players > .ui-winner {
  border-color:#f1cb82!important; outline:0!important; background:#294334!important; box-shadow:inset 0 0 0 1px #f1cb82;
}
.club .ui-felt #players .ui-fold { opacity:.65; }
.club .ui-felt .cards { justify-content:center; flex-wrap:wrap; margin:8px 0; }
.club .ui-felt .card { border-radius:7px; }
.club .ui-felt .hand.active { outline:2px solid #f1ca86; background:#294435!important; }
.club .ui-felt .hand > strong { color:var(--club-gold); }
.club .v5-dock .quickbet { flex-wrap:wrap; gap:6px; }
.club .v5-dock .chip { width:51px!important; height:51px!important; min-height:0!important; padding:0!important; font-size:11px!important; flex:0 0 51px; }
.club .v5-dock .chip.active { outline:2px solid #ffe2a0; outline-offset:2px; }
.club .v5-dock .panel { margin:0 0 10px; padding:10px; }
.club .v5-dock #betRows { display:grid; gap:5px; }
.club .v5-dock #betRows > .seat { margin:0; font-size:.82rem; }
.club .v5-dock button:not(.chip) { white-space:normal; }
.club .club-footer { margin:20px 0 0; color:var(--club-muted); font-size:.85rem; text-align:center; }
.lobby-page .lobby-hero {
  position:relative; display:flex; align-items:center; min-height:230px; overflow:hidden;
  padding:24px clamp(22px,5vw,64px); border:1px solid #756549; border-radius:22px;
  background:radial-gradient(ellipse at 80% 60%,#385747 0,transparent 65%),linear-gradient(125deg,#15261e,#1c3329);
}
.lobby-page h1 { margin:0 0 12px; font-size:clamp(2.5rem,7vw,5rem); font-weight:790; position:relative; z-index:1; }
.lobby-page .lobby-hero p { margin:0; color:#d0ddd1; position:relative; z-index:1; }
.lobby-deck { position:absolute; right:8%; display:flex; align-items:center; gap:7px; pointer-events:none; }
.lobby-deck img { width:clamp(62px,10vw,116px); height:auto; aspect-ratio:5/7; object-fit:cover; object-position:center; border-radius:8px; border:1px solid #d7b985; box-shadow:0 12px 25px #0007; }
.lobby-deck img:first-child { transform:translate(22px,12px) rotate(-14deg); }
.lobby-deck img:nth-child(2) { position:relative; z-index:1; transform:translateY(-7px); }
.lobby-deck img:last-child { transform:translate(-22px,12px) rotate(14deg); }
.lobby-page .game-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }
.lobby-page .game-option {
  display:grid; grid-template-columns:54px minmax(0,1fr) 17px; gap:12px; align-items:center;
  color:var(--club-text); text-decoration:none; min-height:103px; border:1px solid var(--club-line);
  border-radius:14px; padding:14px; background:#151e1a;
}
.lobby-page a.game-option:hover { border-color:#ac9367; background:#202e25; }
.game-icon { display:grid; place-items:center; width:54px; height:58px; border-radius:9px; border:1px solid #677465; background:#243e34; color:#f0cd95; font:700 27px Georgia,serif; }
.option-bj .game-icon { background:#263b4b; color:#dfebf3; }
.option-bac .game-icon, .option-seotda .game-icon { background:#4a2931; color:#f5cace; }
.option-slot .game-icon { background:#46364f; color:#f6d58f; }
.game-option strong, .game-option small { display:block; }
.game-option strong { font-size:1.02rem; }
.game-option small { margin-top:5px; font-size:.79rem; color:var(--club-muted); line-height:1.45; }
.option-arrow { color:var(--club-gold); }
.game-option.future { opacity:.65; }

/* Table layouts */
.holdem-page #game, .club #table, .seotda-page #game { padding:clamp(10px,2vw,20px); }
.holdem-page #game .layout { display:block; }
.holdem-page #game .play-area { min-width:0; }
.holdem-page .table-shell { padding:32px clamp(16px,5vw,60px) 54px!important; }
.holdem-page .table {
  border:8px solid #40382c!important; outline:2px solid #ab9060!important;
  background:radial-gradient(ellipse,#235744,#103529 76%)!important;
  height:clamp(365px,58vh,535px)!important;
}
.holdem-page .table::after, .holdem-page .seat .name::before { content:none; }
.holdem-page .center { top:45%; }
.holdem-page .pot { display:inline-block; margin:0 0 7px; border:1px solid #9c875e; border-radius:18px; padding:5px 13px; background:#0c2920; color:#f7d89e; }
.holdem-page #board { flex-wrap:nowrap; gap:clamp(2px,1vw,8px); }
.holdem-page #board .card { flex:0 1 clamp(30px,8vw,74px); min-width:0; height:auto; aspect-ratio:5/7; }
.holdem-page .table .seat { background:#111e17!important; border-color:#66816c!important; border-radius:10px!important; }
.holdem-page .table .seat.me { border-color:#ad966b!important; }
.holdem-page .table .seat.turn { border-color:#ffe0a2!important; outline:2px solid #eabf7b; box-shadow:0 0 14px #f2b85665; }
.holdem-page .table .seat .name { overflow:hidden; text-overflow:ellipsis; }
.holdem-page .controls { background:#14221b!important; padding:14px; }
.holdem-page .turn-status { padding:6px 12px; border-radius:8px; background:#101914; }
.holdem-page .is-turn .turn-status { color:#ffdfaa; border:1px solid #af8d59; }
.holdem-page .top > * { flex-wrap:wrap; }
.holdem-page .top .pills { gap:6px; }
.club .bj-dealer { padding:4px 40px 14px; border-bottom:1px solid #87a09351; margin-bottom:14px; text-align:center; min-height:133px; }
.club .bj-dealer #dealerScore { color:var(--club-gold); margin:8px 0 0; font-weight:700; }
.club .blackjack-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.blackjack-page .ui-felt #players > .ui-me { order:-1; grid-column:1/-1; }
.blackjack-page #players .ui-me { display:flex!important; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:7px; }
.blackjack-page #players .ui-me h3 { width:100%; }
.blackjack-page #players .ui-me .hand { flex:1 1 170px; margin:2px; }
.blackjack-page .v5-dock #actions[style*="block"] { display:grid!important; }
.club .bac-stage .layout { margin:40px 0 10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.club .bac-stage .zone { border-radius:12px!important; min-width:0; padding:14px 5px!important; }
.club .bac-stage .zone b { font-size:clamp(.75rem,2vw,1.03rem); }
.club .bac-stage .zone .cards { gap:3px; min-height:74px; }
.club .bac-stage .zone .card { flex:0 1 clamp(30px,7vw,65px); min-width:0; height:auto; aspect-ratio:5/7; }
.club .bac-stage .zone .score { display:inline-block; min-width:34px; padding:2px 6px; border:1px solid #d2b58780; border-radius:6px; background:#101a1c; }
.club .bac-stage .zone.result-win { outline:2px solid #eed18d; }
.club .bac-history { margin:12px 0 0; padding:12px; border:1px solid var(--club-line); border-radius:12px; background:#111b16; }
.club .bac-history h3 { margin:0 0 7px; }
.club #betArea .bets { gap:7px; }
.club #betArea .bet { text-align:center; min-width:0; padding:8px!important; margin:0; }
.club #betArea .bet label { margin:0 0 4px; cursor:pointer; font-size:.83rem; }
.club #betArea .bet input { min-height:0; padding:3px; font-size:1.1rem; }
.club #betArea .bet[data-key=tie] { grid-column:1/-1; }
.club .seotda-stage .ui-felt { --club-felt:#4b2a2b; background:radial-gradient(ellipse at 50% 18%,#67403a,#402626 72%,#2d2021)!important; box-shadow:inset 0 0 0 5px #352525,inset 0 0 55px #231416!important; }
.club .seotda-stage .ui-felt > .top { margin:0 42px 16px 0; justify-content:flex-start; gap:10px 17px; padding:0; }
.club .seotda-stage .ui-felt > .top strong { color:var(--club-gold); }
.club .seotda-stage .ui-felt #players > .person { background:#321f21!important; border-color:#855c52!important; }
.club .seotda-stage .ui-felt #players > .ui-me { border-color:#c6a577!important; }
.club .seotda-stage .ui-felt #players > :is(.ui-active,.ui-winner) { border-color:#f0c980!important; background:#4a342b!important; }
.club .seotda-stage .person > p { margin:4px 0; }
.club .seotda-stage .person .tag:empty { display:none; }
.club .seotda-stage .person .hwatu { width:clamp(47px,10vw,76px); height:auto; aspect-ratio:121/184; flex:0 0 clamp(47px,10vw,76px); }
.club .seotda-stage .person.ui-me .hwatu { width:clamp(54px,11vw,82px); height:auto; flex-basis:clamp(54px,11vw,82px); }
.club .seotda-stage .person .cards { flex-wrap:nowrap; }
.club .seotda-stage .ui-felt #players > .ui-me { grid-column:1/-1; order:0; }
.club .result-panel { padding:12px; border:1px solid #a48355; border-radius:10px; background:#34281b; color:#ffe3ac; }
.club .slot-main {
  --club-panel:#211b2b; max-width:960px; border:0; border-radius:0; background:transparent;
}
.club .slot-main h1 { color:#f3d397; }
.club .slot-main .reel-panel { border:1px solid #93724c; border-radius:15px; padding:8px; background:#17111f; }
.club .slot-main .meters { margin-bottom:12px; background:#17111f; border:1px solid #614966; border-radius:12px; }
.club .slot-main .meters > div { border-right:1px solid #614966; }
.club .slot-main .meters > div:last-child { border-right:0; }
.club .slot-main .betgrid { grid-template-columns:repeat(auto-fit,minmax(103px,1fr)); }
.club .slot-main .betline input { min-height:34px; }
.club .slot-main #spin { min-height:52px; }
@media (max-width:950px) {
  .club .v5-layout { grid-template-columns:minmax(0,1fr); }
  .club .v5-dock { grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr)); }
}
@media (max-width:740px) {
  .lobby-page .game-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lobby-page .lobby-hero { min-height:180px; }
  .lobby-deck { right:1%; }
  .holdem-page .table { height:330px!important; }
}
@media (max-width:475px) {
  .lobby-page .game-list { grid-template-columns:1fr; gap:8px; }
  .lobby-page .game-option { min-height:76px; padding:9px 12px; }
  .lobby-page .lobby-hero { min-height:145px; padding:15px; }
  .lobby-page h1 { font-size:2.05rem; }
  .lobby-deck { right:-29px; transform:scale(.77); }
  .club .table-top .table-tools { width:100%; }
  .club .ui-felt .deck52 { width:30px; height:43px; }
  .club .bac-stage .zone .card { flex-basis:clamp(22px,8vw,40px); }
  .club .bac-stage .zone .cards { min-height:57px; }
  .club .seotda-stage .ui-felt #players { grid-template-columns:repeat(auto-fit,minmax(min(100%,128px),1fr)); }
  .holdem-page .table-shell { padding:30px 11px 36px!important; }
  .holdem-page .table { height:315px!important; }
}
@media (prefers-reduced-motion:reduce) {
  .club *, .club *::before, .club *::after { scroll-behavior:auto!important; }
}

/* Keep shared dimensions authoritative over legacy per-game themes. */
body.club { color:var(--club-text)!important; }
.club main { max-width:1200px!important; padding:24px clamp(12px,3vw,28px) 40px!important; }
.club .slot-main { max-width:960px!important; }
.club h1, .club h2, .club h3 { font-family:inherit; }
.club .slot-main h1 { font-family:Georgia,serif; }
.club .v5-dock .quickbet { display:flex; align-items:center; }
.club .bac-stage .zone .ui-playing-card { width:auto!important; height:auto!important; }
.club .blackjack-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
.club .blackjack-actions button { margin:0; padding:8px 5px; min-width:0; }
.club .seotda-stage .ui-felt #players { grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); }
@media (max-width:620px) {
  .club main { padding:14px 10px 28px!important; }
  .club .seotda-stage .ui-felt #players { grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr)); }
  .club .seotda-stage .person .hwatu { flex:0 0 clamp(43px,9vw,57px); width:clamp(43px,9vw,57px); }
  .lobby-page .lobby-hero > div:first-child { max-width:55%; }
  .holdem-page #game .table .seat { min-width:52px; max-width:78px; }
}

.account-panel {
  margin-top:20px; padding:clamp(14px,3vw,24px); border:1px solid var(--club-line);
  border-radius:14px; background:var(--club-panel); scroll-margin-top:12px;
}
.account-panel h2 { margin:0 0 9px; font-size:1.35rem; }
.account-panel p { color:var(--club-muted); margin:0 0 12px; }
.account-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; }
.account-fields label { display:grid; gap:6px; min-width:0; font-size:.9rem; }
.account-actions { display:flex; gap:8px; margin-top:12px; }
.account-panel button { padding:8px 14px; }
.account-panel #accountError { color:#ffd6c6; margin:8px 0 0; }
.account-panel #accountError:empty { display:none; }
.account-panel #accountBalances { display:grid; grid-template-columns:repeat(auto-fit,minmax(94px,1fr)); gap:7px; }
.account-panel #accountBalances div { border:1px solid var(--club-line); padding:8px; border-radius:8px; }
.account-panel dt { color:var(--club-muted); font-size:.8rem; }
.account-panel dd { color:var(--club-gold); margin:4px 0 0; font-weight:750; overflow-wrap:anywhere; }
@media(max-width:490px) { .account-fields { grid-template-columns:1fr; } }

/* v5.6 table presentation */
.club {
  --game-accent:#e5bc7a; --game-edge:#987a53; --game-tint:#263e32;
  --club-bg:#0b1110; --club-panel:#141c1a; --club-gold:#e8c58d;
}
.club .club-bar { gap:12px; padding-block:11px; background:#101816; }
.club .club-nav { gap:8px 14px; }
.club .club-nav #accountLink { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.club .game-switch { position:relative; margin:0; font:inherit; text-align:left; }
.club .game-switch summary { cursor:pointer; color:var(--club-muted); font-weight:650; }
.club .game-switch > div {
  position:absolute; top:calc(100% + 8px); right:0; min-width:118px; padding:5px;
  border:1px solid var(--club-line); border-radius:9px; background:#17241e; z-index:55;
  box-shadow:0 9px 22px #0009;
}
.club .game-switch a { display:block; padding:8px 10px; white-space:nowrap; }
.club .game-switch a:hover { background:#283b2f; border-radius:5px; }
.lobby-page .lobby-hero {
  min-height:clamp(157px,25vw,278px);
  background:radial-gradient(ellipse at 72% 25%,#496048 0,transparent 65%),linear-gradient(125deg,#14261e,#213a2e);
  border-color:#8f7b56;
}
.lobby-page .lobby-hero::after {
  content:''; position:absolute; inset:9px; pointer-events:none; border:1px solid #b3a17445; border-radius:15px;
}
.lobby-page .game-option {
  --tile:#2b4c3d; min-height:113px; background:linear-gradient(115deg,var(--tile),#151e1a 70%);
  border-color:#526053; transition:border-color .18s,background-color .18s;
}
.lobby-page a.game-option:hover { background:linear-gradient(115deg,var(--tile),#24332a); }
.lobby-page .option-seotda { --tile:#573732; border-color:#9a7259; }
.lobby-page .option-bj { --tile:#2c4657; }
.lobby-page .option-bac { --tile:#423244; }
.lobby-page .option-slot { --tile:#50405b; }
.lobby-page .game-icon { width:51px; height:61px; border-color:#c1a77c70; box-shadow:0 4px 9px #0004; }
.club .entry-shell, .club #lobby.lobby { border-top:3px solid var(--game-edge)!important; }
.club .entry-shell h1, .club #lobby h1 { color:var(--game-accent); }
.club .table-top { border-color:#82765a66; align-items:center; }
.club .table-tools button { background:#28342b; }
.club .table-top h2 { color:var(--game-accent); }
.club .v5-dock #hostArea:not(.hidden), .club .v5-dock #hostcontrols:not(.hidden) { background:#19221d!important; }
.club .v5-dock > div > h3, .club .v5-dock > section > h3 { color:var(--game-accent); }
.club .ui-felt { border:3px solid var(--game-edge)!important; box-shadow:inset 0 0 0 5px #111a15,inset 0 0 0 6px #ffde9a40,inset 0 0 65px #061e17!important; }
.club .ui-felt > .deck52 { right:20px; top:18px; }
.holdem-page { --game-accent:#f1d296; --game-edge:#9b825a; }
.holdem-page .table .seat.turn { background:#344635!important; }
.holdem-page .pot { padding:5px 17px; font-variant-numeric:tabular-nums; }
.holdem-page .controls { border-top:2px solid #9c8153!important; }
.blackjack-page { --game-accent:#bfdded; --game-edge:#789aa9; }
.blackjack-page .ui-felt { background:radial-gradient(ellipse at 50% 20%,#264d5a,#143037 72%)!important; }
.blackjack-page .ui-felt #players > .ui-me { background:#10262d!important; border-color:#9bb6be!important; }
.blackjack-page .table-zone-label {
  display:inline-block; border-radius:99px; padding:5px 15px; background:#0d232c;
  color:#c2dde2; font-size:.9rem; margin:0 0 3px;
}
.baccarat-page { --game-accent:#edd1ab; --game-edge:#a48368; }
.baccarat-page .bac-stage .zone > b { display:grid; justify-items:center; gap:2px; }
.baccarat-page .bac-stage .zone > b span { color:#d3e0e8; font-size:.7rem; letter-spacing:.1em; }
.baccarat-page .bac-stage .zone.result-win { outline-offset:2px; }
.baccarat-page #winner:not(:empty) { padding:9px; margin:8px 0; background:#10281e; border-radius:8px; border:1px solid #d3b27c72; }
.seotda-page { --game-accent:#f5cf9e; --game-edge:#b78e67; }
.seotda-page .entry-start { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.seotda-page .seotda-live { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:7px; }
.seotda-page .seotda-live p { margin:0; }
.seotda-page #seotdaPhase { color:#ffe5b7; font-size:.78rem; border:1px solid #b7965f70; padding:4px 8px; border-radius:9px; }
.seotda-page .seotda-meters {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:4px 45px 6px 0; text-align:center;
}
.seotda-page .seotda-meters div { padding:8px 2px; border:1px solid #c5a17666; border-radius:8px; background:#2e2021; color:#f0d5ba; font-size:.76rem; }
.seotda-page .seotda-meters strong { display:block; color:#ffdf9f; font-size:clamp(.82rem,2.2vw,1.18rem); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.seotda-page .seotda-last { min-height:21px; margin:0 0 7px; text-align:center; color:#ffe3b2; font-size:.83rem; }
.seotda-page .seat-title { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:4px; min-height:22px; }
.seotda-page .seat-title span { padding:2px 5px; border-radius:5px; font-size:.69rem; background:#60403a; color:#fff0d5; }
.seotda-page .seat-chips { font-size:.77rem; color:#d8c5b4; }
.seotda-page .seat-status { color:#ffdda0; font-weight:700; }
.seotda-page .seat-status:empty { display:none; }
.seotda-page .bot-config { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:5px; align-items:center; margin:0 0 7px; }
.seotda-page .bot-config button { margin:0; }
.seotda-page #hostcontrols #deal, .seotda-page #hostcontrols #reveal { width:100%; margin:4px 0 0; }
.slot-page { --game-accent:#f0c985; --game-edge:#b59561; }
.slot-page .slot-main h1 { font-style:normal; font-size:clamp(2.25rem,8vw,4.25rem); letter-spacing:.02em; }
.slot-page .slot-main .tiers { gap:5px; }
.slot-page .slot-main .tiers .tier { background:linear-gradient(#30223b,#1e192b); }
.slot-page .slot-spin #spin { width:min(100%,290px); }
.slot-page .slot-main fieldset { background:#17141e; border-color:#795f71; }
@media(max-width:550px){
 .club .club-bar { padding-inline:12px; gap:8px; }
 .club .club-nav { column-gap:9px; }
 .club .game-switch { white-space:nowrap; }
 .club .game-switch > div { right:0; }
 .lobby-page .game-option { min-height:74px; }
 .lobby-page .game-icon { width:46px; height:49px; }
 .club .ui-felt > .deck52 { right:12px; top:14px; }
 .seotda-page .seotda-meters { margin-right:36px; }
}

.club .refill-hint { margin:0 0 9px; color:var(--club-muted); font-size:.8rem; }

#chipGrant { margin-top:18px; padding-top:14px; border-top:1px solid var(--club-line); }
#chipGrant #grantResult { margin:8px 0 0; }

.club .kakao-browser-help {
  margin:8px auto;
  width:min(calc(100% - 24px),720px);
  box-sizing:border-box;
  padding:8px 12px;
  border:1px solid var(--club-line);
  border-radius:10px;
  background:#15241e;
}
.club .kakao-browser-help summary { cursor:pointer; color:var(--club-gold); }
.club .kakao-browser-help p { margin:8px 0; }
.club .kakao-browser-help p:empty { display:none; }
.club .kakao-browser-help input { width:min(100%,360px); box-sizing:border-box; }
.club .mobile-lobby-link { white-space:nowrap; }

.club .room-voice {
  margin:0 0 12px;
  padding:10px 14px;
  border:1px solid var(--club-line);
  border-radius:12px;
  background:#15241e;
}
.club .room-voice-controls { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.club .room-voice [hidden], .club .room-voice[hidden] { display:none; }
.club .room-voice p { margin:6px 0 0; }
.club .room-voice ul { margin:6px 0 0; padding-left:20px; }
.club .room-voice ul:empty { display:none; }

/* v5.7 records shortcut in the lobby */
.lobby-page .lobby-records { margin:12px 0 4px; border-color:#7d6a43; background:linear-gradient(135deg,#2a2416,#151e1b); }

.refill-box { margin:10px 0 14px; }
.refill-box button { width:100%; min-height:46px; }
.refill-box .refill-hint { margin:6px 0 0; font-size:.82rem; }

/* v5.7 compact voice bar */
.club .room-voice { padding:0!important; }
.club .room-voice > summary { cursor:pointer; list-style:none; padding:9px 14px; display:flex; gap:6px; align-items:center; font-size:.86rem; }
.club .room-voice > summary::-webkit-details-marker { display:none; }
.club .room-voice > summary::after { content:'▾'; margin-left:auto; color:var(--club-muted); transition:transform .2s; }
.club .room-voice[open] > summary::after { transform:rotate(180deg); }
.club .room-voice .room-voice-title { font-weight:700; }
.club .room-voice .room-voice-state { color:var(--club-muted); }
.club .room-voice.on .room-voice-state { color:#8fe0a6; }
.club .room-voice > :not(summary) { margin-left:14px; margin-right:14px; }
.club .room-voice[open] { padding-bottom:10px!important; }

/* v5.7 lobby wallet bar */
.lobby-page .wallet-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 14px;
  margin:14px 0 4px; padding:12px 16px; border:1px solid #7d6a43; border-radius:14px; background:linear-gradient(135deg,#2a2416,#151e1b); }
.lobby-page .wallet-bar[hidden] { display:none; }
.lobby-page .wallet-who { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.lobby-page .wallet-name { color:var(--club-muted); font-size:.88rem; }
.lobby-page .wallet-who strong { font-size:1.35rem; color:#ffd98a; font-variant-numeric:tabular-nums; }
.lobby-page .wallet-bar.guest strong { font-size:.95rem; }
.lobby-page .wallet-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.lobby-page .wallet-actions button { min-height:38px; padding:6px 12px; background:linear-gradient(#f1d59f,#c99c60)!important; color:#22170b!important; border-color:#dfb57e!important; }
.lobby-page .wallet-actions a { font-weight:650; text-decoration:none; font-size:.88rem; }
.lobby-page .wallet-msg { flex-basis:100%; margin:0; font-size:.85rem; color:#cfe8d5; }
.lobby-page .wallet-msg:empty { display:none; }
@media (max-width:620px) { .lobby-page .wallet-bar { padding:10px 12px; } .lobby-page .wallet-actions { width:100%; } .lobby-page .wallet-actions button { flex:1; } }

/* v5.7 compact Hold'em info row on phones */
@media (max-width:620px) {
  .club #game .table-top { gap:8px; }
  .club #game .table-top .pills { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:5px; scrollbar-width:none; max-width:100%; }
  .club #game .table-top .pills::-webkit-scrollbar { display:none; }
  .club #game .table-top .pill, .club #game .table-top .copy-room { flex:none; font-size:11px!important; padding:5px 8px!important; min-height:0!important; white-space:nowrap; }
  .club #game .table-top > div:last-child button { min-height:34px; padding:6px 10px; font-size:.8rem; }
}

.lobby-page .room-badge { font-size:.72rem; font-weight:700; color:#8fe0a6; margin-left:6px; white-space:nowrap; }
