/* PC14 decoded-reference-derived composites, NOT byte-original Sprites.
   Source PNGs/mobile stay intact. Unity ButtonEx tint affects only its Image. */
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open,#raise-confirm){isolation:isolate;border-style:solid;border-color:transparent;border-width:0 calc(2px * var(--cash-control-factor));border-image:none;background:none;box-shadow:none;opacity:1;filter:none;--pc-button-tint78:1;--pc-button-alpha78:1;overflow:visible}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open,#raise-confirm)::before{content:'';display:block;position:absolute;inset:0 calc(-2px * var(--cash-control-factor));width:auto;height:auto;border:0;border-radius:0;background:var(--pc-button-face78) center/100% 100% no-repeat;box-shadow:none;z-index:0;opacity:var(--pc-button-alpha78);filter:brightness(var(--pc-button-tint78));pointer-events:none;transition:filter .1s linear,opacity .1s linear}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>#fold-action{--pc-button-face78:url('./fidelity/source-ui/pc-buttons78/action-fold-reference14.png')}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>#call-action{--pc-button-face78:url('./fidelity/source-ui/pc-buttons78/action-call-reference14.png')}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#raise-open,#raise-confirm){--pc-button-face78:url('./fidelity/source-ui/pc-buttons78/action-raise-reference14.png')}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open,#raise-confirm)>svg{z-index:1}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open,#raise-confirm):is(:hover,:focus-visible):not(:disabled){--pc-button-tint78:.96078431372549}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open,#raise-confirm):is(:active,[aria-busy=true]){--pc-button-tint78:.784313725490196;--pc-button-alpha78:1}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>:is(#fold-action,#call-action,#raise-open):disabled:not([aria-busy=true]){--pc-button-tint78:.784313725490196;--pc-button-alpha78:.501960784313725}
/* Native SetDisable toggles confirm's DisableImage, with null text refs.
   Keep the accepted pending-press state separate from this validation overlay. */
.native-pc-confirm-disabled78{display:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>#raise-confirm:disabled:not([aria-busy=true]){--pc-button-tint78:1;--pc-button-alpha78:1}
body[data-layout-profile="desktop-wpl-v1"] #game-view #bet-actions>#raise-confirm:disabled:not([aria-busy=true]):not([data-keypad-editing=true])>svg>.native-pc-confirm-disabled78{display:block;pointer-events:none}

/* Paint a source-like strip without adding a layout border or a second camera.
   Geometry declarations remain in the shared controls layout. */
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-panel{border-width:0}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-panel::before{content:'';display:block;position:absolute;left:calc(var(--cash-hud-strip-left) - var(--cash-hud-rail-left));top:calc(var(--cash-hud-strip-top) - var(--cash-hud-rail-top));width:var(--cash-hud-strip-width);height:var(--cash-hud-strip-height);background:url('./fidelity/source-ui/pc-buttons78/controls-strip-reference14.png') center/100% 100% no-repeat;box-shadow:none;z-index:0;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset{position:relative;isolation:isolate;border:0;border-radius:0;background:none;box-shadow:none;opacity:1;filter:none;--pc-button-tint78:1;--pc-button-alpha78:1}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset::before{content:'';display:block;position:absolute;inset:0;background:url('./fidelity/source-ui/pc-buttons78/preset-reference14.png') center/100% 100% no-repeat;opacity:var(--pc-button-alpha78);filter:brightness(var(--pc-button-tint78));transition:filter .1s linear,opacity .1s linear;z-index:0;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset:hover:not(:disabled){--pc-button-tint78:.96078431372549}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset:active:not(:disabled){--pc-button-tint78:.784313725490196}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset:disabled{--pc-button-alpha78:.215686274509804}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-presets .cash-preset>svg{position:absolute;left:0;top:0;width:calc(51px * var(--cash-control-factor));height:calc(30px * var(--cash-control-factor));overflow:visible;z-index:1;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-bubble{isolation:isolate;border:0;border-radius:0;background:none;box-shadow:none;filter:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-bubble::before{content:'';display:block;position:absolute;inset:0;background:url('./fidelity/source-ui/pc-buttons78/amount-field-reference14.png') center/100% 100% no-repeat;z-index:0;pointer-events:none}
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-bubble>svg{position:absolute;left:calc(2px * var(--cash-control-factor));top:0;width:calc(230px * var(--cash-control-factor));height:calc(30px * var(--cash-control-factor));overflow:visible;z-index:1;pointer-events:none}
/* The wider field includes the keypad zone; keep its independent hit target
   and original26px icon above that background. */
body[data-layout-profile="desktop-wpl-v1"] #game-view #raise-keypad-open{z-index:6}
