/* poker-web 치즈 스킨 🧀 — 자동 생성: 골드→치즈옐로우 명시 매핑 +
 * 남색 계열 전체를 채널스왑(B↔R)+웜 보정으로 웜브라운 변환. */

body {
  background: #100b05;
  color: #f3e8c8;
}
/* Topbar — GG dark navy */
#topbar {
  background: linear-gradient(180deg, #2a200f 0%, #221b0a 100%);
  border-bottom: 1px solid #3b321e;
}
/* G-3: text-scale toggle in topbar */
.text-scale-toggle {
  color: #c9ae76;
  border: 1px solid #3b321e;
}
.text-scale-toggle:hover {
  color: #e6d5ab;
}
body[data-text-scale="lg"] .text-scale-toggle {
  background: rgba(252,196,25,0.18);
  color: #fcc419;
  border-color: rgba(252,196,25,0.55);
}
.myinfo-top-btn {
  border: 1px solid rgba(252,196,25,0.34);
  background: rgba(252,196,25,0.10);
  color: #ffe680;
}
.myinfo-mini-avatar {
  background: linear-gradient(135deg, #696047, #271f11);
  color: #fdf8e7;
}
#title {
  color: #ffe680;
}
#balance {
  color: #c9ae76;
}
#balance b {
  color: #fcc419;
}
.ptr-indicator {
  color: #c9ae76;
}
.ptr-indicator.is-armed {
  color: #fcc419;
}
.ptr-indicator.is-refreshing {
  color: #fcc419;
}
/* Tabs */
.tabs {
  background: #221b0a;
  border-bottom: 1px solid #3b321e;
}
.tab {
  color: #8c7340;
}
.tab.active {
  color: #fcc419;
  border-bottom-color: #fcc419;
}
.tab:not(.active):hover {
  color: #e6d5ab;
}
/* Structure-type filter chip row */
.struct-chips {
  background: #221b0a;
}
.struct-chip {
  color: #c9ae76;
  border: 1px solid #3b321e;
}
.struct-chip:hover {
  color: #e6d5ab;
}
.struct-chip.active {
  background: rgba(252,196,25,0.18);
  color: #fcc419;
  border-color: rgba(252,196,25,0.55);
}
/* Lobby toolbar (검색 + 정렬) */
.lobby-toolbar {
  background: #221b0a;
  border-bottom: 1px solid #3b321e;
}
.lobby-toolbar input {
  color: #f3e8c8;
  border: 1px solid #3b321e;
}
.lobby-toolbar input::placeholder {
  color: #8c7340;
}
.lobby-toolbar input:focus {
  border-color: rgba(252,196,25,0.55);
}
.lobby-toolbar select {
  color: #e6d5ab;
  border: 1px solid #3b321e;
}
.tcard {
  background:
    linear-gradient(180deg, var(--tournament-soft-bg, rgba(255,255,255,0.02)), rgba(36,27,13,0) 45%),
    linear-gradient(180deg, #302513 0%, #241b0d 100%);
  border: 1px solid var(--tournament-border-color, #3b321e);
}
.tcard:hover {
  border-color: var(--tournament-accent-color, #554c33);
  background:
    linear-gradient(180deg, var(--tournament-soft-bg, rgba(255,255,255,0.04)), rgba(48,34,15,0) 48%),
    linear-gradient(180deg, #402f18 0%, #30220f 100%);
}
.tcard.is-mine {
  border-color: rgba(252,196,25,0.55);
  box-shadow: inset 0 0 0 1px rgba(252,196,25,0.18);
}
.tcard-fav::before {
  border: 1px solid rgba(201,174,118,0.18);
}
.tcard-fav:hover::before {
  border-color: rgba(201,174,118,0.40);
}
.tcard-fav:hover {
  border-color: rgba(201,174,118,0.40);
}
.tcard-fav .tfav-shape {
  stroke: #8c7340;
}
.tcard-fav.is-on::before {
  background: rgba(252,196,25,0.18);
  border-color: rgba(252,196,25,0.55);
}
.tcard-fav.is-on .tfav-shape {
  fill: #fcc419;
}
.tcard.is-fav {
  background: linear-gradient(180deg, #48341a 0%, #241b0d 100%);
}
/* Left accent bar — color encodes status at a glance */
.tcard::before {
  background: var(--tournament-accent-color, #696047);
}
.tcard.s-sched-bar::before {
  background: linear-gradient(180deg, #c9ae76, #696047);
}
.tcard.s-reg-bar::before,
.tcard.s-late-bar::before,
.tcard.s-play-bar::before,
.tcard.s-sched-bar::before {
  background: linear-gradient(180deg, var(--tournament-accent-color, #ffd43b), rgba(42,32,15, 0.45));
}
.tcard-head h3 {
  color: var(--tournament-title-color, #ffe680);
}
.struct-badge {
  background: rgba(201,174,118,0.12);
  color: #e6d5ab;
  border: 1px solid rgba(201,174,118,0.25);
}
.private-badge {
  background: rgba(252,196,25,0.15);
  color: #ffe680;
  border: 1px solid rgba(252,196,25,0.42);
}
.trophy-badge {
  border: 1px solid rgba(252,196,25,0.42);
  background: radial-gradient(circle at 50% 35%, rgba(252,196,25,0.24), rgba(42,32,15,0.78));
  box-shadow: 0 0 10px rgba(252,196,25,0.16);
}
.status-pill.s-sched {
  background: rgba(175,169,156,0.18);
  color: #e6d5ab;
  border: 1px solid rgba(175,169,156,0.35);
}
.status-pill.s-mine {
  background: linear-gradient(180deg, rgba(252,196,25,0.34), rgba(146,96,12,0.28));
  color: #ffe680;
  border: 1px solid rgba(252,196,25,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 10px rgba(252,196,25,0.12);
}
/* Row 2 — dense stat row (buy-in · prize · players · level) */
.tcard-stats {
  color: #c9ae76;
}
.tcard-stats .stat .lbl {
  color: #8c7340;
}
.tcard-stats .stat .val {
  color: #f3e8c8;
}
.tcard-stats .stat.prize .val {
  color: #ffe680;
}
.tcard-stats .stat.players .val {
  color: #e6d5ab;
}
/* Footer — countdown + secondary info */
.tcard-foot {
  color: #8c7340;
}
.tcard-foot .countdown {
  color: #fcc419;
}
.tcard-foot .countdown.is-closed {
  color: #c9ae76;
  background: rgba(201,174,118,0.10);
  border: 1px solid rgba(201,174,118,0.20);
}
.btn-primary {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
.btn-secondary {
  background: #554c33;
  color: #f3e8c8;
}
.btn-primary:disabled {
  background: #554c33;
  color: #8c7340;
}
.empty {
  color: #696047;
}
/* ─── F-3: Standard error card (reusable for any load-failure host) ─── */
.error-card {
  color: #e6d5ab;
}
.error-card .err-sub {
  color: #c9ae76;
}
/* ─── Lobby empty state — SVG illustration + headline + sub ─── */
.empty-illust {
  color: #8c7340;
}
.empty-illust .ei-art {
  background: radial-gradient(circle at 30% 30%, rgba(252,196,25,0.10), rgba(0,0,0,0) 70%);
}
.empty-illust .ei-headline {
  color: #e6d5ab;
}
.empty-illust .ei-sub {
  color: #8c7340;
}
/* Lobby-only fixed chrome: keep the title/tabs/filters stationary and let
   only the tournament list consume vertical scroll, including iOS WebView
   rubber-band edge cases. */
body.holdem-lobby-active {
  background: #100b05;
}
body.holdem-lobby-active #lobby {
  background: #100b05;
}
.tournament-list-scroll-area {
  background: #100b05;
}
body.holdem-cash-lobby-active {
  background: #100b05;
}
/* 상세 화면 고정 크롬 — 로비 fix의 미러. #detailBody(스트럭처/상금/참가자/
   테이블/핸드 공통 컨테이너)를 스크롤 영역으로 만들어 표가 #topbar·#detailHeader
   아래로 클리핑되게 한다. 5탭 모두 #detailBody 안이라 한 번에 적용됨. */
body.holdem-detail-active {
  background: #100b05;
}
body.holdem-detail-active #detailView {
  background: #100b05;
}
body.holdem-detail-active #detailBody {
  background: #100b05;
}
/* ─── Lobby loading skeletons (shimmer placeholder cards) ─── */
.tcard-skel {
  background: linear-gradient(180deg, #302513 0%, #241b0d 100%);
  border: 1px solid #3b321e;
}
.tcard-skel::before {
  background: #554c33;
}
/* ─── WS disconnect banner (C-8) ─── */
.ws-banner {
  background: linear-gradient(180deg, rgba(245,166,35,0.95), rgba(217,119,6,0.95));
}
.ws-banner .ws-retry {
  color: #ffe680;
}
/* ─── Level-up interstitial — full-screen LEVEL N + new blinds ─── */
.level-up-interstitial {
  background: radial-gradient(ellipse at center, rgba(42,32,15,0.85), rgba(0,0,0,0.95));
}
.lu-card {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 60%, #100b05 100%);
}
.lu-num {
  color: #ffe680;
  text-shadow: 0 0 20px rgba(252,196,25,0.6);
}
.lu-blinds {
  color: #fdf8e7;
}
.lu-ante {
  color: #e6d5ab;
  background: rgba(201,174,118,0.14);
  border: 1px solid rgba(201,174,118,0.28);
}
/* ─── Bubble alert — one-shot full-screen "한 명 남으면 상금권" warning ─── */
.bubble-alert {
  background: radial-gradient(ellipse at center, rgba(42,32,15,0.88), rgba(0,0,0,0.96));
}
.bubble-card {
  background: linear-gradient(160deg, #381c1f 0%, #422f14 50%, #100b05 100%);
}
.bubble-sub {
  color: #e6d5ab;
}
.bubble-stats {
  color: #ffe680;
}
/* ─── Table rebalance interstitial — covers the seat-vanish moment ─── */
.rebalance-interstitial {
  background: rgba(16,11,5,0.92);
}
.rb-card {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 100%);
}
.rb-title {
  color: #ffe680;
}
.rb-sub {
  color: #c9ae76;
}
.toast {
  background: linear-gradient(180deg, #3b321e, #2a200f);
  border: 1px solid #554c33;
  border-left: 3px solid #8c7340;
  color: #f3e8c8;
}
.toast.toast-warn {
  border-left-color: #f5a623;
}
.toast.toast-warn .toast-icon {
  color: #ffdd57;
}
.toast-title {
  color: #ffe680;
}
.toast-body {
  color: #f3e8c8;
}
.toast.toast-chat {
  background: linear-gradient(180deg, rgba(56,28,31,0.92), rgba(31,15,15,0.92));
}
/* Table view */
/* ─── GG-style Table View ──────────────────────────────────────────────── */

/* Top tournament info bar */
.gg-topbar {
  background: linear-gradient(180deg, #2a200f 0%, #221b0a 100%);
  border-bottom: 1px solid #3b321e;
}
.gg-topbar .back-btn {
  background: #554c33;
  color: #e6d5ab;
}
.gg-topbar .gg-lvl {
  color: #fcc419;
}
.gg-topbar .gg-blinds {
  color: #f3e8c8;
}
.gg-topbar .gg-stat {
  color: #c9ae76;
}
.gg-topbar .gg-stat strong {
  color: #e6d5ab;
}
.gg-topbar .gg-sep {
  color: #696047;
}
.gg-topbar .gg-ante {
  color: #c9ae76;
}
.gg-topbar .gg-ante::before {
  color: #c9ae76;
}
.gg-topbar .lvl-countdown {
  color: #c9ae76;
}
.gg-topbar .lvl-countdown.is-warn {
  color: #f5a623;
}
.gg-topbar .gg-hand-pill {
  color: #e6d5ab;
}
.gg-topbar .chip-mode-toggle {
  background: #554c33;
  color: #fcc419;
  border: 1px solid #696047;
}
/* legacy element kept for JS compat, hidden */

.table-snapshot-bar {
  background: rgba(16,11,5,0.86);
  border-bottom: 1px solid rgba(201,174,118,0.12);
}
.tsb-item {
  border: 1px solid rgba(201,174,118,0.16);
  background: rgba(42,32,15,0.78);
}
.tsb-item span {
  color: #c9ae76;
}
.tsb-item.is-warn strong {
  color: #ffdd57;
}
.hand-result-card {
  background: linear-gradient(180deg, rgba(42,32,15,0.98), rgba(16,11,5,0.98));
  border: 1px solid rgba(252,196,25,0.55);
  box-shadow: 0 14px 34px rgba(0,0,0,0.55), 0 0 22px rgba(252,196,25,0.12);
}
.hand-result-title {
  background: rgba(252,196,25,0.13);
  border-bottom: 1px solid rgba(252,196,25,0.25);
  color: #fcc419;
}
.hand-result-hand {
  color: #e6d5ab;
}
.hand-result-prize {
  color: #fcc419;
}
.rabbit-toggle {
  border: 1px solid rgba(252,196,25,0.55);
  background: rgba(252,196,25,0.14);
  color: #fcc419;
}
/* Felt — dark navy radial gradient with gold rim */
#felt {
  background:
    radial-gradient(ellipse 88% 50% at 50% 45%, #68591c 0%, #42360f 35%, #28220a 65%, #1a1405 100%);
}
#felt::after {
  border: 2px solid rgba(252,196,25, 0.18);
}
#community.rabbit-board::before {
  background: rgba(24,18,8,0.78);
}
/* Pot display centered below community */
#potDisplay {
  background: rgba(16,11,5,0.52);
}
#potDisplay .pot-tag {
  color: #c9ae76;
}
#potDisplay .pot-amount {
  color: #fcc419;
}
#potDisplay .pot-breakdown {
  color: #e6d5ab;
}
#potDisplay .pot-breakdown .side {
  color: #f5a623;
}
/* CSS-only playing cards (4-color deck) */
.card {
  background: linear-gradient(180deg, #ffffff 0%, #faf3dc 100%);
}
.card.back, .card.hidden-card {
  border: 1.5px solid #fff3bf;
}
.card.back::before, .card.hidden-card::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,243,191,0.25) 0 2px, transparent 2px 4px);
}
.holes.is-folded-reveal .card::after {
  background:
    repeating-linear-gradient(45deg, rgba(255,243,191,0.25) 0 2px, transparent 2px 4px),
    linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #7f1d1d 100%);
  border: 1.5px solid #fff3bf;
}
.seat .avatar {
  background: linear-gradient(135deg, #696047 0%, #3b321e 100%);
  border: 2px solid #696047;
  color: #e6d5ab;
}
.seat .name {
  color: #f3e8c8;
}
.seat .chips {
  color: #fcc419;
}
.player-note-btn {
  border: 1px solid rgba(201,174,118,0.32);
  background: rgba(42,32,15,0.9);
  color: #c9ae76;
}
.player-note-btn.has-note {
  border-color: rgba(252,196,25,0.55);
  color: #fcc419;
  background: rgba(252,196,25,0.12);
}
.seat .commit {
  color: #fcc419;
  border: 1px solid rgba(252,196,25,0.45);
}
#seatGhosts .seat-ghost::after {
  background: rgba(42,32,15,0.85);
}
.seat .toact-badge {
  background: linear-gradient(180deg, #06b6d4, #909f0e);
}
.seat .toact-badge.is-warn {
  background: linear-gradient(180deg, #ffd43b, #b45309);
}
.hero-hand-strength {
  border: 1px solid rgba(252,196,25,0.45);
  background: rgba(16,11,5,0.82);
  color: #ffe680;
}
#hero .hero-info {
  background: linear-gradient(135deg, rgba(252,196,25,0.18) 0%, rgba(0,0,0,0.7) 100%);
  border: 1.5px solid #fcc419;
  box-shadow: 0 0 24px rgba(252,196,25,0.3);
}
#hero .hero-info .avatar {
  background: linear-gradient(135deg, #f5a623 0%, #b45309 100%);
}
#hero .hero-info .name {
  color: #fff3bf;
}
#hero .hero-info .chips {
  color: #fcc419;
}
#hero .commit {
  color: #fcc419;
  border: 1px solid rgba(252,196,25,0.5);
}
/* Action panel — GG color-coded */
#actionPanel {
  background: linear-gradient(180deg, #2a200f 0%, #100b05 100%);
  border-top: 1px solid #3b321e;
}
#myStatus {
  color: #e6d5ab;
}
.action-hint {
  background: linear-gradient(180deg, rgba(14,165,233,0.18), rgba(42,32,15,0.78));
}
.action-hint span {
  color: #fff3bf;
}
#btnFold.confirming {
  box-shadow: 0 0 0 3px rgba(245,166,35,0.22), 0 0 18px rgba(245,166,35,0.36);
}
#btnFold.confirming .ab-label,
#btnFold.confirming .ab-amount {
  color: #fff3bf;
}
#btnCheckCall.ab-check {
  background: linear-gradient(180deg, #06b6d4 0%, #909f0e 100%);
}
#btnRaise.ab-raise {
  background: linear-gradient(180deg, #ffd43b 0%, #ca8a04 100%);
  color: #37311f;
}
#btnRaise.ab-raise .ab-label,
#btnRaise.ab-raise .ab-amount {
  color: #37311f;
}
#quickBets button {
  border: 1px solid #554c33;
  color: #e6d5ab;
}
#quickBets button:hover, #quickBets button:active {
  background: rgba(252,196,25,0.12);
  color: #fcc419;
  border-color: #fcc419;
}
/* Slider row with +/- and value display */
.bet-amount-preview {
  border: 1px solid rgba(252,196,25,0.38);
  background: linear-gradient(180deg, rgba(252,196,25,0.16), rgba(42,32,15,0.76));
}
.bet-preview-label {
  color: #fff3bf;
}
.bet-amount-preview strong {
  color: #fcc419;
  text-shadow: 0 2px 10px rgba(252,196,25,0.28);
}
.slider-row .step-btn {
  background: #554c33;
  color: #fcc419;
}
.manual-bet-btn {
  background: #3b321e;
  border: 1px solid #696047;
  color: #fcc419;
}
#raiseSlider input[type="range"] {
  background: #3b321e;
}
#raiseSlider input[type="range"]::-webkit-slider-thumb {
  background: #fcc419;
}
#raiseSlider input[type="range"]::-moz-range-thumb {
  background: #fcc419;
}
.bet-value {
  color: #fcc419;
}
#raiseSlider .raise-confirm {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
#raiseSlider .raise-cancel {
  background: #696047;
}
.end-backdrop {
  background:
    radial-gradient(ellipse at top, rgba(56,189,248,0.18) 0%, rgba(16,11,5,0.0) 50%),
    radial-gradient(ellipse at center, rgba(42,32,15,0.85) 0%, rgba(0,0,0,0.96) 100%);
}
.end-content {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 60%, #100b05 100%);
  border: 1px solid rgba(252,196,25,0.55);
  box-shadow:
    0 20px 60px rgba(252,196,25,0.18),
    0 0 100px rgba(252,196,25,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.end-content.is-winner {
  border-color: rgba(252,196,25,0.85);
  box-shadow:
    0 20px 60px rgba(252,196,25,0.35),
    0 0 100px rgba(252,196,25,0.22),
    inset 0 0 0 1px rgba(255,200,80,0.20);
}
#endTitle {
  color: #ffe680;
  text-shadow: 0 2px 12px rgba(252,196,25,0.55);
}
#endSubtitle {
  color: #e6d5ab;
}
#endSubtitle .prize {
  color: #ffe680;
  text-shadow: 0 0 14px rgba(252,196,25,0.45);
}
#endSubtitle .prize-detail {
  color: #fcc419;
}
.podium-step.rank-1 {
  border-color: rgba(252,196,25,0.55);
  background: linear-gradient(180deg, rgba(252,196,25,0.18), rgba(252,196,25,0.04));
  box-shadow: 0 0 22px rgba(252,196,25,0.30);
}
.podium-step.rank-2 {
  border-color: rgba(230,213,171,0.45);
  background: linear-gradient(180deg, rgba(230,213,171,0.12), rgba(230,213,171,0.02));
}
.podium-step.is-me {
  outline: 2px solid #fcc419;
}
.podium-rank {
  color: #c9ae76;
}
.podium-step.rank-1 .podium-rank {
  color: #fcc419;
}
.podium-step.rank-2 .podium-rank {
  color: #e6d5ab;
}
.podium-name {
  color: #fdf8e7;
}
.podium-prize {
  color: #ffe680;
}
.podium-prize small,
#endStandings .row .prize small {
  color: #fcc419;
}
.podium-step.rank-2 .podium-prize {
  color: #f3e8c8;
}
/* Standings (rank 4+) — compact list below podium */
#endStandings {
  border: 1px solid #3b321e;
}
#endStandings .row {
  color: #c9ae76;
}
#endStandings .row.me {
  color: #fcc419;
}
#endShare {
  color: #322e06;
}
#endClose {
  background: linear-gradient(180deg, #fcc419, #ca8a04);
  color: #37311f;
}
/* ─── 토너먼트 상세 화면 ─── */
.back-btn {
  color: #e6d5ab;
}
#detailHeader {
  background: linear-gradient(180deg, #2a200f 0%, #221b0a 100%);
  border-bottom: 1px solid #3b321e;
}
#detailTitle {
  color: #ffe680;
}
#detailBody .card-block {
  border: 1px solid #3b321e;
}
#detailBody details.card-block summary {
  color: #e6d5ab;
}
#detailSummary .row .lbl {
  color: #c9ae76;
}
#detailSummary .row .val {
  color: #fdf8e7;
}
/* B-6: fallback CTA stays above the safe-area bottom while detail content scrolls.
   When #detailActions is hidden (display:none from JS), no shadow/padding artifact remains. */
