/* Explicit camera profiles. This file is last in the runtime cascade.
   HUD coordinates come from the same scene projection as cards and seats;
   utility sheets are product adaptations, not observed desktop WPL motion. */
body[data-layout-profile] #game-view{--bet-scale:var(--cash-profile-bet-scale)}
body[data-layout-profile="desktop-wpl-v1"] #game-view{display:block;grid-template-rows:none;width:100%;max-width:none;padding:0;overflow:hidden}
body[data-layout-profile="desktop-wpl-v1"] #table{position:absolute;inset:0;width:100%;height:100%;min-height:0}
/* Live mobile fits the whole approved390x845 page once. No second grid
   footer consumes81/88px after HUD controls have become absolute. */
body[data-layout-profile="mobile-approved"] #game-view{display:block;grid-template-rows:none;width:100%;max-width:none;padding:0;overflow:hidden}
body[data-layout-profile="mobile-approved"] #table{position:absolute;inset:0;width:100%;height:100%;min-height:0}
body[data-layout-profile="mobile-approved"] #action-caption{position:absolute;left:var(--cash-hud-caption-left);top:var(--cash-hud-caption-top);width:var(--cash-hud-caption-width);height:var(--cash-hud-caption-height);min-height:0;padding:calc(1px * var(--cash-control-factor)) calc(10px * var(--cash-control-factor));font-size:calc(10px * var(--cash-control-factor));z-index:40;background:transparent}
body[data-layout-profile="mobile-approved"] #waiting-actions[data-entry-active=true]{background:transparent;pointer-events:none}
body[data-layout-profile="mobile-approved"] #turn-clock{font-size:calc(12px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] #raise-panel{left:var(--cash-hud-rail-left);top:var(--cash-hud-rail-top);right:auto;bottom:auto;width:var(--cash-hud-rail-width);height:var(--cash-hud-rail-height)}
body[data-layout-profile] #bet-actions.bet-actions,body[data-layout-profile] #waiting-actions{position:absolute;left:var(--cash-hud-action-left);top:var(--cash-hud-action-top);right:auto;bottom:auto;width:var(--cash-hud-action-width);height:var(--cash-hud-action-height);min-height:0;margin:0;padding:0;gap:calc(3px * var(--cash-control-factor))}
body[data-layout-profile] #waiting-actions{left:var(--cash-hud-waiting-left);top:var(--cash-hud-waiting-top);width:var(--cash-hud-waiting-width);height:var(--cash-hud-waiting-height)}
body[data-layout-profile] #waiting-actions .cash-entry-choice{font-size:calc(13.26px * var(--cash-control-factor));gap:calc(10px * var(--cash-control-factor));padding:0 calc(8px * var(--cash-control-factor))}
.cash-entry-native-label77{display:none}
/* Source10/12: 264px wait,9px gap,163px immediate; label ink20px. */
body[data-layout-profile="desktop-wpl-v1"] #waiting-actions[data-entry-selecting=true]{grid-template-columns:264fr 163fr;gap:calc(9px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #waiting-actions .cash-entry-choice{font-size:calc(22px * var(--cash-control-factor));font-weight:900}
body[data-layout-profile="desktop-wpl-v1"] #waiting-actions .cash-entry-original-label77{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-layout-profile="desktop-wpl-v1"] #waiting-actions .cash-entry-native-label77{display:block;flex:none;transform:translateX(calc(9px * var(--cash-control-factor)));pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #waiting-actions .cash-entry-native-label77 svg{display:block;width:auto;height:calc(47px * var(--cash-control-factor));overflow:visible}
/* Source PC22 puts comeback at the right of the existing idle-action area.
   Reuse its gray action face; this adds no extra footer or empty button strip. */
