/* Persistent physical surfaces. The board can redraw without moving controls. */
.ag-game.ag-kind-pachinko .ag-play-surface{--felt:#113c37;border-color:#263d3b;border-radius:36px}
.ag-kind-pachinko .ag-board{scroll-margin-top:75px}
.ag-pachinko-cabinet{max-width:600px;margin:auto;padding:18px;border:5px ridge #c9b17c;border-radius:35px;background:linear-gradient(140deg,#31554b,#081d25 65%,#23413a);box-shadow:0 18px 30px #0006,inset 0 0 0 3px #092c31;color:#f7e4b6;text-align:center}
.ag-pachinko-cabinet header small{font-size:9px;letter-spacing:3px}.ag-pachinko-cabinet h2{font:700 clamp(26px,4vw,37px) Georgia,serif;letter-spacing:6px;margin:10px 0;color:#ffe5a0;text-shadow:0 0 18px #f6da7d44}.ag-pachinko-cabinet header p{font-size:10px;letter-spacing:2px}
.ag-pachinko-board{display:block;width:min(100%,390px);height:auto;margin:12px auto;filter:drop-shadow(0 10px 15px #0008)}
.ag-pachinko-board [data-pachinko-gate].is-landed rect{stroke:#efffff;stroke-width:4;fill:#3c7569}
.ag-pachinko-readout{font-size:14px;font-weight:700;line-height:1.5;min-height:22px;color:#e2fff5}
.ag-pachinko-note{font-size:11px;line-height:1.6}.ag-pachinko-cabinet footer{font-size:9px;letter-spacing:2px;line-height:1.7;color:#c8c8b4}
.is-immersive .ag-kind-pachinko .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-pachinko-cabinet{padding:10px;border-width:3px;border-radius:22px}.ag-pachinko-cabinet header small{font-size:8px;letter-spacing:1px}.ag-pachinko-cabinet header p{font-size:8px;letter-spacing:1px}.ag-pachinko-readout{font-size:12px}}
.ag-game.ag-kind-video-bingo .ag-play-surface{--felt:#16233a;border-color:#26283b;border-radius:30px}
.ag-kind-video-bingo .ag-board{scroll-margin-top:75px}
.ag-video-cabinet{max-width:980px;margin:auto;padding:20px;background:linear-gradient(130deg,#293c52,#091321 70%);border:5px ridge #7e8ba6;border-radius:22px;box-shadow:inset 0 0 0 2px #68dbe766,0 0 25px #73e8e322;color:#e3faff;text-align:center}
.ag-video-cabinet header small{font-size:9px;letter-spacing:2px;color:#a8d3de}.ag-video-cabinet h2{font:700 clamp(24px,4vw,38px) Georgia,serif;letter-spacing:5px;color:#f9e5ae;text-shadow:0 0 18px #ffc55a55}.ag-video-cabinet header p{font-size:10px;letter-spacing:3px}
.ag-video-call{display:flex;justify-content:space-around;align-items:center;gap:12px;background:#020c18;border:1px solid #55c5d9;border-radius:12px;padding:12px;margin:18px 0}
.ag-video-call>span{font-size:10px;max-width:180px;line-height:1.6}.ag-video-call>strong{display:grid;place-items:center;border-radius:50%;width:55px;height:55px;flex-shrink:0;background:radial-gradient(circle at 30% 25%,#fffbe3,#b8d8db);color:#14273b;font:700 30px Georgia,serif;box-shadow:0 0 20px #72f5ff33}
.ag-video-screens{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ag-video-screen{padding:12px;background:#071322;border:2px solid #667e9b;border-radius:12px;min-width:0}
.ag-video-screen:nth-child(2){border-color:#9978b0}.ag-video-screen:nth-child(3){border-color:#91a86b}.ag-video-screen:nth-child(4){border-color:#b18c66}
.ag-video-screen h3{font-size:11px;letter-spacing:3px;margin:0 0 10px}.ag-video-screen p{font-size:11px;line-height:1.4;min-height:16px;margin:10px 0 0;color:#e2d3ab}
.ag-video-letters,.ag-video-cells{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.ag-video-letters{font:700 17px Georgia,serif;color:#a5ebf4;margin-bottom:7px}
.ag-video-cell{aspect-ratio:1.15;display:grid;place-items:center;background:#162d43;border:1px solid #3e586d;border-radius:5px;font-size:14px}
.ag-video-cell.is-marked{background:#80ced4;color:#0b2839;border-color:#b5faff}
.ag-video-cell.is-line{background:#f7d27e;color:#301c15;border-color:#fff1c4;box-shadow:0 0 12px #ffcc6044}
.ag-video-verdict{font-size:13px;font-weight:700;line-height:1.6}
.ag-video-calls{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;border-top:1px solid #71868f66;padding:12px 0}
.ag-video-calls>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #778ba4;border-radius:50%;font-size:10px;background:#0c1b2d}.ag-video-calls p{font-size:11px}
.ag-video-cabinet footer{font-size:9px;letter-spacing:1px;line-height:1.7;color:#b7c4ce}
.is-immersive .ag-kind-video-bingo .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:850px){.ag-video-screens{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ag-video-cabinet{padding:9px;border-width:3px}.ag-video-screens{gap:8px}.ag-video-screen{padding:6px;border-width:1px}.ag-video-cell{font-size:12px;aspect-ratio:.9}.ag-video-letters,.ag-video-cells{gap:3px}.ag-video-letters{font-size:12px}.ag-video-screen h3{font-size:9px;letter-spacing:1px}.ag-video-screen p{font-size:9px;min-height:25px}.ag-video-call{padding:8px;gap:7px}.ag-video-call>span{font-size:8px}.ag-video-call>strong{width:40px;height:40px;font-size:24px}.ag-video-cabinet h2{letter-spacing:3px}}
.ag-game.ag-kind-90-ball-bingo .ag-play-surface{--felt:#4b2635;border-color:#302124}
.ag-kind-90-ball-bingo .ag-board{scroll-margin-top:75px}
.ag-ninety-hall{max-width:850px;margin:auto;text-align:center;color:#f2dfb1}
.ag-ninety-hall header small{font-size:10px;letter-spacing:3px;color:#e6d19c}
.ag-ninety-hall h2{font:700 clamp(20px,3vw,30px) Georgia,serif;letter-spacing:2px}
.ag-ninety-hall header p,.ag-ninety-status{font-size:13px;line-height:1.6}
.ag-ninety-caller{display:flex;flex-direction:column;justify-content:center;align-items:center;width:135px;height:135px;margin:22px auto;border:6px solid #d9bc80;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff7d4,#ceb787 75%,#756042);box-shadow:0 15px 25px #0005,inset -7px -10px 15px #8b6e5155;color:#39202b}
.ag-ninety-caller>span{font-size:10px;letter-spacing:2px}.ag-ninety-caller>strong{font:700 48px Georgia,serif}.ag-ninety-caller>small{font-size:9px}
.ag-ninety-ticket{padding:16px;border:3px ridge #d9b876;border-radius:14px;background:#251723;box-shadow:0 15px 25px #0005}
.ag-ninety-ranges,.ag-ninety-row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}
.ag-ninety-ranges{font-size:10px;color:#dcc293;padding-bottom:9px}
.ag-ninety-row+.ag-ninety-row{margin-top:7px}
.ag-ninety-cell{aspect-ratio:1.15;border-radius:6px;position:relative;display:flex;align-items:center;justify-content:center;background:#f7ecd3;color:#2c2030;box-shadow:inset 0 -3px 0 #c2b296;font-size:clamp(15px,2.6vw,27px)}
.ag-ninety-cell.is-blank{background:repeating-linear-gradient(45deg,#452536 0 4px,#3c2130 4px 8px);box-shadow:inset 0 0 0 1px #94764e33;color:#91734f55;font-size:13px}
.ag-ninety-cell.is-marked{background:#efb6cb;box-shadow:inset 0 0 0 3px #bd7291}
.ag-ninety-cell small{position:absolute;bottom:2px;font-size:8px}
.ag-ninety-row.is-complete .ag-ninety-cell:not(.is-blank){background:#ffe09a;box-shadow:inset 0 0 0 3px #c49143,0 0 12px #ffd56c44}
.ag-ninety-row-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}
.ag-ninety-row-results>span{display:grid;gap:8px;font-size:10px;letter-spacing:1px;border-bottom:1px solid #c1a16866;padding-bottom:12px}
.ag-ninety-row-results b{font-size:11px;letter-spacing:0}.ag-ninety-status{font-weight:700;min-height:25px}
.ag-ninety-calls{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:16px 0;border-block:1px solid #d1c18a55;min-height:50px}
.ag-ninety-calls>span{width:28px;height:28px;display:grid;place-items:center;background:#261a2a;border:1px solid #a58396;border-radius:50%;font-size:11px}.ag-ninety-calls p{font-size:12px}
.ag-ninety-hall footer{font-size:10px;letter-spacing:1px;line-height:1.8;margin-top:15px}
.is-immersive .ag-kind-90-ball-bingo .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-ninety-ticket{padding:8px;border-width:2px}.ag-ninety-ranges,.ag-ninety-row{gap:3px}.ag-ninety-ranges{font-size:7px}.ag-ninety-cell{aspect-ratio:.85;font-size:15px;border-radius:4px}.ag-ninety-row+.ag-ninety-row{margin-top:5px}.ag-ninety-cell small{font-size:6px}.ag-ninety-row-results b{font-size:9px}.ag-ninety-caller{width:105px;height:105px;margin:16px auto}.ag-ninety-caller>strong{font-size:37px}}
.ag-game.ag-kind-75-ball-bingo .ag-play-surface{--felt:#143c55;border-color:#252439}
.ag-kind-75-ball-bingo .ag-board{scroll-margin-top:75px}
.ag-bingo-hall{max-width:800px;margin:auto;color:#f4e0b3;text-align:center}
.ag-bingo-hall header small{font-size:10px;letter-spacing:3px}
.ag-bingo-hall h2{font:700 clamp(19px,3vw,28px) Georgia,serif;letter-spacing:2px}
.ag-bingo-hall header p,.ag-bingo-status{font-size:13px;line-height:1.6}
.ag-bingo-dais{display:grid;grid-template-columns:180px minmax(0,360px);gap:35px;justify-content:center;align-items:center;margin:28px auto}
.ag-bingo-caller{width:170px;height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;color:#37223a;border:8px solid #d7b275;background:radial-gradient(circle at 35% 25%,#fff8db,#d4bf93 75%,#8a704c);box-shadow:0 20px 20px #0006,inset -10px -15px 15px #8c765a66}
.ag-bingo-caller>span{font-size:18px;font-weight:700}.ag-bingo-caller>strong{font:700 58px Georgia,serif}.ag-bingo-caller>small{font-size:10px;letter-spacing:1px}
.ag-bingo-card{padding:12px;background:#172c40;border:3px ridge #d6b775;border-radius:15px;box-shadow:0 15px 20px #0006;transform:rotate(1deg)}
.ag-bingo-letters,.ag-bingo-cells{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.ag-bingo-letters{padding-bottom:10px;font:700 23px Georgia,serif;color:#ffe3a4}
.ag-bingo-cell{position:relative;aspect-ratio:1;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#f4ebd2;color:#1b2b3c;box-shadow:inset 0 -3px 0 #b6a990;font-size:20px}
.ag-bingo-cell small{position:absolute;bottom:2px;font-size:8px}.ag-bingo-cell.is-marked{background:#9adee3;box-shadow:inset 0 0 0 3px #4eafb7}
.ag-bingo-cell.is-line{background:#ffdc82;box-shadow:inset 0 0 0 3px #af791c,0 0 14px #ffdb6e55}
.ag-bingo-status{min-height:25px;font-weight:700}
.ag-bingo-calls{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:16px 0;border-block:1px solid #d1c18a55;min-height:50px}
.ag-bingo-calls>span{background:#0d2136;border:1px solid #6d9bad;border-radius:16px;padding:6px 9px;font-size:11px;min-width:42px}
.ag-bingo-calls>p{font-size:12px}.ag-bingo-hall footer{font-size:10px;letter-spacing:2px;line-height:2;margin-top:16px}
.is-immersive .ag-kind-75-ball-bingo .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-bingo-dais{grid-template-columns:minmax(0,320px);gap:18px;margin:16px auto}.ag-bingo-caller{width:100px;height:100px;margin:auto;border-width:5px}.ag-bingo-caller>strong{font-size:34px}.ag-bingo-caller>span{font-size:12px}.ag-bingo-caller>small{font-size:8px}.ag-bingo-card{padding:9px;transform:none}.ag-bingo-cell{font-size:18px}.ag-bingo-letters,.ag-bingo-cells{gap:5px}}
.ag-game.ag-kind-double-ball-roulette .ag-play-surface { --felt:#3d204c; }
.ag-kind-double-ball-roulette .ag-board { scroll-margin-top:75px; }
.ag-eclipse-table { max-width:760px;margin:auto;text-align:center;color:#f8e2b4; }
.ag-eclipse-table header>span { font-size:10px;letter-spacing:4px; }
.ag-eclipse-table h2 { font:700 clamp(19px,3vw,30px) Georgia,serif;letter-spacing:2px; }
.ag-eclipse-table header p,.ag-eclipse-summary { font-size:13px;line-height:1.6; }
.ag-eclipse-table .ag-roulette-title { display:none; }
.ag-eclipse-table .ag-roulette-scene { width:100%;max-width:560px;margin:auto;min-width:0; }
.ag-eclipse-table .ag-number-result { font-size:19px;min-width:0; }
.ag-eclipse-results { display:grid;grid-template-columns:1fr 1fr;gap:12px;border-block:1px solid #cda86666;padding:12px 0; }
.ag-eclipse-results p { display:grid;gap:9px;font-size:12px;letter-spacing:1px;margin:0; }
.ag-eclipse-results p:last-child { color:#ffd068; }
.ag-eclipse-results strong { font-size:12px;letter-spacing:0; }
.ag-eclipse-second { pointer-events:none; }
.is-immersive .ag-kind-double-ball-roulette .ag-controls .ag-game-options { grid-column:1/-1;grid-row:1; }
@media(max-width:600px){.ag-kind-double-ball-roulette .ag-play-surface{border-width:3px;border-radius:32px 32px 18px 18px}.ag-eclipse-results{gap:7px}.ag-eclipse-results strong{font-size:11px}}
.ag-game.ag-kind-multi-wheel-roulette .ag-play-surface { --felt:#1c3048; }
.ag-dual-table { max-width:1000px;margin:auto;text-align:center;color:#f1d79e; }
.ag-dual-table>header>span { font-size:10px;letter-spacing:4px; }
.ag-dual-table h2 { font:700 clamp(20px,3vw,30px) Georgia,serif;letter-spacing:2px; }
.ag-dual-table header p,.ag-dual-return { font-size:12px; }
.ag-dual-wheels { display:grid;grid-template-columns:1fr 1fr;gap:25px; }
.ag-dual-wheels section { min-width:0; }
.ag-dual-wheels h3 { font-size:12px;letter-spacing:4px; }
.ag-dual-wheels .ag-roulette-title,.ag-dual-wheels .ag-roulette-replay { display:none; }
.ag-dual-wheels .ag-roulette-scene { width:100%;min-width:0;max-width:100%;padding:0; }
.ag-dual-wheels .ag-roulette-perspective { width:100%;max-width:100%;margin:auto; }
.ag-dual-wheels .ag-number-result { font-size:17px;min-width:0;width:100%;box-sizing:border-box; }
.ag-dual-summary { margin:20px auto;padding:15px;border-block:1px solid #c4a66c55;font-size:13px;line-height:1.6; }
.ag-dual-picks { display:grid;grid-template-columns:repeat(6,1fr);gap:8px;border:0;padding:0; }
.ag-dual-picks legend { font-size:10px;letter-spacing:2px;margin-bottom:12px; }
.ag-dual-picks label { position:relative;cursor:pointer; }
.ag-dual-picks input { position:absolute;opacity:0; }
.ag-dual-picks span { display:block;padding:15px 8px;border:1px solid #c4a66c77;border-radius:12px;text-align:center;font-size:12px; }
.ag-dual-picks input:checked+span { background:#e5cc8b;color:#18273b;box-shadow:0 0 18px #e5cc8b44; }
.ag-dual-picks input:focus-visible+span { outline:3px solid #fff;outline-offset:3px; }
.is-immersive .ag-kind-multi-wheel-roulette .ag-controls .ag-game-options { grid-column:1/-1;grid-row:1; }
@media(max-width:600px){.ag-dual-wheels{gap:8px}.ag-dual-wheels .ag-number-result{font-size:12px}.ag-dual-return{font-size:10px;line-height:1.5}.ag-dual-picks{grid-template-columns:repeat(3,1fr)}.ag-dual-table h2{font-size:19px;letter-spacing:1px}}
.ag-game.ag-kind-classic-reel-slots .ag-play-surface { --felt:#341f27;border-color:#37231a; }
.ag-classic-cabinet { max-width:700px;margin:auto;padding:24px;border:8px solid #ac844b;border-radius:30px;background:linear-gradient(110deg,#25121a,#63333a,#28151e);box-shadow:inset 0 0 0 3px #f3d58d,0 22px 45px #0009;text-align:center;color:#f8dfaa; }
.ag-classic-cabinet header { border:1px solid #d5aa6255;border-radius:15px;padding:16px;background:#180e18;box-shadow:0 0 20px #e5bb4322; }
.ag-classic-cabinet h2 { font:700 clamp(20px,3vw,31px) Georgia,serif;letter-spacing:2px;margin:10px 0; }
.ag-classic-cabinet header small,.ag-classic-cabinet header p { font-size:9px;letter-spacing:3px; }
.ag-classic-window { display:flex;align-items:center;gap:10px;padding:20px 8px;margin:22px 0 14px;background:#100d15;border:3px solid #b08a52;border-radius:18px; }
.ag-classic-pointer { font-size:13px;color:#f7d685; }
.ag-classic-reel { flex:1;min-width:0;height:150px;display:flex;flex-direction:column;justify-content:center;border:2px solid #eed49a;border-radius:12px;background:linear-gradient(#b6a890,#fff7df 25%,#fff7df 75%,#b6a890);color:#52202b;overflow:hidden; }
.ag-classic-reel>span { font:700 clamp(30px,5vw,64px) Georgia,serif; }
.ag-classic-reel small { font-size:9px;letter-spacing:1px; }
.ag-classic-reel .symbol-seven,.ag-classic-reel .symbol-cherry { color:#ba2940; }
.ag-classic-reel .symbol-diamond { color:#197399; }
.ag-classic-reel.is-spinning>span { animation:classic-roll .18s linear infinite;filter:blur(2px); }
.ag-classic-reel.is-match { box-shadow:0 0 18px #f8de8a;outline:2px solid #fff1b5; }
.ag-classic-status { min-height:25px;font:700 17px Georgia,serif; }
.ag-classic-paytable { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px; }
.ag-classic-paytable>div { padding:12px 4px;background:#1a1119;border:1px solid #d5aa6244;border-radius:7px; }
.ag-classic-paytable b,.ag-classic-paytable strong { display:block;font-size:21px; }
.ag-classic-paytable span { display:block;font-size:8px;margin:8px 0; }
.ag-classic-note { font-size:11px;line-height:1.7;margin:18px 0; }
.ag-classic-cabinet footer { font-size:8px;letter-spacing:2px; }
.is-immersive .ag-kind-classic-reel-slots .ag-controls .ag-game-options { grid-column:1/-1;grid-row:1; }
@keyframes classic-roll { from{transform:translateY(-50px)}to{transform:translateY(50px)} }
@media(prefers-reduced-motion:reduce){.ag-classic-reel.is-spinning>span{animation:none;filter:none}}
@media(max-width:600px){.ag-classic-cabinet{padding:12px;border-width:5px}.ag-classic-window{gap:6px;padding:14px 4px}.ag-classic-reel{height:110px}.ag-classic-reel small{font-size:7px}.ag-classic-pointer{font-size:9px}.ag-classic-paytable{gap:4px}.ag-classic-paytable span{font-size:6px}.ag-classic-cabinet h2{font-size:20px;letter-spacing:1px}}
.ag-game.ag-kind-scratch-cards .ag-play-surface { --felt:#153b34; border-color:#3d2b17; }
.ag-scratch-ticket { max-width:550px; margin:auto; padding:25px; color:#f9e6b9; text-align:center; border:2px solid #d9b970; border-radius:18px; background:repeating-linear-gradient(45deg,#e5c47a04 0 2px,transparent 2px 8px),linear-gradient(#184f43,#092c29); box-shadow:0 20px 45px #0009,inset 0 0 0 5px #d9b97022; }
.ag-scratch-ticket header>span { font-size:9px;letter-spacing:3px; }
.ag-scratch-ticket h2 { font:700 clamp(21px,3vw,31px) Georgia,serif;letter-spacing:2px;margin:12px 0; }
.ag-scratch-ticket header p { font-size:10px;letter-spacing:3px;margin:0 0 24px; }
.ag-scratch-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.ag-scratch-panel { min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:repeating-linear-gradient(135deg,#ffffff12 0 1px,transparent 1px 5px),linear-gradient(120deg,#f4d996,#b38a41,#e3c27b);color:#244332;border:1px solid #f7dfa0;overflow:hidden; }
.ag-scratch-panel>span { font:28px Georgia,serif; }
.ag-scratch-panel small { font-size:8px;letter-spacing:1px;margin-top:6px; }
.ag-scratch-panel strong { font:700 30px Georgia,serif; }
.ag-scratch-panel.is-revealed { background:#efe3c4;animation:ticket-reveal .3s ease-out; }
.ag-scratch-panel.is-revealed>span { font-size:14px; }
.ag-scratch-panel.is-match { outline:3px solid #a8f9c2;outline-offset:2px;background:#d5f0cf; }
.ag-scratch-verdict { font:700 18px Georgia,serif;margin:24px 0 10px; }
.ag-scratch-explain,.ag-scratch-odds { font-size:12px;line-height:1.6; }
.ag-scratch-odds summary { padding:10px;cursor:pointer;text-decoration:underline; }
.ag-scratch-odds>div { display:flex;justify-content:space-between;border-bottom:1px solid #fff2;padding:5px; }
.ag-scratch-ticket footer { border-top:1px dashed #d9b97088;margin-top:15px;padding-top:15px;font-size:8px;letter-spacing:2px; }
.is-immersive .ag-kind-scratch-cards .ag-controls .ag-game-options { grid-column:1/-1;grid-row:1; }
@keyframes ticket-reveal { from{opacity:.4;transform:rotateY(60deg)}to{opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce){.ag-scratch-panel.is-revealed{animation:none}}
@media(max-width:600px){.ag-scratch-ticket{padding:16px 12px}.ag-scratch-grid{gap:9px}.ag-scratch-panel{min-height:86px}.ag-scratch-panel strong{font-size:25px}.ag-scratch-panel small{font-size:7px;letter-spacing:0}.ag-scratch-ticket h2{font-size:21px;letter-spacing:1px}}
.ag-game.ag-kind-deuces-wild .ag-play-surface { --felt:#102c33; border-color:#27373e; border-radius:35px; }
.ag-deuces-cabinet { margin:auto; max-width:850px; padding:20px; border:2px solid #82e4d0; border-radius:24px; background:linear-gradient(120deg,#182b35,#060c17); box-shadow:0 0 30px #29ffcf20,inset 0 0 0 6px #283d46; }
.ag-deuces-cabinet>header { text-align:center; color:#b4ffe6; padding:8px 0 22px; }
.ag-deuces-cabinet>header span { display:block; font-size:38px; }
.ag-deuces-cabinet>header strong { display:block; font-size:clamp(18px,3vw,30px); letter-spacing:5px; }
.ag-deuces-cabinet>header small { display:block; letter-spacing:3px; margin-top:10px; font-size:10px; }
.ag-deuces-screen { border:1px solid #93ead844; border-radius:14px; background:radial-gradient(ellipse at center,#235061,#071620); padding:16px; }
.ag-deuces-screen .ag-poker-emblem { color:#9cffdf; }
.ag-deuces-screen .ag-poker-emblem>span { font-size:25px; }
.ag-deuces-screen .ag-poker-instruction strong { display:block; font-size:13px; letter-spacing:1px; line-height:1.5; }
.ag-deuces-screen .ag-poker-instruction>span { display:block; font-size:11px; letter-spacing:0; line-height:1.6; margin-top:6px; }
.ag-deuces-screen .ag-card.is-held { outline:3px solid #89ffdb; box-shadow:0 0 20px #89ffdb55; }
.ag-wild-badge { position:absolute; top:45%; left:8%; right:8%; padding:3px; background:#073d37; color:#a7ffe0; border:1px solid #8effd3; border-radius:5px; font:700 9px sans-serif; letter-spacing:1px; }
.ag-deuces-screen .ag-card.is-wild { background:linear-gradient(140deg,#f9ffe8,#bcf1da); }
.ag-deuces-pays { margin:18px auto 0; max-width:560px; color:#d4f4ec; font-size:12px; }
.ag-deuces-pays summary { padding:10px; cursor:pointer; text-align:center; }
.ag-deuces-pays>div { display:flex; justify-content:space-between; padding:6px 14px; border-bottom:1px solid #b5e9df18; }
.ag-deuces-pays .is-current { background:#98ffda; color:#09261e; font-weight:bold; }
.ag-deuces-footer { font-size:9px; letter-spacing:2px; text-align:center; color:#a5c3bf; margin:20px 0 5px; }
.is-immersive .ag-kind-deuces-wild .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
@media(max-width:600px){
 .ag-deuces-cabinet { padding:10px; border-radius:18px; }
 .ag-deuces-screen { padding:12px 3px; }
 .ag-deuces-screen .ag-card { width:47px; height:78px; }
 .ag-deuces-screen .ag-card-hand { gap:6px; }
 .ag-deuces-screen .ag-poker-emblem>span { font-size:20px; }
 .ag-deuces-screen .ag-poker-steps { gap:4px; font-size:9px; }
}
.ag-game.ag-kind-four-card-poker .ag-play-surface { --felt:#482456; border-color:#5a3923; }
.ag-four-table { max-width:850px; margin:auto; text-align:center; color:#f5dfaf; }
.ag-four-table h3 { font-size:10px; letter-spacing:3px; margin:12px; }
.ag-four-table p,.ag-four-table details { font-size:12px; line-height:1.6; }
.ag-four-fan { display:flex; justify-content:center; padding:10px; }
.ag-four-card { display:block; margin:0 6px; transform:rotate(-3deg); }
.ag-four-card:nth-child(even) { transform:rotate(3deg); }
.ag-four-card .ag-card { width:70px; height:98px; box-shadow:0 7px 16px #0009; }
.ag-four-card.is-best .ag-card { outline:3px solid #f8d180; outline-offset:3px; }
.ag-four-card .ag-card:not(.ag-card-back) { animation:four-deal .35s ease-out; }
.ag-four-crest { padding:12px; border-block:1px solid #e6c58044; margin:15px auto; }
.ag-four-crest>span { font:24px Georgia,serif; }
.ag-four-crest h2 { font:700 clamp(20px,3vw,32px) Georgia,serif; letter-spacing:3px; margin:10px; }
.ag-four-crest small { font-size:9px; letter-spacing:2px; }
.ag-four-chips { display:flex; gap:25px; justify-content:center; margin:20px; }
.ag-four-chips>span { border:1px dashed #f1d08a; border-radius:50%; padding:14px 22px; font-size:10px; }
.ag-four-chips b { display:block; margin-top:6px; }
.ag-four-table details { max-width:400px; margin:auto; }
.ag-four-table summary { cursor:pointer; text-decoration:underline; padding:10px; }
.is-immersive .ag-kind-four-card-poker .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
.is-immersive .ag-kind-four-card-poker .ag-controls .ag-action-row { grid-column:2/-1; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ag-game.ag-kind-four-card-poker .ag-action-row button { display:block; padding:14px; text-align:center; font-size:12px; }
.ag-game.ag-kind-four-card-poker .ag-action-row .ag-play small { display:block; color:#163300; }
@keyframes four-deal { from { opacity:0; transform:translate(30px,-30px) rotateY(60deg); } to {opacity:1;transform:none;} }
@media(prefers-reduced-motion:reduce){.ag-four-card .ag-card:not(.ag-card-back){animation:none}}
@media(max-width:600px){
  .ag-four-card { margin:0 -4px; }
  .ag-four-card .ag-card { width:51px; height:75px; }
  .ag-four-fan { padding:8px 0; }
  .ag-four-chips { gap:12px; margin:15px 0; }
  .ag-four-chips>span { padding:10px 18px; }
  .is-immersive .ag-kind-four-card-poker .ag-controls .ag-action-row { grid-column:1/-1; }
}
.ag-game.ag-kind-mississippi-stud .ag-play-surface { --felt:#233e51; border-color:#362517; }
.ag-miss-table { max-width:850px; margin:auto; text-align:center; color:#f7dfae; }
.ag-miss-emblem { border-bottom:1px solid #dfbd7355; padding:12px; }
.ag-miss-emblem>span { font-size:26px; color:#d5ad6a; }
.ag-miss-emblem small,.ag-miss-emblem strong { display:block; }
.ag-miss-emblem small { font-size:9px; letter-spacing:4px; margin:5px; }
.ag-miss-emblem strong { font:700 clamp(19px,3vw,29px) Georgia,serif; letter-spacing:3px; }
.ag-miss-streets { display:flex; justify-content:center; gap:22px; margin:20px auto 10px; }
.ag-miss-streets>div { padding:8px; border-bottom:2px solid #bc9a5955; }
.ag-miss-streets .is-next { border-color:#ffe3a5; background:linear-gradient(transparent,#f5c36918); }
.ag-miss-table h3 { font-size:10px; letter-spacing:2px; margin:4px 0 12px; }
.ag-miss-streets small { display:block; font-size:10px; margin-top:10px; }
.ag-miss-table .ag-card { width:74px; height:104px; box-shadow:0 7px 15px #0008; }
.ag-miss-table .ag-card:not(.ag-card-back) { animation:miss-reveal .4s ease-out; }
@keyframes miss-reveal { from{opacity:.2;transform:translateY(-15px) rotateY(60deg)} to{opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce){.ag-miss-table .ag-card:not(.ag-card-back){animation:none}}
.ag-miss-player { border-top:1px solid #dfbd7333; padding-top:16px; margin-top:14px; }
.ag-miss-player>div { display:flex; justify-content:center; gap:14px; }
.ag-miss-guide,.ag-miss-help { font-size:11px; color:#d6e0df; }
.ag-miss-commitment { display:flex; justify-content:center; gap:20px; margin:20px 0 12px; }
.ag-miss-commitment>span { padding:10px 16px; border:1px dashed #cfb07c; border-radius:50%; font-size:9px; }
.ag-miss-commitment b { display:block; margin-top:5px; font-size:12px; }
.ag-miss-verdict { font:700 16px Georgia,serif; }
.ag-miss-paytable { max-width:340px; margin:10px auto; font-size:11px; }
.ag-miss-paytable summary { cursor:pointer; padding:8px; text-decoration:underline; }
.ag-miss-paytable>div { display:flex; justify-content:space-between; padding:4px 8px; border-bottom:1px solid #fff2; }
.is-immersive .ag-kind-mississippi-stud .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
.is-immersive .ag-kind-mississippi-stud .ag-controls .ag-action-row { grid-column:2/-1; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ag-game.ag-kind-mississippi-stud .ag-action-row button { display:block; padding:12px; font-size:12px; text-align:center; }
.ag-game.ag-kind-mississippi-stud .ag-action-row small { display:block; color:#253323; margin-top:4px; }
.ag-miss-fold { border:1px solid #d9ba87; background:#203744; border-radius:10px; color:#ffe6b8; cursor:pointer; }
.ag-kind-mississippi-stud .ag-board { scroll-margin-top:80px; }
@media(max-width:600px){
 .ag-miss-streets { gap:5px; }
 .ag-miss-streets>div { padding:5px; }
 .ag-miss-table .ag-card { width:60px; height:86px; }
 .ag-miss-table h3 { letter-spacing:1px; font-size:9px; }
 .is-immersive .ag-kind-mississippi-stud .ag-controls .ag-action-row { grid-column:1/-1; }
}
.ag-game.ag-kind-let-it-ride .ag-play-surface { --felt:#4c3532; border-color:#29170f; }
.ag-ride-table { max-width:820px; margin:auto; text-align:center; color:#ffe4af; }
.ag-ride-table h3 { font-size:11px; letter-spacing:3px; margin:10px 0; }
.ag-ride-table p { font-size:11px; color:#e9d6be; }
.ag-ride-cards { display:flex; justify-content:center; gap:12px; padding:8px 0; }
.ag-ride-cards .ag-card { width:80px; height:110px; box-shadow:0 8px 15px #0008; }
.ag-ride-cards .ag-card:not(.ag-card-back) { animation:ride-card-reveal .4s ease-out both; }
@keyframes ride-card-reveal { from { opacity:.3; transform:translateY(-12px) rotateY(65deg); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .ag-ride-cards .ag-card:not(.ag-card-back) { animation:none; } }
.ag-ride-community .ag-ride-cards { gap:28px; }
.ag-ride-emblem { position:relative; padding:10px 0; margin:10px auto; border-block:1px solid #d5ac6855; }
.ag-ride-emblem>span { position:absolute; left:12%; top:2px; font-size:80px; line-height:1; color:#d9b57322; }
.ag-ride-emblem small,.ag-ride-emblem strong { display:block; }
.ag-ride-emblem small { font-size:9px; letter-spacing:5px; }
.ag-ride-emblem strong { font:700 30px Georgia,serif; letter-spacing:5px; margin-top:6px; }
.ag-ride-emblem p { letter-spacing:2px; font-size:9px; }
.ag-ride-portions { display:flex; justify-content:center; gap:22px; margin:22px 0 14px; }
.ag-ride-portions>div { display:grid; gap:5px; min-width:100px; padding:12px; border:2px dashed #d1aa75; border-radius:50%; }
.ag-ride-portions span { font-size:14px; font-weight:800; }
.ag-ride-portions b { font-size:12px; }
.ag-ride-portions small { font-size:10px; }
.ag-ride-portions .is-current { background:#f0bc4b18; box-shadow:0 0 20px #f3bd4b33; border-color:#ffe2a0; }
.ag-ride-portions .is-protected { background:#134e44; border-style:solid; border-color:#80c8a8; }
.ag-ride-table .ag-ride-verdict { font:700 16px Georgia,serif; color:#ffe4af; }
.ag-ride-help { color:#eedfc9; font-size:11px; }
.ag-ride-paytable { max-width:340px; margin:10px auto; font-size:11px; }
.ag-ride-paytable summary { padding:8px; text-decoration:underline; cursor:pointer; }
.ag-ride-paytable>div { display:flex; justify-content:space-between; padding:4px 8px; border-bottom:1px solid #fff2; }
.is-immersive .ag-kind-let-it-ride .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
.is-immersive .ag-kind-let-it-ride .ag-controls .ag-action-row { grid-column:2/-1; display:flex; gap:10px; }
.ag-game.ag-kind-let-it-ride .ag-action-row button { display:block; flex:1; padding:12px; font-size:12px; text-align:center; }
.ag-game.ag-kind-let-it-ride .ag-action-row small { display:block; margin-top:4px; color:#263021; }
.ag-ride-protect { background:#174e44; border:1px solid #9ad6bc; color:#e5fff4; border-radius:10px; cursor:pointer; }
.ag-kind-let-it-ride .ag-board { scroll-margin-top:80px; }
@media(max-width:600px) {
 .ag-ride-cards .ag-card { width:64px; height:90px; }
 .ag-ride-emblem>span { display:none; }
 .ag-ride-portions { gap:6px; }
 .ag-ride-portions>div { min-width:0; flex:1; padding:10px 5px; }
 .ag-ride-portions small { font-size:9px; }
 .is-immersive .ag-kind-let-it-ride .ag-controls .ag-action-row { grid-column:1/-1; }
}
.ag-game.ag-kind-caribbean-stud .ag-play-surface { --felt:#13544e; border-color:#3a201b; background-image:radial-gradient(ellipse at 50% 20%,#e6c88b1f,transparent 65%),repeating-linear-gradient(45deg,#ffffff03 0 1px,transparent 1px 5px); }
.ag-stud-table { max-width:860px; margin:auto; text-align:center; color:#ffe1b7; }
.ag-stud-seat h3 { margin:8px 0; font-size:11px; letter-spacing:3px; }
.ag-stud-seat p { margin:8px 0; font-size:11px; color:#cce4d9; }
.ag-stud-fan { display:flex; justify-content:center; gap:10px; padding:10px 0; }
.ag-stud-fan .ag-card { width:76px; height:108px; box-shadow:0 8px 16px #0008; }
.ag-stud-mid { position:relative; padding:20px 0; margin:8px auto; border-block:1px solid #e0bc7755; }
.ag-stud-compass { position:absolute; left:5%; top:5px; font:100px/1 Georgia,serif; color:#f7c77f22; }
.ag-stud-seal small,.ag-stud-seal strong,.ag-stud-seal span { display:block; }
.ag-stud-seal small { letter-spacing:5px; font-size:9px; }
.ag-stud-seal strong { font:700 clamp(19px,3vw,29px) Georgia,serif; letter-spacing:3px; margin:8px 0; }
.ag-stud-seal span { letter-spacing:4px; font-size:10px; color:#ace0d3; }
.ag-stud-paytable { margin:12px auto 0; max-width:350px; color:#fbe6bf; font-size:11px; }
.ag-stud-paytable summary { cursor:pointer; text-decoration:underline; padding:8px; }
.ag-stud-paytable p { font-size:10px; }
.ag-stud-paytable>div { display:flex; justify-content:space-between; padding:4px 10px; border-bottom:1px solid #fff2; }
.ag-stud-chips { display:flex; justify-content:center; gap:24px; margin-top:14px; }
.ag-stud-chips>span { border:1px dashed #e3bf82; border-radius:50%; padding:12px 20px; font-size:10px; }
.ag-stud-chips b { display:block; margin-top:5px; }
.ag-stud-verdict { font:700 16px Georgia,serif; margin:16px 0 6px; }
.ag-stud-returns,.ag-stud-help { color:#daebdf; font-size:11px; }
.is-immersive .ag-kind-caribbean-stud .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
.is-immersive .ag-kind-caribbean-stud .ag-controls .ag-action-row { display:flex; gap:10px; grid-column:2/-1; }
.ag-game.ag-kind-caribbean-stud .ag-action-row button { flex:1; display:block; padding:12px; text-align:center; font-size:12px; }
.ag-game.ag-kind-caribbean-stud .ag-action-row small { display:block; color:#182a24; margin-top:4px; }
.ag-stud-fold { background:#153c36; border:1px solid #cbb492; border-radius:10px; color:#ffe9c8; cursor:pointer; }
.ag-kind-caribbean-stud .ag-board { scroll-margin-top:80px; }
@media(max-width:600px) {
 .ag-stud-fan { gap:5px; }
 .ag-stud-fan .ag-card { width:48px; height:76px; }
 .ag-stud-fan .ag-card span { font-size:14px; }
 .ag-stud-compass { display:none; }
 .ag-stud-chips { gap:12px; }
 .ag-stud-chips>span { padding:10px 12px; }
 .is-immersive .ag-kind-caribbean-stud .ag-controls .ag-action-row { grid-column:1/-1; }
}
.ag-game.ag-kind-high-card-flush .ag-play-surface { --felt:#123d59; border-color:#151b2e; }
.ag-flush-table { max-width:820px; margin:auto; text-align:center; color:#f4e3b9; }
.ag-flush-seat h3 { margin:8px 0; font-size:12px; letter-spacing:4px; }
.ag-flush-seat p,.ag-flush-seat>span { font-size:11px; color:#c9dfea; }
.ag-flush-fan { display:flex; justify-content:center; padding:12px 0 16px; }
.ag-flush-card { display:block; margin-left:-13px; transition:transform .3s; }
.ag-flush-card:first-child { margin-left:0; }
.ag-flush-card .ag-card { width:76px; height:108px; box-shadow:0 6px 12px #0008; }
.ag-flush-card.is-flush { transform:translateY(-7px); }
.ag-flush-card.is-flush .ag-card { outline:2px solid #8ce9ff; box-shadow:0 0 14px #69cfff66; }
.ag-flush-crest { padding:14px; border-block:1px solid #d0b67b44; margin:12px auto; max-width:420px; }
.ag-flush-crest span,.ag-flush-crest strong,.ag-flush-crest small { display:block; }
.ag-flush-crest span { color:#82cfed; font-size:20px; letter-spacing:18px; }
.ag-flush-crest strong { font:700 clamp(18px,3vw,28px) Georgia,serif; letter-spacing:3px; margin:6px; }
.ag-flush-crest small { font-size:9px; letter-spacing:5px; }
.ag-flush-chips { display:flex; justify-content:center; gap:30px; margin-top:16px; }
.ag-flush-chips span { border:1px dashed #d4b980; border-radius:50%; padding:12px 20px; font-size:10px; }
.ag-flush-chips b { display:block; margin-top:5px; }
.ag-flush-verdict { font:700 16px Georgia,serif; }
.ag-flush-help { font-size:12px; color:#d4e5ee; margin:0; }
.is-immersive .ag-kind-high-card-flush .ag-controls .ag-game-options { grid-column:1/-1; grid-row:1; }
.is-immersive .ag-kind-high-card-flush .ag-controls .ag-action-row { display:flex; flex-wrap:wrap; gap:8px; grid-column:2/-1; }
.ag-kind-high-card-flush .ag-action-row button { flex:1; min-width:130px; padding:12px; font-size:12px; }
.ag-game.ag-kind-high-card-flush .ag-action-row .ag-play { display:block; text-align:center; }
.ag-game.ag-kind-high-card-flush .ag-action-row small { display:block; color:#182536; margin-top:4px; }
.ag-flush-fold { background:#12283d; color:#f3e6cc; border:1px solid #a7a99c; border-radius:10px; cursor:pointer; }
.ag-kind-high-card-flush .ag-board { scroll-margin-top:80px; }
@media(max-width:600px) {
 .ag-flush-card { margin-left:-18px; }
 .ag-flush-card .ag-card { width:49px; height:76px; }
 .ag-flush-card .ag-card span { font-size:14px; }
 .ag-flush-chips { gap:10px; }
 .ag-flush-chips span { padding:10px; }
 .is-immersive .ag-kind-high-card-flush .ag-controls .ag-action-row { grid-column:1/-1; }
}
.is-immersive .ag-game.ag-surface-layout { display: block; width: min(1100px, 100%); max-width: 1100px; margin: 0 auto; }
.is-immersive .ag-surface-layout .ag-heading { position: relative; inset: auto; margin: 0 0 14px; }
.is-immersive .ag-surface-layout .ag-stage { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.ag-surface-layout .ag-play-surface { --felt: #124c3d; position: relative; padding: 22px 30px 12px; border: 12px solid #281910; border-radius: 100px 100px 140px 140px / 60px 60px 100px 100px; background: radial-gradient(ellipse at 50% 20%, #ffffff12, transparent 65%), repeating-linear-gradient(35deg, #ffffff02 0 1px, transparent 1px 4px), var(--felt); box-shadow: inset 0 0 0 2px #caa563, inset 0 0 70px #0008, 0 15px 30px #0009, 0 0 0 2px #9a734a; }
.is-immersive .ag-surface-layout .ag-controls { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(180px,1fr); align-items: center; gap: 18px; width: 100%; margin: 14px 0 0; padding: 20px 12px 10px; border: 0; border-top: 1px solid #d8bd7855; border-radius: 0; background: none; box-shadow: none; }
.is-immersive .ag-surface-layout .ag-controls::before { display: none; }
.is-immersive .ag-surface-layout .ag-action-row, .is-immersive .ag-surface-layout .ag-game-options { margin: 0; min-width: 0; grid-column: auto; }
.is-immersive .ag-surface-layout .ag-board { min-height: 0; }
.is-immersive .ag-surface-layout .ag-poker-emblem { margin-bottom: 10px; font-size: 22px; }
.is-immersive .ag-surface-layout .ag-poker-steps { margin-bottom: 20px; }
.is-immersive .ag-surface-layout .ag-poker-hand { padding-bottom: 20px; }
.is-immersive .ag-surface-layout .ag-poker-table-seal { margin: 6px 0; font-size: 16px; }
.is-immersive .ag-surface-layout .ag-poker-instruction { margin-top: 0; padding: 6px; }
.is-immersive .ag-surface-layout .ag-result { width: 100%; margin: 12px auto 0; padding: 10px 12px; border: 0; background: none; box-shadow: none; justify-content: center; text-align: center; }
.is-immersive .ag-surface-layout .ag-rules { margin: 18px auto 0; background: #08100edb; }
.is-immersive .ag-surface-layout .ag-session-note { text-align: center; background: none; }
.ag-surface-layout .ag-stage-foot { margin: 14px 0; }
.ag-surface-layout .ag-controls small { color: #d4d9cb; }
.ag-surface-layout .ag-play { box-shadow: 0 5px 0 #15110e, 0 8px 16px #0006; }
.ag-surface-layout .ag-controls :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.is-immersive .ag-kind-roulette.ag-surface-layout .ag-roulette-perspective { width: min(450px, 80vw); margin: -28px auto -38px; }
.ag-kind-roulette .ag-play-surface { --felt: #104536; }
.ag-kind-blackjack .ag-play-surface { --felt: #143d59; }
.is-immersive .ag-surface-layout .ag-blackjack-table, .is-immersive .ag-surface-layout .ag-poker-table { padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.is-immersive .ag-surface-layout .ag-player-spot { border: 0; border-bottom: 2px solid #bba76b66; border-radius: 0 0 50% 50%; background: none; box-shadow: none; }
.is-immersive .ag-surface-layout .ag-player-spot.is-active-hand { border-color: #ffe4a1; background: radial-gradient(ellipse at bottom, #ffda6920, transparent 75%); box-shadow: 0 5px 0 -3px #ffe4a1; }
.is-immersive .ag-surface-layout .ag-poker-instruction { border: 0; background: none; box-shadow: none; }
.ag-kind-poker .ag-play-surface { --felt: #0d4938; }
.ag-kind-casino-war .ag-play-surface { --felt: #745832; background-image: radial-gradient(ellipse at 50% 25%,#fff2d51a,transparent 70%), repeating-linear-gradient(35deg,#ffffff05 0 1px,transparent 1px 4px); }
.ag-war-table { width: min(700px,100%); margin: 0 auto; padding: 16px; text-align: center; color: #f3e5c5; }
.ag-war-emblem { color: #ffe3a4; font: 800 20px/1.2 Georgia,serif; letter-spacing: 4px; text-shadow: 0 2px 8px #100b04; }
.ag-war-emblem small { display: block; margin-top: 5px; font: 700 9px/1.4 system-ui,sans-serif; letter-spacing: 2px; color: #e5d3ad; }
.ag-war-hands { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px,5vw,70px); align-items: center; margin: 24px auto 12px; max-width: 520px; }
.ag-war-hands section { display: grid; justify-items: center; gap: 10px; color: #e9d8b4; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.ag-war-hands .ag-card { width: clamp(74px,9vw,112px); height: clamp(108px,13vw,158px); }
.ag-kind-casino-war .ag-war-table .ag-card:not(.ag-card-back) { animation: war-card-reveal .52s cubic-bezier(.2,.8,.3,1) both; }
@keyframes war-card-reveal { from { opacity: 0; transform: translateY(-24px) rotate(-4deg) scale(.9); } to { opacity: 1; transform: translateY(0) rotate(0) scale(1); } }
.ag-war-vs { color: #f4d48c; font: italic 700 15px Georgia,serif; }
.ag-war-reveal { display: grid; justify-items: center; gap: 7px; margin: 8px auto; color: #ffe2a3; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.ag-war-reveal > div { display: flex; align-items: center; gap: 18px; }
.ag-war-reveal .ag-card { width: 56px; height: 80px; }
.ag-war-reveal b { color: #efd28d; font-size: 11px; }
.ag-war-status { margin: 10px 0 3px; color: #fff0ce; font: 700 16px/1.4 Georgia,serif; }
.ag-war-help { margin: 4px 0; color: #e0cfad; font-size: 11px; }
.ag-war-action { min-height: 52px; padding: 10px; border: 1px solid #e0c48b; border-radius: 10px; background: linear-gradient(#f1dfb9,#c9a566); color: #20180e; font-weight: 800; cursor: pointer; }
.ag-kind-casino-war .ag-play-surface { border-color: #392718; }
.ag-kind-casino-war .ag-action-row { display: flex; gap: 10px; }
.ag-kind-casino-war .ag-action-row > button { flex: 1; }
.ag-kind-poker.ag-surface-layout .ag-game-options, .ag-kind-wheel.ag-surface-layout .ag-game-options { display: none; }
.is-immersive .ag-kind-poker.ag-surface-layout .ag-controls, .is-immersive .ag-kind-wheel.ag-surface-layout .ag-controls { grid-template-columns: minmax(0,1fr) minmax(180px,1fr); max-width: 650px; margin-inline: auto; }
.ag-kind-crash .ag-play-surface { padding: 12px 18px; border: 8px solid #203642; border-radius: 45px 45px 24px 24px; background: linear-gradient(135deg,#182d38,#060c16 60%); box-shadow: inset 0 0 0 1px #67d7ed, 0 16px 45px #000b; }
.ag-kind-plinko .ag-play-surface { padding: 12px 20px; border: 7px solid #302452; border-radius: 35px 35px 18px 18px; background: linear-gradient(120deg,#201433,#100a22); box-shadow: inset 0 0 0 2px #e592ff, 0 0 35px #ba54ff44; }
.ag-kind-wheel .ag-play-surface { padding: 16px 24px; border: 6px solid #997443; border-radius: 50% 50% 28px 28px / 70px 70px 28px 28px; background: radial-gradient(ellipse at top,#67253e,#1f0912); }
.is-immersive .ag-surface-layout .ag-plinko-scene { width: 100%; max-width: 620px; margin: auto; }
.is-immersive .ag-surface-layout .ag-fortune-perspective { width: min(420px,85vw); margin-inline: auto; }
.is-immersive .ag-kind-slots.ag-surface-layout { max-width: 700px; }
.is-immersive .ag-kind-slots.ag-surface-layout .ag-slot-cabinet { width: min(520px,100%); min-width: 0; max-width: none; margin: auto; }
.is-immersive .ag-kind-slots.ag-surface-layout .ag-board { top: 50.25cqw; height: 28.2cqw; }
.is-immersive .ag-kind-slots.ag-surface-layout .ag-controls { position: relative; display: block; inset: auto; width: 92%; margin: -29% auto 0; padding: 18px; border: 3px solid #b08a4c; border-radius: 12px 12px 28px 28px; background: linear-gradient(#482717,#140b07); box-shadow: inset 0 2px 1px #efc87c, 0 10px 15px #0009; }
.is-immersive .ag-kind-slots.ag-surface-layout .ag-result { padding: 15px; background: #120b08ed; border-radius: 0 0 20px 20px; width: 90%; }
.is-immersive .ag-surface-layout .ag-cabinet-caption, .is-immersive .ag-surface-layout .ag-slot-line-summary { text-align: center; background: none; }
@media (max-width: 700px) {
  .ag-surface-layout .ag-play-surface { padding: 16px 10px 12px; border-width: 6px; border-radius: 45px 45px 32px 32px; }
  .is-immersive .ag-surface-layout .ag-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 14px 0 0; }
  .is-immersive .ag-surface-layout .ag-action-row { grid-column: 1 / -1; }
  .is-immersive .ag-kind-poker.ag-surface-layout .ag-controls, .is-immersive .ag-kind-wheel.ag-surface-layout .ag-controls { grid-template-columns: 1fr; }
  .is-immersive .ag-surface-layout .ag-game-options { width: 100%; }
  .ag-war-table { padding: 6px 0; }
  .ag-war-emblem { font-size: 16px; letter-spacing: 3px; }
  .ag-war-hands { gap: 10px; margin: 18px auto 8px; }
  .ag-war-hands .ag-card { width: clamp(66px,21vw,86px); height: clamp(96px,30vw,124px); }
  .ag-kind-casino-war.ag-surface-layout .ag-controls { grid-template-columns: 1fr; }
  .ag-kind-casino-war .ag-action-row { grid-column: auto; flex-direction: column; }
  .is-immersive .ag-surface-layout .ag-result { padding: 10px 0; font-size: 12px; }
  .is-immersive .ag-surface-layout .ag-poker-hand { gap: 4px; }
  .is-immersive .ag-surface-layout .ag-poker-hand .ag-card { width: clamp(38px,12vw,72px); height: clamp(64px,19vw,106px); }
  .is-immersive .ag-kind-slots.ag-surface-layout .ag-controls { width: 96%; padding: 12px 8px; }
  .is-immersive .ag-surface-layout .ag-cabinet-buttons { gap: 5px; }
  .is-immersive .ag-surface-layout .ag-credit-meter, .is-immersive .ag-surface-layout .ag-bet-meter { flex-direction: column; align-items: stretch; gap: 4px; }
  .is-immersive .ag-surface-layout .ag-cabinet-meters output, .is-immersive .ag-surface-layout .ag-cabinet-meters input { font-size: 18px; width: 100%; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { .ag-kind-casino-war .ag-war-table .ag-card { animation: none; } }
/* Jade Duel: cards and betting spots belong to one continuous felt surface. */
.ag-kind-dragon-tiger .ag-play-surface { background: radial-gradient(ellipse at 20% 30%, #164f43, transparent 65%), linear-gradient(115deg, #092c29 49%, #4b241e 51%, #23150f); border-color: #ba965c; }
.ag-duel-table { padding: 18px 5%; text-align: center; }
.ag-duel-inscription { color: #d7bb80; letter-spacing: .25em; font-size: 11px; }
.ag-duel-hands { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px auto; max-width: 720px; }
.ag-duel-hand { position: relative; padding: 15px; border-bottom: 1px solid #d6b77266; }
.ag-duel-hand h3 { color: #e7ca8c; letter-spacing: .22em; font-size: 14px; }
.ag-duel-sigil { position: absolute; inset: 0; font-size: clamp(90px, 14vw, 180px); opacity: .12; color: #ffe0a0; pointer-events: none; }
.ag-duel-hand .ag-cards { position: relative; justify-content: center; min-height: 150px; }
.ag-duel-hand.is-winner { filter: drop-shadow(0 0 15px #f2bd5266); border-color: #ffe2a0; }
.ag-duel-verdict { color: #ffe1a2; letter-spacing: .1em; min-height: 22px; }
.is-immersive .ag-kind-dragon-tiger .ag-controls .ag-game-options { grid-column: 1 / -1; grid-row: 1; }
.is-immersive .ag-kind-dragon-tiger .ag-controls { grid-template-columns: 1fr 1fr; }
.ag-kind-dragon-tiger .ag-card:not(.is-hidden) { animation: duel-deal .35s ease-out; }
@keyframes duel-deal { from { opacity: 0; transform: translate(40px, -45px) rotate(9deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ag-kind-dragon-tiger .ag-card:not(.is-hidden) { animation: none; } }
.ag-kind-dragon-tiger .ag-baccarat-betting { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; }
.ag-kind-dragon-tiger .ag-baccarat-bet { min-width: 0; }
.ag-kind-dragon-tiger .ag-baccarat-bet { position: relative; display: block; text-align: center; padding: 16px 8px; border: 1px solid #d5b77588; border-radius: 14px 14px 38px 38px; cursor: pointer; }
.ag-kind-dragon-tiger .ag-baccarat-bet input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ag-kind-dragon-tiger .ag-baccarat-bet:has(input:checked) { background: #f5ce5d22; border-color: #ffe3a1; box-shadow: inset 0 0 20px #ffe3a122; }
.ag-kind-dragon-tiger .ag-baccarat-bet:has(input:focus-visible) { outline: 3px solid white; outline-offset: 3px; }
.ag-kind-dragon-tiger .ag-baccarat-bet small { display: block; margin-top: 6px; }
@media (max-width: 520px) { .ag-duel-hands { gap: 8px; } .ag-duel-hand { padding: 8px 0; } .ag-duel-hand .ag-card { width: 85px; height: 120px; } .ag-duel-inscription { letter-spacing: .1em; } }
/* Crimson Salon: a single uninterrupted felt table, with inset dice tray. */
.ag-kind-sic-bo .ag-play-surface { --felt: #571c2b; border-color: #251013; background: radial-gradient(ellipse at 50% 0%, #a04b4833, transparent 65%), repeating-linear-gradient(28deg, #ffffff03 0 1px, transparent 1px 4px), var(--felt); }
.ag-sic-table { text-align: center; color: #f2d6a5; padding: 10px 0; }
.ag-sic-crest { font: 700 32px Georgia, serif; letter-spacing: .2em; }
.ag-sic-crest span { display: block; margin-top: 6px; font: 600 10px system-ui, sans-serif; letter-spacing: .3em; }
.ag-sic-tray { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 5vw, 55px); width: min(560px, 100%); min-height: 180px; margin: 20px auto 12px; padding: 30px 14px; border-radius: 50%; border: 5px solid #b99862; background: radial-gradient(ellipse, #421e29, #1b1017); box-shadow: inset 0 0 20px #0009, 0 8px 0 #1c1010, 0 12px 20px #0005; perspective: 600px; }
.ag-sic-die { flex-shrink: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: clamp(58px, 9vw, 82px); aspect-ratio: 1; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #fffceb, #e1d2b3 65%, #aa947a); box-shadow: 3px 5px 0 #9d886f, 7px 12px 15px #0009, inset 0 0 0 1px #fff9; transform: rotate(calc((var(--die-i) - 1) * 13deg)) rotateX(12deg); }
.ag-sic-die i { border-radius: 50%; aspect-ratio: 1; }
.ag-sic-die i.has-pip { background: #81242e; box-shadow: inset 0 1px 2px #240914; }
.ag-sic-readout { font-weight: 700; letter-spacing: .08em; min-height: 24px; margin: 18px 0 5px; }
.ag-sic-table > small { font-size: 9px; letter-spacing: .12em; color: #d9b997; }
.is-immersive .ag-kind-sic-bo .ag-controls { grid-template-columns: 1fr 1fr; padding-top: 12px; }
.is-immersive .ag-kind-sic-bo .ag-controls .ag-game-options { grid-column: 1 / -1; grid-row: 1; }
.ag-sic-bets { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.ag-sic-bets legend { text-align: center; width: 100%; margin-bottom: 12px; color: #e5c18b; font-size: 10px; letter-spacing: .15em; }
.ag-sic-bet { position: relative; grid-column: span 3; display: grid; place-items: center; min-height: 65px; padding: 10px 5px; text-align: center; border: 1px solid #dcb67999; border-radius: 8px; color: #fce3b8; cursor: pointer; }
.ag-sic-bet:has(input[value="triple"]) { grid-column: 1 / -1; min-height: 48px; background: #b9892822; }
.ag-sic-bet.is-face { grid-column: span 2; }
.ag-sic-bet input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ag-sic-bet span { font-weight: 750; font-size: 14px; letter-spacing: .1em; }
.ag-sic-bet small { display: block; font-weight: 400; font-size: 10px; margin-top: 5px; letter-spacing: 0; }
.ag-sic-bet:has(input:checked) { border-color: #fff1b9; background: #ffcd642c; box-shadow: inset 0 0 18px #ffdb5320, 0 0 0 1px #ffda87; }
.ag-sic-bet:has(input:focus-visible) { outline: 3px solid white; outline-offset: 3px; }
.ag-sic-bet:has(input:disabled) { cursor: wait; opacity: .65; }
.ag-sic-bet-note { font-size: 11px; color: #f0cfb2; text-align: center; line-height: 1.6; margin: 10px 0 0; }
.ag-sic-table.is-rolling .ag-sic-die { animation: sic-bo-tumble .4s ease-in-out infinite alternate; animation-delay: calc(var(--die-i) * -.12s); }
@keyframes sic-bo-tumble { from { transform: translateY(-20px) rotateX(35deg) rotateZ(-25deg); } to { transform: translateY(10px) rotateX(-25deg) rotateZ(30deg); } }
@media (max-width:520px) { .ag-sic-tray { min-height: 145px; gap: 20px; } .ag-sic-die { padding: 9px; gap: 4px; } .ag-sic-bet { grid-column: span 6; } .ag-sic-bet.is-face { grid-column: span 4; } .is-immersive .ag-kind-sic-bo .ag-controls .ag-stake-section { grid-column: 1 / -1; } .ag-sic-readout { font-size: 13px; } }
@media (prefers-reduced-motion:reduce) { .ag-sic-table.is-rolling .ag-sic-die { animation: none; } }
/* Aurora draw console: selected, drawn and matched numbers use shape and colour. */
.ag-kind-keno .ag-play-surface { --felt: #242040; background: radial-gradient(ellipse at top, #76519d55, transparent 70%), var(--felt); }
.ag-keno-table { max-width: 850px; margin: auto; text-align: center; }
.ag-keno-marquee { font: 700 28px Georgia,serif; letter-spacing: .3em; color: #efce96; }
.ag-keno-marquee span { display: block; font: 600 10px system-ui; letter-spacing: .25em; margin: 8px 0 14px; }
.ag-keno-draw { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 78px; align-content: center; border-bottom: 1px solid #d5b78066; padding: 10px; }
.ag-keno-draw > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#fff,#b1acc9 60%,#51476e); color: #231c38; font-weight: 800; box-shadow: 0 3px 8px #0006; }
.ag-keno-draw > span.is-hit { background: radial-gradient(circle at 30% 25%,#fff4c0,#ebbd63 60%,#8a582f); }
.ag-keno-draw p, .ag-keno-progress, .ag-keno-legend { color: #eee1c4; font-size: 12px; }
.ag-keno-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 6px; }
.ag-keno-grid button { min-height: 44px; border: 1px solid #b8a0c66b; border-radius: 7px; background: #12112470; color: #ece5f7; font-weight: 750; cursor: pointer; }
.ag-keno-grid button[aria-pressed="true"] { outline: 2px solid #efcd8b; outline-offset: -3px; background: #a16e373d; color: #ffe5a9; }
.ag-keno-grid button.is-drawn { border-radius: 50%; background: #66578d; }
.ag-keno-grid button.is-hit { background: #f2d393; color: #241633; border-radius: 50%; box-shadow: 0 0 12px #efc97155; }
.ag-keno-grid button.is-hit::after { content: '★'; font-size: 8px; margin-left: 2px; }
.ag-keno-grid button:focus-visible { outline: 3px solid white; outline-offset: 1px; }
.ag-keno-grid button:disabled { cursor: default; opacity: 1; }
.ag-keno-legend { display: flex; justify-content: center; gap: 20px; margin: 12px 0; }
.is-immersive .ag-kind-keno .ag-controls { grid-template-columns: 1fr 1fr; }
.is-immersive .ag-kind-keno .ag-controls .ag-game-options { grid-column: 1 / -1; grid-row: 1; }
.ag-keno-paystrip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; color: #efe1c6; text-align: center; font-size: 12px; }
.ag-keno-paystrip strong, .ag-keno-paystrip small { flex-basis: 100%; }
.ag-keno-paystrip span { border-bottom: 1px solid #b99463; padding: 8px; }
.ag-keno-paystrip b { display: block; color: #f7d89c; font-size: 18px; margin-top: 5px; }
@media(max-width:520px) { .ag-keno-grid { grid-template-columns: repeat(8,minmax(0,1fr)); gap: 3px; } .ag-keno-grid button { min-height: 40px; padding: 0; font-size: 12px; } .ag-keno-draw > span { width: 25px; height: 25px; font-size: 11px; } .ag-keno-draw { padding: 8px 0; } .is-immersive .ag-kind-keno .ag-controls .ag-stake-section { grid-column: 1 / -1; } }
/* Fan-Tan: ivory counters, a brass counting stick and jade felt. */
.ag-kind-fan-tan .ag-play-surface { --felt:#123e35; background: radial-gradient(ellipse at top,#5f9d7533,transparent 70%),repeating-linear-gradient(40deg,#ffffff04 0 1px,transparent 1px 5px),var(--felt); }
.ag-fan-table { text-align:center; color:#f2dbaf; max-width:760px; margin:auto; }
.ag-fan-emblem { font:700 34px Georgia,serif; letter-spacing:.3em; }
.ag-fan-emblem span { display:block; font:600 10px system-ui; letter-spacing:.2em; margin:8px 0; }
.ag-fan-tray { position:relative; display:grid; place-items:center; min-height:260px; padding:28px 55px; margin:18px auto; border:5px solid #c2a16c; border-radius:45%; background:radial-gradient(ellipse,#254c3c,#0a241e); box-shadow:inset 0 0 30px #0008,0 8px 0 #1e1810,0 14px 22px #0006; }
.ag-fan-beads { display:grid; grid-template-columns:repeat(12,1fr); gap:7px; width:min(450px,100%); align-content:center; min-height:190px; }
.ag-fan-bead { display:block; width:100%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 30% 25%,#fffef0,#e9ddba 55%,#8f805f); box-shadow:2px 3px 3px #0007; }
.ag-fan-tray.is-complete .ag-fan-beads { display:flex; justify-content:center; align-items:center; gap:20px; }
.ag-fan-tray.is-complete .ag-fan-bead { width:42px; box-shadow:0 0 18px #ffe9aa44,3px 4px 4px #0008; }
.ag-fan-rake { position:absolute; right:8%; top:22%; height:60%; width:8px; transform:rotate(14deg); border-radius:5px; background:linear-gradient(90deg,#815c2f,#f5dba4,#997037); box-shadow:3px 3px 5px #0008; }
.ag-fan-rake::after { content:''; position:absolute; bottom:0; right:0; width:30px; height:8px; border-radius:5px; background:#d8b77c; }
.ag-fan-readout { font-weight:750; letter-spacing:.06em; margin:15px 0 8px; min-height:22px; }
.ag-fan-counter { font-size:12px; color:#f1dfbd; }
.ag-fan-caption { font-size:10px; color:#c9d2ba; margin:10px 0; }
.is-immersive .ag-kind-fan-tan .ag-controls { grid-template-columns:1fr 1fr; }
.is-immersive .ag-kind-fan-tan .ag-controls .ag-game-options { grid-column:1 / -1; grid-row:1; }
.ag-fan-picks { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; border:0; padding:0; margin:0; }
.ag-fan-picks legend { text-align:center; width:100%; margin-bottom:12px; font-size:10px; letter-spacing:.2em; color:#e7cf9e; }
.ag-fan-picks label { position:relative; cursor:pointer; }
.ag-fan-picks input { position:absolute; width:1px; height:1px; opacity:0; }
.ag-fan-picks span { display:grid; justify-items:center; padding:10px; border:1px solid #c6a474; border-radius:12px 12px 35px 35px; color:#f2deb0; }
.ag-fan-picks b { font:700 34px Georgia,serif; }
.ag-fan-picks small { font-size:9px; margin:5px 0; letter-spacing:.2em; }
.ag-fan-picks input:checked + span { background:#edc36d22; border-color:#ffedb4; box-shadow:inset 0 0 16px #f8d56f22; }
.ag-fan-picks input:focus-visible + span { outline:3px solid white; outline-offset:3px; }
.ag-fan-picks input:disabled + span { opacity:.65; cursor:wait; }
.ag-fan-note { text-align:center; font-size:11px; line-height:1.6; color:#e1d6be; }
@media(max-width:520px) { .ag-fan-tray { min-height:220px; padding:25px 32px; } .ag-fan-beads { gap:4px; grid-template-columns:repeat(10,1fr); min-height:160px; } .ag-fan-tray.is-complete .ag-fan-bead { width:28px; } .ag-fan-tray.is-complete .ag-fan-beads { gap:10px; } .ag-fan-picks { gap:7px; } .is-immersive .ag-kind-fan-tan .ag-controls .ag-stake-section { grid-column:1 / -1; } }
/* Amber Match Salon: reference card above two open dealing lanes. */
.ag-kind-andar-bahar .ag-play-surface { --felt:#493335; background:radial-gradient(ellipse at top,#ba8c5030,transparent 70%),var(--felt); }
.ag-ab-table { width:100%; max-width:800px; margin:auto; text-align:center; color:#f5ddae; }
.ag-ab-reference { display:grid; justify-items:center; gap:8px; font-size:10px; letter-spacing:.15em; }
.ag-ab-reference .ag-card { width:76px; height:108px; }
.ag-ab-reference small { color:#d6c1a1; font-size:10px; letter-spacing:0; }
.ag-ab-seats { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin:20px 0; }
.ag-ab-seat { min-width:0; padding:10px 0; border-bottom:2px solid #c9a77b55; border-radius:0 0 40% 40%; }
.ag-ab-seat h3 { font:700 18px Georgia,serif; letter-spacing:.2em; margin:0 0 5px; }
.ag-ab-seat > small { font-size:10px; color:#ead7b5; }
.ag-kind-andar-bahar .ag-board { scroll-margin-top:80px; }
.ag-ab-fan { display:flex; justify-content:center; align-items:center; padding:18px 10px; min-height:150px; }
.ag-ab-fan .ag-card { width:75px; height:108px; }
.ag-ab-card { position:relative; }
.ag-ab-card + .ag-ab-card { margin-left:-35px; }
.ag-ab-card:nth-child(odd) { transform:rotate(-3deg); }
.ag-ab-card:nth-child(even) { transform:rotate(3deg); }
.ag-ab-card.is-new { z-index:2; animation:ab-arrive .2s ease-out; }
.ag-ab-count { font-size:10px; color:#decdb4; }
.ag-ab-seat.is-winner { border-color:#ffe1a1; background:radial-gradient(ellipse at bottom,#ffe2a122,transparent 70%); }
.ag-ab-verdict { min-height:24px; font-size:14px; font-weight:700; }
.ag-ab-history { font-size:12px; text-align:left; margin:12px 0; }
.ag-ab-history summary { cursor:pointer; padding:12px; }
.ag-ab-history ol { columns:2; padding-left:30px; line-height:1.7; }
.is-immersive .ag-kind-andar-bahar .ag-controls { grid-template-columns:1fr 1fr; }
.is-immersive .ag-kind-andar-bahar .ag-controls .ag-game-options { grid-column:1 / -1; grid-row:1; }
.ag-ab-picks { display:grid; grid-template-columns:1fr 1fr; gap:12px; border:0; padding:0; margin:0; }
.ag-ab-picks legend { text-align:center; width:100%; margin-bottom:10px; color:#ead5ae; font-size:10px; letter-spacing:.15em; }
.ag-ab-picks label { position:relative; cursor:pointer; }
.ag-ab-picks input { position:absolute; opacity:0; width:1px; height:1px; }
.ag-ab-picks span { display:block; text-align:center; padding:18px 10px; border:1px solid #c8ab7e; border-radius:12px 12px 30px 30px; color:#f3dbaf; letter-spacing:.15em; font-weight:750; }
.ag-ab-picks small { display:block; font-size:10px; letter-spacing:0; margin-top:8px; font-weight:400; }
.ag-ab-picks input:checked + span { background:#eac57822; border-color:#ffedbf; box-shadow:inset 0 0 20px #dfaa6022; }
.ag-ab-picks input:focus-visible + span { outline:3px solid white; outline-offset:3px; }
.ag-ab-picks input:disabled + span { opacity:.65; cursor:wait; }
.ag-ab-note { text-align:center; font-size:11px; line-height:1.6; color:#ebd7ba; }
@keyframes ab-arrive { from { opacity:0; translate:20px -28px; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:reduce) { .ag-ab-card.is-new { animation:none; } }
@media(max-width:520px) { .ag-ab-seats { gap:12px; } .ag-ab-fan { padding:12px 0; min-height:118px; } .ag-ab-fan .ag-card { width:58px; height:85px; } .ag-ab-card + .ag-ab-card { margin-left:-34px; } .ag-ab-seat h3 { font-size:14px; } .is-immersive .ag-kind-andar-bahar .ag-controls .ag-stake-section { grid-column:1 / -1; } }
/* Boule: brass bowl and persistent on-felt betting spots. */
.ag-kind-boule .ag-play-surface {background:radial-gradient(ellipse at top,#276b60,#082f32 70%);border:8px solid #705337;border-radius:80px 80px 32px 32px;}
.ag-boule-salon {text-align:center;color:#f8e6b4;}
.ag-boule-title {letter-spacing:.3em;font-family:Georgia,serif;}
.ag-boule-salon svg {display:block;width:min(100%,430px);margin:auto;filter:drop-shadow(0 18px 15px #0008);}
.ag-boule-call {min-height:24px;letter-spacing:.15em;font-weight:700;}
.ag-kind-boule .ag-board {scroll-margin-top:80px;}
.is-immersive .ag-kind-boule .ag-controls .ag-game-options {grid-column:1/-1;grid-row:1;}
.ag-boule-picks,.ag-boule-outside {display:grid;grid-template-columns:repeat(9,1fr);gap:5px;border:0;padding:5px 0;margin:0;}
.ag-boule-outside {grid-template-columns:repeat(6,1fr);}
.ag-boule-picks legend,.ag-boule-outside legend {color:#edcf91;font-size:11px;letter-spacing:.15em;padding:6px 0;}
.ag-boule-picks label,.ag-boule-outside label {position:relative;cursor:pointer;}
.ag-boule-picks input,.ag-boule-outside input {position:absolute;opacity:0;width:100%;height:100%;margin:0;}
.ag-boule-picks span,.ag-boule-outside span {display:grid;place-items:center;min-height:46px;border:1px solid #d5b97e;border-radius:6px;background:#101f27;color:#fff1cd;font-weight:700;}
.ag-boule-picks label:nth-of-type(2) span,.ag-boule-picks label:nth-of-type(4) span,.ag-boule-picks label:nth-of-type(7) span,.ag-boule-picks label:nth-of-type(9) span,.ag-boule-outside label:first-of-type span {background:#852439;}
.ag-boule-picks label:nth-of-type(5) span {background:#99721d;}
.ag-boule-picks input:checked+span,.ag-boule-outside input:checked+span {outline:3px solid #f9df88;box-shadow:0 0 18px #ffd77c66;}
.ag-boule-picks input:focus-visible+span,.ag-boule-outside input:focus-visible+span {outline:3px solid #6ff;}
.ag-boule-note {font-size:12px;color:#eadcbb;line-height:1.6;}
@media(max-width:600px){.ag-boule-picks {grid-template-columns:repeat(3,1fr)}.ag-boule-outside{grid-template-columns:repeat(3,1fr)}.ag-kind-boule .ag-play-surface{border-width:4px;border-radius:36px 36px 20px 20px}}
/* Chuck-a-Luck: a brass cage suspended over indigo felt. */
.ag-kind-chuck-a-luck .ag-play-surface{background:radial-gradient(ellipse at top,#354666,#111b35 75%);border:7px solid #97703e;border-radius:75px 75px 28px 28px}
.ag-kind-chuck-a-luck .ag-board{scroll-margin-top:80px}
.ag-chuck-table{text-align:center;color:#f4dfaa}
.ag-chuck-title{letter-spacing:.27em;font:600 17px Georgia,serif}
.ag-chuck-stand{position:relative;max-width:480px;margin:25px auto 12px;padding:12px 32px 30px;border-bottom:16px ridge #bd914d;border-radius:20px;perspective:900px}
.ag-chuck-stand:before,.ag-chuck-stand:after{content:'';position:absolute;top:25%;bottom:0;width:15px;background:linear-gradient(90deg,#604222,#e1be7c,#70512c);border-radius:12px}
.ag-chuck-stand:before{left:10px}.ag-chuck-stand:after{right:10px}
.ag-chuck-cage{position:relative;height:235px;border:9px ridge #d0a764;border-radius:45%;background:radial-gradient(ellipse,#f8e9b012,#070c1e99);box-shadow:inset 0 0 25px #0009,0 15px 25px #0008;transform-style:preserve-3d}
.ag-chuck-bar{position:absolute;inset:0 calc(9% + var(--bar)*7%);border-left:3px solid #b78b4dcc;border-right:3px solid #e1c18499;border-radius:50%;pointer-events:none}
.ag-chuck-dice{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:16px}
.ag-chuck-die{display:grid;place-items:center;width:70px;height:76px;font:76px/1 Georgia,serif;background:linear-gradient(135deg,#fff7e3,#b5a891);color:#172237;border-radius:13px;box-shadow:5px 7px 0 #887c69,10px 13px 15px #0008;transform:rotate(calc((var(--die-i) - 1)*14deg))}
.ag-chuck-die.is-match{outline:3px solid #ffe195;box-shadow:0 0 28px #ffd36d88,5px 7px 0 #887c69}
.is-tumbling .ag-chuck-cage{animation:chuck-cage 1.1s ease-in-out infinite}.is-tumbling .ag-chuck-die{animation:chuck-dice .55s ease-in-out infinite alternate;animation-delay:calc(var(--die-i)*-.17s)}
.ag-chuck-verdict{min-height:25px;font-weight:700;letter-spacing:.08em}
.ag-chuck-paystrip{display:flex;justify-content:center;gap:25px;font-size:11px}.ag-chuck-paystrip b{display:block;font-size:25px;color:#ffdf8b}.ag-chuck-caption{font-size:12px;color:#d1c6af}
.is-immersive .ag-kind-chuck-a-luck .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
.ag-chuck-picks{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;border:0;padding:8px 0}.ag-chuck-picks legend{color:#ead4a3;font-size:12px;letter-spacing:.15em}
.ag-chuck-picks label{position:relative;cursor:pointer}.ag-chuck-picks input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.ag-chuck-picks span{display:grid;justify-items:center;padding:7px;border:1px solid #b69861;border-radius:12px;color:#f3dfb9;background:#111d35}.ag-chuck-picks b{font-size:37px;line-height:1.15}.ag-chuck-picks input:checked+span{outline:3px solid #f2ce74;background:#4e3f2d}.ag-chuck-picks input:focus-visible+span{outline:3px solid cyan}
@keyframes chuck-cage{50%{transform:rotateX(180deg)}100%{transform:rotateX(360deg)}}
@keyframes chuck-dice{to{transform:translateY(-23px) rotate(130deg)}}
@media(max-width:600px){.ag-chuck-picks{grid-template-columns:repeat(3,1fr)}.ag-chuck-stand{padding:12px 20px 25px}.ag-chuck-cage{height:190px}.ag-chuck-dice{gap:9px}.ag-chuck-die{width:54px;height:60px;font-size:60px}.ag-kind-chuck-a-luck .ag-play-surface{border-width:4px;border-radius:38px 38px 20px 20px}}
@media(prefers-reduced-motion:reduce){.is-tumbling .ag-chuck-cage,.is-tumbling .ag-chuck-die{animation:none}}
/* American Roulette: emerald felt, double-zero layout, copper rail. */
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-play-surface{background:radial-gradient(ellipse at top,#226747,#082c25 75%);border:8px ridge #bc8554;border-radius:70px 70px 25px 25px}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-board{scroll-margin-top:80px}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-roulette-scene{max-width:660px;margin:auto}
.is-immersive :is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:15px}
.ag-american-numbers,.ag-american-groups,.ag-american-outside{border:0;padding:0;margin:0;min-width:0}
.ag-american-numbers{grid-row:span 2}.ag-american-groups,.ag-american-outside{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ag-american-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.ag-american-zeros{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:4px}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) fieldset legend{color:#efd4a6;font-size:11px;letter-spacing:.1em;margin-bottom:9px}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-game-options label{position:relative;cursor:pointer;min-width:0}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-game-options input{position:absolute;opacity:0;margin:0;width:100%;height:100%}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-game-options label span{display:grid;place-items:center;min-height:44px;height:100%;padding:4px;border:1px solid #b9a375;border-radius:4px;background:#122824;color:#fff2cf;font-size:13px;font-weight:700;box-sizing:border-box}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) label.red span{background:#912b3d}:is(.ag-kind-american-roulette,.ag-kind-french-roulette) label.black span{background:#14191f}:is(.ag-kind-american-roulette,.ag-kind-french-roulette) label.green span{background:#137451}
:is(.ag-kind-american-roulette,.ag-kind-french-roulette) input:checked+span{outline:3px solid #ffdb78;box-shadow:inset 0 0 17px #ffe48a77}:is(.ag-kind-american-roulette,.ag-kind-french-roulette) input:focus-visible+span{outline:3px solid cyan}
.ag-american-note{grid-column:1/-1;color:#eadabc;font-size:12px;line-height:1.6}
@media(max-width:600px){.is-immersive :is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-controls .ag-game-options{grid-template-columns:1fr}.ag-american-numbers{grid-row:auto}:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-play-surface{border-width:4px;border-radius:35px 35px 20px 20px}:is(.ag-kind-american-roulette,.ag-kind-french-roulette) .ag-roulette-title strong{font-size:20px}}
/* Paris variant overrides the shared roulette table geometry. */
.is-immersive .ag-kind-french-roulette .ag-play-surface{background:radial-gradient(ellipse at top,#713d50,#301c35 75%);border:8px ridge #d4af79}
.ag-kind-french-roulette .ag-roulette-title strong{font-family:Georgia,serif;letter-spacing:.18em;color:#ffe4bf}
.ag-kind-french-roulette .ag-american-zeros{grid-template-columns:1fr}
.ag-kind-french-roulette .ag-american-note{padding:13px;border-top:1px solid #d4af79;border-bottom:1px solid #d4af79;color:#fff0cc}
@media(max-width:600px){.is-immersive .ag-kind-french-roulette .ag-play-surface{border-width:4px}}
/* Big Six: upright illuminated wheel over a burgundy theatre table. */
.ag-kind-big-six-wheel .ag-play-surface{background:radial-gradient(ellipse at top,#6b2943,#22162b 75%);border:8px ridge #b68a4e;border-radius:70px 70px 26px 26px}
.ag-kind-big-six-wheel .ag-board{scroll-margin-top:80px}
.jade-solitaire{max-width:1120px;margin:0 auto;padding:24px 12px;color:#f9ebc8}
.is-immersive .ag-game.jade-solitaire{display:block;max-width:1120px;width:100%;padding:0}
.jade-heading small{letter-spacing:.2em;color:#dfc894;font-size:10px}.jade-heading h2{font:700 clamp(30px,5vw,50px) Georgia,serif;margin:12px 0}.jade-heading p{color:#c5d7cd}
.jade-table{margin-top:24px;background:radial-gradient(ellipse at top,#315e4e,#12362f 75%);border:8px ridge #c8b57b;border-radius:50px;padding:25px 24px;box-shadow:0 20px 45px #0008,inset 0 0 60px #001c1b}
.jade-table-title{text-align:center;color:#cabd88;font:40px Georgia,serif}.jade-table-title span{display:block;font:10px sans-serif;letter-spacing:.24em;margin:8px}
.jade-score{display:flex;justify-content:center;gap:32px;margin:20px 0;font-size:13px}.jade-score b{font-size:20px;color:#f9e19f}
.jade-message{min-height:42px;text-align:center;font-size:14px;color:#e8dfb5}
.jade-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;max-width:850px;margin:auto}
.jade-tile{appearance:none;border:2px solid #c5af78;border-bottom-width:6px;background:linear-gradient(140deg,#fff5d8,#cebf94);color:#245b46;aspect-ratio:.76;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;border-radius:9px;cursor:pointer;box-shadow:0 4px 6px #0005;transition:transform .15s}
.jade-tile span{font:700 clamp(22px,4vw,44px) Georgia,serif;line-height:1}.jade-tile small{font-size:7px;letter-spacing:.08em}
.jade-tile:disabled{opacity:.65;cursor:default}.jade-tile:not(:disabled):hover{transform:translateY(-3px)}
.jade-tile.is-selected{outline:3px solid #77dfd4;outline-offset:1px;transform:translateY(-3px)}
.jade-tile.is-hint{outline:3px solid #f6d268;outline-offset:1px}.jade-tile:focus-visible{outline:3px solid #9df5f0;outline-offset:2px}
.jade-empty{aspect-ratio:.76;border:1px solid #62847822;border-radius:9px}
@media(min-width:601px){.jade-board{max-width:650px}.jade-tile,.jade-empty{aspect-ratio:1}.jade-tile span{font-size:34px}}
.jade-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:25px 0 15px}.jade-actions button{min-height:44px}
.jade-save,.jade-disclosure{text-align:center;font-size:11px;color:#bdd0ba}.jade-disclosure{letter-spacing:.12em;color:#d9c686}
.jade-rules{margin:24px 0;background:#0b1d1fe8;border:1px solid #a9975d66;border-radius:12px;padding:16px;font-size:14px;line-height:1.6}.jade-rules summary{cursor:pointer}
@media(max-width:600px){.jade-solitaire{padding:14px 0}.jade-table{padding:18px 7px;border-width:4px;border-radius:25px}.jade-board{gap:3px}.jade-tile{border-width:1px;border-bottom-width:3px;border-radius:5px;aspect-ratio:.65;gap:3px}.jade-tile span{font-size:23px}.jade-tile small{font-size:5px;letter-spacing:0}.jade-score{gap:18px;font-size:11px}.jade-message{font-size:12px;min-height:48px}.jade-actions{gap:7px}.jade-actions button{font-size:12px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.jade-tile{transition:none}.jade-tile:not(:disabled):hover{transform:none}}
.ag-kind-dragon-ways .ag-play-surface{background:radial-gradient(ellipse at top,#1a5148,#091d21 75%);border:7px ridge #c9aa67;border-radius:42px;overflow:hidden}
.ag-ways-cabinet{padding:28px 14px 18px;text-align:center;color:#f5e7bd;max-width:1000px;margin:auto}
.ag-ways-cabinet header small{font-size:10px;letter-spacing:.22em;color:#adcebc}
.ag-ways-cabinet h2{font:700 clamp(30px,5vw,58px) Georgia,serif;letter-spacing:.1em;margin:14px 0;text-shadow:0 3px #000}
.ag-ways-cabinet h2 em{font-style:normal;color:#e4b95e}
.ag-ways-cabinet header p{font-size:11px;letter-spacing:.22em}
.ag-ways-reels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:#080f12;border:5px ridge #c8a661;border-radius:18px;padding:12px;margin-top:28px;box-shadow:inset 0 0 25px #000,0 8px 25px #0008}
.ag-ways-reel{display:grid;gap:5px;overflow:hidden}
.ag-ways-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;aspect-ratio:1.1;background:linear-gradient(150deg,#f8edce,#bbab80);border-radius:10px;border:2px solid #e5d8ae;color:#174c42;box-shadow:inset 0 0 16px #6f583744}
.ag-ways-cell span{font:700 clamp(25px,5vw,61px) Georgia,serif;line-height:1;text-shadow:0 2px 0 #fff8}
.ag-ways-cell small{font-size:9px;letter-spacing:.09em;text-transform:uppercase}
.ag-ways-cell[data-symbol=dragon],.ag-ways-cell[data-symbol=lantern]{color:#a42b35}
.ag-ways-cell[data-symbol=coin]{color:#896019}
.ag-ways-cell[data-symbol=lotus]{color:#803e74}
.ag-ways-cell[data-symbol=hidden]{background:linear-gradient(135deg,#163b38,#0c242b);color:#bcaa72;border-color:#3b5b51}
.ag-ways-cell.is-paying{border-color:#fff092;box-shadow:inset 0 0 20px #ffc83c77,0 0 9px #ffda67}
.ag-ways-reel.is-spinning .ag-ways-cell{animation:ways-roll .25s linear infinite}
@keyframes ways-roll{0%{filter:blur(1px);transform:translateY(-4px)}100%{filter:blur(3px);transform:translateY(4px)}}
.ag-ways-path{color:#b6d6bf;text-align:left;font-size:10px;letter-spacing:.15em;margin:10px 8px}
.ag-ways-verdict{font-size:14px;letter-spacing:.08em;color:#ffe3a2;min-height:24px}
.ag-ways-pays{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid #c6a76866;border-bottom:1px solid #c6a76866;padding:15px 0}
.ag-ways-pays span{display:grid;gap:6px;font-size:13px}.ag-ways-pays b{font-size:11px;color:#b3ceba;letter-spacing:.1em}
.ag-ways-breakdown{list-style:none;padding:0;font-size:12px;line-height:1.8}
.ag-ways-cabinet footer{font-size:9px;letter-spacing:.1em;line-height:1.8;margin-top:18px;color:#a9c0b4}
.is-immersive .ag-kind-dragon-ways .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.is-immersive .ag-game.ag-kind-dragon-ways .ag-controls{display:flex;flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.ag-ways-reel.is-spinning .ag-ways-cell{animation:none}}
@media(max-width:600px){.ag-ways-cabinet{padding:18px 2px}.ag-ways-reels{gap:3px;padding:5px;border-width:3px}.ag-ways-cell{border-radius:5px;aspect-ratio:.7;border-width:1px}.ag-ways-cell small{font-size:6px;letter-spacing:0}.ag-ways-cabinet header p{font-size:9px;letter-spacing:.08em}.ag-ways-pays span{font-size:11px}.ag-ways-verdict{font-size:11px}}
.ag-kind-dragon-spotlight .ag-play-surface{background:radial-gradient(ellipse at top,#39395b,#101526 75%);border:5px ridge #bfa46a;border-radius:40px;overflow:hidden}
.ag-spotlight-studio{position:relative;text-align:center;padding:24px 12px;isolation:isolate;color:#fff0c8}
.ag-spotlight-studio header small{font-size:10px;letter-spacing:.18em;color:#b5d1da}
.ag-spotlight-studio h2{font:700 clamp(24px,4vw,44px) Georgia,serif;letter-spacing:.08em;margin:14px 0}
.ag-spotlight-studio h2 em{display:block;font-style:normal;color:#e9c777}
.ag-spotlight-studio header p{font-size:10px;letter-spacing:.18em}
.ag-spotlight-studio .ag-six-hub strong{font-size:clamp(13px,2.4vw,26px)}
.ag-spotlight-studio .ag-six-hub{background:radial-gradient(circle at 30% 20%,#4c395c,#11182b 80%)}
.ag-spotlight-beams{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.ag-spotlight-beams i{position:absolute;width:40%;height:100%;left:0;top:-20%;background:linear-gradient(#86e3f033,transparent);clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);transform-origin:50% 0;animation:spotlight-sweep 12s ease-in-out infinite alternate}
.ag-spotlight-beams i+ i{left:60%;animation-direction:alternate-reverse;background:linear-gradient(#ffd27c44,transparent)}
@keyframes spotlight-sweep{from{transform:rotate(-22deg)}to{transform:rotate(22deg)}}
.ag-spotlight-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:12px;letter-spacing:.06em}
.ag-spotlight-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:0;padding:10px 0}
.ag-spotlight-picks legend{font-size:11px;letter-spacing:.08em;padding-bottom:10px}
.ag-spotlight-picks label{position:relative;cursor:pointer}
.ag-spotlight-picks input{position:absolute;opacity:0}
.ag-spotlight-picks span{display:flex;flex-direction:column;gap:7px;border:2px solid #6b627b;background:#432b40;padding:15px 10px;border-radius:16px;text-align:center}
.ag-spotlight-picks label:nth-of-type(2) span{background:#173e42}
.ag-spotlight-picks label:nth-of-type(3) span{background:#493b24}
.ag-spotlight-picks input:checked+span{border-color:#ffe9a2;box-shadow:0 0 15px #f4d58355}
.ag-spotlight-picks input:focus-visible+span{outline:3px solid #86e3f0;outline-offset:3px}
.ag-spotlight-picks input:disabled+span{cursor:wait}
.is-immersive .ag-kind-dragon-spotlight .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
.is-ambience-paused .ag-spotlight-beams i,.is-scene-idle .ag-spotlight-beams i{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.ag-spotlight-beams i{animation:none}}
@media(max-width:600px){.ag-spotlight-picks{gap:5px}.ag-spotlight-picks span{padding:12px 5px;font-size:12px}.ag-spotlight-studio{padding:16px 4px}}
.ag-six-theatre{text-align:center;color:#f4dfb0}.ag-six-marquee{font:600 17px Georgia,serif;letter-spacing:.24em}
.ag-six-machine{position:relative;max-width:540px;margin:24px auto 0;padding-bottom:25px}
.ag-six-rim{position:relative;border:12px ridge #d4b273;border-radius:50%;background:#241c23;box-shadow:0 0 0 5px #281a1c,0 0 35px #e8b66555,inset 0 0 12px #000;z-index:1}
.ag-six-rotor{display:block;width:100%;transform-origin:50% 50%;filter:drop-shadow(0 4px 3px #0008)}
.ag-six-hub{position:absolute;inset:29%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#497183,#102e41 75%);border:3px ridge #edc880;box-shadow:0 10px 17px #0008;pointer-events:none}
.ag-six-hub small{font-size:9px;letter-spacing:.12em}.ag-six-hub strong{font:700 clamp(22px,4vw,43px) Georgia,serif;margin:9px 0}.ag-six-hub span{font-size:9px;letter-spacing:.15em}
.ag-six-pointer{position:absolute;top:-25px;left:50%;transform:translateX(-50%);font-size:47px;line-height:1;color:#fff0bb;text-shadow:0 3px 1px #76532a,0 0 14px #ffdb8a;z-index:4}
.ag-six-pedestal{position:absolute;bottom:0;left:25%;right:25%;height:100px;background:linear-gradient(90deg,#51382b,#d7b376,#63432b);clip-path:polygon(20% 0,80% 0,90% 85%,100% 90%,100% 100%,0 100%,0 90%,10% 85%)}
.ag-six-result{font-size:22px;font-weight:700;letter-spacing:.13em;min-height:28px;color:#ffe4a6}.ag-six-caption,.ag-six-replay{font-size:12px;line-height:1.5;color:#e1cba9}
.ag-six-rotor .is-landed path{stroke:#fff;stroke-width:4;filter:brightness(1.6)}
.is-immersive .ag-kind-big-six-wheel .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
.ag-six-picks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;border:0;padding:8px 0}.ag-six-picks legend{color:#ead7b6;font-size:11px;letter-spacing:.08em}
.ag-six-picks label{position:relative;cursor:pointer;min-width:0}.ag-six-picks input{position:absolute;opacity:0;margin:0;width:100%;height:100%}
.ag-six-picks span{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px;border:1px solid #b89761;border-radius:10px;background:#241e30;color:#ffe6be;min-height:110px;justify-content:center}.ag-six-picks b{font-size:19px}.ag-six-picks strong{font-size:13px}.ag-six-picks small{font-size:10px;color:#ddcdb1}
.ag-six-picks input:checked+span{outline:3px solid #f4d480;background:#593449}.ag-six-picks input:focus-visible+span{outline:3px solid cyan}.ag-six-note{font-size:12px;color:#e1cba9}
@media(max-width:700px){.ag-six-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.ag-six-picks label:last-child{grid-column:2}.ag-kind-big-six-wheel .ag-play-surface{border-width:4px;border-radius:35px 35px 20px 20px}.ag-six-rim{border-width:8px}.ag-six-pointer{font-size:34px;top:-18px}.ag-six-hub small{font-size:7px}}
/* Three Card Poker: open ruby felt, curved card fans, persistent decision deck. */
.ag-kind-three-card-poker .ag-play-surface{background:radial-gradient(ellipse at top,#713145,#271524 80%);border:9px ridge #bc965e;border-radius:90px 90px 30px 30px}
.ag-kind-three-card-poker .ag-board{scroll-margin-top:80px}
.ag-three-table{text-align:center;color:#f8e1b5;padding:12px 0}
.ag-three-seat h3{font-size:13px;letter-spacing:.2em;margin:5px}.ag-three-seat p,.ag-three-seat>span{font-size:11px;color:#dbc9b1}
.ag-three-cards{display:flex;justify-content:center;gap:12px;margin:20px 0;min-height:118px}
.ag-three-cards .ag-card{transform:rotate(-7deg);box-shadow:0 12px 16px #0007;animation:three-card-deal .3s ease-out}
.ag-three-cards .ag-card:nth-child(2){transform:translateY(-8px)}.ag-three-cards .ag-card:nth-child(3){transform:rotate(7deg)}
.ag-three-crest{display:grid;gap:7px;margin:22px auto;font-family:Georgia,serif}.ag-three-crest>span{font-size:28px;letter-spacing:15px}.ag-three-crest strong{font-size:25px;letter-spacing:.14em}.ag-three-crest small{letter-spacing:.3em;font-size:10px}
.ag-three-chipspots{display:flex;justify-content:center;gap:35px;margin:25px 0}.ag-three-chipspots>span{display:grid;place-content:center;gap:6px;width:125px;height:75px;border:2px dashed #d5b77f;border-radius:50%;font-size:12px;letter-spacing:.12em}.ag-three-chipspots b{font-size:10px;letter-spacing:0}
.ag-three-verdict{min-height:24px;font-weight:700}.ag-three-bonus{font-size:12px;color:#ffe39a}.ag-three-help{font-size:13px;line-height:1.7;color:#e7d6ba}
.is-immersive .ag-kind-three-card-poker .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
.ag-three-fold{min-height:48px;padding:12px 18px;border:1px solid #cbb78e;border-radius:12px;color:#ffe4bc;background:#342333;cursor:pointer}
.ag-kind-three-card-poker .ag-action-row{flex-wrap:wrap}.ag-kind-three-card-poker .ag-action-row button{white-space:normal}
@keyframes three-card-deal{from{opacity:0;translate:0 -22px}to{opacity:1;translate:0 0}}
@media(max-width:600px){.ag-kind-three-card-poker .ag-play-surface{border-width:4px;border-radius:40px 40px 22px 22px}.ag-three-crest strong{font-size:18px}.ag-three-cards{gap:6px}.ag-three-chipspots{gap:15px}.ag-three-chipspots>span{width:110px}}
@media(prefers-reduced-motion:reduce){.ag-three-cards .ag-card{animation:none}}
/* Craps: printed felt, a rubber back wall and ruby dice on the table itself. */
.ag-game.ag-kind-craps .ag-play-surface{--felt:#123d31;border-color:#38291e;background:radial-gradient(ellipse at 50% 35%,#1d5d46,#092d26 80%)}
.ag-kind-craps .ag-board{scroll-margin-top:82px}
.ag-craps-table{position:relative;max-width:830px;margin:auto;color:#f3dba8;text-align:center}
.ag-craps-table header small{font-size:10px;letter-spacing:4px;color:#cfb984}
.ag-craps-table h2{font:700 clamp(19px,3vw,30px) Georgia,serif;letter-spacing:2px;margin:8px}
.ag-craps-table header p{font-size:11px;letter-spacing:2px}
.ag-craps-backwall{height:25px;border:3px solid #32261c;border-radius:16px 16px 0 0;background:repeating-conic-gradient(#092920 0% 25%,#184535 0% 50%) 0 0/12px 12px;box-shadow:inset 0 5px 9px #0007;margin-top:22px}
.ag-craps-point-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:2px solid #d4b97e;border-radius:0 0 16px 16px}
.ag-craps-point-track>div{position:relative;min-height:64px;display:grid;place-items:center;font:700 30px Georgia,serif}
.ag-craps-point-track>div+div{border-left:1px solid #d4b97e}
.ag-craps-point-track>div.is-point{background:#cdae5c22;color:#fff0c2}
.ag-craps-puck{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff9df;color:#163d2c;border:3px solid #b6ad90;box-shadow:0 3px 5px #0008;font:800 10px Arial,sans-serif;transform:rotate(-12deg)}
.ag-craps-dice-zone{position:relative;padding:5px 10px 18px;border:1px solid #cbb87d66;border-top:0;border-radius:0 0 45% 45%;min-height:245px}
.ag-craps-felt-word{position:absolute;top:20px;left:0;right:0;color:#d1bd7d12;font:bold clamp(50px,11vw,110px) Georgia,serif;letter-spacing:12px;pointer-events:none}
.ag-craps-dice{position:relative;display:flex;justify-content:center;gap:35px;padding:12px 0 0;min-height:156px}
.ag-craps-die{width:135px;height:146px;filter:drop-shadow(0 9px 10px #0005);transform:rotate(-9deg)}
.ag-craps-die:nth-child(2){transform:rotate(13deg) translateY(7px)}
.ag-craps-table.is-rolling .ag-craps-die{animation:craps-tumble .8s ease-out both;animation-delay:calc(var(--die-i)*.06s)}
@keyframes craps-tumble{0%{transform:translate(-45px,-45px) rotate(-180deg) scale(.7)}35%{transform:translate(20px,-60px) rotate(100deg) scale(1.1)}65%{transform:translate(-12px,5px) rotate(260deg)}85%{transform:translate(8px,-15px) rotate(340deg)}100%{transform:translate(0,0) rotate(360deg)}}
.ag-craps-phase{position:relative;font-size:18px;font-weight:800;letter-spacing:3px;margin-top:10px}
.ag-craps-phase small{display:block;max-width:470px;margin:8px auto 0;font-size:11px;line-height:1.7;font-weight:400;letter-spacing:.3px}
.ag-kind-craps .ag-craps-phase small,.ag-kind-craps .ag-craps-bets small{color:#e2d4ad}
.ag-craps-call{font-size:14px;font-weight:700;min-height:22px;margin:18px 0 10px}
.ag-craps-rolls{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;flex-wrap:wrap}
.ag-craps-rolls>span{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #c3a66a;background:#0d2b24;font:700 18px Georgia,serif}
.ag-craps-rolls small{position:absolute;top:-6px;right:-3px;background:#bda16d;color:#102d25;border-radius:50%;font:700 8px Arial,sans-serif;width:13px;height:13px;display:grid;place-items:center}
.ag-craps-rolls p,.ag-craps-history{font-size:12px}
.ag-craps-history{margin-top:12px}.ag-craps-history summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ag-craps-history ol{max-height:160px;overflow:auto;max-width:210px;margin:10px auto;text-align:left;line-height:1.7}
.ag-craps-table footer{font-size:10px;line-height:1.8;letter-spacing:1px;margin-top:16px;color:#c3c9ae}
.ag-craps-bets{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.ag-craps-bets legend{font-size:10px;letter-spacing:2px;padding:0 0 10px}
.ag-craps-bets label{position:relative;cursor:pointer;min-width:0}
.ag-craps-bets input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.ag-craps-bets label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:110px;border:2px solid #c8ae70;border-radius:14px 14px 35px 35px;background:#12392f;color:#f3dfb0;text-align:center;padding:12px}
.ag-craps-bets strong{font:700 clamp(13px,2vw,21px) Georgia,serif;letter-spacing:1px}
.ag-craps-bets small{font-size:11px;line-height:1.5}.ag-craps-bets b{font-size:9px;letter-spacing:2px}
.ag-craps-bets input:checked+span{background:#79602d55;border-color:#ffe1a0;box-shadow:inset 0 0 0 3px #102d24,0 0 18px #e5c17022}
.ag-craps-bets input:focus-visible+span{outline:3px solid #fff3bf;outline-offset:4px}
.ag-craps-bets input:disabled+span{opacity:.6;cursor:default}
.ag-craps-bet-note{font-size:11px;line-height:1.6;color:#d0cbb5}
.is-immersive .ag-kind-craps .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-craps-point-track>div{font-size:22px;min-height:56px}.ag-craps-puck{width:23px;height:23px;font-size:8px;right:0;top:-8px}.ag-craps-dice{gap:14px;min-height:130px}.ag-craps-die{width:105px;height:125px}.ag-craps-dice-zone{min-height:225px;padding-inline:0}.ag-craps-bets{gap:7px}.ag-craps-bets label>span{padding:8px}.ag-craps-phase{font-size:15px}.ag-craps-phase small{font-size:10px}.ag-craps-table h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.ag-craps-table.is-rolling .ag-craps-die{animation:none}}
/* Crapless Craps: midnight felt, a copper constellation and ivory dice. */
.ag-game.ag-kind-crapless-craps .ag-play-surface{--felt:#142f43;background:radial-gradient(ellipse at 50% 35%,#264c60,#0b2134 85%);border-color:#41312d}
.ag-kind-crapless-craps .ag-board{scroll-margin-top:82px}
.ag-crapless-table header h2{color:#f2c29b;letter-spacing:3px}
.ag-crapless-table .ag-craps-backwall{background:repeating-conic-gradient(#142637 0% 25%,#284759 0% 50%) 0 0/12px 12px;border-color:#8f674f}
.ag-crapless-table .ag-craps-point-track{grid-template-columns:repeat(10,minmax(0,1fr));border-color:#d6a381}
.ag-crapless-table .ag-craps-point-track>div{font-size:24px;min-height:60px;border-color:#bc9070}
.ag-crapless-table .ag-craps-point-track>div.is-extended{color:#ffc793;background:#ddab7920}
.ag-crapless-table .ag-craps-point-track>div.is-point{background:#f2d3a22b;color:#fff0c7}
.ag-crapless-table .ag-craps-puck{width:24px;height:24px;right:0;top:-13px;background:#f4ddc7;color:#263c50;border-color:#bb8c6d}
.ag-crapless-extended{font-size:10px;letter-spacing:3px;margin:16px 0 0;color:#ffd6af}
.ag-crapless-table .ag-craps-dice-zone{border-color:#c6987866;border-radius:0 0 40px 40px}
.ag-crapless-table .ag-craps-felt-word{font-size:160px;line-height:1;color:#dfae7e18;top:20px}
.ag-crapless-table .ag-craps-die>path:first-of-type{fill:#bf9875;stroke:#fbe5ce}
.ag-crapless-table .ag-craps-die>path:nth-of-type(2){fill:#937154}
.ag-crapless-table .ag-craps-die>rect{fill:#f6dfbd;stroke:#fff4df}
.ag-crapless-table .ag-craps-die>circle{fill:#263c50}
.ag-crapless-table .ag-craps-die>text{fill:#8e5339}
.ag-kind-crapless-craps .ag-craps-phase small{color:#e5d2bd}
.ag-crapless-table .ag-craps-rolls>span{background:#102739;border-color:#c49476}
.ag-crapless-table .ag-craps-rolls small{background:#d1a183;color:#182d3a}
.ag-crapless-line{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;min-height:115px;border:2px solid #cfa385;border-radius:16px 16px 45px 45px;background:linear-gradient(110deg,#1c3c50,#263e50);color:#ffdfbb;text-align:center;padding:14px}
.ag-crapless-line strong{font:700 24px Georgia,serif;letter-spacing:4px}
.ag-crapless-line span{font-size:12px;line-height:1.5}.ag-crapless-line b{font-size:10px;letter-spacing:2px}
.ag-crapless-warning{color:#f5c8a9;font-size:12px;line-height:1.7}
.is-immersive .ag-kind-crapless-craps .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-crapless-table .ag-craps-point-track{grid-template-columns:repeat(5,minmax(0,1fr))}.ag-crapless-table .ag-craps-point-track>div:nth-child(n+6){border-top:1px solid #bc9070}.ag-crapless-table .ag-craps-point-track>div:nth-child(6){border-left:0}.ag-crapless-table .ag-craps-puck{top:2px;width:20px;height:20px}.ag-crapless-table header h2{font-size:18px;letter-spacing:1px}.ag-crapless-extended{font-size:9px;letter-spacing:1.5px}}
/* Hazard: an alchemist's felt with separate main and chance medallions. */
.ag-game.ag-kind-hazard .ag-play-surface{--felt:#352538;background:radial-gradient(ellipse at 50% 30%,#503947,#241e30 80%);border-color:#4a352c}
.ag-kind-hazard .ag-board{scroll-margin-top:82px}
.ag-hazard-table header h2{font:700 clamp(32px,6vw,58px) Georgia,serif;letter-spacing:12px;color:#f3d6a3;margin:12px 0 8px;text-shadow:0 2px 14px #d9a55b33}
.ag-hazard-table header p{letter-spacing:4px}
.ag-hazard-markers{display:grid;grid-template-columns:1fr 50px 1fr;align-items:center;gap:12px;max-width:580px;margin:24px auto 10px}
.ag-hazard-marker{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:137px;border:2px solid #d3b27a;border-radius:50%;background:radial-gradient(ellipse,#76583f55,#1c1c2d66);box-shadow:inset 0 0 0 5px #292033,inset 0 0 0 6px #a8875455}
.ag-hazard-marker>span{font-size:10px;letter-spacing:3px}
.ag-hazard-marker>strong{font:700 47px Georgia,serif;line-height:1.15;color:#ffdf9c}
.ag-kind-hazard .ag-hazard-marker>small{font-size:9px;letter-spacing:1px;color:#e8d5b5;line-height:1.5}
.ag-hazard-marker.is-danger{border-color:#e38a7f;background:radial-gradient(ellipse,#8a394a66,#251b2f)}
.ag-hazard-marker.is-danger>strong{color:#ffb5a9}
.ag-hazard-marker.is-chance{border-color:#94b9a8;background:radial-gradient(ellipse,#38554a66,#211c2c)}
.ag-hazard-marker.is-chance>strong{color:#bff5cd}
.ag-hazard-bridge{font-size:35px;color:#c9ae80}
.ag-hazard-arena{position:relative;padding:6px 14px 20px;border-bottom:1px solid #d3b27a66;border-radius:0 0 38px 38px}
.ag-hazard-compass{position:absolute;inset:-45px 0 0;font-size:240px;line-height:1;color:#cda36d12;pointer-events:none}
.ag-hazard-table .ag-craps-dice{gap:40px;padding-top:12px}
.ag-hazard-table .ag-craps-die>path:first-of-type{fill:#9f876b;stroke:#f8e9ce}
.ag-hazard-table .ag-craps-die>path:nth-of-type(2){fill:#6c5b55}
.ag-hazard-table .ag-craps-die>rect{fill:#e9ddc8;stroke:#fff4e1}
.ag-hazard-table .ag-craps-die>circle{fill:#63394b}
.ag-hazard-table .ag-craps-die>text{fill:#896547}
.ag-hazard-phase{position:relative;font-size:12px;letter-spacing:3px;font-weight:800;margin:10px 0}
.ag-hazard-guide{position:relative;max-width:500px;margin:0 auto;font-size:12px;line-height:1.7;color:#e5d2b9}
.ag-hazard-table .ag-craps-rolls>span{background:#2a2234;border-color:#bda179}
.ag-hazard-mains{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;border:0;margin:0;padding:0;min-width:0}
.ag-hazard-mains legend{font-size:10px;letter-spacing:2px;margin-bottom:12px}
.ag-hazard-mains label{position:relative;cursor:pointer;min-width:0}
.ag-hazard-mains input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.ag-hazard-mains label>span{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:85px;border:1px solid #b6a080;border-radius:16px;background:#2c2436;color:#ebd2a9;padding:12px 3px}
.ag-hazard-mains b{font:700 29px Georgia,serif}
.ag-kind-hazard .ag-hazard-mains small{font-size:9px;color:#e0caae;white-space:nowrap}
.ag-hazard-mains input:checked+span{background:#73513966;border-color:#ffe0ab;box-shadow:inset 0 0 0 2px #d4ae6655}
.ag-hazard-mains input:focus-visible+span{outline:3px solid #ffe7b6;outline-offset:3px}
.ag-hazard-mains input:disabled+span{opacity:.6}
.ag-hazard-warning{font-size:12px;line-height:1.7;color:#e3ceb2}
.is-immersive .ag-kind-hazard .ag-controls .ag-game-options{grid-column:1/-1;grid-row:1}
@media(max-width:600px){.ag-hazard-markers{grid-template-columns:1fr 18px 1fr;gap:5px}.ag-hazard-marker{min-height:115px}.ag-hazard-marker>strong{font-size:36px}.ag-kind-hazard .ag-hazard-marker>small{font-size:8px;letter-spacing:0;max-width:90px}.ag-hazard-bridge{font-size:21px}.ag-hazard-table header h2{letter-spacing:8px}.ag-hazard-table .ag-craps-dice{gap:16px}.ag-hazard-mains{gap:4px}.ag-kind-hazard .ag-hazard-mains small{font-size:10px;white-space:normal;text-align:center;line-height:1.4}.ag-hazard-mains b{font-size:24px}.ag-hazard-mains label>span{min-height:90px}.ag-hazard-guide{font-size:11px}}
/* Pachislot: a compact neon cabinet with physical reveal buttons. */
.ag-game.ag-kind-pachislot .ag-play-surface{--felt:#14112b;background:radial-gradient(ellipse at top,#48233f,#101426 75%)}
.ag-pachislot-cabinet{max-width:680px;margin:auto;padding:28px;border:4px solid #c784b4;border-radius:32px;background:linear-gradient(130deg,#272438,#0b1423 55%,#3f203b);box-shadow:0 0 32px #d75eb644,inset 0 0 0 5px #0a101c;color:#fff0da;text-align:center}
.ag-pachislot-cabinet h2{font-size:clamp(28px,6vw,56px);letter-spacing:.12em;color:#a1ffed;text-shadow:0 0 20px #52dfce;margin:8px}
.ag-pachislot-cabinet p,.ag-pachislot-cabinet footer{font-size:13px;line-height:1.6}
.ag-pachislot-reels,.ag-pachislot-stops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.ag-pachislot-reels .ag-classic-reel{min-height:140px}
.ag-pachislot-cabinet .ag-classic-paytable{grid-template-columns:repeat(3,minmax(0,1fr))}
.ag-pachislot-stops button{min-height:48px;border:2px solid #ffb5df;border-radius:25px;background:linear-gradient(#dd4a95,#771b51);color:white;font-weight:700;cursor:pointer;box-shadow:0 5px 0 #410d30}
.ag-pachislot-stops button:disabled{opacity:.45;cursor:default;box-shadow:none}
.ag-pachislot-stops button:focus-visible{outline:3px solid #91ffec;outline-offset:4px}
@media(max-width:600px){.ag-pachislot-cabinet{padding:16px 10px}.ag-pachislot-reels,.ag-pachislot-stops{gap:6px}.ag-pachislot-reels .ag-classic-reel{min-height:105px}.ag-pachislot-stops button{font-size:11px}}
/* Moonlit Durbar: cards sit directly on an indigo felt table. */
.ag-game.ag-kind-teen-patti .ag-play-surface { background: radial-gradient(ellipse at 50% 40%,#34305e,#13142d 75%); }
.ag-teen-table { text-align:center; color:#e8d8ac; padding:24px 12px; border:2px solid #b69860; border-radius:80px 80px 36px 36px; background:radial-gradient(ellipse at center,#37335b99,#100e2680); box-shadow:inset 0 0 60px #060611; }
.ag-teen-crest { letter-spacing:.2em; font-size:12px; margin-bottom:20px; }
.ag-teen-table { width:min(100%,760px); margin-inline:auto; box-sizing:border-box; }
.ag-teen-seat { margin:16px auto; }
.ag-teen-seat h3 { font-size:12px; letter-spacing:.22em; }
.ag-teen-seat .ag-cards { display:flex; justify-content:center; gap:12px; min-height:125px; }
.ag-teen-seat p { font-size:13px; min-height:20px; }
.ag-teen-result { color:#ffe6a5; font-weight:700; }
.ag-teen-table small { display:block; font-size:10px; line-height:1.8; letter-spacing:.08em; }
@media(max-width:600px) {
  .ag-teen-table {padding:20px 6px;border-radius:42px;}
  .ag-teen-seat .ag-card {width:66px;min-width:66px;height:96px;}
  .ag-teen-seat .ag-cards {min-height:100px;gap:9px;}
  .ag-teen-crest {font-size:10px;}
}
/* Trente et Quarante: open card rows on Riviera-green felt. */
.ag-game.ag-kind-trente-et-quarante .ag-play-surface {background:radial-gradient(ellipse at 50% 25%,#18584b,#072c28 72%);}
.ag-trente-table {width:min(100%,850px);margin:auto;padding:24px 20px;text-align:center;color:#f0e4bd;box-sizing:border-box;}
.ag-trente-crest {font-family:Georgia,serif;letter-spacing:.22em;font-size:17px;color:#f4d68b;}
.ag-trente-guide {font-size:12px;color:#b9d9ca;}
.ag-trente-row {padding:16px 0 20px;border-bottom:1px solid #d7b97455;}
.ag-trente-row header {display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;margin-bottom:10px;}
.ag-trente-row h3 {font-family:Georgia,serif;font-size:21px;margin:0;letter-spacing:.12em;}
.ag-trente-row.rouge h3 {color:#ffb7a8;}
.ag-trente-row small {display:block;font:9px/1.6 sans-serif;letter-spacing:.12em;color:#bfd4ca;}
.ag-trente-row output {font-size:25px;text-align:right;min-width:90px;}
.ag-trente-row.is-winner h3::after {content:" ✦";color:#ffe293;}
.ag-trente-row.is-winner {background:linear-gradient(90deg,transparent,#ead08d16,transparent);}
.ag-trente-cards {display:flex;flex-wrap:wrap;gap:8px;min-height:96px;justify-content:center;}
.ag-trente-cards .ag-card {width:58px;min-width:58px;height:86px;flex:0 0 58px;}
.ag-trente-cards .ag-card-suit {font-size:30px;}
.ag-trente-first {margin-top:18px;font-size:11px;color:#d3dfcf;}
.ag-trente-result {font-size:16px;color:#ffe5a8;font-weight:700;min-height:24px;}
.ag-trente-table>small {font-size:10px;line-height:1.8;letter-spacing:.06em;}
.ag-trente-bets {border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}
.ag-trente-bets legend {font-size:10px;letter-spacing:.13em;margin-bottom:10px;color:#e3d6af;}
.ag-trente-bets label {position:relative;cursor:pointer;}
.ag-trente-bets input {position:absolute;opacity:0;width:1px;height:1px;}
.ag-trente-bets span {display:flex;min-height:68px;flex-direction:column;align-items:center;justify-content:center;border:1px solid #b89c65;border-radius:12px;background:#071e1e;color:#f5e5bf;padding:8px;transition:background .18s;}
.ag-trente-bets input:checked+span {background:#e5c77d;color:#13271f;box-shadow:0 0 20px #e5c77d25;}
.ag-trente-bets input:checked+span small {color:#19382a;}
.ag-trente-bets input:focus-visible+span {outline:3px solid #fff;outline-offset:3px;}
.ag-trente-bets small {font-size:9px;text-align:center;margin-top:5px;}
.ag-trente-note {font-size:11px;line-height:1.5;color:#d2dbce;}
@media(max-width:600px){
  .ag-trente-table {padding:18px 4px;}
  .ag-trente-crest {font-size:12px;letter-spacing:.12em;}
  .ag-trente-cards {gap:6px;}
  .ag-trente-cards .ag-card {width:48px;min-width:48px;flex-basis:48px;height:73px;}
  .ag-trente-cards .ag-card-suit {font-size:25px;}
  .ag-trente-bets {grid-template-columns:repeat(2,1fr);}
  .is-immersive .ag-game.ag-kind-trente-et-quarante .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-double-exposure .ag-play-surface {background:radial-gradient(ellipse at 50% 35%,#1e4e64,#081d31 80%);}
.ag-exposure-table {max-width:860px;width:100%;margin:auto;text-align:center;color:#d9e7ee;padding:20px 10px;box-sizing:border-box;}
.ag-exposure-seat {padding:10px 0;}
.ag-exposure-seat h3 {font-size:12px;letter-spacing:.17em;color:#c4e6ef;}
.ag-exposure-seat h3 strong {display:inline-block;font-size:24px;min-width:38px;margin-left:12px;color:#ffe5ad;}
.ag-exposure-cards {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;min-height:110px;}
.ag-exposure-cards .ag-card {width:70px;min-width:70px;height:102px;animation:exposure-arrive .35s ease-out;}
.ag-exposure-mark {font-family:Georgia,serif;font-size:21px;letter-spacing:.15em;color:#e0bd78;padding:18px 0;margin:10px 0;border-block:1px solid #b5dce440;}
.ag-exposure-mark span {display:block;font:10px/1.8 sans-serif;letter-spacing:.08em;margin-top:8px;color:#dce9ed;}
.ag-exposure-table small {font-size:10px;line-height:1.8;color:#c3d5de;}
.ag-exposure-table>p {color:#ffe3a1;font-weight:700;}
.ag-exposure-actions {display:flex;flex-wrap:wrap;gap:10px;width:100%;}
.ag-exposure-actions button {flex:1;min-height:54px;padding:12px;background:#dcebf0;color:#132535;border:1px solid #b9d5df;border-radius:12px;font-weight:700;cursor:pointer;}
.ag-exposure-actions button[data-exposure="double"] {background:#ebca86;}
.ag-exposure-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.ag-exposure-actions button:disabled {opacity:.5;cursor:wait;}
.is-immersive .ag-kind-double-exposure .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-double-exposure .ag-controls .ag-game-options {grid-column:1/-1;grid-row:1;}
.ag-kind-double-exposure .ag-game-options p {font-size:12px;line-height:1.6;}
@keyframes exposure-arrive {from{opacity:0;transform:translateY(-18px) rotate(-4deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ag-exposure-cards .ag-card{animation:none;}}
@media(max-width:600px){
 .ag-exposure-table {padding:12px 0;}
 .ag-exposure-mark {font-size:16px;}
 .ag-exposure-cards {gap:7px;min-height:90px;}
 .ag-exposure-cards .ag-card {width:55px;min-width:55px;height:82px;}
 .is-immersive .ag-game.ag-kind-double-exposure .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
 .ag-exposure-actions button {font-size:12px;}
}
.ag-game.ag-kind-pai-gow-tiles .ag-play-surface {background:radial-gradient(ellipse at 50% 30%,#624545,#291c25 85%);}
.ag-tiles-table {width:100%;max-width:900px;margin:auto;text-align:center;color:#f1ddbc;padding:16px 8px;box-sizing:border-box;}
.ag-tiles-table h3 {font-size:12px;letter-spacing:.15em;}
.ag-tiles-table small {display:block;font-size:10px;line-height:1.7;color:#e2cdbd;}
.ag-tiles-hands {display:flex;justify-content:center;gap:65px;margin:18px 0;}
.ag-tiles-seat h3 small {letter-spacing:0;margin:8px 0;}
.ag-tiles-pair,.ag-tiles-pick {display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
.ag-domino {width:58px;height:112px;border:2px solid #e7c588;border-radius:9px;box-sizing:border-box;background:linear-gradient(100deg,#fff9e6,#d5ceb8);box-shadow:4px 6px 0 #938575,6px 10px 15px #0006;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;color:#332825;animation:ultimate-deal .4s ease-out both;}
.ag-domino-half {width:32px;height:35px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;}
.ag-domino-half i {width:7px;height:7px;align-self:center;justify-self:center;border-radius:50%;}
.ag-domino-half .has-pip {background:#25262a;box-shadow:inset 0 1px 2px #000;}
.ag-domino-half.is-red .has-pip {background:#b12536;}
.ag-domino-divider {width:34px;border-top:1px solid #9b8e7d;margin:6px 0;}
.ag-domino.is-back {background:repeating-linear-gradient(45deg,#6f2732 0 5px,#782e3b 5px 7px);font:32px Georgia,serif;color:#e5c89c;}
.ag-tiles-emblem {border-block:1px solid #d2af7177;padding:18px;margin:25px auto;max-width:500px;font:36px Georgia,serif;color:#e7c58a;}
.ag-tiles-emblem span {display:block;font:20px Georgia,serif;letter-spacing:.22em;margin:12px 0;}
.ag-tiles-order {font-size:10px;letter-spacing:.12em;}
.ag-tiles-table>p {font-size:12px;line-height:1.7;}
.ag-tiles-pick {margin:22px 0;}
.ag-tiles-pick button {border:0;background:transparent;padding:8px;cursor:pointer;border-radius:10px;}
.ag-tiles-pick button small {margin-top:12px;}
.ag-tiles-pick [aria-pressed="true"] {background:#e3c68c33;outline:2px solid #f0d69d;transform:translateY(-5px);}
.ag-tiles-pick button:disabled {opacity:.5;cursor:wait;}
.ag-tiles-pick button:focus-visible,.ag-tiles-actions button:focus-visible {outline:3px solid white;outline-offset:4px;}
.ag-tiles-actions {display:flex;gap:12px;flex-wrap:wrap;}
.ag-tiles-actions button {flex:1;min-width:160px;min-height:54px;border:1px solid #e7c58a;border-radius:12px;background:#e1c8a1;color:#38282a;font-weight:700;padding:12px;cursor:pointer;}
.ag-tiles-actions button:disabled {opacity:.5;cursor:wait;}
.ag-tiles-verdict {color:#fff0c1;}
.is-immersive .ag-kind-pai-gow-tiles .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-pai-gow-tiles .ag-game-options {grid-column:1/-1;grid-row:1;}
.ag-kind-pai-gow-tiles .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-domino {animation:none;}}
@media(max-width:600px){
 .ag-tiles-table {padding:8px 0;}
 .ag-tiles-hands {gap:24px;}
 .ag-tiles-pair,.ag-tiles-pick {gap:8px;}
 .ag-domino {width:49px;height:100px;padding:6px;box-shadow:3px 4px 0 #938575,4px 6px 10px #0005;}
 .ag-tiles-pick button {padding:4px;}
 .ag-tiles-emblem span {font-size:16px;}
 .is-immersive .ag-game.ag-kind-pai-gow-tiles .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-free-bet-blackjack .ag-play-surface {background:radial-gradient(ellipse at 50% 25%,#526047,#172c28 85%);}
.ag-freebet-table {width:100%;max-width:900px;margin:auto;text-align:center;color:#f5e7c8;padding:18px 8px;box-sizing:border-box;}
.ag-freebet-table h3 {font-size:11px;letter-spacing:.14em;margin:14px 0;}
.ag-freebet-table h3 strong {font-size:16px;margin-left:10px;color:#ffe6a0;}
.ag-freebet-cards {display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:14px 0;}
.ag-freebet-cards .ag-card {width:65px;min-width:65px;height:96px;animation:ultimate-deal .4s ease-out both;}
.ag-freebet-sign {border-block:1px solid #e6cf8d66;padding:16px;margin:20px auto;max-width:540px;}
.ag-freebet-sign span {font:12px Georgia,serif;letter-spacing:.28em;}
.ag-freebet-sign h2 {font:32px Georgia,serif;letter-spacing:.1em;margin:10px 0;}
.ag-freebet-sign em {color:#edc76d;}
.ag-freebet-table small {font-size:10px;line-height:1.8;color:#dfdfcd;}
.ag-freebet-track {display:flex;justify-content:center;gap:25px;}
.ag-freebet-track span {font-size:9px;letter-spacing:.12em;}
.ag-freebet-track b {display:block;font:26px Georgia,serif;margin-top:5px;}
.ag-freebet-table>p {font-size:12px;line-height:1.6;}
.ag-freebet-marker {border:4px double #bda05f;border-radius:50%;width:100px;height:100px;margin:18px auto;display:flex;flex-direction:column;justify-content:center;background:#132e28;box-shadow:0 8px 15px #0005;}
.ag-freebet-marker>b {font-size:20px;color:#e2c587;}
.ag-freebet-marker small {font-size:8px;}
.ag-freebet-marker.is-ready {box-shadow:0 0 24px #eacb6577;border-color:#ffe8a2;}
.ag-freebet-marker.is-used {background:#705426;}
.ag-freebet-wager {letter-spacing:.1em;color:#ffe6a0;}
.ag-freebet-actions {display:flex;flex-wrap:wrap;gap:10px;width:100%;}
.ag-freebet-actions button {flex:1;min-width:110px;min-height:54px;border:1px solid #d8bf7d;border-radius:12px;background:#e9d9af;color:#20332c;padding:12px;font-weight:700;cursor:pointer;}
.ag-freebet-actions [data-freebet="free-double"] {background:#edc36a;}
.ag-freebet-actions button:disabled {opacity:.5;cursor:wait;}
.ag-freebet-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.is-immersive .ag-kind-free-bet-blackjack .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-free-bet-blackjack .ag-game-options {grid-column:1/-1;grid-row:1;}
.ag-kind-free-bet-blackjack .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-freebet-cards .ag-card {animation:none;}}
@media(max-width:600px){
 .ag-freebet-table {padding:8px 0;}
 .ag-freebet-sign h2 {font-size:24px;}
 .ag-freebet-cards .ag-card {width:47px;min-width:47px;height:72px;}
 .ag-freebet-cards .ag-card-suit {font-size:25px;}
 .ag-freebet-actions button {font-size:12px;}
 .is-immersive .ag-game.ag-kind-free-bet-blackjack .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-pontoon .ag-play-surface {background:radial-gradient(ellipse at 50% 25%,#514e6d,#20202e 85%);}
.ag-pontoon-table {width:100%;max-width:900px;margin:auto;text-align:center;color:#ece8db;padding:20px 8px;box-sizing:border-box;}
.ag-pontoon-table h3 {font-size:12px;letter-spacing:.14em;margin:14px 0;}
.ag-pontoon-table h3 strong {font-size:22px;color:#eddaa9;margin-left:12px;}
.ag-pontoon-table h3 em {font-size:10px;margin-left:8px;}
.ag-pontoon-cards {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:15px 0;}
.ag-pontoon-cards .ag-card {width:67px;min-width:67px;height:99px;animation:ultimate-deal .4s ease-out both;}
.ag-pontoon-table small {font-size:10px;line-height:1.8;color:#d1d0d9;}
.ag-pontoon-sign {font:24px Georgia,serif;letter-spacing:.14em;color:#e9d5a4;padding:20px 0;margin:20px 0;border-block:1px solid #ddc89466;}
.ag-pontoon-sign small {display:block;font:10px/2 sans-serif;margin-top:8px;letter-spacing:.08em;}
.ag-pontoon-ranks {display:flex;justify-content:center;align-items:center;gap:20px;margin:12px 0;font-size:10px;}
.ag-pontoon-ranks b {display:block;font:22px Georgia,serif;margin-top:6px;color:#f3dfac;}
.ag-pontoon-ranks i {color:#bdb2d0;font-size:20px;}
.ag-pontoon-count {display:flex;justify-content:center;gap:12px;margin:18px 0;}
.ag-pontoon-count span {border:1px solid #bcb0ca55;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:11px;color:#c3baca;}
.ag-pontoon-count .is-dealt {color:#252331;background:#dfcda1;border-color:#eddbb2;}
.ag-pontoon-wager {display:inline-block;border:1px solid #d4c39488;border-radius:50%;padding:14px 24px;color:#e9d8af;font-size:12px;}
.ag-pontoon-table>p {font-size:14px;color:#f2e4bd;}
.ag-pontoon-actions {display:flex;flex-wrap:wrap;gap:10px;width:100%;}
.ag-pontoon-actions button {flex:1;min-width:115px;min-height:56px;border:1px solid #d7c69c;border-radius:12px;background:#e2d2ad;color:#262438;padding:12px;font-weight:700;cursor:pointer;}
.ag-pontoon-actions button[data-pontoon="buy"] {background:#b6accd;}
.ag-pontoon-actions button:disabled {opacity:.5;cursor:wait;}
.ag-pontoon-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.is-immersive .ag-kind-pontoon .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-pontoon .ag-controls .ag-game-options {grid-row:1;grid-column:1/-1;}
.ag-kind-pontoon .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-pontoon-cards .ag-card {animation:none;}}
@media(max-width:600px){
 .ag-pontoon-table {padding:10px 0;}
 .ag-pontoon-sign {font-size:17px;letter-spacing:.08em;}
 .ag-pontoon-ranks {gap:10px;font-size:9px;}
 .ag-pontoon-cards {gap:6px;}
 .ag-pontoon-cards .ag-card {width:47px;min-width:47px;height:72px;}
 .ag-pontoon-cards .ag-card-suit {font-size:25px;}
 .ag-pontoon-actions button {font-size:12px;}
 .is-immersive .ag-game.ag-kind-pontoon .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-spanish-21 .ag-play-surface {background:radial-gradient(ellipse at 50% 25%,#345878,#142239 85%);}
.ag-spanish-table {max-width:900px;width:100%;margin:auto;text-align:center;color:#eee4d1;padding:18px 8px;box-sizing:border-box;}
.ag-spanish-seat h3 {font-size:12px;letter-spacing:.16em;}
.ag-spanish-seat strong {font-size:26px;display:inline-block;color:#f4d496;margin-left:14px;}
.ag-spanish-seat em {font-size:10px;margin-left:8px;color:#d2c29e;}
.ag-spanish-cards {display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:16px 0;}
.ag-spanish-cards .ag-card {width:66px;min-width:66px;height:98px;animation:ultimate-deal .4s ease-out both;}
.ag-spanish-table small {font-size:10px;color:#d5d9dd;line-height:1.8;}
.ag-spanish-sign {font:32px Georgia,serif;letter-spacing:.2em;color:#eccb8b;margin:25px 0 15px;padding:20px 0;border-block:1px solid #dab57b66;}
.ag-spanish-sign small {display:block;font:10px/2 sans-serif;letter-spacing:.1em;margin-top:8px;}
.ag-spanish-bonuses {display:flex;justify-content:center;gap:30px;font-size:10px;letter-spacing:.08em;}
.ag-spanish-bonuses b {display:block;font:22px Georgia,serif;color:#f1d28f;margin-top:7px;}
.ag-spanish-paynote {font-size:10px;color:#cfdae3;}
.ag-spanish-wager {display:inline-block;padding:14px 22px;border:1px solid #d2b47c88;border-radius:50%;font-size:12px;color:#efd7a3;}
.ag-spanish-table>p:not(.ag-spanish-paynote) {font-size:14px;color:#f7e3b7;}
.ag-spanish-actions {display:flex;flex-wrap:wrap;gap:9px;width:100%;}
.ag-spanish-actions button {flex:1;min-width:120px;min-height:55px;background:#e2c68e;color:#172b42;border:1px solid #d8bd82;border-radius:12px;padding:12px;font-weight:700;cursor:pointer;}
.ag-spanish-actions button[data-spanish="surrender"],.ag-spanish-actions button[data-spanish="rescue"] {background:#263d56;color:#eee1c6;}
.ag-spanish-actions button:disabled {opacity:.5;cursor:wait;}
.ag-spanish-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.is-immersive .ag-kind-spanish-21 .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-spanish-21 .ag-controls .ag-game-options {grid-row:1;grid-column:1/-1;}
.ag-kind-spanish-21 .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-spanish-cards .ag-card {animation:none;}}
@media(max-width:600px){
 .ag-spanish-table {padding:10px 0;}
 .ag-spanish-sign {font-size:24px;}
 .ag-spanish-bonuses {gap:18px;letter-spacing:0;}
 .ag-spanish-cards {gap:6px;}
 .ag-spanish-cards .ag-card {width:47px;min-width:47px;height:72px;}
 .ag-spanish-cards .ag-card-suit {font-size:25px;}
 .ag-spanish-actions button {font-size:12px;}
 .is-immersive .ag-game.ag-kind-spanish-21 .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-pai-gow-poker .ag-play-surface {background:radial-gradient(ellipse at 50% 30%,#246d61,#102c32 85%);}
.ag-pai-table {width:100%;max-width:960px;margin:auto;text-align:center;color:#eee5cf;padding:18px 8px;box-sizing:border-box;}
.ag-pai-table h3,.ag-pai-layout span {font-size:11px;letter-spacing:.12em;}
.ag-pai-layout {display:grid;grid-template-columns:2fr 5fr;gap:20px;align-items:start;}
.ag-pai-cards {display:flex;justify-content:center;gap:8px;margin:12px 0;}
.ag-pai-cards .ag-card,.ag-pai-selection .ag-card {width:58px;min-width:58px;height:86px;}
.ag-pai-cards .ag-card {animation:ultimate-deal .4s ease-out both;}
.ag-pai-sign {font:25px Georgia,serif;letter-spacing:.18em;color:#e7cf91;border-block:1px solid #e4cb8c66;margin:20px 0;padding:18px 0;}
.ag-pai-sign small {display:block;font:9px/2 sans-serif;letter-spacing:.1em;margin-top:6px;}
.ag-pai-table>p {font-size:13px;color:#fff1c8;}
.ag-pai-table>small {font-size:10px;color:#d5dfd5;}
.ag-pai-selection {display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0;}
.ag-pai-selection button {padding:4px;background:transparent;border:2px solid transparent;border-radius:10px;cursor:pointer;}
.ag-pai-selection button[aria-pressed="true"] {border-color:#ffe7a8;background:#e5cb8555;transform:translateY(-5px);}
.ag-pai-selection button small {display:block;color:#f5e7be;font-size:9px;margin-top:6px;}
.ag-pai-selection button:focus-visible,.ag-pai-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.ag-pai-actions {display:flex;gap:10px;width:100%;}
.ag-pai-actions button {flex:1;padding:16px 10px;min-height:54px;background:#e6d095;color:#173b35;border:1px solid #d8c78d;border-radius:12px;font-weight:700;cursor:pointer;}
.ag-pai-actions button:disabled,.ag-pai-selection button:disabled {opacity:.5;cursor:wait;}
.is-immersive .ag-kind-pai-gow-poker .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-pai-gow-poker .ag-controls .ag-game-options {grid-row:1;grid-column:1/-1;}
.ag-kind-pai-gow-poker .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-pai-cards .ag-card {animation:none;}}
@media(max-width:600px){
 .ag-pai-table {padding:10px 0;}
 .ag-pai-layout {grid-template-columns:1fr;gap:8px;}
 .ag-pai-cards {gap:5px;margin:8px 0;}
 .ag-pai-cards .ag-card,.ag-pai-selection .ag-card {width:43px;min-width:43px;height:65px;}
 .ag-pai-cards .ag-card-suit,.ag-pai-selection .ag-card-suit {font-size:23px;}
 .ag-pai-selection {gap:4px;}
 .ag-pai-selection button {padding:3px;}
 .ag-pai-sign {font-size:18px;letter-spacing:.1em;}
 .ag-pai-actions button {font-size:12px;}
 .is-immersive .ag-game.ag-kind-pai-gow-poker .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-ultimate-texas-holdem .ag-play-surface {background:radial-gradient(ellipse at 50% 30%,#753444,#24111f 85%);}
.ag-ultimate-table {width:100%;max-width:900px;margin:auto;text-align:center;color:#f0e4d4;padding:16px 10px;box-sizing:border-box;}
.ag-ultimate-table h3 {font-size:11px;letter-spacing:.15em;margin:10px 0;}
.ag-ultimate-table h3 span {display:block;color:#cfb58c;font-size:10px;margin-top:5px;}
.ag-ultimate-cards {display:flex;justify-content:center;gap:10px;}
.ag-ultimate-cards .ag-card {width:64px;min-width:64px;height:92px;animation:ultimate-deal .4s ease-out both;animation-delay:calc(var(--card-i)*.035s);}
.ag-ultimate-sign {font:23px Georgia,serif;letter-spacing:.19em;color:#e0c28a;padding:16px 0 10px;}
.ag-ultimate-sign small {display:block;font:9px/2 sans-serif;letter-spacing:.12em;}
.ag-ultimate-streets {display:flex;justify-content:center;gap:28px;margin:6px 0 14px;font-size:10px;color:#bda7ac;}
.ag-ultimate-streets [aria-current] {color:#ffe3a4;border-bottom:2px solid #e5c389;padding-bottom:5px;}
.ag-ultimate-board {padding:14px 8px;border-block:1px solid #d7b57455;}
.ag-ultimate-player {margin:16px 0;}
.ag-ultimate-wagers {display:flex;justify-content:center;gap:20px;}
.ag-ultimate-wagers>div {border:1px solid #dac18b99;border-radius:50%;width:108px;min-height:75px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#110b141f;}
.ag-ultimate-wagers b {font-size:10px;letter-spacing:.15em;color:#e4c99c;}
.ag-ultimate-wagers strong {font-size:13px;}
.ag-ultimate-table small {font-size:10px;}
.ag-ultimate-table>p {font-size:13px;color:#ffe2a1;}
.ag-ultimate-actions {display:flex;gap:10px;width:100%;flex-wrap:wrap;}
.ag-ultimate-actions button {flex:1;min-height:58px;padding:12px;border:1px solid #dac18b;background:#e8ce9c;color:#301b25;border-radius:12px;font-weight:700;cursor:pointer;}
.ag-ultimate-actions small {display:block;margin-top:6px;}
.ag-ultimate-actions button[data-ultimate="check"],.ag-ultimate-actions button[data-ultimate="fold"] {background:#412332;color:#f3e3c6;}
.ag-ultimate-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.ag-ultimate-actions button:disabled {opacity:.5;cursor:wait;}
.is-immersive .ag-kind-ultimate-texas-holdem .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-ultimate-texas-holdem .ag-controls .ag-game-options {grid-row:1;grid-column:1/-1;}
.ag-kind-ultimate-texas-holdem .ag-game-options p {font-size:12px;line-height:1.6;}
@keyframes ultimate-deal {from{opacity:0;transform:translate(25px,-30px) rotate(7deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ag-ultimate-cards .ag-card {animation:none;}}
@media(max-width:600px){
 .ag-ultimate-table {padding:12px 0;}
 .ag-ultimate-sign {font-size:17px;letter-spacing:.1em;}
 .ag-ultimate-cards {gap:6px;}
 .ag-ultimate-cards .ag-card {width:44px;min-width:44px;height:67px;}
 .ag-ultimate-cards .ag-card-suit {font-size:24px;}
 .ag-ultimate-wagers {gap:8px;}
 .ag-ultimate-wagers>div {width:82px;min-height:66px;}
 .ag-ultimate-actions button {font-size:12px;min-width:95px;}
 .is-immersive .ag-game.ag-kind-ultimate-texas-holdem .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
.ag-game.ag-kind-blackjack-switch .ag-play-surface {background:radial-gradient(ellipse at 50% 30%,#326351,#0b2928 80%);}
.ag-switch-table {width:100%;max-width:900px;margin:auto;text-align:center;padding:18px 8px;color:#e6e9d8;box-sizing:border-box;}
.ag-switch-table h3 {font-size:12px;letter-spacing:.13em;}
.ag-switch-table h3 strong {font-size:22px;margin-left:10px;color:#ffe3a2;}
.ag-switch-cards {display:flex;justify-content:center;gap:9px;flex-wrap:wrap;min-height:103px;}
.ag-switch-cards .ag-card {width:67px;min-width:67px;height:98px;animation:exposure-arrive .35s ease-out;}
.ag-switch-table small {font-size:10px;line-height:1.8;color:#c8dcd1;}
.ag-switch-mark {font:22px Georgia,serif;letter-spacing:.13em;color:#eccc89;padding:18px 0;margin:12px 0;border-block:1px solid #dcce8e55;}
.ag-switch-mark span {display:block;font:10px/1.7 sans-serif;letter-spacing:.05em;margin-top:8px;color:#e6e9d8;}
.ag-switch-hands {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ag-switch-hand {padding:12px 6px;border-bottom:2px solid #c5b77e55;}
.ag-switch-hand.is-active {background:linear-gradient(transparent,#e7d48e18);border-color:#e7d48e;}
.ag-switch-hand.is-active h3::before {content:"▸ ";color:#ffe3a2;}
.ag-switch-hand p {font-size:12px;min-height:20px;}
.ag-switch-cards.can-switch .ag-card:nth-child(2) {outline:3px solid #e8ce83;outline-offset:3px;box-shadow:0 0 25px #ffe4a14a;}
.ag-switch-status {color:#ffe1a2;font-weight:700;font-size:14px;}
.ag-switch-actions {display:flex;flex-wrap:wrap;gap:10px;width:100%;}
.ag-switch-actions button {flex:1;min-height:54px;background:#e5d197;border:1px solid #ddc182;border-radius:12px;color:#152b23;padding:12px;font-weight:700;cursor:pointer;}
.ag-switch-actions button:disabled {opacity:.5;cursor:wait;}
.ag-switch-actions button:focus-visible {outline:3px solid white;outline-offset:3px;}
.is-immersive .ag-kind-blackjack-switch .ag-controls {grid-template-columns:minmax(180px,1fr) minmax(0,2fr);}
.is-immersive .ag-kind-blackjack-switch .ag-controls .ag-game-options {grid-row:1;grid-column:1/-1;}
.ag-kind-blackjack-switch .ag-game-options p {font-size:12px;line-height:1.6;}
@media(prefers-reduced-motion:reduce){.ag-switch-cards .ag-card{animation:none;}}
@media(max-width:600px){
 .ag-switch-table {padding:12px 0;}
 .ag-switch-mark {font-size:17px;}
 .ag-switch-hands {gap:8px;}
 .ag-switch-cards {gap:6px;min-height:78px;}
 .ag-switch-cards .ag-card {width:46px;min-width:46px;height:70px;}
 .ag-switch-cards .ag-card-suit {font-size:24px;}
 .ag-switch-hand {padding:8px 2px;}
 .ag-switch-table h3 {font-size:10px;letter-spacing:0;}
 .ag-switch-actions button {font-size:12px;}
 .is-immersive .ag-game.ag-kind-blackjack-switch .ag-controls {display:flex;flex-direction:column;align-items:stretch;}
}