#detailActions {
  background: linear-gradient(180deg, rgba(34,27,10,0.78), rgba(16,11,5,0.92));
  border: 1px solid #3b321e;
}
.btn-primary {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
.btn-secondary {
  background: #554c33;
  color: #f3e8c8;
}
#detailTables .trow {
  border: 1px solid #3b321e;
}
#detailTables .trow.is-mine {
  border-color: rgba(252,196,25,0.50);
  background: linear-gradient(180deg, rgba(252,196,25,0.10), rgba(252,196,25,0.02));
}
#detailTables .trow .num {
  color: #ffe680;
}
#detailTables .trow .meta {
  color: #c9ae76;
}
#detailTables .trow .meta-seats {
  color: #e6d5ab;
}
#detailTables .trow .meta-avg {
  color: #c9ae76;
}
#detailTables .trow .meta-dot {
  color: #696047;
}
#detailTables .trow .seat-btn {
  color: #322e06;
}
#detailTables .trow.is-mine .seat-btn {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
#detailTables .trow .seat-btn:disabled {
  background: #554c33;
  color: #8c7340;
}
.mini-table.is-mine .mt-felt {
  fill: rgba(252,196,25,0.16);
  stroke: rgba(252,196,25,0.65);
}
.mini-table.is-mine .mt-seat.mt-occupied {
  fill: #ffe680;
}
.mini-table .mt-seat.mt-vacant {
  fill: rgba(201,174,118,0.10);
  stroke: rgba(201,174,118,0.40);
}
#actionCountdownFill {
  background: linear-gradient(90deg, #22c55e, #ffd43b 60%, #ef4444);
}
#actionCountdownLabel {
  color: #ffe680;
}
.bust-sub {
  color: #c9ae76;
}
/* ─── Replay embed overlay — 텔레그램 웹뷰 안 리플레이 (세션 쿠키 유지 iframe) ─── */
#replayEmbedOverlay {
  /* bust 모달(1100)·종료 오버레이(1000) 위 */
  background: #100b05;
}
#replayEmbedClose {
  background: rgba(42,32,15,0.85);
  color: #f3e8c8;
  border: 1px solid rgba(201,174,118,0.4);
}
/* ─── Tournament starting countdown ─── */
.starting-overlay {
  background: radial-gradient(ellipse at center, rgba(42,32,15,0.88), rgba(0,0,0,0.96));
}
.starting-card {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 60%, #100b05 100%);
  border: 1px solid rgba(252,196,25,0.55);
}
.starting-title {
  color: #fcc419;
}
.starting-secs {
  color: #fff3bf;
  text-shadow: 0 4px 16px rgba(252,196,25,0.5);
}
.starting-sub {
  color: #c9ae76;
}
.history-card {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 60%, #100b05 100%);
  border: 1px solid rgba(252,196,25,0.55);
}
.history-header {
  border-bottom: 1px solid rgba(252,196,25,0.3);
  color: #fcc419;
}
.history-header button {
  color: #fcc419;
}
.tournament-password-name {
  color: #fdf8e7;
}
.tournament-password-desc {
  color: #c9ae76;
}
.tournament-password-input {
  border: 1px solid rgba(201,174,118,0.28);
  background: rgba(23,13,2,0.62);
  color: #fdf8e7;
}
.tournament-password-input:focus {
  border-color: rgba(252,196,25,0.62);
  box-shadow: 0 0 0 3px rgba(252,196,25,0.14);
}
.tournament-password-actions button {
  border: 1px solid rgba(201,174,118,0.26);
}
.tournament-password-actions #tournamentPasswordConfirm {
  color: #221b0a;
  background: linear-gradient(180deg,#fcc419,#f5a623);
}
.ticket-register-option {
  border: 1px solid rgba(201,174,118,0.20);
  background: rgba(42,32,15,0.72);
}
.ticket-register-option strong {
  color: #fdf8e7;
}
.ticket-register-option small {
  color: #c9ae76;
}
.ticket-register-option b {
  background: rgba(252,196,25,0.14);
  color: #ffe680;
}
/* ── feat-4 PokerCraft-lite (pokercraft-lite.js) — additive, reuses .history-modal ── */
.hpc-launch-btn {
  background: rgba(252,196,25,0.12);
  border: 1px solid rgba(252,196,25,0.45);
  color: #fcc419;
}
.hpc-stat-val {
  color: #fcc419;
}
.hpc-stat-label {
  color: #e6d5ab;
}
.hpc-stat-sub {
  color: #8c7340;
}
.hpc-stats-note {
  color: #8c7340;
}
.hpc-section-title {
  color: #c9ae76;
}
.hpc-empty {
  color: #c9ae76;
}
.hpc-hand-no {
  color: #f3e8c8;
}
.hpc-hand-blinds {
  color: #c9ae76;
}
.hpc-hand-board {
  color: #e6d5ab;
}
.hpc-hole-card {
  border: 1px solid rgba(42,32,15,0.26);
}
.hpc-suit-dark {
  color: #271f11;
}
.hpc-net-even {
  color: #c9ae76;
}
.hpc-badge-fold {
  background: rgba(201,174,118,0.15);
  color: #c9ae76;
}
.hpc-replay-btn {
  background: rgba(252,196,25,0.1);
  border: 1px solid rgba(252,196,25,0.4);
  color: #fcc419;
}
.bp-empty {
  color: #c9ae76;
}
.bp-row-label {
  color: #fcc419;
}
.bp-row-desc {
  color: #e6d5ab;
}
.bp-add-row select, .bp-add-row input {
  background: rgba(42,32,15,0.92);
  border: 1px solid rgba(201,174,118,0.3);
  color: #f3e8c8;
}
.bp-add-btn {
  background: rgba(252,196,25,0.14);
  border: 1px solid rgba(252,196,25,0.45);
  color: #fcc419;
}
.bp-note {
  color: #8c7340;
}
/* 종료 토너 결과 모달 — 헤더 박스 + 순위 행 */
.results-header-box {
  color: #e6d5ab;
}
.results-header-box b {
  color: #fcc419;
}
.res-row.is-winner {
  background: linear-gradient(180deg, rgba(252,196,25,0.10), rgba(180,83,9,0.05));
  border-color: rgba(252,196,25,0.30);
}
.res-pos {
  color: #e6d5ab;
}
.res-row.is-winner .res-pos {
  color: #fcc419;
}
.res-name {
  color: #f3e8c8;
}
.res-prize {
  color: #c9ae76;
}
.res-prize.is-paid {
  color: #fcc419;
}
.res-prize-breakdown {
  color: #f5a623;
}
.res-empty {
  color: #8c7340;
}
.hand-guide-card {
  background: linear-gradient(160deg, #422f14 0%, #221b0a 62%, #100b05 100%);
  border: 1px solid rgba(252,196,25,0.55);
}
.hand-guide-head {
  border-bottom: 1px solid rgba(252,196,25,0.28);
  color: #fcc419;
}
.hand-guide-head button {
  color: #fcc419;
}
.hand-guide-row span {
  color: #c9ae76;
}
.bet-input-card {
  background: linear-gradient(180deg, #2a200f, #100b05);
  border: 1px solid rgba(252,196,25,0.45);
}
.bet-input-head {
  color: #fcc419;
}
.bet-input-head button {
  color: #fcc419;
}
#betInputField {
  border: 1px solid rgba(252,196,25,0.45);
  color: #fcc419;
}
.bet-input-range {
  color: #c9ae76;
}
.bet-keypad button,
.bet-input-actions button {
  border: 1px solid #554c33;
}
.bet-input-actions #betInputApply {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  border-color: rgba(252,196,25,0.7);
  color: #37311f;
}
.hist-name {
  color: #fff3bf;
}
.hist-meta {
  color: #c9ae76;
}
.hist-pl {
  color: #e6d5ab;
}
.hist-bounty {
  color: #fcc419;
}
.hist-badge.win {
  background: rgba(252,196,25,0.25);
  color: #ffe680;
  border: 1px solid rgba(252,196,25,0.5);
}
.hist-badge.refund {
  background: rgba(201,174,118,0.18);
  color: #e6d5ab;
  border: 1px solid rgba(201,174,118,0.3);
}
.hist-empty {
  color: #8c7340;
}
/* 기록 탭 — 다른 탭과 시각적으로 구분 */
.tab.tab-history {
  background: rgba(252,196,25,0.1);
  color: #fcc419;
}
.tab.tab-history:hover {
  background: rgba(252,196,25,0.18);
}
/* ─── 블라인드 카운트다운 ─── */
.lvl-countdown {
  color: #afa99c;
}
.lvl-countdown.is-warn {
  color: #fcc419;
}
/* ─── 토너먼트 시계 — GG-style hero clock ─── */
.tourn-clock {
  background: linear-gradient(180deg, #362a0f 0%, #221b0a 100%);
}
.tc-level {
  background: linear-gradient(180deg, rgba(252,196,25,0.16), rgba(252,196,25,0.04));
  border: 1px solid rgba(252,196,25,0.40);
}
.tc-lvl-tag {
  color: #fcc419;
}
.tc-lvl-num {
  color: #ffe680;
}
.tc-blinds-tag {
  color: #c9ae76;
}
.tc-blinds-val {
  color: #fdf8e7;
}
.tc-ante {
  color: #e6d5ab;
  background: rgba(201,174,118,0.14);
  border: 1px solid rgba(201,174,118,0.28);
}
.tc-next-tag {
  color: #c9ae76;
}
.tc-progress {
  background: rgba(201,174,118,0.14);
}
.tc-stats-row {
  color: #c9ae76;
}
.tc-stat-lbl {
  color: #8c7340;
}
.tc-stat-val {
  color: #f3e8c8;
}
.tc-stat.tc-in-money .tc-stat-val {
  color: #ffe680;
}
.tc-stat-sep {
  color: #554c33;
}
/* ─── 칩 리더 ─── */
.muted-count {
  color: #afa99c;
}
.leaders-list .lrow {
  border: 1px solid #3b321e;
}
.leaders-list .lrow.is-me {
  background: linear-gradient(180deg, rgba(252,196,25,0.16), rgba(252,196,25,0.05));
  border-color: rgba(252,196,25,0.50);
  box-shadow: 0 0 0 1px rgba(252,196,25,0.10) inset;
}
.leaders-list .lrow.is-busted .lchips {
  color: #c9ae76;
}
.leaders-list .lrow.is-busted .lrank {
  color: #8c7340;
}
.leaders-list .lrow.is-pending .lrank {
  color: #696047;
}
.leaders-list .lrank {
  color: #c9ae76;
}
.leaders-list .lrank.gold {
  color: #fcc419;
}
.leaders-list .lrank.silver {
  color: #e6d5ab;
}
.leaders-list .lchips {
  color: #ffe680;
}
.leaders-list .ltable {
  color: #8c7340;
  background: rgba(201,174,118,0.10);
  border: 1px solid rgba(201,174,118,0.18);
}
.leaders-list .empty {
  color: #8c7340;
}
/* Pinned hero row (B-3) — surface label + divider above the natural rank list. */
.leaders-list .lrow-pinned-label {
  color: #fcc419;
}
.leaders-list .lrow-divider {
  background: linear-gradient(90deg, transparent, rgba(201,174,118,0.18), transparent);
}
.table-tool-rail.is-open {
  border: 1px solid rgba(201,174,118,0.18);
  background: rgba(16,11,5,0.58);
}
.tool-menu-toggle {
  border: 1px solid rgba(252,196,25,0.45);
  background: rgba(42,32,15,0.88);
  color: #fcc419;
}
.tool-rail-btn,
.chat-toggle-btn,
.hand-history-fab {
  border: 1px solid rgba(201,174,118,0.28);
  background: rgba(42,32,15,0.86);
}
.tool-rail-icon {
  background: rgba(252,196,25,0.18);
  color: #fcc419;
}
.tool-rail-label {
  color: #f3e8c8;
}
.chat-toggle-btn {
  border-color: rgba(252,196,25,0.38);
}
/* ─── 멀티테이블 탭 스트립 (테이블 뷰 최상단) ─── */
.multi-table-strip {
  background: linear-gradient(180deg, #2a200f 0%, #241c0b 100%);
  border-bottom: 1px solid #3b321e;
}
.multi-table-strip::-webkit-scrollbar-thumb {
  background: #3b321e;
}
.mt-tab {
  border: 1px solid #3b321e;
  background: #241c0b;
  color: #e6d5ab;
}
.mt-tab.is-active {
  background: linear-gradient(180deg, #af701e, #8a5e1e);
}
.mt-tab.is-turn {
  border-color: #fcc419;
  color: #ffe680;
}
/* ─── 핸드히스토리 패널 ─── */

.hand-history-panel {
  background: linear-gradient(180deg, #2a200f 0%, #221b0a 100%);
  border-top: 1px solid #3b321e;
}
.hh-header {
  border-bottom: 1px solid #3b321e;
  background: rgba(42,32,15,0.96);
}
.hh-title {
  color: #f3e8c8;
}
.hh-filters {
  border-bottom: 1px solid rgba(59,50,30,0.9);
}
.hh-filters button {
  border: 1px solid rgba(201,174,118,0.26);
  color: #e6d5ab;
}
.hh-filters button.is-active {
  border-color: rgba(252,196,25,0.62);
  background: rgba(252,196,25,0.14);
  color: #fcc419;
}
.hh-close {
  color: #c9ae76;
}
.hh-empty {
  color: #8c7340;
}
.chat-unread-badge {
  border: 2px solid #100b05;
}
.player-note-card,
.table-settings-card {
  background: linear-gradient(180deg, #322711, #140f07);
  border: 1px solid rgba(252,196,25,0.48);
}
.player-note-head,
.table-settings-head {
  color: #fcc419;
  border-bottom: 1px solid rgba(252,196,25,0.22);
}
.player-note-head button,
.table-settings-head button {
  color: #fcc419;
}
.player-note-field span,
.setting-row span {
  color: #c9ae76;
}
.player-note-field select,
.player-note-field textarea {
  border: 1px solid rgba(201,174,118,0.28);
}
.player-note-actions button {
  border: 1px solid rgba(201,174,118,0.26);
  color: #e6d5ab;
}
#playerNoteSave {
  border-color: rgba(252,196,25,0.66);
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
.myinfo-card,
.ticket-detail-card {
  border: 1px solid rgba(252,196,25,0.42);
  background: linear-gradient(180deg, #322711 0%, #1e1707 50%, #120c03 100%);
}
.myinfo-head,
.ticket-detail-head {
  border-bottom: 1px solid rgba(252,196,25,0.20);
  color: #fcc419;
}
.myinfo-head button,
.ticket-detail-head button {
  color: #fcc419;
}
.myinfo-loading,
.myinfo-empty {
  color: #c9ae76;
}
.myinfo-avatar .avatar,
.myinfo-avatar-fallback {
  border: 2px solid rgba(252,196,25,0.58);
  background: linear-gradient(135deg, #696047 0%, #271f11 100%);
  color: #fdf8e7;
}
.myinfo-name {
  color: #fdf8e7;
}
.myinfo-id-row {
  color: #c9ae76;
}
.myinfo-copy-btn {
  border: 1px solid rgba(201,174,118,0.26);
  color: #e6d5ab;
}
.myinfo-primary {
  border: 1px solid rgba(252,196,25,0.62);
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #332917;
}
.myinfo-secondary,
.myinfo-convert-btn {
  border: 1px solid rgba(201,174,118,0.28);
  background: rgba(42,32,15,0.78);
}
.myinfo-stat {
  border: 1px solid rgba(201,174,118,0.16);
  background: rgba(42,32,15,0.68);
}
.myinfo-stat span {
  color: #c9ae76;
}
.myinfo-stat strong {
  color: #fdf8e7;
}
.myinfo-section {
  border: 1px solid rgba(201,174,118,0.14);
  background: rgba(23,13,2,0.48);
}
.myinfo-section h3 {
  color: #ffe680;
}
.myinfo-section-note,
.myinfo-nick-message {
  color: #c9ae76;
}
.myinfo-nick-grid input,
.myinfo-convert-grid select,
.myinfo-convert-grid input {
  border: 1px solid rgba(201,174,118,0.25);
  color: #fdf8e7;
}
.myinfo-nick-grid input:focus {
  border-color: rgba(252,196,25,0.58);
}
.myinfo-ticket-box {
  background: linear-gradient(180deg, rgba(42,32,15,0.90), rgba(23,13,2,0.70));
}
.myinfo-ticket-box-head span {
  color: #ffe680;
}
.myinfo-ticket-box-head strong {
  color: #fdf8e7;
}
.myinfo-ticket-chip {
  border: 1px solid rgba(201,174,118,0.16);
  color: #e6d5ab;
}
.myinfo-ticket-chip.is-active {
  border-color: rgba(252,196,25,0.62);
  background: linear-gradient(180deg, rgba(252,196,25,0.22), rgba(180,83,9,0.14));
  color: #ffe680;
  box-shadow: inset 0 0 0 1px rgba(252,196,25,0.10);
}
.myinfo-ticket-empty {
  border: 1px dashed rgba(201,174,118,0.20);
  background: rgba(42,32,15,0.42);
  color: #f3e8c8;
}
.myinfo-ticket-empty small {
  color: #c9ae76;
}
.myinfo-ledger-row,
.myinfo-ticket-row {
  border: 1px solid rgba(201,174,118,0.13);
  background: rgba(42,32,15,0.60);
}
.myinfo-ledger-row small,
.myinfo-ticket-row small,
.ticket-detail-row span {
  color: #c9ae76;
}
.myinfo-ticket-row strong {
  color: #fdf8e7;
}
.myinfo-ticket-row em {
  background: rgba(252,196,25,0.12);
  color: #ffe680;
}
.myinfo-ticket-row.is-soon {
  border-color: rgba(252,196,25,0.32);
}
.myinfo-ticket-conditions b {
  border: 1px solid rgba(201,174,118,0.15);
  color: #e6d5ab;
}
.trophy-item {
  border: 1px solid rgba(252,196,25,0.18);
  background: radial-gradient(circle at 50% 20%, rgba(252,196,25,0.14), rgba(42,32,15,0.72) 62%);
}
.trophy-item img {
  filter: drop-shadow(0 0 12px rgba(252,196,25,0.18));
}
.trophy-item strong {
  color: #ffe680;
}
.trophy-item span {
  color: #e6d5ab;
}
.trophy-empty {
  border: 1px dashed rgba(201,174,118,0.20);
  background: rgba(42,32,15,0.42);
  color: #c9ae76;
}
.myinfo-ticket-meta {
  color: #8c7340 !important;
}
.myinfo-exchange-row input {
  border: 1px solid rgba(201,174,118,0.25);
  color: #fdf8e7;
}
.myinfo-exchange-row input:focus {
  border-color: rgba(255,212,59,0.55);
}
.myinfo-exchange-quick button {
  border: 1px solid rgba(201,174,118,0.25);
  color: #e6d5ab;
}
.myinfo-exchange-quick button:active {
  background: rgba(255,212,59,0.16);
}
.myinfo-exchange-preview {
  border: 1px solid rgba(255,212,59,0.25);
  background: rgba(255,212,59,0.07);
  color: #ffe680;
}
.ticket-detail-row {
  border-bottom: 1px solid rgba(201,174,118,0.12);
}
.ticket-detail-row strong {
  color: #fdf8e7;
}
.player-profile-card {
  background:
    linear-gradient(145deg, rgba(42,32,15,0.98), rgba(23,13,2,0.98) 58%, rgba(24,19,3,0.98)),
    #120c03;
}
.player-profile-head {
  border-bottom: 1px solid rgba(201,174,118,0.18);
}
.player-profile-avatar .avatar {
  background: linear-gradient(135deg, #696047 0%, #3b321e 100%);
}
.player-profile-summary strong {
  color: #fdf8e7;
}
.player-profile-summary span {
  color: #c9ae76;
}
.player-profile-photo-btn {
  background: linear-gradient(180deg, rgba(178,201,8,0.95), rgba(144,159,14,0.95));
}
.player-profile-upload-btn {
  border-color: rgba(201,174,118,0.28);
  background: rgba(42,32,15,0.92);
}
/* feat-4 4-3: opponent memo trigger in the profile sheet (full-width row). */
.player-profile-note-btn {
  border: 1px solid rgba(252,196,25,0.5);
  background: rgba(252,196,25,0.12);
  color: #fcc419;
}
.player-profile-tabs button {
  border: 1px solid rgba(201,174,118,0.2);
  color: #e6d5ab;
}
.player-profile-row {
  border: 1px solid rgba(201,174,118,0.14);
  background: rgba(42,32,15,0.68);
}
.player-profile-row span {
  color: #c9ae76;
}
.player-profile-row strong {
  color: #fdf8e7;
}
.pp-section {
  border: 1px solid rgba(201,174,118,0.16);
  background: linear-gradient(180deg, rgba(42,32,15,0.72), rgba(23,13,2,0.58));
}
.pp-section-head strong {
  color: #fdf8e7;
}
.pp-section-head span {
  color: #c9ae76;
}
.pp-refresh {
  border: 1px solid rgba(201,174,118,0.2);
  background: rgba(42,32,15,0.78);
}
.pp-hud-gauge.pp-tone-orange {
  --pp-tone: #f5a623;
}
.pp-gauge-ring {
  background:
    radial-gradient(circle at center, #2a200f 0 52%, transparent 53%),
    conic-gradient(var(--pp-tone) calc(var(--profile-pct) * 1%), rgba(85,76,51,0.72) 0);
  box-shadow: inset 0 0 0 1px rgba(201,174,118,0.08);
}
.pp-hud-gauge.is-empty .pp-gauge-ring {
  background:
    radial-gradient(circle at center, #2a200f 0 52%, transparent 53%),
    conic-gradient(rgba(105,96,71,0.45) 100%, rgba(85,76,51,0.72) 0);
}
.pp-gauge-ring span {
  color: #fdf8e7;
}
.pp-hud-gauge strong {
  color: #e6d5ab;
}
.pp-hud-gauge em {
  color: #c9ae76;
}
.pp-street-card {
  background: rgba(42,32,15,0.72);
}
.pp-street-card > strong {
  color: #fdf8e7;
}
.pp-bar-row.pp-tone-orange {
  --pp-bar: #f5a623;
}
.pp-bar-row span,
.pp-bar-row strong {
  color: #e6d5ab;
}
.pp-bar-row strong {
  color: #fdf8e7;
}
.pp-bar-track {
  background: rgba(85,76,51,0.72);
}
.pp-performance-grid div {
  background: rgba(42,32,15,0.72);
}
.pp-performance-grid span {
  color: #c9ae76;
}
.pp-performance-grid strong {
  color: #fcc419;
}
.pp-mode-filter {
  border: 1px solid rgba(201,174,118,0.12);
  background: rgba(42,32,15,0.72);
}
.pp-mode-filter span {
  color: #c9ae76;
}
.pp-graph {
  background: rgba(42,32,15,0.72);
}
.pp-graph line {
  stroke: rgba(201,174,118,0.24);
}
.pp-graph circle {
  stroke: #af701e;
}
.pp-graph-labels span {
  color: #c9ae76;
}
.pp-win-total,
.pp-win-row {
  background: rgba(42,32,15,0.72);
}
.pp-win-total,
.pp-win-row span {
  color: #e6d5ab;
}
.pp-win-row strong {
  color: #fcc419;
}
.pp-empty,
.pp-loading,
.pp-error {
  border: 1px dashed rgba(201,174,118,0.22);
  color: #c9ae76;
}
.avatar-picker-sheet {
  color: #fdf8e7;
}
.avatar-picker-head strong {
  color: #fdf8e7;
}
.avatar-option {
  color: #afa99c;
}
.avatar-option-name {
  color: #afa99c;
}
.setting-row span {
  color: #f3e8c8;
}
.setting-row input {
  accent-color: #fcc419;
}
/* Feature 1: volume slider — opt out of the 42px checkbox sizing above. */
.setting-row-range input[type="range"] {
  accent-color: #fcc419;
}
.setting-row-select select {
  border: 1px solid rgba(252,196,25,0.42);
  background: linear-gradient(180deg, rgba(42,32,15,0.98), rgba(23,13,2,0.98));
  color: #fdf8e7;
  accent-color: #fcc419;
}
.chat-panel {
  background: linear-gradient(180deg, #2a200f 0%, #221b0a 100%);
  border-top: 1px solid #3b321e;
}
.chat-panel-title {
  color: #ffe680;
}
.chat-panel-close {
  color: #e6d5ab;
}
.chat-panel-msgs .msg .nick {
  color: #ffe680;
}
.chat-panel-msgs .msg.is-system {
  color: #afa99c;
}
.chat-panel-msgs .empty {
  color: #8c7340;
}
.chat-panel-form input {
  color: #f3e8c8;
  border: 1px solid #3b321e;
}
.chat-panel-form input:focus {
  border-color: rgba(252,196,25,0.5);
}
.chat-panel-form button {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
.raise-presets .preset {
  background: rgba(252,196,25, 0.14);
  color: #ffe680;
  border: 1px solid rgba(252,196,25, 0.32);
}
.raise-presets .preset.is-selected {
  background: rgba(252,196,25, 0.32);
  border-color: #fcc419;
}
.chip-mode-toggle {
  background: rgba(252,196,25,0.18);
  color: #ffe680;
  border: 1px solid rgba(252,196,25,0.4);
}
#preActions label {
  border: 1px solid #554c33;
  color: #e6d5ab;
}
#preActions label:has(input:checked),
#preActions label.pa-on {
  background: rgba(252,196,25,0.18);
  border-color: #fcc419;
  color: #fcc419;
  box-shadow: 0 0 12px rgba(252,196,25,0.3) inset;
}
/* Hand rank badge — shown above hero with current best hand */
.hand-rank-badge {
  background: linear-gradient(135deg, rgba(252,196,25,0.95) 0%, rgba(245,166,35,0.95) 100%);
  color: #37311f;
  box-shadow: 0 2px 10px rgba(252,196,25,0.5);
}
/* Showdown 결과 — 슬림 한 줄 배너. felt 안쪽 최상단(seats 시작 위치 위)
   에 띄워서 community cards / seats 어디도 가리지 않음. 쇼다운 참가자
   홀카드는 felt 자체에 그대로 표시되므로 팝업에 카드 row 없음. */
.hand-rank-popup {
  background: linear-gradient(135deg, rgba(252,196,25,0.94) 0%, rgba(245,166,35,0.94) 100%);
  color: #37311f;
  box-shadow: 0 4px 14px rgba(252,196,25,0.55);
}
/* Winning seat glow — applied for ~3.5s after hand_over so observers see
   which seats scooped (works for fold-walk wins too, where no hand rank
   is shown). Pulses gold around the avatar ring. */
.seat.is-winner .avatar-wrap,
#hero.is-winner .avatar-wrap {
  box-shadow: 0 0 0 3px #fcc419, 0 0 24px rgba(252,196,25,0.7);
}
@media (prefers-reduced-motion: reduce) {
  .seat.is-winner .avatar-wrap,
  #hero.is-winner .avatar-wrap {
    box-shadow: 0 0 0 4px #fcc419, 0 0 24px rgba(252,196,25,0.8);
  }
}
/* Made-hand highlight — the 5 cards forming the winning hand (board +
   winner hole cards) get a gold lift while the result is held. Non-made
   cards are dimmed so the made hand reads at a glance, like the big sites. */
#felt .card.hl-made {
  box-shadow: 0 0 0 2px #fcc419, 0 0 14px rgba(252,196,25,0.85);
}
/* All-in equity badge — small win% chip during the board run-out sweat.
   Anchored to table-surface bet-chip coordinates, never profile/card space. */
.equity-badge {
  background: linear-gradient(180deg, #1d4ed8, #8a5e1e);
}
/* Flying chip — animated bet→pot transfer. Spawned via JS as a fixed-position
   div, transitions transform+opacity to fly from seat origin to pot center. */
.flying-chip {
  background: linear-gradient(135deg, #fcc419 0%, #f5a623 100%);
  color: #37311f;
}
/* ─── Phase 2: detail-view tabs (Structure / Payouts / Players / Tables) ─── */
.detail-tabs {
  background: rgba(42,32,15,0.6);
}
.detail-tab {
  color: #c9ae76;
}
.detail-tab:hover {
  color: #e6d5ab;
}
.detail-tab.active {
  background: linear-gradient(180deg, rgba(252,196,25,0.22) 0%, rgba(245,166,35,0.12) 100%);
  color: #fcc419;
  box-shadow: 0 0 0 1px rgba(252,196,25,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.structure-help {
  background: linear-gradient(180deg, rgba(42,32,15,0.88), rgba(24,18,8,0.88));
  border: 1px solid rgba(201,174,118,0.18);
  color: #e6d5ab;
}
.structure-help-title {
  color: #fcc419;
}
.structure-help-grid span {
  color: #c9ae76;
}
/* ─── Tournament detail redesign v1 ─────────────────────────────────────── */
body.holdem-detail-active {
  background:
    radial-gradient(ellipse 110% 42% at 50% -8%, rgba(128,103,40, 0.22), transparent 58%),
    linear-gradient(180deg, #140e05 0%, #1f1907 48%, #110b03 100%) !important;
}
body.holdem-detail-active #detailHeader {
  background:
    linear-gradient(180deg, rgba(18,12,3, 0.96), rgba(18,12,3, 0.72) 76%, rgba(18,12,3, 0));
}
body.holdem-detail-active #detailTitle {
  color: #fdf8e7;
}
.detail-tags span {
  background: linear-gradient(180deg, rgba(153,116,28, 0.44), rgba(96,71,13, 0.54));
}
#detailBody #detailSummary.td-summary-banner {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,212,59, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(46,36,16, 0.98), rgba(34,26,8, 0.98) 52%, rgba(19,14,4, 0.98));
}
.td-brand-123game {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 244, 183, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(95, 65, 13, 0.24), rgba(26,19,6, 0.18));
}
.td-brand-123game::before,
.td-brand-123game::after {
  background: linear-gradient(90deg, transparent, rgba(255,212,59, 0.78), transparent);
  box-shadow: 0 0 16px rgba(255,212,59, 0.2);
}
.td-brand-123game strong,
.td-brand-123game span {
  background: linear-gradient(180deg, #fff7c2 0%, #ffd43b 30%, #b9770e 68%, #fff0a3 100%);
  text-shadow:
    0 1px 0 rgba(255, 249, 196, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.46),
    0 0 20px rgba(255,212,59, 0.2);
}
.td-brand-123game i {
  border: 1px solid rgba(255,212,59, 0.7);
  box-shadow:
    9px -3px 0 -1px rgba(210, 139, 18, 0.92),
    15px 1px 0 -2px rgba(255,212,59, 0.75);
}
.td-brand-123game em {
  box-shadow:
    12px 18px 0 -1px rgba(255,212,59, 0.9),
    -92px 8px 0 -1px rgba(255,212,59, 0.68);
}
body.holdem-detail-active .detail-tabs {
  border: 1px solid rgba(140,115,64, 0.22);
  background: rgba(34,26,8, 0.86);
}
body.holdem-detail-active .detail-tab {
  border-right: 1px solid rgba(201,174,118, 0.09);
  color: #c9ae76;
}
.td-core-card,
.td-info-card,
.td-accordion {
  border: 1px solid rgba(201,174,118, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(119,98,42, 0.28), transparent 58%),
    linear-gradient(180deg, rgba(43,34,12, 0.96), rgba(26,20,5, 0.98));
}
.td-core-top {
  border-bottom: 1px solid rgba(201,174,118, 0.18);
}
.td-core-bottom {
  border-top: 1px solid rgba(201,174,118, 0.18);
}
.td-metric {
  border-right: 1px solid rgba(201,174,118, 0.18);
}
.td-metric strong,
.td-info-row strong {
  color: #fdf8e7;
}
.td-core-top .td-metric strong {
  color: #fdf8e7;
}
.td-stack-display.is-empty {
  color: #fdf8e7;
}
.td-stack-display__main {
  color: #fdf8e7;
}
.td-stack-display__sub {
  color: #e6d5ab;
}
.td-timer-ring {
  background: conic-gradient(#f8c63f var(--td-progress), rgba(201,174,118, 0.2) 0);
}
.td-timer-ring::before {
  background: linear-gradient(180deg, #251d0a, #1f1806);
}
.td-timer-ring strong {
  color: #fdf8e7;
}
.td-section-title small {
  border: 1px solid rgba(230,213,171, 0.45);
  color: #e6d5ab;
}
.td-accordion-list {
  border: 1px solid rgba(201,174,118, 0.22);
}
.td-accordion {
  background: rgba(34,26,8, 0.88);
}
.td-accordion summary em {
  border-right: 2px solid #c9ae76;
  border-bottom: 2px solid #c9ae76;
}
.td-prize-row,
.td-blind-row {
  border: 1px solid rgba(201,174,118, 0.16);
  background: rgba(42,32,15, 0.56);
}
.td-prize-row strong,
.td-blind-row strong {
  color: #fdf8e7;
}
.td-prize-row em,
.td-blind-row em {
  color: #bbb193;
}
.prize-pool-split div {
  border: 1px solid rgba(252,196,25, 0.22);
  background: linear-gradient(180deg, rgba(252,196,25, 0.12), rgba(42,32,15, 0.42));
}
.prize-pool-split strong {
  color: #fdf8e7;
}
.prl-row {
  border: 1px solid #3b321e;
}
.prl-row.rank-1 {
  background: linear-gradient(180deg, rgba(252,196,25,0.16), rgba(252,196,25,0.04));
  border-color: rgba(252,196,25,0.55);
}
.prl-row.rank-2 {
  background: linear-gradient(180deg, rgba(230,213,171,0.10), rgba(230,213,171,0.02));
  border-color: rgba(230,213,171,0.40);
}
.prl-rank-num {
  background: #554c33;
  color: #e6d5ab;
}
.prl-rank-label {
  color: #c9ae76;
}
.prl-row.rank-1 .prl-rank-label {
  color: #fcc419;
}
.prl-row.rank-2 .prl-rank-label {
  color: #e6d5ab;
}
.prl-bar-fill {
  background: linear-gradient(90deg, #696047, #554c33);
}
.prl-row.rank-1 .prl-bar-fill {
  background: linear-gradient(90deg, #ffd43b, #ca8a04);
}
.prl-row.rank-2 .prl-bar-fill {
  background: linear-gradient(90deg, #f3e8c8, #c9ae76);
}
.prl-amount {
  color: #fdf8e7;
}
.prl-row.rank-1 .prl-amount {
  color: #ffe680;
}
.prl-pct {
  color: #8c7340;
}
.prl-row.rank-1 .prl-pct {
  color: #fcc419;
}
/* Phase A-7: floating dealer (D) button. Single element absolutely positioned
   inside #felt — JS sets `style.left` / `style.top` (in %) to the current
   dealer seat's coordinates each render. CSS transition handles the smooth
   slide between seats when dealer rotates between hands. */
#dealerBtn {
  background: radial-gradient(circle at 30% 30%, #fff3bf 0%, #f5a623 50%, #b45309 100%);
}
/* Sound toggle reuses chip-mode-toggle styling but with a different active
   state (muted = dimmed). */
#soundToggle.is-muted {
  color: #c9ae76;
}
/* Hand list (B-5) — shown in the "핸드" detail tab. Each row links to
   the replayer page. Card-style layout: top meta row, community preview, bottom action row. */
.hands-list .hand-row {
  background: linear-gradient(180deg, #302513 0%, #241b0d 100%);
  border: 1px solid #3b321e;
}
.hands-list .h-num {
  color: #ffe680;
}
.hands-list .h-blinds {
  color: #e6d5ab;
}
.hands-list .h-time {
  color: #8c7340;
}
.hands-list .tiny-card {
  background: #fdf8e7;
  color: #3b321e;
}
.hands-list .tiny-card.ts-spades {
  color: #3b321e;
}
.hands-list .h-pot-label {
  color: #8c7340;
}
.hands-list .h-pot {
  color: #fcc419;
}
.hands-list .h-replay,
.hands-list .h-image {
  background: linear-gradient(180deg, #ffd43b, #ca8a04);
  color: #37311f;
}
.hands-list .h-image {
  background: rgba(42,32,15,0.94);
  color: #e6d5ab;
  border: 1px solid rgba(201,174,118,0.30);
}
.hands-list .empty {
  color: #8c7340;
}
.hands-list .hand-list-more {
  color: #e6d5ab;
}
.hands-list .hand-list-more:hover {
  background: rgba(252,196,25,0.1);
  color: #fcc419;
  border-color: rgba(252,196,25,0.4);
}
body.holdem-table-active.holdem-final-table-bg {
  background:
    radial-gradient(ellipse 76% 34% at 50% 2%, rgba(238,178,70,0.14), transparent 44%),
    radial-gradient(ellipse 115% 70% at 50% 46%, rgba(92,34,73,0.28), transparent 64%),
    linear-gradient(180deg, #0b0712 0%, #170c18 45%, #080608 100%);
}
body.holdem-table-active.holdem-final-table-bg #felt {
  background:
    radial-gradient(ellipse 72% 32% at 50% 9%, rgba(255,207,102,0.13), transparent 42%),
    radial-gradient(ellipse 86% 58% at 50% 43%, rgba(145,56,117,0.32), transparent 58%),
    radial-gradient(ellipse 105% 66% at 50% 78%, rgba(116,23,36,0.16), transparent 64%),
    linear-gradient(180deg, #160b1e 0%, #24102b 46%, #09070b 100%);
}
body.holdem-table-active.holdem-final-table-bg #felt::before {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(168,84,191,0.19), transparent 36%),
    radial-gradient(ellipse at 50% 72%, rgba(178,51,54,0.11), transparent 50%),
    linear-gradient(180deg, rgba(74,46,59,0.95), rgba(48,32,37,0.98));
}
body.holdem-table-active .seat .avatar {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.24), transparent 22%),
    linear-gradient(145deg, #b94d47, #806c25);
  color: #fdf8e7;
}
body.holdem-table-active #potDisplay .pot-amount::before {
  background: radial-gradient(circle at 35% 25%, #8ec7ff 0 18%, #1f89f7 35%, #986f06 100%);
}
body.holdem-table-active .break-overlay {
  border: 1px solid rgba(252,196,25,0.55);
  background:
    linear-gradient(180deg, rgba(42,36,20, 0.94), rgba(24,19,7, 0.92));
  color: #fdf8e7;
}
body.holdem-table-active .break-overlay-label {
  color: #fcc419;
}
body.holdem-table-active .break-overlay.is-pending .break-overlay-label {
  color: #f3e8c8;
}
body.holdem-table-active .seat .avatar,
body.holdem-table-active .seat .lavatar {
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(145deg, #604832 0%, #756d2e 100%) !important;
}
body.holdem-table-active .player-note-btn {
  background: rgba(59,43,18, 0.9);
}
body.holdem-table-active .wait-badge {
  background: linear-gradient(180deg, #b8b087, #736b4c);
}
body.holdem-table-active #quickBets .preset {
  border: 1px solid rgba(181,154,94, 0.54);
  background: linear-gradient(180deg, #574e38, #221e17);
}
body.holdem-table-active .seat .avatar,
body.holdem-table-active .seat .lavatar,
body.holdem-table-active #hero .hero-info .avatar,
body.holdem-table-active #hero .hero-info .lavatar {
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.26), transparent 22%),
    radial-gradient(circle at 52% 50%, hsla(var(--avatar-hue, 205), 48%, 48%, 0.9), hsla(var(--avatar-hue, 205), 52%, 22%, 0.98) 72%),
    linear-gradient(145deg, #5a5135, #171717) !important;
}
body.holdem-table-active .blind-role {
  color: #1c1706;
}
body.holdem-table-active #hero .hero-nameplate {
  background:
    linear-gradient(180deg, rgba(67,61,42, 0.96), rgba(27,23,16, 0.97)) !important;
}
/* 2026-05-28 targeted v14: tournament info trigger + bottom sheet. */
body.holdem-table-active .tournament-info-trigger {
  border: 1px solid rgba(245,166,35, 0.58);
}
.tournament-info-trigger strong {
  color: #ffd43b;
}
.tis-panel {
  color: #fdf8e7;
  border: 1px solid rgba(201,174,118, 0.18);
}
.tis-header {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-meta {
  color: #c9ae76;
}
.tis-close {
  color: #fdf8e7;
}
.tis-tabs {
  border-bottom: 1px solid rgba(201,174,118, 0.18);
}
.tis-state {
  color: #c9ae76;
}
.tis-info-strip {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-info-strip > div {
  color: #e6d5ab;
}
.tis-level-hero {
  background:
    linear-gradient(90deg, transparent, rgba(201,174,118, 0.08), transparent),
    #090909;
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-level-sub {
  color: #c9ae76;
}
.tis-my-grid {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-my-grid span,
.tis-kv span {
  color: #c9ae76;
}
.tis-my-grid strong {
  color: #fdf8e7;
}
.tis-my-grid strong.is-gold,
.tis-kv strong.is-gold {
  color: #ffd43b;
}
.tis-section {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-kv strong {
  color: #fdf8e7;
}
.tis-prize-card {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.tis-prize-card span {
  color: #e6d5ab;
}
.tis-prize-card strong {
  color: #fdf8e7;
}
.tis-prize-split div {
  border: 1px solid rgba(252,196,25, 0.2);
  background: rgba(42,32,15, 0.72);
}
.tis-prize-split span {
  color: #c9ae76;
}
.tis-prize-split strong {
  color: #fdf8e7;
}
.tis-reward-block {
  border: 1px solid rgba(201,174,118, 0.12);
}
.tis-reward-block span {
  color: #c9ae76;
}
.tis-reward-block strong {
  color: #fdf8e7;
}
.tis-table th,
.tis-table td {
  border-bottom: 1px solid rgba(201,174,118, 0.17);
}
.tis-table th {
  color: #e6d5ab;
}
.tis-table .rank {
  color: #fdf8e7;
}
.tis-table tr.is-hero td,
.tis-table tr.is-current td {
  color: #ffd43b;
  background: rgba(255,212,59, 0.08);
}
.tis-table tr.is-note td {
  color: #e6d5ab;
}
.tis-table-caption {
  color: #ffd43b;
}
.tis-medal {
  color: #271f11;
}
.tis-medal.rank-1 {
  background: #ffd43b;
}
.tis-medal.rank-2 {
  background: #e6d5ab;
}
@media (min-width: 720px) {
  .tis-panel {
    border-bottom: 1px solid rgba(201,174,118, 0.18);
  }
}
body.holdem-table-active #potDisplay .pot-amount::before {
  background: radial-gradient(circle at 35% 25%, #8ec7ff 0 18%, #1f89f7 35%, #986f06 100%);
}
body.holdem-table-active .seat .avatar,
body.holdem-table-active .seat .lavatar,
body.holdem-table-active #hero .hero-info .avatar,
body.holdem-table-active #hero .hero-info .lavatar {
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.26), transparent 22%), radial-gradient(circle at 52% 50%, hsla(var(--avatar-hue, 205), 48%, 48%, 0.9), hsla(var(--avatar-hue, 205), 52%, 22%, 0.98) 72%), linear-gradient(145deg, #5a5135, #171717) !important;
}
body.holdem-table-active .wait-badge {
  background: linear-gradient(180deg, #b8b087, #736b4c) !important;
}
body.holdem-table-active .blind-role {
  color: #1c1706 !important;
}
body.holdem-table-active #hero .hero-nameplate {
  background: linear-gradient(180deg, rgba(67,61,42,0.96), rgba(27,23,16,0.97)) !important;
}
body.holdem-table-active #hero .hero-info > .name {
  background: linear-gradient(180deg, rgba(67,61,42,0.96), rgba(27,23,16,0.97)) !important;
}
body.holdem-table-active #hero .hero-info > .chips {
  background: linear-gradient(180deg, rgba(27,23,16,0.97), rgba(27,23,16,0.98)) !important;
}
body.holdem-table-active #quickBets .preset,
body.holdem-table-active #quickBets button {
  border: 1px solid rgba(181,154,94,0.54) !important;
  background: linear-gradient(180deg, #574e38, #221e17) !important;
}
body.debug-layout #layoutDebugOverlay {
  background-image:
    repeating-linear-gradient(to right, rgba(56,189,248,0.24) 0 1px, transparent 1px 5%),
    repeating-linear-gradient(to bottom, rgba(56,189,248,0.24) 0 1px, transparent 1px 5%),
    repeating-linear-gradient(to right, rgba(252,196,25,0.55) 0 2px, transparent 2px 10%),
    repeating-linear-gradient(to bottom, rgba(252,196,25,0.55) 0 2px, transparent 2px 10%);
}
body.debug-layout .layout-debug-label-y {
  color: #ffe680;
  border-color: rgba(255,230,128,0.55);
}
body.debug-layout .seat .commit,
body.debug-layout #hero .commit,
body.debug-layout #hero .hero-pending-amount {
  outline: 1px solid rgba(255,212,59,0.95);
}
body.holdem-table-active .mobile-player-panel,
body.holdem-table-active .seat .name-pill {
  border: 1px solid rgba(243,232,200, 0.22) !important;
  background: linear-gradient(180deg, rgba(35,32,24, 0.98), rgba(3, 5, 8, 0.98)) !important;
}
body.holdem-table-active #hero .hero-nameplate {
  background: linear-gradient(180deg, rgba(68,62,43, 0.98), rgba(9, 12, 16, 0.99)) !important;
}
body.holdem-table-active .mts-card {
  border: 1px solid rgba(42,32,15, 0.22);
  color: #271f11;
}
body.holdem-table-active .mts-number,
body.holdem-table-active .mts-state {
  color: #fff3bf;
}
body.holdem-table-active .mts-fallback {
  color: #e6d5ab;
}
body.holdem-table-active .seat .name-pill,
body.holdem-table-active .mobile-player-panel,
body.holdem-table-active #hero .hero-nameplate {
  background: linear-gradient(180deg, rgba(14,15,4, 0.97), rgba(1, 5, 8, 0.99)) !important;
}
body.holdem-table-active .seat .chips,
body.holdem-table-active #hero .hero-info .chips,
body.holdem-table-active #hero .hero-nameplate .chips {
  border-top: 1px solid rgba(116,127,67, 0.46) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit {
  --chip-face: #fdf8e7;
  --chip-rim: #e6d5ab;
}
body.holdem-table-active #betChipLayer .central-bet-pool strong {
  border-color: rgba(252,196,25, 0.24) !important;
}
body.holdem-table-active #betChipLayer .chip-tier-white {
  --chip-face: #fdf8e7;
  --chip-rim: #e6d5ab;
  --bet-chip-label: #fdf8e7;
}
body.holdem-table-active #betChipLayer .chip-tier-blue {
  --chip-rim: #8a5e1e;
}
body.holdem-table-active #betChipLayer .chip-tier-purple {
  --chip-rim: #95354c;
}
body.holdem-table-active #betChipLayer .chip-tier-yellow {
  --chip-face: #ffd43b;
}
body.holdem-table-active #betChipLayer .chip-tier-black {
  --chip-rim: #120c03;
  --chip-stripe: #f5a623;
  --chip-core: #fff3bf;
  --bet-chip-label: #fcc419;
}
/* FINAL OVERRIDE — mobile multi-table layout + table theme colors. */
body.holdem-table-active {
  --holdem-theme-accent: #ffd43b;
  --holdem-theme-accent-soft: rgba(255,212,59, 0.28);
}
body[data-holdem-table-theme="standard"].holdem-table-active {
  --holdem-theme-accent: #ffd43b;
  --holdem-theme-accent-soft: rgba(255,212,59, 0.30);
}
body[data-holdem-table-theme="big"].holdem-table-active {
  --holdem-theme-bg-top: #261e06;
  --holdem-theme-bg-mid: #463b0b;
  --holdem-theme-bg-bottom: #140d02;
  --holdem-theme-felt-hi: #9d891d;
  --holdem-theme-felt-mid: #5f5210;
  --holdem-theme-felt-low: #261e06;
  --holdem-theme-rail: #2a2207;
}
body[data-holdem-table-theme="bounty"].holdem-table-active {
  --holdem-theme-bg-top: #270f16;
  --holdem-theme-bg-mid: #50202b;
  --holdem-theme-felt-hi: #a83b6d;
  --holdem-theme-felt-mid: #64283b;
  --holdem-theme-felt-low: #2a1117;
  --holdem-theme-rail: #32121c;
}
body[data-holdem-table-theme="satellite"].holdem-table-active {
  --holdem-theme-accent: #f5a623;
  --holdem-theme-accent-soft: rgba(245,166,35, 0.34);
}
body[data-holdem-table-theme="fallback"].holdem-table-active {
  --holdem-theme-accent: #ffd43b;
  --holdem-theme-accent-soft: rgba(255,212,59, 0.28);
  --holdem-theme-bg-mid: #2a2720;
  --holdem-theme-felt-hi: #68645b;
  --holdem-theme-felt-mid: #413d34;
}
/* Final table atmosphere override.
   Keep it in the late theme section so it wins over themed !important felt
   backgrounds without moving any foreground UI. */
body.holdem-table-active.holdem-final-table-bg {
  background:
    radial-gradient(ellipse 76% 34% at 50% 2%, rgba(238,178,70,0.14), transparent 44%),
    radial-gradient(ellipse 115% 70% at 50% 46%, rgba(92,34,73,0.28), transparent 64%),
    linear-gradient(180deg, #0b0712 0%, #170c18 45%, #080608 100%) !important;
}
body.holdem-table-active.holdem-final-table-bg #felt {
  background:
    radial-gradient(ellipse at 50% 27%, rgba(255,207,102,0.16), transparent 48%),
    radial-gradient(ellipse at 50% 54%, rgba(145,56,117,0.30), transparent 62%),
    linear-gradient(180deg, #160b1e 0%, #24102b 46%, #09070b 100%) !important;
}
body.holdem-table-active.holdem-final-table-bg #felt::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), transparent 9%, transparent 91%, rgba(0,0,0,0.30)),
    radial-gradient(ellipse at 50% 38%, rgba(168,84,191,0.22), rgba(74,46,59,0.95) 54%, rgba(48,32,37,0.98) 100%) !important;
}
body.holdem-table-active.holdem-final-table-bg #felt::after {
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255,238,187,0.13), transparent 62%),
    radial-gradient(ellipse at 50% 70%, rgba(0,0,0,0.42), transparent 72%),
    linear-gradient(180deg, rgba(74,46,59,0.95) 0%, rgba(48,32,37,0.98) 48%, rgba(19,15,25,1) 100%) !important;
}
body.holdem-table-active .mts-slot.theme-standard {
  --mts-accent: #ffd43b;
  --mts-border: rgba(255,212,59, 0.48);
  --mts-glow: rgba(255,212,59, 0.28);
}
body.holdem-table-active .mts-slot.theme-big {
  --mts-bg-a: rgba(138,123,20, 0.94);
  --mts-bg-b: rgba(50,42,6, 0.96);
}
body.holdem-table-active .mts-slot.theme-bounty {
  --mts-bg-a: rgba(158,68,95, 0.94);
  --mts-bg-b: rgba(62,23,35, 0.96);
}
body.holdem-table-active .mts-slot.theme-satellite {
  --mts-accent: #f5a623;
  --mts-border: rgba(245,166,35, 0.52);
  --mts-glow: rgba(245,166,35, 0.32);
}
body.holdem-table-active .mts-slot.theme-fallback {
  --mts-accent: #ffd43b;
  --mts-border: rgba(255,212,59, 0.44);
  --mts-bg-a: rgba(73,69,61, 0.94);
  --mts-glow: rgba(255,212,59, 0.26);
}
body.holdem-table-active .gg-topbar-actions .table-lobby-menu {
  color: #fff3bf !important;
  border-color: rgba(255,212,59, 0.54) !important;
}
body.holdem-table-active .mts-timer-badge {
  color: #161604 !important;
}
body.holdem-table-active .mts-timer-badge.timer-warn {
  background: linear-gradient(180deg, #ffe680, #f5a623) !important;
}
body.holdem-table-active .mts-slot.needs-action.timer-warn:not(.is-active) {
  border-color: rgba(255,212,59, 0.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 0 2px rgba(255,212,59, 0.20), 0 0 14px rgba(255,212,59, 0.32), 0 4px 10px rgba(0,0,0,0.28) !important;
}
body.holdem-break-active .break-overlay {
  border-color: rgba(252,196,25,0.68) !important;
  background:
    linear-gradient(180deg, rgba(29,24,14, 0.98), rgba(17,13,4, 0.96)) !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,0.58),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 30px rgba(252,196,25,0.12) !important;
}
body.holdem-break-active .break-overlay-title {
  color: #ffd43b !important;
}
body.holdem-break-active .break-overlay-sub {
  color: rgba(230,213,171, 0.78) !important;
}
/* ═══ 오픈베타 배지 — 상단 타이틀 옆 (2026-06-10) ═══ */
.open-beta-badge {
  border: 1px solid rgba(252,196,25, 0.55);
  color: #ffd43b;
}
body.holdem-table-active #actionButtons button.is-submitting {
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.26),
    0 0 18px rgba(252,196,25,0.42) !important;
}
/* ═══ 2026-06-11 v87: 채팅 FAB — 우하단 고정 오버레이 ═══
   채팅 클라이언트(app.js 아레나 룸 연동)는 이전부터 있었지만 진입 버튼이
   죽은 .table-tool-rail(위 11335/11948 display:none) 안에 있어 입구가 없었다.
   현재순위 트리거(좌하단, v14 블록)의 미러로 우하단에 원형 FAB 를 세운다.
   위치는 액션 패널의 표시/숨김 상태와 무관하게 항상 패널 예약 높이를 기준으로
   고정한다.
   #actionPanel 슬롯(v76)·히어로 anchor(v80) 계약은 건드리지 않는다. */
body.holdem-table-active .chat-fab {
  border: 1px solid rgba(245,166,35, 0.58);
  background: linear-gradient(180deg, rgba(42,32,15, 0.94), rgba(42,32,15, 0.82));
  color: #fcc419;
}
body.holdem-table-active #hero .hero-turn-badge.is-warn {
  background: linear-gradient(180deg, rgba(255,212,59, 0.98), rgba(180, 83, 9, 0.98)) !important;
  box-shadow:
    0 0 0 1px rgba(24, 13, 0, 0.82),
    0 0 14px rgba(255,212,59, 0.86),
    0 0 26px rgba(245,166,35, 0.38) !important;
}
body.holdem-table-active .seat .toact-badge.is-warn,
body.holdem-table-active #hero .hero-turn-badge.is-warn {
  background: linear-gradient(180deg, rgba(255,212,59, 0.98), rgba(180, 83, 9, 0.98)) !important;
  box-shadow:
    0 0 0 1px rgba(24, 13, 0, 0.82),
    0 0 13px rgba(255,212,59, 0.76),
    0 4px 10px rgba(0, 0, 0, 0.64) !important;
}
body.holdem-table-active .seat .action-result-badge {
  color: #fdf8e7 !important;
}
body.holdem-table-active .action-result-raise {
  background: linear-gradient(180deg, rgba(255,212,59, 0.98), rgba(180, 83, 9, 0.98)) !important;
}
body.holdem-table-active .action-result-fold {
  background: linear-gradient(180deg, rgba(201,174,118, 0.96), rgba(105,96,71, 0.98)) !important;
}
body.holdem-table-active .chip-rank-belt {
  border: 2px solid var(--rank-main, rgba(255,212,59, 0.9)) !important;
  background:
    radial-gradient(circle at 50% 50%, transparent 56%, var(--rank-glow, rgba(255,212,59, 0.16)) 58%, transparent 74%),
    repeating-conic-gradient(from 8deg, transparent 0 18deg, var(--rank-soft, rgba(255,212,59, 0.34)) 18deg 26deg, transparent 26deg 44deg) !important;
  box-shadow:
    0 0 0 1px rgba(18,12,3, 0.86),
    0 0 13px var(--rank-glow, rgba(255,212,59, 0.46)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
}
body.holdem-table-active .chip-rank-mark {
  background: linear-gradient(180deg, var(--rank-light, #fde047), var(--rank-main, #ffd43b) 56%, var(--rank-dark, #a16207)) !important;
}
body.holdem-table-active .chip-rank-mark::before {
  background: linear-gradient(180deg, var(--rank-light, #fde047), var(--rank-main, #ffd43b)) !important;
}
body.holdem-table-active .chip-rank-text {
  background: linear-gradient(180deg, var(--rank-light, #fde047), var(--rank-main, #ffd43b) 54%, var(--rank-dark, #a16207)) !important;
}
body.holdem-table-active .chip-rank-1 {
  --rank-main: #ffd43b;
  --rank-soft: rgba(255,212,59, 0.34);
  --rank-glow: rgba(255,212,59, 0.52);
}
body.holdem-table-active .chip-rank-2 {
  --rank-light: #fdf8e7;
  --rank-main: #e6d5ab;
  --rank-dark: #8c7340;
  --rank-soft: rgba(243,232,200, 0.32);
  --rank-glow: rgba(243,232,200, 0.44);
  --rank-ink: #271f10;
}
body.holdem-table-active #hero .hero-emote-button,
body.holdem-table-active.holdem-action-open #hero .hero-emote-button,
body.holdem-table-active.holdem-action-panel-visible #hero .hero-emote-button {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(59,50,30, 0.96), rgba(24,19,6, 0.96)) !important;
  color: #fff3bf !important;
  box-shadow:
    0 0 0 1px rgba(18,12,3, 0.86),
    0 6px 14px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.table-emote-panel {
  border: 1px solid rgba(255,212,59, 0.22) !important;
  background: linear-gradient(180deg, rgba(42,32,15, 0.98), rgba(18,12,3, 0.98)) !important;
}
.table-emote-panel-head {
  color: #fff3bf !important;
}
.table-emote-close {
  background: rgba(42,32,15, 0.82) !important;
}
.table-emote-option {
  background: linear-gradient(180deg, rgba(59,50,30, 0.86), rgba(42,32,15, 0.82)) !important;
  color: #fdf8e7 !important;
}
.table-emote-option-label {
  color: rgba(243,232,200, 0.92) !important;
}
body.holdem-table-active .table-emote-bubble {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243,232,200, 0.98)) !important;
  color: #2a200f !important;
}
body.holdem-table-active .table-emote-bubble::after {
  background: rgba(243,232,200, 0.98) !important;
}
body.holdem-table-active .pko-ko-streak {
  filter: drop-shadow(0 0 8px rgba(255,212,59, 0.9));
}
body.holdem-table-active .pko-ko-bolt {
  background: radial-gradient(circle, #fff7ad 0 22%, #ffd43b 23% 48%, #ef4444 49% 70%, rgba(239,68,68,0) 71%);
  box-shadow: 0 0 16px rgba(255,212,59, 0.95), 0 0 26px rgba(239, 68, 68, 0.7);
}
body.holdem-table-active .pko-ko-token {
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.42), rgba(127,29,29,0.92) 60%, rgba(39,31,17,0.95));
}
body.holdem-table-active .pko-ko-gain {
  border: 1px solid rgba(252,196,25, 0.82);
  background: rgba(18,13,7, 0.9);
  box-shadow: 0 0 16px rgba(252,196,25, 0.45);
}
body.holdem-table-active .mystery-bounty-activation-dim {
  background: rgba(23,13,2,0.62);
}
body.holdem-table-active .mystery-bounty-activation-card {
  border: 1px solid rgba(252,196,25,0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,212,59,0.16), transparent 42%),
    linear-gradient(180deg, rgba(42,32,15,0.98), rgba(23,15,2,0.97));
  color: #fdf8e7;
}
body.holdem-table-active .mystery-bounty-activation-kicker {
  color: #fcc419;
}
body.holdem-table-active .mystery-bounty-activation-card h3 {
  color: #fdf8e7;
}
body.holdem-table-active .mystery-bounty-activation-card p {
  color: #e6d5ab;
}
body.holdem-table-active .mystery-bounty-activation-summary div {
  border: 1px solid rgba(201,174,118,0.2);
  background: rgba(42,32,15,0.72);
}
body.holdem-table-active .mystery-bounty-activation-summary span {
  color: #c9ae76;
}
body.holdem-table-active .mystery-bounty-activation-summary strong {
  color: #ffe680;
}
body.holdem-table-active .mystery-bounty-activation-row {
  border: 1px solid rgba(252,196,25,0.22);
  background: linear-gradient(90deg, rgba(252,196,25,0.12), rgba(59,50,30,0.54));
}
body.holdem-table-active .mystery-bounty-activation-row strong {
  color: #fff3bf;
}
body.holdem-table-active .mystery-bounty-activation-empty {
  border: 1px solid rgba(201,174,118,0.22);
  background: rgba(42,32,15,0.62);
}
body.holdem-table-active .mystery-bounty-activation-ok {
  background: linear-gradient(180deg, #ffd43b, #d97706);
  color: #271f11;
}
body.holdem-table-active .mystery-bounty-activation-overlay.is-disabled .mystery-bounty-activation-card {
  border-color: rgba(201,174,118,0.38);
}
body.holdem-table-active .mystery-bounty-card {
  border: 1px solid rgba(252,196,25,0.62);
  background:
    radial-gradient(circle at 50% 36%, rgba(252,196,25,0.18), transparent 44%),
    linear-gradient(180deg, rgba(33,25,10,0.96), rgba(18,12,3,0.94));
  color: #fdf8e7;
}
body.holdem-table-active .mystery-bounty-skip {
  border: 1px solid rgba(201,174,118,0.38);
  background: rgba(42,32,15,0.74);
  color: #e6d5ab;
}
body.holdem-table-active .mystery-bounty-title {
  color: #fcc419;
  text-shadow: 0 0 18px rgba(252,196,25,0.42);
}
body.holdem-table-active .mystery-bounty-ko {
  color: #e6d5ab;
}
body.holdem-table-active .mystery-bounty-rays {
  background: radial-gradient(circle, rgba(255,212,59,0.54), rgba(37,99,235,0.18) 34%, transparent 67%);
}
body.holdem-table-active .mystery-bounty-lock {
  background: linear-gradient(180deg, #fff3bf, #d49a1d 58%, #7c4a03);
  box-shadow: 0 0 15px rgba(252,196,25,0.35);
}
body.holdem-table-active .mystery-bounty-lock::before {
  border: 4px solid rgba(255,243,191,0.94);
}
body.holdem-table-active .mystery-bounty-key::before {
  border: 5px solid #ffd43b;
  box-shadow: 0 0 13px rgba(255,212,59,0.72);
}
body.holdem-table-active .mystery-bounty-key span {
  box-shadow: 0 0 12px rgba(255,212,59,0.72);
}
body.holdem-table-active .mystery-bounty-result strong {
  color: #ffe680;
  text-shadow: 0 2px 0 rgba(87,48,7,0.75), 0 0 22px rgba(252,196,25,0.82);
}
body.holdem-table-active .mystery-bounty-result span,
body.holdem-table-active .mystery-bounty-result em {
  color: #f3e8c8;
}
body.holdem-table-active .mystery-bounty-confirm {
  background: linear-gradient(180deg, #ffd43b, #d97706);
  color: #271f11;
}
body.holdem-table-active .mystery-tier-epic .mystery-bounty-card,
body.holdem-table-active .mystery-tier-legendary .mystery-bounty-card {
  box-shadow: 0 24px 80px rgba(0,0,0,0.72), 0 0 42px rgba(252,196,25,0.24), inset 0 1px 0 rgba(255,255,255,0.1);
}
body.holdem-table-active .mystery-tier-legendary .mystery-bounty-sparkles i {
  background: #fff3bf;
}
/* Card deck settings */
body.holdem-table-active .gg-topbar-actions .card-deck-menu-btn {
  color: #ffe680 !important;
  border-color: rgba(255,212,59, 0.54) !important;
}
.card-deck-settings-card {
  border: 1px solid rgba(255,212,59, 0.34);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,212,59, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(32, 32, 31, 0.98), rgba(8, 10, 12, 0.98));
}
.card-deck-settings-head {
  border-bottom: 1px solid rgba(255,212,59, 0.18);
}
.card-deck-settings-head strong {
  color: #ffe680;
}
.card-deck-settings-head button {
  background: rgba(42,32,15, 0.7);
}
.card-deck-preview-panel,
.card-deck-option-block {
  border: 1px solid rgba(255,212,59, 0.25);
}
.card-deck-preview-panel {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(172,78,98, 0.34), transparent 63%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(8, 9, 10, 0.96));
}
.card-skin-option.is-selected {
  border-color: rgba(255,212,59, 0.92);
  box-shadow:
    0 0 0 1px rgba(255,212,59, 0.46),
    0 0 18px rgba(255,212,59, 0.2);
}
.card-skin-check {
  background: linear-gradient(180deg, #ffe680, #f5a623);
  color: #271f11;
}
.card-deck-settings-actions button {
  border: 1px solid rgba(255,212,59, 0.42);
}
#cardDeckSettingsApply {
  border-color: rgba(255,212,59, 0.78);
}
body[data-card-front-skin="dark"],
.deck-preview-card[data-preview-front="dark"] {
  --deck-front-bg: linear-gradient(180deg, #211d17 0%, #050608 100%);
  --deck-spade-color: #fdf8e7;
  --deck-heart-color: #fdf8e7;
  --deck-diamond-color: #fdf8e7;
  --deck-club-color: #fdf8e7;
  --deck-spade-rank-color: #fdf8e7;
  --deck-spade-suit-color: #fdf8e7;
  --deck-heart-rank-color: #fdf8e7;
  --deck-heart-suit-color: #fdf8e7;
  --deck-diamond-rank-color: #fdf8e7;
  --deck-diamond-suit-color: #fdf8e7;
  --deck-club-rank-color: #fdf8e7;
  --deck-club-suit-color: #fdf8e7;
}
body[data-card-front-skin="simple_color"],
.deck-preview-card[data-preview-front="simple_color"] {
  --deck-front-border: 1px solid rgba(39,31,17, 0.1);
  --deck-spade-color: #271f11;
  --deck-spade-rank-color: #271f11;
  --deck-spade-suit-color: #271f11;
}
body[data-card-back-skin="blue_classic"],
.deck-preview-card[data-preview-back="blue_classic"] {
  --deck-back-bg: linear-gradient(135deg, #7d5c15 0%, #2563eb 52%, #684f08 100%);
  --deck-back-fold-bg: repeating-linear-gradient(45deg, rgba(219, 234, 254, 0.28) 0 3px, transparent 3px 8px), linear-gradient(135deg, #7d5c15 0%, #2563eb 52%, #684f08 100%);
}
body[data-card-back-skin="black_gray"],
.deck-preview-card[data-preview-back="black_gray"] {
  --deck-back-bg: linear-gradient(135deg, #635d4b 0%, #271f11 54%, #120c03 100%);
  --deck-back-fold-bg: repeating-linear-gradient(45deg, rgba(229, 231, 235, 0.22) 0 3px, transparent 3px 8px), linear-gradient(135deg, #635d4b 0%, #271f11 54%, #120c03 100%);
}
body[data-card-back-skin="purple"],
.deck-preview-card[data-preview-back="purple"] {
  --deck-back-bg: linear-gradient(135deg, #95354c 0%, #7c3aed 52%, #65222e 100%);
  --deck-back-fold-bg: repeating-linear-gradient(45deg, rgba(221, 214, 254, 0.25) 0 3px, transparent 3px 8px), linear-gradient(135deg, #95354c 0%, #7c3aed 52%, #65222e 100%);
}
body[data-card-back-skin="back_123game_black_gold"],
.deck-preview-card[data-preview-back="back_123game_black_gold"] {
  --deck-back-bg:
    radial-gradient(circle at 50% 22%, rgba(255,212,59, 0.2), transparent 30%),
    linear-gradient(135deg, #2b2110 0%, #050505 54%, #15110a 100%);
  --deck-back-pattern:
    repeating-linear-gradient(45deg, rgba(255,212,59, 0.14) 0 2px, transparent 2px 7px),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255,212,59, 0.22) 35% 37%, transparent 38%);
  --deck-back-fold-bg:
    repeating-linear-gradient(45deg, rgba(255,212,59, 0.14) 0 2px, transparent 2px 7px),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255,212,59, 0.22) 35% 37%, transparent 38%),
    radial-gradient(circle at 50% 22%, rgba(255,212,59, 0.2), transparent 30%),
    linear-gradient(135deg, #2b2110 0%, #050505 54%, #15110a 100%);
}
body.holdem-table-active[data-user-table-theme="purple_neon"],
.table-theme-preview[data-preview-table-theme="purple_neon"],
.table-theme-swatch[data-preview-table-theme="purple_neon"] {
  --holdem-theme-bg-top: #200b13;
  --holdem-theme-bg-mid: #481a2a;
  --holdem-theme-felt-hi: #b44d7c;
  --holdem-theme-felt-mid: #6d273d;
  --holdem-theme-felt-low: #240b16;
  --holdem-theme-rail: #31101d;
}
body.holdem-table-active[data-user-table-theme="blue_casino"],
.table-theme-preview[data-preview-table-theme="blue_casino"],
.table-theme-swatch[data-preview-table-theme="blue_casino"] {
  --holdem-theme-bg-top: #261e06;
  --holdem-theme-bg-mid: #4d410b;
  --holdem-theme-bg-bottom: #150d02;
  --holdem-theme-felt-hi: #ab9c1f;
  --holdem-theme-felt-mid: #665812;
  --holdem-theme-felt-low: #261e06;
  --holdem-theme-rail: #2c2407;
}
body.holdem-table-active .gg-topbar-actions .table-settings-menu-btn {
  color: #ffe680 !important;
  border-color: rgba(255,212,59, 0.54) !important;
}
.table-settings-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,212,59, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(32, 32, 31, 0.98), rgba(8, 10, 12, 0.98));
  border-color: rgba(255,212,59, 0.34);
}
.table-settings-head strong {
  color: #ffe680;
}
.table-settings-head button {
  background: rgba(42,32,15, 0.7);
}
.table-theme-preview-panel,
.table-theme-option-block,
.table-theme-toggle-row {
  border: 1px solid rgba(255,212,59, 0.25);
}
.table-theme-skin-option.is-selected,
.table-logo-mode-option.is-selected {
  border-color: rgba(255,212,59, 0.92);
  box-shadow:
    0 0 0 1px rgba(255,212,59, 0.46),
    0 0 18px rgba(255,212,59, 0.2);
}
.table-theme-check {
  background: linear-gradient(180deg, #ffe680, #f5a623);
  color: #271f11;
}
.table-theme-toggle-row input {
  accent-color: #fcc419;
}
.table-settings-actions button {
  border: 1px solid rgba(255,212,59, 0.42);
}
#tableSettingsApply {
  border-color: rgba(255,212,59, 0.78);
}
/* Cash ring-game lobby/table */
.mode-switch {
  border: 1px solid rgba(201,174,118, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #2b2211 0%, #151005 100%);
}
.mode-switch-btn {
  border: 1px solid rgba(201,174,118, 0.18);
  background:
    linear-gradient(180deg, rgba(58,50,31, 0.96), rgba(28,22,9, 0.96));
}
.mode-switch-btn.is-active {
  color: #271f10;
}
#cashLobby {
  background: linear-gradient(180deg, rgba(18,16,6, 0.98), rgba(24,21,9, 0.98));
}
.cash-lobby-head h2 {
  color: #fdf8e7;
}
.cash-refresh-btn {
  background: rgba(42,32,15, 0.86);
}
.cash-stake-chip {
  border: 1px solid rgba(201,174,118, 0.22);
  background: rgba(42,32,15, 0.78);
  color: #e6d5ab;
}
.cash-table-card {
  border: 1px solid rgba(201,174,118, 0.20);
  background:
    linear-gradient(135deg, rgba(42,32,15, 0.98), rgba(37,38,12, 0.98));
  color: #f3e8c8;
}
.cash-table-main strong {
  color: #fdf8e7;
}
.cash-table-main small {
  color: #c9ae76;
}
.cash-table-grid span {
  background: rgba(23,13,2, 0.34);
}
.cash-table-grid em {
  color: #8c7340;
}
.cash-table-grid b {
  color: #fdf8e7;
}
.cash-seat-meter {
  background: rgba(140,115,64, 0.26);
}
.cash-seat-meter i {
  background: linear-gradient(90deg, #14b8a6, #f5a623);
}
.cash-skel-line,
.cash-skel-row span {
  background: linear-gradient(90deg, rgba(85,76,51, 0.7), rgba(140,115,64, 0.55), rgba(85,76,51, 0.7));
}
.cash-empty {
  border: 1px dashed rgba(201,174,118, 0.28);
  color: #c9ae76;
}
#cashTableView {
  background:
    linear-gradient(180deg, #05080d, #1c1a0c 54%, #100e07);
}
.cash-table-topbar {
  border-bottom: 1px solid rgba(201,174,118, 0.16);
}
.cash-table-back {
  border: 1px solid rgba(201,174,118, 0.22);
  background: rgba(42,32,15, 0.82);
  color: #f3e8c8;
}
.cash-table-meta strong {
  color: #fdf8e7;
}
.cash-table-meta span {
  color: #c9ae76;
}
.cash-felt::before {
  border: 15px solid #201c12;
  background:
    linear-gradient(180deg, rgba(8, 111, 98, 0.95), rgba(76,92,10, 0.95));
}
.cash-pot {
  border: 1px solid rgba(255,230,128, 0.32);
  background: rgba(42,32,15, 0.72);
}
.cash-pot span {
  color: #ffdd57;
}
.cash-pot strong {
  color: #fdf8e7;
}
.cash-card.is-empty {
  border: 1px solid rgba(243,232,200, 0.14);
  background: rgba(42,32,15, 0.30);
}
.cash-card.is-back {
  background:
    repeating-linear-gradient(45deg, rgba(20, 184, 166, 0.22) 0 5px, rgba(42,32,15, 0.8) 5px 10px),
    #2a200f;
}
.cash-seat {
  border: 1px solid rgba(201,174,118, 0.22);
  background: rgba(28,25,13, 0.92);
  color: #f3e8c8;
}
.cash-seat.is-empty {
  background: rgba(42,32,15, 0.56);
  color: #c9ae76;
}
.cash-seat-join {
  color: #e6d5ab;
}
.cash-avatar {
  background: linear-gradient(180deg, #554c33, #2a200f);
  color: #fdf8e7;
}
.cash-seat-info strong {
  color: #fdf8e7;
}
.cash-seat-info em {
  color: #e6d5ab;
}
.cash-seat-state {
  color: #8c7340;
}
.cash-seat-bet {
  background: #f5a623;
  color: #271f11;
}
.cash-seat.is-to-act {
  border-color: rgba(255,212,59, 0.9);
  box-shadow: 0 0 0 2px rgba(255,212,59, 0.16), 0 0 18px rgba(255,212,59, 0.18);
}
.cash-dealer-btn {
  border: 2px solid #271f11;
  background: #fdf8e7;
  color: #2a200f;
}
.cash-bet-slider output {
  color: #fdf8e7;
}
.cash-action-buttons button {
  color: #fdf8e7;
}
.cash-buyin-card {
  background: #18150b;
  color: #f3e8c8;
}
.cash-buyin-head,
.cash-buyin-actions {
  border-bottom: 1px solid rgba(201,174,118, 0.14);
}
.cash-buyin-head strong {
  color: #fdf8e7;
}
#cashBuyInClose {
  background: rgba(201,174,118, 0.12);
  color: #e6d5ab;
}
.cash-buyin-table {
  color: #e6d5ab;
}
.cash-buyin-range {
  color: #8c7340;
}
#cashBuyInAmountOut {
  color: #fdf8e7;
}
.cash-buyin-check {
  color: #e6d5ab;
}
.cash-buyin-actions {
  border-top: 1px solid rgba(201,174,118, 0.14);
}
.cash-buyin-actions button {
  border: 1px solid rgba(201,174,118, 0.22);
  background: rgba(42,32,15, 0.88);
  color: #f3e8c8;
}
.cash-create-field > span {
  color: #c9ae76;
}
.cash-create-field input[type="text"],
.cash-create-field input[type="password"] {
  background: rgba(42,32,15, 0.88);
  color: #f3e8c8;
}
.cash-create-stake,
.cash-create-size {
  border: 1px solid rgba(201,174,118, 0.22);
  background: rgba(42,32,15, 0.88);
  color: #e6d5ab;
}
.cash-create-info {
  color: #c9ae76;
}
/* Cash table visual pass: reuse the tournament table language while preserving
   the fixed horizontal ring-game seat map. */
body.holdem-cash-table-active {
  background:
    radial-gradient(ellipse at 50% 28%, rgba(29, 78, 216, 0.16), transparent 52%),
    linear-gradient(180deg, #1d1509 0%, #130f07 52%, #02040a 100%);
}
body.holdem-cash-table-active .cash-table-topbar {
  background: linear-gradient(180deg, rgba(42,32,15, 0.96), rgba(24,18,8, 0.94));
}
body.holdem-cash-table-active .cash-felt {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(20, 184, 166, 0.20), transparent 56%),
    linear-gradient(180deg, rgba(18,13,5, 0.86), rgba(2, 5, 10, 0.98));
}
body.holdem-cash-table-active .cash-felt::before {
  border: clamp(12px, 2.4vw, 18px) solid rgba(42,32,15, 0.92);
  background:
    radial-gradient(ellipse at 50% 31%, rgba(69, 211, 184, 0.34), transparent 46%),
    linear-gradient(180deg, rgba(12, 148, 126, 0.94), rgba(92,115,5, 0.96) 56%, rgba(62,71,4, 0.98));
}
body.holdem-cash-table-active .cash-felt::after {
  border: 2px solid rgba(201,174,118, 0.18);
}
body.holdem-cash-table-active .cash-card.card.placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 9%, transparent 9%),
    linear-gradient(180deg, rgba(87,86,54, 0.64), rgba(48,44,21, 0.78));
}
body.holdem-cash-table-active .cash-card.card.hidden-card {
  background:
    repeating-linear-gradient(45deg, rgba(20, 184, 166, 0.28) 0 4px, rgba(42,32,15, 0.72) 4px 8px),
    linear-gradient(135deg, #342b0f, #394006);
}
body.holdem-cash-table-active .cash-pot {
  border-color: rgba(252,196,25, 0.24);
  background: linear-gradient(180deg, rgba(42,32,15, 0.94), rgba(18,12,3, 0.96));
}
body.holdem-cash-table-active .cash-pot strong::before {
  background: radial-gradient(circle at 35% 25%, #8edbff 0 18%, #1689ff 35%, #966f07 100%);
}
body.holdem-cash-table-active .cash-seat:not(.is-empty) {
  color: #fdf8e7;
}
body.holdem-cash-table-active .cash-seat .avatar,
body.holdem-cash-table-active .cash-seat .lavatar {
  border: 2px solid rgba(18,15,9, 0.96);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #696047 0%, #543917 100%) !important;
  color: #fdf8e7 !important;
}
body.holdem-cash-table-active .cash-seat.is-to-act .avatar,
body.holdem-cash-table-active .cash-seat.is-to-act .lavatar {
  box-shadow:
    0 0 0 4px rgba(255,212,59, 0.24),
    0 0 24px rgba(255,212,59, 0.74),
    0 8px 18px rgba(0, 0, 0, 0.68);
}
body.holdem-cash-table-active .cash-seat .name-pill {
  background: linear-gradient(180deg, rgba(27,22,11, 0.96), rgba(14,10,2, 0.94));
}
body.holdem-cash-table-active .cash-seat .name {
  color: #fdf8e7;
}
body.holdem-cash-table-active .cash-seat .chips {
  color: #fff3bf;
}
body.holdem-cash-table-active .cash-seat .toact-badge.is-warn {
  background: linear-gradient(180deg, #ffd43b, #b45309);
}
body.holdem-cash-table-active .cash-seat .action-result-raise {
  background: linear-gradient(180deg, #ffd43b, #b45309);
}
body.holdem-cash-table-active .cash-seat .action-result-fold {
  background: linear-gradient(180deg, #f3f4f6, #afa99c);
}
body.holdem-cash-table-active .cash-seat .wait-badge {
  background: linear-gradient(180deg, #c9ae76, #696047);
}
body.holdem-cash-table-active .cash-seat .role-badge {
  background: radial-gradient(circle at 35% 28%, #fef08a, #f5a623 72%, #92400e);
}
body.holdem-cash-table-active .cash-seat.is-empty {
  border: 1px dashed rgba(201,174,118, 0.28);
  background: rgba(31,24,10, 0.72);
}
body.holdem-cash-table-active .cash-dealer-btn {
  border-color: #170d02;
  background: #fdf8e7;
}
body.holdem-cash-table-active #cashBetChipLayer .table-bet-chip {
  color: #fdf8e7;
}
body.holdem-cash-table-active #cashBetChipLayer .bet-chip-unit {
  --chip-face: #fdf8e7;
  --chip-rim: #e6d5ab;
}
body.holdem-cash-table-active #cashBetChipLayer .central-bet-pool strong {
  border-color: rgba(252,196,25, 0.24);
}
body.holdem-cash-table-active #cashBetChipLayer .chip-tier-white {
  --chip-face: #fdf8e7;
  --chip-rim: #e6d5ab;
  --bet-chip-label: #fdf8e7;
}
body.holdem-cash-table-active #cashBetChipLayer .chip-tier-blue {
  --chip-rim: #8a5e1e;
}
body.holdem-cash-table-active #cashBetChipLayer .chip-tier-purple {
  --chip-rim: #95354c;
}
body.holdem-cash-table-active #cashBetChipLayer .chip-tier-yellow {
  --chip-face: #ffd43b;
}
body.holdem-cash-table-active #cashBetChipLayer .chip-tier-black {
  --chip-rim: #120c03;
  --chip-stripe: #f5a623;
  --chip-core: #fff3bf;
  --bet-chip-label: #fcc419;
}
body.holdem-cash-table-active .cash-action-panel {
  background:
    linear-gradient(180deg, rgba(22,17,4, 0.84), rgba(10,7,1, 0.98));
}
body.holdem-cash-table-active .cash-bet-slider output {
  color: #fff3bf;
}
.cash-flying-chip {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.42), transparent 20%),
    linear-gradient(135deg, #fef08a 0%, #f5a623 100%);
  color: #37311f;
}
body.holdem-cash-table-active[data-user-table-theme="purple_neon"] {
  --holdem-theme-bg-top: #200b13;
  --holdem-theme-bg-mid: #481a2a;
  --holdem-theme-felt-hi: #b44d7c;
  --holdem-theme-felt-mid: #6d273d;
  --holdem-theme-felt-low: #240b16;
  --holdem-theme-rail: #31101d;
}
body.holdem-cash-table-active[data-user-table-theme="blue_casino"] {
  --holdem-theme-bg-top: #261e06;
  --holdem-theme-bg-mid: #4d410b;
  --holdem-theme-bg-bottom: #150d02;
  --holdem-theme-felt-hi: #ab9c1f;
  --holdem-theme-felt-mid: #665812;
  --holdem-theme-felt-low: #261e06;
  --holdem-theme-rail: #2c2407;
}
body.holdem-cash-table-active .cash-table-actions-top .cash-settings-btn {
  border-color: rgba(255,212,59, 0.48);
  color: #ffe680;
}
body.holdem-cash-table-active .cash-pot {
  border-color: rgba(255,212,59, 0.26);
}
body.holdem-cash-table-active .cash-seat .avatar,
body.holdem-cash-table-active .cash-seat .lavatar {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.26), transparent 22%),
    radial-gradient(circle at 52% 50%, hsla(var(--avatar-hue, 205), 48%, 48%, 0.9), hsla(var(--avatar-hue, 205), 52%, 22%, 0.98) 72%),
    linear-gradient(145deg, #5a5135, #171717) !important;
}
body.holdem-cash-table-active .cash-action-panel,
body.holdem-cash-table-active .cash-action-panel.hidden {
  background: linear-gradient(180deg, rgba(20,15,4, 0.48), rgba(10,7,1, 0.93) 22%, rgba(0, 0, 0, 0.98) 100%) !important;
}
body.holdem-cash-table-active .cash-action-hint {
  background: linear-gradient(180deg, rgba(26,23,9, 0.72), rgba(14,11,4, 0.86));
}
/* Cash 6-max mobile layout v147: hero cluster anchored just above primary actions. */
body.holdem-cash-table-active {
  background:
    radial-gradient(circle at 50% 36%, rgba(117,104,19, 0.72), transparent 60%),
    linear-gradient(180deg, #0b0902 0%, #1d1706 46%, #02050a 100%) !important;
}
body.holdem-cash-table-active #topbar {
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.96), rgba(24,19,9, 0.86)) !important;
}
body.holdem-cash-table-active #cashTableView {
  background:
    radial-gradient(circle at 50% 36%, rgba(117,104,19, 0.54), transparent 62%),
    linear-gradient(180deg, rgba(13,10,3, 0.98), #1d1706 58%, #02050a 100%) !important;
}
body.holdem-cash-table-active .cash-table-topbar {
  border-bottom: 1px solid rgba(201,174,118, 0.14) !important;
  background: linear-gradient(180deg, rgba(24,19,9, 0.92), rgba(18,14,6, 0.76)) !important;
}
body.holdem-cash-table-active .cash-table-menu-toggle {
  background: rgba(18,14,5, 0.80) !important;
}
body.holdem-cash-table-active .cash-table-menu-popover {
  background: rgba(16,12,4, 0.95) !important;
}
body.holdem-cash-table-active .cash-table-menu-meta {
  border: 1px solid rgba(252,196,25, 0.22) !important;
  background: linear-gradient(180deg, rgba(38,31,16, 0.88), rgba(16,12,4, 0.92)) !important;
}
body.holdem-cash-table-active .cash-felt::before {
  background:
    radial-gradient(ellipse at 50% 24%, rgba(255, 255, 255, 0.15), transparent 45%),
    radial-gradient(ellipse at 50% 72%, rgba(0, 0, 0, 0.42), transparent 68%),
    linear-gradient(180deg, #8f8311 0%, #6f5e0a 48%, #3d3104 100%) !important;
}
body.holdem-cash-table-active .cash-hand-result-panel {
  border: 1px solid rgba(252,196,25, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(252,196,25, 0.18), transparent 62%),
    rgba(13,10,3, 0.90);
  color: #fdf8e7;
}
body.holdem-cash-table-active .cash-hand-result-sub {
  color: rgba(243,232,200, 0.94);
}
body.holdem-cash-table-active .cash-hand-result-row {
  color: rgba(243,232,200, 0.86);
}
body.holdem-cash-table-active .cash-seat.is-winner .avatar,
body.holdem-cash-table-active .cash-seat.is-winner .lavatar {
  box-shadow:
    0 0 0 2px rgba(255,212,59, 0.35),
    0 0 18px rgba(34, 211, 238, 0.66),
    0 0 28px rgba(255,212,59, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.72) !important;
}
body.holdem-cash-table-active #cashFelt .card.hl-made {
  outline: 2px solid rgba(252,196,25, 0.95);
  box-shadow: 0 0 14px rgba(252,196,25, 0.62), 0 6px 12px rgba(0, 0, 0, 0.46);
}
body.holdem-cash-table-active .cash-blind-text {
  color: rgba(243,232,200, 0.72);
}
body.holdem-cash-table-active .cash-seat:not([data-display-slot="hero"]).is-to-act .avatar,
body.holdem-cash-table-active .cash-seat:not([data-display-slot="hero"]).is-to-act .lavatar {
  box-shadow:
    0 0 0 2px rgba(255,212,59, 0.22),
    0 0 16px rgba(34, 211, 238, 0.55),
    0 7px 16px rgba(0, 0, 0, 0.64) !important;
}
body.holdem-cash-table-active .cash-seat.is-empty {
  background: rgba(24,19,3, 0.62) !important;
}
body.holdem-cash-table-active .cash-action-panel,
body.holdem-cash-table-active .cash-action-panel.hidden {
  border: 1px solid rgba(170,161,75, 0.42) !important;
  background: rgba(18,14,6, 0.95) !important;
}
body.holdem-cash-table-active .cash-join-actions button {
  background: linear-gradient(180deg, #3d3b34, #0d0f13);
  color: #fdf8e7;
}
body.holdem-cash-table-active .cash-bet-slider button,
body.holdem-cash-table-active .cash-bet-slider output {
  border: 1px solid rgba(201,174,118, 0.34) !important;
  background: linear-gradient(180deg, rgba(55,49,31, 0.95), rgba(31,24,11, 0.98)) !important;
  color: #fdf8e7 !important;
}
body.holdem-cash-table-active .cash-bet-slider input[type="range"] {
  accent-color: #ffd43b !important;
}
body.holdem-cash-table-active .cash-quick-bet-row button {
  border: 1px solid rgba(201,174,118, 0.35) !important;
  background: linear-gradient(180deg, rgba(63,55,38, 0.96), rgba(32,26,13, 0.98)) !important;
}
body.holdem-cash-table-active .cash-quick-bet-row button.is-selected {
  border-color: rgba(255,212,59, 0.7) !important;
  background: linear-gradient(180deg, rgba(81,73,55, 0.98), rgba(45,38,24, 0.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,212,59, 0.18), 0 0 10px rgba(255,212,59, 0.16) !important;
}
body.holdem-cash-table-active .cash-quick-bet-row button .preset-name {
  color: #fdf8e7 !important;
}
body.holdem-cash-table-active .cash-quick-bet-row button .preset-amount {
  color: #ffd43b !important;
}
body.holdem-cash-table-active .cash-quick-bet-row .cash-allin {
  color: #fdf8e7 !important;
}

/* ── CUSTOM ── */
body { background: #1a1205; }
.td-brand-123game i, .td-brand-123game strong, .td-brand-123game span, .td-brand-123game em { display: none !important; }
.td-brand-123game::after { content: "🧀 CHEESE"; font-weight: 900; font-size: 19px; letter-spacing: 2px; color: #ffd43b; text-shadow: 0 2px 10px rgba(252,196,25,0.45); }
#textScaleToggle { display: none !important; }
.pw-logout-btn { border: 1px solid rgba(252,196,25,0.4); background: rgba(56,39,11,0.7); color: #e6d5ab; border-radius: 10px; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.pw-logout-btn:active { transform: scale(0.96); }

/* 캐시 모드 미오픈 — 스위처에서 캐시 버튼 숨김 (토너 버튼만 표시) */
#modeCash { display: none !important; }
#modeSwitch { grid-template-columns: 1fr !important; }
#modeSwitch #modeTournament { width: 100% !important; }

/* ══════════ 컨셉1: 통통 치즈 카툰 (로비) 🧀 ══════════ */
@keyframes pw-bob { 0%,100%{transform:translateY(0) rotate(-5deg)} 50%{transform:translateY(-5px) rotate(5deg)} }
@keyframes pw-pop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes pw-race { 0%,100%{transform:translateX(0)} 50%{transform:translateX(4px)} }

.pw-bob { display:inline-block; animation: pw-bob 2.4s ease-in-out infinite; }
#topbar #title { font-family:'Jua',sans-serif; font-weight:400; letter-spacing:0.5px; font-size:17px; }
#balance { font-family:'Jua',sans-serif; }
#balanceVal { animation: pw-pop 3.2s ease-in-out infinite; display:inline-block; }

/* 모드 버튼·탭·필터: 주아체 */
.mode-switch-btn, .lobby-tabs button, #lobbyTabs button, .tab, .struct-filter button,
.tcard h3, .tcard .stat .val, .status-pill, .myinfo-top-btn span, .pw-logout-btn {
  font-family:'Jua',sans-serif !important; font-weight:400 !important; letter-spacing:0.4px;
}

/* ── 카드: 크림치즈 판 + 치즈 구멍 ── */
.tcard {
  background:
    radial-gradient(circle at 88% 18%, #f4e2b8 0 7px, transparent 8px),
    radial-gradient(circle at 94% 62%, #f4e2b8 0 5px, transparent 6px),
    radial-gradient(circle at 78% 88%, #f4e2b8 0 4px, transparent 5px),
    linear-gradient(180deg, #fff8e6 0%, #ffefc9 100%) !important;
  border: 3px solid #f2b53a !important;
  border-radius: 18px !important;
  box-shadow: 0 5px 0 rgba(168,106,18,0.35), 0 8px 18px rgba(0,0,0,0.35) !important;
  transition: transform .15s ease;
}
.tcard:active { transform: scale(0.985); }
.tcard h3, .tcard .tcard-title-marquee { color:#7a4c10 !important; }
.tcard .stat .lbl { color:#a0783c !important; }
.tcard .stat .val { color:#6b4212 !important; }
.tcard .tcard-foot-text, .tcard .tcard-foot-left { color:#a0783c !important; }
.tcard .countdown { color:#b3620e !important; }
.tcard .countdown.is-closed { color:#c0392b !important; }

/* 카드 안 뱃지들: 크림 위 갈색 톤 */
.tcard .status-pill, .tcard .struct-badge, .tcard .ticket-badge, .tcard .private-badge, .tcard .trophy-badge {
  background: rgba(226,166,38,0.18) !important;
  border-color: rgba(170,112,20,0.5) !important;
  color: #8a5a00 !important;
}
.tcard .status-pill.s-reg { background:#ffe08a !important; color:#7a4c10 !important; border-color:#e2a626 !important; }
.tcard .status-pill.s-play, .tcard .status-pill.s-late { background:#ffd0a0 !important; color:#8a4a00 !important; }
.tcard .status-pill.s-mine { background:#d7ecc0 !important; color:#3e6b1e !important; }
.tcard .tcard-deposit-note { background:#eaf6df !important; border-color:#9cc27a !important; color:#3e6b1e !important; }

/* ── 참가바 = 치즈 레이스 (쥐 🐭 → 치즈 🧀) ── */
.tcard .tcard-progress {
  height: 18px !important; background:#f6e7c3 !important; border-radius:999px !important;
  position: relative; overflow: visible !important; border:1px solid #e8cf9a;
}
.tcard .tcard-progress .fill {
  background: linear-gradient(90deg,#ffd43b,#f5a623) !important;
  border-radius:999px !important; position:relative; overflow: visible !important;
}
.tcard .tcard-progress .fill::after {
  content:"🐭"; position:absolute; right:-7px; top:50%; transform:translateY(-52%);
  font-size:15px; animation: pw-race 0.9s ease-in-out infinite;
}
.tcard .tcard-progress::after {
  content:"🧀"; position:absolute; right:4px; top:50%; transform:translateY(-52%); font-size:13px;
}
.tcard .tcard-progress.is-full::after { content:"😋"; }

/* 상세 화면 등록 버튼: 3D 눌림 */
.detail-register-btn, #detailRegisterBtn, button[class*="register"] {
  font-family:'Jua',sans-serif !important; font-weight:400 !important;
}
/* 레이스바: 0%여도 쥐가 출발선 안에 있게 */
.tcard .tcard-progress .fill { min-width: 22px !important; }

/* ══════════ 시안2: 치즈보드 테이블 🧀 (레이아웃 불변, 스킨만) ══════════ */
/* 테이블 = 구멍 뚫린 치즈판 */
body.holdem-table-active #felt, #felt {
  background:
    radial-gradient(circle at 26% 30%, rgba(242,207,126,0.9) 0 11px, transparent 12px),
    radial-gradient(circle at 72% 22%, rgba(242,207,126,0.85) 0 8px, transparent 9px),
    radial-gradient(circle at 80% 62%, rgba(242,207,126,0.9) 0 10px, transparent 11px),
    radial-gradient(circle at 30% 70%, rgba(242,207,126,0.8) 0 7px, transparent 8px),
    radial-gradient(circle at 55% 82%, rgba(242,207,126,0.8) 0 6px, transparent 7px),
    radial-gradient(ellipse 88% 50% at 50% 45%, #ffdf8a 0%, #f5bb45 40%, #d99427 70%, #8a5a14 100%) !important;
}
#felt::before {
  background-image: radial-gradient(circle at 50% 45%, transparent 45%, rgba(74,44,6,0.55) 100%) !important;
}
/* 림 = 크러스트 */
#felt::after {
  border: 5px solid rgba(155,100,22,0.65) !important;
  box-shadow: inset 0 0 46px rgba(120,72,10,0.5), 0 6px 22px rgba(0,0,0,0.55) !important;
}

/* 팟 = 크림 명판 + 통통 치즈 */
#potDisplay {
  background: #fff8e6 !important;
  border: 2px solid #e2a626 !important;
  box-shadow: 0 3px 0 rgba(168,106,18,0.5), 0 5px 12px rgba(0,0,0,0.3) !important;
  animation: pw-pop 3s ease-in-out infinite;
}
#potDisplay .pot-tag { color: #a0783c !important; font-family:'Jua',sans-serif; font-size:10px !important; }
#potDisplay .pot-amount { color: #7a4c10 !important; font-family:'Jua',sans-serif; }
#potDisplay .pot-breakdown { color: #a0783c !important; }
#potDisplay .pot-breakdown .side { color: #b3620e !important; }

/* 좌석 명판 = 크림 + 체다 보더 + 3D */
.seat .name-pill {
  background: #fff8e6 !important;
  border: 2px solid #e2a626 !important;
  box-shadow: 0 3px 0 rgba(168,106,18,0.4) !important;
  border-radius: 11px !important;
}
.seat .name { color: #7a4c10 !important; font-family:'Jua',sans-serif; font-weight:400 !important; }
.seat .chips { color: #b3620e !important; font-family:'Jua',sans-serif; font-weight:400 !important; }

/* 중앙 블라인드 정보: 밝은 치즈판 위 가독 */
body.holdem-table-active .blind-info-panel, .blind-info-panel {
  background: rgba(255,248,230,0.72) !important;
  border-radius: 12px; padding: 4px 10px;
  color: #7a4c10 !important;
}
.blind-info-panel * { color: #7a4c10 !important; }

/* 액션 버튼: 카툰 3D 골드 */
#actionButtons button {
  font-family:'Jua',sans-serif !important; font-weight:400 !important;
  background: linear-gradient(180deg,#ffd43b,#e8962b) !important;
  color: #3a2410 !important;
  border: none !important; border-radius: 13px !important;
  box-shadow: 0 4px 0 #a86a12, 0 6px 10px rgba(0,0,0,0.35) !important;
}
#actionButtons button:active { transform: translateY(2px) scale(0.98) !important; box-shadow: 0 2px 0 #a86a12 !important; }
#actionButtons button .ab-label, #actionButtons button .ab-amount { color: #3a2410 !important; }
#actionButtons button.is-allin {
  background: linear-gradient(180deg,#ff8a5b,#d9542b) !important;
  box-shadow: 0 4px 0 #8a2f10, 0 6px 10px rgba(0,0,0,0.35) !important;
}
#actionButtons button.is-allin .ab-label, #actionButtons button.is-allin .ab-amount { color: #fff3e8 !important; }

/* 내 차례 뱃지 = 스티커 */
.toact-badge {
  background: #d96666 !important; color: #fff !important;
  border-radius: 8px !important; transform: rotate(-2deg);
  font-family: 'Jua',sans-serif !important; font-weight: 400 !important;
}

/* ── 시안2 보정: 모바일 테이블 타원(::before=크러스트, ::after=치즈판) ── */
body.holdem-table-active #felt {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(120,78,22,0.45), transparent 55%),
    linear-gradient(180deg, #2a1c0e 0%, #1c1109 60%, #140c06 100%) !important;
}
body.holdem-table-active #felt::before {
  border: 1px solid rgba(90,55,10,0.9) !important;
  background:
    linear-gradient(90deg, rgba(255,235,180,0.25), transparent 8%, transparent 92%, rgba(90,50,5,0.35)),
    radial-gradient(ellipse at 50% 42%, #d99b2e, #b97724 55%, #8a5210 100%) !important;
  box-shadow:
    inset 0 0 0 2px rgba(255,225,150,0.35),
    inset 0 0 26px rgba(90,50,5,0.5),
    0 24px 48px rgba(0,0,0,0.8) !important;
}
body.holdem-table-active #felt::after {
  border: 2px solid rgba(255,230,150,0.4) !important;
  background:
    radial-gradient(circle at 27% 30%, rgba(255,238,175,0.75) 0 11px, transparent 12px),
    radial-gradient(circle at 71% 22%, rgba(255,238,175,0.7) 0 8px, transparent 9px),
    radial-gradient(circle at 78% 64%, rgba(255,238,175,0.75) 0 10px, transparent 11px),
    radial-gradient(circle at 30% 72%, rgba(255,238,175,0.65) 0 7px, transparent 8px),
    radial-gradient(circle at 56% 85%, rgba(255,238,175,0.6) 0 6px, transparent 7px),
    radial-gradient(ellipse at 50% 34%, #ffe291, transparent 62%),
    linear-gradient(180deg, #fcd35f 0%, #edb844 48%, #d99a2c 100%) !important;
  box-shadow: inset 0 4px 16px rgba(140,85,12,0.4) !important;
}
/* 모바일 룰 대응: 좌석 명판·팟 명판 크림 강제 */
body.holdem-table-active .seat .name-pill,
body.holdem-table-active #felt .seat .name-pill {
  background: #fff8e6 !important;
  border: 2px solid #e2a626 !important;
  box-shadow: 0 3px 0 rgba(168,106,18,0.4) !important;
}
body.holdem-table-active .seat .name { color: #7a4c10 !important; }
body.holdem-table-active .seat .chips { color: #b3620e !important; }
body.holdem-table-active #potDisplay {
  background: #fff8e6 !important;
  border: 2px solid #e2a626 !important;
  box-shadow: 0 3px 0 rgba(168,106,18,0.5) !important;
}
body.holdem-table-active #potDisplay .pot-tag { color: #a0783c !important; }
body.holdem-table-active #potDisplay .pot-amount { color: #7a4c10 !important; }
/* 커뮤니티 placeholder: 크림톤 */
body.holdem-table-active #community .card.placeholder {
  background: rgba(255,248,230,0.45) !important;
  border: 1px dashed rgba(170,112,20,0.45) !important;
}
/* 모바일 패널 텍스트: 크림 위 갈색 */
body.holdem-table-active .name-pill.mobile-player-panel .name,
.name-pill.mobile-player-panel .name { color: #7a4c10 !important; text-shadow: none !important; }
body.holdem-table-active .name-pill.mobile-player-panel .chips,
.name-pill.mobile-player-panel .chips,
.name-pill.mobile-player-panel button.chips.stack-toggle {
  color: #b3620e !important; text-shadow: none !important;
  background: transparent !important; font-family:'Jua',sans-serif !important; font-weight:400 !important;
}
/* 스택 색: 원본 최고 특이도 셀렉터 그대로 재정의 (하늘색 → 카라멜 브라운) */
body.holdem-table-active #seats .seat .mobile-player-panel .chips.stack-toggle,
body.holdem-table-active #hero .hero-nameplate .chips.stack-toggle,
body.holdem-table-active #hero .hero-info > .chips.stack-toggle {
  color: #b3620e !important;
}
body.holdem-table-active .mobile-player-panel .name,
body.holdem-table-active #hero .hero-nameplate .name {
  color: #7a4c10 !important;
}

/* ══════════ 내정보: 멤버십 카드 + 영수증 + 트로피 진열대 🧀 ══════════ */
.myinfo-sheet .myinfo-card { background: #241812 !important; border: 1px solid #6b4a28 !important; }
.myinfo-card > header strong, #myInfoTitle { font-family:'Jua',sans-serif; color:#f6c66d !important; font-weight:400 !important; }

/* 프로필 히어로 = 치즈 멤버십 카드 */
.myinfo-hero {
  background:
    radial-gradient(circle at 90% 20%, rgba(255,240,190,0.9) 0 7px, transparent 8px),
    radial-gradient(circle at 82% 75%, rgba(255,240,190,0.8) 0 5px, transparent 6px),
    linear-gradient(135deg,#ffe08a,#f2b53a) !important;
  border: 3px solid #b97724 !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 0 rgba(90,52,10,0.5) !important;
  padding: 12px 14px !important;
}
.myinfo-hero .myinfo-avatar { border: 3px solid #b97724 !important; border-radius: 50% !important; background:#fff8e6 !important; box-shadow: 0 2px 0 rgba(90,52,10,0.35); }
.myinfo-hero .myinfo-name { color:#5b3a08 !important; font-family:'Jua',sans-serif; font-weight:400 !important; }
.myinfo-hero .myinfo-badge { background:#b97724 !important; color:#ffe9b3 !important; border:none !important; font-weight:800; }
.myinfo-hero .myinfo-id-row, .myinfo-hero .myinfo-id-row * { color:#8a5a14 !important; }
.myinfo-hero .myinfo-copy-btn { background:#fff8e6 !important; border:1px solid #b97724 !important; color:#8a5a14 !important; border-radius:7px !important; }

/* 보유 스탯 */
.myinfo-stats .myinfo-stat { background:#fff8e6 !important; border:2px solid #e2a626 !important; border-radius:11px !important; box-shadow: 0 3px 0 rgba(168,106,18,0.35); }
.myinfo-stats .myinfo-stat span { color:#a0783c !important; }
.myinfo-stats .myinfo-stat strong { color:#7a4c10 !important; font-family:'Jua',sans-serif; font-weight:400 !important; }
.myinfo-stats .myinfo-stat:first-child span::before { content:"🧀 "; }

/* 섹션 제목/버튼 */
.myinfo-section h3 { font-family:'Jua',sans-serif; color:#f6c66d !important; font-weight:400 !important; }
.myinfo-primary { background:linear-gradient(180deg,#ffd43b,#e8962b) !important; color:#3a2410 !important; border:none !important; box-shadow:0 3px 0 #a86a12 !important; font-family:'Jua',sans-serif !important; font-weight:400 !important; border-radius:10px !important; }
.myinfo-secondary { background:#46301e !important; color:#f3d9ae !important; border:1px solid #6b4a28 !important; font-family:'Jua',sans-serif !important; font-weight:400 !important; border-radius:10px !important; }

/* 포인트 내역 = 영수증 */
.myinfo-ledger {
  background:#fffdf4 !important; border-radius:3px 3px 12px 12px !important;
  padding:10px 12px !important; position:relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35) !important;
  --receipt-notch: 8px;
  -webkit-mask: linear-gradient(#000 0 0) padding-box,
    conic-gradient(from 135deg at 50% 0, #0000 90deg, #000 0) top/14px var(--receipt-notch) repeat-x;
}
.myinfo-ledger::before {
  content:"— C H E E Z E E  영 수 증 —"; display:block; text-align:center;
  font-family:'Jua',sans-serif; font-size:10.5px; color:#8a5a14; letter-spacing:1px;
  padding:6px 0 4px; border-bottom:1px dashed #d9c0a0; margin-bottom:2px;
}
.myinfo-ledger-row { border-bottom:1px dashed #d9c0a0 !important; }
.myinfo-ledger-row, .myinfo-ledger-row * { color:#6b4212 !important; }
.myinfo-ledger-row strong.plus, .myinfo-ledger-row .pos, .myinfo-ledger-row strong[class*="plus"] { color:#1a7f43 !important; }
.myinfo-ledger-row strong.minus, .myinfo-ledger-row .neg, .myinfo-ledger-row strong[class*="minus"] { color:#c0392b !important; }
.myinfo-ledger .myinfo-empty { color:#a0783c !important; }

/* 트로피 진열대 (시안2) */
.trophy-strip {
  background: linear-gradient(180deg,#8a5a2b,#6b4210) !important;
  border-radius: 10px !important; padding: 10px 12px 2px !important;
  position: relative;
}
.trophy-strip::after {
  content:""; display:block; height:9px; margin-top:6px;
  background:#4a2f0c; border-radius:3px; box-shadow:0 3px 0 #33200a;
}
.trophy-strip .trophy-item { animation: pw-bob 2.8s ease-in-out infinite; }
.trophy-strip .trophy-item:nth-child(2n) { animation-duration: 3.4s; }
.trophy-empty { color:#b3906b !important; }

/* 티켓함 태그 느낌 */
.myinfo-ticket-section .ticket-card, .ticket-box .ticket-card {
  background:#fff3d0 !important; border:2px dashed #b97724 !important; color:#7a4c10 !important; border-radius:9px !important;
}

/* ── CUSTOM: 아바타 피커 치즈 스킨 (원본 레드/블랙 → 치즈 골드) ── */
.avatar-picker-card { background: #1a1205; }
.avatar-picker-head strong { color: #ffe680; font-family: 'Jua', sans-serif; font-weight: 400; }
.avatar-picker-head button { color: #c9ae76; }
.avatar-picker-tabs button {
  border: 1px solid rgba(201,174,118,0.35);
  background: rgba(39,27,8,0.94);
  box-shadow: inset 0 0 0 1px rgba(252,196,25,0.08);
  color: #c9ae76;
}
.avatar-picker-tabs button.is-active {
  border-color: rgba(252,196,25,0.9);
  background: linear-gradient(180deg, #ffd43b, #f5a623);
  color: #38270b;
}
.avatar-picker-rule { background: rgba(252,196,25,0.25); }
.avatar-option-image { background: #fff8e6; box-shadow: 0 0 0 2px rgba(201,174,118,0.35); }
.avatar-option.is-selected .avatar-option-image { box-shadow: 0 0 0 4px #fcc419; }
.avatar-option-check { background: #fcc419; color: #38270b; }
.avatar-option-name { color: #c9ae76; }
.avatar-option.is-selected .avatar-option-name { color: #ffe680; }
.avatar-picker-save {
  background: linear-gradient(180deg, #ffd43b, #f5a623);
  color: #38270b;
  box-shadow: 0 4px 0 #8a5a14, 0 8px 18px rgba(0,0,0,0.4);
}

/* ── CUSTOM: 토너 상세 시안C — 꼬마 로봇 관제실 카툰 ──
   구조·배치 무변경. 크림 카드 + 3D 그림자 + 상태 램프 + 플립 시계 + 눈 달린 게이지 */

/* 배너: 크림 계기판 + 상단 상태 램프 3개 */
#detailBody #detailSummary.td-summary-banner {
  border: 3px solid #d99a1e;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffedc4, #ffe0a1);
  box-shadow: 0 6px 0 rgba(138, 90, 20, 0.85), 0 14px 26px rgba(0, 0, 0, 0.35);
}
#detailSummary.td-summary-banner::before {
  content: "";
  inset: auto;
  top: 9px; left: 14px;
  width: 52px; height: 12px;
  background:
    radial-gradient(circle 5px at 6px 6px, #7ecb5f 55%, #4f8f2f 60%, transparent 65%),
    radial-gradient(circle 5px at 25px 6px, #ffd43b 55%, #d99a1e 60%, transparent 65%),
    radial-gradient(circle 5px at 44px 6px, #f0d9ad 55%, #d9b97a 60%, transparent 65%);
}
.td-banner-prize > span, .td-banner-time > span { color: #a5793a; }
.td-banner-prize strong, .td-banner-time strong { color: #6a3d0e; font-family: 'Jua', sans-serif; font-weight: 400; }
.td-banner-prize em, .td-banner-time em { color: #96602a; font-weight: 800; }
/* 카운트다운: 플립 시계 알약 */
.td-banner-time-value {
  display: inline-block !important;
  margin-top: 6px;
  padding: 4px 12px;
  border: 3px solid #f5a623;
  border-radius: 14px;
  background: #fffdf6;
  color: #e2761a !important;
  box-shadow: 0 3px 0 #c9821a;
}
/* 중앙 로고: 크림 배경용 재조색 */
.td-brand-123game { background: transparent; }
.td-brand-123game::before { background: transparent; box-shadow: none; }
.td-brand-123game::after {
  color: #b9770e;
  text-shadow: 0 1px 0 #fff7dd, 0 3px 8px rgba(138, 90, 20, 0.3);
}

/* 해시태그 배지 */
.detail-tags span {
  background: #fff3d6;
  border: 2px solid #e2a626;
  border-radius: 999px;
  color: #8a5a14;
  font-weight: 900;
}

/* 탭: 사탕 버튼 */
.detail-tab, body.holdem-detail-active .detail-tab {
  background: #fff8e6;
  border: 2px solid #e8c27a;
  border-radius: 12px;
  color: #a5793a;
  font-family: 'Jua', sans-serif;
  font-weight: 400;
  box-shadow: 0 2px 0 #d9b97a;
}
.detail-tab.active, body.holdem-detail-active .detail-tab.active {
  background: linear-gradient(180deg, #ffd43b, #f5a623);
  border-color: #d99a1e;
  color: #38270b;
  box-shadow: 0 3px 0 #c9821a;
}
body.holdem-detail-active .detail-tabs { border: none; background: transparent; box-shadow: none; }

/* 코어 카드 (시작칩·게이지·참가자) */
.td-core-card {
  background: linear-gradient(180deg, #fff6df, #ffefc9);
  border: 3px solid #e2a626;
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(138, 90, 20, 0.7), 0 12px 22px rgba(0, 0, 0, 0.28);
}
.td-core-card .td-metric span, .td-core-card .td-info-row span { color: #a5793a; }
.td-core-card .td-metric strong, .td-core-card .td-info-row strong { color: #6a3d0e; }
.td-core-card .td-core-top, .td-core-card .td-core-bottom { border-color: rgba(217, 154, 30, 0.35); }

/* 레벨 게이지: 눈 달린 압력게이지 */
.td-timer-ring {
  background: conic-gradient(#f5a623 var(--td-progress), #f0e2c0 0);
  box-shadow: 0 0 0 3px #d99a1e, 0 4px 0 3px rgba(138, 90, 20, 0.65);
}
.td-timer-ring::before {
  background: #fffdf6;
  box-shadow: inset 0 0 12px rgba(217, 154, 30, 0.35);
}
.td-timer-ring::after {
  content: "";
  position: absolute;
  top: 24px; left: 50%;
  width: 30px; height: 8px;
  margin-left: -15px;
  background:
    radial-gradient(circle 3.5px at 5px 4px, #6a3d0e 60%, transparent 66%),
    radial-gradient(circle 3.5px at 25px 4px, #6a3d0e 60%, transparent 66%);
  z-index: 2;
  pointer-events: none;
}
.td-timer-ring span, .td-timer-ring em { color: #a5793a; }
.td-timer-ring strong { color: #e2761a; font-family: 'Jua', sans-serif; font-weight: 400; }

/* 정보/구조 카드 */
.td-info-card {
  background: #fff8e6;
  border: 2px solid #e8c27a;
  border-radius: 16px;
  box-shadow: 0 3px 0 rgba(217, 185, 122, 0.9);
}
.td-info-card p { color: #96602a; }
.td-section-title strong { color: #8a5a14; font-family: 'Jua', sans-serif; font-weight: 400; }
.td-section-title span { color: #e2a626; }
.td-info-card .td-info-row span { color: #a5793a; }
.td-info-card .td-info-row strong { color: #6a3d0e; }
.td-empty { color: #a5793a; }

/* 아코디언 (상금·블라인드·참가 정보) */
.td-accordion {
  background: #fff8e6;
  border: 2px solid #e8c27a;
  border-radius: 14px;
  box-shadow: 0 3px 0 rgba(217, 185, 122, 0.9);
}
.td-accordion summary strong { color: #8a5a14; font-family: 'Jua', sans-serif; font-weight: 400; }
.td-accordion summary .td-accordion-icon { color: #e2a626; }
.td-accordion summary em { color: #c9932e; }
.td-accordion-body { color: #96602a; }
.td-accordion-body .td-info-row span { color: #a5793a; }
.td-accordion-body .td-info-row strong { color: #6a3d0e; }

/* 진행 중 토너 시계 (PLAYING) */
.tourn-clock.card-block {
  background: linear-gradient(180deg, #fff6df, #ffefc9);
  border: 3px solid #e2a626;
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(138, 90, 20, 0.7);
}
.tc-lvl-tag, .tc-blinds-tag, .tc-next-tag, .tc-stat-lbl { color: #a5793a; }
.tc-lvl-num, .tc-blinds-val, .tc-next-val, .tc-stat-val { color: #6a3d0e; }
.tc-ante { color: #96602a; }
.tc-progress {
  background: #fffdf6;
  border: 2px solid #d99a1e;
  border-radius: 999px;
  overflow: hidden;
}
.tc-progress-fill { background: linear-gradient(90deg, #ffd43b, #f5a623); border-radius: 999px; }

/* 내 등록 상태: 초록 사탕 바 */
#detailMyStatus {
  background: #eef7e3;
  border: 2px solid #7ecb5f;
  border-radius: 12px;
  color: #3b6d11;
  box-shadow: 0 3px 0 #4f8f2f;
}
#detailMyStatus b { color: #2c5410; }
#detailMyStatus.is-busted {
  background: #fbeae4;
  border-color: #f0997b;
  color: #993c1d;
  box-shadow: 0 3px 0 #b3552a;
}
/* 원본 그라디언트 텍스트(text-fill transparent) 해제 — 플립 시계/상금 값 */
.td-banner-time-value, .td-banner-prize-value {
  -webkit-text-fill-color: currentColor !important;
  background-image: none !important;
}
.td-banner-prize-value { color: #6a3d0e !important; }
.td-banner-value-empty { color: #b98a1e !important; -webkit-text-fill-color: #b98a1e !important; }
/* 중앙 CHEESE 로고: 아트 영역 정중앙 고정 (배너 밖 삐짐 방지) */
.td-banner-art { position: relative; }
.td-brand-123game { position: static; }
.td-brand-123game::after {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin: 0;
}
body.holdem-detail-active #detailMyStatus {
  background: #eef7e3;
  border: 2px solid #7ecb5f;
  border-radius: 12px;
  color: #3b6d11;
  box-shadow: 0 3px 0 #4f8f2f;
}
body.holdem-detail-active #detailMyStatus b { color: #2c5410; }
body.holdem-detail-active #detailMyStatus.is-busted {
  background: #fbeae4;
  border-color: #f0997b;
  color: #993c1d;
  box-shadow: 0 3px 0 #b3552a;
}

/* ── CUSTOM: 테이블 치즈 스킨 — 덱B(다크초코 골드) + CHEESE POT + 금액별 베팅 치즈 ── */

/* 카드 뒷면: 다크초코 + 골드 프레임 + 🧀 엠블럼 + CHEEZEE (모든 카드백 스킨 공통) */
.card.back, .card.hidden-card,
body[data-card-back-skin] .card.back, body[data-card-back-skin] .card.hidden-card,
body.holdem-table-active .card.back, body.holdem-table-active .card.hidden-card {
  border: 2px solid #f5a623 !important;
  background: linear-gradient(160deg, #4a2f0c, #38240a 60%, #2c1b06) !important;
}
.card.back::before, .card.hidden-card::before,
body[data-card-back-skin] .card.back::before, body[data-card-back-skin] .card.hidden-card::before,
body.holdem-table-active .card.back::before, body.holdem-table-active .card.hidden-card::before {
  content: "CHEEZEE" !important;
  inset: 4px !important;
  border: 1.5px solid rgba(201, 147, 46, 0.55) !important;
  border-radius: 4px !important;
  background: none !important;
  background-image: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 2px !important;
  font-size: 6.5px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  color: #c9932e !important;
}
.card.back::after, .card.hidden-card::after,
body[data-card-back-skin] .card.hidden-card:not(.deck-preview-card)::after,
body[data-card-back-skin] .card.back:not(.deck-preview-card)::after {
  content: "🧀" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -54%) !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-size: 17px !important;
  line-height: 1 !important;
  z-index: 3 !important;
  pointer-events: none !important;
}
.card.large.back::after, .card.large.hidden-card::after,
body[data-card-back-skin] .card.large.hidden-card:not(.deck-preview-card)::after,
body[data-card-back-skin] .card.large.back:not(.deck-preview-card)::after {
  font-size: 24px !important;
}
/* 폴드 후 히어로 카드 덮개도 동일 덱 */
.holes.is-folded-reveal .card::after,
body[data-card-back-skin] .holes.is-folded-reveal .card::after {
  content: "🧀" !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  border: 2px solid #f5a623 !important;
  background: linear-gradient(160deg, #4a2f0c, #38240a 60%, #2c1b06) !important;
}

/* CHEESE POT: 크림 명찰 + 다크 금액 알약 + 치즈조각 아이콘 */
#potDisplay {
  padding: 4px 12px 7px !important;
  border-radius: 16px !important;
}
#potDisplay .pot-tag {
  font-size: 11.5px !important;
  letter-spacing: 1px !important;
  color: #8a5a14 !important;
}
#potDisplay .pot-amount {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 2px !important;
  padding: 2px 12px !important;
  border-radius: 999px !important;
  background: #4a2f0c !important;
  border: 2px solid #f5a623 !important;
  color: #ffe680 !important;
  box-shadow: 0 2px 0 #2c1b06 !important;
}
body.holdem-table-active #potDisplay .pot-amount::before {
  content: "" !important;
  width: 13px !important;
  height: 11px !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffe066, #f5a623) !important;
  clip-path: polygon(50% 0, 100% 100%, 0 100%) !important;
  box-shadow: none !important;
}

/* 베팅 치즈 5단계 — 원형 칩 → 치즈 (금액 클수록 크고 진하게) */
body.holdem-table-active #betChipLayer .bet-chip-unit {
  background: #fff3b8 !important;
  border: 2px solid #e8c27a !important;
  border-radius: 3px !important;
  width: 13px !important;
  height: 11px !important;
  clip-path: none !important;
  box-shadow: 0 2px 3px rgba(0,0,0,0.35) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit::before {
  content: "" !important;
  inset: auto !important;
  left: 30% !important;
  bottom: 25% !important;
  width: 3px !important;
  height: 3px !important;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(201, 147, 46, 0.55) !important;
  box-shadow: none !important;
}
/* ~2BB: 연노랑 큐브 (기본값 그대로) */
/* 2~10BB: 체다 조각 (삼각형) */
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-green,
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-red {
  width: 19px !important;
  height: 16px !important;
  border: none !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffe066, #f2b53a) !important;
  clip-path: polygon(50% 0, 100% 100%, 0 100%) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.4)) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-green::before,
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-red::before {
  left: 40% !important;
  bottom: 18% !important;
  width: 4px !important;
  height: 4px !important;
  background: #d9a018 !important;
}
/* 10~50BB: 구멍 슬라이스 */
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-purple,
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-yellow {
  width: 22px !important;
  height: 15px !important;
  border: 2px solid #c9821a !important;
  border-radius: 4px !important;
  background:
    radial-gradient(circle 2.5px at 26% 38%, #e0a91e 92%, transparent),
    radial-gradient(circle 2px at 68% 62%, #e0a91e 92%, transparent),
    #ffd43b !important;
  clip-path: none !important;
  box-shadow: 0 2px 3px rgba(0,0,0,0.4) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-purple::before,
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-yellow::before {
  content: none !important;
}
/* 50~100BB: 목장 고다휠 (둥근 숙성 휠) */
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-orange {
  width: 26px !important;
  height: 18px !important;
  border: 2px solid #b3702a !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #fff3d0 0%, #fff3d0 52%, #e8b45b 58%, #dda23e 100%) !important;
  clip-path: none !important;
  box-shadow: 0 3px 4px rgba(0,0,0,0.45) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-orange::before {
  content: "" !important;
  left: 28% !important;
  bottom: auto !important;
  top: 24% !important;
  width: 5px !important;
  height: 3.5px !important;
  border-radius: 50% !important;
  background: #ecd9ab !important;
}
/* 100BB~: 골드 특대조각 */
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-black {
  width: 27px !important;
  height: 22px !important;
  border: none !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle 3.5px at 34% 62%, #d9820e 92%, transparent),
    radial-gradient(circle 2.5px at 64% 74%, #d9820e 92%, transparent),
    linear-gradient(180deg, #ffca55, #f5a623) !important;
  clip-path: polygon(50% 0, 100% 100%, 0 100%) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.5)) drop-shadow(0 0 5px rgba(255,212,59,0.55)) !important;
}
body.holdem-table-active #betChipLayer .bet-chip-unit.chip-tier-black::before {
  content: none !important;
}
/* 금액 라벨: 크림 알약 */
body.holdem-table-active #betChipLayer .table-bet-chip strong {
  background: #fff8e6 !important;
  border: 1.5px solid #d99a1e !important;
  border-radius: 999px !important;
  color: #6a3d0e !important;
}
body.holdem-table-active #betChipLayer .central-bet-pool strong {
  color: #6a3d0e !important;
  border-color: #d99a1e !important;
}

/* 팟으로 날아가는 치즈 */
.flying-chip {
  background: linear-gradient(180deg, #ffd43b, #f5a623) !important;
  color: #4a2f0c !important;
  border: 2px solid #c9821a !important;
  box-shadow: 0 3px 0 #8a5a14, 0 6px 12px rgba(0,0,0,0.45) !important;
}
.flying-chip::before { content: "🧀 "; }
#potDisplay { white-space: nowrap !important; min-width: 0 !important; }
#potDisplay .pot-tag { white-space: nowrap !important; letter-spacing: 0.5px !important; }
body.holdem-table-active #potDisplay { max-width: none !important; white-space: nowrap !important; }
body.holdem-table-active #potDisplay .pot-tag {
  letter-spacing: 1px !important;
  font-size: 11.5px !important;
  white-space: nowrap !important;
  color: #8a5a14 !important;
}

/* ── CUSTOM: 로비 배너 — 베어문 치즈 블록 + CHEEZEE 리본 문구 (시안2+3 조합) ── */
#modeSwitch #modeTournament {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  padding: 12px 0 13px !important;
  border: 2.5px solid #c9821a !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle 11px at 91% 0px, #33291a 96%, transparent),
    radial-gradient(circle 3.5px at 85.5% 14%, #33291a 90%, transparent),
    radial-gradient(circle 6.5px at 7% 26%, #e0a91e 92%, transparent),
    radial-gradient(circle 4px at 17% 74%, #e0a91e 92%, transparent),
    radial-gradient(circle 5px at 30% 22%, #e0a91e 92%, transparent),
    radial-gradient(circle 4.5px at 71% 76%, #e0a91e 92%, transparent),
    radial-gradient(circle 5.5px at 80% 60%, #e0a91e 92%, transparent),
    linear-gradient(180deg, #ffe680 0%, #ffd43b 55%, #f2b53a 100%) !important;
  box-shadow: 0 5px 0 #8a5a14, 0 10px 18px rgba(0,0,0,0.45) !important;
}
#modeSwitch #modeTournament::before { content: none !important; }
#modeSwitch #modeTournament .pw-banner-main {
  font-family: 'Jua', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #4a2f0c;
  line-height: 1.1;
}
#modeSwitch #modeTournament .pw-banner-sub {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #8a5a14;
  line-height: 1;
}
/* CHEESE 로고: 배너 전체 기준 정중앙 + 확대 */
.td-banner-art { position: static !important; }
.td-brand-123game { position: static !important; }
.td-brand-123game::after {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 1 !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: translate(-50%, -50%) !important;
  font-size: clamp(17px, 5.6vw, 26px) !important;
  letter-spacing: 2px !important;
  color: #b9770e !important;
  text-shadow: 0 1px 0 #fff7dd, 0 3px 8px rgba(138, 90, 20, 0.3) !important;
  white-space: nowrap !important;
}
/* 로고 뒤 장식 잔광 제거 */
.td-brand-123game, .td-brand-123game::before {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
.td-brand-123game i, .td-brand-123game em { display: none !important; }

/* ── CUSTOM: 모바일 브라우저 대응 (P1) ── */
/* iOS 사파리 주소창 수축/확장 시 하단 잘림 방지 — 동적 뷰포트(dvh) */
@supports (height: 100dvh) {
  #app { min-height: 100dvh; }
  #felt { height: calc(100dvh - 240px); }
  .avatar-picker-card { min-height: 100dvh; }
  :root { --app-height: 100dvh; }
  @media (max-width: 480px) {
    #felt { height: calc(100dvh - 222px); }
  }
  @media (max-width: 480px) and (max-height: 720px) {
    #felt { height: calc(100dvh - 212px); }
  }
}
/* iOS 입력 포커스 시 강제 확대 방지 — 모바일에서 폼 요소 16px 보장 */
@media (max-width: 768px) {
  #app input[type="text"], #app input[type="password"], #app input[type="number"],
  #app input[type="search"], #app select, #app textarea {
    font-size: 16px !important;
  }
}