body[data-layout-profile] #waiting-actions[data-entry-returning=true]{display:flex;justify-content:flex-end;background:transparent;box-shadow:none;pointer-events:auto;z-index:42}
body[data-layout-profile] #waiting-actions[data-entry-returning=true] #ready-toggle{display:grid;place-items:center;flex:none;width:min(100%,calc(141px * var(--cash-control-factor)));height:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:url('./fidelity/source-ui/pc-buttons78/action-fold-reference14.png') center/100% 100% no-repeat;box-shadow:none;color:#eef7fb;text-shadow:0 1px 2px #263844;font:700 calc(20px * var(--cash-control-factor))/1 NastyTableMenu97,Arial,sans-serif;white-space:nowrap;touch-action:manipulation}
body[data-layout-profile] #waiting-actions[data-entry-returning=true] #ready-toggle:disabled{opacity:.5}
body[data-layout-profile] #waiting-actions[data-entry-returning=true] #ready-toggle:active:not(:disabled){filter:brightness(.85)}
body[data-layout-profile] #waiting-actions[data-entry-returning=true] #ready-toggle:focus-visible{outline:2px solid #e5eff4;outline-offset:-3px}
body[data-layout-profile="desktop-wpl-v1"] #bet-actions.bet-actions{gap:calc(5px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel{left:var(--cash-hud-rail-left);top:var(--cash-hud-rail-top);right:auto;bottom:auto;width:var(--cash-hud-rail-width);height:var(--cash-hud-rail-height);border:0;border-radius:calc(3px * var(--cash-control-factor));background:#333d;border:calc(1px * var(--cash-control-factor)) solid #5a5a5a;box-shadow:0 calc(1px * var(--cash-control-factor)) calc(4px * var(--cash-control-factor)) #0007}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel::before,body[data-layout-profile="desktop-wpl-v1"] #raise-panel::after{display:none;content:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-stack{left:0;top:calc(4px * var(--cash-control-factor));width:100%}
body[data-layout-profile="desktop-wpl-v1"] #raise-stack-label svg{height:calc(18px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-percent{font-size:calc(12px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-rail{left:calc(22px * var(--cash-control-factor));top:calc(66px * var(--cash-control-factor));width:calc(24px * var(--cash-control-factor));height:calc(150px * var(--cash-control-factor));right:auto;background:transparent}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-rail::before{left:calc(9px * var(--cash-control-factor));top:calc(4px * var(--cash-control-factor));width:calc(6px * var(--cash-control-factor));height:calc(142px * var(--cash-control-factor));border-radius:calc(3px * var(--cash-control-factor));background:#151515}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-rail::after{left:calc(11px * var(--cash-control-factor));top:calc(8px * var(--cash-control-factor));width:calc(2px * var(--cash-control-factor));height:calc(134px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-handle{height:calc(36px * var(--cash-control-factor));bottom:calc((100% - 36px * var(--cash-control-factor)) * var(--raise-position))}
body[data-layout-profile="desktop-wpl-v1"] #raise-plus,body[data-layout-profile="desktop-wpl-v1"] #raise-minus{left:calc(22px * var(--cash-control-factor));right:auto;width:calc(24px * var(--cash-control-factor));height:calc(24px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-plus{top:calc(40px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-minus{top:calc(216px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-presets{position:absolute;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex-direction:row;gap:0;left:calc(var(--cash-hud-presets-left) - var(--cash-hud-rail-left));top:calc(var(--cash-hud-presets-top) - var(--cash-hud-rail-top));width:var(--cash-hud-presets-width);height:var(--cash-hud-presets-height)}
body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-preset{width:100%;height:100%;border-radius:0}
body[data-layout-profile="desktop-wpl-v1"] #raise-bubble{left:calc(var(--cash-hud-amount-left) - var(--cash-hud-rail-left));top:calc(var(--cash-hud-amount-top) - var(--cash-hud-rail-top));right:auto;bottom:auto;width:var(--cash-hud-amount-width);height:var(--cash-hud-amount-height);display:block}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad-open{left:calc(var(--cash-hud-keypad-left) - var(--cash-hud-rail-left));top:calc(var(--cash-hud-keypad-top) - var(--cash-hud-rail-top));width:var(--cash-hud-keypad-width);height:var(--cash-hud-keypad-height);display:block}
body[data-layout-profile="desktop-wpl-v1"] #raise-close,body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-bounds,body[data-layout-profile="desktop-wpl-v1"] #raise-panel .cash-raise-feedback{display:none}
/* Both keypads use one shared whole-object scale. The buy-in popup is
   relative to its dialog; the raise popup is fixed in the visual viewport. */
