@font-face{font-family:"Pretendard Variable";font-weight:45 920;font-style:normal;font-display:swap;src:url(/fonts/PretendardVariable.woff2) format("woff2-variations"),url(/fonts/PretendardVariable.woff2) format("woff2")}
@font-face{font-family:"Gmarket Sans";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/GmarketSansBold.woff) format("woff")}
:root{font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--text);background:var(--page);font-synthesis:none;color-scheme:dark;--page:#0f2a22;--surface:#153a2e;--surface-2:#1c4538;--felt:#1e5a45;--rail:#0b1f19;--line:#2f5b4a;--text:#f2eedf;--text-muted:#bac6b6;--brass:#c9a253;--brass-light:#e2c47e;--brass-hover:#d8b469;--on-brass:#13261f;--danger:#f08a7e;--positive:#9bd3a8;--ivory:#f7f3e6;--card-ink:#1d332b;--card-red:#b8323f;--heading:"Gmarket Sans","Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo",sans-serif}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:0;border-radius:7px;font-size:13px;font-weight:650;padding:11px 18px;transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.42;transform:none}button:focus-visible,a:focus-visible{outline:3px solid var(--brass);outline-offset:4px}a{color:inherit;text-decoration:none}input{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--text);min-height:47px;padding:12px 14px;font-size:15px}input:focus{outline:2px solid var(--line);outline-offset:1px}small{font-weight:400}p{line-height:1.7}.header{height:88px;margin:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:10px;font:31px Georgia,serif;letter-spacing:2px}.brand-mark{display:grid;place-items:center;background:var(--brass);color:var(--brass);width:36px;height:39px;border-radius:6px;font-size:27px}.brand-sub{font:8px/1.7 -apple-system,sans-serif;letter-spacing:1.8px;max-width:95px;border-left:1px solid var(--line);padding-left:13px;margin-left:8px}.header-note{font-size:12px;color:var(--text-muted)}.quiet{background:transparent;color:var(--text)}.quiet:hover{background:var(--surface)}.primary{background:var(--brass);color:var(--on-brass)}.primary:hover{background:var(--brass)}.primary.gold{background:var(--brass);color:var(--text)}.primary.gold:hover{background:var(--brass)}.outline{border:1px solid var(--line);color:var(--brass);background:transparent}.outline:hover{background:var(--surface)}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:600;display:flex;align-items:center;gap:9px;color:var(--text)}.small-dot{width:6px;height:6px;border-radius:50%;background:var(--surface-2)}.home{max-width:1450px;padding:64px 4.5% 20px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:50px 7%}.welcome h1{font-size:clamp(40px,4.3vw,67px);line-height:1.23;letter-spacing:-3.7px;font-weight:580;margin:24px 0}.welcome h1 em{font-style:normal;color:var(--positive)}.intro{font-size:15px;color:var(--text);line-height:1.9}.welcome-meta{display:flex;flex-wrap:wrap;gap:18px;margin:22px 0 32px;font-size:11px;color:var(--text)}.welcome-meta span+span:before{content:"/";margin-right:18px;color:var(--text-muted)}.entry-form{max-width:450px;border-top:1px solid var(--line);padding-top:25px}.form-title{display:flex;gap:11px;align-items:center;margin-bottom:20px}.form-title h2{font-size:17px;font-weight:600;margin:0;letter-spacing:-.5px}.number-tag{font:11px Georgia,serif;color:var(--text-muted);border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:25px;height:25px}.entry-form label{display:block;margin:16px 0 8px;font-size:11px;font-weight:600;color:var(--text)}.entry-form .large{display:flex;justify-content:space-between;width:100%;margin-top:21px;padding:16px 18px;min-height:52px;font-size:14px}.form-note{font-size:11px;color:var(--text-muted);text-align:center}.invite-hint{font-size:11px;color:var(--text-muted)}.invite-hint span{font-family:monospace}.back-home{display:block;text-align:center;font-size:12px;text-decoration:underline;margin-top:18px}.card{width:58px;height:80px;border-radius:7px;padding:7px 8px;display:flex;flex-direction:column;justify-content:space-between;background:#fffdf1;color:#263e35;font:24px Georgia,serif;box-shadow:0 3px 2px #001b181a;flex-shrink:0}.card b{font-weight:500}.card span{font-size:24px;align-self:flex-end;line-height:1}.card.red{color:#b24a3c}.home-footer{grid-column:1/-1;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:20px 0;font-size:10px;color:var(--text-muted)}.recent{grid-column:1/-1;max-width:500px;width:100%}.recent h2{font-size:15px}.recent a{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.recent a span:last-child{color:var(--text-muted)}.game{max-width:1530px;margin:auto;padding:34px 4.5% 20px}.table-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px;flex-wrap:wrap}.table-heading h1{font-size:27px;letter-spacing:-1px;font-weight:600;margin:9px 0 0}.connection{letter-spacing:0;font-size:10px;color:var(--text);padding-left:12px;border-left:1px solid var(--line)}.connection:before{content:"";display:inline-block;width:5px;height:5px;background:var(--surface-2);border-radius:50%;margin-right:5px}.connection.disconnected{color:var(--brass-light)}.table-tools{display:flex;gap:7px}.table-tools .outline{padding:12px 20px}.table-tools .outline span{margin-left:15px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px}.play-area{min-width:0}.table-meta{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.5px;color:var(--text-muted);margin:0 5px 13px;gap:10px}.table-meta span:first-child{font-size:9px;letter-spacing:1.7px}.table-meta b{font-weight:600;color:var(--text)}.poker-surface{position:relative;height:515px;background:var(--surface);border-radius:15px;overflow:hidden}.felt{position:absolute;inset:65px 50px 62px;background:#1b5141;border-radius:180px;border:9px solid #244236;box-shadow:0 0 0 3px #bcc6b5,0 10px 20px #213d2719,inset 0 0 60px #143e3177}.felt-border{position:absolute;inset:14px;border:1px solid #b2c29530;border-radius:150px}.felt-wordmark{position:absolute;left:50%;bottom:37px;transform:translateX(-50%);font:20px Georgia,serif;letter-spacing:6px;color:#acc6a523}.board-area{position:absolute;top:169px;left:50%;transform:translateX(-50%);color:var(--on-brass);text-align:center;width:320px}.round-label{font-size:10px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase}.pot-label{font-size:8px;letter-spacing:2px;margin:12px 0 13px;color:var(--text-muted)}.pot-label strong{display:block;font-size:25px;color:var(--on-brass);font-weight:500;letter-spacing:.5px;margin-top:5px}.board-cards{display:flex;gap:6px;justify-content:center}.board-cards .card{width:48px;height:66px;font-size:21px;padding:6px}.board-cards .card span{font-size:22px}.card.placeholder{background:var(--brass);border:1px solid var(--line);color:var(--text-muted);box-shadow:none;justify-content:center;align-items:center;font-size:24px}.waiting-title{font-size:24px;font-weight:500;letter-spacing:-1px;margin-top:25px}.waiting-description{color:var(--text-muted);font-size:12px;margin-top:12px}.seat{position:absolute;width:142px;text-align:center;transform:translate(-50%,-50%);z-index:2}.seat-0{left:50%;top:87%}.seat-1{left:18%;top:74%}.seat-2{left:18%;top:28%}.seat-3{left:50%;top:12%}.seat-4{left:82%;top:28%}.seat-5{left:82%;top:74%}.player-info{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:9px;box-shadow:none;position:relative;min-height:53px}.avatar{background:var(--surface);display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;font-size:12px;color:var(--positive)}.player-info>div{min-width:0}.player-info b{font-size:11px;display:block;max-width:84px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.player-info b small{font-size:9px;color:var(--text-muted)}.chips{font-size:13px;letter-spacing:.5px;margin-top:4px;display:block;font-weight:600}.presence{position:absolute;right:7px;bottom:9px;background:var(--surface-2);width:5px;height:5px;border-radius:50%}.presence.online{background:var(--surface-2)}.my-seat .player-info{border-color:var(--line)}.active-seat .player-info{outline:3px solid var(--brass);outline-offset:3px}.player-state{font-size:10px;color:var(--positive);margin-top:7px;height:18px}.dealer-badge{border-radius:50%;background:var(--surface);border:1px solid var(--line);font:9px Georgia,serif;padding:3px 5px;margin-right:4px}.empty-seat{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:10px;color:var(--text-muted);width:90px}.empty-avatar{width:37px;height:37px;border:1px dashed var(--line);border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:300;color:var(--text-muted)}.seat-cards{display:flex;gap:3px;justify-content:center;margin-bottom:5px}.seat-cards .card{width:29px;height:40px;padding:4px;font-size:13px;border-radius:4px}.seat-cards .card span{font-size:14px}.seat-0 .seat-cards{margin-bottom:7px}.seat-0 .card{width:41px;height:56px;font-size:20px;padding:5px}.seat-0 .card span{font-size:21px}.card.back{background:var(--surface-2);border:3px solid var(--line);color:var(--text);align-items:center;justify-content:center}.card.back span{align-self:center;font:16px Georgia,serif;border:1px solid var(--line);padding:1px}.seat.folded{opacity:.6}.action-panel{margin-top:18px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px}.turn-info{display:flex;gap:11px;align-items:center;margin-bottom:17px;min-height:35px}.turn-info b{display:block;font-size:13px;font-weight:650}.turn-info div>span{display:block;font-size:11px;color:var(--text-muted);margin-top:6px}.turn-dot{width:8px;height:8px;background:var(--surface-2);flex-shrink:0;border-radius:50%}.turn-dot.your-turn{background:var(--brass);box-shadow:0 0 0 4px #eee3c9}.timer{margin-left:auto;color:var(--brass-light);font-size:19px;font-variant-numeric:tabular-nums}.lobby-actions{display:flex;align-items:center;gap:10px}.lobby-actions>button{flex:1}.waiting-host{flex:1;text-align:center;font-size:11px;color:var(--text-muted)}.betting-actions{display:grid;grid-template-columns:.8fr 1fr 1fr 1fr;gap:9px;align-items:stretch}.fold-button{color:var(--text);background:var(--surface)}.raise-control{position:relative;min-width:0}.raise-control label{position:absolute;top:5px;left:10px;font-size:8px;color:var(--text)}.raise-control input{padding:20px 10px 6px;height:49px;min-height:0;font-size:13px}.quick-bets{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:10px;color:var(--text-muted);font-size:10px}.quick-bets button{background:transparent;border:1px solid var(--line);color:var(--text);font-size:10px;padding:6px 9px;min-height:32px}.table-footnote{font-size:9px;text-align:center;color:var(--text-muted);margin:16px 0}.sidebar{background:var(--surface);border:1px solid var(--line);border-radius:10px;align-self:start;overflow:hidden;min-height:440px}.side-tabs{display:flex;border-bottom:1px solid var(--line);padding:6px 10px 0}.side-tabs button{flex:1;padding:13px 3px;color:var(--text-muted);background:none;border-radius:0;font-size:11px;border-bottom:2px solid transparent}.side-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--brass)}.section-caption{display:flex;justify-content:space-between;font-size:9px;color:var(--text-muted);padding:23px 17px 13px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:7px;padding:25px 12px 36px;text-align:center}.empty-state>span{font-size:32px;color:var(--text-muted);margin-bottom:5px}.empty-state b{font-size:11px;font-weight:500;color:var(--text)}.empty-state p{font-size:10px;color:var(--text-muted);margin:0}.side-note>span{font-size:30px;color:var(--text-muted)}.history-entry{margin:0 17px;padding:17px 0;border-bottom:1px solid var(--line)}.history-entry>div:first-child{display:flex;justify-content:space-between;font-size:10px}.history-entry time{color:var(--text-muted);font-size:9px}.history-entry p{font-size:11px;line-height:1.7;margin:9px 0}.history-entry p strong{float:right;color:var(--positive)}.history-entry p small{display:block;font-size:10px;color:var(--text-muted)}.mini-board{display:flex;gap:4px;margin-top:12px}.mini-board .card{width:30px;height:41px;font-size:14px;padding:4px;border:1px solid #e4e6d9;border-radius:3px}.mini-board .card span{font-size:14px}.game-log{list-style:none;margin:0;padding:0 17px;max-height:500px;overflow:auto}.game-log li{padding:12px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.6;color:var(--text)}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--brass);color:var(--on-brass);padding:15px 22px;border-radius:10px;box-shadow:none;z-index:20;font-size:13px;max-width:calc(100% - 30px);width:max-content;line-height:1.5}dialog{border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);max-width:580px;width:calc(100% - 30px);padding:27px;max-height:85dvh}dialog::backdrop{background:#0b291fab;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head h2{font-size:20px;letter-spacing:-.6px}dialog p{font-size:13px;color:var(--text)}dialog h3{font-size:14px;margin-top:24px}dialog h3 small{font-size:10px;color:var(--text-muted);margin-left:7px}.copy-fallback{flex-basis:100%;font-size:12px}
@media(min-width:1450px){.poker-surface{height:565px}.board-area{top:204px}.felt{inset:65px 55px 62px}}
@media(max-width:1150px){.game-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.seat{width:123px}.seat-1,.seat-2{left:16%}.seat-4,.seat-5{left:84%}.felt{inset:65px 35px 62px}.board-area{width:290px}.board-cards .card{width:43px;height:61px}.home{gap:45px 5%}.header-note{display:none}}
@media(max-width:960px){.game-layout{grid-template-columns:1fr}.sidebar{min-height:0}.game{max-width:850px}.home{padding-top:45px;gap:35px}.welcome-meta{gap:9px;font-size:10px}.welcome-meta span+span:before{margin-right:9px}.welcome h1{font-size:48px}.intro{font-size:13px}.poker-surface{height:515px}}
@media(max-width:680px){.header{height:69px;margin:0 20px;gap:10px}.brand{font-size:26px;gap:8px}.brand-mark{width:29px;height:33px;font-size:22px}.brand-sub{display:none}.header .quiet{padding:8px 0;font-size:11px}.home{display:flex;flex-direction:column;padding:35px 22px 15px;gap:30px}.welcome .eyebrow{font-size:8px;letter-spacing:1.1px}.welcome h1{font-size:47px;letter-spacing:-2.7px;margin:22px 0 18px}.intro{font-size:13px}.welcome-meta{margin:20px 0 25px;font-size:10px}.entry-form{max-width:none;padding-top:23px}.form-title h2{font-size:16px}.recent{order:3}.home-footer{order:4;flex-direction:column;gap:9px;padding:17px 0 0;font-size:9px}.game{padding:23px 12px 12px}.table-heading{padding:0 7px;margin-bottom:22px;gap:10px}.table-heading h1{font-size:20px;max-width:210px;overflow-wrap:anywhere}.table-heading .eyebrow{font-size:8px;letter-spacing:.7px}.connection{font-size:8px;padding-left:7px}.table-tools{gap:2px}.table-tools .outline{font-size:11px;padding:10px 11px}.table-tools .outline span{margin-left:3px}.table-tools .quiet{font-size:10px;padding:10px}.table-meta{font-size:9px}.table-meta span:first-child{font-size:8px;letter-spacing:.7px}.poker-surface{height:530px;border-radius:12px}.felt{inset:59px 37px 62px;border-width:7px;border-radius:130px}.felt-border{inset:10px;border-radius:115px}.felt-wordmark{bottom:60px;font-size:17px;letter-spacing:5px}.board-area{top:175px;width:270px}.board-cards{gap:4px}.board-cards .card{width:39px;height:55px;padding:5px;font-size:18px}.board-cards .card span{font-size:18px}.round-label{font-size:9px}.pot-label{margin:10px 0}.pot-label strong{font-size:23px}.seat{width:112px}.seat-0{left:50%;top:87%}.seat-1{left:20%;top:73%}.seat-2{left:20%;top:29%}.seat-3{left:50%;top:11%}.seat-4{left:80%;top:29%}.seat-5{left:80%;top:73%}.player-info{padding:7px;gap:6px;min-height:49px;border-radius:7px}.avatar{width:25px;height:25px;font-size:10px}.player-info b{font-size:10px;max-width:67px}.chips{font-size:12px;margin-top:3px}.presence{right:5px;bottom:7px}.seat-cards .card{width:26px;height:36px;font-size:12px}.seat-cards .card span{font-size:12px}.seat-0 .card{width:37px;height:50px;font-size:19px}.seat-0 .card span{font-size:18px}.player-state{font-size:9px;margin-top:6px}.empty-seat{font-size:9px}.empty-avatar{width:30px;height:30px;font-size:17px}.waiting-title{font-size:22px;margin-top:22px}.waiting-description{font-size:11px}.action-panel{padding:16px 13px;margin-top:12px}.turn-info b{font-size:12px}.turn-info div>span{font-size:10px}.betting-actions{grid-template-columns:1fr 1fr;gap:9px}.betting-actions button{min-height:47px;font-size:13px}.raise-control input{height:47px}.quick-bets{justify-content:space-between;gap:4px;font-size:9px}.quick-bets button{font-size:9px;min-height:40px;padding:6px 8px}.table-footnote{font-size:8px;margin:11px 0 17px}.sidebar{margin:0 5px}.side-tabs button{font-size:12px;padding:15px 3px}.table-tools .quiet:disabled{display:none}.toast{font-size:12px;padding:14px 18px;bottom:20px}dialog{padding:21px}.dialog-head h2{font-size:18px}.dialog-head .quiet{font-size:11px;padding:8px}.lobby-actions button{font-size:12px;padding:11px 9px}.waiting-host{font-size:10px}}
@media(max-width:370px){.seat{width:100px}.avatar{display:none}.player-info{padding:8px 11px}.player-info b{max-width:75px}.table-heading h1{font-size:18px;max-width:185px}.table-tools .quiet{padding:10px 4px}.board-cards .card{width:35px;height:50px}.home{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep the authenticated home compact at every width. */
.home{display:grid;grid-template-columns:280px minmax(0,1fr);max-width:1200px;padding:32px 4.5% 20px;gap:28px 36px;align-items:start}
.home>section{min-width:0}
.welcome h1{font-size:32px;line-height:1.25;letter-spacing:-1.3px;margin:0 0 10px}
.intro{font-size:15px;color:var(--text);line-height:1.6;margin:0 0 20px}
.welcome-meta,.number-tag{display:none}
.entry-form{max-width:none;padding-top:20px}
.form-title{margin-bottom:16px}
.form-title h2{font-size:19px;line-height:1.4;font-weight:650}
.entry-form label{margin:14px 0 7px;font-size:14px;color:var(--text)}
.entry-form input,.entry-form select{min-height:48px;font-size:16px;padding:11px 12px}
.entry-form select{display:block;width:100%;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font-family:inherit}
.entry-form select:focus-visible{outline:2px solid var(--line);outline-offset:2px}
.entry-form .large{min-height:48px;margin-top:18px;padding:12px 14px;font-size:16px}

















.form-note{font-size:14px;line-height:1.6;margin:10px 0 0}
.invite-hint,.back-home{font-size:14px}
.back-home{min-height:44px;padding:12px 0;margin-top:8px}















































.home-footer{grid-column:1/-1;gap:12px;padding:18px 0;font-size:13px;line-height:1.6;color:var(--text)}
.recent{grid-column:1/-1;max-width:none}
.recent h2{font-size:19px;margin:0 0 8px}
.recent a{min-height:48px;align-items:center;gap:12px;font-size:14px;line-height:1.5}
@media(max-width:960px){
  .home{grid-template-columns:240px minmax(0,1fr);gap:24px;max-width:1200px;padding-left:24px;padding-right:24px}







}
@media(max-width:760px){
  .home{grid-template-columns:minmax(0,1fr);padding:24px 20px 16px;gap:24px}
  .welcome h1{font-size:30px;margin-bottom:8px}
  .intro{margin:0 0 16px}
  .entry-form{padding-top:16px}
  .form-title{margin-bottom:12px}
  .entry-form label{margin-top:12px}




  .recent,.home-footer{order:0}
  .home-footer{flex-direction:column;gap:5px}
}
@media(max-width:480px){
  .home{padding-left:16px;padding-right:16px}














}

/* Cross-device controls: stable keyboard focus, readable inputs and compact tables. */
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;left:16px;top:-100px;z-index:40;background:var(--surface);padding:12px 18px;border:2px solid var(--brass);border-radius:7px}
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;border:0}
.skip-link:focus{top:12px}
#app:focus{outline:none}
button{touch-action:manipulation}
input{font-size:16px}
input:read-only{cursor:text}
.invite-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.invite-actions button{flex:1;min-width:125px}
#invite label{display:block;font-size:12px;margin:18px 0 8px}
#invite-feedback{min-height:20px;text-align:left;color:var(--positive)}
#invite-link{font-size:16px}
.dialog-head .quiet{min-width:52px;min-height:44px}
#side-content:focus-visible{outline:2px solid var(--line);outline-offset:-3px}
.quick-bets button{min-height:44px;min-width:44px}
.raise-control input{font-size:16px}
.table-footnote{color:var(--text)}
.turn-info div>span,.section-caption,.form-note{color:var(--text)}
.player-info b{font-size:12px}
.player-info b small{font-size:10px}
.chips{font-variant-numeric:tabular-nums}
.turn-info>div{min-width:0;overflow-wrap:anywhere}
.timer{flex-shrink:0}
.toast{bottom:max(20px,env(safe-area-inset-bottom));z-index:50}
@media(min-width:681px) and (max-height:900px){
  .in-game .header{height:64px}
  .game{padding-top:20px}
  .table-heading{margin-bottom:16px}
  .poker-surface{height:420px}
  .board-area{top:120px}
  .felt{inset:46px 40px 48px}
  .seat-0{top:82%}
  .seat-1,.seat-5{top:75%}
  .seat-2,.seat-4{top:27%}
  .seat-3{top:14%}
  .seat-cards .card{height:34px;width:25px;font-size:12px}
  .seat-cards .card span{font-size:12px}
  .seat-0 .seat-cards .card{height:48px;width:35px;font-size:18px}
  .seat-0 .seat-cards .card span{font-size:18px}
  .action-panel{margin-top:12px;padding:15px}
  .turn-info{margin-bottom:12px}
}
@media(max-width:680px){
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .in-game .header{height:52px;margin:0 16px}
  .game{padding:14px 10px max(12px,env(safe-area-inset-bottom))}
  .table-heading{margin-bottom:13px;padding:0 3px}
  .table-heading h1{margin-top:6px;font-size:19px}
  .table-heading .eyebrow{letter-spacing:0}
  .table-tools .outline{min-width:79px}
  .table-tools .quiet{min-width:44px;padding:10px 6px}
  .table-meta{margin-bottom:9px}
  .poker-surface{height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:100px 125px 116px;gap:5px;padding:8px}
  .felt{inset:42px 12px 45px;border-radius:110px}
  .felt-border{border-radius:100px}
  .felt-wordmark{display:none}
  .seat{position:relative;inset:auto;transform:none;width:100%;max-width:120px;justify-self:center;align-self:center}
  .seat-0{grid-area:3/2}.seat-1{grid-area:3/1}.seat-2{grid-area:1/1}.seat-3{grid-area:1/2}.seat-4{grid-area:1/3}.seat-5{grid-area:3/3}
  .board-area{position:relative;inset:auto;transform:none;width:100%;grid-area:2/1/3/4;align-self:center}
  .player-info{padding:7px 6px;min-height:46px;gap:4px}
  .avatar{display:none}
  .player-info>div{width:100%}
  .player-info b{font-size:11px;max-width:calc(100% - 5px)}
  .chips{font-size:13px}
  .seat-cards .card{height:30px;width:23px;font-size:12px}
  .seat-cards .card span{font-size:12px}
  .seat-0 .seat-cards .card{height:44px;width:32px;font-size:17px}
  .seat-0 .seat-cards .card span{font-size:17px}
  .seat-cards,.seat-0 .seat-cards{margin-bottom:4px}
  .player-state{margin-top:5px;height:16px;color:var(--text)}
  .empty-seat{font-size:10px;color:var(--positive)}
  .empty-avatar{color:var(--positive);border-color:var(--line)}
  .waiting-title{font-size:20px;margin-top:12px}
  .waiting-description{font-size:12px;margin:7px 0 0}
  .pot-label{margin:6px 0 8px}
  .pot-label strong{font-size:23px;margin-top:3px}
  .action-panel{padding:13px 11px;margin-top:10px}
  .turn-info{margin-bottom:11px;min-height:30px}
  .quick-bets button{min-height:44px;font-size:10px}
  .table-footnote{font-size:9px}
  .toast{bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(min-width:600px) and (max-width:960px) and (max-height:500px) and (orientation:landscape){
  .in-game .header{height:48px}
  .in-game .brand{font-size:25px}
  .in-game .brand-sub{display:none}
  .game{padding:10px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));max-width:none}
  .table-heading{margin-bottom:10px}
  .table-heading h1{font-size:18px;margin-top:4px}
  .play-area{display:grid;grid-template-columns:minmax(310px,1fr) minmax(220px,.7fr);gap:8px 14px}
  .table-meta{grid-column:1/-1;margin-bottom:0}
  .poker-surface{height:320px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:86px 105px 103px;gap:3px;padding:8px}
  .felt{inset:35px 15px;border-radius:85px}
  .felt-wordmark{display:none}
  .seat{position:relative;inset:auto;transform:none;max-width:112px;width:100%;justify-self:center;align-self:center}
  .seat-0{grid-area:3/2}.seat-1{grid-area:3/1}.seat-2{grid-area:1/1}.seat-3{grid-area:1/2}.seat-4{grid-area:1/3}.seat-5{grid-area:3/3}
  .board-area{position:relative;inset:auto;transform:none;width:100%;grid-area:2/1/3/4;align-self:center}
  .board-cards .card{height:44px;width:33px;font-size:16px;padding:4px}
  .board-cards .card span{font-size:16px}
  .avatar{display:none}.player-info{min-height:39px;padding:5px 8px}.chips{font-size:11px}.player-info b{font-size:10px;max-width:90px}
  .seat-cards .card{height:25px;width:20px;font-size:10px;padding:3px}.seat-cards .card span{font-size:10px}
  .seat-0 .seat-cards .card{height:32px;width:25px;font-size:14px}.seat-0 .seat-cards .card span{font-size:13px}
  .seat-cards,.seat-0 .seat-cards{margin-bottom:3px}.player-state{font-size:9px;margin-top:3px;height:14px}
  .pot-label{margin:3px 0 5px}.pot-label strong{font-size:19px;margin-top:2px}.round-label{font-size:9px}
  .action-panel{margin:0;padding:13px 11px;align-self:center}
  .betting-actions{grid-template-columns:1fr 1fr}
  .quick-bets{flex-wrap:wrap;gap:5px}.quick-bets>span{display:none}.quick-bets button{flex:1}
  .lobby-actions{flex-wrap:wrap}.lobby-actions>button{flex-basis:100%}
  .table-footnote{grid-column:1/-1;margin:0}
}

