:root{--bg:#101917;--surface:#17231f;--line:#2d3c34;--muted:#92a098;--text:#ecf1e9;--accent:#b9edce;--accent-dark:#163c2c;--gold:#dec898;--danger:#eeaaa1;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 25%,#1c342941,transparent 55%),var(--bg);min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{touch-action:manipulation}[hidden]{display:none!important}input{min-width:0}input[type=range]{width:100%;accent-color:var(--accent);height:28px;cursor:pointer}.app-shell{max-width:1320px;margin:auto;padding:0 44px;padding-top:max(env(safe-area-inset-top),var(--tg-safe-area-inset-top,0px),var(--tg-content-safe-area-inset-top,0px));padding-bottom:max(env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px))}.topbar{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff10}.brand{border:0;background:transparent;display:flex;gap:12px;align-items:center;text-align:left;padding:0}.brand-icon{display:grid;place-items:center;background:var(--accent);color:#143725;width:43px;height:47px;border-radius:13px;font:34px Georgia}.brand-word{font:700 34px Georgia,serif;letter-spacing:-1.3px;line-height:.95}.brand-word>span{display:block;font:8px Arial,sans-serif;letter-spacing:2px;margin-top:9px;color:var(--muted)}.topbar-right{display:flex;gap:13px;align-items:center}.chip-label{border:1px solid var(--line);border-radius:30px;padding:9px 14px;color:var(--muted);font-size:11px}.icon-button{border:1px solid var(--line);background:#17211d;width:39px;height:39px;display:inline-grid;place-items:center;border-radius:12px;font-size:22px;position:relative}.icon-button:hover{background:#26372d}.sound-slash{position:absolute;inset:0;display:grid;place-items:center;color:var(--danger);font-size:27px}.lobby{padding:80px 0 0;display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center}.eyebrow{color:var(--accent);font-size:10px;letter-spacing:2.1px;font-weight:600;display:flex;align-items:center;gap:9px}.dot,.connection i{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--accent);box-shadow:0 0 10px #a8edc333}.lobby h1{font:normal clamp(43px,4.6vw,65px)/1.1 Georgia,serif;letter-spacing:-2.6px;margin:24px 0}.lobby h1 em{font-style:normal;color:var(--accent)}.hero-description{color:var(--muted);font-size:14px;line-height:1.9;margin-bottom:31px}.hero-actions{display:flex;gap:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:1px solid transparent;padding:15px 21px;font-weight:600;border-radius:12px;font-size:13px;min-height:47px;transition:background .18s,transform .18s}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{background:var(--accent);color:#143526}.button.primary:hover:not(:disabled){background:#d0f8df}.button.secondary{background:#19241f;border-color:#36483c}.button.secondary:hover:not(:disabled){background:#24362c}.button.small{padding:10px 15px;font-size:12px;min-height:39px;border-radius:10px}.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;padding:0;display:inline-flex;align-items:center;gap:13px}.text-button:hover{color:var(--accent)}#try-demo{margin-top:22px}.hero-features{display:flex;gap:30px;margin-top:53px}.hero-features>div{display:flex;flex-direction:column;gap:9px}.hero-features strong{font-size:15px;font-weight:500}.hero-features span{font-size:10px;color:var(--muted)}.hero-visual{border:1px solid #45553d70;border-radius:24px;padding:24px;background:linear-gradient(140deg,#26382c88,#19251e33);box-shadow:0 34px 85px #0003;transform:rotate(-2deg)}.visual-heading{font-size:9px;letter-spacing:1.5px;display:flex;gap:8px;align-items:center;color:#bfcec1}.visual-live{margin-left:auto;color:var(--accent);border:1px solid #70857060;padding:5px 7px;border-radius:5px;font-size:8px;letter-spacing:1px}.preview-table{height:340px;position:relative;margin:18px 0 5px}.preview-table-inner{position:absolute;inset:38px 30px 32px;border-radius:49%;background:radial-gradient(ellipse at 50% 28%,#28614b,#163d30);border:12px solid #17271e;box-shadow:0 0 0 1px #78986c44,0 10px 20px #0004,inset 0 0 30px #0005}.preview-table-inner:after{content:"";position:absolute;inset:12px;border:1px solid #77916b50;border-radius:49%}.preview-watermark{position:absolute;top:75px;width:100%;text-align:center;opacity:.19;font:italic 45px Georgia;letter-spacing:1px}.preview-pot{position:absolute;top:126px;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;color:#adc3ae;font-size:9px;line-height:1.7}.chip-stack{width:30px;height:25px;position:relative}.chip-stack i{position:absolute;top:12px;width:27px;height:14px;border-radius:50%;background:#d3ba7f;border:3px dashed #836c40;box-shadow:0 2px 0 #68532c}.chip-stack i:nth-child(2){top:7px}.chip-stack i:nth-child(3){top:2px}.preview-cards{display:flex;gap:7px;position:absolute;top:183px;left:50%;transform:translateX(-50%) rotate(2deg)}.playing-card{width:56px;height:79px;background:#f4f1e8;color:#1e342b;border-radius:7px;border:1px solid #ffffffe0;box-shadow:0 4px 5px #0003;position:relative;flex-shrink:0;backface-visibility:hidden}.playing-card b{position:absolute;left:7px;top:4px;font:600 21px Georgia}.playing-card>span{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);font:34px Georgia}.playing-card small{position:absolute;right:6px;bottom:4px;font:600 16px Georgia;transform:rotate(180deg)}.playing-card.red{color:#b3453c}.playing-card.back{background:repeating-linear-gradient(45deg,#3c6956 0 2px,#315945 2px 6px);border:3px solid #e0e4d1;box-shadow:0 2px 4px #0003}.playing-card.back>span{color:#c8d8bb80;font-size:21px}.preview-cards .playing-card:first-child{transform:rotate(-7deg) translateY(3px)}.preview-cards .playing-card:last-child{transform:rotate(7deg) translateY(3px)}.preview-seat{position:absolute;display:grid;place-items:center;width:42px;height:42px;border-radius:100%;background:#9e806b;color:#f4e9dc;font-size:14px;font-weight:600;border:3px solid #17221a;box-shadow:0 0 0 1px #93ac8160}.preview-seat span{position:absolute;top:47px;font-size:9px;white-space:nowrap;letter-spacing:.3px;font-weight:400}.ps-one{top:38px;left:37px;background:#576e94}.ps-two{right:12px;top:140px;background:#927764}.ps-three{bottom:16px;left:43%;background:var(--accent);color:#1b392a}.dealer-preview{position:absolute;top:116px;left:34px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#efe6ca;color:#263e2c;font:600 10px Arial}.visual-footer{border-top:1px solid #8ca07f23;display:flex;justify-content:space-between;padding-top:16px;font-size:10px;color:#a7b69e}.lobby-foot{grid-column:1/-1;display:flex;justify-content:space-between;padding:50px 0 34px;font-size:9px;letter-spacing:1px;color:#63766a}.room-header{display:flex;align-items:center;justify-content:space-between;margin:30px 0 22px;gap:12px}.room-header h1{font:normal 30px Georgia;letter-spacing:-.5px;margin:8px 0 0;overflow-wrap:anywhere}.room-header .eyebrow{font-size:8px;letter-spacing:1.6px}.room-tools{display:flex;align-items:center;gap:10px}.connection{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-right:7px}.connection.offline{color:var(--danger)}.connection.offline i{background:var(--danger)}.demo-banner{display:flex;align-items:center;gap:9px;border:1px solid #715d3e66;background:#3e342233;border-radius:9px;font-size:11px;color:#cdbc9a;margin-bottom:15px;padding:10px 13px;line-height:1.5}.demo-banner>span{font-size:8px;letter-spacing:1px;background:#5a492d;padding:4px 6px;border-radius:4px;color:#f4ddb0;white-space:nowrap}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px}.table-column{min-width:0}.table-card{border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(ellipse at 50% 50%,#293c2b5c,#18241dc7);overflow:hidden}.table-topline,.table-bottomline{display:flex;justify-content:space-between;color:#9fab98;font-size:9px;letter-spacing:1.1px;padding:19px 22px}.table-topline .muted{color:#667767}.table-bottomline{border-top:1px solid #73876920;font-size:9px;letter-spacing:.25px;padding:13px 20px}.table-bottomline>span:last-child{font-size:8px;color:#778b76;letter-spacing:1px}.arena{height:475px;position:relative;isolation:isolate}.felt{position:absolute;inset:55px 63px 65px;border-radius:47%;background:radial-gradient(ellipse at 45% 28%,#28644d,#164d39 55%,#103b2e);border:13px solid #192c21;box-shadow:0 0 0 1px #637b4c55,0 0 0 6px #121e16,0 18px 28px #0004,inset 0 0 44px #0005;z-index:-1}.felt:after{content:"";position:absolute;inset:0;border-radius:inherit;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.045' filter='url(%23n)'/%3E%3C/svg%3E");pointer-events:none}.felt-line{position:absolute;inset:13px;border:1px solid #c2ca8933;border-radius:47%}.felt-brand{position:absolute;top:23%;left:50%;transform:translate(-50%,-50%);font:italic 35px Georgia;opacity:.11;letter-spacing:2px}.deck{position:absolute;left:50%;top:24%;width:28px;height:39px;transform:translateX(-50%) rotate(-9deg)}.deck>i{position:absolute;inset:0;display:grid;place-items:center;font-size:17px;font-style:normal;background:repeating-linear-gradient(45deg,#4a7659 0 2px,#37583f 2px 5px);border:2px solid #cdd2b7;border-radius:3px;color:#cfdbb794;box-shadow:1px 1px 3px #0005}.deck>i:nth-child(1){transform:translate(3px,4px)}.deck>i:nth-child(2){transform:translate(1px,2px)}.pot-display{position:absolute;top:36%;left:50%;transform:translateX(-50%);text-align:center}.pot-label{font-size:8px;letter-spacing:1.8px;color:#9ebca4}.pot-display>div{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:7px}.pot-display strong{font-size:24px;letter-spacing:-.7px;font-weight:600}.tiny-chip{width:17px;height:17px;border-radius:50%;border:3px dashed #768448;background:#d2c483;box-shadow:0 1px 0 #554e28}.community-cards{position:absolute;top:49%;left:50%;transform:translateX(-50%);display:flex;gap:6px;perspective:600px}.community-cards .playing-card{width:48px;height:68px;border-radius:6px}.community-cards .playing-card b{font-size:18px;top:3px;left:5px}.community-cards .playing-card>span{font-size:29px}.community-cards .playing-card small{font-size:13px;right:4px}.card-placeholder{width:48px;height:68px;border:1px solid #a5be9826;border-radius:6px;display:grid;place-items:center;color:#a5be981d;font:26px Georgia}.playing-card.winning{box-shadow:0 0 0 2px #e8d797,0 0 18px #d9ca792b}.street-label{position:absolute;top:67%;left:50%;transform:translateX(-50%);font-size:9px;text-align:center;letter-spacing:1.1px;color:#a5bc9f;white-space:nowrap}.seat{position:absolute;width:108px;transform:translate(-50%,-50%);text-align:center;z-index:2;transition:opacity .2s}.avatar{margin:0 auto;width:44px;height:44px;background:#59685b;display:grid;place-items:center;border-radius:50%;color:#e5eadb;border:3px solid #203021;box-shadow:0 0 0 1px #a3b09730;font-size:15px;font-weight:600;position:relative}.seat.turn .avatar{box-shadow:0 0 0 2px var(--accent),0 0 20px #b9edce20}.seat.winner .avatar{box-shadow:0 0 0 2px var(--gold),0 0 25px #dec89840}.seat.folded{opacity:.43}.seat.offline .avatar:after{content:"";width:8px;height:8px;position:absolute;bottom:0;right:0;background:#c1816d;border:2px solid var(--bg);border-radius:50%}.seat-label{background:#142019eF;border:1px solid #46563890;border-radius:8px;padding:6px 5px 5px;margin-top:4px;box-shadow:0 3px 8px #0002}.seat-name{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.2}.seat-stack{font-size:12px;font-weight:600;display:block;margin-top:3px;color:#d9e5ce;letter-spacing:.3px}.seat.self .seat-label{border-color:#a3c3a166}.seat.self .seat-name{color:var(--accent)}.seat-hand{position:absolute;display:flex;left:50%;bottom:calc(100% - 10px);transform:translateX(-50%);gap:2px;z-index:-1;perspective:500px}.seat-hand .playing-card{width:25px;height:35px;border-radius:3px;box-shadow:none}.seat-hand .playing-card b{font-size:12px;left:3px;top:1px}.seat-hand .playing-card>span{font-size:16px;top:62%}.seat-hand .playing-card small{display:none}.seat-hand .playing-card:first-child{transform:rotate(-10deg)}.seat-hand .playing-card:last-child{transform:rotate(10deg)}.seat.self .seat-hand{gap:4px;bottom:calc(100% - 17px)}.seat.self .seat-hand .playing-card{width:40px;height:55px;border-radius:5px}.seat.self .seat-hand .playing-card b{font-size:18px;left:4px;top:2px}.seat.self .seat-hand .playing-card>span{font-size:25px;top:58%}.seat.self .avatar{width:33px;height:33px;font-size:12px}.seat-action{font-size:8px;color:#c1ceb2;height:12px;margin-top:5px;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.dealer-button{position:absolute;right:12px;top:8px;background:#e7dfbd;width:18px;height:18px;border-radius:50%;font:bold 10px/18px Arial;color:#354230;box-shadow:0 2px 3px #0005}.bet-badge{position:absolute;left:50%;top:calc(100% + 2px);transform:translateX(-50%);font-size:9px;white-space:nowrap;display:flex;align-items:center;gap:5px;background:#14291ba3;padding:3px 7px;border-radius:12px}.bet-badge .tiny-chip{width:11px;height:11px;border-width:2px}.seat[data-position="0"] .bet-badge,.seat[data-position="1"] .bet-badge,.seat[data-position="5"] .bet-badge{top:auto;bottom:calc(100% + 39px)}.empty-seat{opacity:.45}.empty-seat .avatar{border:1px dashed #9db29a70;background:transparent;box-shadow:none;font-size:19px;color:#94a990;font-weight:300}.empty-seat .seat-label{border:0;background:transparent}.empty-seat .seat-name{font-size:9px}.empty-seat .seat-stack{display:none}.result-label{position:absolute;top:72%;left:50%;transform:translateX(-50%);text-align:center;width:65%;font-size:11px;line-height:1.6;color:var(--gold);background:#183322dc;border:1px solid #a4a06a3b;border-radius:9px;padding:7px 10px;z-index:3}.result-label small{font-size:9px;color:#bdc6a6;display:block}.action-panel{padding:20px 21px;border:1px solid var(--line);border-radius:17px;margin-top:16px;background:#1c2921}.turn-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.turn-line>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.turn-indicator{width:6px;height:6px;border-radius:50%;background:#63725e;flex-shrink:0}.turn-indicator.active{background:var(--accent);box-shadow:0 0 10px #b9edce35}.turn-line strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turn-line #turn-subtitle{color:#8fa086;font-size:10px;margin-left:5px}.time-counter{font-size:11px;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}.timer-track{height:2px;background:#354631;margin:13px 0 15px;border-radius:2px;overflow:hidden}.timer-track i{display:block;height:100%;width:0;background:var(--accent);transition:width .12s linear}.main-actions{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:9px}.action-button{border:1px solid #465b3c;background:#26372a;border-radius:11px;padding:13px 7px;display:flex;flex-direction:column;gap:6px;align-items:center;min-height:61px;transition:background .2s}.action-button span{font-size:13px;font-weight:600}.action-button small{font-size:9px;color:#9aad8c}.action-button.fold{background:#2c3027;border-color:#4b4d3d}.action-button.fold span{color:#e0c3ae}.action-button.call{background:var(--accent);border-color:var(--accent);color:var(--accent-dark)}.action-button.call small{color:#3c6b4b}.action-button:not(:disabled):hover{filter:brightness(1.1)}.action-button:disabled{opacity:.36}.waiting-actions{display:flex;gap:15px;align-items:center;justify-content:space-between}.waiting-actions p{font-size:11px;line-height:1.7;color:var(--muted);max-width:300px;margin:0}.waiting-actions button{flex-shrink:0}.raise-panel{border-top:1px solid #58714940;margin-top:15px;padding-top:15px}.raise-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.raise-heading>div{display:flex;align-items:center;gap:8px}.raise-heading input{background:#13221a;border:1px solid #536c45;padding:7px 10px;border-radius:7px;max-width:100px;color:var(--text);font-size:12px}.raise-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.presets{display:flex;gap:6px}.presets button{font-size:9px;border:1px solid #475d3a;background:#243a27;border-radius:7px;padding:9px;color:#c4d5b2}.under-table{display:flex;align-items:center;justify-content:space-between;color:#71866c;font-size:9px;margin-top:14px;gap:8px}.under-table .text-button{font-size:9px;color:#8ca081}.side-card{border:1px solid var(--line);background:#18241e;border-radius:17px;padding:20px;margin-bottom:18px}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.side-heading h2{margin:0;font-size:13px;font-weight:500}.side-heading>span{font-size:10px;color:#97ab90}.roster-row{display:flex;align-items:center;gap:10px;margin-bottom:17px}.roster-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#405240;font-size:11px;color:#dce7ce;flex-shrink:0}.roster-info{min-width:0}.roster-info strong{font-size:11px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.roster-info small{display:block;color:#82977b;font-size:8px;margin-top:4px}.roster-stack{font-size:10px;margin-left:auto;color:#bbcbb0;font-variant-numeric:tabular-nums;white-space:nowrap}.privacy-note{display:flex;gap:10px;border-top:1px solid #3f543435;padding-top:16px;color:#79916d;font-size:9px;line-height:1.7}.privacy-note>span{font-size:14px}.privacy-note p{margin:0}.privacy-note strong{color:#a7bc9a;font-size:9px;font-weight:500}.history-card{padding-bottom:12px}.history-row{display:flex;gap:10px;align-items:flex-start;font-size:10px;color:#9eaf93;padding:0 0 13px;line-height:1.5}.history-row:before{content:"";width:5px;height:5px;border:1px solid #536b44;border-radius:50%;flex-shrink:0;margin-top:4px}.history-row.win{color:var(--gold)}.history-row.deal{color:#d8e2ce}.history-row.win:before{border-color:var(--gold);background:var(--gold)}.history-row.street{color:#a5c58d}.sidebar-note{font:italic 23px/1.5 Georgia;color:#7b957044;padding:5px 10px;text-align:center}.sidebar-note span{color:#7b957088}.global-footer{display:flex;justify-content:space-between;padding:34px 0 23px;color:#53694f;font-size:8px;letter-spacing:.7px;gap:12px}.pending-requests{border:1px solid #71945966;border-radius:12px;margin-top:15px;padding:12px 15px;background:#2a4027}.request-row{display:flex;align-items:center;gap:8px;margin:5px 0;font-size:11px}.request-row>span{margin-right:auto}.request-row button{border:1px solid #8cb36b;background:transparent;border-radius:7px;padding:8px 10px;color:var(--accent);font-size:10px}.request-row button.approve{background:var(--accent);color:#1f4225}.waiting-screen{text-align:center;min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.waiting-symbol{font:65px Georgia;color:var(--accent);margin-bottom:30px}.waiting-screen h2{font:32px Georgia;margin:20px 0}.waiting-screen p{max-width:360px;color:var(--muted);font-size:13px;line-height:1.8}.waiting-pulse{display:flex;gap:7px;margin:25px 0}.waiting-pulse i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:pulse 1.2s infinite}.waiting-pulse i:nth-child(2){animation-delay:.2s}.waiting-pulse i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.2;transform:translateY(-4px)}}dialog{width:min(460px,calc(100vw - 30px));border:1px solid #465c43;background:#1b2a20;color:var(--text);border-radius:22px;padding:23px;box-shadow:0 30px 100px #0007}dialog::backdrop{background:#050e09b5;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head .eyebrow{font-size:8px}.modal-head .icon-button{height:28px;width:28px;border-radius:8px;font-size:20px}dialog h2{font:30px Georgia;margin:15px 0 12px}dialog p{color:#a7ba9a;font-size:12px;line-height:1.8}dialog label{display:block;font-size:10px;color:#b0c1a4;margin:17px 0 7px}dialog input:not([type=checkbox]),dialog textarea{width:100%;background:#112018;color:var(--text);border:1px solid #455e3d;border-radius:10px;padding:12px 13px;font-size:13px;min-height:44px}dialog textarea{font-size:11px;resize:vertical;line-height:1.7;min-height:95px}dialog .button{width:100%;margin-top:19px}.form-row{display:flex;gap:12px}.form-row>div{flex:1;min-width:0}.form-note{font-size:10px!important;color:#819578!important;margin-top:14px!important}.modal-setting-row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:13px;font-size:12px}.modal-setting-row button{width:auto;margin:0}.modal-players{margin-top:15px}.modal-player{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #40583766;padding:10px 0;font-size:12px}.modal-player button{border:0;background:transparent;color:var(--danger);font-size:11px}.danger-button{color:var(--danger)!important;border-color:#856247!important}.toast{position:fixed;bottom:max(25px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);width:max-content;z-index:10000;background:#d9eacb;color:#1f3821;padding:13px 18px;border-radius:12px;font-size:12px;box-shadow:0 8px 30px #0005;line-height:1.6}.flying-chip{position:absolute;width:17px;height:17px;border-radius:50%;border:3px dashed #758046;background:#d2c483;z-index:10;pointer-events:none;box-shadow:0 3px 3px #0004}.state-note{padding:10px 13px;background:#2a3f2766;border-radius:9px;font-size:10px;line-height:1.7;color:#a8b898;margin-top:17px}.muted{color:var(--muted)}
@media(min-width:1450px){.arena{height:510px}}@media(max-width:1080px){.app-shell{padding-left:25px;padding-right:25px}.game-grid{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.side-card{padding:16px}.arena{height:465px}.felt{inset:55px 47px 65px}.community-cards{gap:4px}.community-cards .playing-card,.card-placeholder{width:42px;height:62px}.seat{width:90px}.lobby{gap:25px}.hero-visual{padding:18px}.hero-features{gap:20px}.lobby h1{font-size:51px}.hero-actions .button{padding:14px}.preview-table-inner{left:14px;right:14px}.ps-one{left:22px}.ps-two{right:0}.waiting-actions{flex-wrap:wrap}}
@media(max-width:840px){.game-grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sidebar-note{display:none}.side-card{margin:0}.lobby{padding-top:50px;grid-template-columns:1fr 1fr}.lobby h1{font-size:43px}.hero-description{font-size:12px}.hero-features{gap:16px}.hero-features strong{font-size:13px}.hero-features span{font-size:8px}.hero-actions{flex-wrap:wrap}.hero-visual{padding:16px}.preview-table{height:310px}.preview-cards .playing-card{width:43px;height:64px}.preview-cards .playing-card>b{font-size:17px}.preview-cards .playing-card>span{font-size:26px}.preview-cards .playing-card>small{font-size:13px}.visual-heading{letter-spacing:.7px;font-size:8px}.visual-live{display:none}.ps-one{left:8px}.ps-two{right:-2px}.dealer-preview{left:7px}.preview-cards{top:175px}.preview-pot{top:121px}.arena{height:485px}.felt{inset:55px 65px 65px}.community-cards .playing-card,.card-placeholder{width:49px;height:70px}.community-cards{gap:6px}.seat{width:103px}.room-header h1{font-size:28px}}
@media(max-width:600px){.app-shell{padding-left:16px;padding-right:16px}.topbar{height:85px}.brand-icon{width:35px;height:39px;font-size:29px;border-radius:10px}.brand-word{font-size:30px}.brand-word>span{font-size:7px;letter-spacing:1.5px;margin-top:7px}.topbar-right{gap:8px}.play-money{display:none}.topbar .icon-button{height:33px;width:33px;font-size:20px;border-radius:10px}.lobby{grid-template-columns:1fr;padding-top:43px;gap:35px}.lobby h1{font-size:49px;letter-spacing:-1.8px;margin:24px 0 21px}.hero-description{font-size:13px;line-height:1.8;margin-bottom:27px}.hero-actions{flex-wrap:nowrap}.hero-actions .button{flex:1;gap:15px;font-size:12px;padding:14px 12px}.eyebrow{font-size:9px;letter-spacing:1.5px}.hero-features{justify-content:space-between;margin-top:37px;gap:12px}.hero-features strong{font-size:14px}.hero-features span{font-size:9px}.hero-visual{max-width:440px;width:100%;justify-self:center;margin:0 3px;transform:rotate(-1deg);padding:21px}.preview-table{height:300px}.preview-table-inner{inset:30px 24px 24px}.preview-watermark{top:61px}.preview-pot{top:111px}.preview-cards{top:160px}.preview-cards .playing-card{width:49px;height:70px}.ps-one{top:31px;left:27px}.ps-two{right:7px;top:133px}.ps-three{bottom:17px}.dealer-preview{left:19px;top:103px}.visual-heading{font-size:9px;letter-spacing:1px}.visual-live{display:block}.lobby-foot{padding:0 0 6px;font-size:7px;gap:10px;letter-spacing:.5px}.lobby-foot span:last-child{display:none}.room-header{margin:21px 0 17px;align-items:center}.room-header h1{font-size:25px;margin-top:7px;max-width:210px}.room-header .eyebrow{font-size:7px;letter-spacing:1.1px}.room-tools{gap:7px}.room-tools .button{font-size:10px;padding:9px 10px;gap:5px;min-height:34px}.room-tools .icon-button{width:33px;height:33px;font-size:22px}.connection{position:absolute;top:95px;right:18px;font-size:8px;margin:0}.connection i{width:4px;height:4px}.demo-banner{font-size:9px;padding:8px 10px;gap:8px;margin-bottom:12px}.table-card{border-radius:17px;margin:0 -4px}.table-topline{padding:15px 12px;font-size:7px;letter-spacing:.7px}.table-topline .muted{font-size:6px}.arena{height:415px}.felt{inset:40px 35px 53px;border-width:10px;border-radius:45%;box-shadow:0 0 0 1px #6c805151,0 0 0 4px #121e16,0 12px 20px #0005,inset 0 0 26px #0005}.felt-line{inset:10px;border-radius:45%}.felt-brand{font-size:27px}.seat{width:78px}.avatar{width:34px;height:34px;border-width:2px;font-size:12px}.seat-label{padding:5px 3px 4px;border-radius:7px;margin-top:3px}.seat-name{font-size:8px}.seat-stack{font-size:10px;margin-top:3px}.seat-action{font-size:6px;letter-spacing:.3px;margin-top:4px;height:9px}.seat-hand .playing-card{width:21px;height:29px;border-width:2px}.seat-hand .playing-card b{font-size:10px;left:2px}.seat-hand .playing-card>span{font-size:13px}.seat.self .seat-hand .playing-card{width:33px;height:47px}.seat.self .seat-hand .playing-card b{font-size:15px}.seat.self .seat-hand .playing-card>span{font-size:21px}.seat.self .avatar{width:28px;height:28px;font-size:10px}.dealer-button{height:15px;width:15px;line-height:15px;right:2px;top:3px;font-size:8px}.bet-badge{font-size:7px;gap:3px;padding:3px 4px}.bet-badge .tiny-chip{width:9px;height:9px}.seat[data-position="0"] .bet-badge,.seat[data-position="1"] .bet-badge,.seat[data-position="5"] .bet-badge{bottom:calc(100% + 31px)}.community-cards{gap:4px;top:48%}.community-cards .playing-card,.card-placeholder{width:35px;height:50px;border-radius:4px}.community-cards .playing-card b{font-size:14px;left:4px;top:2px}.community-cards .playing-card>span{font-size:23px;top:56%}.community-cards .playing-card small{font-size:9px;right:3px;bottom:2px}.card-placeholder{font-size:20px}.deck{width:23px;height:32px;top:23%}.pot-display{top:34%}.pot-label{font-size:7px;letter-spacing:1.1px}.pot-display strong{font-size:20px}.pot-display>div{margin-top:5px;gap:5px}.pot-display .tiny-chip{width:14px;height:14px;border-width:2px}.street-label{top:63%;font-size:7px;letter-spacing:.9px}.result-label{top:68%;font-size:9px;width:62%;padding:5px 7px}.result-label small{font-size:7px}.table-bottomline{font-size:7px;padding:12px 10px;letter-spacing:0}.table-bottomline>span:last-child{font-size:6px;letter-spacing:.6px}.action-panel{border-radius:14px;margin:12px -4px 0;padding:16px 13px}.turn-line strong{font-size:11px}.turn-line #turn-subtitle{font-size:8px;margin-left:1px}.turn-line>div:first-child{gap:6px}.time-counter{font-size:10px}.timer-track{margin:12px 0}.action-button{padding:11px 6px;border-radius:9px;min-height:58px;gap:6px}.action-button span{font-size:12px}.action-button small{font-size:8px}.main-actions{gap:7px}.under-table{font-size:7px;margin-top:11px}.under-table .text-button{font-size:8px}.sidebar{display:none}.global-footer{padding-top:27px;font-size:6px;letter-spacing:.4px}.waiting-actions{gap:11px}.waiting-actions p{font-size:10px}.waiting-actions .button{font-size:12px;width:100%}.waiting-actions p{max-width:none}.raise-heading{font-size:9px}.raise-heading input{max-width:79px;font-size:11px}.presets button{font-size:8px;padding:9px 8px}.raise-bottom .button{font-size:10px;padding:10px 12px}.pending-requests{margin-left:-4px;margin-right:-4px;padding:10px}.request-row{font-size:10px}.request-row button{font-size:9px;padding:7px}.room-header h1{max-width:190px}.toast{font-size:11px}}
@media(max-width:365px){.lobby h1{font-size:43px}.app-shell{padding-left:13px;padding-right:13px}.room-header h1{font-size:22px;max-width:150px}.room-tools .button{font-size:9px;padding:8px;gap:3px}.arena{height:390px}.community-cards .playing-card,.card-placeholder{width:31px;height:46px}.community-cards{gap:3px}.seat{width:71px}.hero-features span{font-size:8px}.hero-features strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.waiting-pulse i{animation:none}}

#resume-room{display:flex;margin-top:18px} @media(max-width:600px){.arena{height:clamp(345px,calc(100svh - 495px),415px)}.felt{inset:37px 35px 48px}.street-label{top:65%}.result-label{top:68%}}

/* Rules audit additions: keyboard-readable controls and a narrow-screen ledger. */
select{font:inherit;color:var(--text,#e5ebe4);background:#19241f;border:1px solid var(--line);border-radius:9px;padding:12px;width:100%;margin-bottom:10px}select:focus-visible{outline:2px solid var(--accent)}.check-setting{display:flex!important;gap:10px;align-items:center;line-height:1.5}.check-setting input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--accent)}.review-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:14px}.review-actions:has([hidden]):not(:has(button:not([hidden]))){display:none}.settlement-pot,.settlement-player{padding:12px 0;border-bottom:1px solid var(--line)}.settlement-pot h3{display:flex;justify-content:space-between;gap:12px;font-size:15px;margin:0 0 8px}.settlement-pot p,.settlement-player p{font-size:12px!important;line-height:1.65!important;margin:7px 0!important;overflow-wrap:anywhere}.settlement-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:13px;padding:5px 0}.settlement-row span{overflow-wrap:anywhere;min-width:0}.settlement-row strong:last-child{white-space:nowrap}.settlement-player>.settlement-row>strong:first-child{white-space:normal;overflow-wrap:anywhere;min-width:0}.state-note{overflow-wrap:anywhere}#modal-content>h3{font-size:16px}.result-label{overflow-wrap:anywhere}@media(max-width:600px){.review-actions{gap:10px}.review-actions .button{font-size:11px}.review-actions .text-button{font-size:10px}.settlement-row{font-size:12px}}

/* Session lifecycle: auto-deal, explicit participation and owner pause. */
.auto-status{font-size:12px;line-height:1.5;margin:0 0 12px;color:var(--accent,#cedbb6);min-height:18px}
.session-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0}
.session-controls .button{min-height:40px}.session-controls .text-button{min-height:40px}
.participation-note{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0 0}
.seat.sitting-out .avatar{filter:saturate(.15);border-style:dashed}
.seat.sitting-out .seat-action{color:#d8c695}.seat.sitting-out .seat-hand{opacity:.6}
@media(max-width:600px){.session-controls{gap:8px}.session-controls .button{font-size:11px;padding:10px 13px}.session-controls .text-button{font-size:10px}.auto-status{font-size:11px}.participation-note{font-size:10px}.turn-line>div:first-child{flex-wrap:wrap}}
/* PWA controls: touch targets, safe areas and a compact editable level table. */
.pending-changes {padding:12px 16px;background:#293e33;color:#e0c590;border:1px solid #5d7257;border-radius:12px;margin:10px 0;font-size:14px;}
.levels-editor{width:100%;border-collapse:collapse;margin:12px 0}.levels-editor th{text-align:left;font-size:12px}.levels-editor td{padding:3px}.levels-editor input{width:100%;min-width:0;padding:9px 5px;min-height:44px}
#blinds-form,#rebuy-form{margin:20px 0;padding-top:12px;border-top:1px solid #37473b}#pending-changes[hidden],#cash-options[hidden],#buy-in-range[hidden]{display:none}
@media(max-width:600px){input,select,textarea{font-size:16px!important}button{touch-action:manipulation}.main-actions button{min-height:64px}.presets{display:flex;flex-wrap:wrap}.presets button{min-height:44px;padding:8px 10px}.action-panel{padding-bottom:max(16px,env(safe-area-inset-bottom))}.levels-editor{table-layout:fixed}.levels-editor th:first-child{width:24px}.room-header h1{font-size:21px}.connection{font-size:11px}}
.rebuy-banner{margin:10px 0;padding:14px 16px;border-radius:12px;border:1px solid #d5bc89;background:#332f20;color:#f6e3b7;font-weight:600}
.rebuy-notice{position:fixed;z-index:15;top:80px;right:18px;width:min(340px,calc(100vw - 36px));padding:18px;border:1px solid #a7966c;border-radius:16px;background:#1d2c27;box-shadow:0 12px 40px #0008;color:#f2eadb}
.rebuy-notice p{font-size:14px;overflow-wrap:anywhere}.rebuy-notice .button{width:100%;min-height:44px}.rebuy-request{padding:14px 0;border-bottom:1px solid #3a4a40}.rebuy-request p{overflow-wrap:anywhere}.rebuy-decisions{display:flex;gap:10px}.rebuy-decisions .button{flex:1;min-height:44px;padding:12px 8px}.rebuy-queue{margin:14px 0}.session-controls{flex-wrap:wrap}
.rebuy-banner[hidden],.rebuy-notice[hidden],#request-rebuy[hidden],#rebuy-pending-credit[hidden]{display:none}
.seat-stack,.pot-display strong,.roster-stack{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:600px){.rebuy-notice{top:66px;right:12px;width:min(330px,calc(100vw - 24px));padding:14px}.seat-stack{font-size:clamp(10px,3vw,14px)}.pot-display strong{max-width:180px;font-size:clamp(16px,5vw,28px)}.action-button span{overflow-wrap:anywhere}.main-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.rebuy-decisions{flex-wrap:wrap}}
