#poker-app,.poker-welcome{--border:var(--line);--bg:var(--page);--text:var(--ink)}
.poker-heading{position:relative;display:flex;justify-content:space-between;align-items:flex-start;padding:35px 0 45px;overflow:hidden}.poker-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,5vw,4.7rem);font-weight:400;letter-spacing:-.05em;line-height:1.04;margin:15px 0 20px}.poker-heading h1 em{color:#688d6f;font-weight:400}.poker-heading p{color:var(--muted)}.poker-heading>.text-link{z-index:1}.poker-heading-suit{position:absolute;font-family:Georgia,serif;font-size:220px;color:#688d6f15;right:12%;top:-28px;line-height:1;pointer-events:none}.poker-catalog{position:relative;overflow:hidden}.poker-catalog-suit{position:absolute;right:20px;top:50px;font:130px Georgia,serif;opacity:.08;pointer-events:none}
#poker-app [hidden]{display:none!important}.poker-status,.poker-muted,.poker-footnote{color:var(--muted);font-size:.85rem;line-height:1.7}.poker-footnote{text-align:center;padding:25px 0 0}#poker-error{color:#cc695a;background:#bd493011;padding:12px;border-left:3px solid #cc695a}.poker-browser{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid var(--border);border-radius:8px;overflow:hidden}.poker-lobbies,.poker-create{padding:30px}.poker-create{border-left:1px solid var(--border);background:var(--surface)}.poker-browser h2,.poker-deck-picker h2,.poker-room-heading h2{font:400 1.9rem Georgia,'Times New Roman',serif;letter-spacing:-.025em;margin:9px 0 16px}.poker-lobbies header,.poker-deck-picker header,.poker-room-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.poker-lobbies header .button{padding:9px 12px;font-size:.75rem}.poker-lobbies ul{list-style:none;padding:0;margin:25px 0}.poker-lobbies li{display:flex;align-items:center;gap:15px;justify-content:space-between;border-bottom:1px solid var(--border);padding:17px 0}.poker-lobbies li strong,.poker-lobbies li small{display:block}.poker-lobbies li small{color:var(--muted);font-size:.75rem;margin-top:5px}.poker-lobby-decoration{display:flex;justify-content:center;gap:25px;margin:40px 0;font:55px Georgia,serif;opacity:.25}.poker-lobby-decoration span:nth-child(even){color:#a24444}.poker-create form{display:grid;gap:11px}.poker-create fieldset{border:0;margin:0 0 5px;padding:0}.poker-create legend,.poker-create form>label,.poker-invite>label{font-size:.8rem;margin-bottom:8px}.poker-variants{display:grid;grid-template-columns:1fr 1fr;gap:12px}.poker-variants label{position:relative;padding:15px 12px;border:1px solid var(--border);border-radius:5px;cursor:pointer}.poker-variants label:has(input:checked){border-color:#76967c;background:#76967c12}.poker-variants input{position:absolute;right:10px;top:14px;accent-color:#628d6b}.poker-variants strong{display:block;font-size:.85rem;padding-right:16px}.poker-variants small{display:block;font-size:.7rem;color:var(--muted);margin-top:7px}#poker-app input:not([type=radio]),#poker-app select{min-width:0;width:100%;background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:4px;padding:12px;font:inherit;font-size:.85rem}#poker-app .button:disabled{opacity:.42;cursor:not-allowed}#poker-app .button-primary{background:#719478;color:#101a12;border-color:#719478}#poker-app button:focus-visible,#poker-app input:focus-visible,#poker-app select:focus-visible{outline:2px solid #b69c65;outline-offset:3px}
.poker-room-heading{padding:15px 0}.poker-room-heading h2{margin-bottom:4px}.poker-table-wrap{max-width:1040px;margin-inline:auto;padding:112px 70px 92px;background:radial-gradient(ellipse,#3c4d3a14,transparent 70%);overflow:hidden}.poker-table{height:380px;position:relative;border:11px solid #42382d;border-radius:180px;background:radial-gradient(ellipse at 50% 38%,#28654c,#163e30);box-shadow:inset 0 0 0 2px #b39b625c,inset 0 0 65px #001b1399,0 0 0 3px #79664a66,0 24px 40px #0003;color:#f4ecd9}.poker-table:before{content:'';position:absolute;inset:19px;border-radius:150px;border:1px solid #d4bf7429;pointer-events:none}.poker-table-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.poker-table-brand{font-size:.65rem;letter-spacing:.24em;color:#dec89480}.poker-table-brand span{font-size:1.1rem;margin-left:8px}.poker-table-phase{font-size:.75rem;color:#e8ebdeba}.poker-board{display:flex;gap:7px;min-height:118px}.poker-board .playing-card{--card-width:84px}.poker-board .card-slot{display:block;width:84px;aspect-ratio:5/7;border:1px solid #e2d8a840;border-radius:5px;background:#ffffff05}.poker-pot{display:flex;align-items:baseline;gap:10px;color:#e4c985}.poker-pot>span{font-size:.58rem;letter-spacing:.18em}.poker-pot strong{font:500 1.6rem Georgia,serif}.poker-pot small{font-size:.6rem;color:#f4ecd98a}
.poker-seat{position:absolute;width:148px;transform:translate(-50%,-50%);text-align:center;z-index:1}.poker-seat:nth-child(1){left:50%;top:101%}.poker-seat:nth-child(2){left:19%;top:104%}.poker-seat:nth-child(3){left:0%;top:57%}.poker-seat:nth-child(4){left:16%;top:4%}.poker-seat:nth-child(5){left:50%;top:-4%}.poker-seat:nth-child(6){left:84%;top:4%}.poker-seat:nth-child(7){left:100%;top:57%}.poker-seat:nth-child(8){left:81%;top:104%}.poker-seat-info{position:relative;border:1px solid #63705d;background:#182b23;border-radius:7px;padding:8px 7px;box-shadow:0 3px 7px #0004}.poker-seat.is-actor .poker-seat-info{border:2px solid #dfc67d;box-shadow:0 0 0 4px #dfc67d1a}.poker-seat.is-me .poker-seat-info{background:#2e4534}.poker-seat.is-folded{opacity:.55}.poker-seat-name{display:block;font-size:.75rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.poker-seat-chips{font-weight:600;font-size:.78rem;color:#d7c596}.poker-seat-status{display:block;color:#bbc8b5;font-size:.59rem;line-height:1.5;min-height:14px}.poker-seat-dealer{position:absolute;top:-10px;right:-8px;display:grid;place-items:center;width:22px;height:22px;background:#f4ecda;color:#202c23;font:600 11px Georgia,serif;border:2px solid #a49576;border-radius:50%}.poker-seat-cards{display:flex;justify-content:center;gap:3px;margin-bottom:4px}.poker-seat-cards .playing-card{--card-width:56px}.poker-seat-cards:has(>.playing-card:nth-child(4)){display:grid;grid-template-columns:repeat(2,max-content)}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:46px}.poker-seat-empty{display:block;padding:14px;color:#e9ecdc6b;font-size:.63rem;letter-spacing:.08em;border:1px dashed #e9ecdc25;border-radius:6px;background:#10332355}.poker-seat-bet{font-size:.62rem;color:#ecd694;display:block;margin-top:4px;min-height:13px}
.poker-hand-area{display:flex;flex-wrap:wrap;max-width:1040px;margin-inline:auto;align-items:center;gap:32px;padding:25px 28px;background:var(--surface);border:1px solid var(--border);border-radius:6px}.poker-hand{display:flex;gap:8px;margin-top:12px;min-width:170px;min-height:126px}.poker-hand .playing-card{--card-width:90px}.poker-action-area{flex:1 1 360px;min-width:0}.poker-action-area>p{font-size:.85rem;margin:0 0 14px}.poker-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}.poker-actions .button{padding:11px 16px}.poker-actions form{flex:1;min-width:175px}.poker-actions form>label{font-size:.65rem;color:var(--muted);display:block;margin-bottom:6px}.poker-actions form>div{display:flex;gap:6px}.poker-actions input{max-width:110px}.poker-lobby-actions{display:flex;gap:10px;flex-wrap:wrap}.poker-fold{color:#c98270}.poker-results{padding:24px 28px;border:1px solid #9d8a54;border-radius:6px;background:#b8a0610d;margin-top:22px}.poker-results h3{font:400 1.7rem Georgia,serif;margin:10px 0}.poker-results p{font-size:.85rem;color:var(--muted);line-height:1.7}.poker-invite{padding:22px 0 0;max-width:700px}.poker-invite>label{display:block}.poker-invite>div{display:flex;gap:10px}.poker-invite .button{white-space:nowrap}
.poker-deck-picker{border-top:1px solid var(--border);padding-top:35px;margin-top:44px}.poker-deck-picker header>p{font-size:.8rem;text-align:right}.poker-decks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px}.poker-deck{display:flex;align-items:center;gap:28px;background:var(--surface);padding:22px;border:1px solid var(--border);border-radius:6px}.poker-deck.selected{border-color:#8da178}.poker-deck-preview{position:relative;display:flex;min-width:133px;height:104px}.poker-deck-preview .playing-card{--card-width:66px;position:absolute;top:0;left:33px;transform:rotate(4deg)}.poker-deck-preview .playing-card:first-child{left:2px;transform:rotate(-14deg);top:5px}.poker-deck-preview .playing-card:last-child{left:66px;transform:rotate(15deg);top:7px}.poker-deck strong{font:400 1.35rem Georgia,serif;display:block}.poker-deck small{display:block;font-size:.72rem;color:var(--muted);margin:7px 0 13px}.poker-deck .button{padding:8px 14px;font-size:.73rem}.poker-collection,.poker-rules{border-bottom:1px solid var(--border);margin-top:22px;font-size:.83rem}.poker-collection summary,.poker-rules summary{padding:16px 0;cursor:pointer}.poker-card-collection{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:12px;padding:12px 0 25px}.poker-card-collection .playing-card{--card-width:66px}.poker-rules>div{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;padding-bottom:20px}.poker-rules p{color:var(--muted);line-height:1.8}.poker-welcome{padding:35px;border:1px solid var(--border);border-radius:8px}
@media(max-width:1000px){.poker-seat{width:132px}.poker-table-wrap{padding:108px 66px 90px}.poker-table{height:360px}.poker-seat-cards .playing-card{--card-width:50px}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:44px}.poker-board .playing-card{--card-width:72px}.poker-board .card-slot{width:72px}.poker-board{min-height:101px}.poker-actions .button{padding:10px}.poker-hand-area{gap:20px;padding:20px}.poker-deck{gap:12px;padding:16px}}
@media(max-width:720px){.poker-heading{padding:22px 0 30px;display:block}.poker-heading>.text-link{display:inline-block;margin-top:10px}.poker-heading-suit{right:0;top:20px;font-size:170px}.poker-browser{grid-template-columns:1fr}.poker-lobbies,.poker-create{padding:23px}.poker-create{border-left:0;border-top:1px solid var(--border)}.poker-lobby-decoration{margin:20px 0}.poker-decks{grid-template-columns:1fr}.poker-room-heading .button{font-size:.73rem;padding:9px}.poker-room-heading h2{font-size:1.5rem}.poker-table-wrap{padding:100px 35px 72px}.poker-table{height:540px;border-width:8px;border-radius:130px}.poker-seat{width:93px}.poker-seat:nth-child(1){left:50%;top:103%}.poker-seat:nth-child(2){left:0%;top:83%}.poker-seat:nth-child(3){left:0%;top:52%}.poker-seat:nth-child(4){left:0%;top:22%}.poker-seat:nth-child(5){left:50%;top:-3%}.poker-seat:nth-child(6){left:100%;top:22%}.poker-seat:nth-child(7){left:100%;top:52%}.poker-seat:nth-child(8){left:100%;top:83%}.poker-seat-name{font-size:.64rem}.poker-seat-info{padding:5px}.poker-seat-status{font-size:.52rem}.poker-seat-cards .playing-card{--card-width:38px}.poker-board{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;min-height:145px}.poker-board .playing-card{--card-width:48px}.poker-board .card-slot{width:48px}.poker-table-brand{font-size:.5rem}.poker-table-center{gap:9px}.poker-hand-area{container-type:inline-size;flex-direction:column;align-items:stretch;gap:18px;padding:18px}.poker-action-area{flex:auto}.poker-hand-area>div:first-child{display:flex;align-items:center;gap:20px}.poker-hand{margin-top:0;min-width:0;min-height:98px}.poker-hand .playing-card{--card-width:70px}.poker-hand:has(>.playing-card:nth-child(4)){gap:6px}.poker-hand:has(>.playing-card:nth-child(4)) .playing-card{--card-width:min(70px,calc((100cqw - 18px)/4))}.poker-actions{gap:8px}.poker-actions form{order:5;flex-basis:100%}.poker-actions input{max-width:none;flex:1}.poker-actions .button{font-size:.8rem}.poker-invite>div{flex-direction:column}.poker-deck-picker header>p{font-size:.66rem}.poker-deck-picker h2{font-size:1.6rem}.poker-card-collection{grid-template-columns:repeat(auto-fill,minmax(55px,1fr));gap:10px}.poker-card-collection .playing-card{--card-width:55px}.poker-rules>div{grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){.poker-hand .playing-card,.poker-board .playing-card{animation:poker-deal .25s ease-out}@keyframes poker-deal{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}}
#poker-app .button:not(.button-primary){background:var(--surface-alt);color:var(--ink);border-color:var(--line)}
#poker-app .poker-fold:not(.button-primary){color:var(--danger)}
.poker-playing .poker-heading{padding:14px 0 10px;align-items:center}
.poker-playing .poker-heading h1{font-size:2rem;margin:8px 0;letter-spacing:-.04em}
.poker-playing .poker-heading h1 br{display:none}
.poker-playing .poker-heading h1 em{margin-left:.3em}
.poker-playing .poker-heading p,.poker-playing .poker-heading-suit{display:none}
@media(max-width:720px){.poker-table-wrap{padding-left:50px;padding-right:50px}.poker-playing .poker-heading h1{font-size:1.65rem}.poker-playing .poker-heading h1 em{display:block;margin-left:0}.poker-playing .poker-heading>.text-link{display:none}.poker-playing .poker-heading{padding-top:12px}.poker-seat-empty{padding:10px 4px;letter-spacing:0}}
@media(max-width:720px){.poker-board{grid-template-columns:repeat(2,1fr);min-height:212px}.poker-board>*:last-child{grid-column:1 / span 2;justify-self:center}.poker-hand-area>div:first-child{flex-direction:column;align-items:flex-start;gap:10px}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:36px}}
@media(max-width:720px){.poker-pot small{display:none}}
@media(min-width:721px) and (max-width:800px){.poker-board .playing-card{--card-width:64px}.poker-board .card-slot{width:64px}.poker-board{min-height:90px}}
@media(max-width:350px){.poker-table-wrap{padding-left:36px;padding-right:36px}.poker-seat{width:84px}.poker-seat-dealer{right:0}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:34px}.poker-board .playing-card{--card-width:46px}.poker-board .card-slot{width:46px}.poker-board{min-height:204px}}

.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)){padding-top:130px;padding-bottom:136px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)) .poker-table{height:480px}
@media(max-width:720px){.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)){padding-top:112px;padding-bottom:80px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)) .poker-table{height:680px}}