@media(min-width:681px) and (min-height:501px) and (max-height:800px){
  .poker-surface{height:380px}
  .board-area{top:95px}
}

@media(forced-colors:active){
  button,.card{border:1px solid ButtonText}
  button:disabled{color:GrayText;border-color:GrayText;opacity:1}
  .card{background:Canvas;color:CanvasText}
  .seat.folded{opacity:1}
  .side-tabs button[aria-selected=true]{border-bottom:3px solid Highlight}
  .active-seat .player-info{outline-color:Highlight}
}


@media(max-width:680px){.side-tabs{padding-left:5px;padding-right:5px}.side-tabs button{font-size:10px}}

/* Nine-player table layout. */
@media(min-width:681px){
  .poker-surface{height:600px}
  .seat{width:116px}
  .seat-0{left:50%;top:88%}
  .seat-1{left:27%;top:82%}
  .seat-2{left:12%;top:64%}
  .seat-3{left:12%;top:34%}
  .seat-4{left:29%;top:13%}
  .seat-5{left:71%;top:13%}
  .seat-6{left:88%;top:34%}
  .seat-7{left:88%;top:64%}
  .seat-8{left:73%;top:82%}
  .side-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px;border-bottom:0}
  .side-tabs button{min-height:48px;padding:12px 8px;border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--text)}
  .side-tabs button[aria-selected=true]{background:var(--brass);color:var(--on-brass);border-color:var(--brass)}
  #side-content{border-top:1px solid var(--line)}
}
@media(max-width:680px){
  .poker-surface{height:auto;min-height:0;grid-template-rows:112px repeat(3,minmax(76px,auto));grid-auto-flow:row;align-items:center;padding:8px;overflow:visible}
  .board-area{grid-column:1/-1;grid-row:1}
  .seat{grid-area:auto!important;position:relative;inset:auto;transform:none;width:100%;max-width:none;justify-self:stretch;align-self:center}
  .seat-0 .seat-cards .card{height:30px;width:23px;font-size:12px}
  .seat-0 .seat-cards .card span{font-size:12px}
  .seat-cards .card{height:25px;width:19px;font-size:10px;padding:3px}
  .seat-cards .card span{font-size:10px}
  .player-info{min-width:0}
  .player-info b{font-size:10px;max-width:100%;overflow-wrap:anywhere}
  .chips{font-size:11px}
  .player-state{font-size:9px}
  .side-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0;border-bottom:0}
  .side-tabs button{min-height:48px;padding:12px 5px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--text)}
  .side-tabs button[aria-selected=true]{background:var(--brass);color:var(--on-brass);border-color:var(--brass)}
}

