@import url('./source-tools71.css?revision=71');
/* Approved artwork uses one uniform camera scale. HUD nodes remain retained. */
#table.cash-scene{background:#111b23;overflow:hidden;isolation:isolate;font-family:Arial,'Malgun Gothic',sans-serif}
.cash-scene-background{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.cash-scene-background>img{position:absolute;display:block;max-width:none;object-fit:fill;pointer-events:none}
#table.cash-scene #board.board{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-height:0;display:block;transform:none;perspective:none;gap:0;pointer-events:none;z-index:3}
#table.cash-scene .playing-card{position:absolute;display:block;flex:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;transform:none;transform-origin:center;pointer-events:none}
#table.cash-scene .playing-card.winning,#table.cash-scene .playing-card.made{transform:none;box-shadow:none;background:none}
#table.cash-scene .playing-card.unused{filter:none}
/* A verified voluntary opening becomes bright even when its owner folded.
   Move the existing folded filter to each unselected card, preserving opacity. */
#table.cash-scene .seat.own.folded .seat-cards.has-manual-disclosure{filter:none}
#table.cash-scene .seat.own.folded .seat-cards.has-manual-disclosure .playing-card:not(.manually-shown){filter:brightness(.47) saturate(.65)}
#table.cash-scene .playing-card.deal-in,#table.cash-scene .playing-card.board-flip{animation:none}
.cash-card-plane{position:absolute;left:0;top:0;width:160px;height:224px;transform-origin:0 0;overflow:visible;border-radius:0;filter:drop-shadow(0 3px 2px #00152365);backface-visibility:visible;z-index:1}
/* Retain the inset recovery core for legacy SVG paper. Native atlas frames
   own their complete alpha boundary, including their transparent gutters. */
.cash-card-plane::before{content:'';position:absolute;inset:2px;background:#fffefb;border-radius:10.5px;pointer-events:none}
#table.cash-scene .cash-card-plane:has(>img[src^="/play-v2/fidelity/cards-native71/"])::before,
#table.cash-scene .cash-card-plane:has(>[data-static-paper-fallback]>img[src^="/play-v2/fidelity/cards-native71/"])::before{content:none}
.cash-card-ground{position:absolute;left:0;top:0;width:160px;height:224px;transform-origin:0 0;border-radius:var(--cash-result-shadow-radius,16px);background:rgba(0,1,4,.44);filter:blur(var(--cash-result-shadow-blur,1.6px));pointer-events:none;z-index:0}
#table.cash-scene .cash-card-plane>img{position:absolute;left:-2px;top:-2px;display:block;width:164px;height:228px;padding:2px;border:0;box-sizing:border-box;max-width:none;object-fit:fill;pointer-events:none}
#table.cash-scene .cash-card-plane>.cash-static-paper{position:absolute;display:block;padding:0;border:0;max-width:none;pointer-events:none}
#table.cash-scene .cash-card-plane[data-static-raster="ready"]>img{opacity:0}
#table.cash-scene .cash-card-plane>img[hidden]~.cash-static-paper{display:none}
/* The approved SVG owns the rounded paper edge. Its160x224 content remains
   at0,0; only the image border-box extends2px into transparent padding.
   This avoids a second rounded clip and leaves room around a projected layer
   edge without resizing artwork, its matrix, or the existing hole shadow. */
#table.cash-scene #board .cash-card-plane{overflow:visible;border-radius:0;filter:none}
#table.cash-scene .playing-card.winning .cash-card-plane,#table.cash-scene .playing-card.made .cash-card-plane{box-shadow:none;outline:0}
#table.cash-scene .playing-card.winning .cash-card-plane{filter:none}
#table.cash-scene .playing-card.winning .cash-card-plane::after{content:'';position:absolute;inset:0;box-sizing:border-box;border:var(--cash-result-outline-width,7.2px) solid #ffc400;border-radius:12.5px;box-shadow:inset 0 0 1.3px 1.8px #fff5b8;pointer-events:none}
/* Settlement arrives before queued public reveals finish. Keep the original
   paper until the final rank cue instead of exposing a premature result lift. */
#table.cash-scene[data-cash-result-lift="pending"] .playing-card.winning .cash-card-plane::after{opacity:0}
#table.cash-scene[data-cash-result-lift="pending"] .playing-card.unused .cash-card-plane,#table.cash-scene[data-cash-result-lift="pending"] #board .playing-card.unused .cash-card-plane{filter:none}
#table.cash-scene .playing-card.unused .cash-card-plane{filter:none}
#table.cash-scene #board .cash-card-plane{filter:none}
#table.cash-scene #board .playing-card.unused .cash-card-plane{filter:brightness(var(--result-unused-brightness,.515))}
#table.cash-scene .seats{position:absolute;inset:0;pointer-events:none;z-index:4}
#table.cash-scene .seat{position:absolute;width:0;height:0;transform:none;text-align:center;pointer-events:none;overflow:visible}
#table.cash-scene .avatar{position:absolute;left:0;top:0;transform:translate(-50%,-50%);min-height:0;padding:0;border:0;border-radius:50%;overflow:visible;background:transparent;box-shadow:0 2px 4px #0008;pointer-events:auto;display:block}
#table.cash-scene .avatar>svg{display:block;width:100%;height:100%;overflow:hidden;border-radius:50%}
#table.cash-scene .seat:not(.empty) .avatar{opacity:1}
#table.cash-scene .avatar:hover{filter:brightness(1.05)}
/* WPL UpdateUIFold uses an opaque portrait plus its original black mask.
   Native fold129x129 / photo126.629997x125.089996; no photo grayscale. */
#table.cash-scene .seat.folded:not(.empty) .avatar,#table.cash-scene .seat.sitting-out:not(.empty) .avatar{filter:none;opacity:1}
#table.cash-scene .cash-fold-shade170{display:none;position:absolute;left:-.935804%;top:-1.562876%;width:101.871608%;height:103.125752%;max-width:none;filter:brightness(0);opacity:.7490196228;pointer-events:none;z-index:1}
#table.cash-scene .seat.folded .cash-fold-shade170,#table.cash-scene .seat.sitting-out .cash-fold-shade170{display:block}
#table.cash-scene .seat.acting .avatar::before,#table.cash-scene .seat.acting .avatar::after{display:none}
#table.cash-scene .seat.acting .avatar{box-shadow:0 2px 4px #0008}
#table.cash-scene .seat.empty .avatar{background:#0009;border:0;box-shadow:none;opacity:.9}
#table.cash-scene .seat.empty .avatar::before,#table.cash-scene .seat.empty .avatar::after{content:none;display:none}
#table.cash-scene .seat.empty .avatar:disabled{opacity:.32}
#table.cash-scene .seat.empty.reserved .avatar{opacity:1;background:#000a}
#table.cash-scene .seat-reservation-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:500 max(10px,calc(29px * var(--cash-scale)))/1.1 Arial,'Malgun Gothic',sans-serif;color:#d0d0d0}
#table.cash-scene .seat-reservation-label small{font-size:.8em;font-weight:400;color:#aaa}
#table.cash-scene .seat-name.showing-equity{text-shadow:none;letter-spacing:0;font-weight:400;white-space:nowrap;line-height:1.15}
#table.cash-scene .seat.empty .avatar>svg{animation:cash-empty-arrow 1s ease-in-out infinite alternate}
#table.cash-scene .seat-info{position:absolute;left:0;transform:translateX(-50%);margin:0;padding:3px 5px;border:0;border-radius:3px;background:#000a;line-height:1.15;pointer-events:auto;text-align:center;box-sizing:border-box}
#table.cash-scene .seat-name{display:block;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:1.1;color:#b9bfc4;font-weight:400;cursor:pointer;max-height:2.2em;overflow:hidden}
#table.cash-scene .seat-stack{display:block;font-family:Arial,sans-serif;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.2;color:#f5f5ee;white-space:nowrap}
#table.cash-scene .seat-status{display:block;font:400 8px/1.15 Arial,'Malgun Gothic',sans-serif;color:#acb6c2;white-space:normal}
#table.cash-scene .seat-status:empty{display:none}
#table.cash-scene .seat.sitting-out .seat-status{display:none}
/* Original StatusTextBG sits above the nickname/chip plate at its top anchor. */
.cash-sitout-state170{--sitout-u:calc(var(--sitout-scale,1) * 1px);position:absolute;left:0;width:calc(63.74000168 * var(--sitout-u));height:calc(20 * var(--sitout-u));transform:translate(-50%,-100%);pointer-events:none;z-index:9}
.cash-sitout-state170[hidden]{display:none!important}
.cash-sitout-state170::before{content:'';position:absolute;inset:0;box-sizing:border-box;border:calc(5 * var(--sitout-u)) solid transparent;border-image:url('./fidelity/source-ui/connection164/sitout-bg170.png') 5 fill stretch}
.cash-sitout-state170>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;pointer-events:none}
/* Supplemental status cannot extend a side chair's nameplate into the first
   or last board card. Keep name/amount baselines and all card/avatar anchors;
   the status badge grows upward above that chair's photograph instead. */
#table.cash-scene[data-table-profile="mobile-approved"] .seat:is([data-scene-slot="1"],[data-scene-slot="2"]) .seat-status{position:absolute;left:0;bottom:calc(100% + var(--cash-avatar-size) + 2px * var(--cash-layout-factor));width:100%;padding:calc(2px * var(--cash-layout-factor)) calc(3px * var(--cash-layout-factor));border-radius:calc(3px * var(--cash-layout-factor));background:#000a;line-height:1.15;box-sizing:border-box}
#table.cash-scene .seat-cards{position:absolute;left:0;top:0;display:block;width:0;height:0;gap:0;transform:none;pointer-events:none;overflow:visible;z-index:5}
#table.cash-scene .seat.own .seat-cards{left:0;top:0;gap:0}
#table.cash-scene .seat-cards.peeking,#table.cash-scene .seat-cards.fx-receiving{visibility:hidden}
#table.cash-scene .seat .seat-cards .playing-card{position:absolute}
#table.cash-scene .seat .fx-winner-label{position:absolute;left:var(--cash-winner-x,0px);top:var(--cash-winner-y);width:var(--cash-winner-width,80px);max-width:none;display:block;transform:translateX(-50%);font-size:var(--cash-winner-title,13px);line-height:1.06;text-align:center;white-space:nowrap;letter-spacing:-.25px;gap:0}
#table.cash-scene .seat .fx-winner-label strong{display:block;font-size:var(--cash-winner-amount,15px);line-height:1.04;margin-top:3px;letter-spacing:-.25px}
#table.cash-scene .hand-rank{position:absolute;transform:none;text-align:center;font-family:Arial,'Malgun Gothic',sans-serif;font-weight:600;line-height:1.2;color:#dbbf49;white-space:nowrap;pointer-events:none}
#table.cash-scene .seat-bet{position:absolute;display:block;width:0;height:0;transform:none;font:400 max(9px,calc(22px * var(--cash-scale))) / 1.1 Arial,sans-serif;color:#e5e9e8;white-space:nowrap;pointer-events:none}
#table.cash-scene .seat-bet .chip-pile{position:absolute;left:calc(-35px * var(--cash-scale));top:calc(-35px * var(--cash-scale));--chip-pile-unit:calc(70 / 34 * var(--cash-scale) * 1px);width:calc(70px * var(--cash-scale));height:calc(70px * var(--cash-scale));margin:0}
#table.cash-scene .blind-marker{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:max(17px,calc(34px * var(--cash-scale)));height:max(17px,calc(34px * var(--cash-scale)));border:1px solid #0b88bc;border-radius:50%;background:linear-gradient(#73d3ff,#0882c7);color:#012c48;font:700 max(8px,calc(20px * var(--cash-scale)))/1 Arial,sans-serif;letter-spacing:0;box-shadow:0 1px 2px #001a3470}
#table.cash-scene .dealer{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;padding:0;border:1px solid #c3c9cc;background:linear-gradient(#fff,#dce4e7);font:700 max(8px,calc(19px * var(--cash-scale)))/1 Arial,sans-serif;color:#223b4b;border-radius:50%;z-index:7}
.cash-game-view .room-heading{max-width:min(38%,250px);padding-top:0;display:grid;gap:1px;text-align:right;line-height:1.25}
.cash-game-view .room-heading h1,.cash-game-view .room-heading>span{font:400 9px/1.25 Arial,'Malgun Gothic',sans-serif;color:#8f9ca6}
#table.cash-scene .table-meta{left:auto;right:10px;top:37px;max-width:38%;display:flex;flex-direction:column;align-items:flex-end;gap:1px;font:8px/1.2 Arial,'Malgun Gothic',sans-serif;pointer-events:none;z-index:8;color:#788b99}
#table.cash-scene .table-meta span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#table.cash-scene .table-message{right:auto;width:60%;transform:translate(-50%,-50%);font:400 11px/1.4 Arial,'Malgun Gothic',sans-serif;z-index:2}
#table.cash-scene .table-tools{position:absolute;left:9px;bottom:6px;z-index:19;display:flex;gap:2px}
#table.cash-scene .table-tool{min-height:40px;width:40px;padding:0;border:0;background-color:transparent;background-size:25px 25px;background-position:center;background-repeat:no-repeat;box-shadow:none}
#table.cash-scene .table-tool>svg{visibility:hidden}
/* Keep keyboard focus on the icon itself, without the round outer outline. */
#table.cash-scene .table-tool:focus,#table.cash-scene .table-tool:focus-visible{outline:none;outline-offset:0;box-shadow:none}
#table.cash-scene .table-tool:focus-visible{filter:brightness(1.25)}
#table.cash-scene #fairness-open{background-image:url('./fidelity/shared/ui-icons/hand-record.svg')}
#table.cash-scene #chat-open{background-image:url('./fidelity/shared/ui-icons/chat.svg')}
#table.cash-scene #settings-open{background-image:url('./fidelity/shared/ui-icons/settings.svg')}
#table.cash-scene .motion-layer{z-index:12}
@keyframes cash-empty-arrow{from{transform:translateY(-2px)}to{transform:translateY(2px)}}
@media(prefers-reduced-motion:reduce){#table.cash-scene .seat.empty .avatar>svg{animation:none}}

/* No permanent hairline rim: the photograph is clipped once; the action timer
   supplies its own ring. Monetary glyphs retain their actual ink proportions. */
#table.cash-scene .cash-blinds{position:absolute;transform:translate(-50%,-50%);z-index:2;color:#95bad4;opacity:.88;white-space:nowrap;pointer-events:none;font-family:Arial,'Malgun Gothic',sans-serif;line-height:1.1;text-shadow:0 1px 1px #00223c}
#table.cash-scene .cash-wager-money{display:block;width:auto;height:max(9px,calc(22px * var(--cash-scale)));overflow:visible}
#table.cash-scene .cash-wager-amount{display:block;position:absolute;left:0;top:calc(42px * var(--cash-scale));transform:translate(-50%,-50%);line-height:1}
#table.cash-scene #rebuy-open{background-image:url('./fidelity/shared/ui-icons/coin-add.svg')}
.cash-game-view .waiting-actions{grid-template-columns:1fr}

/* Source-fitted SVG discs replace the temporary CSS circles and font glyphs. */
#table.cash-scene .blind-marker,#table.cash-scene .dealer{display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;line-height:0;overflow:visible}
#table.cash-scene .blind-marker>img,#table.cash-scene .dealer>img{display:block;width:100%;height:100%;max-width:none;pointer-events:none}
.fx-showdown-queued{visibility:hidden!important}
.runtime-showdown-back{pointer-events:none;border-radius:12.5px}

/* A selected profile keeps the approved reference-size ink/padding. Window
   media queries may not independently enlarge or clamp these scene labels. */
#table.cash-scene[data-table-profile] .seat-info{padding:calc(3px * var(--cash-layout-factor)) calc(5px * var(--cash-layout-factor));border-radius:calc(3px * var(--cash-layout-factor))}
/* Source14 PC name/amount rows are fixed reference-pixel centers. Long
   nicknames and supplemental statuses keep their existing product fallback. */
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-info{min-height:var(--cash-pc-plate-height)}
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-name{position:absolute;left:calc(5px * var(--cash-layout-factor));right:calc(5px * var(--cash-layout-factor));top:var(--cash-pc-plate-name-y);transform:translateY(-50%)}
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-stack{position:absolute;left:0;top:var(--cash-pc-plate-stack-y);width:100%;transform:translateY(-50%)}
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-stack[data-native-pc-stack="true"]{color:transparent;text-shadow:none}
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-stack-native76{position:absolute;display:block;left:50%;top:50%;transform:translate(-50%,-50%);max-width:none;pointer-events:none}
#table.cash-scene[data-table-profile="desktop-wpl-v1"] .seat-status{padding-top:var(--cash-pc-plate-height);padding-bottom:calc(3px * var(--cash-layout-factor))}
#table.cash-scene[data-table-profile] .seat-status{font-size:calc(8px * var(--cash-layout-factor))}
#table.cash-scene[data-table-profile] .seat-reservation-label{font-size:calc(29px * var(--cash-scale))}
#table.cash-scene[data-table-profile] .seat-reservation-label small{font-size:.8em}
#table.cash-scene[data-table-profile] .cash-wager-money{height:calc(22px * var(--cash-scale))}
#table.cash-scene[data-table-profile] .seat.empty .avatar>svg{animation-name:cash-empty-arrow-profile}
#table.cash-scene[data-table-profile] .seat .fx-winner-label{left:var(--cash-winner-x,0px);top:var(--cash-winner-y);width:var(--cash-winner-width);font-size:var(--cash-winner-title)}
#table.cash-scene[data-table-profile] .seat .fx-winner-label strong{font-size:var(--cash-winner-amount)}
@keyframes cash-empty-arrow-profile{from{transform:translateY(calc(-2px * var(--cash-layout-factor)))}to{transform:translateY(calc(2px * var(--cash-layout-factor)))}}

/* Source Select owns the border, shadow and mesh; prevent a second CSS rim. */
#table.cash-scene .playing-card[data-source-selection="true"] .cash-card-plane::after{content:none}

/* Byte-preserved mobile ImageExSet art. Native right half mirrors exactly;
   original source branding is absent and our existing logo stays separate. */
.cash-scene-background>.cash-table-source-right71{transform-origin:50% 50%}
.cash-scene-background>img[hidden]{display:none}
#table.cash-scene :is(.blind-marker,.dealer)[data-source-art="71"]>img{object-fit:contain}
#table.cash-scene .source-marker-label71{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);overflow:visible;pointer-events:none}
