@font-face{font-family:'Poker Condensed';font-style:normal;font-weight:400 700;font-display:swap;src:url('/condensed-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Poker Condensed';font-style:normal;font-weight:400 700;font-display:swap;src:url('/condensed-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Telegram photos; no illustrated player portraits. */
.tg-avatar{display:inline-grid;place-items:center;overflow:hidden;color:#9aaba4}
.tg-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.tg-avatar>svg{width:65%;height:65%;stroke-width:1.4}
.avatar-image{width:100%;height:100%;border-radius:inherit}

/* Paper faces and the coral card backs in the supplied reference. */
.playing-card.indexed-card{font:700 20px 'Poker Condensed',Arial,sans-serif;color:#14251e;background:#fffefb;border:2px solid white;border-radius:7px;box-shadow:0 2px 3px #00482a20}
.playing-card.indexed-card.red{color:#e44c63}
.card-index{position:absolute;left:4px;top:5px;font-size:1.1em;line-height:.9;font-weight:700}
.card-index i{display:block;font:normal .75em/1 Georgia,serif;margin-top:3px;text-align:center}
.card-suit{position:absolute;right:4px;bottom:4px;font:normal 1.65em/1 Georgia,serif}
.playing-card.back{background-color:#f58c98;background-image:repeating-linear-gradient(45deg,transparent 0 6px,#ffffff16 6px 9px,transparent 9px 15px),repeating-linear-gradient(-45deg,transparent 0 6px,#ffffff16 6px 9px,transparent 9px 15px);border:3px solid white;border-radius:9px;box-shadow:0 2px 3px #00482a20}
.playing-card.back:after{content:'';inset:3px;border:1px solid #ffffff25;border-radius:4px}
.playing-card[data-best="true"]{outline:0;filter:none}
.playing-card[data-best="true"]:before{display:none}
.promo-art .indexed-card{font-size:22px}

/* One green field, centered hand and unboxed white controls. */
body:has(.table-shell){background:#138660}
.table-shell{--panel-height:28px;--opponent-card-width:19px;--opponent-card-height:26px;--hero-card-width:80px;--hero-card-height:112px;--hero-width:100%;position:relative;display:flex;flex-direction:column;max-width:800px;min-height:100svh;padding:calc(10px + var(--safe-top)) 14px 0;background:#138660;font-family:Inter,Arial,sans-serif;color:white}
.table-shell .table-bar{min-height:34px;grid-template-columns:34px minmax(0,1fr) 34px;max-width:560px}
.table-shell .table-bar .icon-button{width:34px;height:34px;background:transparent;border:0;border-radius:50%;color:white}
.table-shell .table-bar .icon-button svg{width:23px;height:23px}
.table-shell .center-title h1{font-size:13px;line-height:17px;font-weight:700;letter-spacing:0}
.table-shell .center-title p,.table-shell .center-title p span{font-size:10px;color:#e1fff1;margin-top:2px}
.table-shell .connection{max-width:560px;margin:8px auto 0;font-size:9px;line-height:13px;color:#e0fff1;gap:5px}
.table-shell .live-dot{background:white;width:4px;height:4px;box-shadow:none}
.table-shell .table-unit{font-size:9px;color:#e0fff1}
.table-shell .demo-banner{position:absolute;bottom:3px;left:0;right:0;margin:0;font-size:6px;line-height:8px;color:#ddfff0a6}
.table-shell .stage,.table-shell.is-playing .stage,.table-shell:has(.demo-banner).is-playing .stage{position:relative;flex:none;width:100%;height:calc(100svh - 376px - var(--safe-top) - env(safe-area-inset-bottom,0px));min-height:270px;max-height:590px;max-width:560px;margin:8px auto 0}
.table-shell .table-center,.table-shell[data-seats="7"] .table-center,.table-shell[data-seats="8"] .table-center{position:absolute;top:48%;left:50%;width:100%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none}
.table-shell .community{display:flex;justify-content:center;align-items:center;gap:6px;min-height:75px;order:1;width:100%}
.table-shell .community .playing-card,.table-shell[data-seats="7"] .community .playing-card,.table-shell[data-seats="8"] .community .playing-card{width:49px;height:71px;font-size:24px;border-radius:6px}
.table-shell .community:empty{min-height:0}
.table-shell .pot-display{order:0;display:block;height:auto;min-width:0;padding:0;margin:0 0 10px;background:none;border:0;box-shadow:none}
.table-shell .pot-display>span:last-child{display:flex;align-items:center;flex-direction:row;gap:7px}
.table-shell .pot-display small{font:500 14px/20px Inter,Arial,sans-serif;color:#e6fff4;margin:0}
.table-shell .pot-display strong{font:700 24px/26px Inter,Arial,sans-serif;color:white;letter-spacing:0}
.table-shell .phase{display:block;order:2;margin-top:8px;font-size:12px;color:#deffed}
.table-shell .seat{top:clamp(69px,var(--y),calc(100% - 18px));width:82px;z-index:3}
.table-shell .seat-label,.table-shell .seat.current .seat-label,.table-shell .seat.winner .seat-label{height:35px;padding:1px 2px;margin:0;gap:1px;border:0;border-radius:0;background:none;box-shadow:none}
.table-shell .seat .seat-name{font:600 12px/16px Inter,Arial,sans-serif;color:white;text-transform:uppercase}
.table-shell .seat .seat-stack{font:700 15px/18px Inter,Arial,sans-serif;color:white;letter-spacing:0}
.table-shell .seat-portrait{display:grid;position:absolute;left:calc(50% - 21px);bottom:calc(100% + 3px);transform:translateX(-50%);width:42px;height:42px;border:2px solid #ffffffcc;border-radius:50%;background:#0f6f50;box-shadow:none;pointer-events:none}
.table-shell .seat.current .seat-portrait{outline:2px solid white;outline-offset:3px}
.table-shell .seat.winner .seat-portrait{outline:2px solid #ffe178;outline-offset:3px}
.table-shell .seat-cards,.table-shell .seat-cards:empty{position:absolute;top:auto;bottom:calc(100% + 4px);left:calc(50% - 2px);right:auto;width:40px;height:36px;gap:0;margin:0;z-index:1}
.table-shell .seat-cards .playing-card{width:26px;height:36px;border-radius:5px;font-size:13px;transform:rotate(-9deg);border-width:1.5px}
.table-shell .seat-cards .playing-card:last-child{transform:rotate(9deg);margin-left:-5px}
.table-shell .seat-cards .card-index{left:1px;top:2px}
.table-shell .seat-cards .card-index i{display:none}
.table-shell .seat-cards .card-suit{right:1px;bottom:1px;font-size:14px}
.table-shell .seat .seat-action{top:100%;left:-5px;right:-5px;height:15px;line-height:15px;font-size:10px;color:#fff;font-weight:500;border-radius:0;background:none}
.table-shell .seat.folded{opacity:.42}
.table-shell .seat .bot-tag{font-size:7px;padding:0 2px;color:#d8fff0;background:#0a855f;border:0;border-radius:2px}
.table-shell .dealer{background:white;color:#12825c;border:0;box-shadow:none;width:13px;height:13px;font:700 8px/13px Inter,Arial,sans-serif;right:-9px;bottom:4px}
.table-shell .blind{display:none}
.table-shell .empty-seat{opacity:.5}
.table-shell .empty-place{border-color:#ffffff90;color:white;width:23px;height:23px}
.table-shell .empty-seat small{color:#e0fff1;font-size:8px}
.table-shell .table-bet{gap:3px}
.table-shell .table-bet b{font:700 14px Inter,Arial,sans-serif;color:white;background:none;text-shadow:none;padding:0}
.table-shell .table-bet .mini{width:23px;height:23px}
.table-shell .table-bet .mini .clay{width:21px;height:21px;bottom:2px;box-shadow:0 1px #b95169,0 2px #ffe7ec}
.table-shell .table-bet .mini .clay:before{inset:2px}
.table-shell .table-bet .clay i{display:none}
.table-shell:has(.hero-seated) .own-seat{visibility:hidden}
.table-shell .play-controls,.table-shell.is-playing .play-controls{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:560px;margin:auto auto 0;padding:8px 0 calc(19px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;background:transparent;gap:0;bottom:auto}
.table-shell .hero-seated,.table-shell.is-playing .hero-seated,.table-shell:not(.is-playing) .hero-seated{position:relative;display:flex;flex-direction:column;align-items:center;left:auto;top:auto;bottom:auto;transform:none;width:100%;height:auto;margin:0 0 10px;gap:0}
.table-shell .hero-seated .you-hand,.table-shell.is-playing .hero-seated .you-hand,.table-shell:not(.is-playing) .hero-seated .you-hand{position:relative;left:auto;bottom:auto;transform:none;display:flex;justify-content:center;gap:0;min-height:0;padding:0;margin:0 auto 9px}
.table-shell .hero-seated .you-hand .playing-card,.table-shell.is-playing .hero-seated .you-hand .playing-card{width:var(--hero-card-width);height:var(--hero-card-height);border:3px solid white;border-radius:12px;transform:rotate(-7deg);font-size:35px}
.table-shell .hero-seated .you-hand .playing-card:last-child,.table-shell.is-playing .hero-seated .you-hand .playing-card:last-child{transform:rotate(7deg);margin-left:-12px}
.table-shell .hero-seated .card-index{top:7px;left:7px}
.table-shell .hero-seated .card-suit{right:6px;bottom:6px}
.table-shell .hero-info{width:100%;display:flex;flex-direction:column;align-items:center;gap:2px}
.table-shell .hero-label,.table-shell.is-playing .hero-label,.table-shell:not(.is-playing) .hero-label{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:5px;height:24px;max-width:100%;border:0;background:none;box-shadow:none;border-radius:0;padding:0}
.table-shell .hero-label>span,.table-shell .hero-label>b{color:white;font:700 16px/22px Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-shell .hero-label>span:not(.tg-avatar){max-width:180px}
.table-shell .hero-label>.hero-portrait{flex:none;width:20px;height:20px;border-radius:50%;border:1px solid #ffffffa0;background:#119c71}
.table-shell .hero-label .dealer{position:static;flex:none}
.table-shell .hero-seated .hand-combination,.table-shell.is-playing .hero-seated .hand-combination,.table-shell:not(.is-playing) .hero-seated .hand-combination{position:static;display:block;transform:none;max-width:none;white-space:normal;text-align:center;padding:2px 8px;font:600 15px/21px Inter,Arial,sans-serif;color:#e9fff4;background:none}
.table-shell .hero-seated .hand-combination span{font-size:14px;color:inherit}
.table-shell .decision-panel{width:100%}
.table-shell .turn-status{font:500 14px/19px Inter,Arial,sans-serif;color:#ecfff6;margin:0 3px 5px}
.table-shell .turn-status strong,.table-shell .timer{color:white;font:600 14px/19px Inter,Arial,sans-serif}
.table-shell .timer-bar{height:2px;margin:0 3px 6px;background:#ffffff25}
.table-shell .timer-bar span{background:#ffffffc0}
.table-shell .action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.table-shell .action-row button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:62px;border:0!important;border-radius:10px;background:transparent;color:white;box-shadow:none;padding:7px 2px;text-transform:none}
.table-shell .action-row button>span{font:800 23px/26px Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:-.6px}
.table-shell .action-row button small{color:inherit;opacity:.9;font:600 13px/17px Inter,Arial,sans-serif;margin:0}
.table-shell .action-row button:disabled{opacity:.38}
.table-shell .action-row button:active:not(:disabled){background:#ffffff20;box-shadow:none;transform:scale(.97)}
@media(hover:hover){.table-shell .action-row button:hover:not(:disabled){background:#ffffff14}}
.table-shell .event-line{font-size:11px;line-height:15px;color:#dffff0;min-height:15px;height:15px;margin:2px 0 0;overflow:hidden}
.table-shell:not(.is-playing) .stage{height:330px;min-height:260px;margin-top:8px;margin-bottom:0}
.table-shell .lobby-actions{color:white;padding:8px 0}
.table-shell .lobby-actions p,.table-shell .table-hint,.table-shell .between-actions button{color:#effff7}
.table-shell .result-box{background:#0c9e71;border:1px solid #ffffff2b;box-shadow:none;border-radius:14px;color:white}
.table-shell .result-kicker,.table-shell .result-box p,.table-shell .result-prize span{color:#e1ffef}
.table-shell .result-prize b,.table-shell .reveal-button{color:white}
.table-shell .table-code{background:#0c9e71;border:1px solid #ffffff40;color:white}

/* Club and profile follow the user's black wallet reference. */
.shell{background:#111;padding-left:14px;padding-right:14px;font-family:Inter,Arial,sans-serif}
.topbar{height:42px}
.topbar .avatar{width:36px;height:36px;background:#202020;border:3px solid #0b0b0b}
.club-brand b{font-size:13px}.club-brand span{font-size:10px;color:#747474}
.topbar .icon-button{background:#0b0b0b;width:36px;height:36px;border:0}
.club-balance{text-align:center;padding:35px 0 30px}
.club-balance>p{color:#727272;font-size:12px;margin-bottom:7px}
.club-balance>strong{display:flex;justify-content:center;align-items:center;gap:9px;color:#f6f6f6;font-size:39px;line-height:46px;letter-spacing:-1.6px;font-weight:650;font-variant-numeric:tabular-nums}
.club-balance>strong>span{color:#434343;display:flex}
.club-balance>strong svg{width:25px;height:25px}
.club-balance>small{display:block;color:#666;font-size:10px;margin-top:7px}
.club-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 13px}
.club-actions .quick-action{display:flex;flex-direction:column;min-height:60px;gap:5px;padding:9px 2px;border-radius:16px;background:#0a0a0a;border:0;color:#e9e9e9;font-size:11px;font-weight:600;box-shadow:none}
.club-actions .quick-action svg{width:21px;height:21px;stroke-width:1.65}
.club-actions .quick-action:active{background:#262626}
.shell .promo{border:0;height:96px;padding:16px 15px;border-radius:17px;background:linear-gradient(105deg,#151b29,#2d527c)}
.shell .promo-copy small{font-size:8px;margin-bottom:5px}
.shell .promo-copy strong{font-size:18px;font-weight:650}
.shell .promo-copy>span{font-size:11px;margin-top:7px}
.shell .bonus-row{background:#0b0b0b;border:0;min-height:63px;border-radius:17px;padding:12px;margin-top:12px;gap:10px}
.shell .bonus-row .bonus-symbol{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:50%;background:#1ebc83;color:white}
.bonus-symbol svg{width:23px;height:23px}
.shell .bonus-row b{font-size:13px;font-weight:550}
.shell .bonus-row small{font-size:10px;color:#747474}
.shell .profile-top{display:flex;align-items:center;gap:11px;padding:18px 2px 0;margin:0;text-align:left}
.shell .profile-top>.avatar{flex:none;width:45px;height:45px;border:0;margin:0;border-radius:50%}
.shell .profile-top h1{font-size:17px;line-height:22px;margin:0;font-weight:600;letter-spacing:-.4px}
.shell .profile-top p{font-size:11px;color:#767676;margin-top:3px}
.profile-top+.club-balance{padding:24px 0}
.profile-list{padding:5px 13px;background:#0b0b0b;border-radius:17px;margin-top:12px}
.profile-list h2{font-size:11px;color:#797979;font-weight:500;padding:11px 0 5px}
.profile-row{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;text-align:left;color:#e7e7e7;background:transparent;font-size:12px;border:0;border-radius:0}
.profile-row+.profile-row{border-top:1px solid #1c1c1c}
.profile-row .row-symbol{display:grid;place-items:center;width:28px;color:#aaa;flex:none}
.profile-row .row-symbol svg{width:19px;height:19px}
.profile-row>strong,.profile-row>svg{margin-left:auto;font-size:13px;font-weight:550}
.profile-row>svg{width:15px;height:15px;color:#666}
.profile-row small{display:block;color:#666;font-size:10px;margin-top:3px}
.profile-links .profile-row{min-height:57px}
.primary,.deal-button{background:#f1f1f1!important;color:#111;border:0;border-radius:13px;box-shadow:none;min-height:47px;font-size:13px;font-weight:600}
.secondary{background:#0b0b0b;border:1px solid #292929;color:#e7e7e7;border-radius:13px;box-shadow:none;min-height:45px;font-size:13px;font-weight:500}
.danger{background:#44232a;border:1px solid #71414a;color:#ffe0e3;border-radius:13px;box-shadow:none}
.shell .rule-block,.shell .empty,.shell .list-panel{border:0;background:#0b0b0b;border-radius:17px}
.shell .rule-block h3{font-size:13px}.shell .rule-block p{font-size:12px;color:#929292}
.nav-dock{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
.bottom-nav{min-height:59px;border:1px solid #3b3b3b;border-radius:31px;padding:4px;background:#0d0d0d;box-shadow:none}
.bottom-nav .nav-item{border-radius:26px;font-size:10px;font-weight:550;gap:5px;color:#c4c4c4}
.bottom-nav .nav-item.active{background:#253038;color:#f2f2f2}
.bottom-nav .nav-item svg{width:20px;height:20px;stroke-width:1.8}
.dock-caption{font-size:9px;margin-top:8px;color:#5f666c}
.shell .notice{font-size:9px;color:#686868;margin:18px 0;line-height:1.7}
dialog{border:1px solid #2e2e2e;border-radius:22px;background:#151515;box-shadow:0 16px 60px #0005}
.modal-title button{border-radius:50%;background:#252525;width:30px;height:30px;color:#ccc}
.field input:not([type="range"]),.field select{background:#0c0c0c;border:1px solid #303030;border-radius:12px;color:#f3f3f3;min-height:44px}
.presets button,.raise-counter button{background:#242424;border:1px solid #333;color:#eee;border-radius:11px;box-shadow:none}
.limits-panel{background:#101010;border:1px solid #292929;border-radius:14px}
input[type="range"]{accent-color:#dedede}
@media(max-width:370px){
.table-shell{padding-left:9px;padding-right:9px;--hero-card-width:72px;--hero-card-height:102px}
.table-shell .seat{width:73px}.table-shell .seat .seat-name{font-size:11px}
.table-shell .community .playing-card,.table-shell[data-seats="7"] .community .playing-card,.table-shell[data-seats="8"] .community .playing-card{width:42px;height:61px;font-size:21px}
.table-shell .community{min-height:65px;gap:4px}.table-shell .table-unit{font-size:8px}
.table-shell .action-row button>span{font-size:21px}.club-actions{gap:5px}
}
@media(max-height:670px) and (max-width:599px){
.table-shell{--hero-card-width:62px;--hero-card-height:87px;padding-top:calc(6px + var(--safe-top))}
.table-shell .stage,.table-shell.is-playing .stage,.table-shell:has(.demo-banner).is-playing .stage{height:calc(100svh - 326px - var(--safe-top) - env(safe-area-inset-bottom,0px));min-height:260px;margin-top:3px}
.table-shell .seat{top:clamp(60px,var(--y),calc(100% - 18px))}
.table-shell .seat-portrait{width:33px;height:33px;left:calc(50% - 17px);bottom:calc(100% + 2px)}
.table-shell .seat-cards .playing-card{width:22px;height:30px}
.table-shell .play-controls,.table-shell.is-playing .play-controls{padding-top:4px;padding-bottom:calc(15px + env(safe-area-inset-bottom,0px))}
.table-shell .hero-seated,.table-shell.is-playing .hero-seated{margin-bottom:5px}
.table-shell .hero-seated .you-hand{margin-bottom:6px}
.table-shell .hero-seated .you-hand .playing-card,.table-shell.is-playing .hero-seated .you-hand .playing-card{font-size:28px}
.table-shell .hero-label>span,.table-shell .hero-label>b{font-size:14px}
.table-shell .hero-seated .hand-combination{padding:0 6px;line-height:20px;font-size:14px}
.table-shell .action-row button{min-height:53px}
.table-shell .action-row button>span{font-size:21px;line-height:24px}
.table-shell .event-line{display:none}
.table-shell:not(.is-playing) .stage{height:270px}
}
.table-shell .table-bet.hero-bet{display:none}
.home-balance .club-balance{padding:26px 0 25px}
.home-balance .club-balance>strong{font-size:36px;line-height:43px}
.launch-card{background:#171717;border:1px solid #292929;border-radius:19px;padding:17px;margin-bottom:12px}
.launch-heading{display:flex;align-items:center;gap:11px}
.launch-mark{display:grid;place-items:center;flex:none;width:43px;height:43px;background:#222;border-radius:12px;font:35px/1 Georgia,serif;color:#eee}
.launch-heading small{display:block;font-size:9px;color:#858585;letter-spacing:1.1px;margin-bottom:5px}
.launch-heading h1{font-size:20px;line-height:24px;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere}
.launch-heading .live-dot{margin-left:auto;flex:none}
.launch-card>p{font-size:12px;line-height:18px;color:#969696;margin:13px 0 17px}
.launch-card .launch-button{position:relative;display:flex;justify-content:center;align-items:center;min-height:50px;padding:13px 40px;font-size:14px;line-height:20px;text-align:center;border-radius:12px}
.launch-button svg,.launch-button>span[aria-hidden]{position:absolute;right:15px;top:50%;transform:translateY(-50%);width:19px;height:19px;line-height:19px}
.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}
.home-actions>button,.home-actions>a{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:9px;height:74px;background:#0b0b0b;padding:12px 11px;border:1px solid #202020;border-radius:16px;text-align:left;text-decoration:none}
.launch-button{text-decoration:none}
.home-actions>button>svg{width:20px;height:20px;color:#d0d0d0}
.home-actions>button>span,.home-actions>a>span{display:block;min-width:0;font-size:12px;line-height:17px;font-weight:600}
.home-actions>a>span{grid-column:1/-1;text-align:center}
.home-actions small{display:block;margin-top:4px;font-size:9px;line-height:13px;color:#737373;font-weight:400}
.shell .home-bonus{margin-top:0;border:1px solid #202020;min-height:65px}
.shell .home-bonus .bonus-symbol{background:#202020;color:#d5d5d5;width:34px;height:34px}
@media(max-width:350px){.home-actions{gap:6px}.home-actions>button{gap:7px;padding:11px 9px}.home-actions span{font-size:11px}.home-actions small{font-size:8px}}
.table-shell .timer-bar span{width:100%;transform:scaleX(var(--progress,1));transform-origin:left;transition:transform 1s linear}
.chip-transfer{position:fixed;width:24px;height:24px;z-index:50;pointer-events:none}
.chip-transfer .chip-stack{width:24px;height:24px;transform:none}
.chip-transfer .clay{width:22px;height:22px;bottom:0}
.chip-transfer .ivory,.chip-transfer .graphite,.chip-transfer .clay i{display:none}
@media(prefers-reduced-motion:reduce){.table-shell .timer-bar span{transition:none}}

@media(min-height:671px) and (max-height:780px) and (max-width:599px){
  .table-shell{--hero-card-width:70px;--hero-card-height:98px}
}

/* Fixed rows keep names, stacks, cards and bets aligned at every seat count. */
.table-shell{min-height:100svh}
.table-shell .stage,.table-shell.is-playing .stage,.table-shell:has(.demo-banner).is-playing .stage,.table-shell:not(.is-playing) .stage{
  display:grid;grid-template-rows:auto minmax(128px,1fr) auto;gap:10px;
  min-height:402px;height:calc(100svh - 390px - var(--safe-top) - env(safe-area-inset-bottom,0px));
  max-height:none;margin:16px auto 0
}
.table-shell .opponents{display:grid;grid-template-columns:repeat(var(--places),minmax(0,1fr));gap:8px;align-items:start;justify-content:center;width:100%;max-width:520px;margin:auto}
.table-shell .opponents:empty{display:none}
.table-shell .opponents .seat{position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;display:flex;flex-direction:column;align-items:center;min-width:0}
.table-shell .opponents .seat>*{flex-shrink:0}
.table-shell .seat-face{height:44px;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;margin-bottom:5px}
.table-shell .seat-portrait{position:static;transform:none;left:auto;bottom:auto;flex:none;width:42px;height:42px}
.table-shell .seat-cards,.table-shell .seat-cards:empty{position:static;top:auto;bottom:auto;left:auto;right:auto;width:39px;height:39px;margin:0;display:flex;flex:none;align-items:center;justify-content:center}
.table-shell .seat-label,.table-shell .seat.current .seat-label,.table-shell .seat.winner .seat-label{width:100%;height:35px}
.table-shell .seat .seat-action{position:static;display:block;width:100%;height:15px;min-height:15px;line-height:15px;margin:0;font-size:10px}
.table-shell .seat .seat-action:empty{display:block}
.table-shell .seat-wager{display:flex;justify-content:center;align-items:center;min-height:25px;margin-top:2px}
.table-shell .table-bet{position:static;left:auto;top:auto!important;transform:none;height:24px;gap:4px}
.table-shell .table-bet .mini{width:23px;height:23px}
.table-shell .table-bet b{font-size:14px}
.table-shell .seat .dealer{right:0;bottom:0}
.table-shell .table-center,.table-shell[data-seats="7"] .table-center,.table-shell[data-seats="8"] .table-center{position:static;left:auto;top:auto;transform:none;align-self:center;width:100%}
.table-shell .empty-seat{height:126px;justify-content:center!important;gap:5px}
.table-shell .play-controls,.table-shell.is-playing .play-controls{padding-top:14px}
.table-shell .event-line{display:none}
.table-shell .hero-seated,.table-shell.is-playing .hero-seated{gap:0}
.table-shell .hero-label{height:26px}
.table-shell .seat-face .seat-cards .playing-card:last-child{margin-left:-8px}
@media(max-width:370px){
.table-shell .opponents{gap:3px}
.table-shell .seat-face{gap:0}
.table-shell .seat-portrait{width:35px;height:35px}
.table-shell .seat-cards,.table-shell .seat-cards:empty{width:32px;height:35px}
.table-shell .seat-cards .playing-card{width:22px;height:32px}
}
@media(max-height:670px) and (max-width:599px){
.table-shell{--hero-card-width:55px;--hero-card-height:77px}
.table-shell .table-bar{min-height:30px}
.table-shell .connection{margin-top:3px}
.table-shell .stage,.table-shell.is-playing .stage,.table-shell:has(.demo-banner).is-playing .stage,.table-shell:not(.is-playing) .stage{
  grid-template-rows:auto minmax(96px,1fr) auto;gap:4px;min-height:290px;height:calc(100svh - 280px - var(--safe-top) - env(safe-area-inset-bottom,0px));margin-top:6px
}
.table-shell .seat-face{height:31px;margin-bottom:1px}
.table-shell .seat-portrait{width:30px;height:30px}
.table-shell .seat-cards,.table-shell .seat-cards:empty{height:29px;width:30px}
.table-shell .seat-cards .playing-card{width:20px;height:28px}
.table-shell .seat-label,.table-shell .seat.current .seat-label,.table-shell .seat.winner .seat-label{height:31px}
.table-shell .seat .seat-name{font-size:10px;line-height:13px}
.table-shell .seat .seat-stack{font-size:13px;line-height:16px}
.table-shell .seat .seat-action{height:12px;min-height:12px;line-height:12px;font-size:9px}
.table-shell .seat-wager{min-height:19px;margin-top:1px}
.table-shell .table-bet,.table-shell .table-bet .mini{height:19px}
.table-shell .table-bet .mini .clay{width:18px;height:18px}
.table-shell .table-bet b{font-size:12px}
.table-shell .community .playing-card,.table-shell[data-seats="7"] .community .playing-card,.table-shell[data-seats="8"] .community .playing-card{width:39px;height:55px;font-size:21px}
.table-shell .community{min-height:55px}
.table-shell .pot-display{margin-bottom:5px}
.table-shell .pot-display small{font-size:12px}
.table-shell .pot-display strong{font-size:20px;line-height:23px}
.table-shell .phase{font-size:11px;margin-top:4px}
.table-shell .play-controls,.table-shell.is-playing .play-controls{padding-top:8px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
.table-shell .hero-seated,.table-shell.is-playing .hero-seated{margin-bottom:4px}
.table-shell .hero-seated .you-hand,.table-shell.is-playing .hero-seated .you-hand{margin-bottom:5px}
.table-shell .hero-label{height:22px}
.table-shell .hero-seated .hand-combination,.table-shell.is-playing .hero-seated .hand-combination{font-size:13px;line-height:17px;padding:0 5px}
.table-shell .turn-status,.table-shell .turn-status strong,.table-shell .timer{font-size:12px;line-height:16px}
.table-shell .turn-status{margin-bottom:3px}
.table-shell .timer-bar{margin-bottom:3px}
.table-shell .action-row button{min-height:48px;padding:3px 2px}
.table-shell .action-row button>span{font-size:21px;line-height:23px}
.table-shell .action-row button small{font-size:11px;line-height:14px}
.table-shell .empty-seat{height:95px}
}
@media(min-height:671px) and (max-height:780px) and (max-width:599px){
.table-shell .stage,.table-shell.is-playing .stage,.table-shell:has(.demo-banner).is-playing .stage{min-height:360px;height:calc(100svh - 376px - var(--safe-top) - env(safe-area-inset-bottom,0px));gap:6px}
.table-shell .seat-face{height:36px;margin-bottom:3px}
.table-shell .seat-portrait{width:36px;height:36px}
.table-shell .seat-label,.table-shell .seat.current .seat-label,.table-shell .seat.winner .seat-label{height:31px}
.table-shell .seat .seat-action{height:12px;min-height:12px;line-height:12px}
.table-shell .seat-wager{min-height:22px}
.table-shell .table-bet,.table-shell .table-bet .mini{height:22px}
}