/* Functional controls stay legible without decorative microcopy. */
button{font-size:15px}
.header{height:72px}
.brand-sub,.header-note,.felt-wordmark{display:none}
.table-heading .eyebrow,.table-meta,.connection{font-size:13px;letter-spacing:0}
.table-meta span:first-child{font-size:12px;letter-spacing:0}
.table-footnote{font-size:13px;line-height:1.6}
.turn-info b{font-size:15px}
.turn-info div>span,.waiting-host{font-size:14px}
.quick-bets{font-size:13px;gap:8px}
.quick-bets button{font-size:13px}
.raise-control label{font-size:11px;top:5px}
.raise-control input{height:50px;padding-top:23px}
.round-label,.pot-label{font-size:12px;letter-spacing:.5px}
.waiting-description{font-size:14px;line-height:1.6}
.section-caption{font-size:13px;line-height:1.5}


.empty-state b{font-size:14px}
.empty-state p{font-size:13px}
.history-entry>div:first-child,.history-entry p,.game-log li{font-size:14px}
.history-entry time,.history-entry p small{font-size:12px}





@media(min-width:681px){
  .poker-surface{height:600px}
  .board-area{top:208px}
  .seat{width:126px}
  .player-info{padding:9px 8px;gap:7px}
  .player-info b{font-size:13px;max-width:100%}
  .player-info .avatar{display:none}
  .chips{font-size:15px;letter-spacing:0}
  .player-state{font-size:12px;height:20px;line-height:1.6;color:var(--on-brass)}
  .seat-0 .player-state{color:var(--text)}
  .table-tools .outline,.table-tools .quiet{font-size:14px}
}
@media(max-width:680px){
  .header{height:60px;margin:0 16px}
  .header .quiet{font-size:14px;padding:10px 0}
  .game{padding-left:10px;padding-right:10px}
  .table-heading{gap:12px}
  .table-tools .outline,.table-tools .quiet{font-size:13px;min-height:44px}
  .table-meta{flex-wrap:wrap;font-size:13px;line-height:1.5}
  .poker-surface{grid-template-rows:142px repeat(3,minmax(104px,auto));gap:8px;padding:10px;overflow:hidden}
  .felt{inset:14px 8px;border-radius:22px;border-width:5px}
  .felt-border{border-radius:12px}
  .board-area{padding:5px 0}
  .board-cards .card{height:50px;width:36px;font-size:18px}
  .board-cards .card span{font-size:18px}
  .player-info{min-height:50px;padding:7px 6px}
  .player-info b{font-size:13px;max-width:100%;line-height:1.3}
  .player-info b small{font-size:10px}
  .chips{font-size:14px;letter-spacing:0;margin-top:4px}
  .player-state{font-size:12px;line-height:1.4;height:18px;margin-top:5px;white-space:nowrap;color:var(--on-brass)}
  .seat-cards .card{height:30px;width:23px;font-size:12px;padding:4px}
  .seat-cards .card span{font-size:12px}
  .seat-0 .seat-cards .card{height:38px;width:28px;font-size:15px}
  .seat-0 .seat-cards .card span{font-size:15px}
  .empty-seat{font-size:12px;min-height:80px;justify-content:center}
  .empty-avatar{width:30px;height:30px}
  .betting-actions button,.lobby-actions button{min-height:48px;font-size:15px}
  .quick-bets{flex-wrap:wrap;gap:6px}
  .quick-bets button{flex:1;min-width:52px;font-size:12px}
  .quick-bets>span{flex-basis:100%;text-align:right;font-size:12px}
  .table-footnote{font-size:12px}
  .side-tabs button{font-size:14px}



}
@media(min-width:600px) and (max-width:960px) and (max-height:500px) and (orientation:landscape){
  .play-area{display:block}
  .poker-surface{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:142px repeat(3,minmax(104px,auto));height:auto;gap:8px;padding:10px}
  .seat{grid-area:auto!important;position:relative;inset:auto;transform:none;width:100%;max-width:none}
  .board-area{position:relative;inset:auto;transform:none;grid-column:1/-1;grid-row:1;width:100%}
  .felt{inset:14px 8px;border-radius:22px}
  .felt-border{border-radius:12px}
  .player-info b{font-size:13px;max-width:100%}
  .chips{font-size:14px}
  .player-state,.seat-0 .player-state{font-size:12px;height:18px;color:var(--on-brass)}
  .action-panel{margin-top:12px}
}
/* Paced table events: new board cards, the latest action and the hand winner. */
@keyframes card-reveal{from{opacity:0;transform:translateY(-8px) rotateY(80deg)}to{opacity:1;transform:none}}
@keyframes seat-pulse{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}
.board-cards .card.reveal{animation:card-reveal calc(.45s * var(--motion-scale,1)) ease-out both}
.board-cards .card.reveal-1{animation-delay:calc(.6s * var(--motion-scale,1))}.board-cards .card.reveal-2{animation-delay:calc(1.2s * var(--motion-scale,1))}.board-cards .card.reveal-3{animation-delay:calc(1.8s * var(--motion-scale,1))}.board-cards .card.reveal-4{animation-delay:calc(2.4s * var(--motion-scale,1))}
.seat.acted .player-state{animation:seat-pulse calc(.5s * var(--motion-scale,1)) ease-out}
.seat.winner .player-info{outline:3px solid var(--brass);outline-offset:3px;background:var(--surface)}
.seat.just-won .player-info{animation:seat-pulse calc(.7s * var(--motion-scale,1)) ease-out 2}
@media(prefers-reduced-motion:reduce){.board-cards .card.reveal,.seat.acted .player-state,.seat.just-won .player-info{animation:none}}

