/* Scoped to immersive games; other dialogs keep their layout. */
.game-dialog.is-immersive {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0;
  background: #090b10; isolation: isolate; overscroll-behavior: contain;
}
.casino-scenery { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #090b10; }
.casino-floor { position: absolute; inset: 0; background-image: var(--casino-image); background-position: center; background-size: cover; background-repeat: no-repeat; }
.casino-vignette { position: absolute; inset: 0; background: linear-gradient(#05080b33, transparent 40%, #05080b77); }
.casino-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 12% 45%, #eabe5c26, transparent 45%), radial-gradient(ellipse at 95% 55%, #cc319e26, transparent 45%); animation: casino-glow 12s ease-in-out infinite alternate; }
.is-ambience-paused .casino-scenery *, .is-scene-idle .casino-scenery * { animation-play-state: paused !important; }
@keyframes casino-glow { to { opacity: .35; } }
.is-immersive .game-dialog-header { background: #080d13e8; backdrop-filter: blur(18px); border-color: #d5b27340; padding: max(10px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 10px max(22px, env(safe-area-inset-left)); }
.is-immersive .close-button { width: 44px; height: 44px; color: #fff1d4; border-color: #ab89514d; }
.casino-view-controls { display: flex; gap: 8px; }
.casino-view-controls button { min-height: 40px; padding: 8px 12px; border: 1px solid #d7b66a45; border-radius: 8px; color: #ead8b5; background: #111b20; font-family: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.casino-view-controls button[hidden] { display: none; }
.casino-view-controls button:focus-visible { outline: 2px solid #ffe1a3; outline-offset: 3px; }
.casino-view-controls button:disabled { opacity: .6; cursor: default; }
.is-immersive #gameMount { position: relative; padding: 20px 30px 28px; }
.is-immersive .ag-game { max-width: 1230px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 15px 28px; padding: 0; }
.is-immersive .ag-heading { grid-column: 1/-1; margin: 0; }
.is-immersive .ag-heading h2 { font-size: 27px; margin: 3px 0; text-shadow: 0 2px 12px #000; }
.is-immersive .ag-heading p { color: #d5cbc0; }
.is-immersive .ag-eyebrow { color: #efd095; }
.is-immersive .ag-game-mark { display: none; }
.is-immersive .ag-stage { grid-column: 1; grid-row: 2 / span 6; width: 100%; box-shadow: 0 20px 65px #0009; }
.is-immersive .ag-kind-slots .ag-stage { max-width: min(510px, calc((100dvh - 210px) * .6667)); min-width: 300px; justify-self: center; }
.is-immersive .ag-kind-roulette .ag-stage { max-width: 680px; justify-self: center; }
.is-immersive .ag-kind-slots .ag-stage-top, .is-immersive .ag-kind-slots .ag-stage-foot { padding: 8px 10px; font-size: 7px; }
.is-immersive .ag-kind-slots .ag-board { top: 33.5%; height: 18.8%; }
.is-immersive .ag-controls, .is-immersive .ag-kind-slots .ag-controls { position: static; display: block; width: 100%; margin: 0; padding: 19px; grid-column: 2; background: #0d171dec; border: 1px solid #bfa06366; border-radius: 13px; box-shadow: 0 14px 40px #0006; }
.is-immersive .ag-kind-roulette .ag-controls { display: grid; grid-template-columns: 1fr; gap: 16px; }
.is-immersive .ag-controls { grid-row: 2; }
.is-immersive .ag-cabinet-meters { grid-template-columns: 1fr; }
.is-immersive .ag-cabinet-meters input { font-size: 23px; min-height: 32px; }
.is-immersive .ag-cabinet-meters output { font-size: 25px; }
.is-immersive .ag-cabinet-meters span { font-size: 10px; }
.is-immersive .ag-cabinet-buttons { grid-template-columns: 1fr 1fr; gap: 12px; }
.is-immersive .ag-cabinet-buttons .ag-action-row { grid-column: 1/-1; }
.is-immersive .ag-cabinet-buttons button { min-height: 48px; font-size: 13px; }
.is-immersive .ag-result, .is-immersive .ag-rules, .is-immersive .ag-cabinet-caption, .is-immersive .ag-slot-line-summary, .is-immersive .ag-session-note { grid-column: 2; margin: 0; }
.is-immersive .ag-result, .is-immersive .ag-rules { background: #0c151de8; border: 1px solid #a28a543d; border-radius: 10px; padding: 14px; }
.is-immersive .ag-cabinet-caption { flex-direction: column; gap: 5px; color: #f1dfb6; font-size: 12px; }
.is-immersive .ag-slot-line-summary { min-height: 0; padding: 8px; background: #0c151dc9; border-radius: 8px; }
.is-immersive .ag-session-note { color: #d8cfc1; }
.casino-scene-note { max-width: 1230px; margin: 18px auto 0; font-size: 10px; color: #c8bdac; text-align: right; }
/* Slot lounge: the physical cabinet sits between occupied neighboring machines. */
[data-scene="slots"] .ag-game { max-width: 850px; grid-template-columns: minmax(0, 1fr) 280px; }
[data-scene="slots"] .ag-stage { background: transparent; border: 0; box-shadow: none; overflow: visible; }
[data-scene="slots"] .ag-cabinet-art { filter: drop-shadow(0 18px 22px #000b); }
[data-scene="slots"] .ag-stage-top, [data-scene="slots"] .ag-stage-foot { background: #150c09bd; border-radius: 6px; }
[data-scene="slots"] .ag-heading { text-align: center; justify-content: center; }
[data-scene="slots"] .ag-controls { background: linear-gradient(135deg, #2b180ef5, #130d09f5); border-color: #ae814c; }

/* Roulette salon: a live wheel on the room's felt, not a second table in a card. */
[data-scene="roulette"] .casino-floor { top: 64px; background-size: 100% 100%; }
[data-scene="roulette"] .casino-light { background: radial-gradient(ellipse at 45% 72%, #39e8c214, transparent 60%); }
[data-scene="roulette"] .casino-vignette { background: linear-gradient(#05080b22, transparent 50%, #020c0955); }
[data-scene="roulette"] .ag-game { max-width: 1100px; grid-template-columns: minmax(0, 1fr) 310px; gap: 12px 32px; }
[data-scene="roulette"] .ag-heading { padding: 8px 14px; width: fit-content; border-left: 2px solid #edcb88; background: #061914c9; border-radius: 0 8px 8px 0; }
[data-scene="roulette"] .ag-heading h2 { font-size: 22px; }
[data-scene="roulette"] .ag-heading p { display: none; }
[data-scene="roulette"] .ag-stage { background: transparent; border: 0; box-shadow: none; overflow: visible; }
[data-scene="roulette"] .ag-stage-top { background: transparent; padding: 5px 12px; border: 0; }
[data-scene="roulette"] .ag-stage-foot { background: transparent; border: 0; justify-content: center; gap: 15px; }
[data-scene="roulette"] .ag-roulette-title { display: none; }
[data-scene="roulette"] .ag-roulette-physical { transform: rotateX(48deg); }
[data-scene="roulette"] .ag-roulette-perspective { width: min(95%, 490px); margin: -35px auto -45px; }
[data-scene="roulette"] .ag-controls { background: linear-gradient(125deg, #082e25f0, #071d17f5); box-shadow: 0 12px 25px #0006, inset 0 1px #efdaa333; }
[data-scene="roulette"] .ag-result, [data-scene="roulette"] .ag-rules { background: #071d17e8; }
[data-scene="roulette"] .ag-label, [data-scene="roulette"] .ag-stake-section > small { color: #becfc6; }
/* Blackjack salon: live hands rest on blue felt; guests are scenery only. */
[data-scene="blackjack"] .casino-floor { top: 64px; background-size: 100% 100%; }
[data-scene="blackjack"] .casino-light { background: radial-gradient(ellipse at 50% 70%, #359cdd24, transparent 65%); }
[data-scene="blackjack"] .casino-vignette { background: linear-gradient(#050b1722, transparent 40%, #02091966); }
[data-scene="blackjack"] .ag-game { max-width: 1160px; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px 34px; }
[data-scene="blackjack"] .ag-heading { padding: 8px 14px; width: fit-content; border-left: 2px solid #edcb88; border-radius: 0 8px 8px 0; background: #06152ac9; }
[data-scene="blackjack"] .ag-heading h2 { font-size: 22px; }
[data-scene="blackjack"] .ag-heading p { display: none; }
[data-scene="blackjack"] .ag-stage { background: transparent; border: 0; box-shadow: none; overflow: visible; min-width: 0; }
[data-scene="blackjack"] .ag-stage-top { background: transparent; border: 0; padding: 5px 12px; color: #d0e3f5; }
[data-scene="blackjack"] .ag-stage-foot { border: 0; background: transparent; justify-content: center; color: #becbdc; }
[data-scene="blackjack"] .ag-board { padding: 14px 12px 6px; }
[data-scene="blackjack"] .ag-blackjack-table { padding: 5px 0; }
[data-scene="blackjack"] .ag-blackjack-seat { padding: 8px 0; border-radius: 50%; background: radial-gradient(ellipse, #07142650, transparent 70%); }
[data-scene="blackjack"] .ag-hand-label { color: #e4d2a9; margin: 8px 0; text-shadow: 0 1px 4px #000; }
[data-scene="blackjack"] .ag-hand-label > span { min-width: 30px; height: 25px; border-color: #d6b97866; background: #08182bdf; color: #ffe4ad; font-size: 14px; }
[data-scene="blackjack"] .ag-card-hand { gap: 10px; padding: 8px 0; }
[data-scene="blackjack"] .ag-card { width: 76px; height: 108px; border-radius: 7px; background: linear-gradient(145deg, #fffef7, #e0ded4); border-color: #fff8e4; box-shadow: 2px 3px 0 #888c8d, 0 10px 16px #0006; transform: rotate(-3deg); }
[data-scene="blackjack"] .ag-card:nth-child(even) { transform: rotate(3deg); }
[data-scene="blackjack"] .ag-card-corner { font-size: 17px; }
[data-scene="blackjack"] .ag-card-suit { font-size: 38px; }
[data-scene="blackjack"] .ag-card.is-hidden { color: #e6c379; border-color: #d5bf87; background: repeating-linear-gradient(45deg, #102642 0 3px, #1e3d5b 3px 5px); box-shadow: inset 0 0 0 4px #102039, inset 0 0 0 5px #bc955c, 2px 3px 0 #777b82, 0 10px 16px #0006; }
[data-scene="blackjack"] .ag-card-back { opacity: .9; }
[data-scene="blackjack"] .ag-table-wordmark { color: #e2c58bcc; font-size: 14px; margin: 12px 0; text-shadow: 0 2px 4px #0006; }
[data-scene="blackjack"] .ag-table-wordmark span { font-size: 8px; line-height: 1.7; opacity: .85; }
[data-scene="blackjack"] .ag-controls { background: linear-gradient(135deg, #10263df5, #071322f5); box-shadow: 0 12px 25px #0006, inset 0 1px #efdaa333; }
[data-scene="blackjack"] .ag-action-row { margin-top: 16px; }
[data-scene="blackjack"] .ag-blackjack-actions { gap: 7px; }
[data-scene="blackjack"] .ag-blackjack-actions button { padding: 12px 10px; min-width: 0; background: #183754; border-color: #7494b566; color: #edf4ff; }
[data-scene="blackjack"] .ag-blackjack-actions button:first-child, [data-scene="blackjack"] .ag-play { background: linear-gradient(135deg, #f3d799, #c99c4d); color: #23190a; border-color: #f7d58f; }
[data-scene="blackjack"] .ag-result, [data-scene="blackjack"] .ag-rules { background: #07192de8; }
[data-scene="blackjack"] .ag-label, [data-scene="blackjack"] .ag-stake-section > small { color: #c5d7e7; }
[data-scene="blackjack"] .ag-game-options { margin-top: 18px; }
.ag-table-cost { font-size: 12px; line-height: 1.65; color: #f2daaa; margin: 10px 0 6px; }
.ag-current-hand { margin: 0 0 9px; color: #ffdf98; font-size: 13px; font-weight: 650; }
.ag-double-cost { display: block; font-size: 11px; color: #c5d7e7; margin-top: 9px; }
.ag-mobile-hand { display: none; }
.ag-blackjack-spots { display: grid; grid-template-columns: repeat(var(--hand-count), minmax(0, 1fr)); gap: 10px; }
.ag-hand-caption { display: grid; gap: 4px; font-size: 10px; line-height: 1.5; color: #d6e1ef; }
.ag-hand-caption strong { color: #f4dba6; font-weight: 600; }
[data-scene="blackjack"] .is-multi-hand .ag-player-spot { min-width: 0; padding: 8px 5px 12px; border: 1px solid #9bb9ce40; border-radius: 14px; background: #061b30b8; box-shadow: 0 7px 16px #0003; }
[data-scene="blackjack"] .is-multi-hand .ag-player-spot.is-active-hand { border-color: #e9c778; box-shadow: 0 0 0 1px #e9c778, 0 8px 20px #0006; background: #133653eb; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand { gap: 4px; min-height: 86px; align-content: start; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card { width: 44px; height: 64px; border-radius: 5px; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card-corner { top: 4px; left: 4px; font-size: 11px; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card-corner small { font-size: 9px; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card-suit { font-size: 22px; }
[data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card-bottom { font-size: 10px; right: 4px; bottom: 3px; }
[data-scene="blackjack"] .is-multi-hand .ag-hand-label { letter-spacing: .5px; font-size: 9px; gap: 5px; }
@media (min-width: 851px) and (max-width: 1100px) {
  [data-scene="blackjack"] .is-multi-hand .ag-blackjack-spots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 851px) {
  [data-scene="blackjack"] .ag-stage, [data-scene="blackjack"] .ag-controls { margin-top: clamp(105px, 17dvh, 185px); }
  [data-scene="roulette"] .ag-stage, [data-scene="roulette"] .ag-controls { margin-top: clamp(100px, 17dvh, 180px); }
  [data-scene="roulette"] .ag-roulette-perspective { width: min(95%, 490px, 52dvh); min-width: 280px; }
  .is-immersive .ag-roulette-scene { padding-top: 12px; }
}
@media (min-width: 851px) and (max-height: 800px) {
  [data-scene="blackjack"] .ag-board { padding-top: 0; }
  [data-scene="blackjack"] .ag-card { width: 65px; height: 92px; }
  [data-scene="blackjack"] .ag-blackjack-seat { padding: 2px 0; }
  [data-scene="blackjack"] .ag-table-wordmark { margin: 6px 0; }
}
@media (max-width: 850px) {
  .is-immersive #gameMount { padding: 16px 14px 24px; }
  .is-immersive .ag-game { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
  .is-immersive .ag-game > * { width: 100%; }
  .is-immersive .ag-kind-slots .ag-stage { min-width: 0; max-width: 390px; align-self: center; }
  .is-immersive .ag-cabinet-meters { grid-template-columns: 1.5fr 1fr; }
  .is-immersive .ag-cabinet-buttons { grid-template-columns: 1fr 1fr 1.5fr; }
  .is-immersive .ag-cabinet-buttons .ag-action-row { grid-column: auto; }
  .is-immersive .game-dialog-header { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .is-immersive .small-brand span { display: none; }
  .is-immersive .game-dialog-right { gap: 9px; }
  .casino-view-controls button { padding: 7px; font-size: 10px; }
  .casino-view-controls { gap: 5px; }
  .is-immersive .game-wallet { gap: 4px; font-size: 11px; }
  .is-immersive .game-wallet .token-small { display: none; }
  /* Keep the full room visible above the controls on portrait phones. */
  .casino-floor { background-image: var(--casino-image-mobile); }
  [data-scene="slots"] .casino-floor { top: 64px; background-size: 100% auto; background-position: center top; background-color: #1d0d06; }
  .is-immersive[data-scene="slots"] .ag-stage { max-width: min(75vw, 360px); }
  [data-scene="slots"] .ag-heading h2 { font-size: 22px; }
  [data-scene="slots"] .ag-heading p { font-size: 11px; }
  [data-scene="roulette"] .casino-floor { background-size: 100% auto; background-position: center top; background-color: #063629; }
  [data-scene="roulette"] .ag-heading { position: absolute; top: 184px; left: 26px; width: fit-content; padding: 4px 9px; }
  [data-scene="roulette"] .ag-heading h2 { font-size: 17px; }
  [data-scene="roulette"] .ag-heading .ag-eyebrow { display: none; }
  [data-scene="roulette"] .ag-stage { margin-top: 204px; min-height: 0; }
  [data-scene="roulette"] .ag-roulette-perspective { width: min(82%, 300px); margin-top: -40px; margin-bottom: -25px; }
  .is-immersive[data-scene="roulette"] .ag-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  [data-scene="roulette"] .ag-action-row { grid-column: 1/-1; }
  [data-scene="blackjack"] .casino-floor { background-size: 100% auto; background-position: center top; background-color: #0a2037; }
  [data-scene="blackjack"] .ag-heading { position: absolute; top: clamp(164px, 43vw, 285px); left: 26px; width: fit-content; padding: 4px 9px; }
  [data-scene="blackjack"] .ag-heading h2 { font-size: 17px; }
  [data-scene="blackjack"] .ag-heading .ag-eyebrow { display: none; }
  [data-scene="blackjack"] .ag-stage { margin-top: clamp(196px, 51vw, 330px); min-height: 0; }
  [data-scene="blackjack"] .ag-board { padding: 0 4px; }
  [data-scene="blackjack"] .ag-blackjack-seat { padding: 0; }
  [data-scene="blackjack"] .ag-card { width: 57px; height: 81px; }
  [data-scene="blackjack"] .ag-card-hand { gap: 7px; padding: 4px 0; }
  [data-scene="blackjack"] .ag-card-corner { font-size: 13px; }
  [data-scene="blackjack"] .ag-card-suit { font-size: 28px; }
  [data-scene="blackjack"] .ag-table-wordmark { margin: 8px 0; font-size: 11px; letter-spacing: 3px; }
  [data-scene="blackjack"] .ag-table-wordmark span { font-size: 7px; letter-spacing: 1px; }
  [data-scene="blackjack"] .ag-stage-foot { padding: 5px; font-size: 8px; }
  .is-immersive[data-scene="blackjack"] .ag-controls { padding: 14px; }
  [data-scene="blackjack"] .is-multi-hand .ag-blackjack-spots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  [data-scene="blackjack"] .is-multi-hand .ag-blackjack-spots > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  [data-scene="blackjack"] .is-multi-hand .ag-player-hand .ag-card { width: 49px; height: 70px; }
  [data-scene="blackjack"] .ag-mobile-hand { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 14px 0; }
  [data-scene="blackjack"] .ag-mobile-hand .ag-card { width: 49px; height: 70px; }
}
/* Rocket Rush has its own orbital flight deck, not a casino table. */
[data-scene="crash"] .casino-floor { top: 64px; background-position: center bottom; }
[data-scene="crash"] .casino-vignette { background: linear-gradient(90deg, #030b1930, transparent 55%, #030b1955); }
[data-scene="crash"] .casino-light { background: radial-gradient(ellipse at 18% 85%, #05d2ff30, transparent 65%), radial-gradient(ellipse at 80% 12%, #8371eb20, transparent 60%); }
.rocket-star-drift { position: absolute; inset: -10%; opacity: .5; background-image: radial-gradient(circle at 12% 24%, #c0f7ff 0 1px, transparent 2px), radial-gradient(circle at 37% 57%, #93c5fe 0 1px, transparent 2px), radial-gradient(circle at 63% 16%, #fff 0 1px, transparent 2px), radial-gradient(circle at 85% 44%, #99dfff 0 1px, transparent 2px); background-size: 340px 320px; animation: rocket-star-drift 35s linear infinite alternate; }
@keyframes rocket-star-drift { to { transform: translate(-45px, 30px); opacity: .22; } }
[data-scene="crash"] .ag-game { max-width: 1400px; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px 30px; }
[data-scene="crash"] .ag-heading { padding: 10px 0 12px; }
[data-scene="crash"] .ag-heading h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -1.8px; line-height: 1.1; }
[data-scene="crash"] .ag-eyebrow { color: #78e5ff; letter-spacing: 3px; }
[data-scene="crash"] .ag-heading p { color: #a9c8dc; margin-top: 8px; }
[data-scene="crash"] .ag-stage { border: 1px solid #7dcdea33; background: linear-gradient(145deg, #071a2b55, #040b190a); box-shadow: inset 0 1px #b6eeff22, 0 18px 70px #0003; min-height: 0; border-radius: 20px; }
[data-scene="crash"] .ag-stage::after { display: none; }
[data-scene="crash"] .ag-stage-top { color: #9fc9e4; border-bottom: 1px solid #8fd9f017; padding: 16px 20px; }
[data-scene="crash"] .ag-stage-status { color: #c9ebff; }
[data-scene="crash"] .ag-stage-top i { background: #8eeaff; box-shadow: 0 0 9px #63cfff; }
[data-scene="crash"] .ag-stage-foot { color: #afcadd; background: #06112299; font-size: 8px; padding: 12px; }
[data-scene="crash"] .ag-board { padding: 0; min-height: 0; }
[data-scene="crash"] .ag-crash-scene { max-width: none; min-height: 0; }
[data-scene="crash"] .ag-crash-scene canvas { width: 100%; height: clamp(280px, calc(100dvh - 430px), 480px); }
[data-scene="crash"] .ag-crash-value { inset: 9% auto auto 6%; width: 62%; align-items: flex-start; text-shadow: 0 3px 16px #000; }
[data-scene="crash"] .ag-crash-value > span { color: #9ed9f4; font-size: 10px; letter-spacing: 2.5px; }
[data-scene="crash"] .ag-crash-value strong { color: #ecfaff; font-size: clamp(54px, 6vw, 94px); line-height: 1.25; text-shadow: 0 0 35px #79cfff33; font-variant-numeric: tabular-nums; }
[data-scene="crash"] .ag-crash-value strong > span { color: #79d9f9; }
[data-scene="crash"] .ag-crash-value small { color: #bbd5e5; font-size: 11px; line-height: 1.7; max-width: 270px; }
[data-scene="crash"] [data-flight="crashed"] .ag-crash-value strong { color: #ffad9f; }
[data-scene="crash"] [data-flight="stopped"] .ag-crash-value strong { color: #a2f2dc; }
.ag-flight-instruments { display: flex; justify-content: space-between; gap: 16px; padding: 15px 24px; border-top: 1px solid #8fd9f02a; background: #061122bb; }
.ag-flight-instruments > span { display: grid; gap: 5px; color: #8ab5ca; font-size: 8px; letter-spacing: 1.6px; }
.ag-flight-instruments strong { color: #d5f4ff; font-size: 12px; letter-spacing: .8px; }
[data-scene="crash"] .ag-controls { background: linear-gradient(145deg, #112a3cee, #081322f5); border-color: #87c6df66; padding: 22px; }
[data-scene="crash"] .ag-controls::before { content: 'FLIGHT CONTROL'; display: block; color: #80e3ff; font-size: 10px; letter-spacing: 2px; font-weight: 700; padding-bottom: 20px; }
[data-scene="crash"] .ag-game-options { margin-top: 24px; }
[data-scene="crash"] .ag-action-row { margin-top: 24px; }
[data-scene="crash"] .ag-label, [data-scene="crash"] .ag-controls small { color: #b2cbd9; }
[data-scene="crash"] .ag-stake-field, [data-scene="crash"] .ag-target-field { background: #040d1a99; border-color: #6387a244; }
[data-scene="crash"] .ag-target-field > span, [data-scene="crash"] .ag-stake-field > span { color: #80dcfa; }
[data-scene="crash"] .ag-play { background: linear-gradient(120deg, #93e9ff, #55bede); color: #061629; box-shadow: 0 7px 24px #1a9dca33; }
[data-scene="crash"] .ag-play:focus-visible { outline: 2px solid #f4d595; outline-offset: 4px; }
[data-scene="crash"] .ag-result, [data-scene="crash"] .ag-rules { background: #061727ed; border-color: #79b9d133; }
[data-scene="crash"] .ag-result.is-win { border-color: #89ecd366; }
[data-scene="crash"] .ag-session-note, [data-scene="crash"] .casino-scene-note { color: #c6d9e8; text-shadow: 0 1px 5px #000; }
@media (max-width: 850px) {
  [data-scene="crash"] .casino-floor { background-position: center top; background-size: cover; }
  [data-scene="crash"] .ag-heading { padding: 8px 3px; }
  [data-scene="crash"] .ag-heading h2 { font-size: 34px; }
  [data-scene="crash"] .ag-heading p { font-size: 11px; }
  [data-scene="crash"] .ag-crash-scene canvas { aspect-ratio: 1.05; height: auto; }
  [data-scene="crash"] .ag-stage-top { padding: 12px; font-size: 7px; }
  [data-scene="crash"] .ag-crash-value { inset: 7% auto auto 6%; width: 60%; }
  [data-scene="crash"] .ag-crash-value strong { font-size: 54px; }
  [data-scene="crash"] .ag-crash-value > span { font-size: 8px; letter-spacing: 1.3px; }
  [data-scene="crash"] .ag-crash-value small { font-size: 10px; }
  .is-immersive[data-scene="crash"] .ag-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px; }
  [data-scene="crash"] .ag-controls::before { grid-column: 1/-1; padding: 0; }
  [data-scene="crash"] .ag-game-options, [data-scene="crash"] .ag-action-row { margin-top: 0; }
  [data-scene="crash"] .ag-action-row { grid-column: 1/-1; }
  [data-scene="crash"] .ag-stake-field input, [data-scene="crash"] .ag-target-field input { min-width: 0; width: 100%; }
  .ag-flight-instruments { padding: 12px 16px; }
}
/* Cyber Plinko: a luminous physical board in its own arcade bay. */
[data-scene="plinko"] .casino-floor { top: 64px; }
[data-scene="plinko"] .casino-light { background: radial-gradient(ellipse at 20% 65%, #0bf3ff25, transparent 55%), radial-gradient(ellipse at 85% 40%, #ba56fa30, transparent 60%); }
[data-scene="plinko"] .casino-vignette { background: linear-gradient(#09071955, #08071611 50%, #08051688); }
[data-scene="plinko"] .ag-game { max-width: 1120px; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px 28px; }
[data-scene="plinko"] .ag-heading { padding: 6px 0; }
[data-scene="plinko"] .ag-heading h2 { font-size: 30px; letter-spacing: -1px; }
[data-scene="plinko"] .ag-heading p { display: none; }
[data-scene="plinko"] .ag-eyebrow { color: #ceabff; }
[data-scene="plinko"] .ag-stage { max-width: 730px; justify-self: center; background: linear-gradient(140deg, #182134dd, #191027e8); border: 1px solid #bd99ff77; border-radius: 24px; box-shadow: inset 0 0 0 5px #090f20, inset 0 0 0 6px #7481b955, 0 20px 65px #0008, 0 0 40px #a84af31a; min-height: 0; }
[data-scene="plinko"] .ag-stage::after { display: none; }
[data-scene="plinko"] .ag-stage-top { background: #080d2288; padding: 12px 20px; color: #b7d0ee; border-bottom-color: #b495ee33; }
[data-scene="plinko"] .ag-stage-status { color: #d6bbff; }
[data-scene="plinko"] .ag-stage-top i { background: #ac8cff; box-shadow: 0 0 10px #ab72ff; }
[data-scene="plinko"] .ag-board { padding: 0 8px; min-height: 0; scroll-margin-top: 80px; }
[data-scene="plinko"] .ag-plinko-scene { max-width: clamp(360px, calc((100dvh - 440px) * 1.5294), 650px); min-height: 0; margin: auto; }
.ag-plinko-marquee { padding: 10px 10px 8px; display: grid; justify-items: center; gap: 3px; }
.ag-plinko-marquee > span:first-child { display: none; }
.ag-plinko-marquee > span { color: #bcaedc; font-size: 8px; letter-spacing: 2.5px; }
.ag-plinko-marquee > strong { color: #f0e3ff; font-size: 24px; letter-spacing: 4px; text-shadow: 0 0 18px #d37cff77; }
.ag-plinko-readout { display: grid; gap: 5px; text-align: center; padding: 10px; margin: -4px 24px 0; border: 1px solid #8574bd55; border-radius: 10px; background: #070d20c9; }
.ag-plinko-readout strong { font-size: 14px; color: #edc7ff; letter-spacing: 1.6px; }
.ag-plinko-readout span { color: #b8c9df; font-size: 10px; line-height: 1.5; }
.ag-plinko-multipliers { color: #c6bddc; font-size: 9px; text-align: center; line-height: 1.7; margin: 10px 25px; }
[data-scene="plinko"] .ag-stage-foot { padding: 10px; font-size: 8px; color: #c1b2d7; background: #090d1c99; }
[data-scene="plinko"] .ag-controls { border-color: #a48add88; background: linear-gradient(145deg, #282044ed, #0c1528f5); padding: 22px; }
[data-scene="plinko"] .ag-controls::before { content: 'DROP CONTROL'; display: block; color: #d7b1ff; letter-spacing: 2px; font-size: 10px; font-weight: 700; padding-bottom: 18px; }
[data-scene="plinko"] .ag-action-row { margin-top: 20px; }
[data-scene="plinko"] .ag-game-options { margin-top: 18px; }
[data-scene="plinko"] .ag-stake-field { background: #070f20aa; border-color: #a98bdf55; }
[data-scene="plinko"] .ag-stake-field > span { color: #d3a5ff; }
[data-scene="plinko"] .ag-label, [data-scene="plinko"] .ag-controls small { color: #cec1e1; }
[data-scene="plinko"] .ag-play { background: linear-gradient(110deg, #e0bbff, #a2e8ff); color: #180e2e; box-shadow: 0 6px 26px #aa61ef33; }
[data-scene="plinko"] .ag-result, [data-scene="plinko"] .ag-rules { background: #101329ed; border-color: #a58ddd44; }
[data-scene="plinko"] .ag-session-note, [data-scene="plinko"] .casino-scene-note { color: #d4c8e6; text-shadow: 0 2px 5px #000; }
@media (max-width: 850px) {
  .is-immersive[data-scene="plinko"] .ag-game { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  [data-scene="plinko"] .ag-heading h2 { font-size: 30px; }
  [data-scene="plinko"] .ag-heading p { font-size: 11px; }
  [data-scene="plinko"] .ag-stage { border-radius: 18px; }
  [data-scene="plinko"] .ag-stage-top { padding: 12px; font-size: 7px; }
  [data-scene="plinko"] .ag-board { padding: 0; }
  [data-scene="plinko"] .ag-plinko-scene { max-width: 650px; }
  .ag-plinko-marquee { padding-top: 12px; }
  .ag-plinko-marquee > strong { font-size: 22px; letter-spacing: 2px; }
  .ag-plinko-readout { margin-inline: 12px; }
  .ag-plinko-multipliers { margin-inline: 15px; }
  .is-immersive[data-scene="plinko"] .ag-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 16px; }
  [data-scene="plinko"] .ag-controls::before, [data-scene="plinko"] .ag-action-row { grid-column: 1/-1; padding-bottom: 0; }
  [data-scene="plinko"] .ag-game-options, [data-scene="plinko"] .ag-action-row { margin-top: 0; }
  [data-scene="plinko"] .ag-stake-field input { min-width: 0; width: 100%; }
  [data-scene="plinko"] .ag-stake-field button { width: 28px; min-width: 28px; }
}
@media (max-width: 400px) {
  .casino-view-controls [data-fullscreen] { display: none; }
  .is-immersive .ag-controls, .is-immersive .ag-kind-slots .ag-controls { padding: 13px; }
  .is-immersive .ag-cabinet-buttons button { font-size: 11px; }
  .is-immersive .ag-cabinet-meters span { font-size: 8px; }
}
/* Fortune Wheel: an upright illuminated wheel in a gold-and-crimson theatre. */
[data-scene="wheel"] .casino-floor { top: 64px; }
[data-scene="wheel"] .casino-light { background: radial-gradient(ellipse at 25% 25%, #ffc86b25, transparent 50%), radial-gradient(ellipse at 80% 35%, #df496323, transparent 55%); }
[data-scene="wheel"] .casino-vignette { background: linear-gradient(#16060955, transparent 40%, #12070666); }
[data-scene="wheel"] .ag-game { max-width: 1050px; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px 34px; }
[data-scene="wheel"] .ag-heading { padding: 4px 0; }
[data-scene="wheel"] .ag-heading h2 { font-size: 30px; letter-spacing: -.8px; }
[data-scene="wheel"] .ag-heading p { display: none; }
[data-scene="wheel"] .ag-stage { background: transparent; border: 0; box-shadow: none; overflow: visible; min-height: 0; }
[data-scene="wheel"] .ag-stage::after { display: none; }
[data-scene="wheel"] .ag-stage-top { background: #1c1011b3; border: 1px solid #e9bc6444; border-radius: 8px; padding: 10px 16px; color: #ecd8b3; }
[data-scene="wheel"] .ag-stage-status { color: #ffe3a5; }
[data-scene="wheel"] .ag-board { padding: 14px 0 0; min-height: 0; scroll-margin-top: 80px; }
[data-scene="wheel"] .ag-stage-foot { background: transparent; border: 0; padding: 8px; color: #e5d4b4; }
.ag-fortune-scene { position: relative; width: 100%; text-align: center; }
.ag-fortune-physical { position: relative; width: clamp(260px, calc(100dvh - 375px), 510px); max-width: 96%; aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 9px 0 #70471d, 0 12px 0 #2b160d, 0 18px 40px #000b, 0 0 55px #f6bf4822; }
.ag-fortune-rim, .ag-fortune-rotor svg { display: block; width: 100%; height: 100%; }
.ag-fortune-physical .ag-fortune-rotor { position: absolute; inset: 0; border: 0; background: transparent; box-shadow: none; transform-origin: 50% 50%; }
.ag-fortune-hub { position: absolute; inset: 36%; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 4px solid #efd69b; border-radius: 50%; background: radial-gradient(circle at 32% 20%, #79532c, #261518 65%); box-shadow: 0 4px 0 #654218, 0 8px 18px #0009, inset 0 0 0 3px #4b2a1b; color: #ffe7ad; }
.ag-fortune-hub span { font-size: clamp(24px, 3vw, 40px); line-height: 1; text-shadow: 0 0 18px #ffc369; }
.ag-fortune-hub strong { font-size: 9px; letter-spacing: 2px; margin-top: 7px; }
.ag-fortune-hub small { font-size: 7px; letter-spacing: 2px; margin-top: 3px; color: #dcb775; }
.ag-fortune-gloss { position: absolute; inset: 2%; border-radius: 50%; background: linear-gradient(130deg, #fff4cc18, transparent 38%, #0000000a 65%, #fff1be13); pointer-events: none; }
.ag-fortune-physical .ag-wheel-pointer { top: -2%; width: 7%; height: 13%; background: linear-gradient(90deg, #9e632a, #fff1bd 45%, #c08a3c); filter: drop-shadow(0 3px 3px #0009); }
.ag-fortune-sector { transition: filter .25s; }
.ag-fortune-rotor .is-landed .ag-fortune-sector { stroke: #fff2b8; stroke-width: 5; filter: brightness(1.7); }
.ag-fortune-plinth { position: absolute; left: 30%; right: 30%; top: 32%; height: 43%; background: linear-gradient(90deg, #5c3315, #e4b866 48%, #70471e); clip-path: polygon(40% 0, 60% 0, 75% 85%, 100% 100%, 0 100%, 25% 85%); opacity: .8; }
[data-scene="wheel"] .ag-number-result { position: relative; width: fit-content; min-width: 220px; max-width: 95%; margin: 0 auto 8px; padding: 12px 20px; border: 1px solid #d8af6877; border-radius: 9px; color: #ffe6a8; background: linear-gradient(#2b1916ef, #130c11f5); box-shadow: inset 0 1px #fff1c033, 0 8px 20px #0005; font-size: 15px; letter-spacing: 1.8px; }
.ag-fortune-caption, .ag-fortune-values, .ag-fortune-replay { position: relative; margin: 5px auto; max-width: 440px; color: #e0ccb0; font-size: 10px; line-height: 1.5; text-shadow: 0 2px 5px #000; }
.ag-fortune-values { color: #fae2ad; font-size: 9px; }
.ag-fortune-replay { font-size: 9px; color: #cbbfac; }
[data-scene="wheel"] .ag-controls { background: linear-gradient(145deg, #382018ed, #1c1015f5); border-color: #c49d6277; padding: 22px; }
[data-scene="wheel"] .ag-controls::before { content: 'SPIN CONTROL'; display: block; color: #f2d6a0; font-size: 10px; letter-spacing: 2px; font-weight: 700; padding-bottom: 18px; }
[data-scene="wheel"] .ag-stake-field { background: #150d13c9; border-color: #c5a57144; }
[data-scene="wheel"] .ag-stake-field > span { color: #efca81; }
[data-scene="wheel"] .ag-label, [data-scene="wheel"] .ag-controls small { color: #e5d2bb; }
[data-scene="wheel"] .ag-play { background: linear-gradient(110deg, #ffe3a0, #d6a658); color: #29150d; box-shadow: 0 5px 22px #bb863733; }
[data-scene="wheel"] .ag-action-row { margin-top: 18px; }
[data-scene="wheel"] .ag-result, [data-scene="wheel"] .ag-rules { background: #21121aeb; border-color: #ba97544d; }
[data-scene="wheel"] .ag-session-note, [data-scene="wheel"] .casino-scene-note { color: #e3d1b5; text-shadow: 0 2px 5px #000; }
@media (max-width: 850px) {
  .is-immersive[data-scene="wheel"] .ag-game { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  [data-scene="wheel"] .ag-heading h2 { font-size: 28px; }
  [data-scene="wheel"] .ag-stage-top { padding: 10px; font-size: 7px; }
  .ag-fortune-physical { width: min(88vw, 420px); max-width: 94%; }
  .ag-fortune-caption, .ag-fortune-values, .ag-fortune-replay { padding-inline: 8px; }
  .is-immersive[data-scene="wheel"] .ag-controls { padding: 16px; }
  [data-scene="wheel"] .ag-game-options { display: none; }
  [data-scene="wheel"] .ag-controls::before { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-fortune-sector { transition: none; }
}
/* Royal Draw: a private emerald table; live cards stay on top of the felt. */
[data-scene="poker"] .casino-floor { top: 64px; background-size: 100% 100%; }
[data-scene="poker"] .casino-light { background: radial-gradient(ellipse at 45% 68%, #3ec6961a, transparent 60%), radial-gradient(ellipse at 85% 10%, #ffc76b20, transparent 50%); }
[data-scene="poker"] .casino-vignette { background: linear-gradient(#07150f44, transparent 35%, #021b1055); }
[data-scene="poker"] .ag-game { max-width: 1160px; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px 30px; }
[data-scene="poker"] .ag-heading { width: fit-content; padding: 9px 14px; border-left: 2px solid #dfc28d; border-radius: 0 8px 8px 0; background: #081912b8; }
[data-scene="poker"] .ag-heading h2 { font-size: 27px; }
[data-scene="poker"] .ag-heading p { display: none; }
[data-scene="poker"] .ag-stage { background: transparent; border: 0; box-shadow: none; min-height: 0; overflow: visible; }
[data-scene="poker"] .ag-stage::after { display: none; }
[data-scene="poker"] .ag-stage-top { background: #071c14a6; border: 1px solid #d0b77b33; border-radius: 8px; padding: 10px 16px; color: #d5e5d4; }
[data-scene="poker"] .ag-stage-status { color: #e6d4a6; }
[data-scene="poker"] .ag-board { padding: 10px 0 0; min-height: 0; scroll-margin-top: 80px; }
[data-scene="poker"] .ag-stage-foot { background: transparent; border: 0; color: #d9e3d2; padding: 10px; }
[data-scene="poker"] .ag-poker-table { padding: 18px 12px 12px; border: 1px solid #ddc58955; border-radius: 40px 40px 90px 90px; background: radial-gradient(ellipse at 50% 45%, #0b513633, #031a1244); box-shadow: inset 0 0 0 7px #041b1118; }
[data-scene="poker"] .ag-poker-emblem { margin: 0 0 14px; color: #ead2a2; font-size: 30px; line-height: 1.1; text-shadow: 0 2px 8px #0007; }
[data-scene="poker"] .ag-poker-emblem > span { color: #efd7a7; font-size: 16px; letter-spacing: 4px; margin-top: 6px; }
[data-scene="poker"] .ag-poker-emblem > small { display: block; color: #c6d9c6; font-size: 8px; letter-spacing: 2px; margin-top: 8px; }
.ag-poker-steps { display: flex; justify-content: center; gap: 20px; padding: 0; margin: 0 0 35px; list-style: none; }
.ag-poker-steps li { display: flex; gap: 6px; align-items: center; color: #c1cfc2; font-size: 10px; }
.ag-poker-steps li > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #b4c4ae66; border-radius: 50%; font-size: 10px; }
.ag-poker-steps [aria-current="step"] { color: #ffe1a1; }
.ag-poker-steps [aria-current="step"] > span { background: #e6c68c; border-color: #ffedb8; color: #163528; }
[data-scene="poker"] .ag-poker-hand { gap: clamp(8px, 1.4vw, 20px); padding: 0 0 33px; }
[data-scene="poker"] .ag-poker-hand .ag-card { width: clamp(72px, 7.3vw, 102px); height: clamp(106px, 10.5vw, 148px); border: 1px solid #fff6dd; border-radius: 8px; background: linear-gradient(140deg, #fffef6, #e1ded2); color: #162c29; box-shadow: 0 3px 0 #9b9e91, 0 10px 20px #0006; animation: none; }
[data-scene="poker"] .ag-card.is-red { color: #ae263c; }
[data-scene="poker"] .ag-card-corner { top: 8px; left: 8px; font-size: 21px; }
[data-scene="poker"] .ag-card-corner small { font-size: 17px; }
[data-scene="poker"] .ag-card-suit { font-size: 44px; }
[data-scene="poker"] .ag-card-bottom { font-size: 20px; bottom: 8px; right: 8px; }
[data-scene="poker"] .ag-card.is-hidden { background: repeating-linear-gradient(45deg, #152f28 0 5px, #204333 5px 6px); border: 4px solid #e6d5a7; box-shadow: inset 0 0 0 2px #91784b, 0 3px 0 #98865b, 0 10px 20px #0006; }
[data-scene="poker"] .ag-card-back { color: #ead2a2; border-color: #d3b675; font-size: 32px; }
[data-scene="poker"] .ag-poker-hand .ag-card.is-held { border: 2px solid #f5d88f; transform: translateY(-9px); box-shadow: 0 3px 0 #a5915e, 0 0 0 3px #e8c87b33, 0 10px 25px #0005; }
[data-scene="poker"] .ag-poker-hand button.ag-card:hover:enabled { transform: translateY(-5px); }
[data-scene="poker"] .ag-poker-hand button.ag-card.is-held:hover:enabled { transform: translateY(-11px); }
[data-scene="poker"] .ag-poker-hand button.ag-card:focus-visible { outline: 3px solid #8bf1cf; outline-offset: 5px; }
[data-scene="poker"] .ag-held-label { bottom: -28px; padding: 4px 1px; font-size: 9px; letter-spacing: 1.4px; color: #d7e3d6; border: 1px solid #93b7a955; border-radius: 4px; background: #071e17cc; }
[data-scene="poker"] .is-held .ag-held-label { color: #201c0e; background: #f0d292; border-color: #ffe5ad; }
[data-scene="poker"] .ag-poker-instruction { display: grid; gap: 7px; margin: 14px auto 0; max-width: 560px; padding: 13px; border: 1px solid #d5bf8a55; border-radius: 10px; background: #092319d9; letter-spacing: .5px; }
[data-scene="poker"] .ag-poker-instruction strong { color: #ffe1a7; font-size: 13px; }
[data-scene="poker"] .ag-poker-instruction > span { color: #d1e0d2; font-size: 10px; letter-spacing: 0; line-height: 1.5; }
.ag-poker-table-seal { color: #d3bc8055; font-size: 24px; letter-spacing: 16px; margin: 18px 0 7px; }
.ag-poker-table-note { color: #c9dccd; font-size: 9px; margin: 0; line-height: 1.5; }
[data-scene="poker"] .is-revealing .ag-card:not(.is-held) { animation: royal-card-deal .38s both; animation-delay: calc(var(--card-i) * .05s); }
@keyframes royal-card-deal { from { opacity: 0; transform: translateY(-30px) rotateY(65deg) scale(.94); } to { opacity: 1; transform: none; } }
[data-scene="poker"] .ag-controls { background: linear-gradient(140deg, #183a2bec, #091d17f5); border-color: #c9ad7266; padding: 22px; }
[data-scene="poker"] .ag-controls::before { content: 'YOUR HAND'; display: block; color: #ead2a2; font-size: 10px; letter-spacing: 2px; font-weight: 700; padding-bottom: 18px; }
[data-scene="poker"] .ag-stake-field { background: #071e16c9; border-color: #bfa77244; }
[data-scene="poker"] .ag-stake-field > span { color: #ecd096; }
[data-scene="poker"] .ag-label, [data-scene="poker"] .ag-controls small { color: #d2dfd0; }
[data-scene="poker"] .ag-play { background: linear-gradient(110deg, #ffe3a6, #d5b46f); color: #17291c; box-shadow: 0 7px 22px #b5933526; }
[data-scene="poker"] .ag-action-row { margin-top: 18px; }
[data-scene="poker"] .ag-result, [data-scene="poker"] .ag-rules { background: #092219eb; border-color: #b69e6244; }
[data-scene="poker"] .ag-session-note, [data-scene="poker"] .casino-scene-note { color: #d6e0cd; text-shadow: 0 2px 5px #000; }
@media (max-width: 850px) {
  .is-immersive[data-scene="poker"] .ag-game { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  [data-scene="poker"] .casino-floor { background-size: cover; background-position: center; }
  [data-scene="poker"] .ag-heading h2 { font-size: 25px; }
  [data-scene="poker"] .ag-stage-top { padding: 10px; font-size: 7px; }
  [data-scene="poker"] .ag-poker-table { padding: 16px 5px 14px; border-radius: 25px; }
  [data-scene="poker"] .ag-poker-emblem { font-size: 23px; margin-bottom: 13px; }
  [data-scene="poker"] .ag-poker-emblem > span { font-size: 13px; letter-spacing: 3px; }
  .ag-poker-steps { gap: 9px; margin-bottom: 28px; }
  .ag-poker-steps li { gap: 4px; font-size: 8px; }
  .ag-poker-steps li > span { width: 18px; height: 18px; font-size: 8px; }
  [data-scene="poker"] .ag-poker-hand { gap: 6px; }
  [data-scene="poker"] .ag-poker-hand .ag-card { width: clamp(46px, 14.5vw, 82px); height: clamp(76px, 22vw, 120px); border-radius: 5px; }
  [data-scene="poker"] .ag-card-corner { top: 5px; left: 4px; font-size: 16px; }
  [data-scene="poker"] .ag-card-corner small { font-size: 12px; }
  [data-scene="poker"] .ag-card-suit { font-size: 25px; }
  [data-scene="poker"] .ag-card-bottom { font-size: 14px; bottom: 5px; right: 4px; }
  [data-scene="poker"] .ag-held-label { font-size: 8px; letter-spacing: .6px; }
  [data-scene="poker"] .ag-poker-instruction { padding: 10px 8px; }
  [data-scene="poker"] .ag-poker-instruction strong { font-size: 11px; }
  .ag-poker-table-seal { margin-top: 12px; font-size: 18px; }
  .is-immersive[data-scene="poker"] .ag-controls { padding: 16px; }
  [data-scene="poker"] .ag-game-options { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scene="poker"] .is-revealing .ag-card { animation: none !important; }
  [data-scene="poker"] .ag-card { transition: none !important; }
}
@media (max-width: 360px) {
  .is-immersive[data-scene="plinko"] .ag-controls { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .casino-scenery * { animation: none !important; }
}