/* Beginner reference stays below the table and never overlays the betting controls. */
.poker-learning{margin-top:42px;padding-top:32px;border-top:1px solid var(--line)}
.poker-learning>header{margin-bottom:24px}
.poker-learning h2{font:400 clamp(1.8rem,4vw,2.4rem) Georgia,serif;margin:10px 0}
.poker-learning>header p{color:var(--muted);font-size:.9rem;margin:0}
.poker-help{border:1px solid var(--line);border-radius:6px;background:var(--surface);margin-top:12px}
.poker-help>summary,.poker-hand-entry>summary,.poker-lesson>summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}
.poker-help>summary::-webkit-details-marker,.poker-hand-entry>summary::-webkit-details-marker,.poker-lesson>summary::-webkit-details-marker{display:none}
.poker-help>summary{padding:21px 24px}
.poker-help>summary strong{display:block;font:400 1.3rem Georgia,serif}
.poker-help>summary small{display:block;margin-top:7px;font-size:.77rem;color:var(--muted);line-height:1.5}
.poker-help>summary::after,.poker-hand-entry>summary::after,.poker-lesson>summary::after{content:'+';font-size:1.3rem;margin-left:auto;flex-shrink:0;color:var(--muted)}
.poker-help[open]>summary::after,.poker-hand-entry[open]>summary::after,.poker-lesson[open]>summary::after{content:'−'}
.poker-learning summary:hover{background:var(--surface-alt)}
.poker-learning summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}
.poker-help[open]>summary{border-bottom:1px solid var(--line)}
.poker-help-content{padding:8px 24px 20px;font-size:.87rem;line-height:1.8}
.poker-help-content p{margin:14px 0;color:var(--muted)}
.poker-help-content strong{color:var(--ink)}
.poker-help-intro{font-size:.95rem}
.poker-help-intro>strong{display:block;margin-bottom:3px}
.poker-help-note{font-size:.8rem}
.poker-hand-ranking{margin:24px 0 18px}
.poker-hand-entry{border-top:1px solid var(--line)}
.poker-hand-entry:last-child{border-bottom:1px solid var(--line)}
.poker-hand-entry>summary{padding:16px 8px;line-height:1.5}
.poker-rank-number{font:400 1.4rem Georgia,serif;color:var(--muted);width:34px;flex-shrink:0}
.poker-hand-entry>summary strong{font-size:.95rem}
.poker-hand-entry>summary small{font-weight:400;font-size:.72rem;color:var(--muted);margin-left:8px}
.poker-rank-pattern{display:block;font-size:.76rem;color:var(--muted);margin-top:3px}
.poker-hand-explanation{display:grid;grid-template-columns:minmax(0,390px) minmax(0,1fr);align-items:start;gap:24px;padding:4px 8px 20px}
.poker-learning figure{margin:12px 0;min-width:0}
.poker-example-cards{display:flex;gap:8px;min-width:0}
.poker-example-cards .playing-card{--card-width:clamp(34px,10.5vw,64px)}
.poker-learning figcaption{color:var(--muted);font-size:.74rem;line-height:1.6;margin-top:12px}
.poker-hand-explanation p:first-child{margin-top:9px}
.poker-instructions{padding-top:12px}
.poker-lesson+.poker-lesson{border-top:1px solid var(--line)}
.poker-lesson>summary{padding:16px 0;font-weight:600;line-height:1.6}
.poker-lesson>div{max-width:850px;padding-bottom:16px}
.poker-streets{padding-left:24px;margin:12px 0}
.poker-streets li{padding:0 0 16px 8px;color:var(--muted)}
.poker-streets li>strong,.poker-streets li>span{display:block}
.poker-action-dictionary{display:grid;grid-template-columns:155px 1fr;gap:12px 22px;margin:12px 0 22px}
.poker-action-dictionary dt{font-weight:600;color:var(--ink)}
.poker-action-dictionary dd{margin:0;color:var(--muted)}
.poker-lesson ul{padding-left:22px;color:var(--muted)}
.poker-lesson li{margin-bottom:8px}
.poker-guide-sources{font-size:.73rem;color:var(--muted);line-height:1.8;margin:16px 0 0}
.poker-guide-sources a{color:var(--muted);text-underline-offset:3px}
@media(max-width:800px){.poker-hand-explanation{grid-template-columns:1fr;gap:0}.poker-hand-explanation figure{margin-top:8px}.poker-hand-explanation p:first-child{margin-top:0}}
@media(max-width:480px){.poker-help>summary{padding:18px 16px;gap:12px}.poker-help>summary strong{font-size:1.15rem}.poker-help-content{padding:6px 16px 16px}.poker-hand-entry>summary{gap:10px;padding-left:0;padding-right:0}.poker-hand-entry>summary small{display:block;margin-left:0}.poker-rank-number{width:27px;font-size:1.2rem}.poker-hand-explanation{padding-left:0;padding-right:0}.poker-example-cards{gap:5px}.poker-action-dictionary{grid-template-columns:1fr;gap:3px}.poker-action-dictionary dd{margin-bottom:14px}.poker-lesson>summary{gap:12px}.poker-guide-sources a{display:inline-block}}

