:root{color-scheme:dark;--ink:#f1efdf;--muted:#a5b3a9;--line:#35483f;--felt:#174f3c;--gold:#e8ca88;--paper:#f1ebd9;--bg:#101c18;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation;-webkit-tap-highlight-color:#e8ca8822}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button,input,select{min-width:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}input,select{width:100%;min-height:48px;border:1px solid #4b5d51;border-radius:8px;padding:10px 12px;background:#14271e;color:var(--ink);font-size:16px}input::placeholder{color:#829588}label{display:block;margin-bottom:8px;font-size:12px;font-weight:600}button{border:0;background:none}em{font-style:normal;color:var(--gold)}.visually-hidden,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{z-index:100;width:auto;height:auto;clip-path:none;left:12px;top:12px;margin:0;padding:12px;background:var(--paper);color:#13251b}
.site-header{height:88px;padding:0 max(32px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font:600 17px/1.1 Georgia,serif;letter-spacing:.08em}.brand-mark{display:grid;place-items:center;width:40px;height:44px;border:1px solid #a8976a;border-radius:15px 15px 5px 5px;color:var(--gold);font-size:27px}.brand-sub{display:block;margin-top:5px;color:#aab6a5;font:9px/1.2 system-ui,sans-serif;letter-spacing:.17em}.site-header nav{display:flex;gap:24px;font-size:12px;color:#c0c9bb}.site-header nav a{padding:12px 0}.site-header nav a:hover{color:var(--gold)}main{max-width:1224px;margin:auto;padding:0 32px}.entry{padding:48px 0 0}.intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px;padding-bottom:38px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.13em;color:#c3c9b5}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:var(--gold)}h1{margin-top:22px;font-size:clamp(40px,4.4vw,60px);line-height:1.27;font-weight:750;letter-spacing:-.055em}.intro-description{margin-top:22px;font-size:14px;color:#b7c1b4;line-height:1.9}.intro-facts{display:flex;gap:0;margin-top:25px;color:#d3d9c7;font-size:11px}.intro-facts span+span{border-left:1px solid #4a5b4e;padding-left:16px;margin-left:16px}
.table-art{position:relative;min-height:340px;overflow:hidden;border:1px solid #3b5344;border-radius:18px;background:radial-gradient(ellipse at 45% 48%,#245942,#162c22 72%)}.art-orbit{position:absolute;inset:28px;border:1px solid #a5a87544;border-radius:50%;transform:rotate(-16deg)}.art-felt{position:absolute;left:8%;right:8%;top:34%;height:65%;border:14px solid #263e2e;border-radius:50%;background:#2c6045;transform:rotate(-16deg);box-shadow:0 0 0 1px #647353,0 16px 0 #11261c}.art-caption{position:absolute;left:26px;top:24px;color:#b3c2a5;font:10px/1.9 Georgia,serif;letter-spacing:.16em}.art-caption b{font:8px system-ui,sans-serif;letter-spacing:.1em}.art-card{position:absolute;top:88px;left:calc(50% - 100px);width:112px;height:157px;border:1px solid #e5e0cb;border-radius:9px;background:var(--paper);color:#20382b;padding:10px 12px;transform:rotate(-15deg);box-shadow:0 16px 24px #071d1a70;font:32px/.95 Georgia,serif}.art-card>span{display:block;margin-top:7px;font-size:24px}.art-card>i{position:absolute;right:16px;bottom:20px;font-size:58px;font-style:normal}.art-card-two{left:calc(50% - 6px);top:106px;transform:rotate(13deg);color:#ae4c3e}.art-chips{position:absolute;right:42px;bottom:53px;display:flex;transform:rotate(-13deg)}.art-chips i{width:45px;height:45px;border:5px dashed #eee6c2;border-radius:50%;background:#b59761;box-shadow:0 5px 0 #6e6748;margin-left:-12px}.art-chips i:nth-child(2){background:#698e7b}.art-button{position:absolute;left:60px;bottom:50px;display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#efe9d0;color:#254d37;font:700 13px Georgia,serif;box-shadow:0 3px 0 #aaa88d}.art-note{position:absolute;bottom:15px;left:25px;color:#b7c3aa;font-size:8px;letter-spacing:.15em}
.entry-panel{padding:26px;border:1px solid #3f5144;border-radius:16px;background:#18291f}.nickname-field{display:grid;grid-template-columns:190px minmax(0,1fr) 1fr;align-items:center;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line)}.nickname-field label{font-size:13px;margin:0}.nickname-field p{font-size:11px;color:var(--muted)}.entry-forms{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding-top:24px}.entry-card{min-width:0;display:flex;flex-direction:column}.entry-card+form{padding-left:26px;border-left:1px solid var(--line)}.section-number{font-size:9px;letter-spacing:.14em;color:#b7bb9e}.entry-card h2{font-size:22px;letter-spacing:-.03em;margin:7px 0 10px}.card-copy{color:var(--muted);font-size:12px;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:11px 18px;border:1px solid #526052;border-radius:8px;font-size:12px;font-weight:650;line-height:1.5}.button:hover{background:#2a3e2e}.button-primary{background:var(--paper);color:#203629;border-color:var(--paper)}.button-primary:hover{background:#fff9e9}.button-secondary{background:#22382a;color:#e9ebd8}.button-gold{background:var(--gold);color:#2f3525;border-color:var(--gold)}.button-gold:hover{background:#f4dda9}.button-fold{color:#dab9a7;border-color:#6b5848;background:#2b2d23}.button-quiet{border-color:transparent;color:#aabaad}.button-small{min-height:42px;padding:9px 12px;font-size:11px}.entry-card>.button{margin-top:auto;justify-content:space-between;width:100%}.entry-card>.button>span{font-size:21px}.table-settings{margin:19px 0 22px;padding:11px 0;border-top:1px solid #35483d;border-bottom:1px solid #35483d}.table-settings summary{min-height:32px;cursor:pointer;font-size:12px}.table-settings summary>span{float:right;font-size:10px;color:#a4b39f;margin:2px 0 0 8px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px 0 3px}.settings-grid label{font-size:11px}.settings-grid select{padding:8px;font-size:14px}.join-card #room-code{margin-top:20px;height:52px;font:25px ui-monospace,monospace;letter-spacing:.35em;text-align:center}.input-hint{font-size:10px;line-height:1.6;color:#a4b29c}.join-card .input-hint{margin:7px 0 20px}.error-message{color:#ffd2ab;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.error-message:empty{display:none}.error-message:not(:empty){padding:12px 15px;margin:14px 0 0;border:1px solid #7c6049;background:#372c21;border-radius:8px}.entry-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:28px 0 44px}.entry-steps p{display:flex;gap:18px;font-size:11px;line-height:1.9;color:var(--muted)}.entry-steps b{font:12px ui-monospace,monospace;color:var(--gold);margin-top:5px}.entry-steps strong{color:#c9d4c3;font-weight:500}
.table-view{padding:27px 0 35px}.room-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.room-header .eyebrow{font-size:9px}.room-code-line{display:flex;align-items:center;gap:14px;margin-top:6px}.room-code-line>span:first-child{color:var(--muted);font-size:11px}.room-code-line strong{font:26px ui-monospace,monospace;letter-spacing:.13em;color:var(--gold)}.connection-state{font-size:10px;color:#b8d6b2;white-space:nowrap}.room-tools{display:flex;gap:6px;align-items:center}.table-status-line{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 14px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:#cbd6c5}.table-status-line>span{flex-shrink:0;font:10px ui-monospace,monospace;color:#9bb397}#table-status{overflow-wrap:anywhere}.hand-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.table-stage{position:relative;min-height:610px;border:1px solid #314638;border-radius:18px;background:radial-gradient(ellipse at center,#193a2d 0,#14271f 64%,#15231c 100%);overflow:hidden}.table-felt{position:absolute;inset:87px 94px 120px;border:13px solid #304b37;border-radius:47%;box-shadow:0 0 0 1px #667957,0 0 0 7px #14271d,inset 0 0 65px #0a2924;background:radial-gradient(ellipse at center,#256d4e,#1c543e)}.table-felt>span{position:absolute;bottom:31px;left:0;right:0;text-align:center;color:#8eb2904a;font:12px Georgia,serif;letter-spacing:.3em}.board-center{position:absolute;z-index:1;top:38%;left:50%;transform:translate(-50%,-50%);text-align:center;min-width:330px}.street-label{font-size:9px;color:#d2ddc6;letter-spacing:.14em}.pot{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:6px 0 16px}.pot>span,.pot>small{font-size:9px;letter-spacing:.12em;color:#bbcead}.pot strong{font:32px ui-monospace,monospace;color:#f0e3b4}.board{display:flex;justify-content:center;gap:7px}.board-note{margin-top:13px;color:#a8c5a085;font-size:8px;letter-spacing:.18em}.playing-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;flex-shrink:0;width:57px;height:79px;padding:6px 7px;border:1px solid #d3d6c0;border-radius:6px;color:#20392c;background:#f3f0e1;font:24px/1.1 Georgia,serif;box-shadow:0 3px 0 #0a251f55}.playing-card .card-suit{align-self:flex-end;font-size:26px}.playing-card.is-red{color:#b04c45}.playing-card.is-back{border-color:#74866c;background:repeating-linear-gradient(45deg,#415d4b 0 3px,#2d4638 3px 6px);box-shadow:inset 0 0 0 3px #1e392e}.playing-card.is-empty{border:1px dashed #96b89955;background:#123e2d55;box-shadow:none;color:transparent}.seats{position:absolute;inset:0;z-index:2;pointer-events:none}.seat{position:absolute;width:147px;min-height:112px;padding:10px;border:1px solid #4a6050;border-radius:11px;background:#162b22;pointer-events:auto;box-shadow:0 4px 12px #0b1e1830;transition:border-color .15s}.seat.is-self{width:192px;background:#243d2c;border-color:#9f9d6b}.seat.is-turn{border-color:#eed492;box-shadow:0 0 0 2px #e4cb8750}.seat.is-folded{opacity:.55}.seat.is-winner{border-color:#d1e89d;background:#2f4931}.seat.is-waiting{border-style:dashed}.seat-head{display:flex;justify-content:space-between;align-items:center;gap:6px}.seat-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650}.seat-position{flex-shrink:0;color:#e8d898;font:9px ui-monospace,monospace}.seat-stack{color:#ead8a6;font:15px/1.6 ui-monospace,monospace}.seat-cards{display:flex;gap:4px;margin:5px 0}.seat-cards .playing-card{width:29px;height:40px;padding:3px 4px;font-size:14px;border-radius:4px}.seat-cards .card-suit{font-size:14px}.seat.is-self .playing-card{width:36px;height:49px;font-size:17px}.seat.is-self .card-suit{font-size:17px}.seat-bet,.seat-state{font-size:9px;line-height:1.6;color:#b8cdb2;overflow-wrap:anywhere}.seat:nth-child(n){left:var(--seat-x,50%);top:var(--seat-y,50%);right:auto;bottom:auto;transform:translate(-50%,-50%)}.hand-summary:empty,.turn-hint:empty{display:none}.hand-summary{margin-top:14px;padding:18px 20px;border:1px solid #a8aa73;border-radius:10px;background:#2a402a;color:#edf3d5;font-size:13px}.result-line{display:flex;justify-content:space-between;gap:20px;padding:4px 0}.result-name{overflow-wrap:anywhere}.result-amount{flex-shrink:0;color:var(--gold);font-variant-numeric:tabular-nums}.turn-hint{margin:15px 0;color:#d7dfc9;font-size:12px}.action-panel{padding:18px 20px;margin-top:14px;border:1px solid #a49b68;border-radius:13px;background:#1f3526}.action-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:10px;color:#b7c9a9}.action-heading>span:first-child{color:var(--gold);font-weight:700;letter-spacing:.15em}.quick-actions{display:flex;gap:8px}.quick-actions .button{flex:1;min-height:46px}.raise-form{display:grid;grid-template-columns:120px 1fr;gap:10px 16px;align-items:center;border-top:1px solid #52644a;margin-top:14px;padding-top:14px}.raise-form>label{margin:0}.raise-input-row{display:flex;gap:8px}.raise-input-row input{flex:1;font-variant-numeric:tabular-nums}.raise-input-row .button{min-width:110px}.raise-form input[type=range]{grid-column:1/-1;min-height:24px;padding:0;accent-color:var(--gold);border:0;background:none}.raise-presets{display:flex;gap:6px;flex-wrap:wrap;grid-column:1/-1}.raise-preset{flex:1;min-height:36px;border:1px solid #556647;border-radius:6px;background:#283d2b;color:#dbdfc5;font-size:11px}.raise-preset:hover{background:#41513a}.raise-form>.input-hint{grid-column:1/-1}.activity-panel{margin-top:20px;border-top:1px solid var(--line)}.activity-panel summary{min-height:48px;padding:15px 0;cursor:pointer;color:#b1c0a9;font-size:12px}#table-log{max-height:240px;overflow-y:auto;padding-left:22px;margin:0 0 15px;font-size:11px;color:#9db19a;line-height:1.9}
.how-to-play{border-top:1px solid var(--line);margin:0 0 20px;scroll-margin-top:20px}.how-to-play>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:76px;cursor:pointer;list-style:none;font-size:14px;color:#d4dac7}.how-to-play>summary::-webkit-details-marker{display:none}.how-to-play>summary>span:last-child{color:#a6b69e;font-size:11px}.how-to-play summary span[aria-hidden]{margin:0 7px;color:var(--gold)}.rules-content{display:grid;grid-template-columns:1fr 1fr;gap:34px;padding:12px 0 30px;line-height:1.9;color:#b4c2ac;font-size:12px}.rules-content h2{font-size:19px;color:#e8e9d5;margin-bottom:14px}.rules-content h3{font-size:14px;color:#e4ddbd;margin:15px 0 12px}.rules-content dl{display:grid;grid-template-columns:80px 1fr;gap:12px}.rules-content dt{color:#e0e5cd}.rules-content dd{margin:0}.hand-ranks{padding:0;list-style:none;counter-reset:hand}.hand-ranks li{display:flex;justify-content:space-between;gap:12px;counter-increment:hand;padding:8px 0;border-bottom:1px solid #314739;font-size:11px}.hand-ranks li b{font-weight:600;color:#ced5bd}.hand-ranks li b:before{content:counter(hand,decimal-leading-zero) ' ';margin-right:12px;color:#9da67e;font:9px ui-monospace,monospace}.hand-ranks li>span{color:#8fa38e}.rules-note{font-size:11px;margin-top:15px;color:#92a68e}.house-rules{grid-column:1/-1;border-top:1px solid var(--line);padding-top:7px}.house-rules p+p{margin-top:10px}footer{max-width:1224px;margin:auto;padding:24px 32px 32px;display:flex;justify-content:space-between;gap:18px;align-items:center;color:#81977f;font-size:10px;border-top:1px solid var(--line)}footer>span{letter-spacing:.1em;font:11px Georgia,serif;color:#b8c2a4}footer a:hover{color:var(--gold)}
@media(max-width:1000px) and (min-width:701px){.table-stage{min-height:600px}.seat{width:123px;padding:8px}.seat.is-self{width:166px}.table-felt{inset:92px 60px 126px}.board-center{min-width:300px}.playing-card{width:51px;height:73px}}
@media(max-width:700px){.site-header{height:72px;padding:0 max(16px,env(safe-area-inset-left,0px));gap:12px}.brand{font-size:14px;gap:9px}.brand-mark{width:32px;height:36px;font-size:22px}.brand-sub{font-size:7px}.site-header nav{font-size:10px;gap:14px}main{padding:0 max(16px,env(safe-area-inset-left,0px))}.entry{padding-top:29px}.intro{gap:22px;grid-template-columns:1fr;padding-bottom:26px}.intro .eyebrow{font-size:8px;letter-spacing:.1em}h1{margin-top:16px;font-size:43px;line-height:1.25}.intro-copy{position:relative}.intro-description{margin-top:16px;font-size:12px}.intro-facts{font-size:10px;margin-top:20px}.table-art{display:none}.entry-panel{padding:18px;border-radius:13px}.nickname-field{display:block;padding-bottom:20px}.nickname-field label{margin-bottom:9px;font-size:12px}.nickname-field p{margin-top:7px;font-size:10px}.entry-forms{gap:22px;grid-template-columns:1fr;padding-top:20px}.entry-card+form{padding-left:0;padding-top:22px;border-left:0;border-top:1px solid var(--line)}.entry-card h2{font-size:21px}.card-copy{font-size:11px}.table-settings{margin-top:15px;margin-bottom:16px}.table-settings summary{font-size:11px}.table-settings summary>span{font-size:9px}.settings-grid{gap:8px}.settings-grid select{font-size:14px;padding:8px 6px}.entry-steps{gap:14px;margin:22px 0 28px;grid-template-columns:1fr}.entry-steps p{gap:14px;font-size:11px}.entry-steps p>span br{display:none}.entry-steps p>span strong{margin-left:7px}.room-header{gap:10px;align-items:flex-start}.table-view{padding:20px 0}.room-header .eyebrow{font-size:8px;letter-spacing:.08em}.room-code-line{gap:9px;flex-wrap:wrap}.room-code-line strong{font-size:22px}.room-code-line>span:first-child{display:none}.connection-state{font-size:9px}.room-tools{gap:4px;flex-direction:column;align-items:stretch}.room-tools .button-small{font-size:10px;padding:8px 10px;min-height:40px}.room-tools .button-quiet{font-size:10px;min-height:32px;padding:4px 8px}.table-status-line{margin:12px 0 10px;padding:9px 0;font-size:11px;align-items:flex-start}.table-status-line>span{font-size:9px}.hand-controls{margin-bottom:12px}.hand-controls .button{flex:1;min-height:44px;font-size:11px;padding:9px 10px}.table-stage{min-height:0;padding:0 8px 9px;border-radius:13px;background:#152c21;overflow:visible}.table-felt{inset:8px 8px auto;height:198px;border-width:8px;border-radius:40px;box-shadow:0 0 0 1px #61734f,inset 0 0 40px #09291d}.table-felt>span{bottom:16px;font-size:8px}.board-center{position:relative;inset:auto;transform:none;min-width:0;padding:26px 4px 37px;margin-bottom:2px}.street-label{font-size:8px}.pot{margin:4px 0 12px;gap:8px}.pot strong{font-size:26px}.pot>span,.pot>small{font-size:8px}.board{gap:5px}.board>.playing-card{width:43px;height:61px;padding:5px 6px;font-size:21px}.board>.playing-card .card-suit{font-size:23px}.board-note{margin-top:10px;font-size:7px}.seats{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.seat:nth-child(n){position:relative;inset:auto;transform:none;width:auto;min-width:0;min-height:0;padding:9px;box-shadow:none}.seat.is-self{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;padding:12px}.seat.is-self .seat-head,.seat.is-self .seat-stack,.seat.is-self .seat-state,.seat.is-self .seat-bet{grid-column:1}.seat.is-self .seat-cards{grid-column:2;grid-row:1/5;gap:5px;margin:0}.seat.is-self .playing-card{width:48px;height:66px;padding:5px;font-size:22px}.seat.is-self .card-suit{font-size:23px}.seat-name{font-size:11px}.seat-stack{font-size:14px}.seat-bet,.seat-state{font-size:9px}.seat-cards{margin:6px 0 4px}.seat-cards .playing-card{width:28px;height:38px}.hand-summary{padding:13px;margin-top:12px;font-size:12px}.result-line{gap:12px}.turn-hint{font-size:11px;margin:12px 0}.action-panel{position:fixed;z-index:20;bottom:0;left:0;right:0;margin:0;padding:12px max(16px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-bottom,0px));border:1px solid #827d51;border-bottom:0;border-radius:14px 14px 0 0;box-shadow:0 -8px 28px #07180f70}.action-heading{font-size:9px;margin-bottom:8px}.quick-actions .button{min-height:44px;font-size:12px;padding:9px}.raise-form{grid-template-columns:minmax(0,1fr);gap:7px;margin-top:10px;padding-top:8px}.raise-form>label{display:none}.raise-input-row input{min-height:44px;padding:8px 10px;font-size:16px}.raise-input-row .button{min-width:100px;padding:8px}.raise-form input[type=range]{min-height:20px}.raise-presets{gap:5px}.raise-preset{min-height:34px;font-size:10px}.raise-form>.input-hint{font-size:9px}body.is-your-turn{padding-bottom:270px}.activity-panel{margin-top:15px}.how-to-play>summary{min-height:65px;font-size:12px;gap:8px}.how-to-play>summary>span:last-child{font-size:9px}.rules-content{grid-template-columns:1fr;gap:20px;font-size:12px;padding-bottom:20px}.rules-content h2{font-size:18px}.hand-ranks li{font-size:11px}.house-rules{grid-column:auto}footer{padding:20px 16px 26px;flex-wrap:wrap;gap:9px;font-size:9px}footer>p{display:none}}
@media(max-width:360px){main{padding:0 12px}.site-header{padding:0 12px}.site-header nav{gap:10px}.site-header nav a:first-child{display:none}h1{font-size:39px}.entry-panel{padding:16px}.table-settings summary>span{float:none;display:block;margin:4px 0 0}.table-settings summary{min-height:44px}.board>.playing-card{width:40px;height:57px}.board-center{padding-left:0;padding-right:0}.room-tools .button-small{font-size:9px}.seat.is-self .playing-card{width:43px;height:60px}.seat.is-self{padding:10px}.entry-steps p>span strong{display:block;margin:0}.table-felt{height:191px}}
@media(orientation:landscape) and (max-height:500px){.action-panel{position:static;border:1px solid #a49b68;border-radius:12px;box-shadow:none}.action-heading{display:none}.raise-form{grid-template-columns:100px minmax(0,1fr)}.raise-form>label{display:block}body.is-your-turn{padding-bottom:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.error-message[data-kind="notice"]{color:#d7e7b7;border-color:#67784a;background:#263c28}

.room-header .turn-hint{font-size:11px;margin:5px 0 0;overflow-wrap:anywhere}.action-heading #action-countdown{color:#e8d89c;font-variant-numeric:tabular-nums}.summary-title{font-size:15px;margin-bottom:8px}.summary-note{font-size:11px;line-height:1.7}

.site-header{height:calc(88px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
@media(max-width:700px){.site-header{height:calc(72px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}main{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}}
@media(max-width:360px){main,.site-header{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}}

.hand-summary{margin:0 0 14px}.has-table .hand-controls:empty{display:none}
@media(max-width:360px){.action-panel{padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.raise-form input[type=range]{display:none}.board-center{padding-top:20px;padding-bottom:29px}.table-felt{height:177px}}
/* A compact, on-demand sound panel keeps the table and mobile action area clear. */
.site-header nav{align-items:center}.audio-settings{position:relative;flex-shrink:0;z-index:40}.audio-settings>summary{position:relative;display:grid;place-items:center;width:44px;height:44px;list-style:none;border:1px solid #455c4b;border-radius:50%;cursor:pointer;color:var(--gold)}.audio-settings>summary::-webkit-details-marker{display:none}.audio-settings[open]>summary{background:#2b4432;border-color:#c5ac74}.audio-indicator{position:absolute;width:6px;height:6px;bottom:7px;right:8px;border-radius:50%;background:#7e8b7a}.audio-settings[data-state=playing] .audio-indicator{background:#b9d39c}.audio-settings[data-state=muted]>summary{color:#8b9a88}.audio-settings[data-state=muted] .audio-indicator{width:13px;height:1px;border-radius:0;transform:rotate(-45deg);right:7px;bottom:11px;background:#bac4af}.audio-panel{position:absolute;right:0;top:calc(100% + 10px);width:292px;max-width:calc(100vw - 40px);padding:18px;border:1px solid #657256;border-radius:14px;background:#1b3024;box-shadow:0 12px 32px #06130dbb;color:var(--ink);font-size:12px;line-height:1.6}.audio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.audio-heading h2{font-size:14px;letter-spacing:-.02em}.audio-heading button{min-height:36px;padding:6px 8px;border:1px solid #53664d;border-radius:7px;font-size:10px;color:#c9d3bb}.audio-status{min-height:36px;padding-top:4px;font-size:10px;color:#b1c2a6}.audio-channel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 12px;margin-top:10px}.audio-switch{display:flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-size:12px}.audio-switch input{width:18px;height:18px;min-height:0;padding:0;accent-color:var(--gold)}.audio-channel output{font-size:10px;color:#c5d1b8;font-variant-numeric:tabular-nums}.audio-channel input[type=range]{grid-column:1/-1;width:100%;min-height:32px;padding:0;border:0;background:none;accent-color:var(--gold);cursor:pointer}.audio-channel input[type=range]:disabled{opacity:.35}.audio-preview{width:100%;min-height:40px;margin-top:12px;font-size:11px}.audio-note{margin-top:10px;font-size:9px;color:#9eb293}.audio-note a{color:#c5d1b8;text-decoration:underline}
@media(max-width:480px){.site-header nav{gap:9px}.site-header nav>a:first-child{display:none}.audio-panel{right:0}.audio-settings>summary{width:40px;height:40px}}
.audio-panel{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}.sound-credits{margin:0 0 24px;border-top:1px solid var(--line);color:#9fb39a;font-size:10px}.sound-credits>summary{padding:14px 0;cursor:pointer}.sound-credits>div{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-bottom:8px;line-height:1.9}.sound-credits a{color:#c0cdb2;text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.sound-credits>div{grid-template-columns:1fr;gap:12px}}
/* Five-card examples use the same lightweight card faces as the live table. */
.rules-content{grid-template-columns:minmax(0,1fr);gap:24px}.rules-basics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px}.rules-basics h3{margin-top:0}.hand-guide{min-width:0}.hand-guide-intro{font-size:12px;line-height:1.8;color:#aabb9f}.hand-ranks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}.hand-ranks li{display:flex;flex-direction:column;justify-content:flex-start;gap:12px;min-width:0;padding:15px;border:1px solid #435d48;border-radius:11px;background:#192e22;font-size:12px}.hand-rank-heading{display:flex;flex-direction:column;gap:2px}.hand-ranks li b{color:#edf0d8;font-size:13px}.hand-ranks li b:before{margin-right:9px;color:var(--gold);font-size:10px}.hand-rank-heading>span{color:#aabca0;font-size:11px}.hand-example{display:flex;align-items:center;gap:6px}.hand-example .playing-card{width:42px;height:60px;padding:5px;border-radius:5px;font-size:20px;box-shadow:0 2px 0 #071f1755}.hand-example .card-suit{font-size:23px}.hand-example .is-key{border:2px solid #e8ca88;padding:4px}.hand-example .is-second-group{border:2px solid #8dbfa4;padding:4px}.hand-example .is-kicker{border-color:#81957c;background:#ccd4c0;color:#3d5143}.hand-example .is-kicker.is-red{color:#914238}.hand-example-note{max-width:36ch;color:#c2cfb5;font-size:11px;line-height:1.8}.hand-guide .rules-note{max-width:85ch;margin-top:15px;line-height:1.9}@media(min-width:701px) and (max-width:1000px){.hand-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.rules-basics{grid-template-columns:minmax(0,1fr);gap:18px}.hand-ranks{grid-template-columns:minmax(0,1fr);gap:10px}.hand-ranks li{padding:14px;gap:10px}.hand-example{gap:7px}.hand-example-note{max-width:none}.hand-guide-intro{font-size:11px}.rules-content{gap:20px}}
.card-value-key{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;margin-top:12px;color:#d2dbbc;font-size:11px}.card-value-key strong{color:#a6b99b;font-size:10px;font-weight:500}.card-value-key>span{letter-spacing:.04em}

/* Friends Table masthead: restored poker crest and wordmark, centered independently
   of the back and sound controls. */
.site-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  height: calc(90px + env(safe-area-inset-top,0px));
  padding-top: env(safe-area-inset-top,0px);
  background: linear-gradient(180deg, #192b22 0%, #102018 100%);
  border-bottom: 1px solid #55644b;
  box-shadow: inset 0 -1px 0 #172a2033;
}
.site-header .header-back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-height: 44px;
  padding: 0 11px 0 0;
  white-space: nowrap;
  color: #e8e9d9;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.site-header .header-back>span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #5c715c;
  border-radius: 50%;
  color: var(--gold);
  font-size: 19px;
  line-height: 1;
  transition: border-color .15s, background .15s;
}
.site-header .header-back:hover { color: var(--gold); }
.site-header .header-back:hover>span:first-child { border-color: var(--gold); background: #314d36; }
.site-header .brand.header-game-title {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  white-space: nowrap;
  font-size: initial;
  letter-spacing: normal;
}
.site-header .header-game-title .brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 47px;
  border: 1px solid #c5ae75;
  border-radius: 16px 16px 5px 5px;
  color: var(--gold);
  background: linear-gradient(150deg, #305039, #183025);
  box-shadow: inset 0 1px 0 #e8ca8830, 0 4px 12px #00000020;
  font: 27px/1 Georgia, serif;
}
.site-header .header-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.08;
}
.site-header .header-brand-name {
  color: #f5ebd2;
  font: 700 18px/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: .115em;
}
.site-header .header-brand-copy .brand-sub {
  display: block;
  margin-top: 3px;
  color: #bfcaaf;
  font: 600 8px/1.35 system-ui, sans-serif;
  letter-spacing: .17em;
}
.site-header .header-title-ko {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font: 650 10px/1.2 system-ui, sans-serif;
  letter-spacing: .065em;
}
.site-header nav {
  display: flex;
  justify-self: end;
  align-items: center;
  min-width: 0;
  gap: 12px;
}
.site-header nav>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #4a6651;
  border-radius: 8px;
  color: #cbd6c0;
  font-size: 12px;
  white-space: nowrap;
}
.site-header nav>a:hover { border-color: #c3ad7c; color: var(--gold); background: #263f30; }
.site-header .audio-settings>summary { border-color: #957d50; color: var(--gold); background: #283d2e; }
.site-header .audio-settings>summary:hover { border-color: var(--gold); background: #3a5038; }
.site-header :is(.header-back,.audio-settings>summary,nav>a):focus-visible { outline: 2px solid #f2db94; outline-offset: 3px; }

@media (max-width:700px) {
  .site-header {
    height: calc(72px + env(safe-area-inset-top,0px));
    gap: 7px;
    padding-left: max(16px,env(safe-area-inset-left,0px));
    padding-right: max(16px,env(safe-area-inset-right,0px));
  }
  .site-header .header-back { gap: 5px; padding-right: 0; font-size: 11px; }
  .site-header .header-back>span:first-child { width: 26px; height: 26px; font-size: 16px; }
  .site-header .brand.header-game-title { gap: 7px; }
  .site-header .header-game-title .brand-mark { width: 30px; height: 35px; flex-basis: 30px; font-size: 21px; border-radius: 12px 12px 4px 4px; }
  .site-header .header-brand-name { font-size: 14px; letter-spacing: .09em; }
  .site-header .header-brand-copy .brand-sub { font-size: 7px; letter-spacing: .10em; margin-top: 1px; }
  .site-header .header-title-ko { margin-top: 4px; font-size: 9px; letter-spacing: .02em; }
  .site-header nav { gap: 0; }
  .site-header nav>a { display: none; }
  .site-header .audio-settings>summary { width: 40px; height: 40px; }
}
@media (max-width:360px) {
  .site-header { padding-left: max(12px,env(safe-area-inset-left,0px)); padding-right: max(12px,env(safe-area-inset-right,0px)); }
  .site-header .header-back { font-size: 10px; }
  .site-header .header-back>span:first-child { width: 23px; height: 23px; }
  .site-header .brand.header-game-title { gap: 5px; }
  .site-header .header-game-title .brand-mark { width: 27px; height: 32px; flex-basis: 27px; font-size: 19px; }
  .site-header .header-brand-name { font-size: 12px; }
  .site-header .header-brand-copy .brand-sub { font-size: 6px; }
  .site-header .header-title-ko { font-size: 9px; }
}
@media (prefers-reduced-motion:reduce) {
  .site-header .header-back>span:first-child { transition: none; }
}


/* Poker uses the shared navigation control sizes while preserving the card-table identity. */
.site-header :is(.header-back,.ug-share-poker,.standalone-hub-button,.audio-settings>summary) {
  min-height:44px;min-width:44px;
}
.site-header .header-title-ko {font-size:max(11px,0.72rem);line-height:1.25;}
.site-header :is(.audio-settings,.audio-panel) :is(button,input,summary):focus-visible {
  outline:3px solid #ead49c;outline-offset:2px;
}

/* On the static landing page, connect before entering a nickname or room code. */
.entry-panel.await-online-connection > :is(.nickname-field,.entry-forms) {display:none!important;}
.online-connection-gate {display:grid;gap:12px;align-items:start;padding:16px 0;}
.online-connection-gate h2 {margin:0;font-size:clamp(17px,2vw,23px);line-height:1.4;}
.online-connection-gate #online-retry {display:inline-flex;align-items:center;justify-content:center;min-height:48px;width:max-content;max-width:100%;font-size:14px;}
.online-connection-gate #online-retry[hidden] {display:none!important;}
.online-connection-gate #entry-error {margin:0;line-height:1.6;}

/* Poker table quick presets, random nickname button, and live hand/pot-odds assistant HUD */
.nickname-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nickname-input-wrap input {
  flex: 1;
}
.nickname-random-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  border-color: #6b7f67;
  background: #22382b;
  color: #ebefd8;
}
.nickname-random-btn:hover {
  border-color: var(--gold);
  background: #2f4b39;
}
.table-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}
.table-preset-chip {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #485e4e;
  background: #172b20;
  color: #d6dfd0;
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.14s ease;
}
.table-preset-chip:hover {
  background: #233e2f;
  border-color: #9fb494;
  transform: translateY(-1px);
}
.table-preset-chip.is-selected {
  background: linear-gradient(135deg, #35543d, #243c2b);
  border-color: var(--gold);
  color: #fff6dc;
  box-shadow: inset 0 0 0 1px #e8ca8855;
}
.poker-assistant {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #60775c;
  background: linear-gradient(135deg, #1d3528, #16291f);
  box-shadow: 0 6px 18px #08150f40;
}
.assistant-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.assistant-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #adc2b0;
  letter-spacing: 0.03em;
}
.assistant-item strong {
  font-size: 13px;
  font-weight: 800;
  color: #f6e7bc;
  overflow-wrap: anywhere;
}
html[data-theme="light"] body .nickname-random-btn {
  background: #e9e0cc;
  border-color: #b7a37e;
  color: #283b2f;
}
html[data-theme="light"] body .table-preset-chip {
  background: #f5efe0;
  border-color: #c8b899;
  color: #2c4033;
}
html[data-theme="light"] body .table-preset-chip.is-selected {
  background: #274b37;
  border-color: #1c3929;
  color: #fff8e6;
}
html[data-theme="light"] body .poker-assistant {
  background: linear-gradient(135deg, #f7f1e3, #ede3cd);
  border-color: #bfa980;
}
html[data-theme="light"] body .assistant-label {
  color: #5b6d5e;
}
html[data-theme="light"] body .assistant-item strong {
  color: #214432;
}
@media (max-width: 640px) {
  .poker-assistant {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px;
  }
  .table-presets {
    grid-template-columns: 1fr 1fr;
  }
}
