/* Shared October reference: midnight felt, silver rails, ice-blue controls. */
body.poker-theme .card-game-room{position:relative;background:radial-gradient(ellipse at 50% 25%,#102844,#030d1b 75%)!important;color:#edf4fb;font-family:Roboto,Arial,sans-serif!important;isolation:isolate}
.card-game-room>div:first-child{background:#07111eed!important;border-color:#4a5a6b!important;min-height:58px;height:auto;gap:6px;padding:8px}
.card-game-room>div:first-child button{border-radius:18px;border-color:#697f91!important;background:#0e1d2c!important;color:#dce9f5;font-size:11px}
.card-game-room>div:first-child span[class*="text-blue"],.card-game-room>div:first-child span[class*="text-teal"]{color:#a1d9ef!important}
.card-game-room .glass-panel,.card-game-room [class*="bg-slate-900/"]{background:#0b1724f5!important;border-color:#556b7c!important;box-shadow:0 8px 28px #0005}
.card-game-room .glass-panel{border-radius:20px}
.card-game-room button:focus-visible{outline:2px solid #a6dff7;outline-offset:3px}
.card-game-room button[aria-busy="true"],.card-game-room[aria-busy="true"] button{cursor:progress}
.card-game-room .card-game-primary,.card-game-room button[class*="from-blue"],.card-game-room button[class*="from-emerald"],.card-game-room button[class*="from-teal"],.card-game-room button[class*="bg-emerald-600"],.card-game-room .btn-call{background:linear-gradient(#b8e4f8,#78bfe0)!important;color:#071827!important;border:1px solid #c4ebfa!important;border-radius:12px;box-shadow:0 3px 0 #355a71,0 6px 16px #0004!important;min-height:42px}
.card-game-room .btn-fold{background:linear-gradient(#874253,#4c2430)!important;border:1px solid #b97987!important;border-radius:12px}
.card-game-room .card-back{background:repeating-linear-gradient(45deg,#bbc6cd 0 1px,transparent 1px 5px),repeating-linear-gradient(-45deg,#bbc6cd 0 1px,#283744 1px 5px)!important;border:2px solid #e6eef4!important;border-radius:5px;box-shadow:0 2px 4px #0008}
.card-game-room .card-back:before,.card-game-room .card-back:after{display:none!important}
.card-game-room .card-face{background:#faf9f4!important;border:1px solid #cfd7df!important;border-radius:5px;box-shadow:0 3px 6px #0006}
.card-game-room .player-pod{border:2px solid #bccfdf!important;box-shadow:0 0 0 3px #07111c,0 4px 12px #0008!important;border-radius:50%}
.card-game-room .player-pod.active-glow{border-color:#b3e6f8!important;box-shadow:0 0 0 3px #07111c,0 0 18px #9bdaf5a0!important}
.card-game-room .stack-capsule{background:#071321ed!important;color:#a3dced!important;border:1px solid #8195a8!important;border-radius:7px;padding:3px 10px;box-shadow:none!important}
.card-game-room .action-badge{font-size:9px;white-space:nowrap}
body.poker-theme .durak-room .poker-table{width:calc(100% - 12px)!important;max-width:440px!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;min-height:210px;margin:0!important;border-radius:46% / 29%!important;background:linear-gradient(115deg,#283c50,#abc0d0 14%,#253545 22%,#101d2b 65%,#71889b 88%,#d0e0eb)!important;padding:10px;border:1px solid #bdd6e9!important;box-shadow:0 0 0 2px #152333,0 12px 25px #0009,inset 0 0 0 3px #35495c!important;transform:none!important}
body.poker-theme .durak-room .pt-felt3d{position:absolute;inset:10px!important;border-radius:inherit;background:radial-gradient(ellipse at 45% 40%,#10335b,#08203e 60%,#05152b)!important;border:2px solid #020b15!important;box-shadow:inset 0 0 28px #0009!important;transform:none!important}
body.poker-theme .durak-room .pt-felt3d:before{content:'';position:absolute;inset:22px 16px;border:1px solid #719bb52b;border-radius:inherit;background:none!important}
body.poker-theme .durak-room .pt-felt3d:after{content:'SYNGA POKER';position:absolute;left:50%;top:68%;transform:translateX(-50%);color:#89afd83b;font-size:24px;font-weight:800;letter-spacing:.08em;background:none!important;width:auto;height:auto}
.durak-room .card-game-playfield{padding:68px 10px 10px!important}
.durak-room .card-game-dock{background:#08121ff5!important;border-top:1px solid #536d83!important;padding-bottom:max(12px,env(safe-area-inset-bottom));min-height:135px}
.card-game-room .card-game-dialog{border:1px solid #7894aa!important;background:#091522f5!important;box-shadow:0 16px 60px #000b;max-height:calc(100% - 24px);overflow-y:auto}
.card-game-room .card-game-dialog h3{color:#f3f7fb!important}
.ofc-room .ofc-playfield{margin:8px 6px 60px;border:2px solid #9cb1c3;border-radius:44px;background:radial-gradient(ellipse at 50% 25%,#10335b,#071b34 70%);box-shadow:0 0 0 3px #253547,inset 0 0 0 6px #101b28,inset 0 0 34px #0008;padding:16px 10px 24px;scrollbar-width:thin;scrollbar-color:#68849a #0a1a2a}
.ofc-room .ofc-opponents{display:flex;flex-wrap:nowrap!important;gap:8px!important;justify-content:center;flex-shrink:0}
.ofc-room .ofc-opponent{background:#061425c9!important;border:1px solid #698297!important;border-radius:16px;padding:8px 5px;min-width:0;flex:0 1 auto}
.ofc-room .ofc-opponent img{border-radius:50%;border:1px solid #aecbdf}
.ofc-room .ofc-hero-board{position:relative;padding:16px 4px;margin:10px 0;border:1px solid #6c92ad57;border-radius:22px;background:#081a3299}
.ofc-room .ofc-hero-board:before{content:'SYNGA POKER';display:block;text-align:center;font-size:17px;letter-spacing:.16em;font-weight:800;color:#86a9cf77;margin-bottom:12px}
.ofc-room [data-ofc-row]{position:relative}
.ofc-room [data-ofc-row]>.border-dashed{border-color:#93b2cc55!important;background:#10274066}
.ofc-room .ofc-confirm{position:sticky;bottom:0;z-index:20;background:#0c1b2ce8;padding:8px;border:1px solid #6d8295;border-radius:14px;box-shadow:0 4px 18px #0009}
.card-game-error{display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;text-align:center;padding:32px;height:100%;background:#071321;color:#e6eff8}
.card-game-error button{padding:12px 24px;background:#9edcf3;color:#071321;border-radius:12px}
@media(max-width:430px){.ofc-room .ofc-opponent .card-face,.ofc-room .ofc-opponent .card-back,.ofc-room .ofc-opponent .border-dashed{width:25px!important;height:35px!important;min-width:25px}.ofc-room .ofc-opponent .gap-1{gap:2px}.ofc-room .ofc-hero-board .card-face,.ofc-room .ofc-hero-board .border-dashed{width:38px!important;height:53px!important;min-width:38px}.ofc-room .ofc-hero-board>div{gap:4px}.ofc-room .ofc-hero-board span.text-\[9px\]{max-width:62px;padding:2px;font-size:8px}.ofc-room .ofc-playfield{padding:16px 8px 20px}.card-game-room .card-game-dialog{padding:20px 14px}.card-game-room>div:first-child{flex-wrap:wrap}.card-game-room>div:first-child>div:nth-child(2){min-width:105px}}
@media(max-height:700px){.durak-room .card-game-playfield{padding-top:54px!important}.durak-room .card-game-dock{min-height:116px}.durak-room .card-face[data-card-size="lg"]{width:42px!important;height:59px!important}.card-game-room .card-game-dialog{padding:14px}.ofc-room .ofc-playfield{margin-bottom:50px}}

.card-game-room button[aria-label="GOD MODE"][aria-pressed="true"]{background:#c4adf0!important;color:#190f2b!important;border-color:#e1d3ff!important;box-shadow:0 0 15px #bd97ee66!important}
.card-game-god-stock{position:relative;color:#d9c5f6;font-size:10px;font-weight:800;max-width:100%;text-align:center}
.card-game-god-stock summary{cursor:pointer;padding:5px}
.card-game-god-cards{position:absolute;bottom:30px;left:0;right:0;display:flex;gap:5px;overflow-x:auto;padding:12px;background:#111624f5;border:1px solid #af95d0;border-radius:12px;box-shadow:0 8px 24px #0008}
.card-game-god-cards>div{flex-shrink:0}
