dialog.lounge-wide{width:min(1080px,96vw);max-width:1080px}.lounge-wide #playArea{display:block;width:100%}.art-chess{background:linear-gradient(135deg,#607c43,#263422)}.art-blackjack{background:radial-gradient(ellipse at 50% 100%,#215b4d,#102b28);color:#e2c184}.art-poker{background:radial-gradient(ellipse at 50% 100%,#544268,#221b30);color:#ead8ad}.chess-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr);gap:22px;width:100%;text-align:left}.chess-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;border-radius:5px;overflow:hidden;box-shadow:0 8px 24px #0004}.chess-square{position:relative;border:0;border-radius:0;padding:0;aspect-ratio:1;display:grid;place-items:center;touch-action:none;overflow:hidden}.chess-square.light{background:#eeeed2;color:#769656}.chess-square.dark{background:#769656;color:#eeeed2}.chess-square.last-move{background:#c6cf65}.chess-square.selected{background:#f6e768}.piece{font-family:'Segoe UI Symbol','Arial Unicode MS',serif;font-size:clamp(24px,5vw,60px);line-height:1;z-index:1;pointer-events:none;user-select:none}.white-piece{color:#fff;text-shadow:1px 1px 1px #151515,-1px -1px 1px #151515,0 3px 2px #0005}.black-piece{color:#222;text-shadow:0 1px 1px #fff8}.rank-label,.file-label{position:absolute;font:bold 11px sans-serif;z-index:2}.rank-label{left:3px;top:2px}.file-label{right:3px;bottom:2px}.move-dot{position:absolute;background:#17230b44;border-radius:50%;width:27%;height:27%;z-index:3}.chess-player{display:flex;align-items:center;gap:10px;padding:12px 0}.chess-player small{display:block;color:#a8a8a0;font-size:11px;margin-top:4px}.avatar{background:#454641;border-radius:5px;width:38px;height:38px;display:grid;place-items:center;font-size:30px}.avatar.you{background:#789b4e}.chess-sidebar{background:#282925;border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:10px}.chess-sidebar h3{margin:8px 0;font-size:23px}.chess-sidebar p{color:#b6b6ae;line-height:1.6;font-size:13px;margin:0}.move-history{min-height:140px;max-height:220px;overflow:auto;background:#22231f;padding:15px;display:grid;grid-template-columns:30px 1fr 1fr;align-content:start;gap:12px;font:14px monospace;margin:10px 0;flex:1}.chess-sidebar button,.casino-actions button,.promotion button{background:#41443a;border:1px solid #5d6350;color:#f6f6ed;padding:12px;border-radius:6px;font-weight:700}.chess-sidebar .chess-new{background:#81a64f;border-color:#99b96d;color:#fff;box-shadow:0 3px #4c6b2a}.promotion{display:flex;flex-wrap:wrap;gap:6px}.promotion b{width:100%}.casino-room{width:100%;background:radial-gradient(ellipse at top,#22382f,#101c19 65%);border:1px solid #806c3d;border-radius:15px;padding:26px;color:#f2e8d1}.casino-mast{text-align:center}.casino-mast>span{font-size:10px;letter-spacing:5px;color:#c0a772}.casino-mast h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(25px,4vw,42px);letter-spacing:5px;margin:10px 0}.casino-mast small{letter-spacing:4px;color:#c7b786;font-size:9px}.casino-bank{display:flex;justify-content:space-between;margin:22px 10px;color:#a6b5ab;font-size:10px;letter-spacing:2px}.casino-bank b{display:block;color:#e3c68a;font:26px Georgia,serif;letter-spacing:0;margin-top:6px}.felt{background:radial-gradient(ellipse,#24694f,#124631 75%);border:9px solid #3d3023;outline:2px solid #977844;border-radius:110px;padding:24px 18px;box-shadow:inset 0 0 55px #0006,0 16px 30px #0005;text-align:center}.seat-label{color:#d3d6ba;letter-spacing:2px;font-size:11px;margin:10px}.lounge-hand{display:flex;justify-content:center;gap:9px;min-height:88px;flex-wrap:wrap}.lounge-card{display:inline-flex;position:relative;vertical-align:middle;width:64px;height:89px;background:linear-gradient(120deg,#fffdf3,#e5e3d7);color:#1e2624;border:1px solid #d7d6c8;border-radius:7px;box-shadow:0 5px 8px #0005;text-align:left;flex-shrink:0;animation:cardDeal .22s ease-out}.lounge-card b{position:absolute;top:5px;left:7px;font:700 20px Georgia,serif}.lounge-card b small{display:block;font-size:15px;line-height:1}.lounge-card em{position:absolute;right:10px;bottom:8px;font:35px Georgia,serif}.lounge-card.red{color:#b3393d}.card-back{background:repeating-linear-gradient(45deg,#283b54 0 3px,#344963 3px 6px);border:4px solid #e2ddcd;color:#ddc591;align-items:center;justify-content:center;font-size:34px}.felt-logo{margin:25px 0;color:#cfbe81;letter-spacing:3px;font:16px Georgia,serif}.felt-logo small{display:block;margin-top:9px;font:10px sans-serif;letter-spacing:1px;color:#a2bfaa}.casino-result{text-align:center;padding:22px 5px 12px;color:#e9d5a3;font:19px Georgia,serif;min-height:55px}.chip-row,.casino-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:14px 0}.chip{border:5px dashed #f0ddae;border-radius:50%;width:54px;height:54px;background:#992e42;color:#fff6df;font-weight:bold;box-shadow:0 3px #491422}.chip:nth-child(2){background:#285a8c}.chip:nth-child(3){background:#35363e}.chip:nth-child(4){background:#785397}.chip.chosen{outline:3px solid #e3c788;outline-offset:4px}.casino-actions button:first-child{background:linear-gradient(#e6c990,#b6965c);color:#262014;border-color:#efd8a8}.casino-actions button{min-width:90px}.casino-room button:disabled{opacity:.35;cursor:not-allowed}.casino-note{text-align:center;font-size:9px;letter-spacing:2px;color:#93a197;margin-top:24px}.poker-felt{background:radial-gradient(ellipse,#3c5267,#203343);border-color:#312a35}.community{display:flex;justify-content:center;gap:8px;margin:20px 0}.card-slot{width:64px;height:89px;border:1px solid #b9c4ce33;border-radius:7px;display:grid;place-items:center;color:#b9c4ce33;font-size:30px}.pot-badge{display:inline-block;border:1px solid #9e8756;border-radius:20px;padding:6px 22px;margin-top:14px;font-size:10px;letter-spacing:2px;color:#ddc794}.pot-badge b{font-size:18px;margin-left:8px}.poker-rules{font-size:11px;text-align:center;line-height:1.7;color:#adbaae}@keyframes cardDeal{from{transform:translateY(-12px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:700px){.chess-layout{grid-template-columns:1fr}.chess-sidebar{padding:16px}.move-history{min-height:70px;max-height:110px}.piece{font-size:clamp(27px,8vw,52px)}.casino-room{padding:15px 8px}.felt{border-width:5px;border-radius:45px;padding:16px 5px}.lounge-card,.card-slot{width:47px;height:69px}.lounge-card b{font-size:17px;left:5px}.lounge-card em{font-size:25px;right:6px;bottom:6px}.lounge-hand{min-height:69px;gap:5px}.community{gap:4px}.casino-bank{margin:18px 8px}.casino-mast h3{letter-spacing:2px}.casino-actions{gap:7px}.casino-actions button{min-width:65px;font-size:12px}.casino-note{letter-spacing:1px;font-size:8px}}

.history-empty{grid-column:1/-1;color:#aeb2a4;line-height:1.7}.chess-board{container-type:inline-size}.piece{font-size:10cqw}@media(min-width:701px){.chess-layout{grid-template-columns:minmax(300px,calc(90vh - 275px)) minmax(230px,1fr);justify-content:center}.chess-sidebar{padding:18px;gap:7px}.chess-sidebar h3{font-size:20px}.move-history{min-height:80px;max-height:140px}.chess-player{padding:8px 0}}