body[data-layout-profile] #raise-keypad{--cash-popup-scale:var(--cash-profile-popup-scale)}
body[data-layout-profile] #raise-keypad .cash-input-popup{left:var(--cash-popup-left);translate:none;top:var(--cash-profile-popup-top)}
body[data-layout-profile] dialog#buyin-dialog{left:var(--cash-buyin-left);top:var(--cash-buyin-top);right:auto;bottom:auto;translate:none;margin:0;width:var(--cash-buyin-width);height:var(--cash-buyin-height);max-width:none;max-height:none;--buyin-scale:var(--cash-profile-buyin-scale);--cash-popup-scale:var(--cash-profile-popup-scale)}
body[data-layout-profile] #peek-panel[data-runtime-peek]{left:var(--cash-hud-peek-left);top:var(--cash-hud-peek-top);right:auto;bottom:auto;width:var(--cash-hud-peek-width);height:var(--cash-hud-peek-height);max-height:none;margin:0}
body[data-layout-profile] #peek-panel[data-runtime-peek] .peek-top{top:calc(5px * var(--cash-control-factor));font-size:calc(12px * var(--cash-control-factor))}
body[data-layout-profile] #peek-panel[data-runtime-peek] #peek-hint{font-size:calc(10px * var(--cash-control-factor));bottom:calc(3px * var(--cash-control-factor))}
body[data-layout-profile] #peek-panel[data-runtime-peek] .peek-top span{padding:calc(4px * var(--cash-control-factor)) calc(7px * var(--cash-control-factor))}
body[data-layout-profile] #peek-panel[data-runtime-peek] .peek-surface{height:calc(100% - 28px * var(--cash-control-factor));padding-top:calc(15px * var(--cash-control-factor))}
/* Minimum-size results are frozen at the approved logical reference, then
   projected. A browser width or short keyboard must not grow one button. */
