:root{color-scheme:dark;--bg:#091116;--panel:#15232b;--line:rgba(213,185,119,.19);--text:#f5f0df;--sub:#9caaac;--gold:#e6be69;--green:#1e554f;--red:#ac4542;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 80% 48% at 50% 7%,#253d42 0,transparent 70%),#081014;color:var(--text);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{border:0;border-radius:11px;padding:11px 16px;cursor:pointer;font-weight:750;color:var(--text);touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button:not(:disabled):active{transform:translateY(1px)}input,select{background:#101a21;border:1px solid #53615e;border-radius:10px;color:#f7f4e9;padding:12px;width:100%;outline:none;min-width:0}input:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 2px #e2bc6540}label{font-size:.82rem;color:#d9cdb3;display:grid;gap:7px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.55rem,4vw,2.15rem)}h2{font-size:1.2rem}h3{font-size:1rem}p{line-height:1.45}.muted{color:var(--sub)}.tiny{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.topbar{height:69px;padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#09131acc;position:relative;z-index:5;gap:12px}.wordmark{font-family:Georgia,serif;font-size:1.2rem;letter-spacing:.13em;font-weight:bold;display:flex;align-items:center;gap:9px;white-space:nowrap}.wordmark small{font-family:Arial,sans-serif;display:block;font-size:8px;letter-spacing:.23em;color:var(--gold);margin-top:3px}.fox{font-size:2rem;color:var(--gold)}.top-controls{display:flex;align-items:center;gap:7px}.pill{font-size:.73rem;padding:6px 9px;border-radius:20px;white-space:nowrap}.pill.online{background:#17543b;color:#aaf6c3}.pill.offline{background:#552d2e;color:#ffe0da}.primary{background:linear-gradient(150deg,#edcc7f,#bc8f41);color:#262015}.secondary{background:linear-gradient(135deg,#356c61,#163c38);color:#eefbf3}.ghost{border:1px solid #59665f;background:#1a292b;color:#f4e9cb}.small{font-size:12px;padding:9px 11px}.panel{background:linear-gradient(145deg,#1b2a2e,#0f1a22);border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:0 14px 42px #0002}.gate{max-width:460px;margin:min(14vh,110px) auto 40px;text-align:center;display:grid;gap:18px}.gate-icon{font-size:4rem;color:var(--gold)}.form-inline{display:flex;gap:10px}.gate p{color:var(--sub)}main{width:min(1480px,100%);margin:0 auto;min-height:calc(100vh - 105px)}.lobby{padding:clamp(12px,3vw,30px);display:grid;gap:18px}.intro{display:grid;gap:12px}.intro p{color:var(--sub)}.identity-grid,.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.identity-grid{max-width:800px}.lobby-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stacked{display:grid;gap:13px;margin-top:16px}.rooms-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.room-row{display:flex;justify-content:space-between;align-items:center;border:1px solid #50605946;border-radius:12px;padding:12px;margin-bottom:8px;gap:8px}.room-row small{display:block;margin-top:4px}.room-list{max-height:290px;overflow-y:auto}.toast{position:fixed;left:50%;top:80px;transform:translate(-50%,-15px);background:#35291f;color:#ffdfa9;border:1px solid #9b6f32;border-radius:13px;padding:13px 16px;max-width:min(95vw,500px);z-index:99;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:14px;box-shadow:0 12px 30px #0008}.toast.visible{opacity:1;transform:translate(-50%,0)}.game{padding:13px 12px 28px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 auto 12px;width:min(1180px,100%)}.game-heading p{font-size:12px;color:var(--sub);margin-top:5px}.game-buttons{display:flex;gap:7px}.game-layout{display:grid;grid-template-columns:minmax(620px,1fr) 320px;gap:14px;max-width:1200px;margin:0 auto}.table-area{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 2px}.stage{position:relative;width:min(100%,850px);aspect-ratio:16 / 10;background:radial-gradient(ellipse,#30423d 5%,#11191d 70%);overflow:visible;isolation:isolate;border-radius:28px}.stage.bg-red{background:#301b1e url('/assets/carpet-red.webp') center/cover no-repeat}.stage.bg-green{background:#15291e url('/assets/carpet-green.webp') center/cover no-repeat}.felt{position:absolute;inset:3% 5%;border-radius:50% / 50%;background:radial-gradient(ellipse at 40% 36%,#1c6089,#124267 54%,#092741);border:13px solid #5b3823;box-shadow:inset 0 0 0 3px #a27a47,inset 0 0 45px 15px #001b42bb,0 3px 0 5px #ad854b,0 18px 28px #000b}.stage.felt-green .felt{background:radial-gradient(ellipse,#216b52,#123e34 70%,#0c2521)}.stage.felt-wood .felt{background:#432a1d url('/assets/wood.webp') center/cover no-repeat;box-shadow:inset 0 0 0 3px #9d783d,inset 0 0 30px 18px #14090080,0 3px 0 5px #ad854b,0 18px 28px #000b}.sector-lines{position:absolute;inset:0;width:100%;height:100%;opacity:.85}.table-watermark{position:absolute;left:50%;top:9%;transform:translateX(-50%);font-family:Georgia,serif;letter-spacing:.14em;font-size:clamp(10px,1.7vw,15px);color:#ead9a288;text-shadow:0 1px 1px #0005;white-space:nowrap}.center-field{position:absolute;left:11%;right:11%;top:43%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.pot{color:#ffda84;text-shadow:0 2px 5px #000;font-size:clamp(11px,2vw,17px);font-weight:900;letter-spacing:.07em}.board{display:flex;justify-content:center;gap:4px;min-height:64px}.playing-card{width:clamp(31px,5vw,51px);height:clamp(47px,7vw,74px);display:flex;align-items:flex-start;justify-content:center;padding-top:4px;border-radius:5px;border:2px solid #e8d9ad;background:linear-gradient(160deg,#fffdf4,#e1ded3);color:#142932;box-shadow:0 3px 6px #0009;font-size:clamp(13px,2.4vw,23px);font-weight:900;white-space:nowrap;font-family:Georgia,serif}.playing-card.red-card{color:#bc3334}.card-hidden{background:repeating-linear-gradient(45deg,#781d2c,#781d2c 4px,#caad77 4px,#caad77 7px,#182e43 7px,#182e43 10px);color:#f8e9bc;align-items:center;padding:0;text-shadow:0 1px 4px #000;font-size:18px}.street{color:#dfd3b2;font-size:11px;font-weight:800;letter-spacing:.15em}.result{color:#fff0ad;font-size:13px;font-weight:800;text-align:center;max-width:100%;overflow-wrap:anywhere}.seat-layer{position:absolute;inset:0;pointer-events:none}.seat{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:2px;width:88px;pointer-events:auto;z-index:3;text-align:center}.avatar{position:relative;width:51px;height:51px;flex-shrink:0;border-radius:50%;border:3px solid #d7a64e;background:#182b36;box-shadow:0 3px 8px #0009;display:grid;place-items:center;font-size:25px;overflow:hidden}.avatar-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}.seat.active .avatar{outline:2px solid #e6e79d;outline-offset:3px;box-shadow:0 0 11px #f9dc74}.seat.hero .avatar{border-color:#f9d58a}.seat.folded{opacity:.58}.seat.absent .avatar{filter:grayscale(.9)}.seat-name{font-size:9px;font-weight:800;text-shadow:1px 1px 3px #000,-1px -1px 3px #000;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat-stack{font-size:10px;font-weight:800;color:#ffde95;text-shadow:0 1px 3px #000}.seat-bet{position:absolute;left:50%;top:-23px;transform:translateX(-50%);font-size:10px;color:#ffe795;font-weight:900;text-shadow:0 1px 5px #000;white-space:nowrap}.turn-marker{position:absolute;right:4px;top:6px;color:#ffffb4}.dealer{position:absolute;right:1px;top:27px;display:grid;place-items:center;border-radius:50%;width:17px;height:17px;background:#f3e6cb;color:#192027;border:2px solid #827043;font-weight:900;font-size:11px}.moon{position:absolute;top:1px;right:1px;border-radius:50%;background:#07131bd9;color:#fff;padding:2px;font-size:16px}.mini-cards{position:absolute;display:flex;justify-content:center;top:-22px;left:50%;transform:translateX(-50%)}.tiny-card{width:14px;height:20px;border-width:1px;border-radius:2px;margin-right:-5px;font-size:10px}.empty-seat .avatar{background:#182e344d;border:1px dashed #eccb856e;color:#cfb77f}.seat-free{font-size:8px;color:#ead9b9;text-shadow:0 1px 3px #000}.seat-hint{position:absolute;left:50%;bottom:7%;transform:translateX(-50%);z-index:4;background:#151e23dd;padding:8px;border-radius:10px;font-size:10px;text-align:center;white-space:nowrap;color:#d5c393}.my-hand{height:84px;display:flex;justify-content:center;gap:5px;align-items:flex-end;margin-top:-18px;z-index:4;position:relative;pointer-events:none}.my-hand .playing-card{width:53px;height:76px;font-size:24px}.action-panel{display:flex;gap:8px;justify-content:center;width:min(100%,530px)}.action{flex:1;min-width:0;padding:13px 5px;border:1px solid #d6b87050;box-shadow:inset 0 2px #ffffff27,0 5px 10px #0005;letter-spacing:.05em;font-size:clamp(12px,2vw,17px);min-height:52px}.action.fold{background:linear-gradient(#a14d49,#60292b)}.action.call{background:linear-gradient(#397a67,#16503f)}.action.raise{background:linear-gradient(#eac980,#a97732);color:#251a12}.action.raise.raised{box-shadow:0 0 0 3px #f6e8c567}.extra-panel{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;width:min(100%,530px)}.extra-panel button{font-size:12px;padding:8px 12px}.raise-controls{width:min(100%,530px);padding:10px 14px;background:#172b2dcf;border:1px solid #b5a07a6b;border-radius:13px}.raise-controls label{display:flex;align-items:center;justify-content:space-between}.inline-val{padding:5px 9px;background:#243f42;color:#f3d07f}.raise-controls input[type=range]{accent-color:var(--gold);width:100%;margin:14px 0 5px}.raise-range{display:flex;justify-content:space-between;color:#dacba5;font-size:10px}.raise-controls p{margin-top:7px}.side-pane{min-height:410px;border:1px solid #3f544f;border-radius:16px;padding:15px;background:linear-gradient(160deg,#1a2d32,#111b22);display:flex;flex-direction:column;gap:10px}.pane-head{display:flex;justify-content:space-between;align-items:center}.chat-messages{height:270px;overflow:auto;display:flex;flex-direction:column;gap:10px;background:#0b171d;border-radius:10px;padding:12px}.chat-row{display:flex;flex-direction:column;gap:3px;font-size:12px;overflow-wrap:anywhere}.chat-row b{color:#e2c47f;font-size:11px}.chat-input{display:flex;gap:6px;margin-top:8px}.chat-input input{width:100%}.chat-input button{padding:9px}#skinsPane{display:grid;gap:15px}#skinsPane p{margin:4px 0 2px}footer{text-align:center;color:#879b9e;font-size:10px;letter-spacing:.1em;padding:8px 0 15px}
@media(max-width:850px){.lobby-cols{grid-template-columns:1fr}.game-layout{grid-template-columns:minmax(0,1fr)}.side-pane{position:fixed;bottom:0;left:0;right:0;z-index:11;max-height:58vh;min-height:unset;overflow:auto;border-radius:18px 18px 0 0;box-shadow:0 -15px 60px #000b;transform:translateY(110%);transition:transform .18s}.side-pane.open{transform:translateY(0)}.chat-messages{height:190px}.stage{width:min(100%,480px);aspect-ratio:1000 / 1360}.game-heading{margin-bottom:6px}}@media(max-width:540px){.topbar{height:61px}.wordmark{font-size:15px}.fox{font-size:23px}.pill{font-size:10px;padding:5px 6px}.top-controls .small{font-size:11px;padding:7px}.lobby{padding:10px}.panel{padding:16px}.game{padding:7px 4px 12px}.game-heading{padding:0 9px}.game-heading h2{font-size:15px}.game-buttons{gap:4px}.game-buttons .small{font-size:10px;padding:6px 7px}.game-heading p{font-size:9px}.stage{width:min(100%,440px);aspect-ratio:1000 / 1360}.felt{border-width:9px}.seat{width:63px}.avatar{width:43px;height:43px;font-size:22px;border-width:2px}.seat-name{font-size:8px}.seat-stack{font-size:9px}.seat-bet{font-size:8px}.table-watermark{font-size:9px}.my-hand{height:64px;margin-top:-16px}.my-hand .playing-card{width:39px;height:57px;font-size:18px}.center-field{gap:4px}.board{min-height:48px;gap:2px}.board .playing-card{width:34px;height:49px;font-size:15px}.action{min-height:47px}.extra-panel button{padding:7px 9px;font-size:11px}.gate{margin:9vh 12px 30px}}@media(max-height:780px) and (max-width:540px){.stage{max-width:340px}.my-hand{height:53px}.my-hand .playing-card{width:35px;height:52px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.stage.back-red .card-hidden{background:repeating-linear-gradient(45deg,#731b2b,#731b2b 5px,#aa7e4a 5px,#aa7e4a 7px)}.stage.back-plaid .card-hidden{background:repeating-linear-gradient(45deg,#eee7c9,#eee7c9 5px,#5f7a57 6px,#be5952 9px,#fff3d7 11px);color:#391e15;text-shadow:none}

/* ===== ПОКЕРЛИС — VISUAL MATCH TO iOS TABLE (2026-10-29) ===== */
:root{--felt-mid:#0f5182;--felt-edge:#08294a;--starlight:#f7cf5b;--native-blue:#00204a;--native-gold:#ad762f}
body{background:#03050e;color:#f6f2ee}
body.in-game{background:#050918}
body.in-game .topbar{height:68px;background:#040711f6;border-bottom:0;max-width:100%;padding:5px 2.5vw}
body.in-game .wordmark{font-family:system-ui,-apple-system,sans-serif;font-size:clamp(15px,1.75vw,22px);letter-spacing:.035em;font-weight:1000;gap:7px}
body.in-game .wordmark small{font-family:system-ui,-apple-system,sans-serif;letter-spacing:.04em;font-size:9px;color:#c0b9b2;font-weight:650}
body.in-game .fox{order:2;font-size:19px}
.header-session{display:flex;align-items:center;gap:8px;margin:auto}
.admin-dot{background:#ffcd11;color:#111;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:1000;border:2px solid white}
.spectators{color:#c6cbd4;font-size:11px}
#headerGameInfo{font-size:11px;font-weight:850;display:flex;flex-direction:column;align-items:end;line-height:1.2;letter-spacing:.02em}
#headerGameInfo small{font-size:9px;color:#a9b6c0}.header-add{width:30px;height:30px;background:#23c962;display:grid;place-items:center;border-radius:50%;font-size:22px;font-weight:900}
body.in-game .topbar .pill{font-size:10px;padding:3px 6px}
body.in-game .topbar button{padding:7px 10px;font-size:11px}
body.in-game .game{background:radial-gradient(ellipse at 50% 26%,#101b3b,#040716 68%);padding-top:0}
.game-heading{margin:0 auto 5px;padding-top:5px;align-items:center}.game-heading h2{font-size:12px;font-weight:900}.game-heading p{margin-top:1px;font-size:10px}
.game-buttons .ghost{border:1px solid #252a31;background:#0d1420d9}
body.in-game .game-layout{max-width:1380px;grid-template-columns:minmax(500px,1fr) 280px;gap:8px}
.table-area{background-color:#030813;min-width:0;gap:0;padding:0 3px 9px;position:relative;border-radius:22px}
.stage{width:min(100%,870px);aspect-ratio:1000 / 810;border-radius:12px;background:#020819 url('/assets/bg-arc.svg') center/90px 90px repeat;overflow:visible;isolation:isolate}
.stage.bg-red{background:#170714 url('/assets/carpet-red.webp') center/cover no-repeat}
.stage.bg-green{background:#08160c url('/assets/carpet-green.webp') center/cover no-repeat}
.felt{position:absolute;inset:5.8% 4.8%;border-radius:50% / 50%;border:11px solid #452b14;background:radial-gradient(ellipse at 45% 44%,#125b8b 0%,#0d4778 43%,#08365d 69%,#031e3e 100%);box-shadow:inset 0 0 0 3px #ae7738,inset 0 0 4px 6px #060e13,inset 0 0 38px 3px #001029c9,0 0 0 2px #ae6d2d,0 4px 0 4px #070d13,0 7px 14px 3px #000c;overflow:visible}
.stage.felt-green .felt{background:radial-gradient(ellipse,#17674d,#0b3b31 66%,#0a211c)}
.stage.felt-wood .felt{background:#7c350d url('/assets/wood.webp') center/cover no-repeat}
.stage.felt-queen.queen-hearts .felt{background:#30120d url('/assets/queen-hearts.webp') center/cover no-repeat}
.stage.felt-queen.queen-diamonds .felt{background:#30110f url('/assets/queen-diamonds.webp') center/cover no-repeat}
.stage.felt-queen.queen-clubs .felt{background:#151014 url('/assets/queen-clubs.webp') center/cover no-repeat}
.stage.felt-queen.queen-spades .felt{background:#100f14 url('/assets/queen-spades.webp') center/cover no-repeat}
.stage.felt-queen .felt::before{content:'';position:absolute;inset:0;border-radius:inherit;background:rgba(3,12,22,.25);pointer-events:none}
.sector-lines{position:absolute;inset:0;width:100%;height:100%;opacity:.95;z-index:1;pointer-events:none}
.table-watermark{display:none}
.center-field{position:absolute;left:8%;right:8%;top:48%;transform:translateY(-50%);z-index:3;gap:7px}
.pot{display:flex;flex-direction:column;align-items:center;gap:0;color:#ffe900;font-size:13px;text-shadow:0 1px 2px #000,0 2px 5px #000;letter-spacing:0;font-weight:1000}
.pot span{font-size:11px}.pot strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.board{display:flex;align-items:center;justify-content:center;gap:3px;min-height:0}
.board-placeholder{width:clamp(34px,5.35vw,48px);height:clamp(50px,7.45vw,67px);border-radius:5px;border:1px solid #5477a5;background:#0a3f70b8;box-shadow:inset 0 1px 3px #0004}
.playing-card{position:relative;width:clamp(34px,5.35vw,48px);height:clamp(50px,7.45vw,67px);padding:0;border:1.8px solid #e5ad54;border-radius:5px;background:linear-gradient(145deg,#fffdf6,#e5e3d9);box-shadow:0 1px 5px #000b;overflow:hidden;display:block;font-family:Georgia,serif;color:#0d1e29}
.card-corner{position:absolute;top:2px;left:3px;display:flex;flex-direction:column;align-items:center;line-height:.95;gap:0;font-size:18px;font-weight:1000;z-index:1}
.card-corner span{font-size:13px;font-weight:1000}.card-big-suit{font-size:31px;position:absolute;top:26%;left:42%;opacity:.17}
.playing-card.red-card{color:#e0312a}
.card-hidden,.stage.back-red .card-hidden,.stage.back-plaid .card-hidden{background:linear-gradient(145deg,#263a60,#071427);border:2px solid #abc2e7;box-shadow:inset 0 0 0 2px #4476a1,0 2px 5px #000a;display:grid;place-items:center;color:#bbd0df}
.card-hidden .back-symbol{display:grid;place-items:center;width:78%;height:86%;border:1px solid #b9a1ac80;border-radius:2px;font-size:15px;color:#c1cbe2}
.stage.back-red .card-hidden{background:repeating-linear-gradient(45deg,#971926,#ac262f 6px,#f1d4b3 7px,#681323 9px)}
.stage.back-plaid .card-hidden{background:#faf1d7 url('/assets/plaid-back.webp') center/cover no-repeat}
.stage.back-plaid .card-hidden .back-symbol{display:none}
.street:empty{display:none}.street{font-size:10px;color:#f6d5a7}
.result{font-size:10px;color:#fff6a1;font-weight:900;max-width:75%}
.seat-layer,.chip-layer,.puck-layer{position:absolute;inset:0;pointer-events:none}
.seat-layer{z-index:8}.chip-layer{z-index:6}.puck-layer{z-index:7}
.seat{width:107px;gap:0;pointer-events:auto;z-index:8;transform:translate(-50%,-50%);font-size:11px}
.seat[data-visual="3"],.seat[data-visual="4"],.seat[data-visual="5"],.seat[data-visual="6"]{flex-direction:column}
.avatar-shell{position:relative;width:59px;height:59px;display:grid;place-items:center;isolation:isolate}
.avatar{width:56px;height:56px;border:2px solid #bd8746;background:radial-gradient(circle,#08090c,#020303);color:#fff;font-size:26px;overflow:hidden;box-shadow:0 2px 5px #000b;z-index:1}
.avatar-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.seat.hero .avatar{border-color:#ffe500;box-shadow:0 0 10px #ffd500a0}
.seat.active .avatar{outline:0;box-shadow:0 0 7px 3px #f1ca68}
.seat.active .avatar-shell:before{content:'';position:absolute;inset:-2px;border-radius:50%;background:conic-gradient(from -90deg,#f4edb7 var(--timer-percent,100%),transparent 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));z-index:3;pointer-events:none}
.avatar-action{position:absolute;inset:0;border-radius:50%;background:#000c;color:white;display:grid;place-items:center;font-size:13px;font-weight:950;text-shadow:0 1px 3px #000}
.avatar-action.folded-action{color:#a8abb2}
.seat.folded{opacity:.65}.seat.folded .mini-cards{filter:grayscale(1);opacity:.5}
.seat-name{font-family:system-ui,sans-serif;font-weight:900;font-size:10px;color:#fff;text-shadow:0 1px 3px #000,0 -1px 2px #000;line-height:1.15;max-width:112px;overflow:hidden}
.seat-stack{font-family:ui-monospace,Menlo,monospace;font-size:10px;color:#ffe600;font-weight:950;text-shadow:0 1px 3px #000;line-height:1.25}
.seat[data-visual="3"] .seat-name,.seat[data-visual="4"] .seat-name,.seat[data-visual="5"] .seat-name,.seat[data-visual="6"] .seat-name{order:-2}
.seat[data-visual="3"] .seat-stack,.seat[data-visual="4"] .seat-stack,.seat[data-visual="5"] .seat-stack,.seat[data-visual="6"] .seat-stack{order:-1}
.seat.hero .seat-name{font-size:11px}.seat.hero .seat-stack{font-size:11px}
.seat.hero .avatar-shell{width:68px;height:68px}.seat.hero .avatar{width:58px;height:58px;border-width:3px}
.seat.hero .avatar-shell:after{content:'';position:absolute;inset:-3px;border:3px solid #f7d000;border-radius:50%;box-shadow:0 0 9px #f9ba00;pointer-events:none}
.seat.active.hero .avatar-shell:before{z-index:5}
.role-overlay{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);background:#030304e0;color:white;border-radius:2px;font-size:9px;line-height:1.1;padding:1px 5px;font-weight:950;white-space:nowrap;min-width:20px}
.moon{position:absolute;top:0;right:0;background:#0009;color:#fff;z-index:4;font-size:13px;padding:1px 2px}
.straddle-rim{position:absolute;inset:-10px;width:calc(100% + 20px);height:calc(100% + 20px);z-index:3;overflow:visible;background:transparent;border-radius:50%;pointer-events:none}
.mini-cards{top:-35px;left:50%;transform:translateX(-50%);width:auto;gap:0;z-index:-1;pointer-events:none}
.mini-cards.straddle-cards{top:-44px}
.tiny-card{width:23px;height:32px;border-radius:3px;display:block;margin-right:-9px;transform:rotate(-5deg);box-shadow:0 0 2px 1px #eee3;flex:none}
.tiny-card:last-child{transform:rotate(5deg)}
.tiny-card .card-corner{font-size:9px;top:1px;left:2px}.tiny-card .card-corner span{font-size:7px}
.tiny-card .back-symbol{font-size:12px}
.turn-marker{display:none}
.empty-seat .avatar{background:#000c;border:1.5px solid #b38e53;color:white;font-size:26px}
.seat-free{font-size:8px;font-weight:900;color:#fff;white-space:nowrap}
.seat-hint{z-index:10}
.wager{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px;transform:translate(-50%,-50%);font-size:11px;font-weight:950;color:#fff500;white-space:nowrap;text-shadow:0 1px 2px #000,0 1px 5px #000}
.wager-number{font-size:11px;font-family:ui-monospace,Menlo,monospace;font-weight:950}
.poker-chip{width:29px;height:19px;background:linear-gradient(#cfd3d6,#697482);border:3px solid #111;border-radius:50%;box-shadow:0 3px 0 #20262c,0 5px 4px #000a;display:grid;place-items:center;position:relative}
.poker-chip:before{content:'';position:absolute;inset:-3px;border:2px dashed #eee;border-radius:50%;opacity:.85}
.chip-print{font-size:9px;color:#000;text-shadow:none;background:#ddd;border-radius:50%;padding:0 2px;z-index:1}
.wager-hero{margin-top:-6px}.wager-hero .wager-number{font-size:12px}
.game-puck{position:absolute;transform:translate(-50%,-50%);border-radius:50%;font-weight:950;display:grid;place-items:center;box-shadow:0 3px 3px #0007;z-index:5}
.dealer-puck{background:linear-gradient(#fff,#b7bdc1);color:#101114;border:3px solid #777;width:42px;height:31px;font-size:9px}
.omaha-puck{background:linear-gradient(#f3bb69,#ef7d24);color:#13100b;border:3px solid #e0dbd4;width:42px;height:29px;font-size:8px}
.my-hand{z-index:7;position:absolute;left:50%;top:78.5%;transform:translateX(-50%);height:72px;gap:-2px;display:flex;align-items:center;margin:0;pointer-events:none}
.my-hand .playing-card{width:43px;height:64px;font-size:21px;transform:rotate(-7deg);margin-right:-5px;box-shadow:0 2px 6px #000b}
.my-hand .playing-card:nth-child(even){transform:rotate(6deg)}
.my-hand .card-corner{font-size:21px}.my-hand .card-corner span{font-size:17px}
.action-panel{width:min(100%,710px);height:79px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:7px 5px 3px;border-radius:14px;border:2px solid #31313b;background:#030407;margin:0 auto}
.action{min-height:0;height:67px;border-radius:11px;border:1px solid #777c9b7d;color:#fff;font-size:clamp(11px,1.5vw,16px);font-weight:950;letter-spacing:0;background:#245ab2;box-shadow:inset 0 2px 0 #ffffff33;text-align:center;display:grid;place-items:center;padding:4px;line-height:1.1}
.action.fold{background:#654072}.action.call{background:#27889c}.action.bank{background:#218988}.action.raise{background:#4d68b4;color:white}
.action.raise.raised,.action.confirm{box-shadow:inset 0 2px #ffffff65,0 0 0 2px #f8e064}
.quick-slot{height:67px;position:relative;display:flex;flex-direction:column;gap:0;background:#2665b2;border-radius:11px;overflow:hidden}
.quick-slot:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(139deg,transparent 49.5%,#e5efff 49.8%,#e5efff 50.4%,transparent 50.8%)}
.quick-slot .action{height:50%;font-size:16px;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;z-index:1}
.quick-slot .top{justify-items:start;padding-left:19%;align-items:center}.quick-slot .bottom{justify-items:end;padding-right:19%;align-items:center}
.action:disabled{opacity:.44;filter:saturate(.6)}
.extra-panel{width:min(100%,710px);margin:5px auto;gap:5px}.extra-panel button{font-size:10px;padding:6px 9px;background:#131d24c0;color:#dadbdf;border:1px solid #343e47}
.raise-controls{max-width:710px;background:#091c37ed}
.stage.buttons-cash + .action-panel .action,.stage.buttons-cash ~ .action-panel .action,.table-area:has(.stage.buttons-cash) .action{background:#e8dcc0 url('/assets/cash-ivory.webp') center/100% 100% no-repeat;color:#101110;border:0;border-radius:7px;text-shadow:none;box-shadow:0 3px 4px #000a}
.table-area:has(.stage.buttons-cash) .action.raise{background:#141414 url('/assets/cash-black.webp') center/100% 100% no-repeat;color:#fff}
.table-area:has(.stage.buttons-cash) .quick-slot{background:#e3d3b3 url('/assets/cash-ivory.webp') center/cover no-repeat;border:1px solid #312b24}
.table-area:has(.stage.buttons-cash) .quick-slot .action{background:transparent;box-shadow:none;color:#13110e}
.table-area:has(.stage.buttons-cash) .quick-slot .action:disabled{opacity:.5}
.table-area:has(.stage.buttons-cash) .quick-slot:after{background:linear-gradient(139deg,transparent 49.5%,#352514 49.8%,#352514 50.4%,transparent 50.8%)}
.side-pane{border:1px solid #152c4b;border-radius:12px;background:linear-gradient(#0d1f34,#06101e);min-height:500px;padding:12px}
.chat-messages{background:#061320}.chat-input{align-items:center}.chat-input button{background:#358993}
#skinsPane{gap:12px}.skin-preview-label{font-size:11px;color:#dfcda3;font-weight:850}.skin-preview-buttons{display:flex;gap:3px;min-height:43px}.demo-action{flex:1;min-width:0;font-size:9px;border:1px solid #7b83aa40;border-radius:5px;display:grid;place-items:center;background:#248aa0;font-weight:950;white-space:nowrap}.demo-fold{background:#654072}.demo-quick{background:#2665b2}.demo-bank{background:#218988}.demo-raise{background:#4d68b4}
body:has(.stage.buttons-cash) .demo-action{background:#e8dcc0 url('/assets/cash-ivory.webp') center/100% 100%;color:#111}
body:has(.stage.buttons-cash) .demo-raise{background:#141414 url('/assets/cash-black.webp') center/100% 100%;color:white}
.card-sample{height:85px;display:flex;justify-content:center;align-items:center}.card-sample .playing-card{width:46px;height:68px}.card-sample .back-symbol{font-size:22px}
.card-sample .card-hidden.back-red{background:repeating-linear-gradient(45deg,#971926,#ac262f 6px,#f1d4b3 7px,#681323 9px)}
.card-sample .card-hidden.back-plaid{background:#eee url('/assets/plaid-back.webp') center/cover no-repeat}
.card-sample .card-hidden.back-plaid .back-symbol{display:none}
body.in-game footer{display:none}
@media(max-width:1050px){body.in-game .game-layout{grid-template-columns:1fr}.side-pane{position:fixed;bottom:0;left:0;right:0;z-index:14;max-height:48vh;min-height:0;overflow:auto;border-radius:18px 18px 0 0;box-shadow:0 -10px 60px #000b;transform:translateY(110%);transition:transform .18s}.side-pane.open{transform:translateY(0)}.chat-messages{height:170px}}
@media(max-width:630px){
 body.in-game .topbar{height:57px;gap:3px;padding:3px 5px}.wordmark .fox{font-size:16px}body.in-game .wordmark{font-size:13px;gap:2px}body.in-game .wordmark small{font-size:7px}
 .header-session{gap:4px}.admin-dot{width:22px;height:22px;font-size:10px;border-width:1px}.header-add{width:24px;height:24px;font-size:17px}.spectators{display:none}#headerGameInfo{font-size:8px}#headerGameInfo small{font-size:7px}
 body.in-game .topbar .pill{display:none}body.in-game .topbar button{font-size:10px;padding:5px 5px}.top-controls{gap:3px}
 .game{padding:0 0 9px}.game-heading{padding:0 8px;margin:0 auto 4px}.game-heading h2{font-size:11px}.game-heading p{font-size:8px}.game-buttons{gap:4px}.game-buttons .small{padding:4px 5px;font-size:9px}
 .table-area{border-radius:0;padding:0 0 6px}
 .stage{width:min(100vw,470px);aspect-ratio:1000 / 1370;border-radius:0;margin:0 auto}
 .felt{inset:9% 4.8% 8.5%;border-width:8px;box-shadow:inset 0 0 0 2px #ab783c,inset 0 0 4px 5px #061024,inset 0 0 27px #021a38,0 0 0 2px #aa682c,0 4px 0 4px #050910}
 .seat{width:68px}.avatar-shell{width:52px;height:52px}.avatar{width:49px;height:49px;font-size:22px;border-width:2px}.seat.hero .avatar-shell{width:62px;height:62px}.seat.hero .avatar{width:52px;height:52px}
 .seat-name{font-size:8px}.seat-stack{font-size:9px}.seat.hero .seat-name{font-size:10px}.seat.hero .seat-stack{font-size:10px}
 .seat[data-visual="3"] .seat-name,.seat[data-visual="4"] .seat-name,.seat[data-visual="5"] .seat-name,.seat[data-visual="6"] .seat-name{max-width:75px;font-size:8px}
 .seat[data-visual="3"] .seat-stack,.seat[data-visual="4"] .seat-stack,.seat[data-visual="5"] .seat-stack,.seat[data-visual="6"] .seat-stack{font-size:8px}
 .mini-cards{top:-27px}.mini-cards.straddle-cards{top:-33px}.tiny-card{width:17px;height:24px;margin-right:-7px}.tiny-card .back-symbol{font-size:7px}
 .straddle-rim{inset:-7px;width:calc(100% + 14px);height:calc(100% + 14px)}
 .center-field{top:49%;gap:4px}.pot span{font-size:10px}.pot strong{font-size:11px}
 .board{gap:2px}.board-placeholder,.board .playing-card{width:clamp(29px,8.6vw,41px);height:clamp(43px,12vw,59px);border-radius:4px}
 .board .card-corner{font-size:15px}.board .card-corner span{font-size:11px}.board .card-big-suit{font-size:24px}
 .my-hand{top:79%;height:66px}.my-hand .playing-card{width:clamp(33px,10vw,46px);height:clamp(48px,14vw,65px)}
 .my-hand .card-corner{font-size:18px}.my-hand .card-corner span{font-size:14px}
 .wager{font-size:10px}.wager-number{font-size:10px}.poker-chip{width:21px;height:15px;border-width:2px}.chip-print{font-size:6px}
 .game-puck.dealer-puck{width:27px;height:20px;font-size:6px;border-width:2px}.game-puck.omaha-puck{width:33px;height:20px;font-size:6px;border-width:2px}
 .action-panel{height:65px;width:calc(100% - 6px);gap:3px;padding:4px 4px 3px;border-radius:10px}
 .action{height:55px;min-height:0;padding:0 2px;font-size:12px;border-radius:8px}.quick-slot{height:55px;border-radius:8px}.quick-slot .action{font-size:13px}.extra-panel{width:calc(100% - 10px);gap:4px}.extra-panel button{padding:6px 7px;font-size:9px}
 .seat-hint{font-size:9px}.side-pane{max-height:42vh}
}


/* Motion & interactive menus — entirely local UI; authoritative state remains on server. */
.header-hamburger{display:none;min-width:37px;height:37px;padding:3px;background:transparent;color:#fff;font-size:25px;border:0;line-height:1;flex-shrink:0}
body.in-game .header-hamburger{display:grid;place-items:center}
button.admin-dot,button.header-add{cursor:pointer;padding:0;flex-shrink:0;line-height:1;min-width:0}
button.admin-dot{border-radius:50%;border:2px solid white}
button.header-add{border:0;border-radius:50%;color:#fff;box-shadow:0 0 6px #1fb65144}
body.in-game .topbar .admin-dot,body.in-game .topbar .header-add{padding:0}
.web-overlay{position:fixed;inset:0;background:#0009;display:grid;place-items:center;z-index:110;padding:14px;backdrop-filter:blur(3px)}
.web-dialog{width:min(440px,100%);max-height:78vh;overflow-y:auto;background:#101728;color:#fff;border:1px solid #b58d51;border-radius:15px;padding:17px;box-shadow:0 20px 70px #000a}
.web-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}
.overlay-actions{display:grid;gap:8px}.web-menu-action{width:100%;text-align:left;padding:13px 15px;background:#202d44;color:#fff;border:1px solid #4b5e75;border-radius:10px}
.web-menu-action:disabled{opacity:.37}.admin-stats{font-size:12px;line-height:1.5;color:#e4cc93;padding:12px 3px}
.motion-layer{position:absolute;inset:0;pointer-events:none;z-index:30;overflow:visible}
.flying-object{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);will-change:transform;pointer-events:none}
.fly-card{width:clamp(20px,2.6vw,29px);height:clamp(29px,3.8vw,41px);border-radius:4px;border:2px solid #b6c8dc;background:linear-gradient(145deg,#1b4773,#031126);font-size:15px;color:#fff;box-shadow:0 2px 6px #000b,inset 0 0 0 2px #607fa2}
.fly-chip{width:26px;height:21px;border-radius:50%;border:3px solid #222;background:radial-gradient(circle,#d5d6d8 25%,#9bacc0 40%,#2f4052 57%,#e9e8e5 75%);font-size:9px;color:#111;text-shadow:none;box-shadow:0 4px 5px #000a}
.board-await-reveal{visibility:hidden!important}
.card-arrived{animation:lisFlip .28s ease-out both}
@keyframes lisFlip{0%{transform:perspective(300px) rotateY(89deg);opacity:.4}100%{transform:perspective(300px) rotateY(0);opacity:1}}
.seat.winner-spotlight .avatar-shell{animation:lisGoldGlow 1s ease-in-out infinite alternate}
.seat.showdown-loser .mini-cards{filter:grayscale(1);opacity:.47}
.winning-card{animation:lisGoldGlow .9s ease-in-out infinite alternate}
.seat.turn-flash .avatar-shell{animation:lisTurnPulse .7s ease-out 1}
@keyframes lisTurnPulse{0%{filter:drop-shadow(0 0 0 #ffce15)}50%{filter:drop-shadow(0 0 13px #ffce15)}100%{filter:drop-shadow(0 0 0 #ffce15)}}
@keyframes lisGoldGlow{0%{filter:drop-shadow(0 0 1px #fbd939)}100%{filter:drop-shadow(0 0 13px #ffd900)}}
@media(max-width:630px){.header-hamburger{width:30px;min-width:30px;height:30px;font-size:19px}body.in-game .header-hamburger{padding:0} .web-overlay{align-items:end;padding:0}.web-dialog{width:100%;border-radius:16px 16px 0 0;max-height:70vh;padding-bottom:max(16px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.winning-card,.seat.turn-flash .avatar-shell,.seat.winner-spotlight .avatar-shell{animation:none!important}}

.fly-dealer{width:25px;height:25px;border:3px solid #bbb;border-radius:50%;background:#f2f0e6;color:#101010;font:900 12px sans-serif;box-shadow:0 3px 4px #0008}
.seat.opening-ace-glow .avatar-shell{animation:lisGoldGlow .7s ease-in-out 4 alternate}


/* Mobile hotfix: menu and controls may never be pushed outside the viewport. */
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:630px){
 body.in-game .topbar{
   width:100%;max-width:100vw;height:auto;min-height:87px;
   padding:5px max(6px,env(safe-area-inset-right)) 4px max(6px,env(safe-area-inset-left));
   display:grid;grid-template-columns:33px minmax(0,1fr) auto;
   grid-template-areas:'hamb brand session' 'controls controls controls';
   column-gap:4px;row-gap:2px;align-items:center;
 }
 body.in-game #hamburgerBtn{grid-area:hamb;display:grid!important;place-items:center;position:relative;z-index:20;width:33px;min-width:33px;height:37px;font-size:23px;visibility:visible;opacity:1;}
 body.in-game .wordmark{grid-area:brand;font-size:12px;min-width:0;overflow:hidden;max-width:100%;white-space:nowrap;letter-spacing:.04em}
 body.in-game .wordmark .fox{font-size:16px}
 body.in-game .wordmark small{font-size:6px;letter-spacing:.03em}
 body.in-game #headerSession{grid-area:session;display:flex;flex-shrink:0;min-width:0;gap:4px}
 body.in-game #headerSession[hidden]{display:none!important}
 body.in-game #headerGameInfo{font-size:8px;max-width:64px;white-space:nowrap}
 body.in-game .top-controls{grid-area:controls;width:100%;justify-content:flex-end;min-width:0;gap:5px}
 body.in-game .top-controls button{padding:5px 9px;font-size:11px}
 body.in-game .game-heading{width:100%;max-width:100vw}
 body.in-game .game-heading>div:first-child{min-width:0;flex:1}
 body.in-game .game-heading h2,body.in-game .game-heading p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.in-game .game-buttons{flex-shrink:0}
 body.in-game .stage{width:100%;max-width:100vw;aspect-ratio:1000/1360}
 body.in-game .my-hand{top:75.0%;z-index:10;gap:0;transform:translateX(-50%)}
 body.in-game .my-hand .playing-card{width:clamp(40px,12vw,51px);height:clamp(58px,17vw,71px)}
 body.in-game .seat.hero{z-index:9}
 body.in-game .mini-cards{z-index:0;top:-30px}
 body.in-game .seat .avatar-shell{z-index:1}
 body.in-game .seat:not(.hero) .mini-cards{pointer-events:none}
 body.in-game .seat[data-visual='4'] .mini-cards,body.in-game .seat[data-visual='5'] .mini-cards{top:-31px}
 body.in-game .center-field{top:47%}
 body.in-game .seat-free{font-size:9px}
 body.in-game #webOverlay{z-index:500}
}
.deal-await{opacity:0!important;visibility:hidden!important}
.deal-arrived{animation:lisFlip .24s ease-out both}
.topup-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.topup-hint{font-size:13px;color:#d3cab2;margin-bottom:10px}
.topup-input{margin-top:9px;background:#1e2a38;border:1px solid #b89462;color:#fff;font-size:19px;min-height:48px}
.topup-selected{border-color:#ffcf61!important;background:#3a3327!important}
.topup-submit{background:#c99c48;color:#111;border-color:#e5c168;margin-top:8px;text-align:center}
@media(max-width:630px){.web-overlay{align-items:end}.web-dialog{max-height:75vh}}


/* Wallet & admin — server-authoritative; no JS-only balance editing. */
.fox-wallet-badge{position:fixed;right:15px;bottom:16px;z-index:25;border-radius:25px;background:#4c3415;border:2px solid #edc34f;color:#ffdf5b;padding:10px 13px;font-size:13px;font-weight:900;box-shadow:0 5px 16px #0008;cursor:pointer}
.wallet-total{font-weight:900;color:#f8dc78;font-size:17px;padding:5px 0}
.wallet-note{font-size:12px;line-height:1.5;color:#e0d9ca;margin:5px 0}
.wallet-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.wallet-packages button{font-size:11px;padding:9px}
.wallet-packages button:disabled{cursor:not-allowed;opacity:.55}
.wallet-exchanges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.wallet-exchanges button{min-width:0;font-size:12px;text-align:center}
.wallet-input,.wallet-select{width:100%;min-height:48px;padding:10px;border:1px solid #b59a5b;background:#1c2b3e;color:white;font-size:18px;border-radius:9px;box-sizing:border-box}
.wallet-submit{background:#52411d;border-color:#d8b45e;text-align:center;font-weight:900}
.result-banner{position:fixed;top:13%;left:50%;transform:translate(-50%,-10px);pointer-events:none;opacity:0;z-index:90;width:min(500px,90vw);padding:14px 16px;background:#101c2de8;border:2px solid #f7ca45;box-shadow:0 8px 28px #000c,0 0 21px #ffcc3666;border-radius:14px;text-align:center;display:flex;flex-direction:column;gap:8px;transition:opacity .23s,transform .23s;color:#ffdf64}
.result-banner.show{opacity:1;transform:translate(-50%,0)}
.result-banner strong{font-size:clamp(12px,2.8vw,20px)}.result-banner span{font-size:clamp(11px,2.4vw,16px);color:#fff}
.chat-speech{position:absolute;z-index:35;bottom:95%;left:50%;transform:translateX(-50%);min-width:70px;max-width:min(220px,52vw);width:max-content;background:#f5edce;color:#111624;border:2px solid #c2ab73;border-radius:12px;padding:9px 11px;font-weight:700;font-size:13px;line-height:1.25;overflow-wrap:anywhere;text-shadow:none;box-shadow:0 4px 11px #0008;animation:chatBubblePop .18s ease-out}
@keyframes chatBubblePop{from{opacity:0;transform:translate(-50%,8px) scale(.9)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:630px){.fox-wallet-badge{bottom:85px;right:9px;padding:8px;font-size:11px}.chat-speech{font-size:10px;max-width:145px;padding:5px 7px}.wallet-packages button{font-size:10px}}
/* Hero wager remains readable above the fanned hole cards */
.wager-hero{z-index:13;margin-top:-4px;filter:drop-shadow(0 1px 4px #000);pointer-events:none}
.wager-hero .wager-number{font-size:12px;text-shadow:0 2px 4px #000,0 0 4px #000}
/* Cards match classic white iOS face: oversized stacked rank and suit, no extra floating index */
.board .playing-card:not(.card-hidden) .card-corner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:0;line-height:.83}
.board .playing-card:not(.card-hidden) .card-corner strong{font-size:clamp(15px,4vw,23px);font-weight:950;font-family:system-ui,sans-serif}
.board .playing-card:not(.card-hidden) .card-corner span{font-size:clamp(23px,5vw,32px);line-height:.95;font-weight:900}
.board .playing-card:not(.card-hidden) .card-big-suit{display:none}
/* Hero face cards retain enlarged rank/suit in top left, equivalent to SwiftUI player card corner. */
.my-hand .card-corner{top:2px;left:3px;font-family:system-ui,sans-serif;font-weight:950}
.my-hand .card-corner strong{font-size:clamp(19px,4.4vw,25px)}
.my-hand .card-corner span{font-size:clamp(17px,4.1vw,23px)}
@media(prefers-reduced-motion:reduce){.result-banner,.chat-speech{animation:none;transition:none}}

/* Player-owned photo upload: preview and crop circle. */
.avatar-upload-row{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.avatar-upload-label{flex:1;min-width:170px;cursor:pointer;font-weight:800}
.avatar-upload-label input{font-size:12px;padding:8px}
.avatar-local-preview{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:50%;background:#17202b;border:3px solid #d3a34b;overflow:hidden;font-size:30px;box-shadow:0 2px 6px #0007}
.avatar-local-preview img{width:100%;height:100%;object-fit:cover;display:block}
.overlay-avatar-preview{width:84px;height:84px;margin:12px auto;flex:0 0 84px}
.avatar-menu-file{font-size:13px}
/* Cut cards live underneath the common board, never over actions or avatars. */
.burn-pile{position:absolute;top:60%;left:50%;transform:translateX(-50%);width:36px;height:42px;z-index:5;pointer-events:none}
.burn-card{position:absolute;top:0;left:0;width:25px;height:36px;border:2px solid #d6c492;border-radius:3px;background:repeating-linear-gradient(45deg,#263f58 0px,#263f58 3px,#b29158 3px,#b29158 5px,#701e34 5px,#701e34 7px);box-shadow:0 2px 3px #000b;opacity:.92}
@media(max-width:600px){.burn-pile{top:59%}.burn-card{width:18px;height:27px}}

/* LISICHKINO_ADMIN_PARITY_20261030_V1 */
.adm-btn{min-height:43px;white-space:normal;overflow-wrap:anywhere}
.adm-btn.adm-danger{border-color:#a34f50;color:#ffdad6;background:#49252b}
.adm-btn.adm-notice{border-color:#dcb358;background:#39311f}
.adm-btn.adm-back{color:#b6d8fc;background:#1b2a40}
.adm-btn.adm-approve{color:#ccffda;border-color:#5aab78;background:#204132}
.adm-btn.adm-small{width:auto;flex:1;text-align:center;font-size:12px;padding:9px 7px;min-height:42px}
.adm-player,.adm-request{border:1px solid #4e5d72;border-radius:10px;background:#1c2738;padding:10px;display:grid;gap:7px}
.adm-player-name{font-size:14px;color:#fff}.adm-player-meta{font-size:12px;line-height:1.45;color:#c3d2e6;overflow-wrap:anywhere}
.adm-row{display:flex;gap:7px;flex-wrap:wrap}.adm-row button{flex:1}
.adm-section{display:block;padding:8px 1px 1px;color:#e4cc93;font-size:13px}
.adm-warning{border:1px solid #af6767;border-radius:10px;background:#412229;color:#ffe3dc;padding:13px;font-size:14px;line-height:1.45}
@media(max-width:630px){.adm-player,.adm-request{padding:9px}.adm-btn{font-size:14px}}

button.admin-dot.has-pending{position:relative}
button.admin-dot.has-pending:after{content:"";position:absolute;right:-4px;top:-5px;background:#ec302b;border:2px solid #fff;border-radius:50%;width:10px;height:10px;box-shadow:0 0 8px #eb3c32}

/* LISICHKINO_NICK_ADMIN_BADGE_20261030_V2 */
.seat .seat-name.with-admin{display:flex;align-items:center;justify-content:center;gap:3px;max-width:120px;white-space:nowrap}
.seat .seat-admin-badge{display:inline-grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:50%;background:#ffd923;border:1px solid #fff1a8;color:#17100a;text-shadow:none;box-shadow:0 1px 5px #0008;font:bold 12px/1 system-ui,sans-serif}


/* LISICHKINO_VERTICAL_RAISE_V3 - large touch friendly portrait stake control */
.raise-modal[hidden]{display:none!important}
.raise-modal{position:fixed!important;inset:0!important;z-index:170!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;max-width:none!important;padding:12px!important;background:transparent!important;border:0!important;overflow:visible!important}
.raise-modal-backdrop{position:absolute;inset:0;background:rgba(1,5,15,.78);backdrop-filter:blur(7px)}
.raise-modal-card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:stretch;width:min(450px,97vw);max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;border:2px solid #e2bf65;border-radius:23px;background:linear-gradient(150deg,#172e45,#080e22 75%);box-shadow:0 22px 70px #000e,0 0 26px #e7c65c33;padding:17px 19px max(17px,env(safe-area-inset-bottom));color:white}
.raise-modal-head{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#ffda6e;font-size:clamp(17px,4.2vw,22px);font-weight:1000;letter-spacing:.03em}
.raise-modal-x{width:43px;height:43px;flex:none;border-radius:50%;background:#453847;color:white;font-size:22px;padding:0}
.raise-modal-amount{text-align:center;margin:6px 0 2px}
.raise-modal-amount #raiseExact{font:900 clamp(29px,8vw,44px)/1.2 ui-monospace,Menlo,monospace;color:#ffe55c;border:0;background:transparent;min-width:0;padding:7px 9px;text-shadow:0 3px 12px #000}
.raise-modal-subtitle{font-size:12px;color:#bdc8d5}
.raise-modal-main{display:flex;align-items:stretch;justify-content:center;gap:18px;margin:5px 0 9px;min-height:200px}
.raise-modal-rail{display:flex;flex-direction:column;align-items:center;min-width:100px;gap:4px}
.raise-modal-rail>button{min-height:43px;min-width:88px;border:1px solid #b5a169;border-radius:13px;background:#243956;color:#fce58e;font-size:18px;font-weight:1000}
.raise-modal-rail>span{font-size:11px;color:#ebd7ac;font-weight:800;text-align:center}
.raise-modal-rail input[type=range]{appearance:auto;-webkit-appearance:slider-vertical;writing-mode:vertical-lr;direction:rtl;display:block;accent-color:#ffe260;width:74px;height:clamp(185px,38dvh,375px);margin:4px 0;cursor:grab;touch-action:none}
.raise-modal-rail input[type=range]:active{cursor:grabbing}
.raise-modal-side{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;max-width:160px;gap:12px;padding:45px 0}
.raise-modal-side button{min-height:66px;border:1px solid #e2ca7a;border-radius:16px;background:linear-gradient(135deg,#d5b45d,#97632a);color:#20150b;font-size:28px;font-weight:1000;padding:8px 18px;touch-action:manipulation}
.raise-modal-help{color:#d7deea;font-size:14px;line-height:1.4;text-align:center}
.raise-modal-exact{display:flex;gap:9px;padding:10px 0}
.raise-modal-exact[hidden]{display:none!important}
.raise-modal-exact input{flex:1;min-width:0;font-size:20px;min-height:49px}
.raise-modal-exact button{min-width:100px;background:#2e6988;font-weight:900}
.raise-modal-footer{display:grid;grid-template-columns:1fr 1.55fr;gap:9px;margin-top:3px}
.raise-modal-footer button{min-height:57px;border-radius:14px;font-size:clamp(14px,3.8vw,17px);font-weight:1000;padding:10px}
#raiseCancel{background:#333e55;color:white}
#raiseConfirm{background:linear-gradient(135deg,#f9de6e,#be8734);color:#201507;box-shadow:0 4px 18px #d59c3440}
@media(max-width:550px){.raise-modal{padding:7px!important}.raise-modal-card{width:min(420px,100%);max-height:calc(100dvh - 9px);padding:11px 13px max(11px,env(safe-area-inset-bottom))}.raise-modal-rail input[type=range]{height:clamp(155px,33dvh,295px)}.raise-modal-side{padding:37px 0}.raise-modal-side button{min-height:55px}}


/* LISICHKINO_COMPACT_TABLE_V4_20261030: show a single game header and action bar */
body.in-game .top-controls,
body.in-game #game .game-heading,
body.in-game #game #extraPanel{display:none!important}
body.in-game .game{padding:0 0 max(8px,env(safe-area-inset-bottom))!important}
body.in-game #game .game-layout{grid-template-columns:minmax(0,1fr)!important;gap:0;max-width:1100px}
body.in-game #game .table-area{padding:0!important;gap:3px!important}
body.in-game #game .stage{margin:0 auto!important}
body.in-game .topbar{min-height:55px!important;height:55px!important;gap:5px;padding-top:3px!important;padding-bottom:3px!important}
body.in-game .topbar .wordmark{min-width:0}
body.in-game .topbar .wordmark .fox{flex-shrink:0}
body.in-game #headerSession{display:flex!important;align-items:center;justify-content:flex-end;gap:5px;flex-shrink:0;min-width:0}
body.in-game #headerSession[hidden]{display:none!important}
body.in-game #headerSession #foxWalletBadge{
 position:static!important;inset:auto!important;right:auto!important;bottom:auto!important;
 z-index:auto!important;transform:none!important;margin:0!important;flex:0 0 auto;
 padding:5px 7px!important;border-radius:14px!important;
 min-height:28px;min-width:45px;max-width:112px;
 background:#473216;color:#ffe06c;border:1px solid #dfb857!important;
 box-shadow:0 1px 5px #0006!important;font-weight:850;font-size:11px!important;
 line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
body.in-game #headerSession #foxWalletBadge[hidden]{display:none!important}
body.in-game .topbar .admin-dot{flex-shrink:0}
body.in-game .side-pane{
 position:fixed!important;right:0;left:auto;bottom:0;z-index:95;
 width:min(450px,100vw);max-height:74dvh;min-height:0!important;overflow-y:auto;
 border-radius:17px 17px 0 0;transform:translateY(110%);
 box-shadow:0 -10px 60px #000c;transition:transform .18s
}
body.in-game .side-pane.open{transform:translateY(0)}
@media(max-width:630px){
 body.in-game .topbar{
   height:53px!important;min-height:53px!important;width:100%;max-width:100vw;
   display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;
   grid-template-areas:'hamb brand session'!important;grid-template-rows:1fr!important;
   align-items:center;column-gap:4px;row-gap:0!important;
   padding:3px max(5px,env(safe-area-inset-right)) 3px max(5px,env(safe-area-inset-left))!important
 }
 body.in-game #hamburgerBtn{grid-area:hamb;min-width:32px;width:32px;height:38px;font-size:23px!important}
 body.in-game .wordmark{grid-area:brand;overflow:hidden;font-size:clamp(10px,3.1vw,13px)!important;gap:3px;letter-spacing:0!important}
 body.in-game .wordmark .fox{font-size:15px!important}
 body.in-game .wordmark small{font-size:7px;letter-spacing:0!important}
 body.in-game #headerSession{grid-area:session;gap:3px!important}
 body.in-game #headerGameInfo{font-size:8px!important;max-width:55px}
 body.in-game #headerGameInfo small{font-size:7px!important}
 body.in-game #headerSession #foxWalletBadge{font-size:10px!important;min-width:40px;max-width:75px;padding:4px 5px!important}
 body.in-game #headerSession .admin-dot{width:25px;height:25px}
 body.in-game #headerSession .header-add{width:27px;height:27px}
 body.in-game .stage{width:100%;max-width:100vw}
 body.in-game .side-pane{left:0;right:0;width:100%;max-height:68dvh}
}
@media(max-width:355px){
 body.in-game #headerGameInfo{display:none!important}
 body.in-game .wordmark .fox{display:none!important}
}


/* LISICHKINO_DESKTOP_FOX_V5_20261031 */
body.in-game .fox-wallet-entry,
.fox-wallet-entry{
  appearance:none;border:none;box-shadow:none;background:transparent;
  color:inherit;padding:0;display:grid;place-items:center;
  border-radius:12px;flex:0 0 auto;cursor:pointer;
  min-width:40px;min-height:44px;line-height:1;
  text-shadow:0 1px 8px #edb85744;
}
.fox-wallet-entry:focus-visible{outline:2px solid #ffda75;outline-offset:2px}
.fox-wallet-entry:hover{background:#e4b95119}
/* Full-window desktop playing field without stretching the ratio of the table. */
@media(min-width:851px){
  body.in-game{overflow-x:hidden}
  body.in-game main{width:100%;max-width:none;min-height:calc(100dvh - 80px);margin:0}
  body.in-game #game{width:100%;max-width:none;padding:0 12px 12px!important}
  body.in-game #game .game-layout{width:100%;max-width:none!important;display:block!important}
  body.in-game #game .table-area{width:100%;max-width:none;gap:8px!important}
  body.in-game #game .stage{
    max-width:none!important;
    width:min(calc(100vw - 32px),calc((100dvh - 195px) * 1.6))!important;
    aspect-ratio:16 / 10!important;
    margin:0 auto!important;
  }
  body.in-game .topbar{
    height:76px!important;min-height:76px!important;
    padding:7px 24px!important;gap:18px!important;
  }
  body.in-game #hamburgerBtn{
    display:grid!important;place-items:center!important;
    width:62px!important;min-width:62px!important;height:58px!important;
    font-size:40px!important;padding:0!important;line-height:1!important;
    border-radius:12px!important;background:#ffffff0e;
  }
  body.in-game .wordmark{font-size:clamp(20px,1.8vw,29px)!important;gap:10px!important;letter-spacing:.045em!important}
  body.in-game .wordmark small{font-size:clamp(10px,.84vw,14px)!important;letter-spacing:.04em!important;margin-top:4px}
  body.in-game .wordmark .fox-wallet-entry{font-size:clamp(29px,2.3vw,42px)!important;min-width:52px;min-height:56px}
  body.in-game #headerSession{gap:12px!important;margin-left:auto!important}
  body.in-game #headerSession .admin-dot{width:47px!important;height:47px!important;font-size:23px!important;border-width:2px!important}
  body.in-game #headerSession #foxWalletBadge{min-height:42px!important;padding:9px 13px!important;max-width:135px!important;font-size:17px!important}
  body.in-game #headerGameInfo{max-width:none!important;font-size:17px!important;line-height:1.23!important}
  body.in-game #headerGameInfo small{font-size:14px!important}
  body.in-game #headerSession .header-add{width:47px!important;height:47px!important;font-size:29px!important}
  body.in-game #game .action-panel{
    width:min(100%,calc((100dvh - 195px) * 1.5),1350px)!important;
    max-width:none!important;min-height:78px!important;height:clamp(78px,9dvh,108px)!important;
    gap:7px!important;padding:8px!important;
  }
  body.in-game #game .action-panel .action{min-height:60px!important;font-size:clamp(17px,1.7vw,28px)!important}
  body.in-game #game .quick-slot{height:100%!important}
  body.in-game #game .quick-slot .action{min-height:0!important;font-size:clamp(16px,1.4vw,22px)!important}
  body.in-game #game .seat{width:clamp(88px,7.3vw,125px)!important}
  body.in-game #game .avatar{width:clamp(51px,4.5vw,76px)!important;height:clamp(51px,4.5vw,76px)!important;font-size:clamp(25px,2.1vw,36px)!important}
  body.in-game #game .seat-name{font-size:clamp(10px,.9vw,14px)!important}
  body.in-game #game .seat-stack{font-size:clamp(11px,1vw,17px)!important}
  body.in-game #game .center-field .playing-card{width:clamp(43px,4vw,75px)!important;height:clamp(60px,5.5vw,109px)!important;font-size:clamp(18px,2.1vw,34px)!important}
  body.in-game #game .center-field .pot{font-size:clamp(14px,1.35vw,23px)!important}
  body.in-game #game .center-field .result{font-size:clamp(13px,1.15vw,20px)!important}
}
@media(min-width:851px) and (max-height:650px){
  body.in-game #game .stage{width:min(calc(100vw - 32px),calc((100dvh - 168px) * 1.6))!important}
  body.in-game #game .action-panel{height:70px!important;min-height:70px!important}
  body.in-game .topbar{height:62px!important;min-height:62px!important}
}
/* On the phone the fox beside ПОКЕРЛИС is the wallet entry. The duplicate oval disappears. */
@media(max-width:850px){
  body.in-game #headerSession #foxWalletBadge{display:none!important}
  body.in-game .wordmark .fox-wallet-entry{
    display:grid!important;min-width:34px!important;min-height:44px!important;
    font-size:27px!important;padding:0!important;flex:0 0 34px!important;
  }
}
@media(max-width:630px){
  body.in-game .topbar{grid-template-columns:40px minmax(0,1fr) auto!important;column-gap:5px!important}
  body.in-game #hamburgerBtn{width:40px!important;min-width:40px!important;height:45px!important;font-size:29px!important}
  body.in-game .wordmark{font-size:clamp(11px,3.6vw,15px)!important;gap:4px!important}
  body.in-game .wordmark small{font-size:8px!important}
  body.in-game .wordmark .fox-wallet-entry{min-width:32px!important;flex-basis:32px!important;font-size:26px!important}
  body.in-game #headerSession .admin-dot{width:30px!important;height:30px!important;font-size:14px!important}
  body.in-game #headerSession .header-add{width:32px!important;height:32px!important;font-size:23px!important}
}
@media(max-width:355px){body.in-game .wordmark .fox-wallet-entry{display:grid!important}}


/* ПОКЕРЛИС V6: ИСКЛЮЧИТЕЛЬНО ДЕСКТОП — расположение шапки, одинаковая высота ставок, ОЛЛ-ИН. */
/* На смартфонах не меняем ни габариты, ни порядок кнопок. */
body.in-game #game .action-panel .all-in-action{display:none!important}
@media (min-width:851px){
  /* Слева: ПОКЕРЛИС, затем А, Лисички и +. Справа: номер раздачи и блайнды. */
  body.in-game .topbar{display:flex!important;align-items:center!important}
  body.in-game #headerSession{
    display:flex!important;flex:1 1 auto!important;min-width:0!important;
    margin-left:10px!important;gap:11px!important;justify-content:flex-start!important;
  }
  body.in-game #headerSession #adminMenuBtn{order:1!important}
  body.in-game #headerSession #foxWalletBadge{order:2!important}
  body.in-game #headerSession #plusMenuBtn{order:3!important}
  body.in-game #headerSession #headerGameInfo{order:5!important;margin-left:auto!important;text-align:right!important}
  body.in-game #headerSession .spectators{display:none!important}
  /* Ровно шесть равных по высоте кнопок: ПАС, ЧЕК, ×2×3, БАНК, РЕЙЗ, ОЛЛ-ИН. */
  body.in-game #game .action-panel{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:7px!important;
  }
  body.in-game #game .action-panel > .action,
  body.in-game #game .action-panel > .quick-slot{
    height:100%!important;max-height:none!important;min-height:0!important;
    align-self:stretch!important;box-sizing:border-box!important;
  }
  body.in-game #game .action-panel .all-in-action{
    display:grid!important;place-items:center!important;
    background:linear-gradient(150deg,#9f3035,#5e1a24)!important;
    border:1px solid #e1aa7e!important;
    color:#fff4e1!important;
    font-weight:950!important;
    font-size:clamp(15px,1.6vw,26px)!important;
    letter-spacing:.015em!important;
    white-space:nowrap!important;
  }
  body.in-game #game .action-panel .all-in-action.confirm{
    background:linear-gradient(145deg,#e7aa32,#b16014)!important;
    color:#191007!important;
    font-size:clamp(11px,1.25vw,19px)!important;
  }
  body.in-game #game .action-panel .all-in-action:disabled{opacity:.42!important;cursor:not-allowed}
}

/* LISICHKINO_WEB_V7: mobile+desktop quick chat, protected general-admin login. */
/* One fox beside the title on desktop and phone; duplicates are hidden. */
body.in-game #headerSession #foxWalletBadge{display:none!important}
.quick-chat-bar{display:flex;align-items:center;justify-content:center;position:relative;z-index:28;
 width:min(100%,900px);min-height:35px;margin:2px auto 1px;overflow:hidden;
 background:rgba(10,20,31,.93);border:1px solid #b99c5688;border-radius:10px;color:#f8eccc;
 box-shadow:0 3px 9px #0007;font:700 14px/1.25 system-ui,sans-serif}
.quick-chat-latest{display:flex;align-items:center;width:100%;height:35px;gap:9px;border:0;
 background:transparent;color:inherit;text-align:left;cursor:pointer;padding:3px 11px}
.quick-chat-text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.quick-chat-arrow{color:#e8c46d}.quick-chat-form{display:flex;align-items:center;width:100%;gap:5px;padding:3px 6px}
.quick-chat-form[hidden],.quick-chat-latest[hidden]{display:none!important}
.quick-chat-form input{flex:1;min-width:0;height:31px;font-size:16px;line-height:1.2;border:1px solid #886f4e;
 background:#faf6e8;color:#141414;border-radius:7px;padding:5px 10px;outline-offset:1px}
.quick-chat-submit,.quick-chat-form button{flex:0 0 auto;border:0;border-radius:7px;padding:4px 10px;height:32px;
 background:#356b4c;color:white;font-size:18px;cursor:pointer}
#quickChatCancel{background:#384055;font-size:15px}
.quick-chat-notice{animation:quick-chat-new .5s ease-out}
@keyframes quick-chat-new{from{border-color:#ffe478;box-shadow:0 0 19px #f7b93699}to{border-color:#b99c5688}}
.gen-admin-entry{background:#2e2533;border:2px solid #e5b861;color:#ffe5a2;border-radius:9px;
 padding:9px 11px;font-weight:900;font-size:15px;white-space:nowrap;cursor:pointer;line-height:1.1;flex:0 0 auto}
body.in-game .topbar .gen-admin-entry{padding:8px 11px;font-size:15px}
.genadm-form{display:flex;flex-direction:column;gap:10px}.genadm-password{width:100%;max-width:100%;height:47px;
 background:#121b2c;color:white;border:1px solid #9a8c66;border-radius:9px;padding:10px;font-size:16px}
.genadm-login{background:#755427!important;text-align:center!important;font-weight:900}
.genadm-ok{padding:10px;border:1px solid #50876b;color:#d9f6de;border-radius:10px}
.genadm-room{display:grid;gap:6px;border:1px solid #506070;background:#172234;border-radius:10px;padding:12px}
.genadm-room small{color:#e1c990}.genadm-disabled{border:1px solid #5a5a5a;color:#abb2c0;background:#242b35;
 border-radius:7px;padding:8px 10px;opacity:.7;text-align:left;font-size:12px}
.genadm-room-list{display:grid;gap:8px;max-height:45dvh;overflow:auto}
@media(min-width:851px){
 body.in-game .topbar .gen-admin-entry{order:6;position:relative;margin-left:10px}
 body.in-game .quick-chat-bar{min-height:41px;width:min(1100px,92%)}
 body.in-game .quick-chat-latest{height:39px;font-size:17px}
 /* Keep table contained after adding the chat line, without changing the cards or places. */
 body.in-game #game .stage{width:min(calc(100vw - 32px),calc((100dvh - 232px) * 1.6))!important}
}
@media(max-width:850px){
 body.in-game .topbar .gen-admin-entry{display:none!important}
 body.in-game .quick-chat-bar{min-height:37px;margin:1px auto 1px;width:calc(100% - 8px);border-radius:8px;font-size:12px}
 body.in-game .quick-chat-latest{height:35px;font-size:13px;padding:3px 8px}
 body.in-game #game .table-area{gap:1px!important}
 body.in-game .quick-chat-form input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.quick-chat-notice{animation:none!important}}

/* LISICHKINO_V8_TOP_CHAT_SAFETY: place chat immediately BELOW header, never above bets. */
body.in-game #game > #quickChatBar{
  position:sticky;top:0;z-index:40;
  width:min(1100px,calc(100% - 24px));
  min-height:45px;
  margin:4px auto 10px;
  border-color:#d7b66b;
  background:#071221f5;
  box-shadow:0 5px 17px #0009;
}
body.in-game #game > #quickChatBar .quick-chat-latest{min-height:43px;height:43px}
body.in-game #game > #quickChatBar .quick-chat-form{min-height:43px}
body.in-game #game > #quickChatBar .quick-chat-form input{height:36px}
body.in-game #game > #quickChatBar .quick-chat-form button{height:36px;min-width:43px}
@media(max-width:850px){
  body.in-game #game > #quickChatBar{
    width:calc(100% - 12px);margin:3px auto 7px;min-height:43px;border-radius:9px
  }
  body.in-game #game > #quickChatBar .quick-chat-latest{min-height:41px;height:41px}
  body.in-game #game > #quickChatBar .quick-chat-form{min-height:41px}
  body.in-game #game > #quickChatBar .quick-chat-form input{height:35px}
  body.in-game #game > #quickChatBar .quick-chat-form button{height:35px}
}

/* LISICHKINO_WEBRTC_V9: microphone above PASS, safe from betting. */
.voice-bar{display:flex;align-items:center;justify-content:flex-start;gap:9px;
 width:min(100%,calc((100dvh - 195px) * 1.5),1350px);min-height:47px;
 margin:3px auto 5px;padding:0 1px;box-sizing:border-box;position:relative;z-index:12;}
.voice-toggle{flex:0 0 auto;min-height:42px;min-width:166px;border-radius:11px;
 font-size:16px;font-weight:900;letter-spacing:.02em;
 background:linear-gradient(150deg,#1e3144,#0b1e2d);border:2px solid #c7a25e;color:#fff5d6;
 touch-action:manipulation;cursor:pointer;box-shadow:0 3px 9px #0008;}
.voice-toggle.is-on{border-color:#69e89d;background:linear-gradient(120deg,#175d43,#123928);color:#f4fff9}
.voice-toggle.is-muted{border-color:#f3bd61;color:#ffd28a}
.voice-toggle:disabled{opacity:.7}
.voice-status{font-size:13px;font-weight:700;color:#dbd3bd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.voice-exit{min-height:38px;padding:4px 12px;font-size:13px;font-weight:800;border-radius:8px;
 background:#3d2030;border:1px solid #8d5260;color:#ffcfcb;cursor:pointer;touch-action:manipulation;}
.voice-exit[hidden]{display:none!important}
.voice-audio-host{display:none!important}
.seat.voice-present .avatar-shell::after{content:'🎙';font-size:11px;position:absolute;bottom:-3px;right:1px;
 background:#163e2d;color:white;border:1px solid #6bd89f;border-radius:50%;width:20px;height:20px;
 display:grid;place-items:center;box-shadow:0 0 7px #29b36f77;pointer-events:none}
@media(max-width:850px){
 body.in-game .voice-bar{width:calc(100% - 9px);min-height:40px;margin:2px auto 4px;gap:7px;padding:0 2px;}
 body.in-game .voice-toggle{min-height:38px;min-width:127px;padding:3px 7px;font-size:12px;border-radius:8px;}
 body.in-game .voice-status{font-size:11px}
 body.in-game .voice-exit{min-height:34px;font-size:10px;padding:3px 5px}
}
@media(max-width:360px){body.in-game .voice-toggle{min-width:112px;font-size:11px}}

/* MASTER V12 interface */
.adm-master-player{padding:5px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;border-top:1px solid #6665}
.adm-master-player .web-menu-action{width:auto;min-height:34px;padding:4px 8px;margin:2px}
.master-stats-list{max-height:55vh;overflow:auto}

/* Only one admin entry while at the poker table. */
#headerSession:not([hidden]) + #genAdminBtn{display:none!important}

/* LISICHKINO_WIN_FIVE_CHECKS_V13 — STATIC GREEN TICKS ONLY. */
/* No blinking, tinted frames, shadows on the card, or earlier winning-card animation. */
body.in-game .winning-card,
body.in-game .seat.winner-spotlight .avatar-shell {animation:none!important;filter:none!important;}
body.in-game .playing-card.win-five-check-card {position:relative;overflow:visible!important;isolation:isolate;}
body.in-game .playing-card.win-five-check-card::after {
 content:none!important;display:none!important;position:absolute;left:50%;top:-15px;transform:translateX(-50%);
 width:23px;height:23px;display:grid;place-items:center;border-radius:50%;
 color:#16ea69;background:#052918;border:2px solid #c1ffdc;
 box-shadow:0 2px 6px #000b;font:1000 20px/1 system-ui,-apple-system,sans-serif;
 z-index:40;pointer-events:none;animation:none!important;
}
body.in-game #board .playing-card.win-five-check-card::after{top:-12px}
body.in-game #myHand .playing-card.win-five-check-card::after{top:-13px}
/* A winner's revealed cards are actually readable, not miniature card backs. */
body.in-game .seat.win-five-visible-opponent .mini-cards{
 z-index:24;top:-53px;gap:2px;overflow:visible;
 filter:none!important;opacity:1!important;
}
body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card{
 width:clamp(24px,2.8vw,37px);height:clamp(34px,4vw,51px);
 margin-right:-3px;font-size:16px;overflow:visible!important;
 box-shadow:0 2px 6px #000b;
}
body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner strong{font-size:14px}
body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner span{font-size:17px}
body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card.win-five-check-card::after{
 top:-12px;width:18px;height:18px;font-size:15px;border-width:1.5px;
}
@media(max-width:850px){
 body.in-game .seat.win-five-visible-opponent .mini-cards{top:-43px;gap:1px}
 body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card{width:24px;height:35px;margin-right:-3px}
 body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner strong{font-size:11px}
 body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner span{font-size:14px}
 body.in-game .playing-card.win-five-check-card::after{width:20px;height:20px;font-size:18px;top:-12px}
 body.in-game .seat.win-five-visible-opponent .mini-cards .playing-card.win-five-check-card::after{width:16px;height:16px;font-size:14px;top:-10px}
}

/* LISICHKINO_DESKTOP_CARDS_SEATS_V14 — PC only. 851px+ */
@media(min-width:851px){
 /* Each player's avatar, not the entire variable-height label stack, sits on its table position. */
 body.in-game #game .seat-layer .seat{
  width:clamp(100px,8.5vw,154px)!important;
  height:0!important;min-height:0!important;max-height:0!important;
  display:block!important;transform:translate(-50%,0)!important;
  overflow:visible!important;z-index:12;
 }
 body.in-game #game .seat .avatar-shell,
 body.in-game #game .seat.hero .avatar-shell{
  position:absolute!important;top:0!important;left:50%!important;
  transform:translate(-50%,-50%)!important;
  width:clamp(61px,5vw,82px)!important;height:clamp(61px,5vw,82px)!important;
  z-index:4!important;overflow:visible!important;
 }
 body.in-game #game .seat.hero .avatar-shell{width:clamp(70px,5.6vw,90px)!important;height:clamp(70px,5.6vw,90px)!important}
 body.in-game #game .seat .avatar{
  width:calc(100% - 5px)!important;height:calc(100% - 5px)!important;
  font-size:clamp(26px,2.3vw,39px)!important;
  overflow:hidden;border-radius:50%!important;
 }
 body.in-game #game .seat .seat-name,
 body.in-game #game .seat .seat-stack,
 body.in-game #game .seat .seat-free{
  position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
  top:calc(clamp(61px,5vw,82px) / 2 + 6px)!important;
  display:block!important;width:max-content;max-width:160px!important;
  line-height:1.13!important;white-space:nowrap!important;text-align:center!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
  order:initial!important;z-index:11;
 }
 body.in-game #game .seat .seat-name{font-size:clamp(11px,.95vw,15px)!important}
 body.in-game #game .seat .seat-stack{top:calc(clamp(61px,5vw,82px) / 2 + 24px)!important;font-size:clamp(12px,1vw,17px)!important}
 body.in-game #game .seat.hero .seat-name{top:calc(clamp(70px,5.6vw,90px) / 2 + 7px)!important}
 body.in-game #game .seat.hero .seat-stack{top:calc(clamp(70px,5.6vw,90px) / 2 + 26px)!important}
 body.in-game #game .seat .seat-free{top:calc(clamp(61px,5vw,82px) / 2 + 7px)!important}
 /* Face-down cards must NEVER be placed behind the stage/felt. */
 body.in-game #game .seat:not(.hero) .mini-cards{
  position:absolute!important;left:50%!important;
  top:calc(-1 * clamp(61px,5vw,82px) / 2 - 46px)!important;
  transform:translateX(-50%)!important;
  display:flex!important;justify-content:center!important;align-items:flex-end;
  z-index:9!important;filter:none;opacity:1;
  overflow:visible!important;pointer-events:none;
 }
 body.in-game #game .seat:not(.hero).folded .mini-cards{filter:grayscale(1);opacity:.55}
 body.in-game #game .seat:not(.hero) .mini-cards .playing-card{
  width:clamp(27px,2.3vw,35px)!important;
  height:clamp(38px,3.2vw,49px)!important;
  flex:0 0 auto;min-width:0;margin-right:-7px!important;
  border:2px solid #e3c985;border-radius:5px;
  box-shadow:0 2px 7px #000e;background-clip:padding-box;
  overflow:visible!important;
 }
 body.in-game #game .seat:not(.hero) .mini-cards .playing-card.card-hidden{
  background:repeating-linear-gradient(45deg,#7d182b 0px,#7d182b 4px,#f6ca79 4px,#f6ca79 7px,#17375e 7px,#17375e 11px)!important;
  color:#fdf0c4!important;
 }
 body.in-game #game .seat:not(.hero) .mini-cards .playing-card.card-hidden .back-symbol{font-size:18px!important}
 /* The action is a readable small badge, not a black circle hiding the avatar. */
 body.in-game #game .seat .avatar-action-desktop{
  position:absolute!important;inset:auto!important;left:50%!important;
  top:calc(50% + 15px)!important;transform:translateX(-50%)!important;
  display:block!important;min-width:45px;width:max-content;max-width:92px;
  padding:3px 7px!important;border:1px solid #bd9965;border-radius:7px!important;
  background:#070d17e9!important;color:#fff!important;text-align:center!important;
  font-size:clamp(10px,.8vw,12px)!important;line-height:1.1!important;
  white-space:nowrap;z-index:10!important;text-shadow:0 1px 2px #000;
 }
 body.in-game #game .seat .avatar-action-desktop.folded-action{color:#c7c7d1!important}
 /* At actual, contested showdown: big cards directly above the winner avatar. */
 body.in-game #game .seat.win-five-visible-opponent .mini-cards{
  top:calc(-1 * clamp(61px,5vw,82px) / 2 - 63px)!important;
  z-index:20!important;opacity:1!important;filter:none!important;gap:3px!important;
 }
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card{
  width:clamp(37px,3.4vw,51px)!important;
  height:clamp(52px,4.6vw,69px)!important;
  margin-right:-3px!important;
  font-size:24px!important;border-color:#f2d597!important;background:linear-gradient(160deg,#fffdf4,#e1ded3)!important;
 }
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner strong{font-size:clamp(15px,1.3vw,21px)!important}
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card .card-corner span{font-size:clamp(19px,1.6vw,26px)!important}
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card.win-five-check-card::after{top:-14px!important}
 body.in-game #game .seat .moon{z-index:6}
 body.in-game #game .seat-layer{z-index:15!important;overflow:visible!important}
 body.in-game #game .stage{isolation:isolate}
 /* Bonus clearly-readable winner strip near the board, visible ONLY for server-revealed cards. */
 body.in-game #desktopWinnerReveal.desktop-winner-reveal{
  position:absolute;top:17%;left:50%;transform:translateX(-50%);
  z-index:19;width:max-content;min-width:270px;max-width:min(75%,780px);
  background:#061423e9;border:1px solid #c6a66a;border-radius:13px;
  padding:9px 15px 12px;display:grid;gap:7px;text-align:center;
  box-shadow:0 8px 28px #000b;pointer-events:none;
 }
 body.in-game #desktopWinnerReveal[hidden]{display:none!important}
 body.in-game .desktop-winner-heading{font-size:12px;color:#f7d68f;font-weight:950;letter-spacing:.1em}
 body.in-game .desktop-winner-row{display:flex;align-items:center;justify-content:center;gap:15px}
 body.in-game .desktop-winner-name{color:#fff2cb;font-size:14px;font-weight:900;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.in-game .desktop-winner-cards{display:flex;justify-content:center;gap:6px}
 body.in-game .desktop-winner-cards .playing-card{width:46px;height:64px;font-size:24px;flex:0 0 auto}
 body.in-game .desktop-winner-cards .playing-card .card-corner strong{font-size:21px}
 body.in-game .desktop-winner-cards .playing-card .card-corner span{font-size:24px}
 body.in-game .desktop-winner-cards .playing-card.win-five-check-card::after{top:-12px!important}
}

/* LISICHKINO_ACCOUNT_V15 */
.account-screen[hidden],.account-form[hidden]{display:none!important}
.account-screen{position:fixed;z-index:20000;inset:0;overflow:auto;padding:24px 12px max(36px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 45% 2%,#183b43,#070f1b 56%,#050912 100%);color:#f8f4e8;}
.account-card{width:min(100%,460px);margin:4vh auto 0;border:1px solid #bd9551;border-radius:22px;background:#101b27;box-shadow:0 15px 65px #0009;padding:24px;display:flex;flex-direction:column;gap:10px}
.account-logo{font-size:46px;text-align:center}.account-card h1{font-size:28px;letter-spacing:.055em;margin:0;text-align:center;color:#fff}.account-card h3{margin:4px 0}.account-sub{margin:0 0 12px;text-align:center;color:#c8bd9c;font-size:14px}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.account-tabs button{background:#1e2d36;border:1px solid #46545b;border-radius:9px;padding:12px;color:#f5f1de;font-weight:700}.account-tabs button.selected{background:#294e40;border-color:#d8b35e}
.account-form{display:flex;flex-direction:column;gap:12px}.account-form label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:14px}.account-form input,.account-form select{box-sizing:border-box;width:100%;font-size:16px;min-height:45px;border-radius:9px;padding:10px 12px;border:1px solid #5f6e75;background:#0a131b;color:#fff}
.account-form .primary{min-height:48px;font-size:16px;font-weight:800;border-radius:9px;background:#21894b;color:white}.account-link{background:none;border:0;color:#eac373;font-weight:650;padding:8px}
.account-avatar{font-size:34px;text-align:center;display:flex;align-items:center;justify-content:center;border-radius:100%;width:62px;height:62px;margin:auto;background:#152c30;border:2px solid #d5ae53;overflow:hidden}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-error{color:#ff9b91;min-height:0;margin:4px 0;text-align:center}.account-hint{color:#a9bbc2;font-size:12px;line-height:1.5;margin:5px 0}
.account-welcome{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.account-welcome-buttons{display:flex;gap:6px;flex-wrap:wrap}.account-welcome button{border:1px solid #ba9a5c;border-radius:8px;background:#223438;color:#f7f2e4;padding:9px 13px;font-weight:700}
body.accounts-active .lobby .identity-grid,body.accounts-active .lobby .avatar-upload-row,body.accounts-active .lobby .intro>.tiny{display:none!important}
.account-home-choice{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.account-home-choice button{min-width:130px;flex:1;min-height:50px;border:2px solid #b9985b;border-radius:10px;background:#194f43;color:#fff;font-weight:bold}
@media(max-width:600px){.account-card{margin:0 auto;padding:18px 16px}.account-screen{padding-top:max(15px,env(safe-area-inset-top))}.account-home-choice button{min-width:115px}}


/* POKERLIS_V16_LAYOUT — clean original, PPPoker-inspired, fully responsive poker table */
:root{--pl-felt-center:#198d67;--pl-felt-mid:#12634a;--pl-felt-edge:#082b29;--pl-rail:#272d39;--pl-edge:#9da4ab}
body.in-game #game .stage:not(.felt-wood):not(.felt-queen) .felt{
 border-radius:49% / 49%;
 border:clamp(9px,1.1vw,16px) solid #202937;
 background:radial-gradient(ellipse at 45% 37%,#20896c 0%,#126b52 46%,#094032 82%,#082d2d 100%);
 box-shadow:inset 0 0 0 2px #788a8a,inset 0 0 0 5px #111a22,inset 0 0 38px #041a1c98,0 2px 0 3px #939ea4,0 7px 0 8px #1c2633,0 17px 28px #000a;
}
body.in-game #game .stage.felt-wood .felt,
body.in-game #game .stage.felt-queen .felt{border-color:#312a27}
body.in-game #game .stage.felt-green .felt{background:radial-gradient(ellipse at 45% 36%,#278e65 0%,#12674e 58%,#082b27 100%)}
body.in-game #game .felt .table-watermark{color:#d1ffdd54;font-size:clamp(11px,1.2vw,18px);font-family:system-ui,sans-serif;font-weight:900;letter-spacing:.22em;top:10%}
body.in-game #game .center-field{top:45%;left:6%;right:6%;gap:clamp(2px,.35vw,6px)}
body.in-game #game .board{gap:clamp(3px,.4vw,7px);align-items:center;justify-content:center;min-height:0}
body.in-game #game .board .playing-card,
body.in-game #game .board-placeholder{border-radius:6px;flex:0 0 auto}
body.in-game #game .board .playing-card{
 border:2px solid #e6e2d8!important;background:linear-gradient(160deg,#fff,#f1f3ee)!important;
 box-shadow:0 3px 8px #000b;color:#162735;overflow:visible;
}
body.in-game #game .board .playing-card.red-card{color:#c72c31!important}
body.in-game #game .stage .board-placeholder{border:1px solid #ffffff48;background:#052a30a0}
body.in-game #game #myHand{z-index:24}
body.in-game #game #myHand .playing-card{border:2px solid #eff2e8;background:linear-gradient(160deg,#fff,#e8efeb);box-shadow:0 3px 8px #0009}
body.in-game #game #myHand .playing-card.red-card{color:#bc242c}
body.in-game #game .seat .seat-stack{color:#ffe680!important;text-shadow:0 1px 4px #000;font-weight:900}
body.in-game #game .seat .avatar{border:2.5px solid #8c9ea0!important;background:#152a2d!important;box-shadow:0 3px 12px #000b}
body.in-game #game .seat.active .avatar{outline:3px solid #f6dc5b!important;outline-offset:2px}
body.in-game #game .seat.hero .avatar{border-color:#f3d35e!important}
body.in-game #game .seat .mini-cards{overflow:visible!important;opacity:1;filter:none;z-index:18}
body.in-game #game .seat .mini-cards .playing-card.card-hidden{border:2px solid #e6ede8!important;border-radius:4px!important;
 background:repeating-linear-gradient(45deg,#163e6d 0 5px,#326ea0 5px 8px,#102447 8px 11px)!important;
 box-shadow:inset 0 0 0 2px #a2d0ec99,0 2px 6px #000b!important}
body.in-game #game .action-panel{position:relative;z-index:21;}
body.in-game #game .action-panel .action{font-weight:950;letter-spacing:.015em;text-shadow:0 1px 2px #0008;}
body.in-game #game .action-panel .action.fold{background:linear-gradient(#5d3743,#3d1b2b)!important}
body.in-game #game .action-panel .action.call{background:linear-gradient(#31665d,#183f3a)!important}
body.in-game #game .action-panel .action.bank{background:linear-gradient(#316e60,#174035)!important}
body.in-game #game .action-panel .action.raise{background:linear-gradient(#a98a4d,#695628)!important;color:white!important}
body.in-game #game .action-panel .quick-slot{background:#205c7a!important}
body.in-game #game .action-panel .all-in-action{background:linear-gradient(#843a40,#4c1d24)!important}
body.in-game #game .topbar .wordmark{font-family:system-ui,-apple-system,sans-serif;letter-spacing:.016em;font-weight:950}
body.in-game #game .quick-chat-bar{z-index:45}
.pokerlis-volume{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 7px;border-top:1px solid #ffffff25}
.pokerlis-volume-label{font-weight:800;font-size:13px;flex:1 1 100px}
.pokerlis-volume-button{display:grid;place-items:center;width:42px;height:42px;font-size:23px;background:#274e4b;border:1px solid #97be9c;color:white;padding:0}
.pokerlis-volume-speaker{font-size:23px}
.pokerlis-volume-number{min-width:35px;font-weight:900;font-variant-numeric:tabular-nums;text-align:center}
@media(min-width:851px){
 body.in-game #game .stage{aspect-ratio:1.68!important;width:min(calc(100vw - 28px),calc((100dvh - 310px) * 1.68))!important}
 body.in-game #game .board .playing-card,body.in-game #game .board-placeholder{width:clamp(48px,3.5vw,68px)!important;height:clamp(67px,4.85vw,95px)!important}
 body.in-game #game #myHand .playing-card{width:clamp(58px,4vw,75px)!important;height:clamp(81px,5.6vw,105px)!important}
 body.in-game #game .seat:not(.hero) .mini-cards .playing-card{width:clamp(31px,2.5vw,43px)!important;height:clamp(44px,3.6vw,60px)!important;margin-right:-8px!important}
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card{width:clamp(42px,3.1vw,58px)!important;height:clamp(59px,4.4vw,81px)!important;margin-right:-3px!important}
 body.in-game #game .seat .avatar-shell{width:clamp(63px,4.8vw,83px)!important;height:clamp(63px,4.8vw,83px)!important}
 body.in-game #game .action-panel{grid-template-columns:repeat(6,minmax(0,1fr))!important;width:min(95%,1400px)!important;gap:7px!important;}
 body.in-game #game .action-panel>.action,body.in-game #game .action-panel>.quick-slot{min-height:65px!important;max-height:83px!important}
 body.in-game #game .action-panel .action{font-size:clamp(16px,1.45vw,24px)!important;padding:4px 6px!important}
 body.in-game #game .seat .seat-name{font-size:clamp(12px,.9vw,15px)!important}
 body.in-game #game .seat .seat-stack{font-size:clamp(13px,.95vw,17px)!important}
}
@media(max-width:850px){
 body.in-game #game .stage{aspect-ratio:1000/1370!important;width:min(100vw,480px)!important;max-width:100vw!important}
 body.in-game #game .felt{inset:4.5% 6.2%!important;border-width:9px!important}
 body.in-game #game .board .playing-card,body.in-game #game .board-placeholder{width:clamp(31px,10.3vw,44px)!important;height:clamp(44px,14.4vw,62px)!important}
 body.in-game #game #myHand .playing-card{width:clamp(40px,12.3vw,51px)!important;height:clamp(56px,17vw,71px)!important}
 body.in-game #game .seat .avatar{width:clamp(37px,10.8vw,52px)!important;height:clamp(37px,10.8vw,52px)!important}
 body.in-game #game .seat:not(.hero) .mini-cards .playing-card{width:clamp(19px,5.8vw,27px)!important;height:clamp(27px,7.8vw,37px)!important;margin-right:-4px!important}
 body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card{width:clamp(26px,7.6vw,34px)!important;height:clamp(37px,10.6vw,48px)!important;margin-right:-3px!important}
 body.in-game #game .action-panel{width:100%!important;gap:4px!important;padding:2px 4px!important}
 body.in-game #game .action-panel .action{font-size:clamp(12px,3.6vw,16px)!important;min-height:53px!important;padding:3px 2px!important}
 body.in-game #game .seat .seat-name{font-size:clamp(8px,2.3vw,11px)!important}
 body.in-game #game .seat .seat-stack{font-size:clamp(9px,2.5vw,12px)!important}
 body.in-game #game .center-field{top:45%!important}
 body.in-game #game .quick-chat-bar{position:relative;z-index:45}
}
@media(max-width:380px) and (max-height:740px){
 body.in-game #game .stage{width:min(100%,365px)!important}
 body.in-game #game .board .playing-card{width:clamp(29px,9.4vw,36px)!important;height:clamp(42px,13.2vw,51px)!important}
}

/* POKERLIS V17: additions scoped to table controls. Never move seats, hero nick/stack, own cards or table. */
body.in-game #game .voice-bar #quickChatBar{
 position:relative!important;top:auto!important;flex:1 1 0!important;min-width:0!important;
 width:auto!important;max-width:none!important;min-height:38px!important;margin:0!important;
 border-radius:9px!important;z-index:12!important;background:#091827f5!important;
}
body.in-game #game .voice-bar #quickChatBar .quick-chat-latest{min-height:37px!important;height:37px!important;font-size:clamp(10px,2.8vw,14px)!important;padding:2px 6px!important;gap:4px!important}
body.in-game #game .voice-bar #quickChatBar .quick-chat-form{min-height:37px!important;height:37px!important;padding:2px 3px!important;gap:3px!important}
body.in-game #game .voice-bar #quickChatBar .quick-chat-form input{height:32px!important;min-width:0;font-size:16px!important;padding:4px 5px!important}
body.in-game #game .voice-bar #quickChatBar .quick-chat-form button{height:32px!important;min-width:31px!important;padding:2px 4px!important}
body.in-game #game .voice-bar #quickChatBar .quick-chat-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.in-game #game .voice-bar #quickChatBar .quick-chat-ico{font-size:13px!important}
body.in-game #game .voice-bar #quickChatBar .quick-chat-arrow{display:none}
body.in-game #game .action-panel .quick-slot{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr!important;align-items:stretch!important;gap:0!important;overflow:hidden!important}
body.in-game #game .action-panel .quick-slot::after{content:''!important;inset:0 auto 0 50%!important;width:2px!important;height:100%!important;background:#c4d6e2!important;transform:translateX(-50%)!important;opacity:.75!important}
body.in-game #game .action-panel .quick-slot button.action{height:100%!important;min-height:100%!important;width:100%!important;padding:0!important;font-size:clamp(15px,4vw,22px)!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:0!important}
body.in-game #game .action-panel .quick-slot button.action.confirm{background:#2d8d7b!important;box-shadow:inset 0 0 0 2px #f6d677!important;color:#fff!important}
body.in-game #game .action-panel .preselected{opacity:1!important;box-shadow:inset 0 0 0 3px #f8e386,0 0 7px #e9c967!important;background:#25664c!important;color:#fff!important}
body.in-game #game #omahaBtn.omaha-table-toggle{position:absolute;z-index:21;left:34%;top:15%;transform:translate(-50%,-50%);white-space:nowrap;border:1px solid #dfc477;border-radius:12px;background:#071c25e8;color:#ffe9ae;font-size:clamp(11px,1vw,15px);font-weight:900;padding:5px 9px;min-height:26px;min-width:0;box-shadow:0 2px 8px #0009;touch-action:manipulation}
body.in-game #game #omahaBtn.omaha-table-toggle[aria-pressed=true]{background:#165340dd;border-color:#63d8a8;color:white}
body.in-game #game #omahaBtn.omaha-table-toggle:disabled{opacity:.45}
.pokerlis-sound-test{margin:8px 7px 6px;background:#2b4c5b;border:1px solid #d7bd79;font-weight:900;min-height:42px}
/* Keep remote HTML audio elements present in the WebKit render tree. */
body.in-game #game .voice-audio-host{display:block!important;position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
@media(max-width:850px){
 body.in-game #game .voice-bar{display:flex!important;align-items:center!important;gap:5px!important;width:calc(100% - 8px)!important;min-height:38px!important;margin:1px auto 3px!important;padding:0 2px!important}
 body.in-game #game .voice-bar .voice-toggle{flex:0 0 auto!important;min-width:0!important;width:clamp(100px,30vw,126px)!important;font-size:clamp(10px,2.8vw,12px)!important;min-height:37px!important;padding:3px 5px!important}
 body.in-game #game .voice-bar .voice-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
 body.in-game #game .voice-bar .voice-exit:not([hidden]){flex:0 0 auto!important;min-width:0!important;max-width:43px!important;min-height:35px!important;padding:2px 4px!important;font-size:0!important}
 body.in-game #game .voice-bar .voice-exit:not([hidden])::after{content:'✕';font-size:16px!important;color:#ffccbf}
 body.in-game #game .action-panel #foldBtn:not(:disabled),body.in-game #game .action-panel #checkCallBtn:not(:disabled){font-size:clamp(10px,2.7vw,13px)!important}
 body.in-game #game #omahaBtn.omaha-table-toggle{font-size:clamp(10px,2.6vw,13px);padding:4px 7px;top:15%;left:34%}
}

/* POKERLIS_MOBILE_MARKUP_V18_2: matches hand-marked iPhone screen regions. */
@media(max-width:850px){
  /* Toast: below iPhone status bar, above the PokerLis header. */
  body.in-game #toast{
    position:fixed!important;top:calc(env(safe-area-inset-top) + 4px)!important;
    left:50%!important;max-width:none!important;width:calc(100% - 14px)!important;
    padding:5px 10px!important;font-size:11px!important;line-height:1.25!important;
    text-align:center!important;border-radius:6px!important;z-index:1000!important;
    pointer-events:none!important;
  }
  /* Compact quick-chat line, precisely anchored under the board by JS. */
  body.in-game #gameStage > #quickChatBar{
    position:absolute!important;left:50%!important;transform:translateX(-50%)!important;
    width:54%!important;min-width:0!important;max-width:300px!important;
    height:27px!important;min-height:27px!important;margin:0!important;
    overflow:visible!important;z-index:34!important;border-radius:6px!important;
    background:rgba(6,18,27,.86)!important;box-shadow:0 2px 6px #0007!important;
    font-size:11px!important;
  }
  body.in-game #gameStage > #quickChatBar .quick-chat-latest{
    height:25px!important;min-height:25px!important;padding:1px 5px!important;
    gap:4px!important;font-size:11px!important;
  }
  body.in-game #gameStage > #quickChatBar .quick-chat-text{
    font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important;
    white-space:nowrap!important;min-width:0!important;
  }
  body.in-game #gameStage > #quickChatBar .quick-chat-form{
    min-height:27px!important;height:27px!important;gap:3px!important;
  }
  body.in-game #gameStage > #quickChatBar .quick-chat-form input{
    min-width:0!important;height:27px!important;padding:0 5px!important;font-size:16px!important;
  }
  body.in-game #gameStage > #quickChatBar .quick-chat-form button{
    height:27px!important;min-width:24px!important;padding:0 3px!important;
  }
  /* Mic: the user's left-hand circled spot ~50px above the action row.
     Keep the voice-bar's original layout space so BETTING BUTTONS NEVER MOVE. */
  body.in-game #game .voice-bar{
    width:calc(100% - 9px)!important;min-height:41px!important;height:41px!important;
    transform:translateY(-50px)!important;z-index:32!important;
    background:transparent!important;border:0!important;box-shadow:none!important;
    pointer-events:none!important;
  }
  body.in-game #game .voice-bar #voiceStatus{
    position:absolute!important;overflow:hidden!important;clip-path:inset(50%)!important;
    height:1px!important;width:1px!important;white-space:nowrap!important;
  }
  body.in-game #game .voice-bar #voiceToggleBtn{
    flex:none!important;width:44px!important;min-width:44px!important;
    height:44px!important;min-height:44px!important;padding:0!important;
    border-radius:50%!important;font-size:0!important;line-height:1!important;
    pointer-events:auto!important;
  }
  body.in-game #game .voice-bar #voiceToggleBtn::before{
    content:'🎙'!important;font-size:21px!important;
  }
  body.in-game #game .voice-bar #voiceToggleBtn.is-muted::before{
    content:'🔇'!important;
  }
  body.in-game #game .voice-bar #voiceExitBtn{
    min-width:42px!important;min-height:32px!important;padding:3px!important;
    font-size:10px!important;pointer-events:auto!important;
  }
}

/* POKERLIS_SHOWDOWN_V18_3_1: cleaner showdown layout and burn-card row. */
.result{display:none!important}
.center-field{top:40.2%;gap:10px}
.pot{position:relative;z-index:7;transform:translateY(-8px);font-size:clamp(13px,2.3vw,22px);line-height:1.02;text-align:center}
.pot span{display:block;font-size:.82em;letter-spacing:.08em}.pot strong{display:block;font-size:1.18em}
.result-banner{width:auto;max-width:min(470px,92vw);padding:8px 12px;border-radius:12px;gap:4px;box-shadow:0 8px 24px #000c,0 0 18px #ffcc3650}
.result-banner strong{font-size:clamp(11px,2.4vw,17px);line-height:1.18}.result-banner span{font-size:clamp(10px,2vw,14px);line-height:1.1;color:#fff6d0}
.burn-pile{position:absolute;top:61.2%;left:50%;transform:translateX(-50%);width:132px;height:50px;z-index:6;pointer-events:none}
.burn-card{position:absolute;top:0;border:2px solid #d6c492;border-radius:5px;background:repeating-linear-gradient(45deg,#263f58 0px,#263f58 3px,#b29158 3px,#b29158 5px,#701e34 5px,#701e34 7px);box-shadow:0 2px 5px #000b;opacity:.95;transform:none!important}
.burn-card-await{opacity:0}
@media(max-width:850px){
  .center-field{top:39.4%;gap:10px}
  .pot{transform:translateY(-11px);font-size:clamp(15px,4.5vw,19px)}
  .result-banner{max-width:calc(100vw - 16px);padding:7px 10px;border-radius:10px}
  .result-banner strong{font-size:clamp(10px,4.2vw,15px)}
  .result-banner span{font-size:clamp(10px,3.6vw,13px)}
  .burn-pile{top:60.4%}
}

/* POKERLIS_V18_4_SAFE_ALERTS: mobile notification placed below the real action panel. */
@media (max-width:850px){
 body.in-game #game #toast{
  display:none!important;position:relative!important;top:auto!important;right:auto!important;
  bottom:auto!important;left:auto!important;transform:none!important;
  width:min(calc(100% - 10px),520px)!important;max-width:520px!important;
  margin:7px auto 0!important;min-height:0!important;
  padding:6px 10px!important;border-radius:8px!important;
  font-size:11px!important;line-height:1.2!important;text-align:center!important;
  opacity:0!important;transition:none!important;pointer-events:none!important;
  z-index:140!important;box-shadow:0 3px 11px #0009!important;
 }
 body.in-game #game #toast.visible{display:block!important;opacity:1!important;transform:none!important}
 body.in-game #game .table-area{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
}
/* Two clean lines: winner and combination, still positioned above the pot by V18.3.1. */
body.in-game #resultBanner{
 width:min(285px,78vw)!important;max-width:calc(100vw - 16px)!important;
 min-height:0!important;padding:7px 9px!important;border-radius:9px!important;
 gap:2px!important;line-height:1.15!important;
}
body.in-game #resultBanner .pokerlis-winner-name{
 display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;font-size:clamp(11px,3.3vw,15px)!important;
 line-height:1.2!important;font-weight:950!important;
}
body.in-game #resultBanner .pokerlis-winner-hand{
 display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;font-size:clamp(10px,3vw,13px)!important;
 line-height:1.15!important;font-weight:800!important;
}
/* Main player's face-card symbols are centered exactly as on the board. */
body.in-game #game .my-hand .playing-card:not(.card-hidden) .card-corner{
 position:absolute!important;top:50%!important;left:50%!important;
 transform:translate(-50%,-50%)!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 line-height:.85!important;gap:0!important;
}
body.in-game #game .my-hand .playing-card:not(.card-hidden) .card-corner strong{
 font-size:clamp(19px,5vw,26px)!important;line-height:1!important;
}
body.in-game #game .my-hand .playing-card:not(.card-hidden) .card-corner span{
 font-size:clamp(24px,6vw,32px)!important;line-height:1!important;
}
body.in-game #game .my-hand .playing-card:not(.card-hidden) .card-big-suit{display:none!important}



/* POKERLIS_OMAHA_BUTTON_V18_8_P1 — real checkbox-style Omaha control, not puck. */
@media(max-width:850px){
 body.in-game #game #voiceBar > #omahaBtn.omaha-table-toggle{
   position:relative!important;inset:auto!important;top:auto!important;left:auto!important;
   right:auto!important;bottom:auto!important;transform:none!important;
   display:flex;align-items:center;justify-content:center;
   flex:0 0 auto!important;margin:0 0 0 auto!important;
   height:44px!important;min-height:44px!important;min-width:0!important;
   max-width:45vw!important;padding:0 10px!important;
   font-size:clamp(11px,3.3vw,14px)!important;white-space:nowrap!important;
   pointer-events:auto!important;z-index:40!important;
 }
 body.in-game #game #voiceBar > #omahaBtn.omaha-table-toggle[hidden]{display:none!important}
}

/* POKERLIS_V18_8_BOTTOM_META_P3 — info always visible below bets; popup occupies EXACT same area. */
@media(max-width:850px){
 body.in-game #game .table-area > #pokerlisBottomSessionV188{
  display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:calc(100% - 12px)!important;max-width:560px!important;
  height:30px!important;min-height:30px!important;
  margin:5px auto 0!important;padding:0 5px!important;
  border-radius:8px!important;background:rgba(6,20,30,.66)!important;
  border:1px solid rgba(204,172,105,.28)!important;color:#eed7a5!important;
  overflow:visible!important;z-index:30!important;pointer-events:none!important;
 }
 body.in-game #game #pokerlisBottomSessionV188 .pokerlis-session-label{
  display:block!important;width:100%!important;text-align:center!important;
  overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  font:800 clamp(9px,2.6vw,12px)/1.2 system-ui,sans-serif!important;letter-spacing:.005em!important;
 }
 /* Override old topbar toast and old V18.4 relative toast layout. */
 body.in-game #game #pokerlisBottomSessionV188 > #toast{
  position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:3px 8px!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;font:800 clamp(10px,2.7vw,12px)/1.15 system-ui,sans-serif!important;
  overflow:hidden!important;border-radius:8px!important;
  transform:none!important;opacity:0!important;visibility:hidden!important;
  z-index:2!important;pointer-events:none!important;transition:opacity .15s ease!important;
 }
 body.in-game #game #pokerlisBottomSessionV188 > #toast.visible{
  display:flex!important;opacity:1!important;visibility:visible!important;transform:none!important;
 }
 /* Session numbers live below the actions, no duplicate header text on mobile. */
 body.in-game #headerSubtitle,body.in-game #headerGameInfo{display:none!important}
}
@media(min-width:851px){#pokerlisBottomSessionV188{display:none!important}}


/* POKERLIS_HEADER_TRANSPARENT_V18_8_P4 */
@media (max-width:850px) {
 body.in-game > header.topbar {
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  border-bottom-color:transparent!important;
  pointer-events:none!important;
 }
 body.in-game > header.topbar button,
 body.in-game > header.topbar a,
 body.in-game > header.topbar input {
  pointer-events:auto!important;
 }
}

/* POKERLIS_CHAT_HERO_BETS_V18_8_2: below hero, above bet controls, inline between mic/Omaha. */
@media(max-width:850px){
 body.in-game #game #voiceBar > #voiceToggleBtn{order:0!important}
 body.in-game #game #voiceBar > #voiceExitBtn{order:1!important}
 body.in-game #game #voiceBar > #quickChatBar{
  order:2!important;position:relative!important;inset:auto!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;flex:1 1 0!important;width:auto!important;
  max-width:none!important;min-width:0!important;
  margin:0 3px!important;padding:0!important;
  height:37px!important;min-height:37px!important;
  pointer-events:auto!important;z-index:46!important;
  display:flex!important;box-sizing:border-box!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-latest{
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:35px!important;min-height:35px!important;overflow:hidden!important;
  font-size:clamp(10px,2.7vw,13px)!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-text{
  flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;
  white-space:nowrap!important;text-overflow:ellipsis!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-form{
  min-width:0!important;width:100%!important;min-height:35px!important;height:35px!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-form input{
  min-width:0!important;flex:1 1 0!important;font-size:16px!important;
 }
 body.in-game #game #voiceBar > #omahaBtn.omaha-table-toggle{
  order:3!important;flex:0 0 auto!important;
 }
}

/* POKERLIS_CHAT_LOWER_V18_8_3 — only phone game chat; same row as mic and Omaha. */
@media(max-width:850px){
 body.in-game #game #voiceBar{display:flex!important;align-items:center!important;justify-content:space-between!important;}
 body.in-game #game #voiceBar > #voiceToggleBtn{order:0!important;flex-shrink:0!important;}
 body.in-game #game #voiceBar > #voiceExitBtn{order:1!important;flex-shrink:0!important;}
 body.in-game #game #voiceBar > #quickChatBar{
  order:2!important;display:flex!important;align-items:center!important;
  position:relative!important;inset:auto!important;top:auto!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;float:none!important;
  flex:1 1 0!important;min-width:0!important;max-width:none!important;
  width:auto!important;height:36px!important;min-height:36px!important;
  margin:0 4px!important;padding:0!important;z-index:46!important;
  pointer-events:auto!important;box-sizing:border-box!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-latest{
  display:flex!important;align-items:center!important;
  height:35px!important;min-height:35px!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
  padding:2px 4px!important;overflow:hidden!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-text{
  min-width:0!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-form{
  width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;
 }
 body.in-game #game #voiceBar > #quickChatBar .quick-chat-form input{
  min-width:0!important;flex:1 1 0!important;font-size:16px!important;
 }
 body.in-game #game #voiceBar > #omahaBtn.omaha-table-toggle{order:3!important;flex-shrink:0!important;}
}

/* POKERLIS_CHAT_ABOVE_BETS_V18_8_4: mobile chat 3 CSS px above BETTING buttons. */
@media(max-width:850px){
 body.in-game #game #actionPanel{
  position:relative!important;overflow:visible!important;
 }
 body.in-game #game #actionPanel > #quickChatBar{
  position:absolute!important;
  top:auto!important;bottom:calc(100% + 3px)!important;
  left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;
  display:flex!important;align-items:center!important;
  height:29px!important;min-height:29px!important;
  width:min(58%,320px)!important;max-width:calc(100% - 20px)!important;
  margin:0!important;padding:0!important;
  z-index:55!important;pointer-events:auto!important;
  flex:none!important;float:none!important;box-sizing:border-box!important;
 }
 body.in-game #game #actionPanel > #quickChatBar .quick-chat-latest{
  display:flex!important;align-items:center!important;
  height:28px!important;min-height:28px!important;
  width:100%!important;min-width:0!important;
  padding:1px 5px!important;overflow:hidden!important;
 }
 body.in-game #game #actionPanel > #quickChatBar .quick-chat-text{
  min-width:0!important;overflow:hidden!important;
  white-space:nowrap!important;text-overflow:ellipsis!important;
 }
 body.in-game #game #actionPanel > #quickChatBar .quick-chat-form{
  min-height:28px!important;height:28px!important;width:100%!important;min-width:0!important;
 }
 body.in-game #game #actionPanel > #quickChatBar .quick-chat-form input{
  height:27px!important;min-width:0!important;flex:1 1 auto!important;font-size:16px!important;
 }
 body.in-game #game #actionPanel > #quickChatBar .quick-chat-form button{
  height:27px!important;min-height:27px!important;
 }
}

/* POKERLIS_OMAHA_FIVE_CARDS_V18_8_5: ONLY 5 card shapes, no button silhouette or label.
   In phones: directly left of the administrator [A]. Off=grey, on=color. */
@media(max-width:850px){
 body.in-game > header.topbar #headerSession > #omahaBtn.omaha-table-toggle{
  order:0!important;position:relative!important;
  inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;display:block!important;
  flex:0 0 58px!important;width:58px!important;min-width:58px!important;max-width:58px!important;
  height:41px!important;min-height:41px!important;max-height:41px!important;
  padding:0!important;margin:0 0 0 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;
  box-shadow:none!important;color:transparent!important;font-size:0!important;line-height:0!important;
  outline-offset:2px!important;overflow:visible!important;
  pointer-events:auto!important;z-index:40!important;-webkit-tap-highlight-color:transparent;
  touch-action:manipulation!important;
 }
 body.in-game > header.topbar #headerSession > #omahaBtn.omaha-table-toggle[hidden]{display:none!important}
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card{
  position:absolute;display:block;box-sizing:border-box;
  width:21px;height:30px;top:7px;left:19px;
  border:1.6px solid #ffe9c1;border-radius:3px;
  background:repeating-linear-gradient(45deg,transparent 0 3px,#ffffff24 3px 4px,transparent 4px 8px),linear-gradient(150deg,#c54d31,#661b36);
  box-shadow:0 1px 3px #0009,inset 0 0 0 2px #fff6;
  transform-origin:50% 90%;
  filter:grayscale(1) saturate(0) brightness(.8);
  transition:filter .16s ease,box-shadow .16s ease,transform .16s ease;
  pointer-events:none;
 }
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:after{
  content:'';position:absolute;inset:4px;
  border:1px solid #f8dcc877;border-radius:1px;
  background:linear-gradient(45deg,transparent 36%,#ffecae55 36% 46%,transparent 46% 54%,#ffecae55 54% 64%,transparent 64%);
 }
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:nth-child(1){z-index:1;left:5px;transform:rotate(-23deg);background-color:#c1422e}
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:nth-child(2){z-index:2;left:11px;transform:rotate(-12deg);background:linear-gradient(150deg,#e1a72a,#84441b)}
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:nth-child(3){z-index:3;left:18px;transform:rotate(0deg);background:linear-gradient(150deg,#b62435,#73213b)}
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:nth-child(4){z-index:4;left:25px;transform:rotate(12deg);background:linear-gradient(150deg,#3679aa,#193a75)}
 body.in-game > header.topbar #headerSession > #omahaBtn .omaha-five-card:nth-child(5){z-index:5;left:32px;transform:rotate(23deg);background:linear-gradient(150deg,#42855d,#195647)}
 body.in-game > header.topbar #headerSession > #omahaBtn[aria-pressed="true"] .omaha-five-card{
  filter:none;box-shadow:0 2px 5px #000b,0 0 5px #eec04d55,inset 0 0 0 2px #fffa;
 }
 body.in-game > header.topbar #headerSession > #omahaBtn:focus-visible{
  outline:2px solid #ffe8aa!important;outline-offset:3px!important;
 }
 /* Older V18.8 P1 only applies inside voiceBar; the moved header button ignores it. */
}

/* POKERLIS_OMAHA_BUTTON_SHIFT_V18_8_5A */
@media (max-width: 850px) {
  body.in-game #omahaBtn.omaha-table-toggle {
    margin-left: 38px !important;
    margin-top: 38px !important;
  }
}


/* POKERLIS_ADMIN_V18_8_8_FOUR_BUTTONS_20261110 */
.adm-bot-row{display:grid;grid-template-columns:minmax(54px,1fr) minmax(100px,2fr) minmax(54px,1fr);gap:8px;align-items:stretch;margin:4px 0 8px}
.adm-bot-row .adm-bot-step{min-width:0;padding:8px 2px;font-size:26px;font-weight:700;text-align:center;line-height:1.15}
.adm-bot-total{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #6f85a4;border-radius:9px;font-weight:700;font-size:16px;min-height:44px;white-space:nowrap;user-select:none}
.adm-bot-row button:disabled{opacity:.45;cursor:default}


/* POKERLIS_OPEN_ACE_V18_8_9_VISIBLE_ARRIVALS_20261110 */
/* Face-up starter cards remain beside every seat until the first poker hand. */
.pokerlis-opening-cards{position:absolute;z-index:12;pointer-events:none;display:grid;
 grid-template-columns:repeat(var(--opening-card-columns,1),22px);gap:2px;
 width:max-content;max-width:none;align-items:center;justify-content:center;
 filter:drop-shadow(0 2px 3px #000a)}
.pokerlis-opening-cards[data-side="above"]{bottom:calc(100% + 7px);left:50%;transform:translateX(-50%)}
.pokerlis-opening-cards[data-side="below"]{top:calc(100% + 7px);left:50%;transform:translateX(-50%)}
.pokerlis-opening-cards[data-side="right"]{left:calc(100% + 6px);top:50%;transform:translateY(-50%)}
.pokerlis-opening-cards[data-side="left"]{right:calc(100% + 6px);top:50%;transform:translateY(-50%)}
.pokerlis-opening-cards .playing-card.pokerlis-opening-face{
 width:22px;height:30px;min-width:22px;min-height:30px;box-sizing:border-box;
 margin:0;border:1px solid #d7bb7d;border-radius:3px;
 transform:none;position:relative;display:block;background:#fffdf5;
 box-shadow:0 1px 3px #000a;opacity:1;visibility:visible;}
.pokerlis-opening-cards .pokerlis-opening-face .card-corner{top:3px;left:50%;transform:translateX(-50%);line-height:1;gap:0}
.pokerlis-opening-cards .pokerlis-opening-face .card-corner strong{font-size:12px;line-height:1;font-weight:900}
.pokerlis-opening-cards .pokerlis-opening-face .card-corner span{font-size:13px;line-height:1.05}
@media(max-width:850px){
 .pokerlis-opening-cards{grid-template-columns:repeat(var(--opening-card-columns,1),18px);gap:1px}
 .pokerlis-opening-cards .playing-card.pokerlis-opening-face{width:18px;height:26px;min-width:18px;min-height:26px}
 .pokerlis-opening-cards .pokerlis-opening-face .card-corner strong{font-size:10px}
 .pokerlis-opening-cards .pokerlis-opening-face .card-corner span{font-size:11px}
}


/* POKERLIS_ACE_HERO_SIZE_V18_8_10_20261110
   Match the opening Ace-draw card dimensions to the active player's hole cards
   in the SAME viewport (body.in-game .my-hand .playing-card).
   No changes to ordinary hands or server-side dealer selection. */
body.in-game .pokerlis-opening-cards {
  grid-template-columns:repeat(var(--opening-card-columns,1),clamp(40px,12vw,51px));
  gap:3px;
}
body.in-game .pokerlis-opening-cards .playing-card.pokerlis-opening-face {
  width:clamp(40px,12vw,51px);
  height:clamp(58px,17vw,71px);
  min-width:clamp(40px,12vw,51px);
  min-height:clamp(58px,17vw,71px);
  border:2px solid #e8d9ad;
  border-radius:5px;
  padding-top:4px;
  margin:0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  position:relative;
  transform:none;
  box-sizing:border-box;
}
body.in-game .pokerlis-opening-cards .pokerlis-opening-face .card-corner {
  position:absolute;
  top:2px;
  left:3px;
  transform:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
  line-height:1;
  font-family:system-ui,sans-serif;
  font-weight:950;
}
body.in-game .pokerlis-opening-cards .pokerlis-opening-face .card-corner strong {
  font-size:clamp(19px,4.4vw,25px);
  font-weight:950;
}
body.in-game .pokerlis-opening-cards .pokerlis-opening-face .card-corner span {
  font-size:clamp(17px,4.1vw,23px);
  line-height:1;
}


/* POKERLIS_ACE_OPPONENT_ALLIN_SIZE_V18_8_11_20261110
   In the opening 'deal for an Ace', OPPONENT cards match the exact dimensions
   of ordinary opponent all-in/showdown .mini-cards .tiny-card cards.
   Hero cards keep V18.8.10 size and style unchanged. */
body.in-game .seat:not(.hero) .pokerlis-opening-cards{
  grid-template-columns:repeat(var(--opening-card-columns,1),23px);
  gap:2px;
}
body.in-game .seat:not(.hero) .pokerlis-opening-cards .playing-card.pokerlis-opening-face{
  width:23px;height:32px;min-width:23px;min-height:32px;
  border-width:1px;border-radius:3px;padding-top:2px;
  display:block;position:relative;box-sizing:border-box;
  margin:0;transform:none;
}
body.in-game .seat:not(.hero) .pokerlis-opening-cards .pokerlis-opening-face .card-corner{
  top:1px;left:2px;transform:none;line-height:1;
}
body.in-game .seat:not(.hero) .pokerlis-opening-cards .pokerlis-opening-face .card-corner strong{
  font-size:9px;
}
body.in-game .seat:not(.hero) .pokerlis-opening-cards .pokerlis-opening-face .card-corner span{
  font-size:7px;
}
@media(max-width:850px){
  body.in-game .seat:not(.hero) .pokerlis-opening-cards{
    grid-template-columns:repeat(var(--opening-card-columns,1),17px);
    gap:2px;
  }
  body.in-game .seat:not(.hero) .pokerlis-opening-cards .playing-card.pokerlis-opening-face{
    width:17px;height:24px;min-width:17px;min-height:24px;
  }
}


/* POKERLIS_INITIAL_ACE_CARDS_V18_8_10_1
   Dealer selection only: each new face-up card overlays the earlier card.
   Cards use the same mobile size as an opponent's face-up all-in cards. */
body.in-game #game .seat .avatar-shell > .opening-dealer-cards{
 position:absolute!important;left:50%!important;top:50%!important;
 transform:translate(-50%,-50%)!important;
 display:block!important;grid-template-columns:none!important;
 width:clamp(26px,7.6vw,34px)!important;
 height:clamp(37px,10.6vw,48px)!important;
 z-index:30!important;pointer-events:none!important;
 isolation:isolate;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card{
 position:absolute!important;display:flex!important;
 left:0!important;top:0!important;
 width:100%!important;height:100%!important;
 min-width:0!important;min-height:0!important;max-width:none!important;
 margin:0!important;padding:1px!important;
 border-radius:3px!important;border-width:1px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 filter:none!important;
 backface-visibility:hidden;
 animation:lisOpeningDealerFlip .23s ease-out both!important;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card .card-corner{
 font-size:clamp(12px,3vw,16px)!important;
 top:1px!important;left:2px!important;line-height:1.05!important;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card .card-corner strong{
 font-size:clamp(12px,3vw,16px)!important;line-height:1.05!important;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card .card-corner span{
 font-size:clamp(10px,2.8vw,14px)!important;line-height:1!important;
}
@keyframes lisOpeningDealerFlip{
 0%{opacity:0;transform:translateY(-9px) rotateY(75deg)}
 100%{opacity:1;transform:translateY(0) rotateY(0deg)}
}


/* POKERLIS_MAIN_MENU_SOUND_MOON_V18_8_12_20261110 */
.pokerlis-sound-compact{
 display:grid;grid-template-columns:minmax(52px,1fr) minmax(110px,2.2fr) minmax(52px,1fr);
 gap:7px;align-items:center;margin:3px 0 8px;min-height:44px;
}
.pokerlis-sound-compact .pokerlis-sound-step{
 padding:8px 6px;min-height:44px;border:1px solid #61727e;border-radius:10px;
 font-size:24px;font-weight:900;line-height:1;background:#17232d;color:#fff0cf;
}
.pokerlis-sound-compact .pokerlis-sound-current{
 min-height:44px;display:flex;align-items:center;justify-content:center;
 color:#ffdf88;font-size:16px;font-weight:800;background:#101924;
 border:1px solid #5a6b77;border-radius:10px;white-space:nowrap;
}
.pokerlis-sound-compact .pokerlis-sound-step:disabled{opacity:.4}
/* Break button sits immediately below the top-right A/+ control group. */
body.in-game #headerSession{position:relative}
body.in-game #headerSession #pokerLisBreakMoon{
 position:absolute;z-index:25;top:calc(100% + 2px);right:4px;
 display:grid!important;place-items:center;flex:none;
 padding:0!important;width:30px;height:30px;min-width:30px;
 border:1px solid #75818f;border-radius:50%;background:#101725ed;
 color:#718296;font-size:24px!important;font-family:Georgia,serif;
 line-height:1;opacity:.48;filter:saturate(.4);box-shadow:0 1px 5px #000b;
 transition:background .15s,color .15s,box-shadow .15s,opacity .15s;
}
body.in-game #headerSession #pokerLisBreakMoon.is-on{
 color:#fff2aa;border-color:#ffd45c;background:#654513;
 opacity:1;filter:none;text-shadow:0 0 5px #fff2aa;
 box-shadow:0 0 13px #ffc242b5,0 2px 5px #000a;
}
body.in-game #headerSession #pokerLisBreakMoon:disabled{opacity:.3}
@media(max-width:630px){
 body.in-game #headerSession #pokerLisBreakMoon{
  top:calc(100% + 5px);right:2px;width:26px;height:26px;min-width:26px;font-size:21px!important;
 }
}

/* POKERLIS_SWAP_OMAHA_MOON_V18_8_13_20261110
   PHONE ONLY: switch visual slots of EXISTING break-moon and Omaha-five-cards controls.
   No DOM nodes, event handlers, or gameplay state are modified. */
@media (max-width:850px){
  /* Crescent goes into the original five-card slot directly to the left of A.
     Width + symmetrical margins matches the original 58px Omaha slot. */
  body.in-game > header.topbar #headerSession > #pokerLisBreakMoon{
    position:relative!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    order:-1!important;
    width:26px!important;min-width:26px!important;max-width:26px!important;
    height:26px!important;min-height:26px!important;max-height:26px!important;
    flex:0 0 26px!important;
    margin:0 16px!important;
    padding:0!important;
    transform:none!important;
    display:grid!important;place-items:center!important;
    z-index:48!important;
  }
  /* Same real Omaha control goes to former crescent spot below the A/+ group.
     More specific than old position:fixed and position:relative declarations. */
  body.in-game > header.topbar #headerSession > #omahaBtn.omaha-table-toggle{
    position:absolute!important;
    top:calc(100% + 5px)!important;
    right:2px!important;
    bottom:auto!important;left:auto!important;
    order:0!important;
    margin:0!important;
    transform:none!important;
    z-index:49!important;
  }
}

/* POKERLIS_ACE_SINGLE_STACK_V18_8_13: eliminate duplicate side tray; only avatar-centered stack. */
body.in-game #game .seat .pokerlis-opening-cards{display:none!important}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards{
 left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
 position:absolute!important;display:block!important;grid-template-columns:none!important;
 width:clamp(26px,7.6vw,34px)!important;height:clamp(37px,10.6vw,48px)!important;
 pointer-events:none!important;z-index:40!important;isolation:isolate;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card{
 position:absolute!important;left:0!important;top:0!important;
 width:100%!important;height:100%!important;
 margin:0!important;animation:none!important;
}
body.in-game #game .seat .opening-dealer-cards > .playing-card.opening-dealer-arrival{
 animation:lisOpeningDealerFlip .23s ease-out both!important;
}
body.in-game #game .fly-opening-card{
 width:clamp(26px,7.6vw,34px)!important;height:clamp(37px,10.6vw,48px)!important;
 border-radius:3px!important;border:1.5px solid #b6c8dc!important;
 background:linear-gradient(145deg,#1b4773,#031126)!important;
 box-shadow:0 2px 6px #000b,inset 0 0 0 2px #607fa2!important;
 color:#fff!important;font-size:15px!important;
}


/* POKERLIS_ACE_BOARD_FACE_V18_8_14
   Match the BOARD's ivory card face, amber edge, centered rank and suit.
   Do NOT change the stack size, avatar position, flight or gameplay. */
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden){
 background:linear-gradient(145deg,#fffdf6,#e5e3d9)!important;
 border:1.8px solid #e5ad54!important;
 border-radius:5px!important;
 box-shadow:0 1px 5px #000b!important;
 color:#0d1e29!important;
 font-family:Georgia,serif!important;
 padding:0!important;
 display:block!important;
 transform:none;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card.red-card:not(.card-hidden){
 color:#e0312a!important;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden) .card-corner{
 position:absolute!important;
 top:50%!important;
 left:50%!important;
 transform:translate(-50%,-50%)!important;
 display:flex!important;
 align-items:center!important;
 flex-direction:column!important;
 gap:0!important;
 line-height:.83!important;
 width:max-content!important;
 font-family:system-ui,-apple-system,sans-serif!important;
 text-align:center!important;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden) .card-corner strong{
 font-family:system-ui,-apple-system,sans-serif!important;
 font-size:clamp(12px,3.4vw,17px)!important;
 font-weight:950!important;
 line-height:1!important;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden) .card-corner span{
 font-size:clamp(18px,4.9vw,24px)!important;
 font-weight:900!important;
 line-height:.95!important;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden) .card-big-suit{
 display:none!important;
}

/* POKERLIS_FACE_SIZE_V18_8_15_START */
body.in-game {
 --face-w:clamp(31px,10.3vw,44px);
 --face-h:clamp(44px,14.4vw,62px);
}
body.in-game #game .playing-card:not(.card-hidden),
body.in-game #game #board .playing-card:not(.card-hidden),
body.in-game #game #myHand .playing-card:not(.card-hidden),
body.in-game #game .seat .mini-cards .playing-card:not(.card-hidden),
body.in-game #game .seat.win-five-visible-opponent .mini-cards .playing-card:not(.card-hidden),
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden),
body.in-game #game .seat .pokerlis-opening-cards .playing-card:not(.card-hidden),
body.in-game #game #desktopWinnerReveal .playing-card:not(.card-hidden),
body.in-game .card-sample .playing-card:not(.card-hidden) {
 width:var(--face-w)!important;
 height:var(--face-h)!important;
 min-width:var(--face-w)!important;
 max-width:var(--face-w)!important;
 min-height:var(--face-h)!important;
 max-height:var(--face-h)!important;
 box-sizing:border-box!important;
 flex-shrink:0;
}
body.in-game #game #board .board-placeholder{
 width:var(--face-w)!important;
 height:var(--face-h)!important;
}
body.in-game #game .seat .avatar-shell > .opening-dealer-cards > .playing-card:not(.card-hidden){
 left:50%!important;
 top:50%!important;
 translate:-50% -50%;
}
/* POKERLIS_FACE_SIZE_V18_8_15_END */


/* POKERLIS_FACE_DESIGN_V18_8_16_START */

/* SINGLE FACE DESIGN FOR ALL GAME MODES */

body.in-game :is(#game .playing-card,#game #board .playing-card,#game #myHand .playing-card,#game #desktopWinnerReveal .playing-card,.card-sample .playing-card):not(.card-hidden){
 background:linear-gradient(
   160deg,#fff 0%,#f1f3ee 100%
 )!important;
 border:2px solid #e6e2d8!important;
 border-radius:5px!important;
 box-sizing:border-box!important;
 font-family:system-ui,-apple-system,sans-serif!important;
}

/* RANK AND SUIT STRICTLY CENTERED */
body.in-game :is(#game .playing-card,#game #board .playing-card,#game #myHand .playing-card,#game #desktopWinnerReveal .playing-card,.card-sample .playing-card):not(.card-hidden) .card-corner{
 position:absolute!important;
 top:50%!important;
 left:50%!important;
 transform:translate(-50%,-50%)!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 gap:0!important;
 width:max-content!important;
 padding:0!important;
 margin:0!important;
 line-height:1!important;
 font-family:system-ui,-apple-system,sans-serif!important;
 text-align:center!important;
 white-space:nowrap!important;
}

/* RANK: 15 TO 23 PX */
body.in-game :is(#game .playing-card,#game #board .playing-card,#game #myHand .playing-card,#game #desktopWinnerReveal .playing-card,.card-sample .playing-card):not(.card-hidden) .card-corner strong{
 font-size:clamp(15px,4vw,23px)!important;
 font-family:system-ui,-apple-system,sans-serif!important;
 font-weight:950!important;
 line-height:1!important;
 margin:0!important;
 padding:0!important;
}

/* SUIT: 23 TO 32 PX */
body.in-game :is(#game .playing-card,#game #board .playing-card,#game #myHand .playing-card,#game #desktopWinnerReveal .playing-card,.card-sample .playing-card):not(.card-hidden) .card-corner span{
 font-size:clamp(23px,5vw,32px)!important;
 font-family:system-ui,-apple-system,sans-serif!important;
 font-weight:900!important;
 line-height:.95!important;
 margin:0!important;
 padding:0!important;
}

/* NO DUPLICATE DECORATIVE SUIT */
body.in-game :is(#game .playing-card,#game #board .playing-card,#game #myHand .playing-card,#game #desktopWinnerReveal .playing-card,.card-sample .playing-card):not(.card-hidden) .card-big-suit{
 display:none!important;
}

/* POKERLIS_FACE_DESIGN_V18_8_16_END */


/* POKERLIS_BOARD_OVERLAY_V18_8_17_START */

/* All five places remain on the felt. */
body.in-game #game #board > .board-placeholder {
  position: relative !important;
  width: var(--face-w) !important;
  height: var(--face-h) !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;

  background: transparent !important;
  background-image: none !important;
  border: 3px solid rgba(237,241,255,.81) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Actual board cards cover the entire placeholder. */
body.in-game #game #board > .board-placeholder > .playing-card {
  position: absolute !important;
  top: -3px !important;
  left: -3px !important;
  width: var(--face-w) !important;
  height: var(--face-h) !important;
  min-width: var(--face-w) !important;
  max-width: var(--face-w) !important;
  min-height: var(--face-h) !important;
  max-height: var(--face-h) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  z-index: 2 !important;
}

/* POKERLIS_BOARD_OVERLAY_V18_8_17_END */


/* POKERLIS_VIEWPORT_GUARD_V18_8_18B */
@media(max-width:850px){
 body.in-game #game #seatLayer > .seat,
 body.in-game #game #myHand {
   translate:var(--pl-safe-x,0px) var(--pl-safe-y,0px);
 }
}


/* POKERLIS_OMAHA_OPPONENT_OPEN_CARDS_V18_8_22 */
@media (max-width:850px){

  /* Возвращаем обычное поведение вне Омахи */
  body.in-game #game #seatLayer > .seat .mini-cards{
    --pl-omaha-open-w: clamp(19px,5.8vw,27px);
    --pl-omaha-open-h: clamp(27px,7.8vw,37px);
    --pl-omaha-overlap: 2px;
  }

  /* Только открытые карты соперников в Омахе */
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:0 !important;
    row-gap:0 !important;
    column-gap:0 !important;
    white-space:nowrap !important;
  }

  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card{
    width: var(--pl-omaha-open-w) !important;
    height: var(--pl-omaha-open-h) !important;
    min-width: var(--pl-omaha-open-w) !important;
    max-width: var(--pl-omaha-open-w) !important;
    min-height: var(--pl-omaha-open-h) !important;
    max-height: var(--pl-omaha-open-h) !important;
    flex: 0 0 auto !important;
    margin-left: calc(-1 * var(--pl-omaha-overlap)) !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }

  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:first-child{
    margin-left: 0 !important;
  }

  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:nth-child(1){ z-index: 1 !important; }
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:nth-child(2){ z-index: 2 !important; }
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:nth-child(3){ z-index: 3 !important; }
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:nth-child(4){ z-index: 4 !important; }
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open > .playing-card:nth-child(5){ z-index: 5 !important; }

  /* Для 5 карт делаем чуть кучнее */
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open-5{
    --pl-omaha-overlap: 2px;
  }

  /* Для 4 карт чуть свободнее */
  body.in-game #game #seatLayer > .seat .mini-cards.pl-omaha-open-4{
    --pl-omaha-overlap: 2px;
  }
}


/* POKERLIS_OMAHA_CARDS_19_27_V18_8_23 */
@media(max-width:850px){
 body.in-game #game #seatLayer > .seat
 .mini-cards.pl-omaha-open > .playing-card{
   margin-right:0!important;
   padding:0!important;
 }

 body.in-game #game #seatLayer > .seat
 .mini-cards.pl-omaha-open >
 .playing-card:not(.card-hidden) .card-corner{
   position:absolute!important;
   top:50%!important;
   left:50%!important;
   transform:translate(-50%,-50%)!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:center!important;
   justify-content:center!important;
   gap:0!important;
   line-height:.9!important;
   width:max-content!important;
   max-width:100%!important;
   white-space:nowrap!important;
 }

 body.in-game #game #seatLayer > .seat
 .mini-cards.pl-omaha-open >
 .playing-card:not(.card-hidden) .card-corner strong{
   font-size:clamp(10px,2.8vw,12px)!important;
   line-height:1!important;
   font-weight:900!important;
 }

 body.in-game #game #seatLayer > .seat
 .mini-cards.pl-omaha-open >
 .playing-card:not(.card-hidden) .card-corner span{
   font-size:clamp(12px,3.7vw,16px)!important;
   line-height:.9!important;
 }
}


/* POKERLIS_OMAHA_LEFT_MID_NUDGE_V18_8_24 */
@media (max-width:850px){
  body.in-game #game #seatLayer > .seat
  .mini-cards.pl-omaha-open.pl-omaha-left-mid-nudge{
    transform: translate(-14px,-16px) !important;
  }
}


/* POKERLIS_STRADDLE_VISIBLE_FIX_V18_8_25 */
#pokerlisPreStraddleOfferV18819{
 position:fixed!important;
 transform:translateX(-50%)!important;
 z-index:9999!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 gap:5px!important;
 width:max-content!important;
 min-width:175px!important;
 max-width:calc(100vw - 16px)!important;
 padding:9px 14px!important;
 background:#101c2d!important;
 border:2px solid #f7ca45!important;
 border-radius:12px!important;
 box-shadow:0 8px 24px #000c,0 0 18px #ffcc3650!important;
 color:#ffdf64!important;
 text-align:center!important;
 pointer-events:auto!important;
 box-sizing:border-box!important;
 font-family:system-ui,sans-serif!important;
}
#pokerlisPreStraddleOfferV18819[hidden]{
 display:none!important;
}
#pokerlisPreStraddleOfferV18819 .pl-pre-offer{
 color:#ffdf64!important;
 font-size:18px!important;
 font-weight:950!important;
 line-height:1.2!important;
}
#pokerlisPreStraddleOfferV18819 .pl-pre-choices{
 display:flex!important;
 flex-direction:row!important;
 justify-content:center!important;
 gap:14px!important;
 margin-top:4px!important;
}
#pokerlisPreStraddleOfferV18819 .pl-pre-choices button{
 appearance:none!important;
 display:grid!important;
 place-items:center!important;
 width:64px!important;
 height:46px!important;
 min-width:64px!important;
 min-height:46px!important;
 padding:0!important;
 border:1px solid #56d99b!important;
 border-radius:10px!important;
 background:#16834a!important;
 color:white!important;
 font-size:29px!important;
 font-weight:950!important;
 line-height:1!important;
 opacity:1;
 touch-action:manipulation;
}
#pokerlisPreStraddleOfferV18819
 .pl-pre-choices button[data-pre-action="no"]{
 background:#ad2630!important;
 border-color:#f16a73!important;
 color:white!important;
}
#pokerlisPreStraddleOfferV18819
 .pl-pre-choices button:disabled{
 opacity:.5!important;
}
#pokerlisPreStraddleOfferV18819 .pl-pre-status{
 color:#64f09d!important;
 font-size:11px!important;
 font-weight:800!important;
}


/* POKERLIS_OMAHA_HERO_FAN_V18_8_28 */
/* Только 5 карт главного игрока на мобильном */
@media(max-width:850px){

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child){
   gap:0!important;
   column-gap:0!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card{
   flex:0 0 auto!important;
   margin-right:0!important;
   transform-origin:50% 85%!important;
   position:relative!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:not(:first-child){
   margin-left:-9px!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:nth-child(1){
   transform:translateY(7px) rotate(-10deg)!important;
   z-index:1!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:nth-child(2){
   transform:translateY(2px) rotate(-5deg)!important;
   z-index:2!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:nth-child(3){
   transform:translateY(0px) rotate(0deg)!important;
   z-index:3!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:nth-child(4){
   transform:translateY(2px) rotate(5deg)!important;
   z-index:4!important;
 }

 body.in-game #game #myHand:has(> .playing-card:nth-child(5):last-child) > .playing-card:nth-child(5){
   transform:translateY(7px) rotate(10deg)!important;
   z-index:5!important;
 }
}

/* POKERLIS_STRADDLE_FINAL_CSS_V18_8_29 */
#pokerlisPreStraddleOfferV18819[hidden]{
 display:none!important;
}
#pokerlisPreStraddleOfferV18819 .pl-pre-final{
 font-size:22px!important;
 font-weight:950!important;
 line-height:1.3!important;
 color:#66efa0!important;
 text-align:center!important;
}

/* POKERLIS_MOBILE_CHAT_ICON_CSS_V18_8_30 */
#plMobileChatBtnV18830{
 display:none!important;
}
@media(max-width:850px){
 body.in-game #quickChatBar{
   display:none!important;
 }

 body.in-game #voiceBar{
   min-height:89px!important;
   height:auto!important;
   align-items:flex-start!important;
   overflow:visible!important;
 }

 body.in-game #plMobileChatBtnV18830{
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   position:absolute!important;
   top:43px!important;
   left:43px;
   width:44px!important;
   height:43px!important;
   min-width:44px!important;
   min-height:43px!important;
   padding:0!important;
   z-index:45!important;
   border:2px solid #d6b66f!important;
   border-radius:12px!important;
   background:linear-gradient(140deg,#18324b,#0b192a)!important;
   color:#ffdc85!important;
   box-shadow:0 3px 10px #0009!important;
   cursor:pointer!important;
   touch-action:manipulation!important;
 }

 #plMobileChatBadgeV18830{
   display:flex;
   position:absolute;
   top:-8px;
   right:-9px;
   min-width:22px;
   height:22px;
   padding:0 4px;
   align-items:center;
   justify-content:center;
   border-radius:999px;
   border:2px solid #152235;
   background:#db3345;
   color:white;
   font:900 11px/1 system-ui,sans-serif;
   box-shadow:0 2px 6px #0008;
   pointer-events:none;
 }

 #plMobileChatBadgeV18830[hidden]{
   display:none!important;
 }
}

/* POKERLIS_MOBILE_CHAT_REAL_CSS_V18_8_31 */
@media(max-width:850px){
 body.in-game #quickChatBar,
 body.in-game #game #quickChatBar,
 body.in-game #game .quick-chat-bar,
 body.in-game #quickChatLatest,
 body.in-game .game-heading #chatBtn{
   display:none!important;
 }

 body.in-game #quickChatBar[hidden]{
   display:none!important;
 }

 body.in-game #plMobileChatBtnV18830{
   display:flex!important;
   visibility:visible!important;
   pointer-events:auto!important;
 }
}
\n/* POKERLIS_REMOVE_WIN_CHECKMARKS_V18_8_32 */\n
/* POKERLIS_VOICE_WEBRTC_DIAGNOSTICS_18828: ring moved from CSP-blocked HTML */

body.in-game #game #voiceToggleBtn.pl-voice-speaking{
 position:relative!important;
 overflow:visible!important;
 border-color:#22ff74!important;
}
body.in-game #game #voiceToggleBtn.pl-voice-speaking::after{
 content:"";
 position:absolute;
 inset:-5px;
 pointer-events:none;
 border:3px solid #23ff68;
 border-radius:inherit;
 box-shadow:0 0 7px 2px #0cff60,
            0 0 20px 5px #00ff6377;
 animation:pl-voice-glow .45s ease-in-out infinite alternate;
}
@keyframes pl-voice-glow{
 from{
  opacity:.6;
  box-shadow:0 0 5px 1px #12ff67;
 }
 to{
  opacity:1;
  box-shadow:0 0 13px 5px #10ff6b,
             0 0 26px 9px #00ff6977;
 }
}
@media(prefers-reduced-motion:reduce){
 body.in-game #game #voiceToggleBtn.pl-voice-speaking::after{
  animation:none!important;
  opacity:1!important;
 }
}



/* POKERLIS_EXTRA_FELTS_V18_8_34 */

/* Меняем только поверхность сукна */
.stage.felt-orange .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #d9984e 0%,#b7652c 58%,#76391e 100%)!important;
}

.stage.felt-red .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #d43c42 0%,#a71e2d 60%,#54141e 100%)!important;
}

.stage.felt-beige .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #ecd9ad 0%,#c8a776 62%,#98764e 100%)!important;
}

.stage.felt-brown .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #9b6540 0%,#704126 60%,#402317 100%)!important;
}

.stage.felt-burgundy .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #903353 0%,#661b3c 60%,#360f28 100%)!important;
}

/* Выбор цвета в существующем меню оформления */
#plExtraFeltsV18834{
 margin-top:14px;
 padding:12px;
 border:1px solid #b99c5670;
 border-radius:12px;
 background:#081522;
}

#plExtraFeltsV18834 .pl-felt-heading{
 color:#f1d28c;
 font-size:13px;
 font-weight:900;
 margin-bottom:10px;
 letter-spacing:.5px;
}

#plExtraFeltsV18834 .pl-felt-options{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;
}

#plExtraFeltsV18834 button{
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:6px;
 min-width:0;
 padding:8px 3px;
 border:1px solid #54677c;
 border-radius:9px;
 background:#142334;
 color:#f5ebd2;
 font:700 11px system-ui,sans-serif;
 cursor:pointer;
}

#plExtraFeltsV18834 button.selected{
 border:2px solid #ffd56d;
 box-shadow:0 0 12px #f6c75a55;
}

#plExtraFeltsV18834 .pl-felt-swatch{
 display:block;
 width:42px;
 height:29px;
 border:2px solid #dec899;
 border-radius:50%;
}

#plExtraFeltsV18834 [data-pl-felt="blue"] .pl-felt-swatch{
 background:#174f91;
}
#plExtraFeltsV18834 [data-pl-felt="orange"] .pl-felt-swatch{
 background:#c56b29;
}
#plExtraFeltsV18834 [data-pl-felt="red"] .pl-felt-swatch{
 background:#b82830;
}
#plExtraFeltsV18834 [data-pl-felt="beige"] .pl-felt-swatch{
 background:#d4bb8c;
}
#plExtraFeltsV18834 [data-pl-felt="brown"] .pl-felt-swatch{
 background:#794329;
}
#plExtraFeltsV18834 [data-pl-felt="burgundy"] .pl-felt-swatch{
 background:#661b3c;
}

/* POKERLIS_NATIVE_FELT_SELECT_CSS_V18_8_35 */

/* Убираем дополнительную панель V18.8.34 */
#plExtraFeltsV18834{
 display:none!important;
}

/* Новые цвета поверх старых стилей сукна */
body[data-pokerlis-new-felt="orange"] .stage .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #d9984e,#b7652c 58%,#76391e)!important;
}
body[data-pokerlis-new-felt="red"] .stage .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #d43c42,#a71e2d 60%,#54141e)!important;
}
body[data-pokerlis-new-felt="beige"] .stage .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #ecd9ad,#c8a776 62%,#98764e)!important;
}
body[data-pokerlis-new-felt="brown"] .stage .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #9b6540,#704126 60%,#402317)!important;
}
body[data-pokerlis-new-felt="burgundy"] .stage .felt{
 background:radial-gradient(ellipse at 45% 35%,
 #903353,#661b3c 60%,#360f28)!important;
}

/* POKERLIS_HAND_HISTORY_MENU_CSS_V18_8_36 */
.pl-hh-caption{
 color:#bdc9d5;
 font-size:12px;
 line-height:1.5;
}
.pl-hh-empty{
 color:#e8d6aa;
 padding:16px 10px;
 text-align:center;
}
.pl-hh-list{
 display:flex;
 flex-direction:column;
 gap:9px;
 width:100%;
 max-height:55dvh;
 overflow-y:auto;
 overscroll-behavior:contain;
}
.pl-hh-entry{
 border:1px solid #8e754a;
 border-radius:11px;
 background:#0c1d30;
 overflow:hidden;
}
.pl-hh-entry summary{
 padding:14px 12px;
 color:#ffdb86;
 font-size:14px;
 font-weight:850;
 line-height:1.4;
 cursor:pointer;
}
.pl-hh-entry[open] summary{
 border-bottom:1px solid #66563e;
}
.pl-hh-body{
 padding:12px;
 display:flex;
 flex-direction:column;
 gap:9px;
 color:#f4edde;
 font-size:12px;
 overflow-wrap:anywhere;
}
.pl-hh-result{
 margin:0;
 color:#ffd46e;
 font-weight:900;
 font-size:14px;
}
.pl-hh-detail,.pl-hh-meta{
 margin:0;
 color:#b8c8cf;
}
.pl-hh-label{
 display:block;
 margin-top:7px;
 color:#e6c382;
}
.pl-hh-cards{
 display:flex;
 gap:5px;
 flex-wrap:wrap;
 margin-top:5px;
}
.pl-hh-card{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:30px;
 height:41px;
 padding:2px 5px;
 border:1px solid #adb2b7;
 border-radius:5px;
 background:#fcfaf4;
 color:#14202d;
 font:900 14px system-ui,sans-serif;
}
.pl-hh-card.red{
 color:#b92737;
}
.pl-hh-player{
 padding:7px 0;
 border-bottom:1px solid #304052;
}
.pl-hh-name{
 font-weight:750;
}
.pl-hh-actions{
 padding-left:22px;
 margin:4px 0;
 display:flex;
 flex-direction:column;
 gap:6px;
 color:#cad7df;
}


/* POKERLIS_OMAHA_OMAXA_V18_8_29 */
#omahaBtn.omaha-fivecards-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#omahaBtn .omaha-fivecards-wrap {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  pointer-events: none;
}

#omahaBtn .omaha-fivecard {
  position: absolute;
  top: 1px;
  width: 14px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(54,48,35,.55);
  background: linear-gradient(180deg,#ffffff 0%,#f6f2ea 100%);
  box-shadow:
    0 1px 2px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.85);
  color: #151515;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  padding: 2px 0 0 2px;
  box-sizing: border-box;
  transform-origin: center bottom;
}

#omahaBtn .omaha-fivecard.c1 { left: 0px;  transform: rotate(-11deg); z-index: 1; }
#omahaBtn .omaha-fivecard.c2 { left: 8px;  transform: rotate(-6deg);  z-index: 2; }
#omahaBtn .omaha-fivecard.c3 { left: 16px; transform: rotate(0deg);   z-index: 3; }
#omahaBtn .omaha-fivecard.c4 { left: 24px; transform: rotate(6deg);   z-index: 4; }
#omahaBtn .omaha-fivecard.c5 { left: 32px; transform: rotate(11deg);  z-index: 5; }

#omahaBtn .omaha-fivecards-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#omahaBtn.is-active .omaha-fivecard {
  box-shadow:
    0 0 0 1px rgba(255,187,72,.45),
    0 0 7px rgba(255,170,32,.35),
    inset 0 1px 0 rgba(255,255,255,.9);
}

#omahaBtn:disabled .omaha-fivecard {
  opacity: .62;
}

@media (max-width: 850px) {
  #omahaBtn .omaha-fivecards-wrap {
    width: 42px;
    height: 24px;
  }
  #omahaBtn .omaha-fivecard {
    width: 13px;
    height: 18px;
    font-size: 6px;
    padding-top: 2px;
    padding-left: 2px;
  }
  #omahaBtn .omaha-fivecard.c1 { left: 0px; }
  #omahaBtn .omaha-fivecard.c2 { left: 7px; }
  #omahaBtn .omaha-fivecard.c3 { left: 14px; }
  #omahaBtn .omaha-fivecard.c4 { left: 21px; }
  #omahaBtn .omaha-fivecard.c5 { left: 28px; }
}

/* POKERLIS_OMAHA_LETTERS_RENDER_FIX_20261116 */
body.in-game #omahaBtn .omaha-five-card::before{
 content:attr(data-omaha-letter)!important;
 position:absolute!important;
 top:2px!important;
 left:3px!important;
 z-index:5!important;
 display:block!important;
 font-family:Arial,sans-serif!important;
 font-size:8px!important;
 line-height:9px!important;
 font-weight:900!important;
 color:#fffbea!important;
 text-shadow:0 1px 2px #000,0 0 2px #000!important;
 pointer-events:none!important;
}
@media(min-width:851px){
 body.in-game #omahaBtn.omaha-table-toggle{
  width:58px!important;
  min-width:58px!important;
  height:43px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  font-size:0!important;
  color:transparent!important;
 }
 body.in-game #omahaBtn .omaha-five-card{
  position:absolute;
  display:block;
  box-sizing:border-box;
  width:21px;
  height:30px;
  top:7px;
  border:1.6px solid #ffe9c1;
  border-radius:3px;
  background:linear-gradient(150deg,#c54d31,#661b36);
  box-shadow:0 1px 3px #0009,inset 0 0 0 2px #fff6;
  transform-origin:50% 90%;
  filter:grayscale(1) brightness(.8);
  pointer-events:none;
 }
 body.in-game #omahaBtn .omaha-five-card:nth-child(1){
  left:5px;z-index:1;transform:rotate(-23deg);
  background:linear-gradient(150deg,#c1422e,#661b36);
 }
 body.in-game #omahaBtn .omaha-five-card:nth-child(2){
  left:11px;z-index:2;transform:rotate(-12deg);
  background:linear-gradient(150deg,#e1a72a,#84441b);
 }
 body.in-game #omahaBtn .omaha-five-card:nth-child(3){
  left:18px;z-index:3;transform:rotate(0);
  background:linear-gradient(150deg,#b62435,#73213b);
 }
 body.in-game #omahaBtn .omaha-five-card:nth-child(4){
  left:25px;z-index:4;transform:rotate(12deg);
  background:linear-gradient(150deg,#3679aa,#193a75);
 }
 body.in-game #omahaBtn .omaha-five-card:nth-child(5){
  left:32px;z-index:5;transform:rotate(23deg);
  background:linear-gradient(150deg,#42855d,#195647);
 }
 body.in-game #omahaBtn[aria-pressed="true"] .omaha-five-card{
  filter:none;
 }
}


/* POKERLIS_DESKTOP_OMAHA_CHAT_CSS_V18_8_41 */
@media (min-width:851px){
 body.in-game #omahaBtn.pl-omaha-desktop-float{
   position:fixed!important;
   inset:166px auto auto 20px!important;
   left:20px!important;
   top:166px!important;
   right:auto!important;
   bottom:auto!important;
   transform:none!important;
   margin:0!important;
   z-index:1200!important;
   pointer-events:auto!important;
   visibility:visible!important;
 }
}



/* POKERLIS_DESKTOP_DOWN_2CM_V18_8_42 */
@media (min-width:851px){

  /* Верхняя панель остается на месте.
     Весь игровой экран смещается ниже. */
  body.in-game #game{
    margin-top:2cm!important;
    margin-bottom:2cm!important;
  }

  /* Нижние кнопки остаются доступными
     при прокрутке страницы. */
  body.in-game{
    overflow-y:auto!important;
  }

  /* Кнопка Омахи расположена отдельно
     от игрового экрана после V18.8.41. */
  body.in-game #omahaBtn.pl-omaha-desktop-float{
    top:calc(166px + 2cm)!important;
  }

}


/* POKERLIS_HIDE_LOBBY_SUBTITLE_V18_8_45 */

/* В главном меню убираем старую тестовую подпись */
body:not(.in-game) #headerSubtitle {
 display:none!important;
}

/* За игровым столом подпись сохраняется */\n\n/* POKERLIS_PROFILE_INLINE_V18_8_49_MOBILE */
#pokerLisCabinet[hidden],#plcStatsInfo[hidden]{display:none!important}
#lobby #pokerLisCabinet{position:relative!important;inset:auto!important;display:block!important;width:100%!important;margin:12px 0 18px!important;padding:0!important;background:transparent!important;backdrop-filter:none!important;overflow:visible!important;z-index:1!important}
#lobby #pokerLisCabinet .plc-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;padding:16px!important;background:#182a30!important;border:1px solid #806c46!important;border-radius:18px!important;color:#f5eddb!important;box-shadow:none!important}
#lobby #pokerLisCabinet .plc-head{order:0!important}
#lobby #pokerLisCabinet .plc-row:has(#plcNick){order:1!important}
#lobby #plcStats{order:2!important}
#lobby #plcEdit{order:3!important}
#lobby #plcBack{order:4!important}
#lobby #plcSubscription{order:5!important}
#lobby #plcBalance{order:6!important}
#lobby #plcStatsInfo{order:7!important}
#lobby #pokerLisCabinet .plc-action{background:#263d40!important;color:#f5eddb!important;border:1px solid #806c46!important;border-radius:12px!important;margin:5px 0!important;width:100%!important;padding:12px!important}
#lobby #pokerLisCabinet .plc-close{background:#263d40!important;color:#f5eddb!important;border:1px solid #806c46!important;border-radius:10px!important}
@media (max-width:820px){
#lobby #pokerLisCabinet .plc-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:16px!important;background:linear-gradient(180deg,#1a2f38,#11212a)!important;border:1px solid rgba(217,184,110,.38)!important;border-radius:22px!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
#lobby #pokerLisCabinet .plc-head{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 0 4px!important}
#lobby #pokerLisCabinet .plc-head h2{margin:0!important;font-size:18px!important;line-height:1.15!important;color:#f7efd9!important}
#lobby #pokerLisCabinet .plc-close{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(217,184,110,.28)!important;border-radius:14px!important}
#lobby #pokerLisCabinet .plc-row:has(#plcNick){grid-column:1/-1!important;margin:0!important;padding:12px 14px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(217,184,110,.18)!important;border-radius:16px!important}
#lobby #plcNick{display:block!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important;color:#fff!important}
#lobby #plcStats{grid-column:1!important}
#lobby #plcEdit{grid-column:2!important}
#lobby #plcBack{grid-column:1/-1!important}
#lobby #pokerLisCabinet .plc-action{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;margin:0!important;padding:12px 14px!important;border-radius:16px!important;background:linear-gradient(180deg,#31494e,#23373c)!important;border:1px solid rgba(217,184,110,.35)!important;color:#f7efd9!important;font-size:15px!important;font-weight:800!important;letter-spacing:.01em!important}
#lobby #pokerLisCabinet #plcSubscription,#lobby #pokerLisCabinet #plcBalance{grid-column:1/-1!important;margin:0!important;padding:13px 14px!important;border-radius:16px!important;background:rgba(10,20,29,.78)!important;border:1px solid rgba(217,184,110,.16)!important;color:#f4eddb!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important}
#lobby #plcStatsInfo{grid-column:1/-1!important;margin:0!important;padding:12px 14px!important;border-radius:16px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(217,184,110,.12)!important;color:#ced6df!important}
}
\n


body.pl-lobby-v54 .topbar{
  display:grid!important;
  grid-template-columns:37px minmax(0,1fr) auto;
  align-items:center;gap:8px;
  position:relative!important;
  overflow:visible!important;
  padding-left:max(7px,env(safe-area-inset-left));
  padding-right:max(7px,env(safe-area-inset-right));
}
body.pl-lobby-v54 #hamburgerBtn{
  display:grid!important;place-items:center!important;
  grid-column:1;min-width:37px;width:37px;height:37px;
  visibility:visible!important;opacity:1!important;
  padding:2px!important;background:transparent!important;
}
body.pl-lobby-v54 .wordmark{
  grid-column:2;min-width:0;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;margin:0!important;
}
body.pl-lobby-v54 .top-controls{
  grid-column:3;display:flex!important;
  justify-content:flex-end!important;
  min-width:0;margin:0!important;
}
body.pl-lobby-v54 #genAdminBtn,
body.pl-lobby-v54 #homeBtn,
body.pl-lobby-v54 #shareBtn{
  display:none!important;
}
body.pl-lobby-v54 #connection{
  display:inline-flex!important;
  white-space:nowrap;margin:0!important;
}
body.pl-lobby-v54 .wordmark small{
  display:none!important;
}
#plLobbyDrop54[hidden],
#plLobbyStats54[hidden]{
  display:none!important;
}
#plLobbyDrop54{
  position:absolute;top:calc(100% + 7px);
  left:max(6px,env(safe-area-inset-left));
  z-index:100002;
  width:min(280px,calc(100vw - 20px));
  box-sizing:border-box;padding:11px;
  display:grid;gap:8px;
  border:1px solid #c7a264;border-radius:14px;
  background:linear-gradient(145deg,#1b4c39,#0a241c);
  box-shadow:0 18px 38px #000b;
}
#plLobbyDrop54 button{
  display:block;width:100%;text-align:left;
  min-height:46px;padding:12px 14px;
  border:1px solid #c2a16c;border-radius:10px;
  background:linear-gradient(#246e50,#103f30);
  color:#f6e3b9;font-weight:750;
}
body.pl-lobby-v54 #lobby .intro.panel{
  background:linear-gradient(155deg,#173d30,#091c18)!important;
  border:1px solid #b89a63!important;
  border-radius:19px!important;
}
body.pl-lobby-v54 #lobby .intro.panel > h1,
body.pl-lobby-v54 #lobby .intro.panel > p:first-of-type,
body.pl-lobby-v54 #lobby .intro.panel > .account-welcome,
body.pl-lobby-v54 #lobby .intro.panel > .identity-grid,
body.pl-lobby-v54 #lobby .intro.panel > .avatar-upload-row,
body.pl-lobby-v54 #lobby .intro.panel > p.tiny.muted{
  display:none!important;
}
#plLobbyProfile54{
  display:flex;flex-direction:column;align-items:center;
  width:min(100%,440px);margin:0 auto 22px;
  gap:13px;text-align:center;color:#f8eac9;
}
#plLobbyProfile54 h1{
  margin:3px 0 7px;font-size:clamp(25px,5vw,33px);
  font-weight:850;letter-spacing:.075em;color:#f1d094;
}
#plLobbyProfile54 .pl54-info{
  width:100%;box-sizing:border-box;display:flex;
  flex-direction:column;align-items:center;gap:6px;
  padding:13px 12px;border:1px solid #ac8f59;
  border-radius:13px;
  background:linear-gradient(#245541,#103628);
}
#plLobbyProfile54 .pl54-info span{
  color:#d9bf92;font-weight:750;
  font-size:11px;letter-spacing:.095em;
}
#plLobbyProfile54 .pl54-info strong{
  color:#f9e8c2;font-size:23px;font-weight:850;
  font-variant-numeric:tabular-nums;
}
#plLobbyAvatar54{
  width:112px;height:112px;margin-top:8px;
  display:grid;place-items:center;overflow:hidden;
  border:3px solid #cba568;border-radius:50%;
  background:radial-gradient(circle at 35% 25%,#557669,#1c3a30);
  box-shadow:0 0 0 5px #c9a66a22,0 10px 20px #0006;
}
#plLobbyAvatar54 img{
  width:100%;height:100%;object-fit:cover;display:block;
}
#plLobbyAvatar54 svg{
  width:78%;height:78%;fill:#acc1b5;
}
#plLobbyNick54{
  font-size:22px;font-weight:850;
  letter-spacing:.045em;overflow-wrap:anywhere;
}
#plLobbyEdit54{
  width:100%;min-height:53px;padding:13px;
  border:2px solid #cdaa69!important;
  border-radius:12px!important;
  background:linear-gradient(#26734f,#0e422f)!important;
  color:#f6e3b8!important;font-size:15px!important;
  font-weight:850!important;letter-spacing:.07em;
}
#lobby #accountEditPanel[hidden]{display:none!important}
#lobby #accountEditPanel{
  box-sizing:border-box;max-width:440px;margin:14px auto;
  padding:15px;border:1px solid #b49662;
  border-radius:13px;background:#153a2e;
}
#lobby #accountExit.pl54-logout{
  display:block;width:max-content;margin:15px auto 0;
  padding:8px 15px;border:1px solid #aa9164!important;
  background:transparent!important;
  border-radius:9px;color:#d7c298!important;
}
#plLobbyStats54{
  position:fixed;inset:0;z-index:100050;
  display:grid;place-items:center;
  padding:15px;background:#020806d9;
}
#plLobbyStats54 .pl54-modal{
  width:min(420px,100%);box-sizing:border-box;
  padding:22px;border:1px solid #d0ae6c;
  border-radius:16px;
  background:linear-gradient(#173e31,#071e19);
  color:#fae8c3;box-shadow:0 20px 60px #000b;
}
#plLobbyStats54 .pl54-modal h2{
  margin:0 0 16px;color:#efd49f;
}
#plLobbyStats54 .pl54-modal p{
  margin:0 0 16px;color:#c9d5c9;line-height:1.5;
}
#plLobbyStats54 .pl54-modal button{
  width:100%;padding:12px;border:1px solid #cda969;
  background:#205941;color:#f9e8c4;border-radius:10px;
}
@media(max-width:630px){
  body.pl-lobby-v54 .topbar{
    grid-template-columns:33px minmax(0,1fr) auto;
    gap:5px;min-height:57px;
  }
  body.pl-lobby-v54 #hamburgerBtn{
    width:33px;min-width:33px;height:37px;font-size:23px;
  }
  body.pl-lobby-v54 .wordmark{
    font-size:clamp(12px,3.3vw,16px)!important;
  }
  body.pl-lobby-v54 #connection{
    font-size:10px!important;padding:5px 7px!important;
  }
  #plLobbyProfile54{gap:12px}
  #plLobbyAvatar54{width:104px;height:104px}
}


/* POKERLIS_LOBBY_CSS_V1857 */

/* Дублирующиеся старые блоки профиля */
body.pl-lobby-v54 #lobby .intro.panel > h1,
body.pl-lobby-v54 #lobby .intro.panel > p:first-of-type,
body.pl-lobby-v54 #lobby .intro.panel > .account-welcome,
body.pl-lobby-v54 #lobby #pokerLisCabinet,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #lobby .intro.panel > h1,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #lobby .intro.panel > p:first-of-type,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #lobby .intro.panel > .account-welcome,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #lobby #pokerLisCabinet {
  display:none!important;
}

/* Шапка именно главного экрана */
body.pl-lobby-v54 .topbar,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  .topbar {
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:60px;
  padding:7px max(8px,env(safe-area-inset-right))
          7px max(8px,env(safe-area-inset-left))!important;
  overflow:visible!important;
}

body.pl-lobby-v54 #hamburgerBtn,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #hamburgerBtn {
  display:grid!important;
  place-items:center!important;
  grid-column:1!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  visibility:visible!important;
  opacity:1!important;
  background:transparent!important;
  color:#f7e8c6!important;
  font-size:26px!important;
  padding:0!important;
}

body.pl-lobby-v54 .wordmark,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  .wordmark {
  grid-column:2!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  margin:0!important;
}

body.pl-lobby-v54 .top-controls,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  .top-controls {
  grid-column:3!important;
  justify-content:flex-end!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}

body.pl-lobby-v54 #genAdminBtn,
body.pl-lobby-v54 #homeBtn,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #genAdminBtn,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #homeBtn {
  display:none!important;
}

body.pl-lobby-v54 #connection,
body:has(#lobby:not([hidden]) #plLobbyProfile54)
  #connection {
  display:inline-flex!important;
  align-items:center!important;
  white-space:nowrap!important;
  margin:0!important;
}

/* Компактный центрированный профиль */
#lobby #plLobbyProfile54 {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:min(100%,440px)!important;
  margin:0 auto 25px!important;
  gap:12px!important;
  text-align:center!important;
}

#lobby #plLobbyProfile54 h1 {
  font-size:27px!important;
  color:#f5d49c!important;
  margin:0 0 9px!important;
  letter-spacing:.09em!important;
}

#lobby #plLobbyProfile54 .pl54-info {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  padding:14px 12px!important;
  border:1px solid #b79a65!important;
  border-radius:14px!important;
  background:linear-gradient(
    145deg,#245541,#103526
  )!important;
}

#lobby #plLobbyProfile54 .pl54-info span {
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  color:#cfb98d!important;
}

#lobby #plLobbyProfile54 .pl54-info strong {
  display:block!important;
  font-size:21px!important;
  color:#fff0cb!important;
  line-height:1.25!important;
}

/* Круглая фотография */
#lobby #plLobbyAvatar54 {
  display:grid!important;
  place-items:center!important;
  width:110px!important;
  height:110px!important;
  min-width:110px!important;
  max-width:110px!important;
  min-height:110px!important;
  max-height:110px!important;
  aspect-ratio:1/1!important;
  flex:0 0 110px!important;
  margin:7px auto 0!important;
  border:3px solid #d5af73!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:#254b3c!important;
  box-shadow:0 0 0 5px #d5af7320,
             0 8px 24px #0008!important;
}

#lobby #plLobbyAvatar54 img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
}

#lobby #plLobbyAvatar54 svg {
  width:78%!important;
  height:78%!important;
}

#lobby #plLobbyNick54 {
  display:block!important;
  font-size:20px!important;
  font-weight:850!important;
  color:#f8eedb!important;
  letter-spacing:.045em!important;
}

/* Изумрудная кнопка с золотым контуром */
#lobby #plLobbyEdit54 {
  display:block!important;
  width:100%!important;
  min-height:52px!important;
  padding:13px 17px!important;
  margin:3px 0 0!important;
  border:2px solid #d2ae70!important;
  border-radius:13px!important;
  background:linear-gradient(
    155deg,#207c57,#10452f
  )!important;
  color:#ffebc2!important;
  text-align:center!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
}

/* Выход из аккаунта не должен быть
   гигантской кнопкой на всю ширину */
#lobby #accountExit.pl54-logout {
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:16px auto 0!important;
  padding:9px 14px!important;
  border:1px solid #8e7c55!important;
  background:transparent!important;
  color:#c8b58d!important;
  font-size:12px!important;
  font-weight:650!important;
}

/* Меню по кнопке ☰ */
#plLobbyDrop54[hidden],
#plLobbyStats54[hidden] {
  display:none!important;
}

#plLobbyDrop54 {
  position:absolute!important;
  z-index:100002!important;
  top:calc(100% + 6px)!important;
  left:8px!important;
  display:grid!important;
  width:min(285px,calc(100vw - 16px))!important;
  padding:12px!important;
  gap:9px!important;
  border:1px solid #cba66c!important;
  border-radius:14px!important;
  background:linear-gradient(
    150deg,#24543e,#0b261e
  )!important;
  box-shadow:0 15px 35px #000b!important;
}

#plLobbyDrop54 button {
  display:block!important;
  width:100%!important;
  text-align:left!important;
  min-height:46px!important;
  padding:12px 14px!important;
  border:1px solid #b99863!important;
  border-radius:10px!important;
  background:#1d553d!important;
  color:#fbe9c4!important;
}

@media(max-width:440px) {
  body.pl-lobby-v54 .wordmark,
  body:has(#lobby:not([hidden]) #plLobbyProfile54)
    .wordmark {
    font-size:clamp(12px,3.4vw,16px)!important;
    letter-spacing:.05em!important;
  }
  body.pl-lobby-v54 #connection,
  body:has(#lobby:not([hidden]) #plLobbyProfile54)
    #connection {
    font-size:10px!important;
    padding:5px 7px!important;
  }
}



/* POKERLIS_HEADER_BRAND_V1858: оформление только главного меню */

body.pl-lobby-v54 header.topbar {
  min-height:72px!important;
}

body.pl-lobby-v54 header.topbar #hamburgerBtn {
  display:grid!important;
  grid-column:1!important;
  place-items:center!important;
}

body.pl-lobby-v54 header.topbar .wordmark {
  display:flex!important;
  grid-column:2!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  overflow:visible!important;
}

body.pl-lobby-v54 header.topbar .wordmark > #foxWalletEntry,
body.pl-lobby-v54 header.topbar .wordmark > span {
  display:none!important;
}

body.pl-lobby-v54 header.topbar .wordmark::before {
  content:"";
  display:block!important;
  width:min(100%,222px);
  max-width:222px;
  aspect-ratio:420/108;
  height:auto;
  flex:0 1 auto;
  background-image:url(data:image/webp;base64,UklGRqARAABXRUJQVlA4IJQRAADwRgCdASpAAVIAPp1CnEmlo6KhLZVaiLATiWpEdyC66rea9p5uXK/az8V+4f3Th+q78tZ8//i+q/+2+oP/dOi55hfNx/6/rF/vPqH/1r0svVk9EnpgP7551WDl8f/2Xhb49/en7Vx+Ikfdn+/87e/f5HahfsjfJQE/WX9d/In1ZVdugX+mfRd0U/WXsG/zb/A9co+rcMO/bEv/Y638Js2bH50LdDCJFpZmDHEJ/MIT+YQn8CxarZoF2NIGO7F7q5Mo9xyEwjOY1xzzkX++URR/XlEAndKftEM4EI+GxE32GIcD++swlidtHLJoOWbstDbUsk40blunoInPI7aP1PE5ScgfmbT2hJtZo3F4IfTc7MuqMMMqrGhwMUzUfrQsDtdWL4RpTvJTO85zmvejW891fjLXd+GYueOv7RymzSMVZ7vmHtHt7uhsd31l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M5ZJDq9d6rKVIoHpEAA5xOEADaCKQZCh8QraYlaOWAja18AhGJV+QdMqgGzcsL45F2xAJmlgOrRT1rTJEPzqlIeUi8A5TrczfBD0RE94GU/mt3EI+wE2cFOSFssiWUzjYABdEAAkglC+SoovcQfAAAA=);
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  pointer-events:none;
}

body.pl-lobby-v54 header.topbar #genAdminBtn,
body.pl-lobby-v54 header.topbar #homeBtn {
  display:none!important;
}

body.pl-lobby-v54 header.topbar #connection {
  display:inline-flex!important;
  align-items:center!important;
  white-space:nowrap!important;
}

@media(max-width:390px) {
  body.pl-lobby-v54 header.topbar .wordmark::before {
    width:min(100%,190px);
  }
}


/* POKERLIS_GAME_LOGO_V1859
   Только игровая комната.
   Игровая геометрия и карты не изменяются.
*/

body.in-game header.topbar .wordmark {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  gap:0!important;
  z-index:0!important;
  pointer-events:none!important;
}

/* Скрываем прежний текст и кнопку лисички
   только в игровой комнате. */
body.in-game header.topbar
.wordmark > #foxWalletEntry,
body.in-game header.topbar
.wordmark > span {
  display:none!important;
}

/* Тот же логотип, что в главном меню. */
body.in-game header.topbar .wordmark::before {
  content:"";
  display:block!important;
  width:min(100%,205px)!important;
  max-width:205px!important;
  height:auto!important;
  aspect-ratio:420/108!important;
  flex:0 1 205px!important;
  background-image:url(data:image/webp;base64,UklGRqARAABXRUJQVlA4IJQRAADwRgCdASpAAVIAPp1CnEmlo6KhLZVaiLATiWpEdyC66rea9p5uXK/az8V+4f3Th+q78tZ8//i+q/+2+oP/dOi55hfNx/6/rF/vPqH/1r0svVk9EnpgP7551WDl8f/2Xhb49/en7Vx+Ikfdn+/87e/f5HahfsjfJQE/WX9d/In1ZVdugX+mfRd0U/WXsG/zb/A9co+rcMO/bEv/Y638Js2bH50LdDCJFpZmDHEJ/MIT+YQn8CxarZoF2NIGO7F7q5M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fp0gxZ1bkHk84lFC4WRYKN1kSJdx4WTW/RfCQ17+1CUH0u4xQskMq6XLGd4nMV/IaHZ2VBUMO+N6Vz4JG6SEwGVv0bKZ2XAgstHbAcGO0a/P5ExQZ3x391S1XT87vj+a3RANtfUCPJo08Gjwu/PisMHkJrRBLYg/oIPcevVUT9M5ZJDq9d6rKVIoHpEAA5xOEADaCKQZCh8QraYlaOWAja18AhGJV+QdMqgGzcsL45F2xAJmlgOrRT1rTJEPzqlIeUi8A5TrczfBD0RE94GU/mt3EI+wE2cFOSFssiWUzjYABdEAAkglC+SoovcQfAAAA=);
  background-size:contain!important;
  background-position:left center!important;
  background-repeat:no-repeat!important;
  pointer-events:none!important;
}

/* Верхние игровые элементы и карты выше
   декоративного логотипа по слоям. */
body.in-game header.topbar #headerSession {
  z-index:70!important;
  overflow:visible!important;
}

body.in-game header.topbar #hamburgerBtn {
  z-index:71!important;
}

/* iPhone */
@media(max-width:630px) {
  body.in-game header.topbar .wordmark {
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
  }

  body.in-game header.topbar .wordmark::before {
    width:min(100%,192px)!important;
    max-width:192px!important;
    flex:0 1 192px!important;
  }
}

/* Узкие телефоны */
@media(max-width:385px) {
  body.in-game header.topbar .wordmark::before {
    width:min(100%,160px)!important;
    max-width:160px!important;
    flex:0 1 160px!important;
  }
}



/* POKERLIS_GAME_HEADER_SAFE_V1861

   Исправление после V60.

   Логотип — фоновое изображение верхней шапки.
   Карты игроков рисуются поверх фонового изображения.

   НЕ изменять позиционирование:
   #omahaBtn, .omaha-five-card, .mini-cards,
   .playing-card, .tiny-card, .seat и их потомков.
*/

/* У шапки нет собственного высокого слоя,
   перекрывающего игроков. */
body.in-game header.topbar {
  z-index:auto!important;
  overflow:visible!important;

  background-image:
    url(data:image/webp;base64,UklGRqARAABXRUJQVlA4IJQRAADwRgCdASpAAVIAPp1CnEmlo6KhLZVaiLATiWpEdyC66rea9p5uXK/az8V+4f3Th+q78tZ8//i+q/+2+o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fIHAAtELtBveq0EY8f3UNXmEOnsIipSRD1wGhNJhvqWeAYAnoCpeje0qd9IK8nZDHDWucXWTQjn5RpE+/Y18v4s/He0UofozMTqCxmon+oKLuRrfw7urYvRuEqmQmdy7cIva8h+d57NIzfWBm6t8sn5pjYoNHkvqgNA/Uq/+U+cnl0CceBBwWfp0gxZ1bkHk84lFC4WRYKN1kSJdx4WTW/RfCQ17+1CUH0u4xQskMq6XLGd4nMV/IaHZ2VBUMO+N6Vz4JG6SEwGVv0bKZ2XAgstHbAcGO0a/P5ExQZ3x391S1XT87vj+a3RANtfUCPJo08Gjwu/PisMHkJrRBLYg/oIPcevVUT9M5ZJDq9d6rKVIoHpEAA5xOEADaCKQZCh8QraYlaOWAja18AhGJV+QdMqgGzcsL45F2xAJmlgOrRT1rTJEPzqlIeUi8A5TrczfBD0RE94GU/mt3EI+wE2cFOSFssiWUzjYABdEAAkglC+SoovcQfAAAA=)!important;
  background-position:center center!important;
  background-size:clamp(160px,52vw,230px) auto!important;
  background-repeat:no-repeat!important;
}

/* В игровой комнате отключаем старое изображение
   в ::before. Оно теперь нарисовано фоном шапки. */
body.in-game header.topbar .wordmark::before {
  content:none!important;
  display:none!important;
}

/* Кнопки шапки остаются поверх её фона.
   Никакого правила для их дочерних элементов. */
body.in-game header.topbar #hamburgerBtn {
  position:relative;
  z-index:70!important;
}

body.in-game header.topbar #headerSession {
  position:relative;
  z-index:70!important;
}

body.in-game header.topbar .top-controls {
  position:relative;
  z-index:70!important;
}

/* ВАЖНО:
   Не задаём z-index и position картам игроков.
   Их исходные стили одинаково обслуживают
   рубашки, открытые карты и показ комбинаций.
   И не трогаем пятибуквенную кнопку Омахи. */



/* POKERLIS_ONE_STANDARD_BACK_V18_8_53 */

:root{
 --pl-standard-card-back:
   repeating-linear-gradient(
     45deg,
     #781d2c 0px,
     #781d2c 4px,
     #caad77 4px,
     #caad77 7px,
     #182e43 7px,
     #182e43 10px
   );
}

/*
 ЕДИНАЯ РУБАШКА.
 Стили предыдущей версии V18.8.52
 и старые принудительные стили соперников
 перекрываются одинаковым оформлением.
*/

/* Все закрытые карты за столом */
html body.in-game #game #gameStage
.playing-card.card-hidden,

html[data-pokerlis-unified-back]
body.in-game #game #gameStage
.playing-card.card-hidden,

/* Карты соперников, в том числе в Омахе */
html body.in-game #game #gameStage
.seat .mini-cards .playing-card.card-hidden,

html[data-pokerlis-unified-back]
body.in-game #game #gameStage
.seat .mini-cards .playing-card.card-hidden,

/* Закрытые карты самого игрока */
html body.in-game #game #gameStage
#myHand .playing-card.card-hidden,

/* Срез */
html body.in-game #game #gameStage
#burnPile > div,

html body.in-game #game #gameStage
#burnPile > span,

html[data-pokerlis-unified-back]
body.in-game #game #gameStage
#burnPile > div,

html[data-pokerlis-unified-back]
body.in-game #game #gameStage
#burnPile > span,

/* Закрытые карты во время раздачи */
html body.in-game #game #gameStage
#motionLayer .card-hidden,

html[data-pokerlis-unified-back]
body.in-game #game #gameStage
#motionLayer .card-hidden,

/* Предпросмотр в меню оформления */
html body #backPreview.card-hidden,

/* Закрытые карты в других игровых окнах */
html body .card-sample .playing-card.card-hidden{
 background:var(--pl-standard-card-back)!important;
 background-image:var(--pl-standard-card-back)!important;
 background-color:#182e43!important;
 background-size:auto!important;
 background-repeat:repeat!important;
}

/* Убираем лишние символы поверх полос */
html body.in-game #game #gameStage
.playing-card.card-hidden .back-symbol,

html body.in-game #game #gameStage
#burnPile .back-symbol,

html body.in-game #game #gameStage
#motionLayer .back-symbol,

html body #backPreview.card-hidden .back-symbol{
 display:none!important;
}

/*
 Открытые карты, их масти и значения,
 размеры, повороты и анимации
 остаются прежними.
*/


/* POKERLIS_FOX_ONE_BACK_V18_8_54 */

/* Одна оригинальная рубашка с лисой.
   Размеры и расположение карт не изменяются. */

html:root:root body.in-game #game #gameStage
.playing-card.card-hidden,

html:root:root body.in-game #game #gameStage
.seat .mini-cards .playing-card.card-hidden,

html:root:root body.in-game #game #gameStage
#myHand .playing-card.card-hidden,

html:root:root body.in-game #game #gameStage
#burnPile > *,

html:root:root body.in-game #game #gameStage
#motionLayer .playing-card.card-hidden,

html:root:root body.in-game #game #gameStage
#motionLayer .deal-card:not(.face-up),

html:root:root body.in-game #game #gameStage
#motionLayer .flying-card:not(.face-up),

html:root:root body.in-game #game #gameStage
#motionLayer .motion-card.card-hidden,

html:root:root body #backPreview.playing-card.card-hidden,

html:root:root body .card-sample .playing-card.card-hidden {

 background:
   #060607
   url('/assets/plaid-back.webp?v=fox-v18-8-54')
   center center / 100% 100%
   no-repeat !important;

 background-image:
   url('/assets/plaid-back.webp?v=fox-v18-8-54') !important;

 background-size:100% 100% !important;
 background-repeat:no-repeat !important;
 background-position:center center !important;
 background-clip:border-box !important;
 border-color:transparent !important;
}

/* Никаких старых символов поверх лисы */

html:root:root body.in-game #game #gameStage
.playing-card.card-hidden .back-symbol,

html:root:root body.in-game #game #gameStage
#burnPile .back-symbol,

html:root:root body.in-game #game #gameStage
#motionLayer .back-symbol,

html:root:root body #backPreview.card-hidden .back-symbol {
 display:none !important;
}
