/* App launcher and icon controls share a fixed, preloaded game surface. */
.game-stage{background:radial-gradient(ellipse at 30% 0,#263b64,#101c36 65%,#091425)!important;isolation:isolate}
.game-stage .game-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:8px;padding:8px 16px!important;box-sizing:border-box;background:radial-gradient(circle at 25% 20%,#516bbc22,transparent 50%)}
.nexo-identity .chat .game-stage .game-choice{background:transparent!important;border:0!important;box-shadow:none!important;width:100%;height:100%;min-height:0!important;display:flex!important;align-items:center;justify-content:center;gap:7px!important;padding:5px!important;border-radius:16px!important}
.game-stage .game-choice-art{height:clamp(40px,20cqh,110px)!important;width:auto!important;aspect-ratio:1;border-radius:24%;background:linear-gradient(145deg,#354e7e,#192c50);box-shadow:inset 0 2px 2px #ffffff30,inset 0 -4px 8px #0003,0 8px 16px #0004;display:grid;place-items:center;padding:10%;box-sizing:border-box;transition:transform .16s}
.game-stage .game-choice[data-game=uno] .game-choice-art{background:linear-gradient(135deg,#c44763,#633260)}
.game-stage .game-choice[data-game=tetris] .game-choice-art{background:linear-gradient(135deg,#405db1,#30245b)}
.game-stage .game-choice[data-game=blackjack] .game-choice-art,.game-stage .game-choice[data-game=poker] .game-choice-art{background:linear-gradient(135deg,#287a6b,#153b4a)}
.game-stage .game-choice[data-game=sabong] .game-choice-art{background:linear-gradient(135deg,#8b6338,#3d3145)}
.game-stage .game-choice-art svg{width:100%;height:100%;overflow:visible}
.game-stage .game-choice:hover .game-choice-art{transform:translateY(-3px) scale(1.035)}
.game-stage .game-choice strong{font-size:clamp(10px,3cqh,15px);font-weight:650;text-shadow:0 1px 4px #0006}
.game-stage .game-choice small{display:none}.game-stage .game-enabled-label{position:absolute;font-size:9px;background:#0d1937d9;padding:2px 5px;border-radius:4px;bottom:5px}.game-stage .game-choice{position:relative}
.game-stage .activity-header{background:#0c1733b3!important;border-bottom:1px solid #768bb533}.game-stage .activity-wallet{font-size:12px!important;display:flex;align-items:center;gap:5px}.game-stage .activity-wallet:before{content:'●';color:#efcb76}
.nexo-identity .chat .game-stage .arcade-icon-action{display:inline-grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:8px!important;border:1px solid #8ca8c655!important;border-radius:50%!important;background:linear-gradient(145deg,#2d4961,#183449)!important;box-shadow:inset 0 1px #ffffff1c,0 3px 6px #0003;color:#f3e7c2!important;vertical-align:middle;flex:none!important;line-height:1!important;font-size:0!important}
.game-stage .arcade-icon-action svg{width:100%;height:100%;pointer-events:none}.game-stage .arcade-icon-action.primary{background:linear-gradient(145deg,#f2d58e,#bf8e3c)!important;color:#172a34!important}.game-stage .game-quit.arcade-icon-action{background:#5f2841!important;color:#ffccd9!important}.game-stage .arcade-icon-action:disabled{opacity:.42}.game-stage .uno-next-page svg{transform:rotate(180deg)}.game-stage .arcade-icon-action[aria-pressed=true]{outline:2px solid #edca7b;background:#536549!important}.game-stage .game-control-deck{gap:8px;padding:7px!important;min-height:48px}.game-stage .table-lobby{flex:1}.game-stage .stake-label{font-size:9px;flex:1}.game-stage .game-rules{font-size:10px}.game-stage .activity-content{position:relative;gap:8px!important}.game-stage .arcade-loading{display:grid;place-items:center;flex:1;color:#c6d5ec;font-size:13px}.game-stage .arcade-loading:before{content:'';width:26px;height:26px;border:2px solid #748dbb44;border-top-color:#f0cc7e;border-radius:50%;animation:arcade-turn .8s linear infinite}@keyframes arcade-turn{to{transform:rotate(360deg)}}
/* Full-index cards with an ivory stock, pip layout and a layered patterned back. */
.game-stage .casino-table{background:radial-gradient(ellipse at center,#236b59,#104337 70%,#0a2c27)!important;border:9px solid #66442d!important;border-radius:80px 80px 40px 40px;box-shadow:inset 0 0 0 2px #cfaa68,inset 0 0 40px #0006,0 5px 15px #0004;min-height:0!important;flex:1 1 0!important;padding:9px 16px!important;gap:5px!important;overflow:hidden;position:relative}
.game-stage .game-card{background:linear-gradient(120deg,#fffef9,#ece7da)!important;color:#152234!important;border:1px solid #d5d0c4;border-radius:7px;box-shadow:1px 2px 0 #c3bcac,0 6px 8px #0004;position:relative;overflow:hidden;width:clamp(33px,10cqh,66px);height:auto;aspect-ratio:.69;flex:none}
.game-stage .game-card.card-red{color:#bb293b!important}.game-stage .game-card.card-covered{background:repeating-linear-gradient(45deg,#223b62,#223b62 3px,#31527a 3px,#31527a 5px)!important;border:4px solid #f2ebdb}.game-stage .card-back-mark{border:1px solid #bdac79;inset:8%;border-radius:6px;display:grid;place-items:center;font-family:Georgia,serif;color:#eed69e;font-size:25px}.game-stage .card-corner{white-space:pre;line-height:.95;font-size:10px;top:4px;left:4px;font-family:Georgia,serif;font-weight:bold;z-index:2}.game-stage .card-corner.bottom{top:auto;left:auto;bottom:4px;right:4px;transform:rotate(180deg)}.game-stage .card-pips{position:absolute;inset:16% 22%;display:grid;grid-template-columns:repeat(2,1fr);align-content:space-evenly;justify-items:center;line-height:1;font-size:clamp(10px,3.7cqh,22px)}.game-stage .card-pips i{font-style:normal}.game-stage .card-pips[data-count='1'],.game-stage .card-pips[data-count='3']{grid-template-columns:1fr}.game-stage .card-pips[data-count='1']{font-size:34px;align-content:center}.game-stage .court-face{inset:16% 19%;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid currentColor;background:linear-gradient(145deg,#e5c68b33,#faf3df)}.game-stage .court-face svg{width:100%;height:60%;fill:none}.game-stage .court-face strong{font-family:Georgia,serif;font-size:16px}.game-stage .game-card-row{gap:7px;justify-content:center;flex-wrap:nowrap}.game-stage .table-dealer svg{height:36px;width:40px}.game-stage .table-dealer span{font-size:7px}.game-stage .table-label{font-size:9px}.game-stage .table-player-hands,.game-stage .table-player-hands:has(.table-seat:nth-child(2)),.game-stage .table-player-hands:has(.table-seat:nth-child(3)){min-height:0;max-height:none!important;overflow:hidden!important;flex:1;align-items:center;justify-content:space-evenly;gap:6px}.game-stage .table-seat{min-width:0!important;max-width:100%;padding:3px}.game-stage .felt-mark{font-size:8px;opacity:.65}.game-stage .game-options{margin:0;width:100%}.game-stage .game-options summary{display:none}.game-stage .game-result{font-size:11px;padding:5px;margin:0!important}
/* UNO is a tabletop with a focused four-colour chooser, not a form. */
.game-stage .uno-table{position:relative;background:radial-gradient(ellipse at center,#286d61,#123e3e 70%,#082d35)!important;border-radius:44px!important;border-width:8px;grid-template-rows:auto minmax(55px,1fr) 34px minmax(65px,1fr) 28px 38px!important}
.nexo-identity .chat .game-stage .uno-card{background-image:linear-gradient(115deg,#ffffff25,transparent 45%,#00000018)!important;box-shadow:1px 3px 0 #c9c0aa,0 7px 12px #0005!important;aspect-ratio:.66!important;width:auto!important;border-color:#fff8e8!important;font-family:Arial,sans-serif}.game-stage .uno-card:disabled{opacity:.85;filter:saturate(.55)}.game-stage .uno-card:enabled{outline:1px solid #f4d58f55;outline-offset:2px}.game-stage .uno-hand{padding:4px 5px 9px;gap:9px}.game-stage .uno-options{height:34px}.game-stage .uno-options .arcade-icon-action{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:6px!important}.game-stage .uno-deck-action{width:16px;height:16px;border:2px solid currentColor;border-radius:3px;margin:auto}.game-stage .uno-deck-action:after{content:'+';display:grid;place-items:center;line-height:12px;font-size:14px}.game-stage .uno-hand-pages .arcade-icon-action{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;padding:5px!important}.game-stage .uno-hand-pages button[hidden]{display:none!important}
.game-stage .uno-colour-overlay,.game-stage .arcade-modal-layer{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:#051723c9;backdrop-filter:blur(8px);padding:12px;box-sizing:border-box;border-radius:inherit}.game-stage .uno-colour-panel,.game-stage .arcade-modal-panel{position:relative;width:min(100%,310px);background:linear-gradient(140deg,#223a50,#102637);border:1px solid #829aaf77;border-radius:22px;padding:16px;box-shadow:0 18px 45px #0008}.game-stage .uno-colour-panel h4{text-align:center;margin:5px 0 15px;color:#fff4d7;font-size:16px}.game-stage .uno-colour-panel>button,.game-stage .arcade-modal-panel>button{position:absolute!important;right:7px;top:7px}.game-stage .uno-colour-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:6px 20px 15px}.nexo-identity .chat .game-stage .uno-colour-choice{border:3px solid #fff6!important;aspect-ratio:1;border-radius:24%!important;min-height:0!important;height:auto!important;padding:20px!important;box-shadow:inset 0 2px #ffffff38,0 6px 12px #0005;color:white!important}.game-stage .uno-colour-choice svg{width:100%;height:100%;opacity:.65}.game-stage .uno-colour-choice:hover{transform:scale(1.04)}.game-stage .arcade-modal-panel{width:min(100%,460px);max-height:100%;overflow:auto;padding-top:50px}.game-stage .arcade-modal-panel .game-options p{font-size:12px;line-height:1.6}.game-stage .arcade-modal-panel label{font-size:12px}
/* A fixed camera and in-game winner reveal for the fictional arena. */
.game-stage .arena-3d-canvas,.game-stage .arena-3d-canvas:active{cursor:default;touch-action:auto}.game-stage .arena-camera-reset{display:none!important}.game-stage .rooster-arena{position:relative;overflow:hidden;flex:1 1 0;min-height:0!important}.game-stage .arena-winner-overlay{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:radial-gradient(ellipse,#1c354cfa,#061625e8);backdrop-filter:blur(6px);border:1px solid #d9b56877;border-radius:inherit}.game-stage .arena-winner-overlay[hidden]{display:none!important}.game-stage .arena-winner-overlay>strong{font-size:clamp(22px,8cqh,44px);color:#f4dca2;text-shadow:0 3px 8px #0008}.game-stage .arena-winner-overlay>small{font-size:10px;letter-spacing:5px;color:#c3d7e6}.game-stage .arena-winner-overlay>button{position:absolute!important;right:12px;top:12px}.game-stage .winner-rooster{height:55%;width:50%;max-width:250px;filter:drop-shadow(0 8px 15px #0008)}.game-stage .winner-rooster svg{width:100%;height:100%}.game-stage .arena-playing .arena-rooster{animation-iteration-count:3}.game-stage .arena-camera-hint{display:none}
@media(max-width:650px){.game-stage .game-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px 2px!important}.game-stage .game-choice-art{height:clamp(32px,13cqh,65px)!important;padding:9px!important}.game-stage .game-choice strong{font-size:9px!important}.game-stage .activity-header h3{font-size:12px!important}.game-stage .activity-header{padding:6px!important;gap:5px}.nexo-identity .chat .game-stage .activity-header .arcade-icon-action{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;padding:6px!important}.game-stage .activity-wallet{font-size:10px!important}.game-stage .casino-table{border-width:5px!important;border-radius:35px 35px 22px 22px;padding:7px!important}.game-stage .table-dealer{display:none}.game-stage .game-card-row{gap:4px}.game-stage .game-card{width:clamp(26px,8cqh,43px)}.game-stage .card-corner{font-size:7px;left:2px;top:3px}.game-stage .card-corner.bottom{right:2px;bottom:3px}.game-stage .game-control-deck{flex-wrap:nowrap!important;gap:5px;min-height:38px}.game-stage .stake-label{font-size:7px}.nexo-identity .chat .game-stage .game-control-deck .arcade-icon-action{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:6px!important}.game-stage .uno-table{border-radius:24px!important;border-width:5px;grid-template-rows:auto minmax(55px,1fr) 30px minmax(65px,1fr) 26px 32px!important;gap:3px;padding:6px}.game-stage .uno-actions .arcade-icon-action{height:30px!important;min-height:30px!important;width:30px!important;min-width:30px!important}.game-stage .uno-colour-panel{max-width:230px;padding:14px}.game-stage .uno-colour-panel h4{font-size:13px;padding-right:20px}.game-stage .uno-colour-grid{gap:9px;padding:5px}.game-stage .uno-colour-choice{padding:17px!important}.game-stage .table-player-hands .game-card-row{gap:3px}.game-stage .table-player-hands:has(.table-seat:nth-child(3)) .game-card{width:24px}.game-stage .table-player-hands:has(.table-seat:nth-child(4)){display:grid;grid-template-columns:1fr 1fr}.game-stage .table-lobby{font-size:8px;max-height:25px;overflow:hidden}.game-stage .game-control-deck .game-rules{font-size:8px}}
@media(prefers-reduced-motion:reduce){.game-stage .game-choice-art,.game-stage .uno-colour-choice{transition:none;transform:none!important}.game-stage .arcade-loading:before{animation:none}}
.nexo-identity .chat .game-stage .arcade-icon-action[hidden]{display:none!important}
.game-stage .uno-table:not(.uno-lobby){grid-template-rows:28px minmax(45px,1fr) minmax(60px,1.35fr) 24px 34px!important;gap:5px;padding:9px 13px}.game-stage .uno-table .uno-seats{height:28px!important;min-height:28px;align-items:center;overflow:hidden}.game-stage .uno-seat{height:25px;box-sizing:border-box;padding:3px 7px;display:flex!important;align-items:center;gap:5px;max-width:45%}.game-stage .uno-seat small{white-space:nowrap}.game-stage .uno-opponent-cards{display:none!important}.game-stage .uno-actions{height:34px}.nexo-identity .chat .game-stage .uno-actions .arcade-icon-action{height:30px!important;width:30px!important;min-height:30px!important;min-width:30px!important;padding:6px!important}.game-stage .uno-colour-panel{box-sizing:border-box;width:min(90%,240px);max-height:100%;padding:10px 14px}.game-stage .uno-colour-panel h4{font-size:13px;margin:9px 22px 10px 0}.game-stage .uno-colour-grid{padding:0;gap:9px;justify-content:center}.nexo-identity .chat .game-stage .uno-colour-choice{height:clamp(38px,18cqh,80px)!important;width:auto!important;aspect-ratio:1;justify-self:center;padding:12px!important}.game-stage .uno-colour-panel>.arcade-icon-action{height:25px!important;width:25px!important;min-height:25px!important;min-width:25px!important;padding:5px!important}.game-stage .uno-center .uno-card,.game-stage .uno-center .uno-deck{max-height:100%!important}.game-stage .uno-table .uno-hand{min-height:0!important;padding:3px 3px 7px}
@media(max-width:650px){.game-stage .uno-table:not(.uno-lobby){grid-template-rows:26px minmax(55px,1fr) minmax(65px,1.3fr) 24px 32px!important;padding:7px;gap:4px}.game-stage .uno-seat{font-size:8px;gap:3px;padding:3px}.game-stage .uno-seat small{font-size:7px}.game-stage .uno-colour-panel{width:min(90%,220px)}}
/* Give both hands a bounded row so the lower cards never sit behind the rail. */
.game-stage .casino-table{display:grid!important;grid-template-rows:minmax(0,1fr) minmax(0,1fr);align-items:stretch;justify-items:stretch;gap:8px!important;padding:15px 18px!important}
.game-stage .casino-table .table-dealer{position:absolute;right:13px;left:auto;top:8px;transform:none;z-index:1;opacity:.6;pointer-events:none;max-width:60px}.game-stage .table-dealer span{display:none}.game-stage .felt-mark{position:absolute;left:14px;bottom:5px;pointer-events:none;font-size:7px!important;line-height:1;opacity:.35;transform:none}
.game-stage .casino-table .dealer-hand{grid-row:1;display:grid;grid-template-rows:12px minmax(0,1fr);min-height:0;gap:4px;text-align:center;margin:0}
.game-stage .casino-table .table-player-hands{grid-row:2;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));grid-template-rows:minmax(0,1fr);width:100%;height:100%;min-height:0;align-items:stretch;gap:6px}
.game-stage .casino-table .table-seat{display:grid!important;grid-template-rows:12px minmax(0,1fr) auto;min-height:0;height:100%;padding:0;text-align:center;gap:3px}
.game-stage .casino-table .game-card-row{min-height:0;height:100%;margin:0;align-items:center;justify-content:center;overflow:hidden}
.nexo-identity .chat .game-stage .casino-table .game-card{height:min(100%,110px)!important;min-height:0!important;max-height:100%!important;width:auto!important;min-width:0!important;aspect-ratio:.69!important;flex:0 1 auto}
.game-stage .casino-table .table-label{margin:0;line-height:12px;min-height:0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-stage .casino-table:not(:has(.dealer-hand)){grid-template-rows:minmax(0,1fr)}.game-stage .casino-table:not(:has(.dealer-hand)) .table-player-hands{grid-row:1}.game-stage .casino-table:not(:has(.dealer-hand)) .table-player-hands:has(.table-seat:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.game-stage .casino-table .discard-card{min-height:0;height:100%;padding:0;border:0;background:none;aspect-ratio:.69;display:flex;align-items:center}.game-stage .casino-table .discard-card .game-card{height:100%!important}.game-stage .seat-result{font-size:8px;line-height:10px}
@media(max-width:650px){.game-stage .casino-table{gap:7px!important;padding:10px 9px!important}.game-stage .casino-table .table-player-hands{grid-template-columns:repeat(auto-fit,minmax(70px,1fr))}.game-stage .casino-table .table-label{font-size:7px}.game-stage .casino-table .game-card-row{gap:3px}.game-stage .casino-table .table-dealer{display:none!important}.game-stage .casino-table .card-pips{font-size:clamp(8px,3cqh,16px)}}
.game-stage .casino-table:has(.dealer-hand){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)!important;column-gap:20px!important}
.game-stage .casino-table:has(.dealer-hand) .dealer-hand{grid-column:1;grid-row:1}
.game-stage .casino-table:has(.dealer-hand) .table-player-hands{grid-column:2;grid-row:1}
.game-stage .casino-table:has(.dealer-hand) .table-dealer{display:none!important}
.game-stage .casino-table .game-card-row{padding:4px;box-sizing:border-box}
.game-stage .winner-rooster,.game-stage .winner-rooster svg,.game-stage .arena-rooster svg{overflow:hidden!important}.game-stage .game-control-deck button[data-side=amber]{background:linear-gradient(135deg,#936b2b,#49371e)!important;color:#ffdda0!important}.game-stage .game-control-deck button[data-side=blue]{background:linear-gradient(135deg,#5480ab,#223957)!important;color:#c8e8ff!important}
.game-stage .game-choice::before,.game-stage .game-choice::after{display:none!important}
.nexo-identity .chat .game-stage .arcade-icon-action.primary{background:linear-gradient(145deg,#f2d58e,#bf8e3c)!important;color:#172a34!important}
.nexo-identity .chat .game-stage .game-quit.arcade-icon-action{background:#5f2841!important;color:#ffccd9!important}
.nexo-identity .chat .game-stage .game-control-deck .arcade-icon-action[data-side=amber]{background:linear-gradient(135deg,#936b2b,#49371e)!important;color:#ffdda0!important}
.nexo-identity .chat .game-stage .game-control-deck .arcade-icon-action[data-side=blue]{background:linear-gradient(135deg,#5480ab,#223957)!important;color:#c8e8ff!important}
/* Fixed padding is relative to the icon, never the full launcher cell. */
.nexo-identity .chat .game-stage .game-picker .game-choice-art{padding:12px!important;overflow:hidden!important;flex:none}
.nexo-identity .chat .game-stage .game-picker .game-choice-art>svg{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important}
@media(max-width:650px){.nexo-identity .chat .game-stage .game-picker .game-choice-art{padding:8px!important}}

/* v1.9.4: rules are normal-flow content, never an absolutely positioned details. */
.game-stage .arcade-modal-layer{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;width:100%;height:100%;margin:0!important;overflow:hidden}
.game-stage .arcade-modal-panel{box-sizing:border-box;flex:none!important;width:min(100%,480px)!important;min-height:160px;height:auto!important;max-height:100%;padding:46px 22px 20px!important;overflow:auto;display:block!important}
.game-stage .arcade-rules-content{position:static!important;display:block!important;width:auto;max-height:none;margin:0;padding:0;color:#d4e4f3;font-size:13px}
.game-stage .arcade-rules-content h3{font-size:17px;color:#f5d590;margin:0 0 12px}.game-stage .arcade-rules-content p{margin:0;line-height:1.7}.game-stage .game-history{border-top:1px solid #66829b66;padding-top:12px}
.game-stage .game-bet-stepper{display:flex;align-items:center;gap:4px;border:1px solid #c9a65b88;background:#122b40;border-radius:24px;padding:3px;flex:none}
.game-stage .game-bet-stepper output{min-width:40px;text-align:center;color:#ffdc8e;font-size:14px;font-variant-numeric:tabular-nums;font-weight:800}.game-stage .bet-increase svg{transform:rotate(180deg)}
.nexo-identity .chat .game-stage .game-bet-stepper .arcade-icon-action{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:6px!important;box-shadow:none}
.game-stage .activity-content{flex-wrap:nowrap!important}.game-stage .slot-machine{max-height:none;width:min(520px,95%)}
.game-stage .roulette-screen{--wheel-size:clamp(120px,calc(100cqh - 155px),380px)}
.game-stage .rooster-arena{max-height:none!important}.game-stage .arena-3d-viewport{min-height:0!important;flex:1 1 0}.game-stage .arena-score{padding:5px}.game-stage .arena-caption{padding:3px}
.game-stage .versus-tetris{padding:0!important;gap:4px}.game-stage .versus-boards{max-width:1000px;gap:18px}.game-stage .versus-tetris.is-classic .versus-player{width:min(100%,520px)!important}.game-stage .versus-player{grid-template-columns:minmax(0,1fr) 115px;grid-template-rows:auto minmax(0,1fr) auto!important;column-gap:10px;align-items:stretch}
.game-stage .versus-player>strong{grid-column:2;grid-row:1;font-size:11px;align-self:end;text-align:center}.game-stage .versus-player>canvas{grid-column:1;grid-row:1/-1!important;justify-self:end;width:auto;height:100%;max-height:100%;max-width:100%;object-fit:contain}.game-stage .versus-stats{grid-column:2;grid-row:3;font-size:10px}.game-stage .versus-previews{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.game-stage .versus-previews canvas{width:96px!important;height:40px!important;max-height:40px!important;aspect-ratio:auto!important}
.game-stage .roulette-wheel.wheel-spinning{animation:roulette-wheel-turn 2.4s cubic-bezier(.12,.58,.14,1) both}.game-stage .roulette-wheel.wheel-spinning .roulette-ball{animation:roulette-counter-ball 2.4s cubic-bezier(.12,.58,.14,1) both}.game-stage .roulette-result.spinning-result{animation:reveal-spin .15s 2.4s both}
@keyframes roulette-wheel-turn{from{transform:rotate(-1080deg)}to{transform:rotate(0)}}@keyframes roulette-counter-ball{from{transform:rotate(calc(var(--land-angle) + 1800deg))}to{transform:rotate(var(--land-angle))}}@keyframes reveal-spin{from{opacity:0}to{opacity:1}}
.game-stage .slot-window{position:relative;overflow:hidden}.game-stage .slot-strip{display:flex;flex-direction:column;height:100%;width:100%}.game-stage .slot-strip>span{flex:none;height:100%;display:grid;place-items:center;font-size:clamp(28px,13cqh,80px);line-height:1}.game-stage .reels-spinning .slot-strip{animation:slot-roll 1.6s cubic-bezier(.1,.5,.15,1) both;animation-delay:var(--reel-delay)}@keyframes slot-roll{from{transform:translateY(-800%);filter:blur(3px)}85%{filter:blur(1px)}to{transform:translateY(0);filter:none}}
.game-stage .casino-table .game-card-row{overflow:visible!important}.game-stage .casino-table:has(.dealer-hand) .table-dealer{display:flex!important;left:calc(50% - 20px);right:auto;top:5px;opacity:1}.game-stage .casino-table:has(.dealer-hand){padding-top:40px!important}
.game-stage .card-dealt{animation:dealer-card-flight .6s both;animation-delay:var(--deal-delay)}@keyframes dealer-card-flight{from{opacity:0;transform:translate(var(--deal-x,0px),var(--deal-y,-70px)) scale(.3) rotate(-35deg)}20%{opacity:1}to{opacity:1;transform:translate(0,0) scale(1) rotate(0)}}
@media(max-width:650px){.game-stage .versus-player{grid-template-columns:minmax(0,1fr) 64px;gap:4px}.game-stage .versus-previews canvas{width:60px!important;height:30px!important}.game-stage .versus-player>strong,.game-stage .versus-stats{font-size:8px}.game-stage .versus-boards{gap:6px}.game-stage .game-bet-stepper output{min-width:28px;font-size:11px}.nexo-identity .chat .game-stage .game-bet-stepper .arcade-icon-action{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;padding:5px!important}.game-stage .game-control-deck{gap:4px}.game-stage .stake-label{display:none}}
@media(prefers-reduced-motion:reduce){.game-stage .wheel-spinning,.game-stage .wheel-spinning .roulette-ball,.game-stage .slot-strip,.game-stage .card-dealt,.game-stage .spinning-result{animation:none!important}}
/* Keep players visible beside the call controls, freeing height for the game. */
@media(min-width:700px){
.nexo-identity .chat .camera-call-panel.has-activity{position:relative}
.nexo-identity .chat .camera-call-panel.has-activity>header{min-height:26px;padding-bottom:2px!important}
.nexo-identity .chat .camera-call-panel.has-activity .camera-call-grid{position:absolute!important;bottom:6px;right:6px;width:33%;height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;z-index:2}
.nexo-identity .chat .camera-call-panel.has-activity .camera-call-grid>.camera-call-card{width:65px!important;flex-basis:65px!important;height:40px!important;min-height:40px!important;max-height:40px!important}
.nexo-identity .chat .camera-call-panel.has-activity .camera-call-grid .meeting-initials{height:22px!important;width:22px!important;font-size:10px!important}
.nexo-identity .chat .camera-call-panel.has-activity>.meeting-controls{padding-right:35%!important;min-height:48px;box-sizing:border-box;flex-wrap:nowrap!important}
.nexo-identity .chat .camera-call-panel.has-activity .call-activity-stage{margin:6px!important}
}

.game-stage .versus-tetris.is-classic .versus-player{width:min(100%,calc((100cqh - 100px)/2 + 170px))!important;grid-template-columns:minmax(0,1fr) 150px;grid-template-rows:20px 100px 28px minmax(0,1fr)!important;align-items:start}
.game-stage .versus-tetris.is-classic .versus-player>canvas{align-self:stretch}.game-stage .versus-tetris.is-classic .versus-previews{flex-direction:row;gap:6px;align-self:center;justify-content:center}.game-stage .versus-tetris.is-classic .versus-previews canvas{width:68px!important;height:40px!important}
.game-stage .tetris-command-panel{grid-column:2;grid-row:4;display:flex;flex-direction:column;gap:8px;align-items:center;min-height:0;align-self:center}.game-stage .tetris-command-panel .arcade-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.game-stage .tetris-command-panel .versus-notice{font-size:9px;text-align:center}.game-stage .tetris-command-panel .arcade-help{font-size:8px!important;line-height:1.5}.game-stage .tetris-command-panel button{min-height:28px}
@media(max-width:650px){.game-stage .versus-tetris.is-classic .versus-player{grid-template-columns:minmax(0,1fr) 110px;grid-template-rows:16px 76px 20px minmax(0,1fr)!important}.game-stage .versus-tetris.is-classic .versus-previews canvas{width:48px!important;height:30px!important}.game-stage .tetris-command-panel{gap:4px}.game-stage .tetris-command-panel .arcade-help{display:none}.game-stage .tetris-command-panel .arcade-controls button{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:5px!important}}

.game-stage .activity-content:has(.wheel-spinning)>.result-reveal{animation-delay:2.4s,7s}.game-stage .activity-content:has(.reels-spinning)>.result-reveal{animation-delay:2s,6.5s}
/* Reel strips must use the visible window's height, not their nine-symbol content height. */
.game-stage .slot-windows{align-items:stretch}
.game-stage .slot-window{display:block;position:relative;min-width:0;min-height:0;isolation:isolate}
.game-stage .slot-strip{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;overflow:visible}
.game-stage .slot-strip>span{box-sizing:border-box;flex:0 0 100%;height:100%;min-height:0;display:grid;place-items:center;color:#b53c58;font-weight:900;line-height:1}
/* Each poker card gets its own measured slot, including discard buttons. */
.game-stage .poker-table .poker-cards{container-type:size;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:7px!important;place-items:center;width:100%;min-width:0;overflow:visible!important}
.nexo-identity .chat .game-stage .poker-table .poker-cards>.game-card,.nexo-identity .chat .game-stage .poker-table .poker-cards>.discard-card{--poker-h:min(130px,calc(100cqh - 12px),calc((100cqw - 38px)/5/.69));height:var(--poker-h)!important;width:calc(var(--poker-h)*.69)!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;aspect-ratio:.69;box-sizing:border-box;padding:0!important;justify-self:center;flex:none!important}
.nexo-identity .chat .game-stage .poker-table .poker-cards>.discard-card>.game-card{width:100%!important;height:100%!important;box-sizing:border-box}
.game-stage .poker-table .table-player-hands{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important}
.game-stage .poker-table .table-player-hands:has(.table-seat:nth-child(3)){grid-template-rows:repeat(3,minmax(0,1fr))!important}
.game-stage .poker-table .table-seat{width:100%;box-sizing:border-box;justify-items:stretch}
.blackjack-result-ribbon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:min(75%,340px);box-sizing:border-box;padding:14px 24px;text-align:center;color:#38250b;background:linear-gradient(115deg,#b58129,#ffe9a1 35%,#efc35c 65%,#b7832c);box-shadow:0 8px 24px #0008,inset 0 0 0 1px #fff7c7;border-block:2px solid #fff1ba;pointer-events:none;animation:gold-ribbon-in .3s ease-out}
.blackjack-result-ribbon:before,.blackjack-result-ribbon:after{content:'';position:absolute;top:8px;bottom:-8px;width:25px;background:#b48434;z-index:-1;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,30% 50%)}.blackjack-result-ribbon:before{left:-20px}.blackjack-result-ribbon:after{right:-20px;transform:scaleX(-1)}.blackjack-result-ribbon strong{display:block;font-family:Georgia,serif;font-size:clamp(16px,4cqh,29px);letter-spacing:1px}.blackjack-result-ribbon small{font-size:8px;letter-spacing:3px}.blackjack-result-ribbon span{font-size:10px}
.uno-table{position:relative}.uno-wild-announcement{position:absolute;z-index:8;left:50%;top:45%;transform:translate(-50%,-50%) rotate(-5deg);padding:15px 25px;background:linear-gradient(125deg,#db314e,#dfb337,#31996c,#287bcb);border:3px solid #fff7de;border-radius:14px;box-shadow:0 10px 30px #0009;font-size:clamp(20px,6cqh,44px);font-weight:900;white-space:nowrap;text-shadow:0 3px 4px #000;pointer-events:none;animation:gold-ribbon-in .25s ease-out}
@keyframes gold-ribbon-in{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
.game-stage .roulette-screen.roulette-with-board{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:14px;align-items:center;width:100%;min-height:0;padding:10px;box-sizing:border-box;position:relative;--wheel-size:min(31cqw,65cqh,300px)}
.roulette-betting-board{background:radial-gradient(ellipse,#236c50,#103d30);border:5px solid #72502e;box-shadow:inset 0 0 0 2px #d2b06f;border-radius:15px;padding:15px 10px;min-width:0;color:#fff5dc}.roulette-number-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));grid-template-rows:repeat(3,minmax(24px,1fr));gap:2px}.roulette-zero{grid-row:1/4;grid-column:1}.game-stage .roulette-bet-cell{min-width:0!important;width:100%;min-height:28px!important;padding:4px 0!important;border:1px solid #d7c79b;border-radius:2px!important;background:#195a41;color:#fff8df;font-size:clamp(9px,2cqh,15px);font-weight:800;position:relative;cursor:pointer}.game-stage .roulette-bet-cell.red{background:#ab3040}.game-stage .roulette-bet-cell.black{background:#111b23}.game-stage .roulette-bet-cell.green{background:#198652}.roulette-bet-cell[aria-pressed=true]:after{content:'';position:absolute;width:13px;height:13px;left:50%;bottom:-3px;transform:translateX(-50%);border:3px dashed #fff9d0;border-radius:50%;background:#dfb44c;box-shadow:0 1px 5px #000}.game-stage .roulette-bet-cell[aria-pressed=true]{outline:2px solid #ffd971;outline-offset:1px;z-index:1}.roulette-outside-bets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-top:5px}.roulette-bet-label{display:block;text-align:center;margin-top:10px;font-size:11px;color:#ffe4a5}.game-stage .roulette-with-board>.roulette-result{position:absolute;left:12px;bottom:4px}
@media(max-width:650px){.game-stage .poker-table .table-player-hands{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}.game-stage .poker-table .table-player-hands:has(.table-seat:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))!important}.game-stage .roulette-screen.roulette-with-board{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:5px;justify-items:center;--wheel-size:min(35cqh,125px);padding:2px}.roulette-betting-board{width:100%;box-sizing:border-box;padding:9px 6px;border-width:3px}.game-stage .roulette-bet-cell{min-height:24px!important;font-size:9px}.roulette-number-grid{grid-template-rows:repeat(3,24px)}.roulette-bet-label{margin-top:5px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.blackjack-result-ribbon,.uno-wild-announcement{animation:none}}
.game-stage .casino-table.poker-table{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important}

.game-stage .roulette-with-board .wheel-number{font-size:clamp(5px,calc(var(--wheel-size)*.026),10px)}
.game-stage .game-voice-button{width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border:1px solid #e5c27777;border-radius:50%;background:#24465a;color:#ffe2a0;cursor:pointer}.game-voice-button svg{width:100%;height:100%}.game-voice-button[aria-pressed=false]{opacity:.5}
.game-stage .poker-table .table-dealer{left:50%;right:auto;top:5px;transform:translateX(-50%);opacity:1;max-width:none;padding:3px 9px;background:#112f32;display:flex!important}.game-stage .poker-table .table-dealer:after{content:'';display:block;width:25px;height:31px;border:2px solid #ead8ae;border-radius:3px;background:repeating-linear-gradient(45deg,#234266,#234266 3px,#496184 3px,#496184 5px);box-shadow:3px 2px #d3c8b4,6px 4px #1c3047}
.game-stage .poker-table .table-player-hands{overflow:visible!important}.game-stage .poker-table .discard-card{overflow:visible!important}.game-stage .poker-table .game-card.card-dealt{position:relative;z-index:9;animation:deal-from-dealer .48s cubic-bezier(.2,.65,.3,1) both;animation-delay:var(--deal-delay,0ms)}
@keyframes deal-from-dealer{0%{opacity:0;transform:translate(var(--deal-x,0px),var(--deal-y,-90px)) scale(.48) rotate(-15deg)}15%{opacity:1}100%{opacity:1;transform:translate(0,0) scale(1) rotate(0)}}
@media(max-width:650px){.game-stage .poker-table .table-dealer{top:2px;padding:1px 4px}.game-stage .poker-table .table-dealer svg{width:24px;height:22px}.game-stage .poker-table .table-dealer:after{width:15px;height:20px}}
@media(prefers-reduced-motion:reduce){.game-stage .poker-table .game-card.card-dealt{animation:none!important}}
