/* Presentation only. The original action, amount and frame owners stay in place. */
/* Alpha changes once; native opacity transitions avoid per-frame inherited-variable recalculation. */
@property --table-ux-edge-light{syntax:'<number>';inherits:false;initial-value:1}
.table-ux-edge-flash{filter:var(--table-ux-source-filter,brightness(1)) brightness(var(--table-ux-edge-light,1))!important}
#ponderTableUXFeedback{position:fixed;inset:0;z-index:260;pointer-events:none;overflow:hidden;contain:strict}
.table-ux-panel-clip{position:absolute;inset:0;z-index:1;overflow:hidden;contain:paint;pointer-events:none}
/* Keep local water colours independent of native pressed/disabled filters.
   Only the visual tail is held; the original controls remain disabled/inert. */
html body.action-ui-v1.app-view-table #actions.action-right-panel #raiseQuickButtons button.raise-multi-btn:has(>.table-ux-panel-clip):is(:enabled,:disabled){filter:none!important}
.table-ux-ripple{position:absolute;color:#58eaff;pointer-events:none;transform:translate(-50%,-50%)}
.table-ux-press-flash{position:absolute;inset:0;background:currentColor;color:#58eaff;pointer-events:none;will-change:opacity}
.table-ux-ripple-ring{position:absolute;inset:0;border:3px solid currentColor;border-radius:50%;opacity:0;
    background:radial-gradient(ellipse at center,color-mix(in srgb,currentColor 4%,transparent) 0%,color-mix(in srgb,currentColor 10%,transparent) 45%,color-mix(in srgb,currentColor 28%,transparent) 80%,color-mix(in srgb,currentColor 20%,transparent) 94%,transparent 100%);
    box-shadow:inset 0 1px 0 var(--table-ux-ring-sheen,#eafbff99),inset 0 -3px 4px var(--table-ux-ring-shade,#01071699),0 0 4px currentColor;will-change:transform,opacity}
.table-ux-ripple-ring-secondary{color:#ae74ff}
.table-ux-impact{position:absolute;left:50%;top:50%;width:18px;height:18px;border-radius:50%;opacity:0;background:radial-gradient(ellipse at 42% 24%,var(--table-ux-impact-sheen,#effcff99),transparent 48%),radial-gradient(closest-side,var(--table-ux-impact-shade,#010711b8) 53%,currentColor 81%,transparent 100%);will-change:transform,opacity}
.table-ux-fold{color:#d9faff}.table-ux-raise{color:#ae74ff;--table-ux-ring-sheen:#eadcff99;--table-ux-ring-shade:#0d051a99;--table-ux-impact-sheen:#f1e4ff99;--table-ux-impact-shade:#11071fb8}.table-ux-raise>.table-ux-ripple-ring-secondary{color:#c48fff}
.table-ux-fold>.table-ux-ripple-ring-secondary{color:#bdefff}.table-ux-call>.table-ux-ripple-ring-secondary,.table-ux-check>.table-ux-ripple-ring-secondary{color:#7cecff}
.table-ux-preset{--table-ux-ring-sheen:#eadcff99;--table-ux-ring-shade:#0d051a99;--table-ux-impact-sheen:#f1e4ff99;--table-ux-impact-shade:#11071fb8}
.table-ux-preset>.table-ux-ripple-ring-secondary{color:#c48fff}
.table-ux-allin{color:#ff3766;--table-ux-ring-sheen:#ffe3e999;--table-ux-ring-shade:#1c051099;--table-ux-impact-sheen:#ffe6eb99;--table-ux-impact-shade:#21070fb8}
.table-ux-allin>.table-ux-ripple-ring-secondary{color:#ff758c}
.table-ux-frame-trace{position:absolute;overflow:visible;pointer-events:none}
.table-ux-frame-trace path{fill:none;stroke:#64ecff;stroke-width:1.1px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px #4ae4ff77)}
html body.app-view-table.table-ux-panel-hold #actionPanelV2 .v2-side-panel.table-ux-held{
    display:grid!important;visibility:visible!important;opacity:var(--table-ux-panel-alpha,1)!important;
    pointer-events:none!important;filter:none!important;transition:opacity var(--table-ux-panel-fade-ms,180ms) linear!important;
}
html body.app-view-table.table-ux-panel-hold #actions.table-ux-held{display:grid!important;visibility:visible!important;opacity:1!important;filter:none!important;transition:none!important}
html body.app-view-table.table-ux-panel-hold #actionPanelV2 .table-ux-held *{pointer-events:none!important}
/* Fade the real frame and action children from one shared alpha. The separate
   CHECK/FOLD reservation keeps its native visibility and input ownership. */
html body.action-ui-v1.app-view-table.table-ux-panel-hold #actions.table-ux-held>:not(#checkFoldToggleBtn):not(#rabbitToggleBtn){visibility:visible!important;opacity:calc(var(--table-ux-panel-alpha,1) * var(--table-ux-held-opacity,1))!important;filter:var(--table-ux-held-filter,none)!important;transition:opacity var(--table-ux-panel-fade-ms,180ms) linear!important;pointer-events:none!important}
html body.action-ui-v1.app-view-table.table-ux-panel-hold #actions.table-ux-held>:not(#checkFoldToggleBtn):not(#rabbitToggleBtn) *{pointer-events:none!important}
html body.action-ui-v1.app-view-table.table-ux-panel-hold #actions.table-ux-held::before{opacity:var(--table-ux-panel-alpha,1)!important;transition:opacity var(--table-ux-panel-fade-ms,180ms) linear!important}
html body.action-ui-v1.app-view-table.table-ux-panel-hold #actions.table-ux-held #raiseQuickButtons button,
html body.action-ui-v2.app-view-table.table-ux-panel-hold #actionPanelV2 .table-ux-held button:has(.table-ux-panel-clip){opacity:1!important;filter:none!important}
/* Do not reveal the native 90ms child transition after reaching zero. The
   separate CHECK/FOLD reservation remains available between action turns. */
html body.action-ui-v1.app-view-table #actions.table-ux-tail-ended:not(.my-turn)>:not(#checkFoldToggleBtn):not(#rabbitToggleBtn){opacity:0!important;visibility:hidden!important;transition:none!important;pointer-events:none!important}
html body.action-ui-v2.app-view-table:not(.v2-my-turn) #actionPanelV2 .table-ux-tail-ended{opacity:0!important;visibility:hidden!important;transition:none!important;pointer-events:none!important}
.table-ux-counting{filter:brightness(1.13);font-variant-numeric:tabular-nums}
.table-ux-counting.table-ux-counting-quiet{filter:none}
#raiseSliderWrap.table-ux-dragging .raise-thumb-drag{filter:brightness(1.14)}
#raiseSliderWrap.table-ux-dragging .raise-thumb-drag::after{content:"";position:absolute;inset:14%;border:1px solid #c48fff77;border-radius:inherit;transform:translateX(calc(var(--table-ux-trail-direction,1) * -3px));opacity:.4;pointer-events:none}
#actions.is-raise-max #raiseSliderWrap.table-ux-dragging .raise-thumb-drag::after{border-color:#ff376677}
body.ponder-duel-active :is(#ponderTableUXFeedback,.table-ux-panel-clip),body.ponder-showdown-result-mode :is(#ponderTableUXFeedback,.table-ux-panel-clip){visibility:hidden}
@media(prefers-reduced-motion:reduce){#ponderTableUXFeedback,.table-ux-panel-clip{display:none}.table-ux-counting{filter:none}#raiseSliderWrap .raise-thumb-drag::after{display:none}}
/* The self hand rank moves to the free side of the hero frame in left mode.
   Seat geometry, ordinary action chips and right-handed layout stay intact. */
body.table-controls-left #bet6.hand-rank-chip {
    left: 70% !important;
    top: 68% !important;
}