body[data-layout-profile] #buyin-close{min-width:calc(20px * var(--cash-dialog-factor));min-height:calc(20px * var(--cash-dialog-factor))}
body[data-layout-profile] #buyin-keypad-open{min-width:calc(24px * var(--cash-dialog-factor));min-height:calc(24px * var(--cash-dialog-factor))}
body[data-layout-profile] #buyin-minimum,body[data-layout-profile] #buyin-maximum{min-width:calc(28px * var(--cash-dialog-factor));min-height:calc(28px * var(--cash-dialog-factor))}
body[data-layout-profile] #buyin-error{font-size:max(calc(10px * var(--cash-dialog-factor)),calc(26px * var(--buyin-scale)))}
body[data-layout-profile] #raise-keypad-close,body[data-layout-profile] #buyin-keypad-close{min-width:calc(22px * var(--cash-dialog-factor));min-height:calc(22px * var(--cash-dialog-factor));font-size:max(calc(18px * var(--cash-dialog-factor)),calc(44px * var(--cash-popup-scale)))}
body[data-layout-profile] #raise-keypad #keypad-error{font-size:max(calc(9px * var(--cash-dialog-factor)),calc(21px * var(--cash-popup-scale)))}
body[data-layout-profile="mobile-approved"] #raise-panel .cash-raise-bounds{font-size:calc(9px * var(--cash-control-factor));gap:calc(2px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] #raise-panel .cash-raise-bounds>span{--bounds-scale:var(--bet-scale)}
body[data-layout-profile="mobile-approved"] #raise-close{width:calc(18px * var(--cash-control-factor));height:calc(18px * var(--cash-control-factor));min-height:0;right:calc(2px * var(--cash-control-factor));top:calc(3px * var(--cash-control-factor));font-size:calc(16px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] #table .table-tools{left:var(--cash-hud-tools-left);top:var(--cash-hud-tools-top);bottom:auto;gap:calc(2px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] #table .table-tool{width:calc(40px * var(--cash-control-factor));height:calc(40px * var(--cash-control-factor));min-width:0;min-height:0;background-size:calc(25px * var(--cash-control-factor)) calc(25px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] .own-show-actions{left:calc(var(--cash-hud-action-left) + 5px * var(--cash-control-factor));right:auto;top:calc(var(--cash-hud-action-top) + 10px * var(--cash-control-factor));bottom:auto;width:calc(244.4px * var(--cash-control-factor));height:calc(48px * var(--cash-control-factor));gap:calc(4px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] .own-show-actions button{min-height:0;font-size:calc(10px * var(--cash-control-factor));gap:calc(2px * var(--cash-control-factor));padding:calc(2px * var(--cash-control-factor)) calc(3px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] .own-show-icons{height:calc(23px * var(--cash-control-factor));gap:calc(2px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] .own-show-icons img{width:calc(16px * var(--cash-control-factor));height:calc(22.4px * var(--cash-control-factor))}
body[data-layout-profile="mobile-approved"] .behind-actions{left:calc(var(--cash-hud-action-left) + 254px * var(--cash-control-factor));top:calc(var(--cash-hud-action-top) + 10px * var(--cash-control-factor));right:auto;bottom:auto;width:calc(131px * var(--cash-control-factor));height:calc(48px * var(--cash-control-factor));gap:0}
body[data-layout-profile="mobile-approved"] .behind-open{width:100%;min-width:0;min-height:0;font-size:calc(16px * var(--cash-control-factor))}
body[data-layout-profile] dialog:is(#settings-dialog,#record-dialog,#chat-dialog){position:fixed;inset:auto;translate:none;margin:0;max-width:none;max-height:none;padding-bottom:0;scale:var(--cash-dialog-factor);transform-origin:0 0}
body[data-layout-profile] dialog#settings-dialog{left:var(--cash-settings-left);top:var(--cash-settings-top);width:var(--cash-settings-logicalWidth);height:var(--cash-settings-logicalHeight);scale:var(--cash-settings-scale,var(--cash-dialog-factor))}
body[data-layout-profile] dialog#record-dialog{left:var(--cash-history-left);top:var(--cash-history-top);width:var(--cash-history-logicalWidth);height:var(--cash-history-logicalHeight);scale:var(--cash-history-scale,var(--cash-dialog-factor))}
body[data-layout-profile] dialog#chat-dialog{left:var(--cash-chat-left);top:var(--cash-chat-top);width:var(--cash-chat-logicalWidth);height:var(--cash-chat-logicalHeight);scale:var(--cash-chat-scale,var(--cash-dialog-factor))}
body[data-layout-profile] #chat-dialog .dialog-body{padding-bottom:8px}
body[data-layout-profile] dialog.ui-sheet#chat-dialog .dialog-heading{min-height:39px}
body[data-layout-profile] dialog.ui-sheet#chat-dialog .chat-log{max-height:none;min-height:50px}
/* Freeze the approved inner settings proportions even when a portrait mode
   is rendered inside a landscape browser or the keyboard changes height. */
body[data-layout-profile] .cash-settings-header{height:calc(140 * var(--settings-u));min-height:42px}
body[data-layout-profile] .cash-settings-row{min-height:calc(124 * var(--settings-u));padding-block:calc(24 * var(--settings-u))}
body[data-layout-profile] .cash-settings-auto-row{min-height:calc(132 * var(--settings-u));padding-bottom:calc(16 * var(--settings-u))}
body[data-layout-profile] .cash-settings-auto{padding-bottom:calc(24 * var(--settings-u))}
body[data-layout-profile] .cash-settings-slider-row{height:calc(88 * var(--settings-u))}
body[data-layout-profile] .cash-settings-footer{padding-block:calc(30 * var(--settings-u)) calc(46 * var(--settings-u))}
body[data-layout-profile] .cash-settings-save{height:calc(106 * var(--settings-u))}
body[data-layout-profile="desktop-wpl-v1"] #table .table-tools{left:calc(var(--cash-reference-left,0px) + 20px * var(--cash-control-factor));top:calc(var(--cash-reference-top,0px) + 684px * var(--cash-control-factor));bottom:auto;gap:calc(2px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #table .table-tool{width:calc(36px * var(--cash-control-factor));height:calc(36px * var(--cash-control-factor));min-width:0;min-height:0;background-size:calc(25px * var(--cash-control-factor)) calc(25px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] .own-show-actions{left:var(--cash-hud-action-left);top:var(--cash-hud-action-top);right:auto;bottom:auto;width:calc(354px * var(--cash-control-factor));height:var(--cash-hud-action-height);gap:calc(4px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] .own-show-actions button{min-height:0;font-size:calc(10px * var(--cash-control-factor));gap:calc(2px * var(--cash-control-factor));padding:calc(2px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] .own-show-icons{height:calc(23px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] .own-show-icons img{width:calc(16px * var(--cash-control-factor));height:calc(22.4px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] .behind-actions{left:calc(var(--cash-hud-action-left) + 358px * var(--cash-control-factor));top:var(--cash-hud-action-top);right:auto;bottom:auto;width:calc(117px * var(--cash-control-factor));height:var(--cash-hud-action-height);gap:0}
body[data-layout-profile="desktop-wpl-v1"] .behind-open{width:100%;min-width:0;min-height:0;font-size:calc(16px * var(--cash-control-factor))}
/* History inner typography is selected by profile, never by browser width. */
body[data-layout-profile] .cash-history-summary{grid-template-columns:29% minmax(0,1fr);padding:8px 9px 14px;gap:10px}
body[data-layout-profile] .cash-history-summary-cards{gap:10px;margin-top:12px}
body[data-layout-profile] .cash-history-hand-id{font-size:12px}
body[data-layout-profile] .cash-history-tools{min-height:40px;padding:5px 9px}
body[data-layout-profile="mobile-approved"] .cash-history-header{height:38px;min-height:38px;padding:0 0 0 12px}
body[data-layout-profile="mobile-approved"] .cash-history-header h2{font-size:18px}
body[data-layout-profile="mobile-approved"] .cash-history-close{width:36px;min-height:36px;height:36px}
body[data-layout-profile="mobile-approved"] .cash-history-close svg{width:15.015px}
body[data-layout-profile="mobile-approved"] .cash-history-status{min-height:335.6px;font-size:13.65px}
body[data-layout-profile="mobile-approved"] .cash-history-outcome{font-size:25.35px}
body[data-layout-profile="mobile-approved"] .cash-history-meta-row{font-size:12.012px}
body[data-layout-profile="mobile-approved"] .cash-history-summary-cards .cash-history-card{width:18.72px}
body[data-layout-profile="mobile-approved"] .cash-history-streets{grid-template-columns:repeat(var(--history-columns,5),minmax(max-content,1fr))}
body[data-layout-profile="mobile-approved"] .cash-history-street{--history-name-width:78px;min-width:78px}
body[data-layout-profile="mobile-approved"] .cash-history-street-heading{min-height:46px;padding:6px 3px}
body[data-layout-profile="mobile-approved"] .cash-history-action{--history-bubble-center:24.15px;min-width:max-content;gap:3px}
body[data-layout-profile="mobile-approved"] .cash-history-action-label,body[data-layout-profile="mobile-approved"] .cash-history-action-amount{font-size:10.5px}
body[data-layout-profile="mobile-approved"] .cash-history-person{width:26px;min-width:26px;max-width:26px}
body[data-layout-profile="mobile-approved"] .cash-history-portrait,body[data-layout-profile="mobile-approved"] .cash-history-avatar{width:24px;height:24px}
body[data-layout-profile="mobile-approved"] .cash-history-name{font-size:9px}
body[data-layout-profile="mobile-approved"] .cash-history-position{font-size:9px;height:12px;line-height:12px;bottom:-11px}
body[data-layout-profile="mobile-approved"] .cash-history-action-bubble{flex:none;min-width:0;width:max-content}
body[data-layout-profile="mobile-approved"] .cash-history-result .cash-history-person{width:100%;min-width:0;max-width:100%}
body[data-layout-profile="mobile-approved"] .cash-history-result-detail .cash-history-card{width:21px}
body[data-layout-profile="mobile-approved"] .cash-history-payout{font-size:12px}
body[data-layout-profile="mobile-approved"] .cash-history-footer{padding-bottom:var(--cash-history-footer-padding,97.175px)}
body[data-layout-profile="mobile-approved"] .cash-history-page-count{font-size:12px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-header{height:58px;min-height:58px;padding:8px 10px 8px 13px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-header h2{font-size:29px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-close{width:42px;min-height:42px;height:42px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-close svg{width:20px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-status{min-height:284.24px;font-size:17px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-outcome{font-size:30px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-meta-row{font-size:15px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-summary-cards .cash-history-card{width:29px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-streets{grid-template-columns:repeat(var(--history-columns,5),minmax(113px,1fr))}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-street{--history-name-width:113px;min-width:0}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-street-heading{min-height:54px;padding:8px 3px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-action{--history-bubble-center:29px;min-width:0}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-action-label,body[data-layout-profile="desktop-wpl-v1"] .cash-history-action-amount{font-size:13px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-person{width:auto;min-width:39px;max-width:45px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-portrait,body[data-layout-profile="desktop-wpl-v1"] .cash-history-avatar{width:31px;height:31px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-name{font-size:11px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-position{font-size:10px;height:14px;line-height:14px;bottom:-12px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-result .cash-history-person{width:100%;min-width:0;max-width:100%}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-result-detail .cash-history-card{width:25px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-payout{font-size:14px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-footer{padding-bottom:13px}
body[data-layout-profile="desktop-wpl-v1"] .cash-history-page-count{font-size:13px}
/* Compact menu remains anchored to the projected menu button. It keeps one
   logical width; generic account/report panels retain their own scroll. */
body[data-layout-profile] dialog#menu-dialog{width:187.2px;max-width:none;scale:var(--cash-dialog-factor);transform-origin:0 0}
body[data-layout-profile="desktop-wpl-v1"] dialog#menu-dialog{width:190px}

/* PC76: original PC grip/track/buttons in the retained source14 screen boxes.
   No mobile selector or numeric input/action callback is changed. */
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-panel{background:transparent;border-color:transparent;border-image:url('./fidelity/source-ui/desktop76/pc_v_betting_bg.png') 8 4 10 4 fill stretch;border-image-width:calc(8px * var(--cash-control-factor)) calc(4px * var(--cash-control-factor)) calc(10px * var(--cash-control-factor)) calc(4px * var(--cash-control-factor));border-radius:0;box-shadow:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-panel .cash-raise-rail::before{left:calc(5px * var(--cash-control-factor));top:0;bottom:0;width:calc(14px * var(--cash-control-factor));height:auto;background:none;border:0 solid transparent;border-image:url('./fidelity/source-ui/desktop76/pc_img_betting_slider_bg.png') 21 0 21 0 fill stretch;border-image-width:calc(21px * var(--cash-control-factor)) 0;border-radius:0;box-shadow:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-panel .cash-raise-rail::after{content:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-handle{height:calc(43px * var(--cash-control-factor));bottom:calc((100% - 43px * var(--cash-control-factor)) * var(--raise-position));background:url('./fidelity/source-ui/desktop76/pc_betting_img_sliderthumb.png') center/100% 100% no-repeat}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-handle>svg,body[data-layout-profile="desktop-wpl-v1"] #game-view :is(#raise-plus,#raise-minus,#raise-keypad-open)>svg{visibility:hidden}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-range::-webkit-slider-thumb{height:calc(43px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-range::-moz-range-thumb{height:calc(43px * var(--cash-control-factor))}
body[data-layout-profile="desktop-wpl-v1"] #game-view :is(#raise-plus,#raise-minus){background:url('./fidelity/source-ui/desktop76/pc_betting_circle_22_22.png') center/calc(22px * var(--cash-control-factor)) calc(22px * var(--cash-control-factor)) no-repeat}
body[data-layout-profile="desktop-wpl-v1"] #game-view :is(#raise-plus,#raise-minus)::after{content:'';position:absolute;left:50%;top:50%;translate:-50% -50%;width:calc(8px * var(--cash-control-factor));height:calc(8px * var(--cash-control-factor));background:url('./fidelity/source-ui/desktop76/pc_betting_img_plus_8_8.png') center/contain no-repeat;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-minus::after{background-image:url('./fidelity/source-ui/desktop76/pc_betting_img_minus_8_8.png')}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-keypad-open{background:url('./fidelity/source-ui/desktop76/pc_betting_img_keypad_26_26.png') center/calc(26px * var(--cash-control-factor)) calc(26px * var(--cash-control-factor)) no-repeat}
/* Source14 percent ink11px; its native parentheses exceed numeral ink. */
body[data-layout-profile="desktop-wpl-v1"] #raise-percent .native-pc-percent76{display:block;width:auto;height:calc(8.2px * var(--cash-control-factor));margin:calc(2px * var(--cash-control-factor)) auto 0;overflow:visible}

/* Actual ReserveControls Image references. Native body/lamp replace only
   the PC SVG decoration; its approved label and first-slot hit area remain. */
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle{isolation:isolate}
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle::before{content:'';display:block;position:absolute;inset:0;z-index:0;border:0 solid transparent;border-width:calc(3px * var(--cash-control-factor)) calc(3px * var(--cash-control-factor)) calc(8px * var(--cash-control-factor));border-image:url('./fidelity/source-ui/desktop76/btn_fold.png') 3 3 8 3 fill stretch;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle .pre-action-art--desktop{position:relative;z-index:1}
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle .pre-action-art--desktop>rect{display:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle::after{content:'';display:block;position:absolute;left:calc(11px * var(--cash-control-factor));top:calc(12px * var(--cash-control-factor));width:calc(6px * var(--cash-control-factor));height:calc(27px * var(--cash-control-factor));z-index:2;border:0 solid transparent;border-top-width:calc(12px * var(--cash-control-factor));border-bottom-width:calc(12px * var(--cash-control-factor));border-image:url('./fidelity/source-ui/desktop76/btn_light_off.png') 12 0 12 0 fill stretch;pointer-events:none;box-sizing:border-box}
body[data-layout-profile="desktop-wpl-v1"] #game-view #pre-action-toggle[aria-pressed=true]::after{left:calc(2.5px * var(--cash-control-factor));top:calc(3px * var(--cash-control-factor));width:calc(23px * var(--cash-control-factor));height:calc(45px * var(--cash-control-factor));border-top-width:calc(16.5px * var(--cash-control-factor));border-bottom-width:calc(16.5px * var(--cash-control-factor));border-image-source:url('./fidelity/source-ui/desktop76/btn_light_on.png');border-image-slice:29 0 29 0 fill}

/* PC61 NumericInputPopup_H: original sliced background and tool rasters in
   the captured compact frame beside the rail. Its Unity parent scale remains
   unverified. Keep the mobile modal and its focus/input controller intact. */
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad.cash-keypad{inset:auto;left:var(--cash-raise-keypad-left);top:var(--cash-raise-keypad-top);width:var(--cash-raise-keypad-width);height:var(--cash-raise-keypad-height);min-width:0;min-height:0;max-width:none;max-height:none;margin:0;padding:0;background:transparent;box-shadow:none;border:0;overflow:visible}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-input-popup{left:0;top:0;translate:none;width:100%;height:100%;padding:0;border:0 solid transparent;border-image:url('./fidelity/source-ui/desktop76/pc_v_betting_bg.png') 8 4 10 4 fill stretch;border-image-width:calc(8px * var(--cash-control-factor)) calc(4px * var(--cash-control-factor)) calc(10px * var(--cash-control-factor)) calc(4px * var(--cash-control-factor));border-radius:0;background:transparent;box-shadow:none;animation:none}
/* Visually clipped, never display:none: hardware typing/IME, Enter, Escape and
   aria-describedby keep the same real input and draft across layout updates. */
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-input-wrap{position:absolute;left:0;right:auto;top:0;width:1px;height:1px;min-width:0;min-height:0;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;border-radius:0;background:transparent}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-secondary,body[data-layout-profile="desktop-wpl-v1"] #raise-keypad-close.cash-keypad-close{display:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-keys{inset:auto calc(6px * var(--cash-control-factor)) auto;top:calc(4px * var(--cash-control-factor));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-keys button{position:static;width:auto;height:calc(47px * var(--cash-control-factor));min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-keys button svg{width:calc(54px * var(--cash-control-factor));height:calc(48.5px * var(--cash-control-factor));pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-tools{inset:auto calc(23px * var(--cash-control-factor)) auto;top:calc(204px * var(--cash-control-factor));display:flex;justify-content:space-between;gap:0;margin:0}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-tools button{position:static;flex:none;width:calc(26px * var(--cash-control-factor));height:calc(26px * var(--cash-control-factor));min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad .cash-keypad-tools button svg{visibility:hidden;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad-clear{background-image:url('./fidelity/source-ui/desktop76/betting_img_btnclear.png')!important}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad-back{background-image:url('./fidelity/source-ui/desktop76/betting_img_btnback.png')!important}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad-apply{background-image:url('./fidelity/source-ui/desktop76/betting_img_btnenter.png')!important}
body[data-layout-profile="desktop-wpl-v1"] #raise-keypad #keypad-error{left:0;right:0;top:auto;bottom:100%;width:auto;margin:0;padding:calc(4px * var(--cash-control-factor));min-height:0;border:0;background:#252525ed;color:#ff665a;font:400 calc(11px * var(--cash-control-factor))/1.25 Arial,'Malgun Gothic',sans-serif;text-align:center}