/* Casino theme: deep green room, ivory cards and one brass accent. */
body{background:var(--page);color:var(--text)}
.brand,h1,h2,h3,.welcome h1,.table-heading h1,.dialog-head h2,.waiting-title,.pot-label strong{font-family:var(--heading);letter-spacing:-.3px}
.brand{font-weight:700;letter-spacing:1px}
.brand-mark{background:var(--brass);color:var(--on-brass);border-radius:8px}
.header{border-bottom-color:var(--line)}
button:focus-visible,a:focus-visible,input:focus,select:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
.primary,.primary.gold{background:var(--brass);color:var(--on-brass)}
.primary:hover,.primary.gold:hover{background:var(--brass-hover)}
.outline{background:transparent;border:1px solid var(--line);color:var(--text)}
.outline:hover,.quiet:hover{background:var(--surface-2);color:var(--text)}
.quiet{color:var(--text-muted)}
.fold-button{background:var(--surface-2);color:var(--text)}
input,select,.entry-form select{background:var(--page);border:1px solid var(--line);color:var(--text)}
input::placeholder{color:var(--text-muted)}
.poker-surface{background:var(--surface);border-radius:16px}
.felt{background:var(--felt);border:10px solid var(--rail);box-shadow:none}
.felt-border{border:1px solid #c9a25338}
.round-label,.pot-label,.waiting-description{color:var(--text-muted)}
.pot-label strong{color:var(--brass-light)}
.waiting-title{color:var(--text)}
.card{background:var(--ivory);color:var(--card-ink)}
.card.red{color:var(--card-red)}
.card.placeholder{background:#0b1f1940;border:1px dashed #c9a25352;color:transparent;box-shadow:none}
.card.back{background:var(--rail);border:2px solid var(--brass);color:var(--brass)}
.card.back span{border-color:var(--brass);font-family:var(--heading)}
.player-info{background:var(--surface);border:1px solid var(--line);box-shadow:none;color:var(--text)}
.player-info b small{color:var(--text-muted)}
.my-seat .player-info{border-color:var(--brass)}
.active-seat .player-info,.seat.winner .player-info{outline:3px solid var(--brass);outline-offset:3px}
.seat.winner .player-info{background:var(--surface-2)}
.player-state,.seat-0 .player-state{color:var(--text)}
.dealer-badge{background:var(--ivory);color:var(--card-ink);border:0;font-family:var(--heading)}
.avatar{background:var(--surface-2);color:var(--brass-light)}
.presence{background:var(--line)}.presence.online{background:var(--positive)}
.empty-seat,.empty-avatar{color:var(--text-muted);border-color:var(--line)}
.action-panel,.sidebar{background:var(--surface);border:1px solid var(--line);border-radius:14px}
.turn-dot{background:var(--line)}
.turn-dot.your-turn{background:var(--brass);box-shadow:0 0 0 4px #c9a25340}
.timer{color:var(--brass-light)}
.quick-bets button{background:transparent;border:1px solid var(--line);color:var(--text)}
.quick-bets button:hover{background:var(--surface-2)}
.side-tabs button{color:var(--text-muted)}
.side-tabs button[aria-selected=true]{background:var(--brass);color:var(--on-brass);border-color:var(--brass)}



.toast{background:var(--brass);color:var(--on-brass)}
dialog{background:var(--surface);color:var(--text);border:1px solid var(--line)}
dialog::backdrop{background:#06140fcc}
dialog p{color:var(--text-muted)}

.skip-link{background:var(--surface);color:var(--text)}
.welcome h1 em{color:var(--brass-light)}
.board-area{color:var(--text)}
/* Phone tables grow with the seated players instead of reserving three empty rows. */
@media(max-width:680px){.poker-surface{grid-template-rows:142px;grid-auto-rows:minmax(96px,auto)}}
@media(min-width:600px) and (max-width:960px) and (max-height:500px) and (orientation:landscape){.poker-surface{grid-template-rows:142px;grid-auto-rows:minmax(96px,auto)}}
/* Custom select arrow: inset from the edge, text aligned with the inputs. */
select,.entry-form select{appearance:none;-webkit-appearance:none;padding-left:12px;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23bac6b6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}

/* Betting totals and seat commitments remain visible before an action is sent. */
.raise-preview{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;margin-top:1rem;padding:.8rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--text-muted);font-size:.8rem}
.raise-preview>span{display:flex;align-items:baseline;gap:.5rem}
.raise-preview b{color:var(--text);font-size:1rem;font-variant-numeric:tabular-nums}
.raise-preview.invalid{color:var(--danger)}
.quick-bets button b{margin-left:.3rem;font-variant-numeric:tabular-nums}
.raise-help{margin:.65rem 0 0;font-size:.75rem;line-height:1.6;color:var(--text-muted)}
.seat .player-state{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.25rem;height:auto;min-height:1.25rem;line-height:1.4;white-space:normal}
.seat-positions{display:inline-flex;gap:.2rem;align-items:center}
.seat-positions .dealer-badge,.blind-badge{display:inline-grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .2rem;margin:0;border-radius:.25rem;font:600 .65rem/1 "Pretendard Variable",sans-serif}
.blind-badge{background:var(--brass);color:var(--on-brass)}
.seat-bet{display:block;margin-top:.2rem;min-height:1.2em;font-size:.75rem;line-height:1.4;color:var(--brass-light);font-variant-numeric:tabular-nums}
@media(min-width:681px) and (min-height:501px){.seat-0{top:86%}}
@media(max-width:680px){
  .raise-preview{gap:.5rem 1rem;font-size:.75rem}
  .raise-preview b{font-size:.9rem}
  .quick-bets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-bets>span{grid-column:1/-1;text-align:left}
  .quick-bets button{width:100%;font-size:.8rem}
  .seat .player-state{font-size:.65rem}
  .seat-bet{font-size:.65rem}
}

/* Personal display choices never change chip values sent to the server. */












.game[data-animation=fast]{--motion-scale:.5}
.game[data-animation=instant] .card.reveal,.game[data-animation=instant] .seat.acted .player-state,.game[data-animation=instant] .seat.just-won .player-info{animation:none}
@media(max-width:680px){}
@media(forced-colors:active){}

/* Table layout: seats spread evenly around the felt by player count, bets sit on the felt in front of each seat. */
.table-bet{display:none}
@media(min-width:681px) and (min-height:501px){
  .poker-surface .seat{left:var(--sx);top:var(--sy)}
  .seat .seat-bet{display:none}
  .table-bet{position:absolute;left:var(--bx);top:var(--by);transform:translate(-50%,-50%);z-index:1;display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem .3rem .35rem;border-radius:999px;background:var(--rail);color:var(--brass-light);font-size:.85rem;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
  .table-bet i{width:1rem;height:1rem;border-radius:50%;background:var(--brass);border:3px dotted var(--ivory)}
}

/* Pre-selected actions replace the disabled betting buttons while waiting for the turn. */
.queue-panel{display:grid;gap:.6rem}
.queue-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.queue-option{min-height:48px;background:transparent;border:1px solid var(--line);color:var(--text)}
.queue-option:hover{background:var(--surface-2)}
.queue-option[aria-pressed=true]{background:var(--brass);border-color:var(--brass);color:var(--on-brass)}
.queue-option[aria-pressed=true]::before{content:"✓ "}
.queue-fold[aria-pressed=false]{color:var(--danger)}
.queue-note{margin:0;font-size:.85rem;line-height:1.6;color:var(--text-muted)}
@media(max-width:680px){.queue-options{gap:6px}.queue-option{padding:10px 6px;font-size:14px}}

/* Expandable hand history. */
details.history-entry summary{list-style:none;cursor:pointer}
details.history-entry summary::-webkit-details-marker{display:none}
details.history-entry summary:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
.history-title{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
details.history-entry .history-title b::after{content:" ▸";color:var(--text-muted)}
details.history-entry[open] .history-title b::after{content:" ▾"}
.history-players{width:100%;margin-top:.75rem;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.history-players th,.history-players td{padding:.5rem 0;border-top:1px solid var(--line);text-align:right;vertical-align:top}
.history-players thead th{color:var(--text-muted);font-weight:500;font-size:12px}
.history-players th[scope=row],.history-players thead th:first-child{text-align:left;font-weight:600}
.history-players small{display:block;font-size:11px;color:var(--text-muted);font-weight:400}
.history-players th small{display:inline}
.history-players small.positive{color:var(--positive)}.history-players small.negative{color:var(--danger)}
.history-cards{display:flex;gap:3px;margin-top:4px}
.history-cards .card{width:22px;height:30px;padding:2px 3px;font-size:11px;border-radius:3px}
.history-cards .card span{font-size:11px}
.history-actions{list-style:none;margin:.75rem 0 0;padding:0;font-size:13px;line-height:1.6}
.history-actions li{padding:.4rem 0;border-top:1px solid var(--line)}
.history-actions b{display:block;font-size:12px;color:var(--brass-light);font-weight:600}
.history-actions span{display:inline-block;margin-right:.75rem;color:var(--text)}
.history-privacy{margin:.5rem 0 0!important;font-size:12px!important;color:var(--text-muted)}
@media(forced-colors:active){.queue-option[aria-pressed=true]{border:2px solid Highlight}.table-bet{border:1px solid CanvasText}}
.account-form{margin-bottom:20px}
.account-form .lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.tournament-entry-select{flex-basis:100%;display:grid;gap:7px;font-size:11px;color:var(--text)}
.tournament-entry-select select{width:100%;min-height:44px}
.account-form .form-note{line-height:1.6}
.account-card{margin:18px 0 20px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.account-card p{margin:8px 0 2px;font-size:14px}
.account-card strong{font-size:20px;color:var(--brass-light);font-variant-numeric:tabular-nums}
.account-card small{color:var(--text-muted);font-size:11px}
.account-card button{display:block;width:100%;margin-top:12px}
.ring-entry{display:block;width:100%;max-width:450px;margin-top:16px}
.buy-in-count{display:block;margin-top:2px;color:var(--text-muted);font-size:.6rem;line-height:1.2;text-align:center;white-space:normal}
.ring-lobby{grid-column:1/-1;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.ring-lobby header h2{margin:0;font-size:21px}
.ring-lobby header p,.ring-lobby-empty{margin:6px 0 16px;color:var(--text-muted);font-size:13px}
.ring-lobby-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.ring-lobby-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px;border:1px solid var(--line);border-radius:7px}
.ring-lobby-list b{overflow-wrap:anywhere}
.ring-lobby-list span,.ring-lobby-list small{color:var(--text-muted);font-size:12px;text-align:right}
.ring-lobby-list strong{font-size:13px;color:var(--brass-light)}
.header #logout-button{padding:8px 12px;font-size:11px;white-space:nowrap}
@media(max-width:680px){.header #logout-button{padding:8px 5px;font-size:10px}}

.home.auth{display:flex;justify-content:center;max-width:520px;min-height:calc(100dvh - 72px);padding:54px 24px 30px}
.home.auth .welcome{width:100%}
.home.auth .welcome h1{font-size:38px;margin:0 0 10px}
.home.auth .entry-form{margin-top:28px;padding-top:24px}
.home.lobby{display:grid;grid-template-columns:minmax(0,1fr);max-width:1080px;padding:36px 24px 24px;gap:20px}
.lobby-heading{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:24px}
.lobby-heading h1{font-size:32px;line-height:1.3;margin:8px 0}
.lobby-heading .intro{margin:0;font-size:15px}
.lobby-heading .account-card{margin:0}
.game-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.game-option{min-width:0;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.game-option h2{font-size:25px;margin:10px 0 6px}
.game-option>p:not(.eyebrow){margin:0 0 20px;color:var(--text);font-size:14px}
.game-option .large{display:flex;justify-content:space-between;width:100%;min-height:50px;margin-top:16px}
.tournament-form{display:grid;gap:8px}
.tournament-form label{display:block;margin:2px 0 6px;font-size:13px}
.tournament-form select{width:100%;min-height:46px;padding:10px 40px 10px 12px;border:1px solid var(--line);border-radius:7px;color:var(--text)}
.tournament-form .form-note{text-align:left;margin:5px 0 0}
.tournament-form .invite-hint{margin:4px 0 0}
.ring-lobby.weekly-buyins{margin:0}
.weekly-buyins .ring-lobby-list strong{color:var(--brass-light)}
@media(max-width:760px){
  .home.auth{min-height:auto;padding:40px 20px 24px}
  .home.lobby{padding:24px 16px 18px;gap:16px}
  .lobby-heading{grid-template-columns:minmax(0,1fr);gap:12px}
  .lobby-heading h1{font-size:27px}
  .lobby-heading .account-card{width:100%}
  .game-selection{grid-template-columns:minmax(0,1fr);gap:12px}
  .game-option{padding:18px}
  .ring-lobby.weekly-buyins{padding:18px}
}
