/* Table chips are grouped by real denomination, with exact counts on each pile. */
.chip-piles{display:inline-flex;align-items:flex-end;justify-content:center;gap:5px;min-height:21px;pointer-events:none;vertical-align:middle}
.chip-stack{--chip:#559b65;display:inline-block;position:relative;width:22px;height:22px;margin-top:6px;isolation:isolate}
.chip-stack i{position:absolute;left:1px;bottom:calc(4px + var(--layer)*2px);width:20px;height:10px;border:2px dashed #fff9dc;border-radius:50%;background:var(--chip);box-shadow:0 1px 0 #233e3c;z-index:calc(1 + var(--layer))}
.chip-stack b{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);font:600 7px Outfit;background:#fff9e5e8;border-radius:3px;padding:1px 2px;color:#203c30;z-index:8;white-space:nowrap}
.chip-1{--chip:#d3d5ce}.chip-5{--chip:#d86b61}.chip-25{--chip:#4f9f73}.chip-100{--chip:#3c4d54}.chip-500{--chip:#a17ac3}.chip-1000{--chip:#d5a746}.chip-5000{--chip:#dd7f50}.chip-10000{--chip:#66a5bd}
.middle-chips{display:flex;margin:1px auto 8px;max-width:235px;flex-wrap:wrap}.table-bet{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;z-index:3;pointer-events:none}.table-bet strong{font:700 10px Outfit;background:#fff9e3e8;border-radius:5px;padding:2px 5px;margin-top:7px;box-shadow:0 1px 2px #183d3120}.table-bet .chip-piles{gap:2px}.table-bet .chip-stack{width:19px}.table-bet .chip-stack i{width:17px}.table-bet .chip-stack b{display:none}
.pot-collected{animation:collect-chips .5s ease-out}@keyframes collect-chips{from{transform:scale(.55);opacity:.2}to{transform:scale(1);opacity:1}}
.difficulty{display:inline-block;font:700 9px Outfit;text-transform:uppercase;letter-spacing:.5px;border:1px solid;border-radius:5px;padding:3px 7px;margin:5px 0}.difficulty-easy{background:#e0f0d6;border-color:#94bc80;color:#356124}.difficulty-average{background:#fff0c3;border-color:#dabb69;color:#775d18}.difficulty-hard{background:#f6d9d7;border-color:#cb9894;color:#893e39}
.seat-meta{font:600 9px Outfit;color:#3a6550;margin-top:3px;white-space:nowrap}.seat-clock{width:70px;margin:4px auto 0;position:relative}.time-burn{display:block;height:4px;border-radius:5px;background:#d3dec5;overflow:hidden}.time-burn i{display:block;height:100%;width:100%;background:#61a872;transition:width .1s linear}.seat-clock small{display:block;font:600 8px Outfit;margin-top:2px;color:#325844}.seat-clock[data-banking=true] i{background:#e0a74a}.seat-clock[data-banking=true] small{color:#9c6315}.hero-seat .seat-clock{position:absolute;bottom:-17px;left:calc(50% - 35px)}.hero-seat .seat-clock small{position:absolute;right:-24px;top:-7px;background:#fff9e5;border-radius:4px;padding:1px 3px}.allin-marker{display:grid;place-content:center;text-align:center;position:absolute;right:-15px;top:27px;background:#edbb5c;color:#6b3b16;clip-path:polygon(50% 0,100% 100%,0 100%);width:40px;height:37px;padding-top:10px;font:800 8px/1 Outfit;filter:drop-shadow(0 1px 1px #735d37)}.dealer-chip{box-shadow:0 2px 3px #23352d40;border-width:2px;background:#fffef6}
.show-cards-actions{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 0}.show-cards-actions>span{font-size:11px;color:#687b67}.show-cards-actions button{border:0;background:transparent;padding:0;min-width:34px;min-height:38px}.show-cards-actions .card{width:25px;height:35px;padding:3px;border-radius:4px}.show-cards-actions .rank{font-size:11px}.show-cards-actions .suit{font-size:14px}.show-cards-actions .show-both{padding:7px 10px;border:1px solid #ccd9bd;border-radius:8px;background:#eef2df;font:600 11px Outfit;min-height:36px}.voluntary-shown>.card{transform:translateY(-13px) rotate(-6deg);box-shadow:0 4px 8px #243d302a}.voluntary-reveal{animation:table-show .5s ease-out}.voluntary-shown{display:inline-block;animation:table-show .5s ease-out}@keyframes table-show{from{transform:translateY(20px) rotateY(80deg);opacity:.3}to{transform:translateY(0) rotateY(0);opacity:1}}
.showdown-board{padding:14px 6px;background:#e7efdc;border-radius:13px;margin:12px 0}.showdown-board>span{font:700 9px Outfit;letter-spacing:2px}.showdown-board .winning-cards{margin:10px 0 2px}.showdown-contenders{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:15px 0}.showdown-contender{border:1px solid #dce3ce;background:#faf9ef;border-radius:12px;padding:11px 5px}.showdown-contender>strong,.showdown-contender>span{display:block;font-size:11px}.showdown-contender>span{font-size:10px;color:#6d7f65}.showdown-contender .winning-cards{margin:8px 0}.best-five .card{width:27px;height:38px;padding:3px}.best-five .rank{font-size:12px}.best-five .suit{font-size:17px}.best-five{margin:10px 0 0!important}
.quick-bets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.quick-bets button{min-height:75px;background:#c0e3b9;border:1px solid #94bd8c;border-radius:12px;color:#234b37}.quick-bets strong,.quick-bets span{display:block}.quick-bets strong{font:700 16px Outfit}.quick-bets span{font-size:12px;margin-top:6px}.quick-bets button:last-child{background:#ffe0aa;border-color:#dbbd81}.exact-raise{border-top:1px solid #e0e4d4;padding-top:10px}.exact-raise summary{padding:12px 0;font-size:12px;cursor:pointer}.exact-raise .raise-controls{display:flex;gap:20px;margin:15px 0}.exact-raise input[type=number]{width:110px;min-height:44px;border:1px solid #cedbc1;border-radius:9px;padding:8px}.exact-raise input[type=range]{width:110px;margin-left:auto}.exact-raise .button{width:100%;margin-top:12px}
.hosted-sessions{border:1px solid #c6d8ba;border-radius:13px;background:#eff5e7;padding:13px;margin:12px 0}.hosted-sessions h3{font:700 17px Outfit;margin:0 0 10px}.hosted-sessions article{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hosted-sessions article>div{flex:1;min-width:130px}.hosted-sessions article strong,.hosted-sessions article small{display:block}.hosted-sessions article small{font-size:10px;color:#667e5e;margin-top:5px}.hosted-sessions article .button{font-size:12px;padding:9px 12px;min-height:40px}.hosted-sessions p{font-size:10px;line-height:1.5;color:#6c7b64;margin:10px 0 0}.choose-avatar,.home-avatar-choice{display:flex;align-items:center;gap:10px;border:1px solid #d9e3cf;background:#f4f7e8;border-radius:11px;padding:7px 10px;margin:10px 0;width:100%;text-align:left;min-height:42px}.choose-avatar span{font-size:10px;color:#718068}.choose-avatar strong{display:block;font-size:12px;color:#244f37;margin-top:2px}.choose-avatar b{margin-left:auto;font-size:11px}.home-avatar-choice{font-size:11px;justify-content:center}.avatar-more{width:42px;height:42px;border:1px dashed #aac59a;border-radius:50%;background:#edf4df;font:700 12px Outfit;flex-shrink:0}.avatar-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:20px;max-height:65vh;overflow:auto;overscroll-behavior:contain;padding:4px}.avatar-picker button{border:1px solid #dce3cf;border-radius:12px;background:#fffdf2;padding:7px 2px;min-width:0;min-height:95px}.avatar-picker button[aria-pressed=true]{border:2px solid #6a9b70;background:#e4f0d9}.avatar-picker svg{max-width:100%;height:auto}.avatar-picker span{display:block;font:600 9px Outfit;margin-top:5px}.close-table-link{color:#a05d43;margin:10px 0;font-size:11px}.session-clock{font-variant-numeric:tabular-nums}
/* Disable accidental double-tap zoom without intercepting scrolling or clicks. */
html[data-layout=phone] body,html[data-layout=phone] button,html[data-layout=phone] summary,html[data-layout=phone] a{touch-action:manipulation}
html[data-layout=phone] .game-main{grid-template-rows:minmax(0,1fr) 38px 76px auto}
html[data-layout=phone] .show-cards-actions{padding:3px 0 5px;gap:7px;height:44px}
html[data-layout=phone] .show-cards-actions>span{font-size:9px}
html[data-layout=phone] .seat-meta{font-size:7px;margin-top:2px}
html[data-layout=phone] .seat-clock{width:54px;margin-top:2px}
html[data-layout=phone] .hero-seat .seat-clock{left:calc(50% - 27px);bottom:-12px}
html[data-layout=phone] .seat-clock small{font-size:7px}
html[data-layout=phone] .time-burn{height:3px}
html[data-layout=phone] .allin-marker{width:31px;height:30px;font-size:7px;right:-9px;top:20px;padding-top:10px}
html[data-layout=phone] .table-bet strong{font-size:8px;margin-top:3px;padding:1px 4px}
html[data-layout=phone] .table-bet .chip-stack{width:14px;height:17px}.table-bet .chip-stack i{border-width:1px}
html[data-layout=phone] .table-bet .chip-stack i{width:13px;height:7px;bottom:calc(2px + var(--layer)*1.4px)}
html[data-layout=phone] .table-bet .chip-piles{gap:0}
html[data-layout=phone] .middle-chips{margin:0 auto 5px;gap:2px;min-height:14px}
html[data-layout=phone] .middle-chips .chip-stack{width:17px;height:17px;margin-top:2px}
html[data-layout=phone] .middle-chips .chip-stack i{width:16px;height:8px;border-width:1px;bottom:calc(4px + var(--layer)*1.5px)}
html[data-layout=phone] .middle-chips .chip-stack b{font-size:6px;bottom:-3px}
html[data-layout=phone] .table-center{top:39%}
html[data-layout=phone] .table-wordmark{display:none}
html[data-layout=phone] .sng-hud{margin-top:5px}
html[data-layout=phone] .difficulty{font-size:7px;padding:2px 4px;margin:3px 0}
html[data-layout=phone] .opponent-card .role-label{font-size:7px}
html[data-layout=phone] .home-avatar-choice{margin:5px 0;padding:2px 8px;min-height:32px}
html[data-layout=phone] .home-avatar-choice svg{width:25px;height:25px}
html[data-layout=phone] .avatar-picker{grid-template-columns:repeat(4,minmax(0,1fr));max-height:calc(var(--visible-height,700px) - 140px)}
html[data-layout=phone] .game-shell .subline{font-size:8px}
html[data-layout=phone] .showdown-contender .card{width:33px;height:47px;padding:4px}
@media(prefers-reduced-motion:reduce){.pot-collected,.voluntary-shown,.voluntary-reveal{animation:none}}
.table-quick-bets{display:flex;gap:6px;margin-top:9px}.table-quick-bets button{flex:1;border:1px solid #c9d9bd;background:#edf5e4;border-radius:7px;padding:5px;min-height:34px;font:700 11px Outfit}.table-quick-bets small{font-size:9px;font-weight:400;margin-left:5px}.table-quick-bets button:last-child{background:#ffebc5;border-color:#e0c58e}.blind-details{margin-top:16px;font-size:12px}.blind-details summary{padding:10px 0}.blind-details ol{padding-left:25px;line-height:1.9;color:#75816b}.blind-details .current-level{background:#e4eed5;border-radius:5px;color:#315d3b}.turn-countdown small{font-size:inherit}
html[data-layout=phone] .controls:has(.table-quick-bets){height:110px;max-height:110px;padding:8px}
html[data-layout=phone] .game-main:has(.table-quick-bets){grid-template-rows:minmax(0,1fr) 38px 114px auto}
html[data-layout=phone] .table-quick-bets{gap:4px;margin-top:7px}
html[data-layout=phone] .table-quick-bets button{font-size:10px;padding:3px;min-height:29px}
html[data-layout=phone] .table-quick-bets small{font-size:8px;margin-left:3px}
html[data-layout=phone] body[data-screen=welcome] .hero-left{display:flex;flex-shrink:0}
html[data-layout=phone] body[data-hosted=true][data-screen=welcome] .hero{justify-content:flex-start;overflow-y:auto;padding-top:22px}
html[data-layout=phone] body[data-hosted=true][data-screen=welcome] .hosted-sessions{margin:8px 0;padding:10px}
html[data-layout=phone] body[data-hosted=true][data-screen=welcome] .hosted-sessions p{display:none}
.table-dealer{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;display:grid;place-items:center;background:#fffef5;border:2px solid #617361;border-radius:50%;box-shadow:0 2px 3px #2543334a;font:800 12px Outfit;z-index:4;pointer-events:none}
html[data-layout=phone] .table-dealer{width:18px;height:18px;font-size:9px}
.seat-bank{display:inline-block;font-size:8px;color:#72744d;margin-left:3px}
html[data-layout=phone] .seat-bank{font-size:6px;margin-left:2px}
.hero-seat{padding-bottom:14px}.hero-seat .seat-clock{bottom:2px}
html[data-layout=phone] .hero-seat{padding-bottom:12px}
html[data-layout=phone] .hero-seat .seat-clock{bottom:2px}
html[data-layout=phone] .seat:not(.hero-seat){transform:translate(-50%,-35%)}
/* Reserve a separate band above the felt for table statistics. */

.table-center{top:46%}.table-wrap .table-bet,.table-wrap .table-dealer{margin-top:12px}
.table-lifecycle{padding:11px 0;font-size:11px;color:#637b5c;line-height:1.6}.table-lifecycle>div{display:flex;gap:8px;margin-top:7px}.table-lifecycle button{min-height:38px;border:1px solid #c8d9bd;background:#eff4e4;border-radius:8px;padding:6px 10px;font:600 11px Outfit}.local-saved-controls{display:flex;align-items:center;gap:8px}.local-saved-controls .resume{flex:1}.local-saved-controls .small-link{font-size:10px;min-height:38px}.paused-controls{gap:8px;text-align:center}.paused-controls strong{font-size:12px}
html[data-layout=phone] .table-center{top:43%}



/* Stats have their own top strip, outside the cards, pot and seat containers. */
.table-stats-band{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:300px;max-width:90%;height:36px;z-index:5;pointer-events:none}
.table-stats-band .sng-hud{position:static;transform:none;width:100%;margin:0;gap:3px}

html[data-layout=phone] .table-stats-band{top:7px;width:250px;height:34px}

.table-wrap .seat:not(.hero-seat){top:max(110px,var(--seat-top))!important;margin-top:0}
html[data-layout=phone] .table-wrap .seat:not(.hero-seat){top:max(90px,var(--seat-top))!important;margin-top:0}

.table-wrap .seat{z-index:4}.table-wrap .table-bet{z-index:2}.table-wrap .table-dealer{z-index:3}.table-stats-band{z-index:6}.seat-meta{background:#fff9eeeb;border-radius:4px;padding:1px 3px;display:inline-block}
/* Time is visualized around the portrait; numeric time-bank labels stay off-table. */
.seat-avatar{position:relative;overflow:visible}.avatar-timer{position:absolute;inset:-5px;display:block;pointer-events:none;z-index:2;isolation:isolate}.seat-avatar .avatar-timer>svg{display:block;width:100%!important;height:100%!important;max-width:none;overflow:visible;transform:rotate(-90deg);fill:none}.avatar-timer circle{fill:none;stroke-width:4;vector-effect:non-scaling-stroke}.avatar-timer .timer-track{stroke:#dde6d1;opacity:.8}.avatar-timer .timer-ring{stroke:#55a36b;stroke-dasharray:100;stroke-dashoffset:0;stroke-linecap:round;transition:stroke-dashoffset .1s linear,stroke .2s}.avatar-timer[data-banking=true] .timer-ring{stroke:#dca645}.avatar-timer[data-urgent=true] .timer-ring{stroke:#ce7965}.avatar-wins{position:absolute;top:-7px;right:-12px;z-index:4;display:inline-flex;align-items:center;gap:2px;background:#fff9e8;border:1px solid #ded5b4;border-radius:9px;padding:2px 4px;box-shadow:0 1px 3px #183d3114;font:600 9px/1 Outfit;white-space:nowrap;pointer-events:none}.avatar-wins b{font-size:9px;color:#79612d}.seat-avatar .dealer-chip{z-index:4}.hero-seat{padding-bottom:8px}
html[data-layout=phone] .avatar-timer{inset:-4px}
html[data-layout=phone] .avatar-timer circle{stroke-width:3}
html[data-layout=phone] .avatar-wins{font-size:7px;top:-5px;right:-9px;padding:2px 3px;gap:1px}
html[data-layout=phone] .avatar-wins b{font-size:7px}
html[data-layout=phone] .hero-seat{padding-bottom:8px}

/* Keep the welcome identity visible even with an active hosted table. */
html[data-layout=phone] body[data-screen=welcome] .hero{overflow-y:auto;justify-content:flex-start}
html[data-layout=phone] body[data-hosted=true][data-screen=welcome] .hero h1{font-size:28px}
html[data-layout=phone] body[data-hosted=true][data-screen=welcome] .hero-art svg{height:90px}

/* Compact one-shot actions, available only while a seated player waits. */
html .pre-action-controls{padding:12px 14px;min-height:0} .pre-action-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:12px;font-weight:650;color:var(--ink,#173d31)}.pre-action-heading small{font-size:10px;font-weight:400;line-height:1.3;text-align:right}.pre-action-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pre-action-options button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:43px;padding:7px 5px;border:1px solid #c7d5ba;border-radius:10px;background:#f0f4e5;color:#214d38;font:600 13px/1.2 Outfit,system-ui;overflow-wrap:anywhere;cursor:pointer;user-select:none;-webkit-user-select:none}.pre-action-options button[aria-pressed=true]{background:#27694a;color:#fff9ee;border-color:#1d4e38;box-shadow:inset 0 0 0 1px #9bcf9c}.pre-action-tick{font-size:16px;flex:none}html[data-appearance=dark] .pre-action-heading{color:#f2ead8}html[data-appearance=dark] .pre-action-options button{background:#263e33;color:#f4ecd9;border-color:#779472}html[data-appearance=dark] .pre-action-options button[aria-pressed=true]{background:#a6d4a0;color:#183b29}html[data-visual-style=classy] .pre-action-options button{border-radius:6px}html[data-layout=phone] .pre-action-controls{padding:9px 10px}html[data-layout=phone] .pre-action-options button{font-size:12px;min-height:42px}html[data-layout=phone] .pre-action-heading{font-size:11px;margin-bottom:7px}
