/* Video Poker layout measured from the user's 25 October recording. */
.video-poker-body [hidden] { display:none !important; }
.video-poker-body .poker-game-panel { --card-w:13.3333cqw; container-type:inline-size; position:relative; height:680px; padding:0; border:0; border-radius:0 5px 0 0; background:#0f212e; overflow:hidden; }
.video-poker-body .originals-controls { min-height:680px; }
.video-poker-body .originals-bet-panel { gap:12px; }
.video-poker-body .control-label > span:first-child { display:flex; justify-content:space-between; gap:8px; }
.video-poker-body .control-label small { font-size:11px; font-weight:400; }
.video-poker-body .bet-stepper { display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; gap:0; border:2px solid #2f4553; border-radius:5px; overflow:hidden; }
.video-poker-body .bet-stepper input { min-width:0; border:0; border-radius:0; background:#0f212e; }
.video-poker-body .step-button { padding:0; min-height:38px; border:0; border-radius:0; background:#2f4553; color:white; font-weight:700; cursor:pointer; }
.video-poker-body .step-button:hover:not(:disabled) { background:#557086; }
.video-poker-body .mode-panel { display:grid; gap:12px; }
.video-poker-body .poker-simulation-tools { margin-top:22px; color:#b1bad3; font-size:13px; }
.video-poker-body .poker-simulation-tools summary { cursor:pointer; padding:8px 0; }
.video-poker-body .poker-simulation-tools[open] > * + * { margin-top:12px; }
.video-poker-body .poker-tools-note { font-size:12px; line-height:1.5; }
.video-poker-body .auto-pacing { display:grid; gap:12px; }
.video-poker-body .tool-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.video-poker-body .poker-bottom-controls { display:flex; align-items:center; justify-content:space-between; margin-top:20px; }
.video-poker-body .poker-options { position:relative; }
.video-poker-body .poker-options > summary { display:grid; place-items:center; width:36px; height:36px; border-radius:4px; background:#2f4553; color:#b1bad3; cursor:pointer; list-style:none; }
.video-poker-body .poker-options > summary::-webkit-details-marker { display:none; }
.video-poker-body .poker-options > .tool-row { position:absolute; z-index:30; top:42px; right:0; width:230px; padding:14px; border:1px solid #426070; border-radius:6px; background:#1a2c38; box-shadow:0 8px 22px #0006; }
.video-poker-body .poker-paytable-card { position:absolute; top:16px; left:5.5556%; right:5.5556%; padding:16px; border-radius:8px; background:#213743; box-shadow:0 2px 2px #0004; }
.video-poker-body .poker-paytable-list { display:grid; gap:4px; }
.video-poker-body .poker-paytable-row { display:grid; grid-template-columns:minmax(0,2.5fr) minmax(0,1fr) .5fr minmax(0,1fr); min-height:32px; align-items:stretch; gap:0; color:#f5f8fa; font-size:clamp(10px,1.75cqw,16px); font-weight:700; }
.video-poker-body .poker-paytable-name { display:flex; align-items:center; padding:0 16px; background:#0f212e; border-radius:4px 0 0 4px; white-space:nowrap; }
.video-poker-body .poker-paytable-multiplier { display:grid; place-items:center; padding:0 4px; border-radius:0 4px 4px 0; background:#2f4553; }
.video-poker-body .poker-paytable-pointer { display:grid; place-items:center; color:#00e701; }
.video-poker-body .poker-paytable-pointer::after { content:''; width:10px; height:10px; transform:rotate(45deg); background:currentColor; opacity:0; }
.video-poker-body .poker-paytable-return { container-type:inline-size; display:flex; align-items:center; justify-content:center; min-width:0; gap:5px; padding:0 4px; border-radius:4px; background:#0f212e; font-variant-numeric:tabular-nums; }
.video-poker-body .poker-amount { min-width:0; font-size:clamp(7px,calc(150cqw / var(--amount-length,4)),16px); white-space:nowrap; }
.video-poker-body .poker-paytable-return .poker-credit { width:13px; height:13px; display:grid; place-items:center; flex:none; border-radius:50%; background:#405665; color:#d9e5ec; font-size:8px; font-weight:700; }
.video-poker-body .poker-paytable-row.preview .poker-paytable-name,.video-poker-body .poker-paytable-row.preview .poker-paytable-return { background:#e89c00; color:#fff; }
.video-poker-body .poker-paytable-row.preview .poker-paytable-multiplier { background:#b17800; }
.video-poker-body .poker-paytable-row.current .poker-paytable-name,.video-poker-body .poker-paytable-row.current .poker-paytable-return { background:#00e701; color:#072c05; }
.video-poker-body .poker-paytable-row.current .poker-paytable-multiplier { background:#069a09; color:white; }
.video-poker-body .poker-paytable-row.current .poker-paytable-pointer::after { opacity:1; }
.video-poker-body .poker-action { position:absolute; top:56.6176%; left:50%; transform:translateX(-50%); min-width:120px; min-height:50px; padding:10px 20px; border-radius:4px; font-size:14px; font-weight:700; background:#147efb; color:white; }
.video-poker-body .poker-action:hover:not(:disabled) { background:#3492ff; }
.video-poker-body .card-row { position:absolute; top:67.9412%; left:6.3333%; right:6.1111%; display:flex; justify-content:space-between; gap:0; }
.video-poker-body .poker-card { position:relative; display:block; flex:0 0 var(--card-w); width:var(--card-w); height:calc(var(--card-w) * 1.58333); min-width:0; padding:0; border:0; border-radius:8px; background:#fff; color:#21323a; text-align:left; box-shadow:0 2px 3px #0003; cursor:pointer; transform-origin:center; }
.video-poker-body .poker-card:disabled { opacity:1; cursor:default; }
.video-poker-body .poker-card.red { color:#e60046; }
.video-poker-body .poker-card .card-rank { position:absolute; top:5.8%; left:19%; font-size:calc(var(--card-w) * .43); line-height:1.1; font-weight:750; letter-spacing:-.04em; }
.video-poker-body .poker-card .card-centre { position:absolute; top:43%; left:12%; width:40%; height:25%; }
.video-poker-body .card-centre svg { display:block; width:100%; height:100%; }
.video-poker-body .poker-card.held { outline:6px solid #147efb; }
.video-poker-body .hold-badge { display:none; position:absolute; z-index:2; left:50%; bottom:-4px; transform:translateX(-50%); background:#9752ff; color:#fff; font-size:10px; font-weight:800; line-height:16px; border-radius:10px; padding:0 5px; }
.video-poker-body .poker-card.held .hold-badge { display:block; }
.video-poker-body .card-row.settled .poker-card { background:#8a969e; outline:0; }
.video-poker-body .card-row.settled .poker-card.winning-card { background:white; outline:6px solid #00e701; }
.video-poker-body .card-row.settled .hold-badge { display:none; }
.video-poker-body .poker-card.recording-back { background:#147efb; border:4px solid white; outline:0; }
.video-poker-body .recording-back > * { visibility:hidden; }
.video-poker-body .recording-back::after { content:''; position:absolute; inset:11%; border:1px solid #ffffff90; border-radius:4px; }
.video-poker-body .recording-back::before { content:''; position:absolute; left:37%; top:38%; width:26%; height:24%; border:2px solid #ffffffb0; transform:rotate(45deg); }
.video-poker-body .poker-result { position:absolute; z-index:5; top:35.7353%; left:50%; transform:translateX(-50%); min-width:132px; min-height:116px; display:grid; justify-items:center; align-content:center; gap:15px; padding:14px 12px; border:4px solid #00e701; border-radius:10px; background:#1a2c38; color:#00e701; pointer-events:none; }
.video-poker-body .poker-result strong { font-size:22px; line-height:1; }
.video-poker-body .poker-result > span { position:relative; padding-top:14px; font-size:14px; font-weight:700; overflow-wrap:anywhere; max-width:165px; text-align:center; }
.video-poker-body .poker-result > span::before { content:''; position:absolute; top:0; width:50px; height:3px; left:50%; transform:translateX(-50%); background:#3d5563; }
.video-poker-body button:focus-visible { outline:3px solid #85d8ff; outline-offset:4px; }
.video-poker-body .poker-card:not(:disabled):hover { box-shadow:0 0 0 4px #147efb; }
@media(max-width:1150px) {
 .video-poker-body .poker-game-panel { height:620px; }
 .video-poker-body .originals-controls { min-height:620px; }
 .video-poker-body .poker-paytable-card { left:4%; right:4%; padding:12px; }
 .video-poker-body .poker-paytable-row { min-height:29px; }
 .video-poker-body .poker-paytable-name { padding-left:9px; }
}
@media(max-width:760px) {
 .video-poker-body .poker-game-panel { height:570px; border-radius:0; }
 .video-poker-body .originals-controls { min-height:0; }
 .video-poker-body .poker-simulation-tools { margin-top:5px; }
 .video-poker-body .poker-paytable-row { min-height:27px; font-size:12px; grid-template-columns:minmax(0,2.6fr) minmax(0,1fr) 12px minmax(0,1fr); }
 .video-poker-body .poker-paytable-card { top:16px; left:4%; right:4%; padding:10px; }
 .video-poker-body .poker-paytable-return .poker-credit { display:none; }
 .video-poker-body .poker-action { top:58%; min-height:42px; min-width:108px; }
 .video-poker-body .card-row { top:72%; }
 .video-poker-body .poker-card { border-radius:5px; }
 .video-poker-body .poker-card.held,.video-poker-body .card-row.settled .poker-card.winning-card { outline-width:4px; }
 .video-poker-body .poker-result { top:34%; min-width:115px; min-height:100px; }
 .video-poker-body .poker-result strong { font-size:20px; }
}
@media(max-width:420px) {
 .video-poker-body .poker-game-panel { height:475px; }
 .video-poker-body .poker-paytable-card { left:3%; right:3%; padding:7px; }
 .video-poker-body .poker-paytable-row { min-height:24px; font-size:10px; grid-template-columns:minmax(0,2.8fr) minmax(0,.9fr) 8px minmax(0,1.1fr); }
 .video-poker-body .poker-paytable-name { padding-left:5px; }
 .video-poker-body .poker-action { top:61%; min-height:38px; min-width:96px; font-size:13px; }
 .video-poker-body .card-row { top:76%; }
 .video-poker-body .hold-badge { font-size:8px; line-height:13px; padding:0 3px; }
 .video-poker-body .poker-card.recording-back { border-width:2px; }
 .video-poker-body .poker-result { top:34%; min-width:100px; min-height:90px; gap:12px; }
 .video-poker-body .poker-result strong { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) { .video-poker-body * { animation:none !important; transition:none !important; } }