/* Compact play layout. */

.poker-status{margin:0 0 10px;font-size:12px}.poker-lobbies,.poker-create{padding:20px}.poker-browser h2{font-size:1.6rem}.poker-lobby-decoration{margin:22px 0;font-size:38px}.poker-create form{gap:8px}.poker-create .poker-muted{font-size:12px;margin:4px 0}.poker-room-heading{padding:4px 0}.poker-room-heading h2{font-size:1.35rem;margin:4px 0}.poker-room-heading .eyebrow{font-size:9px}.poker-room-heading .poker-muted{font-size:11px}.poker-playing .poker-status{font-size:11px}.poker-table-wrap{padding-top:68px;padding-bottom:55px}.poker-table{height:clamp(250px,calc(100svh - 500px),360px)}.poker-table-center{gap:8px}.poker-board .playing-card{--card-width:66px}.poker-board .card-slot{width:66px}.poker-board{min-height:92px}.poker-table-brand{display:none}.poker-seat-cards .playing-card{--card-width:38px}.poker-hand-area{padding:12px 18px;gap:22px}.poker-hand{margin-top:6px;min-height:92px;font-size:12px}.poker-hand .playing-card{--card-width:64px}.poker-action-area>p{margin-bottom:8px;font-size:12px}.poker-footnote{padding:10px 0;font-size:11px}.poker-deck-picker{margin:0;padding:0;border:0}.poker-deck-picker header{display:none}.poker-learning{margin:0;padding:0;border:0}.poker-learning>header{display:none}.poker-help:first-of-type{margin-top:0}.poker-decks{grid-template-columns:1fr}.poker-deck{padding:16px}.poker-playing #poker-rebuy-status{font-size:11px}
@media(min-width:721px){.poker-seat-cards:has(>.playing-card:nth-child(4)){display:flex;gap:2px}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:32px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)){padding-top:68px;padding-bottom:55px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)) .poker-table{height:clamp(250px,calc(100svh - 500px),360px)}}
@media(max-width:720px){.poker-table-wrap{padding-top:70px;padding-bottom:60px}.poker-table{height:440px}.poker-board .playing-card{--card-width:46px}.poker-board .card-slot{width:46px}.poker-board{min-height:200px}.poker-hand-area{padding:12px;gap:12px}.poker-hand-area>div:first-child{flex-direction:row;align-items:center;gap:12px}.poker-hand{min-height:84px}.poker-hand .playing-card{--card-width:58px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)){padding-top:100px;padding-bottom:70px}.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)) .poker-table{height:510px}.poker-lobbies,.poker-create{padding:16px}.poker-lobbies header{gap:8px}.poker-lobbies header h2{font-size:1.4rem}.poker-hand:has(>.playing-card:nth-child(4)){flex-wrap:wrap}.poker-hand:has(>.playing-card:nth-child(4)) .playing-card{--card-width:48px}}
.poker-settings>div { display:grid; gap:8px; padding:6px 0 12px; }
.poker-settings label { font-size:12px; }
.poker-settings summary { font-size:12px; }
@media(min-width:721px) {
  .poker-playing .poker-status { margin-bottom:4px; }
  .poker-table-wrap,.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)) { padding-top:76px; }
  .poker-room-heading>div { display:grid; grid-template-columns:auto auto; align-items:center; gap:2px 12px; }
  .poker-room-heading h2 { grid-column:1; grid-row:1; margin:0; }
  .poker-room-heading .eyebrow { grid-column:2; grid-row:1; }
  .poker-room-heading .poker-muted { grid-column:1/-1; }
  .poker-hand-area>div:first-child { display:flex; align-items:center; gap:12px; }
  .poker-hand { margin-top:0; }
  .poker-action-area>p { margin-bottom:4px; }
  .poker-playing #poker-rebuy-status { font-size:10px; line-height:1.4; }
  .poker-actions .button,.poker-lobby-actions .button { font-size:12px; min-height:38px; padding:9px 12px; }
  #poker-app .poker-actions input { padding:8px; }
}

/* Keep the existing table geometry; a single explicit anchor reserves the fixed
   shared chat and two maximum-height message previews on desktop viewports. */
.poker-room-heading>div{flex:1}.poker-controls-link{font-size:12px;white-space:nowrap}
@media(min-width:1000px){#poker-controls{scroll-margin-block-end:224px}}
@media(min-width:1000px){.poker-table-wrap,.poker-table-wrap:has(.poker-seat-cards>.playing-card:nth-child(4)){padding-top:90px;padding-bottom:80px}.poker-seat-cards:has(>.playing-card:nth-child(4)) .playing-card{--card-width:34px}}
