:root{--bg:#0d1211;--surface:#151d1a;--surface-2:#1b2520;--border:#2b3730;--text:#eceee8;--muted:#8e9e94;--accent:#e8bc70;--accent-dim:#3d3322;--positive:#8dd6ae;--negative:#ef9490;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{transition:background .16s,border-color .16s,transform .16s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}button{color:var(--text)}[hidden]{display:none!important}body[data-mode=B]{--accent:#bba4ee;--accent-dim:#322940}.muted{color:var(--muted)}.positive{color:var(--positive)!important}.negative{color:var(--negative)!important}
.topbar{height:84px;padding:0 max(28px,calc((100vw - 1440px)/2));display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--border);background:#101714}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:650;white-space:nowrap}.brand-mark{font-size:35px;color:#e8bc70;width:46px;text-align:center}.brand small{display:block;font-size:9px;letter-spacing:2.2px;color:var(--muted);font-weight:500;margin-top:4px}.rules{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:12px;color:#b4c0b7}.live-dot{width:6px;height:6px;background:var(--positive);border-radius:50%;box-shadow:0 0 10px #8dd6ae40}.rule-divider{color:#3d4b42}.text-button{background:none;border:0;font-size:12px;color:var(--muted);padding:9px 0 9px 20px;border-left:1px solid var(--border)}.text-button:hover{color:var(--text)}
main{max-width:1440px;margin:auto;padding:34px 28px 20px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:650;color:var(--accent);margin:0 0 12px}h1{font-size:clamp(25px,2.3vw,34px);font-weight:600;letter-spacing:-1px;margin:0 0 12px}h1 span{font-weight:400;color:#a8b7aa}.intro .muted{font-size:13px;margin:0;line-height:1.7}.save-badge{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#c5cec6;line-height:1.6;white-space:nowrap}.save-badge>span{color:var(--positive);font-size:8px;padding-top:5px}.save-badge small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.notice{padding:12px 17px;border:1px solid #6b5b3b;background:#30291d;border-radius:10px;margin-bottom:18px;font-size:13px;line-height:1.6}.notice.error{border-color:#79504a;background:#322220}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:22px;align-items:start}.play-column{min-width:0}
.ability-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.ability{display:flex;align-items:center;gap:13px;text-align:left;padding:15px 16px;background:var(--surface);border:1px solid var(--border);border-radius:12px;min-height:77px}.ability:hover:not(:disabled){background:#202920}.ability strong{display:block;font-weight:550;font-size:14px}.ability small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.ability-letter{display:grid;place-items:center;width:36px;height:38px;background:#343020;color:#e8bc70;border-radius:8px;font:600 24px Georgia,serif;flex-shrink:0}#mode-b .ability-letter{color:#bba4ee;background:#30283e}.ability-tick{margin-left:auto;color:var(--accent);font-size:16px;visibility:hidden}.ability.selected{border-color:var(--accent);background:var(--accent-dim)}.ability.selected .ability-tick{visibility:visible}.ability.selected:disabled{opacity:1}.ability:disabled:not(.selected){opacity:.55}
.table-panel{border:1px solid var(--border);border-radius:17px;overflow:hidden;background:linear-gradient(145deg,#1a231e,#111b16)}.table-meta{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #ffffff09;font-size:11px;color:var(--muted)}#street-label{font-size:10px;letter-spacing:1.7px;color:#bdc8bd}#ability-label{color:var(--accent)}.future-panel{margin:16px auto 0;max-width:344px;background:#30273c;border:1px solid #76608855;border-radius:11px;padding:12px 18px 9px}.future-title{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#c9b4ea;margin-bottom:9px}.future-title strong{font-weight:500;color:#e6dcf7}.future-cards{display:flex;gap:6px;justify-content:center}.future-cards .card:nth-child(4),.future-cards .card:nth-child(5){margin-left:8px}.future-streets{display:grid;grid-template-columns:3fr 1fr 1fr;text-align:center;margin:7px 0 0;font-size:8px;letter-spacing:1.5px;color:#b8a4cf}.future-streets span:first-child{padding-right:13px}
.arena{height:410px;position:relative;margin:0 15px}.felt{position:absolute;inset:65px 55px 70px;border-radius:48%;background:radial-gradient(ellipse at center,#21523f,#163d2c 75%);border:9px solid #342d22;box-shadow:0 0 0 1px #5d514035,inset 0 0 0 2px #d1b57d1a,0 15px 25px #0004}.felt-ring{position:absolute;inset:11px;border:1px solid #759f7d25;border-radius:50%}.felt-watermark{position:absolute;bottom:26px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:4px;color:#a4c9aa32}.board-zone{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.pot-label{font-size:10px;letter-spacing:2px;color:#a9c7ac}#pot{font-size:25px;font-weight:550;line-height:1}#pot small{font-size:12px;color:#a9c7ac;font-weight:400}.cards{display:flex;gap:5px}.board-cards{margin-top:3px;min-height:56px}#table-message{font-size:10px;color:#b1c9b3;text-align:center;max-width:230px;margin:1px 0 0;line-height:1.5}
.card{height:54px;width:39px;border-radius:5px;background:#f4f1e9;box-shadow:0 2px 3px #0003;position:relative;padding:4px 5px;color:#26332d;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;flex-shrink:0;user-select:none;font-family:Georgia,"Times New Roman",serif;border:1px solid #ffffff55}.card .rank{font-weight:bold;font-size:19px;line-height:1}.card .suit{font-size:19px;align-self:flex-end;line-height:1}.card.red{color:#b34b47}.card.back{background:repeating-linear-gradient(45deg,#293c37,#293c37 3px,#324840 3px,#324840 5px);border:2px solid #53655a;align-items:center;justify-content:center;color:#b2c1aa70;font-size:25px}.card.empty{background:#112f224d;box-shadow:none;border:1px dashed #a2c5a330}.future-cards .card{width:40px;height:49px}.card.future-dealt{box-shadow:0 0 0 2px #aee3b0}.seat{position:absolute;width:122px;transform:translateX(-50%);text-align:center;z-index:2}.seat-0{left:50%;bottom:5px}.seat-1{left:11%;top:195px}.seat-2{left:25%;top:29px}.seat-3{left:75%;top:29px}.seat-4{left:89%;top:195px}.seat-5{left:73%;bottom:5px}.seat-0{bottom:1px}.seat-5{left:28%;bottom:6px}.seat-cards{display:flex;gap:4px;justify-content:center;position:relative;z-index:1;margin-bottom:-3px}.seat-box{position:relative;background:#142019;border:1px solid #59675a70;border-radius:9px;padding:7px 6px 6px;box-shadow:0 4px 10px #0004}.seat-name{font-size:10px;color:#d0d8cf}.seat-name b{font-weight:500}.seat-chips{font-size:13px;font-weight:600;margin-top:3px}.seat-chips small{font-size:9px;font-weight:400;color:var(--muted)}.seat.hero .seat-box{border-color:var(--accent);background:#23291f}.seat.hero .seat-name{color:var(--accent)}.seat.hero .card{width:43px;height:58px}.seat.active .seat-box{box-shadow:0 0 0 3px #e8bc7026,0 4px 10px #0004}.seat.active .seat-name:before{content:"● ";color:var(--accent);font-size:8px}.seat.folded{opacity:.43}.position-tag{position:absolute;left:-9px;top:11px;border:1px solid #66735e;background:#26332a;color:#d0d9c8;border-radius:50%;min-width:21px;height:21px;display:grid;place-items:center;font-size:8px;font-weight:700}.position-tag.dealer{color:#1b281c;background:#e4d29c;border-color:#e4d29c}.bet-pill{position:absolute;right:-7px;top:11px;transform:translateX(85%);font-size:9px;color:#efe0ad;background:#342f1e;border:1px solid #877343;border-radius:15px;padding:3px 6px;white-space:nowrap}.seat-4 .bet-pill{right:auto;left:-7px;transform:translateX(-85%)}.seat-status{position:absolute;top:100%;width:100%;font-size:9px;margin-top:4px;color:#acb9a9}.hero-caption{display:flex;justify-content:space-between;gap:10px;padding:4px 23px 14px;font-size:11px}#hero-hand{color:var(--accent)}#ability-note{color:var(--muted);font-size:10px;text-align:right}
.action-dock{padding:18px 22px 17px;border-top:1px solid var(--border);background:#101813}.ready-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:71px}.ready-actions strong{font-size:15px;font-weight:550}.ready-actions p{font-size:11px;color:var(--muted);margin:8px 0 0}.primary{border:1px solid var(--accent);background:var(--accent);color:#221d13;border-radius:8px;font-size:13px;font-weight:650;padding:12px 18px}.primary:hover:not(:disabled){filter:brightness(1.08)}#next-hand{min-width:160px}#next-hand span{margin-left:14px}.action-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:12px}.action-top strong{font-weight:550;color:var(--accent)}#call-info{color:var(--muted);font-size:11px}.raise-control{display:grid;grid-template-columns:150px 105px 1fr;gap:15px;align-items:center}.raise-control label{font-size:12px}.raise-control label span{display:block;font-size:9px;margin-top:3px}.amount-input{display:flex;align-items:center;border:1px solid #53604e;border-radius:6px;padding:5px 9px;background:#1b251c}.amount-input span{font-size:10px;color:var(--muted)}.amount-input input{background:transparent;border:0;width:100%;font-size:15px;color:var(--text);outline:none;-moz-appearance:textfield}.amount-input input::-webkit-inner-spin-button{-webkit-appearance:none}input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.sizing-buttons{display:flex;justify-content:flex-end;gap:7px;margin:10px 0 14px}.sizing-buttons button{background:#202b22;border:1px solid #3b493b;color:#acbaa9;border-radius:5px;padding:5px 15px;font-size:10px}.sizing-buttons button:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.action-buttons{display:grid;grid-template-columns:1fr 1.25fr 1.25fr .85fr;gap:10px}.action-buttons button{border-radius:7px;padding:12px 6px;font-size:12px}.fold{background:#222720;border:1px solid #4c5647;color:#b9c0b2}.call{background:#234631;border:1px solid #437554;color:#d5ecd7}.allin{background:#362825;border:1px solid #805a4b;color:#e9b7a8}kbd{font-family:inherit;font-size:9px;border:1px solid #ffffff22;border-radius:3px;padding:1px 4px;margin-left:8px;opacity:.6}.action-footnote{margin:12px 0 0;font-size:9px;color:#758472;text-align:center}
.action-log{margin-top:16px;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:14px 18px}.action-log summary{font-size:12px;color:#c2ccbf;cursor:pointer}.action-log summary span{color:var(--muted);font-size:10px;margin-left:8px}.log-list{max-height:162px;overflow:auto;margin-top:12px;padding-right:5px;scrollbar-color:#3b4b3e transparent;scrollbar-width:thin}.log-entry{font-size:11px;line-height:1.7;padding:5px 0;display:flex;gap:10px;color:#9aa996}.log-entry .log-actor{width:50px;flex-shrink:0;color:#d0dacb}.log-entry.human .log-actor{color:var(--accent)}.log-entry .log-street{font-size:9px;color:#677d68;width:32px;padding-top:2px;flex-shrink:0}.log-entry .log-text{flex:1}.empty-copy{font-size:11px;color:var(--muted)}
.stats-panel{border:1px solid var(--border);border-radius:15px;padding:22px;background:var(--surface)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h2{font-size:18px;font-weight:550;margin:0}.section-heading .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:8px}select{background:#1d2820;color:#b1c2b3;font-size:10px;max-width:117px;border:1px solid #394b3b;border-radius:6px;padding:7px 5px;outline:none}.stats-mode-label{display:flex;align-items:center;gap:8px;margin:26px 0 18px;font-size:11px}.stats-mode-label strong{font-weight:500}.stats-mode-label>span:last-child{margin-left:auto;font-size:10px;color:var(--muted)}.mini-badge{display:inline-grid;place-items:center;width:23px;height:23px;font:600 15px Georgia,serif;background:var(--accent-dim);color:var(--accent);border-radius:5px}.main-stat>span{font-size:11px;color:var(--muted)}.main-stat>strong{display:block;font-size:37px;letter-spacing:-1.3px;font-weight:500;font-variant-numeric:tabular-nums;margin-top:8px}.main-stat small{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:400}.metric-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:20px;padding-bottom:20px;border-bottom:1px solid var(--border);gap:20px}.metric-grid>div+div{border-left:1px solid var(--border);padding-left:20px}.metric-grid span{display:block;font-size:10px;color:var(--muted)}.metric-grid strong{display:block;font-size:21px;font-weight:500;margin-top:9px;font-variant-numeric:tabular-nums}.metric-grid small{display:block;font-size:9px;color:#758879;margin-top:5px}.chart-heading{display:flex;justify-content:space-between;margin-top:21px;font-size:10px;color:#b6c5b7}.chart-heading span:last-child{font-size:9px;color:var(--muted)}.chart-wrap{position:relative;margin:12px 0 16px;height:145px}#chart{display:block;width:100%;height:145px}#chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:9px;color:#78907b;text-align:center}.small-metrics{padding-bottom:16px;border-bottom:1px solid var(--border)}.small-metrics>div{display:flex;justify-content:space-between;font-size:10px;margin:11px 0;color:var(--muted)}.small-metrics strong{font-size:11px;font-weight:500;color:#c5d1c1}.mode-comparison h3{font-size:11px;font-weight:550;color:#c0cbbb;margin:19px 0 13px}.mode-comparison>div{display:flex;align-items:center;gap:8px;font-size:10px;margin:9px 0}.mode-comparison>div>span:first-child{display:grid;place-items:center;width:20px;height:20px;background:#393322;color:#e8bc70;border-radius:5px;font-family:Georgia,serif}.mode-comparison>div+div>span:first-child{background:#30283e;color:#bba4ee}.mode-comparison strong{font-weight:500;margin-left:auto}.mode-comparison .compare-hands{font-size:9px;color:var(--muted)}.mode-comparison p{font-size:9px;color:#738473;line-height:1.7;margin:13px 0 0}.data-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.data-actions button{padding:9px 5px;background:#1e2a20;border:1px solid #344638;border-radius:7px;font-size:10px;color:#bdcabb}.data-actions button:hover{border-color:#73856a}.new-session{margin-top:14px;width:100%;display:flex;justify-content:space-between;background:transparent;border:0;padding:3px 0;color:#a0b29e;font-size:10px}.new-session span{font-size:9px;color:#677b66}
.history-panel{margin-top:26px;background:var(--surface);border:1px solid var(--border);border-radius:15px;overflow:hidden}.history-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between}.history-heading .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:7px}.history-heading h2{font-size:18px;font-weight:550;margin:0}.history-heading h2 span{font:500 16px Georgia,serif;color:var(--accent);margin-left:7px}.history-heading p{font-size:11px;color:var(--muted)}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;font-weight:500;color:#8d9f8d;padding:10px 24px;background:#1b261e;border-top:1px solid #ffffff05;border-bottom:1px solid var(--border)}td{padding:12px 24px;border-bottom:1px solid #ffffff06;font-size:11px;color:#b2c0ae}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#ffffff03}.history-cards{display:flex;gap:3px}.history-cards .card{width:25px;height:34px;padding:3px;border-radius:3px;box-shadow:none}.history-cards .card .rank{font-size:13px}.history-cards .card .suit{font-size:13px}.review-button{background:none;border:0;color:var(--accent);font-size:10px;padding:5px;white-space:nowrap}.empty-history{text-align:center;padding:16px 20px 42px}.empty-history>span{font-size:36px;color:#536b4e;display:block;margin-bottom:7px}.empty-history strong{font-weight:450;font-size:13px;color:#b0c0a9}.empty-history p{font-size:11px;color:var(--muted);margin:9px 0 0}footer{display:flex;justify-content:space-between;gap:14px;padding-top:24px;color:#657963;font-size:9px;line-height:1.6}footer a{color:#92a58b}
dialog{border:1px solid #516149;border-radius:15px;background:#172119;color:var(--text);max-width:710px;width:calc(100% - 32px);padding:23px;max-height:86vh}dialog::backdrop{background:#030a07c4;backdrop-filter:blur(5px)}.review-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:17px}.review-head h2{font-size:18px;margin:0;font-weight:500}.review-head button{border:0;background:transparent;font-size:20px;color:var(--muted)}.review-board{display:flex;align-items:center;gap:12px;margin:13px 0;font-size:11px;color:var(--muted)}.review-board .cards{flex-wrap:wrap}.review-players{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.review-player{background:#202d21;border:1px solid #374b35;border-radius:8px;padding:10px}.review-player p{display:flex;justify-content:space-between;font-size:10px;margin:0 0 10px}.review-player .cards{justify-content:center}.review-log{border-top:1px solid var(--border);padding-top:12px}.review-meta{font-size:11px;color:var(--muted);line-height:1.7}.offline .action-dock{opacity:.5;pointer-events:none}
@media(min-width:1400px){.arena{height:440px}.felt{inset:70px 70px 75px}.seat-1,.seat-4{top:215px}.seat-2,.seat-3{top:35px}.seat-5{bottom:9px}.board-cards .card{height:61px;width:44px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 286px;gap:16px}.stats-panel{padding:18px}.ability small{font-size:10px}.ability{padding:13px 11px;gap:9px}.ability-letter{width:30px;height:34px}.arena{margin:0 5px}.felt{inset:64px 42px 70px}.seat{width:100px}.seat-1{left:10%}.seat-4{left:90%}.seat .card{width:34px;height:47px}.seat.hero .card{width:40px;height:54px}.seat-5{left:22%;bottom:10px}.hero-caption{padding-left:17px;padding-right:17px}.raise-control{grid-template-columns:105px 93px 1fr;gap:10px}.action-dock{padding:17px}.board-cards .card{width:33px;height:49px}.bet-pill{right:0;transform:translateX(50%)}.seat-4 .bet-pill{left:0;transform:translateX(-50%)}th,td{padding-left:16px;padding-right:16px}}
@media(max-width:900px){main{padding:25px 20px}.topbar{padding:0 20px;height:72px}.rules{font-size:10px;gap:9px}.workspace{grid-template-columns:1fr}.stats-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;padding:24px}.section-heading{grid-column:1/-1}.stats-mode-label{grid-column:1/-1;margin:20px 0 12px}.main-stat{grid-column:1}.metric-grid{grid-column:2;grid-row:3;margin-top:0;border:0}.chart-heading{grid-column:1;margin-top:10px}.chart-wrap{grid-column:1}.small-metrics{grid-column:2;grid-row:4/6;padding-top:7px;border-bottom:0}.mode-comparison{grid-column:1;grid-row:6/8;border-top:1px solid var(--border)}.data-actions{grid-column:2;grid-row:6;align-items:center}.new-session{grid-column:2;grid-row:7;align-items:start}.arena{height:435px;margin:0 15px}.felt{inset:70px 75px 75px}.seat{width:120px}.seat-1,.seat-4{top:207px}.seat-2,.seat-3{top:38px}.seat .card{width:39px;height:54px}.seat-5{left:25%;bottom:9px}.save-badge{display:none}.hero-caption{padding-left:22px;padding-right:22px}.action-dock{padding:20px 22px}.raise-control{grid-template-columns:140px 105px 1fr}.board-cards .card{height:60px;width:44px}.ability{padding:15px 18px;gap:13px}.ability small{font-size:11px}.ability-letter{width:36px;height:38px}}
@media(max-width:560px){.topbar{height:64px;padding:0 14px;gap:12px}.brand{font-size:15px;gap:6px}.brand-mark{font-size:29px;width:30px}.brand small{font-size:7px;letter-spacing:1.6px}.rules{display:none}.text-button{margin-left:auto;border:0;font-size:10px;padding-left:0}main{padding:22px 12px}.intro{margin-bottom:23px}h1{font-size:24px;letter-spacing:-.8px}h1 span{display:block;margin-top:7px}.intro .muted{font-size:11px;max-width:310px}.eyebrow{font-size:8px}.ability-picker{gap:8px;margin-bottom:12px}.ability{padding:12px 9px;gap:8px;min-height:76px}.ability-letter{width:29px;height:33px;font-size:22px}.ability strong{font-size:12px}.ability small{font-size:9px;line-height:1.5;max-width:110px;margin-top:4px}.ability-tick{display:none}.table-meta{padding:0 12px;height:42px;font-size:9px}#street-label{font-size:8px;letter-spacing:1px}.arena{height:358px;margin:0 5px}.felt{inset:59px 24px 64px;border-width:6px}.seat{width:84px}.seat-0{bottom:3px}.seat-1{left:12%;top:173px}.seat-2{left:26%;top:13px}.seat-3{left:75%;top:13px}.seat-4{left:88%;top:173px}.seat-5{left:19%;bottom:6px}.seat .card{width:27px;height:38px;padding:3px}.seat .card .rank{font-size:14px}.seat .card .suit{font-size:14px}.seat.hero .card{width:34px;height:47px}.seat.hero .card .rank,.seat.hero .card .suit{font-size:17px}.seat-box{padding:6px 3px 5px;border-radius:7px}.seat-name{font-size:9px}.seat-chips{font-size:11px}.seat-status{font-size:8px}.position-tag{width:18px;min-width:18px;height:18px;top:10px;left:-6px;font-size:7px}.bet-pill{font-size:8px;top:-3px;right:-1px;transform:translateX(55%);padding:2px 4px}.seat-4 .bet-pill{left:-1px;top:-3px;transform:translateX(-55%)}.board-zone{gap:6px;transform:translateY(-5px)}.board-cards{gap:3px;min-height:43px}.board-cards .card{width:28px;height:41px;padding:3px}.board-cards .card .rank,.board-cards .card .suit{font-size:15px}.pot-label{font-size:8px}#pot{font-size:20px}#pot small{font-size:10px}#table-message{font-size:8px;max-width:150px}.felt-watermark{font-size:6px;letter-spacing:2px;bottom:18px}.hero-caption{padding:6px 12px 13px;flex-direction:column;gap:7px;text-align:center;font-size:10px}#ability-note{text-align:center;font-size:9px}.action-dock{padding:15px 12px}.ready-actions{gap:12px}.ready-actions strong{font-size:12px}.ready-actions p{font-size:9px;max-width:170px;line-height:1.5}#next-hand{min-width:120px;padding:11px;font-size:11px}.raise-control{grid-template-columns:91px 80px 1fr;gap:9px}.raise-control label{font-size:10px}.raise-control label span{font-size:8px}.amount-input{padding:5px 6px}.amount-input input{font-size:13px}.sizing-buttons button{padding:5px 12px;font-size:9px}.action-buttons{gap:6px;grid-template-columns:.8fr 1.3fr 1.1fr .8fr}.action-buttons button{font-size:10px;padding:12px 3px}kbd{display:none}.action-top{font-size:11px}#call-info{font-size:10px}.action-footnote{font-size:8px}.future-panel{max-width:290px;padding:10px 13px 7px;margin-top:12px}.future-cards .card{width:36px;height:46px}.stats-panel{display:block;padding:20px}.metric-grid{margin-top:19px;border-bottom:1px solid var(--border)}.chart-heading{margin-top:19px}.small-metrics{border-bottom:1px solid var(--border)}.data-actions{display:grid}.mode-comparison{border:0}.new-session{display:flex}.history-heading{padding:19px 16px}.history-heading h2{font-size:16px}.history-heading p{font-size:9px}.history-table-wrap{overflow-x:auto}th,td{padding:10px 12px;white-space:nowrap}.history-cards .card{width:22px;height:31px}th:nth-child(2),td:nth-child(2){display:none}.history-heading .eyebrow{font-size:7px}.empty-history{padding-bottom:30px}footer{display:block;text-align:center;font-size:8px}footer span,footer a{display:block;margin:7px 0}.review-players{grid-template-columns:repeat(2,1fr)}.review-board{align-items:flex-start;font-size:10px}.review-board .card{width:31px;height:44px}dialog{padding:16px}.review-meta{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Six seats run clockwise from the human at the bottom. */
.seat-1{left:11%;top:205px;bottom:auto}.seat-2{left:24%;top:42px;bottom:auto}.seat-3{left:50%;top:4px;bottom:auto}.seat-4{left:76%;top:42px;bottom:auto}.seat-5{left:89%;top:205px;bottom:auto}
.seat-4 .bet-pill{left:auto;right:-7px;transform:translateX(85%)}.seat-5 .bet-pill{right:auto;left:-7px;transform:translateX(-85%)}
@media(min-width:1400px){.seat-1,.seat-5{top:230px}.seat-3{top:9px}}
@media(max-width:1100px){.seat-1{left:10%}.seat-5{left:90%}.seat-2,.seat-4{top:37px}.seat-3{top:0}.seat-4 .bet-pill{right:0;transform:translateX(50%)}.seat-5 .bet-pill{left:0;transform:translateX(-50%)}}
@media(max-width:900px){.seat-1{left:11%;top:220px}.seat-5{left:89%;top:220px}.seat-2,.seat-4{top:45px}.seat-3{top:7px}}
@media(max-width:560px){.seat-1{left:12%;top:193px}.seat-5{left:88%;top:193px}.seat-2,.seat-4{top:44px}.seat-3{top:0}.seat-4 .bet-pill{left:auto;right:-1px;top:-3px;transform:translateX(55%)}.seat-5 .bet-pill{right:auto;left:-1px;top:-3px;transform:translateX(-55%)}}

body[data-seated=true] .intro{display:none}
@media(min-width:901px){body[data-seated=true] .arena{height:360px}body[data-seated=true] .seat-1,body[data-seated=true] .seat-5{top:180px}body[data-seated=true] .seat-2,body[data-seated=true] .seat-4{top:25px}body[data-seated=true] .seat-3{top:0}}
.history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:13px;font-size:10px;color:var(--muted)}.history-pagination button{border:1px solid var(--border);background:var(--surface);padding:8px 12px;border-radius:7px;color:#b9c9b4;font-size:10px}

/* Public challenge: nickname entry, isolated identity and ranked results. */
.top-nav{display:flex;gap:6px;align-items:center}.top-nav .selected{color:var(--gold,#e8bc70);background:#243227;border-radius:8px}.top-nav button{white-space:nowrap}
.entry-panel{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;padding:24px 28px;border:1px solid #4b5237;border-radius:16px;background:linear-gradient(115deg,#242c20,#19251e);margin:0 0 24px}.entry-panel h2{font-size:25px;margin:7px 0 12px}.entry-panel p{font-size:13px}.entry-panel label,dialog label{display:block;font-size:13px;margin-bottom:10px}.join-controls{display:flex;gap:10px}.join-controls input,#rename-input{width:100%;min-width:0;background:#111b15;border:1px solid #4a5d47;border-radius:8px;padding:12px;color:#f1eedf;font:inherit}.join-controls button{white-space:nowrap}.entry-panel small{display:block;font-size:11px;line-height:1.6;color:#9aaa98;margin-top:12px}
.player-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px;padding:12px 18px;border:1px solid #354532;border-radius:12px;background:#18221a}.player-bar small{font-size:11px;color:#90a18c;margin-left:10px}.player-actions{display:flex;gap:8px}.player-actions button{padding:8px 12px;font-size:12px;background:#243227;border:1px solid #3b4f36;border-radius:6px;color:#d8dfcb}
.rank-progress{margin-top:16px;padding:14px;border:1px solid #46573a;border-radius:8px}.rank-progress strong{font-size:12px;color:#e8bc70}.rank-progress p{font-size:12px;line-height:1.7}.rank-progress small{font-size:10px;color:#92a38c}
.leaderboard-panel{background:#18221a;border:1px solid #354532;border-radius:18px;padding:28px;margin-bottom:24px}.leaderboard-heading{display:flex;gap:20px;justify-content:space-between;align-items:center}.leaderboard-heading h1{font-size:32px;margin:6px 0 14px}.leaderboard-heading p{font-size:12px;max-width:580px;line-height:1.7}.board-tabs{display:flex;gap:8px;flex-shrink:0}.board-tabs button,.board-meta button{border:1px solid #3d5139;background:#202e23;border-radius:8px;padding:12px;color:#c0cbb5}.board-tabs .selected{border-color:#d8b06b;color:#e8bc70;background:#393828}.board-meta{display:flex;justify-content:space-between;align-items:center;margin:26px 0 16px;font-size:12px;color:#9eaf94}.board-meta button{padding:8px 12px}.ranking-table{width:100%;border-collapse:collapse;min-width:580px}.ranking-table th{text-align:left;padding:12px;color:#97a78d;font-size:11px;border-bottom:1px solid #3a4d34}.ranking-table td{padding:18px 12px;font-size:13px;border-bottom:1px solid #2e3c2b}.rank-number{font-size:22px!important;color:#e8bc70}.public-player{border:0;background:none;color:#eee9d8;padding:0;font-size:14px;cursor:pointer;max-width:260px;overflow-wrap:anywhere;text-align:left}.public-player:hover{text-decoration:underline}.player-id{display:block;margin-top:5px;color:#758c72;font-size:10px}.your-row{background:#263823}.board-note{font-size:11px;color:#8f9f86;line-height:1.7}
body[data-page=board] .workspace,body[data-page=board] .history-panel,body[data-page=board] main>.history-pagination,body[data-page=board] .intro{display:none}
#nickname-dialog{max-width:460px}#nickname-dialog form,#public-profile{padding-bottom:24px}#rename-form>button{margin-top:12px}.rules-copy p{font-size:14px;line-height:1.9;color:#c3cdb9}.rules-copy strong{color:#ece6d2}#public-profile{max-width:650px}.public-stat{padding:18px;background:#19271e;border:1px solid #384b33;border-radius:12px;margin-bottom:14px}.public-stat>div{display:flex;align-items:center;gap:12px;font-size:13px;flex-wrap:wrap}.public-stat p{font-size:30px;font-weight:600;margin:18px 0 8px}.public-stat small{font-size:14px}.public-stat>span{font-size:12px;color:#a1b294}#share-url{font-size:11px}#copy-link{border:1px solid #4b5f3d;background:#2c3f26;border-radius:8px;padding:10px;color:#e0e6d3}
@media(max-width:950px){.topbar .rules{display:none}.leaderboard-heading{display:block}.board-tabs{margin-top:18px}.entry-panel{gap:20px;padding:22px}.leaderboard-panel{padding:20px}}
@media(max-width:600px){.entry-panel{grid-template-columns:1fr;padding:18px}.entry-panel h2{font-size:23px}.entry-panel .eyebrow{margin-top:0}.player-bar{padding:10px;gap:8px}.player-bar>span:first-child{max-width:45%;overflow-wrap:anywhere}.player-bar small{display:block;margin:5px 0 0}.player-actions{gap:4px}.player-actions button{padding:8px;font-size:11px}.top-nav{gap:0}.top-nav button{font-size:12px;padding:8px}.brand small{font-size:7px}.leaderboard-panel{padding:16px}.leaderboard-heading h1{font-size:27px}.board-tabs button{padding:10px;font-size:12px}.board-meta{gap:8px}.ranking-table{min-width:520px}.public-stat>div{gap:8px}.public-stat .muted{font-size:11px}.join-controls button{padding:10px}.topbar{gap:8px}}

.execution-panel{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.execution-panel label{font-size:12px;margin-right:12px}.execution-panel select,.board-meta select{background:#202b22;color:var(--text);border:1px solid var(--border);border-radius:7px;padding:9px}.execution-panel p{color:var(--muted);font-size:11px;margin:9px 0 0;line-height:1.6}.sync-box{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);max-width:48%;line-height:1.7}.sync-box button{background:none;border:1px solid var(--border);border-radius:6px;color:var(--accent);padding:8px;white-space:nowrap}.board-meta{flex-wrap:wrap;gap:12px}.player-id{max-width:260px;white-space:normal;line-height:1.5}@media(max-width:560px){.execution-panel{display:block;padding:13px}.sync-box{max-width:none;margin-top:10px;justify-content:space-between}.board-meta label{font-size:11px}.ranking-table .player-id{max-width:150px;min-width:110px}.execution-panel select{max-width:65%}}
@media(max-width:560px){.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){display:table-cell}.ranking-table th:nth-child(4),.ranking-table td:nth-child(4){display:none}.ranking-table th,.ranking-table td{padding:10px 6px}.ranking-table .player-id{min-width:80px;max-width:115px;font-size:8px}.ranking-table .public-player{max-width:115px;white-space:normal;overflow-wrap:anywhere;font-size:11px}}
@media(max-width:560px){.ranking-table{min-width:0;table-layout:fixed}.ranking-table th{font-size:9px;white-space:normal}.ranking-table td{font-size:11px}.ranking-table th:nth-child(1){width:11%}.ranking-table th:nth-child(2){width:42%}.ranking-table th:nth-child(3){width:18%}.ranking-table th:nth-child(5){width:29%}.ranking-table .rank-number{font-size:18px!important}.ranking-table .player-id{min-width:0}}

/* Nine seats share the same arrangement at every viewport; no hidden opponents. */
body .table-panel .arena{height:540px;margin:0 10px}
body .table-panel .felt{inset:55px 38px 65px;border-radius:44%}
body .table-panel .seat{left:var(--x);top:var(--y);bottom:auto;right:auto;transform:translate(-50%,-50%);width:100px}
.seat-0{--x:50%;--y:88%}.seat-1{--x:24%;--y:81%}.seat-2{--x:11%;--y:58%}.seat-3{--x:12%;--y:30%}.seat-4{--x:33%;--y:10%}.seat-5{--x:67%;--y:10%}.seat-6{--x:88%;--y:30%}.seat-7{--x:89%;--y:58%}.seat-8{--x:76%;--y:81%}
body .table-panel .seat .card{width:32px;height:44px;padding:3px}
body .table-panel .seat .card .rank,body .table-panel .seat .card .suit{font-size:17px}
body .table-panel .seat-box{min-width:0;padding:7px 6px}
body .table-panel .seat-status{min-height:16px;font-size:10px;white-space:nowrap}
body .table-panel .board-zone{gap:8px}
body .table-panel .board-cards .card{width:35px;height:49px}
body .table-panel .seat.winner{opacity:1}
.seat.winner .seat-box{border-color:#e8bc70;box-shadow:0 0 0 1px #e8bc7040,0 0 20px #e8bc7040}
.seat.winner .seat-status{color:#e8bc70!important;font-weight:650}
.ending-actor .seat-box{border-color:var(--accent);box-shadow:0 0 15px #e8bc7055}
.cards-thrown{visibility:hidden}.flying-cards,.flying-chips{position:absolute;z-index:12;pointer-events:none;display:flex;gap:3px;white-space:nowrap;align-items:center;transform:translate(-50%,-50%)}
.flying-chips{color:#f4dca4;font-size:12px;text-shadow:0 2px 4px #000}.flying-chips span{font-size:35px;color:#e8bc70;line-height:1;border:3px dashed #f7dfb1;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;background:#86642c}
.winner-petal{position:absolute;left:50%;top:48%;width:6px;height:10px;background:var(--petal-color);border-radius:2px;pointer-events:none;z-index:10;animation:petal-burst .8s ease-out both}
@keyframes petal-burst{0%{transform:translate(0,0) rotate(0);opacity:1}65%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--spin));opacity:0}}
.seed-label{margin-top:15px}#starting-seed{width:100%;background:#111b15;border:1px solid #4a5d47;border-radius:8px;padding:11px;color:var(--text);font:inherit;font-size:12px}
#run-seed-label{display:block;margin:5px 0 0;overflow-wrap:anywhere;font-size:10px}.player-bar>span:first-child{min-width:0}.player-actions{flex-wrap:wrap;justify-content:flex-end}
.distribution-panel{margin-top:18px;border-top:1px solid var(--border);padding-top:10px}.distribution-row{display:grid;grid-template-columns:42px 1fr 86px;gap:8px;align-items:center;width:100%;border:0;border-bottom:1px solid #26372b;background:none;padding:10px 0;text-align:left;font-size:11px}
.distribution-row:hover:not(:disabled){background:#26372b}.distribution-row:disabled{opacity:.45;cursor:default}.distribution-row strong{text-align:right;font-size:10px}.distribution-bar{position:relative;display:block;height:20px;line-height:20px;color:#b7c6b7}
.distribution-bar i{position:absolute;left:0;top:0;height:100%;background:#8dd6ae26;border-radius:3px}.distribution-bar span{position:relative;padding-left:6px}.distribution-note{color:var(--muted);font-size:10px;line-height:1.6}
#distribution-dialog{max-width:780px}#distribution-summary{font-size:12px;line-height:1.8}.distribution-hand{display:grid;width:100%;grid-template-columns:45px 76px 1fr 100px;gap:10px;align-items:center;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;padding:14px 0;font-size:12px}.distribution-hand:hover{background:#26372b}.distribution-hand strong{text-align:right;font-size:11px}.distribution-hand .card{width:25px;height:34px;padding:2px}.distribution-hand .card .rank,.distribution-hand .card .suit{font-size:13px}
#distribution-more{display:block;margin:18px auto;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:6px}
@media(max-width:600px){
 body .table-panel .arena{height:505px;margin:0 4px}
 body .table-panel .felt{inset:46px 12px 64px;border-width:5px}
 body .table-panel .seat{width:70px}
 body .table-panel .seat-1{--x:22%}body .table-panel .seat-8{--x:78%}
 body .table-panel .seat-2{--x:12%}body .table-panel .seat-7{--x:88%}
 body .table-panel .seat-3{--x:13%}body .table-panel .seat-6{--x:87%}
 body .table-panel .seat .card{width:25px;height:35px;padding:2px}
 body .table-panel .seat .card .rank,body .table-panel .seat .card .suit{font-size:13px}
 body .table-panel .seat-name b{font-size:9px}body .table-panel .seat-chips{font-size:12px}
 body .table-panel .seat-status{font-size:8px;min-height:12px}
 body .table-panel .seat-box{padding:5px 3px;border-radius:7px}
 body .table-panel .board-cards{gap:3px;min-height:37px}
 body .table-panel .board-cards .card{width:26px;height:37px;padding:3px}
 body .table-panel .board-cards .card .rank,body .table-panel .board-cards .card .suit{font-size:14px}
 body .table-panel .board-zone{gap:6px;padding-bottom:18px}
 body .table-panel #pot{font-size:21px}body .table-panel #table-message{font-size:9px;max-width:155px}
 .player-bar{align-items:flex-start}.player-actions{max-width:52%}.player-actions button{padding:7px}
 .distribution-hand{grid-template-columns:35px 58px 1fr;gap:6px}.distribution-board{grid-column:2/4;grid-row:2}.distribution-hand strong{grid-column:3;grid-row:1}
}
@media(prefers-reduced-motion:reduce){.winner-petal{display:none}*{scroll-behavior:auto!important}}


/* Phone play area: both boards and the action controls fit together.
   Unknown B opponent cards add no information; keep their seats/stacks/actions. */
@media(max-width:600px){
 .table-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "table" "caption" "actions";scroll-margin-top:6px}
 .table-meta{grid-area:meta;height:30px;padding:0 10px}
 body .table-panel .arena{grid-area:table;height:400px;margin:0 4px}
 body .table-panel .felt{inset:32px 12px 42px}
 body .table-panel .seat-4,body .table-panel .seat-5{--y:12%}
 body .table-panel .seat-3,body .table-panel .seat-6{--y:34%}
 body .table-panel .board-zone{gap:4px;padding:0;transform:none}
 body .table-panel:has(#future-panel:not([hidden])) .board-zone{transform:translateY(-44px)}
 .table-panel .future-panel{grid-area:table;align-self:center;justify-self:center;width:164px;max-width:none;margin:0;transform:translateY(42px);padding:6px;z-index:2;border-radius:8px}
 .table-panel .future-title{font-size:9px;line-height:12px;margin:0 0 4px;gap:4px}
 .table-panel .future-title strong{white-space:nowrap}
 .table-panel .future-cards{gap:3px}
 .table-panel .future-cards .card{width:26px;height:37px;padding:3px}
 .table-panel .future-cards .card .rank,.table-panel .future-cards .card .suit{font-size:14px}
 .table-panel .future-cards .card:nth-child(4),.table-panel .future-cards .card:nth-child(5){margin-left:2px}
 .table-panel .future-streets{font-size:6px;letter-spacing:.5px;line-height:8px;margin-top:3px}
 .table-panel .future-streets span:first-child{padding-right:0}
 body[data-compact-b=true] .table-panel .arena{height:330px}
 body[data-compact-b=true] .table-panel .seat:not(.hero) .seat-cards{display:none}
 body[data-compact-b=true] .table-panel .seat-0{--y:86%}
 body[data-compact-b=true] .table-panel .seat-4,body[data-compact-b=true] .table-panel .seat-5{--y:10%}
 body[data-compact-b=true] .table-panel .seat-3,body[data-compact-b=true] .table-panel .seat-6{--y:30%}
 body[data-compact-b=true] .table-panel:has(#future-panel:not([hidden])) .board-zone{transform:translateY(-50px)}
 body[data-compact-b=true] .table-panel .future-panel{transform:translateY(27px)}
 body[data-live=true] #table-message{display:none}
 .hero-caption{grid-area:caption;min-height:0;padding:0 8px 4px;gap:0;font-size:10px;line-height:14px}
 #ability-note{display:none}
 #hero-hand:empty{display:none}
 .action-dock{grid-area:actions;padding:8px 8px max(8px,env(safe-area-inset-bottom))}
 .action-top{font-size:11px;line-height:16px;margin-bottom:6px}
 .raise-control{grid-template-columns:72px 82px minmax(0,1fr);gap:8px}
 .raise-control label{font-size:10px}
 .amount-input{height:34px;padding:4px 6px}
 .amount-input input{font-size:16px}
 .sizing-buttons{margin:6px 0;gap:6px;justify-content:stretch}
 .sizing-buttons button{flex:1;min-height:30px;padding:4px;font-size:11px}
 .action-buttons{gap:6px}
 .action-buttons button{min-height:44px;padding:8px 3px;font-size:12px;touch-action:manipulation}
 .ready-actions{min-height:54px;gap:8px}
 .ready-actions p{margin-top:5px}
 #next-hand{min-height:44px}
 .ability-picker{margin-bottom:8px;scroll-margin-top:6px}
 .ability{min-height:52px;padding:8px}
 .ability small{display:none}
 .ability-letter{width:28px;height:30px;font-size:20px}
 .ability strong{font-size:12px}
}
@media(max-width:360px){
 body .table-panel .seat{width:64px}
 .table-panel .future-panel{width:150px}
 .table-panel .future-cards .card{width:23px;height:34px;padding:2px}
 .table-panel .future-cards .card .rank,.table-panel .future-cards .card .suit{font-size:13px}
 .table-panel .future-title{font-size:8px}
}


/* Preview-only controls stay out of the play area. */
#execution-panel{margin:28px 0 0}#sync-status{font-size:11px;color:var(--muted)}
body[data-page=board] #entry-panel,body[data-page=board] #player-bar{display:none}
#leaderboard-panel{padding:40px 24px}#leaderboard-panel .board-note{margin:20px 0}#back-to-game{padding:12px 18px;border-radius:8px}
@media(max-width:560px){#execution-panel #sync-status{display:block;margin-top:10px}#execution-panel select{max-width:100%}}
