/* Shade both the unchanged stage bitmap and TABLE's breathing bitmap (z2).
   Keep this plane below seats/cards/chips and independent of breath opacity. */
.ponder-empty-seat-mask-layer{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none!important;contain:strict;}
.ponder-empty-seat-mask-layer[hidden],.ponder-empty-seat-mask[hidden]{display:none!important;}
.ponder-empty-seat-mask{position:absolute;display:block;pointer-events:none!important;border:0;border-radius:50%;background:radial-gradient(ellipse closest-side at center,rgba(0,0,0,.70) 0 50%,rgba(0,0,0,.58) 64%,rgba(0,0,0,.16) 86%,rgba(0,0,0,0) 100%);}
body:not(.app-view-table) .ponder-empty-seat-mask-layer{display:none!important;}
html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip{min-width:0!important;width:max-content!important;max-width:none!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;background-image:none!important;box-shadow:none!important;color:#fff!important;text-shadow:0 0 .18em #fff3!important;font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif!important;font-size:clamp(10px,1.28vw,19px)!important;letter-spacing:.025em!important;line-height:1.1!important;white-space:nowrap!important;overflow:visible!important;clip-path:none!important;translate:0 0!important;animation:none!important;will-change:auto!important;}
html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip::before,html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip::after{content:none!important;display:none!important;}
.ponder-showdown-rank-caption{display:block;white-space:nowrap;animation:ponder-settled-rank-fade 1750ms linear both;}
.ponder-showdown-rank-char{display:inline-block;opacity:0;animation:ponder-settled-rank-char 60ms linear both;animation-delay:calc(var(--rank-char-index) * var(--rank-char-step));}
.ponder-showdown-rank-caption.is-quiet{animation-duration:1300ms;}
.ponder-showdown-rank-caption.is-quiet .ponder-showdown-rank-char{animation:none;opacity:1;}
html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip[data-result-rank="THREE OF A KIND"],html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip[data-result-rank="FOUR OF A KIND"],html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip[data-result-rank="STRAIGHT FLUSH"],html body #table :is(#bet1,#bet2,#bet3,#bet4,#bet5,#bet6).bet-chip.hand-rank-chip[data-result-rank="ROYAL FLUSH"]{font-size:clamp(9px,1.05vw,16px)!important;}
@keyframes ponder-settled-rank-char{from{opacity:0}to{opacity:1}}
@keyframes ponder-settled-rank-fade{0%,82.857142857%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.ponder-showdown-rank-char{animation:none;opacity:1}.ponder-showdown-rank-caption{animation-duration:1300ms;}}
/* Ranked result actions retain the existing panel, with the next queue at right. */
html body #ponderRankedElimOverlay .actions.has-next-queue{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);justify-content:stretch}
html body #ponderRankedElimOverlay .actions.has-next-queue.is-terminal{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html body #ponderRankedElimOverlay [data-next-ranked-queue]{display:flex;align-items:center;gap:clamp(5px,.65vw,10px);padding-inline:clamp(7px,.8vw,12px);white-space:nowrap;min-width:0;font-size:clamp(9px,.95vw,14px)}
html body #ponderRankedElimOverlay [data-next-ranked-queue][aria-pressed="true"]{border-color:rgba(72,237,245,.7);color:#bdf9ff;background:rgba(13,56,65,.45)}
html body #ponderRankedElimOverlay .next-queue-check{display:grid;place-items:center;flex:0 0 auto;width:1.5em;height:1.5em;border:1px solid #249caa;border-radius:2px;color:transparent;background:#03131a;font-size:1.1em;line-height:1}
html body #ponderRankedElimOverlay [aria-pressed="true"] .next-queue-check{background:#00d4e5;border-color:#58f1fa;color:#03131a}
html body #ponderRankedElimOverlay .next-queue-label{color:#e2f8ff;font-weight:800;letter-spacing:.015em}
html body #ponderRankedElimOverlay .next-queue-status{margin-left:auto;font-size:.78em;color:#8fa8b1;letter-spacing:.03em}
html body #ponderRankedElimOverlay .next-queue-status:not(:empty)::before{content:"";display:inline-block;width:.55em;height:.55em;margin-right:.45em;border-radius:50%;background:#00d4e5;vertical-align:.05em}
html body #ponderRankedElimOverlay [data-next-queue-error]{margin-top:.4rem;text-align:right;color:#eab6bd;font-size:.7rem}

/* Preserve the existing side panel above the stage-local Result. */
#stage > #ponderHandReadResultList[data-result-game-id]{z-index:29001;max-width:13%;}
html body #stage #ponderRankedElimOverlay [data-next-ranked-queue]{gap:.65em;padding-inline:.8em;font-size:.875em;}
html body #stage #ponderRankedElimOverlay .sng-custom-standings{max-height:22em;gap:.3125em;}
html body #stage #ponderRankedElimOverlay .sng-custom-standing{padding:.5em .75em;gap:.75em;font-size:1em;}
html body #stage #ponderRankedElimOverlay button{font-size:.875em;}
html body #stage #ponderRankedElimOverlay .ranked-elim-hand-body button{font-size:.52em;}
html body #stage #ponderRankedElimOverlay [data-ranked-rating-save-status]{font-size:.65em!important;}

/* Guest Custom results own placements only; do not reserve a private-hand column. */
html body #stage #ponderRankedElimOverlay .ranked-elim-result-grid.is-placement-only{grid-template-columns:minmax(0,1fr)}
