/* Quiet table racks; all accounting and betting controls remain ordinary DOM. */
.poker-table .pot-marker { display: flex; align-items: center; gap: .35rem; }
.poker-chips-canvas, .poker-chips-layer, .poker-chips-flight-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.poker-chips-canvas, .poker-chips-flight-layer { z-index: 3; }
.poker-chips-layer { z-index: 7; }
.poker-stack { position: absolute; width: 96px; height: 44px; margin: 0; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.poker-stack:focus-visible { outline: 2px solid #e8dba9; outline-offset: 2px; }
.poker-stack[aria-expanded="true"] { background: radial-gradient(ellipse, rgba(240,227,181,.13), transparent 70%); }
.poker-stack-compact { border-radius: 5px; }
.poker-chip { --chip-color: #55a68b; position: absolute; display: grid; place-items: center; width: 24px; height: 19px; border-radius: 50%; border: 2px dashed #ede6d5; color: #f3eee2; background: radial-gradient(ellipse, #202a2b 0 48%, var(--chip-color) 52%); font: 16px Georgia, serif; box-shadow: 0 3px 0 var(--chip-color), 0 5px 5px #0008; transform: translate(-50%, -50%); pointer-events: none; }
[data-chip-renderer="three"] .poker-stack > .poker-chip { visibility: hidden; }
.poker-chips-flight-layer .poker-chip-flight { width: 27px; height: 21px; z-index: 2; }
.poker-stack-detail { position: absolute; z-index: 9; left: 50%; transform: translateX(-50%); max-width: calc(100% - 20px); width: max-content; padding: .6rem .75rem; border: 1px solid #727c76; border-radius: 10px; color: #f1f2ed; background: #182321f5; box-shadow: 0 8px 24px #0004; pointer-events: none; font: .7rem var(--body, sans-serif); text-align: center; }
.poker-stack-detail strong { display: block; font-size: .75rem; margin-bottom: .5rem; }
.poker-stack-denominations { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .9rem; }
.poker-stack-denominations > span { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.poker-stack-denominations .poker-chip { position: relative; inset: auto; transform: none; width: 18px; height: 15px; font-size: 11px; box-shadow: 0 2px 0 var(--chip-color); }
.poker-chip-key { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.poker-chip-key summary { min-height: 36px; cursor: pointer; }
.poker-chip-key p { margin: 0 0 .6rem; }
.poker-chip-key .poker-stack-denominations { justify-content: flex-start; gap: .7rem 1.2rem; }
@media (max-width: 720px) {
    body.mobile-game-mode .poker-table[data-chip-renderer][data-table-state] { min-height: var(--poker-chip-table-min-height, 375px); }
}
@media (prefers-reduced-motion: reduce) { .poker-chips-flight-layer .poker-chip-flight { display: none; } }
