
:root{color-scheme:dark;--bg:#0e1110;--panel:#151916;--line:#2a3029;--text:#dcded5;--muted:#8b958c;--gold:#c7b17b;--gold-bright:#e2ce98;--green:#81ad94;--red:#c07872;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:320px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button{transition:background .16s,border-color .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}.hidden{display:none!important}.muted{color:var(--muted)}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 30% 15%,#25302424,transparent 60%);z-index:-1}.topbar{height:96px;max-width:1680px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;margin:auto;border-bottom:1px solid #ffffff0b}.brand{display:flex;align-items:center;gap:15px}.brand-mark{width:46px;height:50px;display:grid;place-items:center;font-size:38px;color:var(--gold);border:1px solid #b9a47155;border-radius:13px 13px 17px 17px;background:linear-gradient(135deg,#c7b17b0c,transparent)}.brand strong{font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;display:block;font-size:23px;letter-spacing:4px;font-weight:600}.brand small{display:block;letter-spacing:2.4px;font-size:10px;margin-top:6px;color:#929787}.topbar-center{display:flex;align-items:center;gap:23px;font-size:13px;letter-spacing:2px;color:#7a857c}.tiny-suit{color:#a9946580;font-size:16px}.topbar-actions{display:flex;align-items:center;gap:17px}.connection{font-size:12px;color:#a3afa4;display:flex;align-items:center;gap:8px}.connection i{display:block;width:6px;height:6px;border-radius:50%;background:#82aa89;box-shadow:0 0 10px #78b58222}.connection.offline i{background:#d1a367}.icon-button{width:34px;height:34px;background:none;border:1px solid #364034;border-radius:50%;font-size:17px;color:#929d91;display:inline-grid;place-items:center;position:relative}.icon-button:hover{color:var(--gold-bright);border-color:var(--gold)}.sound-off{position:absolute;font-size:20px;color:#8b958c}.workspace{max-width:1680px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:36px;padding:35px 48px 20px}.game-column{min-width:0}.room-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 23px}.eyebrow{font-size:10px;letter-spacing:2px;color:#a69670;font-weight:600}.room-heading h1{font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;font-size:26px;font-weight:500;letter-spacing:1.5px;margin:10px 0 0;line-height:1.45}.room-tools{display:flex;align-items:center;gap:10px}.text-button{border:0;background:none;color:#a8b19e;font-size:13px;padding:5px 0}.text-button:hover{color:var(--gold-bright)}#rules-toggle{display:none}.secondary-button{border:1px solid #4a4938;background:#c7b17b08;padding:10px 16px;border-radius:7px;color:#cfbe96;font-size:13px}.secondary-button:hover{background:#c7b17b15;border-color:var(--gold)}.secondary-button span{margin-left:10px}.primary-button{color:#1e251d;background:linear-gradient(105deg,#d7c18e,#bda06a);border:1px solid #d6bf8e;border-radius:7px;padding:13px 22px;font-weight:650;letter-spacing:1px;box-shadow:0 3px 20px #0002}.primary-button:hover{background:#e0cb99}.table-stage{height:600px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #272e26;border-radius:16px;background:radial-gradient(ellipse at 50% 50%,#26352b48,transparent 74%),repeating-linear-gradient(100deg,#ffffff01 0,#ffffff01 1px,transparent 1px,transparent 6px),#121613;box-shadow:0 15px 60px #0002}.table-caption{position:absolute;top:22px;left:26px;right:26px;display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:2px;color:#76806f}.table-caption span:last-child{font-size:11px;letter-spacing:1px;color:#6f7b71}.poker-table{position:absolute;inset:95px 42px 92px;border-radius:44%;padding:13px;background:linear-gradient(160deg,#34372d,#171c16 40%,#30352b);box-shadow:0 30px 45px #0008,0 2px 2px #9a986b2d,inset 0 0 0 1px #80836a40,inset 0 2px 6px #9292751a;z-index:-1}.felt{height:100%;position:relative;border-radius:44%;background:radial-gradient(ellipse,#203a2c 0%,#192e23 70%,#14281d 100%);border:1px solid #050f0955;box-shadow:inset 0 0 65px #0006;overflow:hidden}.felt:after{content:"";position:absolute;inset:0;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.3' d='M0 0h160v160H0z'/%3E%3C/svg%3E");pointer-events:none}.felt-line{position:absolute;inset:22px;border:1px solid #b9ba8230;border-radius:44%}.table-watermark{position:absolute;bottom:48px;left:0;right:0;text-align:center;letter-spacing:7px;font-family:Georgia,serif;font-size:19px;color:#b8b58a19}.table-watermark span{font-size:25px;letter-spacing:6px}.table-bottom-note{position:absolute;bottom:22px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:3px;color:#747d635e}.lobby-panel{position:absolute;top:45px;left:50%;width:370px;transform:translateX(-50%);padding:22px 26px 17px;border:1px solid #a6a98224;background:linear-gradient(150deg,#1b231ee8,#151d18f7);box-shadow:0 20px 60px #0005;border-radius:12px;backdrop-filter:blur(18px)}.lobby-emblem{color:#c9b985;font-size:31px;text-align:center;line-height:1}.lobby-panel h2{text-align:center;font-size:20px;font-weight:500;letter-spacing:1px;margin:13px 0 7px}.lobby-panel>p{text-align:center;font-size:12px;margin:0 0 22px}.tabs{display:flex;background:#0d140fb3;border-radius:6px;padding:4px;gap:3px;margin-bottom:18px}.tab{border:0;background:none;color:#9ba393;flex:1;font-size:13px;padding:9px;border-radius:4px}.tab.active{background:#303a2f;color:#d9d1b6;box-shadow:0 2px 3px #0002}label{font-size:12px;color:#acb5a7;display:block;margin-bottom:7px}input,select{border:1px solid #394234;background:#111912;color:#d6dccf;border-radius:5px;padding:10px 11px;outline:none;width:100%;font-size:13px;min-height:40px}input::placeholder{color:#67725f}input:focus,select:focus{border-color:#a08f63;box-shadow:0 0 0 2px #c7b17b13}.field-row{display:flex;gap:12px;margin-top:15px}.field-row>div{min-width:0;flex:1}.field-row .seat-field{max-width:86px}.room-options{margin-top:16px}.room-options summary{list-style:none;font-size:12px;color:#adb6a5;cursor:pointer;display:flex;justify-content:space-between}.room-options summary:after{content:"＋";color:#87927e}.room-options[open] summary:after{content:"−"}.room-options summary span{color:#89937e;font-size:11px}.form-error{font-size:12px;color:#e3a097;line-height:1.5;margin:11px 0}.form-error:empty{margin:16px 0 0}.create-button{width:100%;margin-top:4px;display:flex;justify-content:center;gap:15px;align-items:center;font-size:14px}.create-button span{font-size:18px;font-weight:400}.practice-button{display:block;margin:14px auto 0;font-size:11px;border:0;background:none;color:#86917e;padding:4px 0}.practice-button span{color:#c1b183;margin-left:4px}.practice-button:hover span{color:#e3cf9a}#join-fields{margin-top:15px}#room-code{text-transform:uppercase;letter-spacing:3px}.seats{position:absolute;inset:0;pointer-events:none}.seat{position:absolute;transform:translate(-50%,-50%);width:134px;text-align:center;pointer-events:auto}.seat.empty{width:80px;color:#7d887160}.empty-seat-circle{width:42px;height:42px;margin:0 auto 8px;border:1px dashed #a3ab8440;border-radius:50%;font-size:22px;display:grid;place-items:center;color:#8b937350}.empty-seat-label{font-size:10px;letter-spacing:1px;color:#848d7475}.player-avatar{width:43px;height:43px;border-radius:50%;margin:0 auto -10px;border:2px solid #69745b;background:linear-gradient(130deg,#4e5d44,#293529);position:relative;z-index:2;display:grid;place-items:center;color:#e0dcc3;font-family:Georgia,"Songti SC",serif;font-size:21px;box-shadow:0 3px 8px #0008}.seat[data-color="1"] .player-avatar{background:linear-gradient(130deg,#605744,#382f25)}.seat[data-color="2"] .player-avatar{background:linear-gradient(130deg,#46605a,#243b37)}.seat[data-color="3"] .player-avatar{background:linear-gradient(130deg,#5b4f68,#312638)}.seat[data-color="4"] .player-avatar{background:linear-gradient(130deg,#675246,#3b2d23)}.seat[data-color="5"] .player-avatar{background:linear-gradient(130deg,#4c5a68,#273540)}.player-info{background:linear-gradient(110deg,#263126,#1b241c);border:1px solid #535b4366;border-radius:8px;padding:14px 6px 6px;box-shadow:0 6px 15px #0005;position:relative}.player-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;margin:auto;color:#cbd2c1}.player-stack{font-family:Georgia,serif;font-size:18px;letter-spacing:.5px;margin-top:4px;color:#decda3}.player-note{font-size:10px;color:#8fa17f;margin-top:4px;min-height:13px}.seat.is-turn .player-info{border-color:#c5b476;box-shadow:0 0 0 2px #c5b4761a,0 5px 20px #0005}.seat.is-turn .player-avatar{border-color:#d4bc7e}.seat.is-folded{opacity:.45}.seat.is-offline .player-avatar{filter:grayscale(1)}.seat.is-you .player-name{color:#e0d2aa}.dealer-badge{position:absolute;left:-7px;top:28px;border:1px solid #b2a17b;border-radius:50%;background:#e3d7b6;color:#303526;width:20px;height:20px;display:grid;place-items:center;font-size:11px;font-family:Georgia,serif;font-weight:bold}.seat-bet{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#c2bd94;background:#131c159c;padding:3px 8px;border-radius:20px;margin-top:5px}.chip-icon{display:inline-block;width:15px;height:15px;border:2px dashed #dbbd7a;box-shadow:inset 0 0 0 2px #4e5940;border-radius:50%;background:#918251;vertical-align:middle}.hole-cards{display:flex;justify-content:center;position:absolute;left:0;right:0;top:-31px;z-index:-1;gap:3px}.hole-cards .playing-card{width:34px;height:47px;border-radius:4px}.hole-cards .playing-card:first-child{transform:rotate(-10deg) translateY(2px)}.hole-cards .playing-card:last-child{transform:rotate(9deg)}.seat.is-you .hole-cards{top:-76px;gap:5px;z-index:3;pointer-events:none}.seat.is-you .hole-cards .playing-card{width:58px;height:81px}.seat.is-you .player-avatar{display:none}.seat.is-you .player-info{padding-top:9px}.seat.is-you .player-stack{font-size:19px}.seat.is-you .dealer-badge{top:8px}.playing-card{--ink:#283d37;position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:68px;height:96px;border-radius:6px;border:1px solid #ded9c4;background:linear-gradient(145deg,#eeeadd,#cccbbb);color:var(--ink);box-shadow:0 3px 0 #7d806c,0 5px 10px #0004;overflow:hidden;font-family:Georgia,"Times New Roman",serif;user-select:none}.playing-card:after{content:"";position:absolute;inset:4px;border:1px solid currentColor;opacity:.16;border-radius:3px;pointer-events:none}.playing-card.red{--ink:#a54e46}.card-corner{position:absolute;top:5px;left:6px;display:flex;flex-direction:column;align-items:center;font-size:17px;line-height:.98;font-weight:600}.card-corner small{font-size:14px;margin-top:2px}.card-corner.bottom{top:auto;left:auto;bottom:5px;right:6px;transform:rotate(180deg)}.card-suit{font-size:35px;line-height:1}.card-royal{font-size:29px;font-weight:normal;opacity:.9;border-top:1px solid #877c6440;border-bottom:1px solid #877c6440;line-height:1.25;letter-spacing:1px}.card-back{border:1px solid #a79868;background:repeating-linear-gradient(45deg,transparent 0,transparent 4px,#9f9a6940 4px,#9f9a6940 5px),repeating-linear-gradient(-45deg,#1e352b 0,#1e352b 4px,#5e6d4b70 4px,#5e6d4b70 5px)}.card-back:after{inset:4px;border:1px solid #d1bc8090;opacity:1}.card-back .card-suit{color:#c1ae72;font-size:23px;text-shadow:0 1px 2px #000}.playing-card.placeholder{background:#0d1f1640;border:1px dashed #98a88036;box-shadow:none}.playing-card.placeholder:after{display:none}.playing-card.placeholder .card-suit{color:#89997826;font-size:25px}.hole-cards .card-corner{font-size:11px;top:4px;left:4px}.hole-cards .card-corner small{font-size:10px}.hole-cards .card-corner.bottom{top:auto;left:auto;bottom:4px;right:4px}.hole-cards .card-suit{font-size:19px}.hole-cards .card-royal{font-size:17px}.seat.is-you .card-corner{font-size:16px}.seat.is-you .card-corner small{font-size:13px}.seat.is-you .card-suit{font-size:28px}.seat.is-you .card-royal{font-size:25px}.table-content{position:absolute;left:50%;top:50%;width:440px;max-width:55%;transform:translate(-50%,-51%);text-align:center}.street-label{font-size:10px;letter-spacing:3px;color:#b0ba9b;text-transform:uppercase}.pot-label{display:flex;gap:10px;justify-content:center;align-items:center;margin:13px 0 19px;font-size:12px;color:#9faa8d}.pot-label strong{font-family:Georgia,serif;font-size:29px;font-weight:400;color:#e0d1a9;letter-spacing:1px}.community{display:flex;gap:9px;justify-content:center}.community .playing-card{animation:deal-in .3s ease-out both}.table-message{font-size:12px;color:#bfcca8;line-height:1.75;min-height:23px;margin-top:16px}.center-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:11px}.center-actions button{font-size:12px;padding:9px 13px}.countdown{position:absolute;right:-8px;top:-8px;background:#c8b47d;border:2px solid #263524;color:#1d2a1c;border-radius:50%;width:29px;height:29px;font-size:11px;display:grid;place-items:center;font-weight:600}.action-panel{margin-top:15px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;background:#171d18;border:1px solid #30382d;border-radius:10px;min-height:99px}.action-status{min-width:116px}.action-status>span{display:block;color:#9ca791;font-size:11px;margin-bottom:6px}.action-status>strong{font-size:13px;font-weight:500;color:#d1d7c6}.bet-controls{min-width:140px;max-width:230px;flex:1}.bet-presets{display:flex;gap:5px;margin-bottom:10px}.bet-presets button{flex:1;background:none;border:1px solid #414934;border-radius:4px;font-size:10px;padding:4px 3px;color:#a4af96;white-space:nowrap}.bet-presets button:hover{border-color:#b1a471;color:#dccc9c}.bet-input-row{display:flex;gap:10px;align-items:center}.bet-input-row input[type=number]{width:71px;min-height:29px;height:29px;padding:4px 7px;font-size:12px}.bet-input-row input[type=range]{padding:0;min-height:20px;height:20px;accent-color:#cab881;cursor:pointer;border:0;background:none;box-shadow:none}.action-buttons{display:flex;gap:9px}.action-buttons button{padding:13px 19px;min-width:78px;font-size:13px;border-radius:6px}.fold-button{background:#292521;border:1px solid #58463a;color:#d6b7a1}.call-button{background:#25372b;border:1px solid #4c6a4c;color:#c4d9b9}.fold-button:hover{background:#43312a}.call-button:hover{background:#364c36}.action-buttons .primary-button{letter-spacing:0}.under-table{display:flex;justify-content:space-between;gap:12px;margin:17px 2px;color:#74816e;font-size:11px}.small-lock{font-size:13px;margin-right:5px;color:#a5ae8c}.under-table>span:last-child{color:#687360}.activity-panel{border-top:1px solid #292f26;padding:17px 0 0}.activity-heading{display:flex;justify-content:space-between;font-size:12px;color:#a6b39b;margin-bottom:12px}.activity-heading>span:last-child{font-size:11px;color:#7f8c76}.activity-log{display:flex;gap:22px;overflow-x:auto;color:#89957d;font-size:11px;padding-bottom:9px;scrollbar-width:thin;scrollbar-color:#3a4431 transparent}.activity-log div{white-space:nowrap}.activity-log time{color:#5e6e58;margin-right:7px}.rules-panel{border:1px solid #33372b;border-radius:10px;background:linear-gradient(130deg,#1b2018d9,#151a15);padding:24px 21px 20px;height:fit-content;margin-top:2px;box-shadow:0 10px 30px #0001}.rules-heading{display:flex;align-items:center;justify-content:space-between}.rules-heading .eyebrow{font-size:9px;letter-spacing:1.7px}.rules-heading h2{font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;font-size:19px;font-weight:500;letter-spacing:1px;margin:9px 0 0}.rules-icon{color:#aa9768;font-size:31px}.rules-intro{font-size:11px;color:#838f79;margin:18px 0 8px;display:flex;justify-content:space-between}.rules-intro>span{font-size:10px;color:#65735c}.rank-row{display:grid;grid-template-columns:17px minmax(63px,1fr) auto;align-items:center;gap:5px;border-bottom:1px solid #ffffff06;padding:10px 0}.rank-index{font-size:10px;font-family:Georgia,serif;color:#6f7c62}.rank-name{font-size:12px;color:#b6c0a8}.rank-en{display:block;font-size:8px;letter-spacing:.1px;color:#66765d;margin-top:3px}.rank-row:first-child .rank-name{color:#d3c18d}.rank-row:first-child .rank-index{color:#b5a374}.mini-cards{display:flex;gap:3px}.mini-card{width:20px;height:29px;border-radius:2px;border:1px solid #aaa98744;background:#bdc2ab;color:#2f4537;font-family:Georgia,serif;font-size:11px;line-height:12px;text-align:center;padding-top:2px;box-shadow:0 1px 3px #0003}.mini-card span{font-size:10px;display:block;line-height:10px}.mini-card.red{color:#94534a;background:#c5c2ae}.mini-card.dim{opacity:.35}.rule-footnote{margin-top:18px}.rule-footnote>span{font-size:13px;letter-spacing:9px;color:#a9a079}.rule-footnote p{font-size:10px;line-height:1.9;color:#829174;margin:10px 0 13px}.rule-footnote .text-button{font-size:11px;color:#adbc98}.rule-footnote .text-button span{margin-left:8px}.footer{max-width:1584px;margin:5px auto 0;border-top:1px solid #ffffff0a;padding:22px 0 27px;display:flex;justify-content:space-between;color:#616d59;font-size:10px;letter-spacing:1.5px;gap:15px}.footer>span:nth-child(2){font-size:11px;letter-spacing:1px;color:#707e67}.footer>span:last-child{letter-spacing:7px;font-size:13px}.footer i{font-style:normal;color:#877c5d}dialog{background:#1a211a;color:var(--text);border:1px solid #68674a;border-radius:12px;padding:25px 28px;max-width:470px;width:calc(100% - 36px);box-shadow:0 30px 100px #0009}dialog::backdrop{background:#060a07c9;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}#dialog-body h2{font-family:"Songti SC",SimSun,serif;font-size:25px;font-weight:500;margin:10px 0 18px}#dialog-body p,#dialog-body li{font-size:14px;line-height:1.85;color:#b0bba4}#dialog-body ol{padding-left:22px}#dialog-body code{font-family:monospace;font-size:13px;overflow-wrap:anywhere;color:#d3c498;background:#0f190f;padding:2px 6px;border-radius:3px}.share-code{font-family:Georgia,serif;font-size:38px;letter-spacing:9px;color:#daca96;padding:14px 5px;text-align:center;border:1px dashed #6b7050;border-radius:7px;margin:20px 0}.dialog-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.dialog-buttons button{flex:1}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#354132;color:#e3e1c6;border:1px solid #758064;border-radius:7px;padding:13px 22px;font-size:13px;max-width:calc(100% - 30px);opacity:0;pointer-events:none;z-index:30;transition:.2s}.toast.visible{transform:translate(-50%,0);opacity:1}@keyframes deal-in{from{opacity:0;transform:translateY(-12px) rotate(-4deg)}to{opacity:1;transform:none}}@media(min-width:1600px){.table-stage{height:660px}.lobby-panel{top:75px}.poker-table{inset:102px 55px 100px}.playing-card{width:76px;height:108px}.table-content{max-width:58%}.rank-row{padding:12px 0}.rules-panel{padding-bottom:26px}}@media(max-width:1250px){.topbar{padding:0 28px}.workspace{padding:28px;gap:22px;grid-template-columns:minmax(0,1fr) 267px}.rules-panel{padding:22px 16px}.rules-heading h2{font-size:18px}.rank-row{grid-template-columns:15px minmax(61px,1fr) auto;gap:3px}.mini-cards{gap:2px}.mini-card{width:19px}.table-stage{height:590px}.poker-table{inset:100px 20px 100px}.seat{width:112px}.player-name{max-width:95px}.community{gap:5px}.community .playing-card{width:53px;height:77px}.community .card-corner{font-size:14px;left:4px;top:4px}.community .card-corner.bottom{left:auto;top:auto;right:4px;bottom:4px}.community .card-corner small{font-size:11px}.community .card-suit{font-size:28px}.action-panel{padding:16px 14px;gap:12px;flex-wrap:wrap}.action-status{flex:1}.bet-controls{order:3;max-width:none;flex-basis:100%;display:flex;align-items:center;gap:16px}.bet-presets{margin:0;width:50%}.bet-input-row{flex:1}.action-buttons button{padding:12px 17px}.footer{margin:0 28px;padding-top:22px}.table-caption{font-size:9px;letter-spacing:1px}.seat.is-you .hole-cards .playing-card{width:51px;height:72px}.seat.is-you .hole-cards{top:-66px}}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr);padding:25px 30px}.rules-panel{display:none}.rules-panel.mobile-open{display:block;max-width:500px;width:100%;margin:0 auto}.rules-panel.mobile-open .rank-row{grid-template-columns:25px minmax(90px,1fr) auto;padding:12px 0}.mini-card{width:25px;height:34px;font-size:13px;line-height:14px}.mini-card span{font-size:12px;line-height:12px}.rules-panel.mobile-open .rank-en{font-size:10px}.rules-panel.mobile-open .rank-name{font-size:14px}.rules-heading h2{font-size:22px}.topbar-center{display:none}#rules-toggle{display:inline-block}.table-stage{height:620px}.lobby-panel{top:57px;width:380px}.poker-table{inset:100px 45px}.community .playing-card{width:65px;height:92px}.footer>span:nth-child(2){display:none}.action-panel{flex-wrap:nowrap}.bet-controls{order:0;display:block;flex-basis:auto;max-width:230px}.bet-presets{width:auto;margin-bottom:9px}.action-status{flex:initial}}@media(max-width:620px){.topbar{height:78px;padding:0 18px}.brand{gap:10px}.brand-mark{width:34px;height:40px;font-size:28px;border-radius:9px 9px 12px 12px}.brand strong{font-size:19px;letter-spacing:2px}.brand small{font-size:8px;letter-spacing:1.4px;margin-top:4px}.topbar-actions{gap:10px}.connection{font-size:10px}.topbar-actions .icon-button{width:28px;height:28px;font-size:15px}#sound-toggle{display:none}.workspace{padding:22px 13px 12px;gap:18px}.room-heading{margin:0 5px 19px;align-items:center}.room-heading h1{font-size:20px;letter-spacing:.3px;margin-top:7px}.eyebrow{font-size:8px;letter-spacing:1.8px}.room-tools{gap:8px}.room-tools .secondary-button{font-size:11px;padding:8px 10px}.room-tools .secondary-button span{display:none}.room-tools #rules-toggle{font-size:11px}#leave-button{width:27px;height:27px;font-size:15px}.table-stage{height:587px;border-radius:12px}.table-caption{top:17px;left:17px;right:17px;font-size:8px;letter-spacing:1px}.table-caption span:last-child{font-size:9px;letter-spacing:0}.poker-table{inset:88px 10px 85px;border-radius:42%;padding:9px}.felt,.felt-line{border-radius:42%}.felt-line{inset:14px}.table-watermark{font-size:13px;letter-spacing:4px;bottom:50px}.lobby-panel{top:56px;width:calc(100% - 56px);max-width:350px;padding:23px 22px 20px}.lobby-panel h2{font-size:19px}.lobby-panel>p{font-size:11px}.seat.empty{display:none}.table-stage.in-game{height:550px}.in-game .poker-table{inset:92px 15px 85px;border-radius:45%}.in-game .felt{border-radius:45%}.in-game .felt-line{border-radius:45%}.seat{width:85px}.player-avatar{width:34px;height:34px;font-size:17px;margin-bottom:-8px}.player-info{padding:11px 4px 5px;border-radius:6px}.player-name{font-size:10px;max-width:73px}.player-stack{font-size:15px;margin-top:3px}.player-note{font-size:8px;margin-top:3px;min-height:10px}.dealer-badge{width:17px;height:17px;font-size:10px;top:20px;left:-6px}.seat.is-you .player-stack{font-size:17px}.seat.is-you .hole-cards{top:-54px;gap:4px}.seat.is-you .hole-cards .playing-card{width:41px;height:58px}.seat.is-you .card-corner{font-size:13px;left:3px;top:3px}.seat.is-you .card-corner small{font-size:10px}.seat.is-you .card-corner.bottom{left:auto;top:auto;right:3px;bottom:3px}.seat.is-you .card-suit{font-size:22px}.seat.is-you .card-royal{font-size:19px}.hole-cards{top:-23px}.hole-cards .playing-card{width:26px;height:36px}.hole-cards .card-corner{font-size:9px;top:3px;left:3px}.hole-cards .card-corner small{font-size:8px}.hole-cards .card-corner.bottom{bottom:3px;right:3px}.hole-cards .card-suit{font-size:14px}.hole-cards .card-royal{font-size:13px}.seat-bet{font-size:9px;padding:2px 5px;gap:4px}.seat-bet .chip-icon{width:10px;height:10px}.table-content{max-width:70%;top:49%;transform:translate(-50%,-48%)}.community{gap:4px}.community .playing-card{width:41px;height:60px;border-radius:4px}.community .card-corner{font-size:11px;left:3px;top:3px}.community .card-corner small{font-size:9px}.community .card-corner.bottom{right:3px;bottom:3px}.community .card-suit{font-size:22px}.community .card-royal{font-size:19px}.pot-label{margin:9px 0 13px;font-size:10px;gap:8px}.pot-label strong{font-size:25px}.street-label{font-size:9px;letter-spacing:1px}.table-message{font-size:10px;margin-top:12px;line-height:1.7}.center-actions{gap:6px;margin-top:7px}.center-actions button{font-size:10px;padding:8px 10px}.table-bottom-note{font-size:8px;letter-spacing:1.8px;bottom:17px}.action-panel{padding:15px 13px;flex-wrap:wrap;gap:15px;margin-top:12px}.action-status{flex:1}.action-status>span{font-size:10px}.action-status>strong{font-size:12px}.action-buttons{gap:6px}.action-buttons button{min-width:57px;padding:11px 12px;font-size:12px}.bet-controls{order:3;max-width:none;flex-basis:100%;display:flex;align-items:center;gap:15px}.bet-presets{margin:0;width:50%}.bet-input-row{flex:1}.under-table{margin:13px 4px;font-size:9px;gap:8px}.under-table>span:last-child{display:none}.activity-panel{margin:0 5px;padding-top:13px}.activity-heading{font-size:11px}.activity-log{font-size:10px}.footer{margin:0 18px;padding:16px 0 22px;font-size:8px;letter-spacing:1px}.footer>span:last-child{font-size:11px;letter-spacing:4px}.countdown{width:25px;height:25px;font-size:10px}.rules-panel.mobile-open{padding:20px 24px}.room-options summary{font-size:11px}.room-options summary span{font-size:10px}.toast{font-size:12px;width:max-content;text-align:center}dialog{padding:20px}.field-row{gap:9px}.table-stage.in-game.eight-seats{height:600px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep controls and card reference comfortable to read on dim displays. */
label{font-size:13px}input,select{font-size:14px}.lobby-panel>p{font-size:13px}.tab{font-size:14px}.practice-button{font-size:12px}.rank-name{font-size:13px}.rank-en{font-size:9px}.rules-intro{font-size:12px}.rule-footnote p{font-size:12px;line-height:1.85}.rule-footnote .text-button{font-size:12px}.footer{padding-left:36px;padding-right:36px}.in-game .table-bottom-note{display:none}.playing-card{background-image:linear-gradient(145deg,#f0ecdd,#d1cdbd);box-shadow:0 2px 0 #94927c,0 5px 12px #0005,inset 0 0 12px #fff3}.playing-card.card-back{background-image:repeating-linear-gradient(45deg,transparent 0,transparent 4px,#9f9a6940 4px,#9f9a6940 5px),repeating-linear-gradient(-45deg,#1e352b 0,#1e352b 4px,#5e6d4b70 4px,#5e6d4b70 5px)}.playing-card.placeholder{background:#0d1f1640;box-shadow:none}
@media(max-width:620px){.footer{padding-left:0;padding-right:0}.lobby-panel>p{font-size:12px}.room-options summary{font-size:12px}.practice-button{font-size:11px}.player-name{font-size:11px}.player-note{font-size:9px}.table-message{font-size:11px}.under-table{font-size:10px}.action-status>strong{font-size:13px}.player-stack{font-size:16px}.seat{left:clamp(54px,var(--seat-x),calc(100% - 54px))!important}.lobby-panel:has(.room-options[open]){top:42px}.table-stage:has(.room-options[open]){height:650px}}
/* Full tables keep public cards clear of the side seats on phones. */
@media(max-width:620px){.eight-seats .seat{width:74px;left:clamp(46px,var(--seat-x),calc(100% - 46px))!important}.eight-seats .community{gap:3px}.eight-seats .community .playing-card{width:35px;height:51px}.eight-seats .community .card-corner{font-size:10px;left:2px;top:3px}.eight-seats .community .card-corner small{font-size:8px}.eight-seats .community .card-corner.bottom{left:auto;top:auto;right:2px;bottom:3px}.eight-seats .community .card-suit{font-size:18px}.eight-seats .community .card-royal{font-size:17px}.eight-seats .table-content{max-width:65%}.eight-seats .player-note{font-size:9px}}
/* Language controls and space for English copy. */
.language-select{width:94px;min-height:34px;height:34px;padding:4px 8px;border-color:#4d513d;background:#1b211a;color:#d2c49b;font-size:12px;cursor:pointer;flex:none}
.topbar-actions{flex-shrink:0}.topbar-center{min-width:0}.brand{flex-shrink:0}
html[lang="en"] .brand strong{font-family:Georgia,serif;font-size:21px;letter-spacing:2px}
html[lang="en"] .room-heading h1{letter-spacing:.3px}
html[lang="en"] .lobby-panel h2{font-family:Georgia,serif;letter-spacing:.2px}
html[lang="en"] .rank-row{min-height:51px}.rank-name{line-height:1.35}
#invite-button [data-i18n]{display:inline;margin-left:0}.practice-button span:first-child{color:#86917e;margin-left:0}
.room-options summary [data-i18n]{color:#adb6a5;font-size:12px}.rule-footnote .text-button [data-i18n]{margin-left:0}
html[lang="en"] .lobby-panel{padding-left:22px;padding-right:22px}
html[lang="en"] .table-message{overflow-wrap:anywhere}
@media(max-width:1100px){.topbar-center{display:none}}
@media(max-width:620px){
 .topbar-actions{gap:8px}.language-select{width:79px;height:30px;min-height:30px;padding:3px 5px;font-size:11px}
 html[lang="en"] .brand strong{font-size:17px;letter-spacing:1.4px}
 html[lang="en"] .brand small{letter-spacing:1px;font-size:7px}
 html[lang="en"] .room-heading{flex-wrap:wrap;row-gap:13px}
 html[lang="en"] .room-heading h1{font-size:20px}
 html[lang="en"] .room-tools{margin-left:auto}
 html[lang="en"] .action-panel{gap:12px}
 html[lang="en"] .action-status{flex-basis:100%}
 html[lang="en"] .action-buttons{flex:1;justify-content:flex-end}
 html[lang="en"] .action-buttons button{padding:11px 12px}
 html[lang="en"] .table-caption{flex-wrap:wrap;gap:5px}
 html[lang="en"] .table-caption span:last-child{margin-left:auto}
 html[lang="en"] .lobby-panel h2{font-size:20px}
 html[lang="en"] .lobby-panel>p{font-size:12px;line-height:1.5}
 html[lang="en"] .practice-button{font-size:11px}
 html[lang="en"] .rules-heading h2{font-size:22px}
 html[lang="en"] .player-note{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:450px){.connection>span{display:none}.connection{gap:0}.topbar-actions{gap:7px}}
@media(max-width:360px){.brand strong{font-size:17px}.brand small{font-size:7px;letter-spacing:1px}.brand{gap:7px}.topbar{padding:0 13px}.language-select{width:72px}}
@media(min-width:621px){.table-content{top:47%}}
/* Keep the same table mounted while native fullscreen or mobile immersion is on. */
.fullscreen-toggle{flex:none}.fullscreen-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.fullscreen-collapse{display:none}
.fullscreen-toggle[aria-pressed="true"]{color:var(--gold-bright);border-color:#988459;background:#c7b17b12}.fullscreen-toggle[aria-pressed="true"] .fullscreen-expand{display:none}.fullscreen-toggle[aria-pressed="true"] .fullscreen-collapse{display:block}
html.immersive{background:var(--bg);overflow:auto}html.immersive body{min-height:100dvh}
.immersive .topbar{position:sticky;top:0;z-index:15;height:58px;max-width:none;padding:0 max(22px,env(safe-area-inset-right)) 0 max(22px,env(safe-area-inset-left));background:#101511f2;backdrop-filter:blur(14px)}
.immersive .topbar-center,.immersive .footer,.immersive .rules-panel,.immersive #rules-toggle,.immersive .under-table,.immersive .activity-panel,.immersive .room-heading .eyebrow,.immersive .table-bottom-note{display:none!important}
.immersive .brand-mark{height:34px;width:32px;font-size:25px;border-radius:8px}.immersive .brand small{display:none}.immersive .brand strong{font-size:18px}
.immersive .workspace{max-width:1400px;grid-template-columns:minmax(0,1fr);padding:14px max(22px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));gap:0}
.immersive .room-heading{margin:0 2px 12px}.immersive .room-heading h1{font-size:21px;margin:0}.immersive .table-stage.in-game{height:clamp(460px,calc(100dvh - 235px),780px)}
.immersive .action-panel{margin-top:12px}.immersive .lobby-panel{top:45px}
.ready-summary{font-size:12px;color:#a9b69e;line-height:1.65;flex-basis:100%;margin:0}.next-hand-countdown{color:var(--gold-bright);font-variant-numeric:tabular-nums}.ready-status{color:#a6c8a4}
#ready-button[aria-pressed="true"]{background:#2b4433;border-color:#729572;color:#d1e2c3}
.between-hands.action-panel{flex-wrap:wrap}.between-hands .action-status{flex:1;min-width:140px}.between-hands .action-buttons{flex-wrap:wrap;justify-content:flex-end}.between-hands .bet-controls{display:none}
.host-badge{display:inline-block;font-size:8px;line-height:1.3;font-family:inherit;font-weight:400;color:#cab887;border:1px solid #a58d5555;border-radius:3px;padding:1px 3px;margin-left:4px;vertical-align:1px}
@media(max-width:620px){
 .immersive .topbar{height:52px;padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}
 .immersive .brand strong,html[lang="en"].immersive .brand strong{font-size:16px}.immersive .brand-mark{height:28px;width:27px;font-size:22px}
 .immersive .workspace{padding:12px max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
 .immersive .room-heading{margin:0 3px 10px;flex-wrap:wrap;row-gap:8px}.immersive .room-heading h1,html[lang="en"].immersive .room-heading h1{font-size:18px}
 .immersive .table-stage.in-game{height:clamp(550px,calc(100dvh - 250px),620px)}.immersive .table-stage.in-game.eight-seats{min-height:580px}
 .immersive .action-panel{padding:12px;gap:10px}.between-hands .action-buttons{flex-basis:100%;justify-content:flex-start}.between-hands .action-buttons button{flex:1;padding:10px 9px;min-width:85px}
 .ready-summary{font-size:11px}.host-badge{font-size:7px;padding:0 2px;margin-left:3px}
}
@media(max-width:360px){.topbar-actions{gap:6px}#help-button{display:none}}
/* Keep the creator badge visible even beside a long nickname. */
.player-name{display:flex;align-items:center;justify-content:center;gap:3px}.player-nickname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-name .host-badge{flex:none;margin-left:0}

.center-actions{font-size:12px;line-height:1.5;color:#a9b69e}
