
body[data-game="texas"] .tx-main{padding:clamp(10px,2vw,24px);gap:12px;justify-content:flex-start;min-width:0}
.tx-main>section,.tx-main>header,.tx-help,.tx-connection{width:min(100%,1220px);min-width:0}
.tx-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tx-heading h1{color:#f5d98e;margin:0;font-size:clamp(1.45rem,2.6vw,2.3rem)}
.tx-heading .eyebrow{margin:0 0 4px}.tx-note{font-size:.77rem;color:#dbd3b8;line-height:1.4;margin:4px 0}
.tx-mode,.tx-room-actions,.tx-setup,.tx-actions,.tx-number{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.tx-room{padding:12px 16px;background:#102f25;border:1px solid #ad985f80;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tx-room input{width:125px;text-transform:uppercase}.tx-connection:empty{display:none}.tx-connection{font-size:.85rem;text-align:center;color:#f7df9f;overflow-wrap:anywhere}
.tx-table{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(82px,auto));grid-template-areas:". s4 s5 s6 ." "s3 center center center s7" "s2 center center center s8" ". s1 . s0 .";gap:8px;isolation:isolate;padding:8px;min-height:385px}
.tx-felt{position:absolute;inset:8% 7%;z-index:-1;border:clamp(6px,1vw,13px) solid #6a4328;border-radius:44% / 48%;background:#215842;box-shadow:0 0 0 2px #c09c57,inset 0 0 32px #051a1588,0 9px 18px #0005}
.tx-seats{display:contents}.tx-seat{grid-area:var(--seat-area);display:grid;grid-template-columns:1fr;align-content:center;justify-items:center;gap:3px;min-width:0;min-height:85px;padding:6px 4px;background:#19382e;border:1px solid #a68f585c;border-radius:12px;color:#efe9d6;text-align:center;overflow:hidden;font-size:.78rem}
button.tx-seat{font:inherit;font-size:.78rem}.tx-seat:hover:not(:disabled){border-color:#f3d48c;background:#24463a}.tx-seat:disabled{cursor:default;opacity:1}
.tx-seat.mine{border:2px solid #d4b05a}.tx-seat.turn{outline:2px solid #f4cf77;outline-offset:1px;background:#294f3d}.tx-seat.folded{opacity:.56}
.tx-seat .position{color:#f4d891;font-weight:800;font-size:.78rem;letter-spacing:.035em}.tx-seat .name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.tx-seat .seat-cards{display:flex;justify-content:center;gap:3px}.tx-seat .seat-stack{font-variant-numeric:tabular-nums;color:#e9d6a3}.tx-seat .seat-last{font-size:.68rem;color:#cfddce;min-height:1em}
.tx-seat.empty{border-style:dashed;background:#143428a0;min-height:85px}.tx-seat .seat-label{color:#d3c398;font-size:.65rem}
.tx-center{grid-area:center;min-width:0;align-self:center;text-align:center;display:grid;justify-items:center;gap:8px;padding:8px 3px}.tx-stage{font-size:.82rem;font-weight:700;color:#f4dba7;letter-spacing:.04em}.tx-pot{display:grid;gap:3px}.tx-pot small,.tx-player small{font-size:.72rem;color:#d2cbb3}.tx-pot strong{font-size:clamp(1.4rem,3vw,2rem);color:#ffe9a6;font-variant-numeric:tabular-nums}
.tx-community,.tx-my-cards{display:flex;justify-content:center;gap:clamp(3px,.7vw,8px);min-width:0;width:100%}.tx-community .tx-card{width:min(18%,73px);max-width:73px}.tx-card{display:block;flex:none;aspect-ratio:68/96;height:auto;width:65px;filter:drop-shadow(0 3px 3px #0006);user-select:none}
.tx-card.back{filter:drop-shadow(0 2px 2px #0005)}.tx-card.placeholder{opacity:.55;filter:none}.seat-cards .tx-card{width:clamp(23px,3vw,40px)}.tx-status{min-height:2.2em;color:#f8e7bf;font-size:clamp(.76rem,1.3vw,1rem);font-weight:700;overflow-wrap:anywhere}
.tx-player{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,.7fr) minmax(0,1.5fr);align-items:center;gap:14px;padding:12px 20px;border:1px solid #b89b6266;border-radius:14px;background:#102c24;text-align:center}
.tx-my-cards .tx-card{width:clamp(46px,6vw,82px)}.tx-balance{display:grid;justify-items:center;gap:4px}.tx-balance strong{color:#f9dfa0;font-size:1.55rem}.tx-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tx-amounts>div{display:grid;gap:4px;align-content:start;background:#09231d;border-radius:8px;padding:8px 5px;min-width:0}.tx-amounts b{font-size:1.1rem;overflow-wrap:anywhere;color:#f2dda9}
.tx-controls{padding:12px;background:#33281f;border:1px solid #b99b62;border-radius:14px}.tx-bets{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.tx-bets .chip{width:clamp(39px,4vw,57px);height:clamp(39px,4vw,57px);font-size:.82rem}.tx-number input{width:112px;text-align:center}.tx-actions .btn{flex:0 1 150px;min-width:88px}.tx-help{border:1px solid #9a885b55;border-radius:10px;padding:8px 12px;color:#d7ceb2;font-size:.8rem;line-height:1.5}.tx-help summary{cursor:pointer;color:#f0d9a1}
@media(max-width:760px){body[data-game="texas"] .tx-main{padding:10px 6px}.tx-table{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto auto;grid-template-areas:"s4 s5 s6" "s3 center s7" "s2 center s8" "s1 s0 s0";gap:5px;padding:2px;min-height:0}.tx-felt{inset:6% 1%;border-radius:24%;border-width:5px}.tx-center{gap:5px;padding:3px 0}.tx-community{flex-wrap:wrap;gap:3px}.tx-community .tx-card{width:29%;max-width:37px}.tx-seat{min-height:88px;padding:4px 2px;font-size:.7rem}.tx-seat .position{font-size:.7rem}.tx-seat .seat-last,.tx-seat .seat-label{font-size:.61rem}.tx-seat.empty{min-height:80px}.tx-seat .seat-cards .tx-card{width:26px}.tx-status{font-size:.69rem;min-height:0}.tx-pot strong{font-size:1.4rem}.tx-player{grid-template-columns:1fr 1fr;gap:8px;padding:8px}.tx-amounts{grid-column:1/-1}.tx-room{padding:8px;gap:6px}.tx-room-actions{gap:5px;justify-content:flex-start}.tx-room .btn,.tx-mode .btn{font-size:.77rem;padding:8px}.tx-actions .btn{flex:1 1 42%;padding:9px;min-width:0}.tx-bets{gap:7px}.tx-bets .chips-tray{gap:7px}.tx-number input{width:90px}.tx-my-cards .tx-card{width:60px}}
@media(max-width:360px){.tx-seat .seat-stack{font-size:.67rem}.tx-seat .seat-cards .tx-card{width:23px}.tx-status{font-size:.64rem}.tx-bets .chip{width:37px;height:37px}}

@media(max-width:760px){
 .tx-table{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto auto auto auto auto;grid-template-areas:"s4 s4 s5 s5 s6 s6" "s3 s3 . . s7 s7" "center center center center center center" "s2 s2 . . s8 s8" ". s1 s1 s0 s0 ."}
 .tx-center{padding:5px 4px;gap:4px}.tx-community{flex-wrap:nowrap;gap:5px}.tx-community .tx-card{width:17%;max-width:54px}
 .tx-seat{min-height:78px}.tx-seat.empty{min-height:70px}.tx-seat .seat-label{display:none}
 .tx-felt{inset:5% 4%;border-radius:36% / 28%}
}

.tx-seat.seat-clickable{cursor:pointer}.tx-seat.seat-clickable:focus-visible{outline:2px solid #f4cf77}

.tx-room-actions{flex-wrap:wrap}#tx-check{white-space:nowrap}
