:root{font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#e5ecef;background:#0b1420;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #0b1420;--panel: #131f2d;--panel-light: #192a39;--line: rgba(174, 204, 213, .12);--muted: #94a9b6;--teal: #65d7bb;--gold: #dabc7d;--tile-w: 47px;--tile-h: 66px}*{box-sizing:border-box}body{margin:0;min-width:320px}.hotseat-screen{block-size:100vh;block-size:100dvh;overflow:clip}html:has(.hotseat-screen){overscroll-behavior:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}:is(button,a,input,summary,select,[tabindex]):focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin:0}button{touch-action:manipulation}fieldset{border:0;margin:0;padding:0;min-width:0}legend{padding:0;font-weight:600;font-size:14px;margin-bottom:13px}legend small{font-size:11px;color:var(--muted);font-weight:400;margin-left:12px}::selection{background:#377b6d;color:#fff}.page-shell{width:min(1280px,100% - 80px);margin:0 auto}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:600;color:var(--teal);line-height:1.6}.button{border:1px solid transparent;border-radius:9px;min-height:44px;padding:11px 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:650;line-height:1.5;transition:background .18s,transform .18s,border-color .18s;color:#e3edf0;background:transparent}.button:active:not(:disabled){transform:translateY(1px)}.button-primary{background:#6adbbd;color:#0c342c;box-shadow:0 4px 16px #00000012}.button-primary:hover{background:#87e8cd}.button-primary:disabled{background:#304b49;color:#9aadad;box-shadow:none}.button-outline{border-color:#455a68;background:#192a36;color:#dce9ed}.button-outline:hover{background:#233c47;border-color:#708891}.button-ghost{color:#a4b9c5;padding-inline:12px}.button-ghost:hover{background:#ffffff08;color:#e4edef}.button-gold{color:#302718;background:#dfc287}.button-gold:hover{background:#edd3a2}.subtle-chip,.stage-badge{font-size:11px;line-height:1.5;display:inline-flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid var(--line);border-radius:20px;color:#adc1ca;background:#162331}.live-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;background:#66d4b2;border-radius:50%;box-shadow:0 0 10px #66d4b22a}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-seal{width:43px;height:47px;border:1px solid #c6ac6b70;border-radius:11px 3px;display:grid;place-items:center;color:var(--gold);background:linear-gradient(140deg,#d4b67812,#d4b67803);font-family:Songti SC,SimSun,serif;font-size:28px;box-shadow:inset 0 0 0 4px #0b1420}.brand strong{display:block;font-size:21px;font-weight:650;letter-spacing:2px}.brand strong span{font-weight:400;font-size:16px;margin-left:7px;color:#b4c5ce}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#77909f;margin-top:5px}.landing-header{display:flex;align-items:center;justify-content:space-between;min-height:110px;border-bottom:1px solid var(--line)}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:430px;gap:40px;padding:38px 12px 44px}.hero-copy .eyebrow{font-size:11px;letter-spacing:3px;margin-bottom:24px}.hero h1{font-size:clamp(35px,3.65vw,53px);line-height:1.45;font-weight:600;letter-spacing:3px}.hero h1 span{color:#7ad9c2}.hero-description{margin-top:23px;font-size:14px;line-height:2;color:#98aebb;letter-spacing:.5px}.hero-features{display:flex;flex-wrap:wrap;gap:20px;margin-top:25px;font-size:11px;color:#afc2cc}.hero-features>span{display:flex;align-items:center;gap:7px}.feature-dot{width:4px;height:4px;border:1px solid var(--gold);transform:rotate(45deg)}.hero-art{position:relative;min-height:345px;display:grid;place-items:center;isolation:isolate;perspective:1000px}.art-table{width:360px;height:255px;border-radius:34px;background:radial-gradient(ellipse at 50% 20%,#276658,#174239 70%);border:10px solid #1d3035;outline:1px solid #6c8b7960;box-shadow:0 28px 45px #0006,inset 0 0 0 1px #d5b97560,inset 0 0 50px #0003;transform:rotate(-8deg) rotateX(18deg);padding:23px 28px;position:relative}.art-table-heading{display:flex;justify-content:space-between;align-items:center;color:#d8c89c;font-family:serif;font-size:15px}.art-table-heading small{font-size:10px;letter-spacing:3px;color:#a2c6b69c}.art-tile-trio{display:flex;gap:8px;justify-content:center;margin-top:24px;--tile-w: 59px;--tile-h: 82px}.art-tile-trio>.tile:first-child{transform:rotate(-12deg) translateY(5px)}.art-tile-trio>.tile:last-child{transform:rotate(12deg) translateY(5px)}.art-backs{display:flex;gap:4px;margin-top:18px;justify-content:center}.art-backs .tile-small{width:22px;height:28px}.art-table-caption{font-size:6px;letter-spacing:3px;color:#d9d4ab93;text-align:center;margin-top:13px}.art-tag{position:absolute;bottom:0;right:25px;border:1px solid #d5b97540;border-radius:7px;padding:12px 19px;font-size:10px;background:#15222af0;color:#ddc38e;letter-spacing:2px;box-shadow:0 6px 20px #0002}.art-tag i{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--gold);margin:0 10px 3px}.art-orbit{position:absolute;z-index:-1;inset:22px -5px 0;border:1px solid #5d978517;border-radius:50%;transform:rotate(-20deg)}.orbit-two{inset:0 45px -15px;transform:rotate(23deg);border-style:dashed}.setup-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:28px}.setup-card{border:1px solid #b4d0e51a;background:linear-gradient(145deg,#172534,#121e2a);border-radius:17px;padding:30px;box-shadow:0 16px 40px #00000014}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:29px}.section-heading .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:6px}.section-heading h2{font-size:22px;font-weight:550;letter-spacing:1px}.setup-card fieldset+fieldset{margin-top:25px}.mode-selector{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mode-selector button{text-align:left;padding:16px 18px;background:#0c1722;border:1px solid #293d4c;border-radius:9px;color:#b3c1cb;position:relative}.mode-selector button.selected{background:#1f3938;border-color:#61bea3}.mode-selector button.selected:after{content:"";position:absolute;right:15px;top:20px;height:7px;width:7px;border:2px solid #172b29;background:var(--teal);border-radius:50%;box-shadow:0 0 0 1px var(--teal)}.mode-selector button>span{font-weight:650;font-size:15px;color:#e5eeec}.mode-selector small{font-size:9px;font-weight:400;display:inline-block;color:#7ed7ba;background:#75e1bf14;padding:2px 5px;margin-left:9px;border-radius:3px;vertical-align:middle}.mode-selector p{font-size:11px;margin-top:7px;color:#8fa9b3}.name-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.name-input{display:flex;align-items:center;border:1px solid #2b3c4b;border-radius:7px;background:#0f1b27;overflow:hidden}.name-input:focus-within{border-color:#76baa6;box-shadow:0 0 0 2px #66d4b212}.name-input>span{color:var(--gold);font-family:serif;font-size:17px;margin:0 13px;line-height:25px}.name-input input{min-width:0;width:100%;border:0;outline:none;background:transparent;color:#d8e3e8;padding:12px 10px 12px 0;font-size:13px}.name-input input:focus-visible{outline:none}.rule-details{border-top:1px solid var(--line);margin-top:27px}.rule-details summary,.public-log summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.rule-details summary::-webkit-details-marker,.public-log summary::-webkit-details-marker{display:none}.rule-details summary{padding:20px 0;color:#d3e0e5;font-size:13px}.rule-details summary small{font-size:10px;color:#94a8b4;margin-left:12px}.summary-plus{font-size:20px;color:#8ca6b2;line-height:1;transition:transform .2s}.rule-details[open] .summary-plus{transform:rotate(45deg)}.rule-details-body{padding-bottom:20px}.rules-disclaimer{font-size:11px;color:#acb9bf;line-height:1.9;padding:12px 14px;background:#dabc7d08;border-left:2px solid #dabc7d77;margin-bottom:18px}.number-rules{display:flex;gap:15px;margin-bottom:20px}.number-rules label{display:flex;align-items:center;gap:10px;font-size:11px;flex:1;color:#b4c6cf}.number-rules select{padding:9px 6px;border:1px solid #344e5c;border-radius:5px;background:#0e1b26;color:#dce5ea;font-size:11px;flex:1;min-width:0}.rule-toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}.rule-toggle{display:flex;gap:10px;align-items:flex-start;position:relative;cursor:pointer}.rule-toggle input{position:absolute;opacity:0;left:0;top:0;width:32px;height:24px;margin:0;cursor:pointer}.switch{width:29px;height:17px;flex-shrink:0;border-radius:20px;background:#32444c;margin-top:2px;position:relative;transition:background .2s}.switch:after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#a1b1b8;left:3px;top:3px;transition:transform .2s}.rule-toggle input:checked+.switch{background:#498f7e}.rule-toggle input:checked+.switch:after{transform:translate(12px);background:#d3f4e9}.rule-toggle input:focus-visible+.switch{outline:2px solid var(--gold);outline-offset:3px}.rule-toggle strong{font-size:12px;font-weight:500;display:block}.rule-toggle small{font-size:10px;line-height:1.6;display:block;color:#8ea6b3;margin-top:4px}.start-button{width:100%;height:49px;justify-content:center;font-size:14px;letter-spacing:1px}.start-button>span{margin-left:15px;font-size:21px;line-height:1}.setup-footnote{text-align:center;font-size:10px;color:#8299a7;margin-top:13px;letter-spacing:.5px}.welcome-sidebar{display:flex;flex-direction:column;gap:20px}.howto-card{padding:28px 26px;border-radius:15px;border:1px solid var(--line);background:#111d29}.howto-card .eyebrow{font-size:8px;color:#bda875}.howto-card h3{font-size:18px;margin-top:10px;font-weight:500;letter-spacing:.4px}.howto-card ol{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:23px}.howto-card li{display:flex;gap:14px}.howto-card li>span{font-size:11px;color:#c7af7e;border:1px solid #d4b67a30;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;margin-top:1px}.howto-card li strong{font-weight:500;font-size:12px}.howto-card li p{color:#8da4b3;font-size:11px;line-height:1.8;margin-top:6px}.roadmap-card{display:flex;gap:15px;padding:20px 22px;border:1px solid #c8b17827;border-radius:12px;background:#b99c5a06}.roadmap-mark{color:var(--gold);font-size:28px}.roadmap-card h3{font-size:13px;color:#ddc995;font-weight:500}.roadmap-card p{font-size:11px;color:#9cabb2;line-height:1.9;margin-top:9px}.future-tag{display:inline-block;font-size:9px;letter-spacing:.7px;color:#b8aa8b;background:#d5b87f0a;border:1px solid #d5b87f21;border-radius:4px;padding:5px 8px;margin-top:13px}.storage-note{font-size:10px;color:#7c95a5;line-height:1.9;padding:0 12px}.resume-card{border:1px solid #4c9c8655;border-radius:13px;background:#17322e55;padding:22px 25px}.resume-card .eyebrow{font-size:8px}.resume-card h3{font-size:19px;margin-top:6px;font-weight:500}.resume-card p{font-size:12px;color:#9fbbb6;margin-top:11px;line-height:1.7;overflow-wrap:anywhere}.resume-card .resume-names{font-size:10px;margin-top:4px;color:#8da4a2}.resume-card .button{width:100%;margin-top:16px;border-color:#467168;background:#24463f4f;color:#aee8d5}.decorative-hand{display:flex;gap:5px;justify-content:center;margin:38px auto 32px;opacity:.32;filter:saturate(.55)}.decorative-hand .tile-small{width:22px;height:31px}.site-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:23px 0 27px;font-size:10px;color:#768e9d;line-height:1.8}.site-footer i{display:inline-block;height:8px;border-left:1px solid #475c68;margin:0 10px}.tile{display:inline-flex;position:relative;vertical-align:middle;flex:0 0 auto;width:var(--tile-w);height:var(--tile-h);padding:3px 4px 6px;border-radius:5px;background:linear-gradient(125deg,#fffff3,#f3f0dd 65%,#e3dfca);border:1px solid #fff9d9;box-shadow:inset 0 -4px #c9c6b0,0 2px 1px #0005;user-select:none;color:#153e38;overflow:hidden}.tile>img.tile-art{position:absolute;inset:0;display:block;width:100%;height:calc(100% - 3px);object-fit:contain;pointer-events:none}.tile-small{width:27px;height:38px;padding:2px 3px 4px;border-radius:3px;box-shadow:inset 0 -2px #c3c0aa,0 1px 1px #0004}.tile-back{background:linear-gradient(135deg,#397764,#265646);border:1px solid #8aaf8e;box-shadow:inset 0 -4px #173e34,0 2px 2px #0004;padding:5px 5px 8px}.tile-back>span{width:100%;height:100%;border:1px solid #9cb88c52;border-radius:2px;background:repeating-linear-gradient(45deg,transparent 0 4px,#a7c49409 4px 5px);position:relative}.tile-back>span:after{content:"";position:absolute;width:40%;height:29%;border:1px solid #b3c89a38;top:32%;left:28%;transform:rotate(45deg)}.tile-back.tile-small{padding:3px 3px 5px;box-shadow:inset 0 -3px #173e34,0 1px 1px #0004}.mini-tiles{display:inline-flex;align-items:center;gap:3px;flex-shrink:0}.game-page{width:min(1360px,100% - 64px)}.game-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:94px;border-bottom:1px solid var(--line)}.brand-compact .brand-seal{width:35px;height:40px;font-size:25px}.brand-compact strong{font-size:18px}.brand-compact strong span{font-size:15px}.brand-compact small{font-size:7px;letter-spacing:1px}.game-header-center{display:flex;gap:15px;align-items:center}.game-mode{font-size:11px;color:#9aadb8}.header-actions{display:flex;gap:6px}.header-actions .button{font-size:11px}.game-title-row{display:flex;justify-content:space-between;align-items:center;margin:27px 0 22px;gap:20px}.game-title-row .eyebrow{font-size:8px;letter-spacing:2px;color:#83abac}.game-title-row h1{font-weight:500;letter-spacing:2px;font-size:25px;margin-top:5px}.game-title-row h1>span{font-size:13px;letter-spacing:2px;display:inline-block;padding-left:18px;margin-left:18px;border-left:1px solid #41515b;color:var(--gold);vertical-align:middle}.save-status{font-size:10px;color:#9eafb8;line-height:1.7;text-align:right}.save-status>.live-dot{height:5px;width:5px;margin-right:7px}.save-status small{display:block;color:#798f9d;font-size:9px}.table-status{border:1px solid #34594f;border-bottom:0;border-radius:14px 14px 0 0;background:#172d2c;padding:14px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.round-meta{display:flex;gap:28px;align-items:center;font-size:11px;color:#96b6aa}.round-meta>span{display:flex;align-items:center;gap:7px}.round-meta b{font-size:18px;font-weight:600;color:#e3ebda;font-variant-numeric:tabular-nums}.riichi-stick{width:25px;height:4px;background:#ece7d1;border-radius:1px;display:inline-block;position:relative;box-shadow:0 1px 2px #0006}.riichi-stick:after{content:"";position:absolute;left:11px;top:1px;width:3px;height:2px;background:#bd4435;border-radius:50%}.dora-display{display:flex;gap:4px;align-items:center}.dora-display>span:first-child{font-size:11px;letter-spacing:.5px;color:#c6d8cc;margin-right:10px}.dora-display>span:first-child small{display:block;font-size:8px;color:#8fae9e;margin-top:4px}.dora-display .tile-small{width:25px;height:35px}.table-board{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:". north ." "west center east" ". south .";gap:12px 26px;padding:24px 30px;background:radial-gradient(ellipse at 50% 45%,#24604f 0,#174b3d 60%,#123b32);border:1px solid #34594f;border-radius:0 0 14px 14px;box-shadow:inset 0 0 60px #00000030,0 12px 35px #0002;overflow:hidden;align-items:center}.felt-grain{position:absolute;inset:0;z-index:-1;opacity:.3;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.2' filter='url(%23noise)'/%3E%3C/svg%3E");pointer-events:none}.table-board:before,.table-board:after{position:absolute;content:"RIICHI MAHJONG";color:#d6d9a52b;font-size:8px;letter-spacing:5px;left:40px;top:45px;writing-mode:vertical-rl}.table-board:after{content:"GOOD HANDS. GOOD COMPANY.";inset:auto 40px 45px auto;transform:rotate(180deg);font-size:7px}.player-zone{background:#102f294d;border:1px solid #a3c2aa21;border-radius:10px;padding:12px 14px;min-width:0;transition:border-color .2s}.zone-active{border-color:#d3be78a6;background:#173e32b3;box-shadow:0 0 0 3px #d3be7807}.zone-north{grid-area:north}.zone-east{grid-area:east}.zone-west{grid-area:west}.zone-south{grid-area:south}.player-header{display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:12px}.wind-medallion{display:inline-grid;place-items:center;flex-shrink:0;width:31px;height:34px;background:#bdd5bd0b;border:1px solid #c4d8b942;border-radius:5px;color:#d2dbc0;font-size:20px;font-family:Kaiti SC,KaiTi,serif}.dealer-wind{color:#ebcf8c;border-color:#dbc38980;background:#dabd7110}.player-identity{min-width:0;flex:1}.player-identity strong{display:block;font-weight:550;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#e1eada}.player-identity>span{display:block;font-size:9px;color:#99b7a6;margin-top:4px;white-space:nowrap}.player-score{text-align:right;flex-shrink:0}.player-score strong{font-variant-numeric:tabular-nums;font-size:17px;line-height:1;font-weight:550;color:#eee9ce;letter-spacing:.3px}.player-score>span{display:block;margin-top:4px;color:#9bb8a6;font-size:8px}.player-score>.riichi-badge{display:table;margin-left:auto;color:#edc4b4}.riichi-badge{background:#a34d3a42;color:#efc2af;border:1px solid #c47b5d55;padding:2px 7px;border-radius:3px;font-size:9px;line-height:1.3}.river{display:grid;grid-template-columns:repeat(6,27px);gap:4px;align-content:start;justify-content:center;min-height:80px;padding:0 0 8px}.river-tile{position:relative;display:inline-flex}.river-empty{grid-column:1/-1;align-self:center;text-align:center;display:block;font-size:10px;color:#b0cbb454;letter-spacing:2px;margin-top:22px}.river-tile.discard-claimed .tile{opacity:.43}.discard-claimed>small{position:absolute;font-size:7px;color:#e2efd8;bottom:4px;left:9px;font-weight:700;text-shadow:0 1px 3px #000}.discard-riichi .tile{border-color:#e9c277;box-shadow:inset 0 -2px #c3c0aa,0 0 0 1px #e9c277}.discard-riichi>i{position:absolute;bottom:-2px;height:3px;width:15px;background:#de6461;left:6px;border-radius:2px}.public-melds{border-top:1px solid #b8cfaf1b;padding-top:7px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:22px}.meld-empty,.hand-count{font-size:8px;color:#8daa98}.hand-count{margin-left:auto}.meld{display:inline-flex;align-items:center;gap:1px;position:relative;padding-bottom:6px}.meld .tile-small{width:21px;height:29px;padding:2px 2px 3px}.meld>small{position:absolute;font-size:7px;right:0;bottom:-3px;color:#a3beaa}.meld-called:after{content:"";display:block;height:2px;background:#d2b96e;position:absolute;bottom:2px;width:17px;margin-left:2px}.table-center{grid-area:center;text-align:center;justify-self:center;align-self:center;color:#d6dfc9;position:relative;width:100%;padding:8px 0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center}.table-compass{font-family:Kaiti SC,KaiTi,serif;font-size:40px;color:#bdcdac35;line-height:1;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;display:none}.center-round{font-family:Songti SC,SimSun,serif;font-size:30px;color:#e3d3a3;letter-spacing:4px}.center-phase{font-size:10px;padding:5px 13px;margin-top:10px;border:1px solid #b4c4a442;border-radius:4px;letter-spacing:2px;color:#d0dfc2;background:#123b2b45}.center-divider{width:24px;height:1px;background:#a8bd8e66;margin:16px 0 12px}.table-center>small{font-size:9px;line-height:1.9;letter-spacing:2px;color:#a1ba9c}.pending-tile{display:flex;align-items:center;gap:7px;margin-top:12px;flex-wrap:wrap;justify-content:center}.pending-tile>span:not(.tile){font-size:9px;color:#b9d1b9;max-width:90px;overflow-wrap:anywhere}.pending-tile>.tile{width:35px;height:48px;padding:3px 4px 4px}.pending-tile>small{display:block;font-size:8px;color:#9db697;flex-basis:100%}.hand-panel{margin-top:22px;border:1px solid #324a57;border-radius:13px;background:linear-gradient(120deg,#192a37,#14212d);overflow:hidden;box-shadow:0 8px 25px #0002}.hand-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 25px;border-bottom:1px solid var(--line);background:#172630;min-width:0}.hand-panel-header>div{display:flex;align-items:center;gap:12px;min-width:0}.hand-panel-header .wind-medallion{width:28px;height:31px;color:#d7c087;border-color:#d9bd7d47;font-size:18px}.hand-panel-header h2{font-size:14px;font-weight:500;overflow-wrap:anywhere}.hand-panel-header h2 small{font-size:10px;font-weight:400;color:#8fa7b4;margin-left:13px}.hand-privacy{font-size:9px;color:#9bb0bc;white-space:nowrap}.hand-privacy button{border:0;background:transparent;color:#8ce0c8;margin-left:13px;font-size:10px;min-height:30px}.handoff{position:relative;text-align:center;padding:28px 25px 24px;min-height:240px;isolation:isolate;overflow:hidden}.handoff-art{position:absolute;display:flex;gap:8px;top:55px;left:60px;opacity:.14;transform:rotate(-12deg);z-index:-1}.handoff-art>.tile:first-child{transform:rotate(-12deg) translateY(5px)}.handoff-art>.tile:last-child{transform:rotate(12deg) translateY(5px)}.privacy-lock{display:inline-flex;color:#c5b27c;margin-bottom:10px;padding:8px;border:1px solid #c8b67c35;background:#c9b57809;border-radius:50%}.privacy-lock svg{width:21px;height:21px}.handoff-copy .eyebrow{font-size:8px;letter-spacing:2px;color:#849d9e}.handoff h2{font-weight:400;font-size:19px;margin-top:9px;line-height:1.7}.handoff h2>span{font-weight:600;color:#eee0b9}.handoff-copy>p:last-child{font-size:11px;color:#93aab8;margin-top:5px;line-height:1.8}.handoff .button{margin-top:18px;min-width:230px;max-width:100%;font-size:12px}.handoff-note{font-size:9px;margin-top:10px;color:#758f9e}.revealed-hand{padding:18px 25px 14px}.hand-scroll{display:flex;align-items:flex-end;gap:5px;overflow-x:auto;overflow-y:hidden;padding:14px 4px 21px;min-height:110px;scrollbar-width:thin;scrollbar-color:#41645f transparent;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.hand-tile{flex-shrink:0;border:0;background:transparent;padding:0;position:relative;transition:transform .16s;line-height:1}.hand-tile:disabled{cursor:default;opacity:1}.hand-tile:not(:disabled):hover{transform:translateY(-5px)}.hand-tile.is-selected,.hand-tile.is-selected:hover{transform:translateY(-10px)}.hand-tile .tile-selected{outline:2px solid #e2c27e;outline-offset:2px;box-shadow:0 0 12px #e2c27e40,inset 0 -4px #c9c6b0}.hand-tile.riichi-candidate:after{content:"";width:5px;height:5px;background:var(--gold);border-radius:50%;position:absolute;bottom:-10px;left:calc(50% - 2px)}.hand-tile.drawn-tile{margin-left:15px}.drawn-tag{position:absolute;left:0;bottom:-17px;font-size:8px;letter-spacing:1px;color:#a5c8bd;width:100%;text-align:center}.hand-help{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#93aab5;line-height:1.8}.action-bar{padding:15px 25px;background:#0c172251;border-top:1px solid #9eb5ba12;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.primary-actions,.secondary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.secondary-actions:empty{display:none}.action-bar .button{min-height:43px;font-size:12px;padding:9px 17px}.action-bar .discard-button{min-width:130px}.discard-button>span{padding-left:9px;border-left:1px solid #234b3e66;font-size:11px}.action-bar .response-button{padding:7px 12px;gap:8px}.response-button .tile-small{width:23px;height:32px}.table-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin:22px 0 26px;align-items:start}.public-log,.table-rule-summary{border:1px solid var(--line);border-radius:10px;background:#121f2a;min-width:0}.public-log summary{padding:16px 20px;font-size:12px;color:#c2d1d9;gap:10px}.public-log summary small{font-size:9px;margin-left:11px;color:#819ba9}.public-log summary>span:last-child{font-size:9px;color:#869eac;white-space:nowrap}.public-log summary i{font-style:normal;font-size:16px;margin-left:7px}.public-log ol{margin:0;padding:0 20px 16px;list-style:none;max-height:280px;overflow-y:auto;scrollbar-width:thin}.public-log li{padding:8px 0;display:flex;align-items:baseline;gap:12px;font-size:10px;color:#a1b4bd;line-height:1.7;border-top:1px solid #b8cfdd0b;overflow-wrap:anywhere}.public-log li>span{font-size:8px;color:#7992a0;flex-shrink:0}.table-rule-summary summary{padding:16px 20px;font-size:12px;cursor:pointer;color:#c1d1d9}.table-rule-summary summary>span{font-size:9px;color:#839ba8;margin-left:10px}.table-rule-summary>div{padding:0 20px 18px}.table-rule-summary p{font-size:10px;color:#9eb2bc;line-height:2}.table-rule-summary small{font-size:9px;color:#bba77d;display:block;margin-top:9px;line-height:1.8}.error-banner{color:#f3c4b6;background:#7d352b35;border:1px solid #ad65524d;border-radius:8px;padding:13px 16px;font-size:12px;line-height:1.9;margin-bottom:15px}.action-error{margin:20px 0 0}.action-error>span{font-size:10px;color:#c6a59c;margin-left:10px}.debug-warning{background:#d5a94c12;border:1px solid #d6b26b66;color:#dfc18a;margin-top:15px;border-radius:8px;padding:13px 16px;display:flex;gap:15px;align-items:center;font-size:11px;line-height:1.7}.debug-warning strong{font-size:12px;flex-shrink:0}.debug-warning button{margin-left:auto;flex-shrink:0;color:#e0c285;background:transparent;border:1px solid #bfa37066;border-radius:5px;padding:7px 10px;font-size:10px}.debug-on{color:#e9c483}.debug-hand{margin-top:10px;overflow-x:auto;padding-bottom:5px}.debug-hand .tile-small{width:22px;height:31px}.debug-hand .mini-tiles{gap:2px}.settlement{margin-top:24px;padding:30px;border:1px solid #d4b87945;border-radius:15px;background:radial-gradient(ellipse at top,#25312e,#14212d 70%)}.settlement-heading{text-align:center}.settlement-flower{display:inline-block;font-size:28px;color:var(--gold);margin-bottom:12px}.settlement-heading .eyebrow{font-size:8px;color:#c2ad7b}.settlement-heading h2{font-size:25px;letter-spacing:2px;color:#e7dbc0;font-weight:500;margin-top:9px}.settlement-heading>p:last-child{font-size:12px;color:#a4b7be;margin:12px auto 0;line-height:1.9;max-width:680px}.score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.score-card{background:#0d192386;border:1px solid #a0b9bf22;border-radius:9px;padding:17px 20px;text-align:center}.score-winner{background:#61784618;border-color:#b5bd784b}.score-card>span{font-size:10px;color:#a4b9bc}.score-card h3{font-weight:500;font-size:13px;line-height:1.8;margin-top:5px;overflow-wrap:anywhere}.score-card>strong{font-weight:550;font-size:25px;color:#e9e4d2;display:block;margin:10px 0 6px;font-variant-numeric:tabular-nums}.score-card>small{color:#829da5;font-size:11px}.score-card>.points-positive{color:#8ddcbb}.score-card>.points-negative{color:#e6a292}.winner-detail{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.winner-detail h3{font-size:14px;font-weight:500}.winner-detail h3>span{color:#dfc48c;font-size:11px;margin-left:10px}.yaku-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.yaku-list>span{font-size:10px;border:1px solid #a8c0b52e;color:#c3d2c7;padding:5px 9px;border-radius:5px;background:#6d986710}.yaku-list b{color:#d6be8c;font-weight:500;margin-left:5px}.winner-detail details{font-size:10px;color:#a4b8c2;line-height:2;flex-shrink:0;max-width:45%}.winner-detail summary{cursor:pointer}.winner-detail ul{padding-left:18px;color:#98acb7;font-size:10px}.ura-reveal{display:flex;gap:15px;align-items:center;margin-top:20px;font-size:11px;color:#a5bdba}.settlement-actions{text-align:center;border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.settlement-actions p{font-size:10px;color:#95acb6;line-height:1.8;margin-bottom:15px}.settlement-actions .button{min-width:230px}.confirm-dialog{border:1px solid #72765e;max-width:460px;width:calc(100% - 40px);border-radius:16px;background:linear-gradient(150deg,#233b33,#13251f);color:#ecf1e9;padding:32px;text-align:start;box-shadow:inset 0 1px #eadfb52b,0 25px 90px #0009}.confirm-dialog::backdrop{background:#030b15c9;backdrop-filter:blur(6px)}.confirm-warning{border-color:#a48c56}.confirm-dialog h2{font-size:22px;line-height:1.6;font-weight:650;margin-top:0}.confirm-dialog #confirm-description{font-size:12px;line-height:2;color:#bfcec5;margin-top:16px}.dialog-actions{display:flex;gap:12px;justify-content:center;margin-top:25px;flex-wrap:wrap}.dialog-actions .button{font-size:11px;flex:1;min-width:80px}.dialog-actions .button:last-child{flex:2}.fatal-error{max-width:620px;margin:15vh auto;padding:30px}.fatal-error h1{font-size:27px;margin-top:15px}.fatal-error>p:not(.eyebrow){font-size:14px;line-height:2;color:#a0b5c1;margin:20px 0}.fatal-error .button{margin-top:10px}@media(min-width:1250px){.table-board{padding-inline:70px;gap:12px 45px}.river{gap:4px}.hand-scroll{justify-content:center}.revealed-hand{padding-top:23px}.hand-help{justify-content:center}.table-center .center-round{font-size:33px}}@media(max-width:1100px){.page-shell{width:calc(100% - 48px)}.hero{gap:15px;padding-inline:0}.hero-art{transform:scale(.92);transform-origin:center right}.hero-features{gap:12px;font-size:10px}.setup-layout{gap:20px;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.setup-card{padding:24px}.howto-card{padding:24px 21px}.table-board{padding:22px 18px;gap:12px}.player-zone{padding:11px 10px}.player-score strong{font-size:15px}.player-identity strong{font-size:11px}.table-board:before{left:25px}.table-board:after{right:25px}.game-header-center{gap:10px}.game-header-center .stage-badge{display:none}.hand-scroll{gap:4px}.hand-panel{--tile-w: 45px;--tile-h: 63px}.brand small{letter-spacing:.7px}}@media(max-width:850px){.landing-header{min-height:90px}.hero{grid-template-columns:1fr .85fr;min-height:355px}.hero h1{font-size:35px;letter-spacing:1px}.hero-description{font-size:12px;margin-top:16px}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:17px}.hero-features{gap:10px;margin-top:18px;font-size:9px}.hero-art{transform:scale(.77);min-width:330px;margin-left:-35px;transform-origin:center center}.art-tag{bottom:8px;right:0}.setup-layout{grid-template-columns:1fr}.welcome-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.howto-card{grid-row:span 2}.howto-card ol{margin-top:22px;gap:19px}.roadmap-card{align-self:start}.storage-note,.resume-card{grid-column:1/-1}.decorative-hand{margin-top:28px}.game-header{min-height:84px;gap:10px}.game-mode{display:none}.table-board{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"center center" "north east" "west south";padding:18px;gap:14px}.table-center{padding:0 8px 8px;min-height:68px;display:grid;grid-template-columns:1fr 1fr;column-gap:15px;width:100%;text-align:left;justify-items:start}.table-center .center-round{font-size:23px;grid-column:1;grid-row:1}.center-phase{grid-column:1;grid-row:2;margin-top:6px;font-size:9px}.center-divider{display:none}.table-center>small{grid-column:2;grid-row:1 / span 2;justify-self:end;text-align:right;font-size:9px}.pending-tile{grid-column:2;grid-row:1 / span 2;margin:0;justify-self:end;justify-content:flex-end;max-width:165px}.pending-tile>small{display:none}.pending-tile>.tile{width:31px;height:44px}.player-zone{padding:13px 16px}.player-score strong{font-size:18px}.player-identity strong{font-size:12px}.river{justify-content:start;grid-template-columns:repeat(6,27px);min-height:80px}.table-board:before,.table-board:after{display:none}.round-meta{gap:18px}.table-status{padding:13px 19px}.table-bottom{gap:15px;grid-template-columns:1fr 1fr}.hand-panel-header{padding:14px 20px}.revealed-hand{padding:16px 20px}.action-bar{padding:14px 20px}.handoff-art{left:25px;opacity:.09}.winner-detail{flex-direction:column;gap:12px}.winner-detail details{max-width:100%}.score-card{padding:15px 10px}.score-card>strong{font-size:22px}.debug-warning{flex-wrap:wrap;gap:5px 12px}.debug-warning>span{flex-basis:100%;order:3}.debug-warning button{margin-left:auto}}@media(max-width:600px){.page-shell{width:calc(100% - 32px)}.landing-header{min-height:81px}.brand{gap:8px}.brand-seal{width:35px;height:40px;font-size:25px}.brand strong{font-size:18px}.brand strong span{font-size:14px;margin-left:4px}.brand small{font-size:6px;letter-spacing:.3px}.stage-badge{font-size:8px;padding:6px 9px;gap:6px}.stage-badge .live-dot{height:4px;width:4px}.hero{grid-template-columns:1fr;gap:0;padding:32px 2px 25px;min-height:0}.hero-copy{position:relative;z-index:1}.hero h1{font-size:36px;line-height:1.5;letter-spacing:2px}.hero-copy .eyebrow{font-size:9px;margin-bottom:17px;letter-spacing:2px}.hero-description{font-size:12px;line-height:1.9;margin-top:18px}.hero-features{gap:15px;margin-top:17px;font-size:9px}.hero-art{min-height:255px;height:255px;min-width:0;width:100%;margin:5px 0 -6px;transform:scale(.83);transform-origin:center center}.art-table{width:340px;height:245px}.art-table-caption{font-size:6px}.art-tag{bottom:-12px;right:0;font-size:9px;padding:11px 15px}.art-orbit{inset:0 -5px -10px}.orbit-two{inset:-20px 50px}.setup-card{padding:23px 18px;border-radius:13px}.section-heading{margin-bottom:24px}.section-heading h2{font-size:21px}.section-heading .subtle-chip{font-size:9px;padding:5px 9px}.mode-selector{gap:10px}.mode-selector button{padding:15px 13px}.mode-selector button>span{font-size:14px}.mode-selector button.selected:after{right:11px;top:18px;height:5px;width:5px}.mode-selector small{font-size:8px;margin-left:4px;padding:2px 4px}.mode-selector p{font-size:9px;white-space:nowrap}.name-grid{gap:10px}.name-input>span{font-size:17px;margin-inline:11px}.name-input input{font-size:12px;padding-block:12px}legend{font-size:13px}legend small{font-size:8px;margin-left:6px}.rule-details summary{font-size:12px}.rule-details summary small{font-size:8px;margin-left:8px}.rule-toggle-grid{gap:17px 10px}.rule-toggle{gap:8px}.rule-toggle strong{font-size:11px}.rule-toggle small{font-size:9px}.number-rules{gap:10px;flex-direction:column}.number-rules label{font-size:11px}.number-rules select{margin-left:10px}.welcome-sidebar{display:flex;gap:15px}.howto-card{padding:24px 22px}.howto-card h3{font-size:18px}.howto-card ol{gap:20px}.roadmap-card{padding:20px}.storage-note{padding:0 4px;font-size:9px}.decorative-hand{gap:3px;margin:26px 0}.decorative-hand .tile-small{width:19px;height:27px;padding:2px 2px 3px}.site-footer{flex-direction:column;align-items:center;gap:5px;padding:20px 0;font-size:8px}.game-header{gap:5px;min-height:76px;flex-wrap:wrap}.brand-compact .brand-seal{width:29px;height:33px;font-size:21px}.brand-compact strong{font-size:16px;letter-spacing:1px}.brand-compact strong span{font-size:12px}.brand-compact small{font-size:5px;letter-spacing:0}.game-header-center{display:none}.header-actions{gap:0}.header-actions .button{padding:8px 7px;font-size:9px;min-height:40px}.game-title-row{margin:22px 0 17px;gap:10px}.game-title-row h1{font-size:22px;letter-spacing:1px}.game-title-row h1>span{font-size:11px;padding-left:10px;margin-left:10px;letter-spacing:1px}.game-title-row .eyebrow{font-size:7px}.save-status{font-size:8px}.save-status small{font-size:7px}.save-status>.live-dot{margin-right:4px;height:4px;width:4px}.table-status{padding:12px 13px;flex-wrap:wrap;gap:12px;border-radius:10px 10px 0 0}.round-meta{gap:18px;justify-content:space-between;width:100%;font-size:10px}.round-meta b{font-size:17px}.dora-display{border-top:1px solid #a3beac1c;padding-top:10px;width:100%;gap:4px}.dora-display>span:first-child{font-size:10px;margin-right:auto}.dora-display>span:first-child small{font-size:7px;margin-top:3px}.dora-display .tile-small{width:23px;height:32px}.table-board{padding:12px 9px;gap:10px 7px;border-radius:0 0 10px 10px}.table-center{padding:1px 5px 6px;min-height:69px}.table-center .center-round{font-size:22px;letter-spacing:2px}.center-phase{font-size:8px;padding:4px 9px;letter-spacing:1px}.table-center>small{font-size:8px;letter-spacing:1px}.pending-tile>span:not(.tile){font-size:8px;max-width:85px}.player-zone{padding:10px 8px;border-radius:7px}.player-header{display:grid;grid-template-columns:24px minmax(0,1fr);gap:3px 6px;margin-bottom:9px}.player-header .wind-medallion{width:24px;height:29px;font-size:17px;grid-row:1 / span 2}.player-identity strong{font-size:10px}.player-identity>span{font-size:7px;margin-top:2px}.player-score{grid-column:2;display:flex;align-items:center;gap:6px;text-align:left;margin-top:4px;flex-wrap:wrap}.player-score strong{font-size:15px}.player-score>span{margin-top:0;font-size:7px}.player-score>.riichi-badge{margin:0;font-size:7px;padding:1px 4px}.river{grid-template-columns:repeat(6,21px);gap:3px 2px;justify-content:center;min-height:69px;padding-bottom:7px}.river .tile-small{width:21px;height:30px;padding:2px 2px 3px}.river-empty{font-size:8px;letter-spacing:.5px;margin-top:23px}.discard-riichi>i{width:13px;left:4px;height:2px}.discard-claimed>small{left:7px;font-size:6px}.public-melds{padding-top:5px;gap:5px}.meld-empty,.hand-count{font-size:7px}.hand-panel{margin-top:16px;border-radius:10px;--tile-w: 44px;--tile-h: 63px}.hand-panel-header{padding:12px 13px;align-items:flex-start;gap:8px}.hand-panel-header>div{gap:8px}.hand-panel-header h2{font-size:12px;line-height:1.6}.hand-panel-header h2 small{font-size:8px;display:block;margin:0}.hand-panel-header .wind-medallion{width:24px;height:29px;font-size:17px}.hand-privacy{font-size:8px;line-height:1.8;display:flex;flex-direction:column;text-align:right;flex-shrink:0}.hand-privacy button{font-size:9px;margin:0;padding:0;min-height:22px;text-align:right}.handoff{padding:24px 17px 22px;min-height:245px}.handoff h2{font-size:16px;line-height:1.8}.handoff-copy>p:last-child{font-size:10px;line-height:1.9;margin-top:8px}.handoff-copy .eyebrow{font-size:7px}.handoff-art{left:-40px;top:90px;opacity:.1}.handoff .button{min-width:0;width:100%;font-size:11px;margin-top:19px}.handoff-note{font-size:8px}.revealed-hand{padding:10px 10px 12px}.hand-scroll{padding:15px 4px 23px;gap:4px;min-height:103px;justify-content:flex-start}.hand-tile.drawn-tile{margin-left:12px}.hand-help{font-size:9px;gap:7px;padding:0 4px;flex-wrap:wrap}.action-bar{padding:12px 13px;gap:10px}.primary-actions,.secondary-actions{gap:8px}.action-bar .button{font-size:11px;padding:10px 12px;min-height:43px}.action-bar .discard-button{min-width:110px}.action-bar .response-button{padding:7px 9px}.table-bottom{grid-template-columns:1fr;gap:12px;margin:16px 0 20px}.public-log summary,.table-rule-summary summary{padding:15px 17px;font-size:11px}.public-log summary small{font-size:8px}.public-log summary>span:last-child{font-size:8px}.public-log ol{padding-inline:17px}.debug-warning{padding:11px 12px;font-size:10px;line-height:1.8}.debug-warning strong{font-size:11px}.debug-warning button{font-size:8px;padding:6px 7px}.settlement{padding:23px 16px;margin-top:17px}.settlement-heading h2{font-size:22px}.settlement-heading>p:last-child{font-size:11px}.score-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:21px}.score-card{padding:15px 10px}.score-card>span{font-size:9px}.score-card h3{font-size:12px}.score-card>strong{font-size:24px}.winner-detail h3{font-size:13px}.winner-detail h3>span{font-size:10px}.yaku-list>span{font-size:9px;padding:5px 7px}.settlement-actions .button{font-size:12px;width:100%;min-width:0}.confirm-dialog{padding:27px 22px}.confirm-dialog h2{font-size:20px}.confirm-dialog #confirm-description{font-size:11px}.dialog-actions{gap:10px}.dialog-actions .button{padding:10px;font-size:10px}.error-banner{font-size:11px}.action-error>span{display:block;margin:3px 0 0;font-size:9px}}@media(max-width:370px){.page-shell{width:calc(100% - 24px)}.hero h1{font-size:32px}.hero-features{font-size:8px;gap:10px}.hero-art{transform:scale(.76);margin-top:-8px;margin-bottom:-13px}.brand small{display:none}.hero-copy .eyebrow{font-size:8px}.mode-selector button{padding-inline:10px}.mode-selector small{display:none}.name-input>span{margin-inline:8px}.name-input input{font-size:11px}.section-heading h2{font-size:19px}.game-page{width:calc(100% - 16px)}.game-header .brand{gap:5px}.brand-compact strong{font-size:14px}.brand-compact strong span{font-size:11px}.header-actions .button{font-size:8px;padding-inline:5px}.game-title-row h1{font-size:20px}.table-board{padding-inline:6px;gap:8px 5px}.player-zone{padding:8px 5px}.river{grid-template-columns:repeat(6,20px);column-gap:2px}.river .tile-small{width:20px}.player-identity strong{font-size:9px}.game-title-row h1>span{font-size:10px;margin-left:7px;padding-left:7px}.save-status{font-size:7px}.save-status small{font-size:6px}.setup-card{padding-inline:15px}.rule-toggle-grid{grid-template-columns:1fr}.rule-toggle small{font-size:10px}.decorative-hand .tile-small{width:17px;height:25px}.decorative-hand{gap:3px}}.winning-hand{margin-top:15px;min-width:0}.winning-hand>span{font-size:9px;color:#9bb5b6;display:block;margin-bottom:8px}.winning-tiles{display:flex;align-items:center;gap:12px;max-width:100%;overflow-x:auto;padding:3px 2px 14px;scrollbar-width:thin}.winning-hand .mini-tiles{gap:3px}.winning-ron{position:relative;flex-shrink:0}.winning-ron>small{position:absolute;bottom:-12px;left:0;width:100%;text-align:center;font-size:7px;color:#d3bb86}.winner-detail>div:first-child{min-width:0;flex:1}.winning-tiles>.meld{flex-shrink:0}@media(max-width:600px){.winning-hand .tile-small{width:24px;height:34px}.winning-hand .mini-tiles{gap:2px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.action-settings-trigger{display:inline-grid;place-items:center;flex:none;padding-inline:.55rem}.action-preferences[open]{position:fixed;inset:0;margin:auto;width:min(25rem,calc(100vw - 24px));max-height:calc(100dvh - 16px);box-sizing:border-box;color:#f1ead6;text-align:left}.action-preference-options{display:grid;gap:.5rem}.action-preference-options button{display:grid;gap:.25rem;padding:.65rem .85rem;border:1px solid #68776c;border-radius:.65rem;color:#f1ead6;background:#1f4038;text-align:left;cursor:pointer}.action-preference-options button[aria-pressed=true]{border-color:#d5b772;background:#315345}.action-preference-options small{color:#d4ddce;font-size:.8rem}.action-preferences .dialog-actions{margin-top:.7rem}.hotseat-viewport .hand-panel .handoff{position:fixed;inset:50% auto auto 50%;z-index:8;transform:translate(-50%,-50%);width:min(27rem,calc(100vw - 28px));box-sizing:border-box;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;padding:clamp(10px,2.5dvh,24px);gap:clamp(5px,1.1dvh,12px);border:1px solid #aa956d;border-radius:14px;background:linear-gradient(150deg,#264339,#142a26);box-shadow:inset 0 1px #fff2,0 12px 50px #061b18b3}.action-settings-label{display:none}@media(min-width:760px){.action-settings-trigger{grid-auto-flow:column;gap:5px}.action-settings-label{display:inline}}.guide-index{display:grid;gap:10px}.guide-find{display:flex;gap:8px;justify-content:space-between;align-items:center}.guide-find label{min-width:0;flex:1}.guide-find label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.guide-find input{width:100%;background:#0d1d28;border:1px solid #385463;border-radius:6px;color:#edf3f4;padding:8px;font-size:14px}.guide-index small{font-size:11px;color:#9cb3b7}.guide-reading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:start;gap:10px}.guide-names:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.guide-names button{background:#1d333f;border:1px solid #3d5059;color:#dce5e8;font-size:12px;border-radius:6px;padding:7px 3px}.guide-names button[aria-pressed=true]{color:#a1f1d7;border-color:#64bca2;background:#244a42}.guide-reading article{display:grid;gap:5px;border-left:2px solid #a68d60;background:#20323a;border-radius:4px;padding:10px}.guide-reading article h3{font-size:17px}.guide-reading article p{font-size:13px;color:#c5d6d8;line-height:1.55}@media(max-width:510px)and (min-height:450px){.guide-reading{grid-template-columns:1fr}.guide-names:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-height:440px){.guide-index{gap:5px}.guide-names button{padding-block:4px}}.lobby{min-height:0;height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);padding:max(12px,env(safe-area-inset-top)) max(clamp(12px,4vw,64px),env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(clamp(12px,4vw,64px),env(safe-area-inset-left));background:radial-gradient(ellipse at 18% 35%,#1e3833 0,transparent 56%),linear-gradient(145deg,#0c1b1d,#101c24 70%,#0c161b)}.lobby-header,.lobby-main{width:min(1120px,100%);margin-inline:auto}.lobby-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-block:5px 12px;border-bottom:1px solid var(--line)}.lobby-header nav,.lobby-config{display:flex;gap:8px}.lobby-header nav button,.lobby-config button{border:0;border-radius:6px;padding:8px 10px;background:transparent;color:#c7dadf;font-size:13px}.lobby-header nav button:hover,.lobby-config button:hover{background:#ffffff0d;color:var(--teal)}.lobby-main{display:grid;align-items:center;min-height:0}.lobby-card{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);border:1px solid #776d4d;border-radius:18px;background:linear-gradient(145deg,#1c2d32,#132127);box-shadow:inset 0 1px #f9e4b512,0 24px 60px -20px #0009}.lobby-preview{position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:space-between;justify-items:start;padding:clamp(24px,3vw,44px);border-radius:17px 0 0 17px;background:radial-gradient(ellipse at 42% 42%,#31564b,transparent 73%),repeating-linear-gradient(115deg,#ffffff03 0 1px,transparent 1px 4px),#112f2b;border-right:1px solid var(--line)}.lobby-preview:before{content:"";position:absolute;z-index:-1;inset:10px;border:1px solid #c6ab713b;border-radius:10px 1px 1px 10px;pointer-events:none}.lobby-preview .eyebrow{color:#e3c888}.lobby-preview h1{margin-block:6px;font-size:clamp(30px,4vw,48px);font-weight:550;font-family:STIX Two Text,Songti SC,SimSun,serif;letter-spacing:.08em}.lobby-preview p,.lobby-mode-note{font-size:13px;line-height:1.5;color:#a8c3b9}.lobby-preview .art-table{position:absolute;top:53%;left:50%;width:min(87%,420px);height:auto;padding:13px 10px 22px;border:none;border-radius:0;background:none;box-shadow:none;outline:none;transform:translate(-50%,-34%) rotate(-7deg)}.lobby-preview .art-tile-trio{--tile-w: clamp(34px, 4.3vw, 59px);--tile-h: calc(var(--tile-w) * 1.36);gap:3px;margin:0;filter:drop-shadow(2px 9px 5px #041c1a99)}.lobby-preview .art-tile-trio>.tile{transform:none}.lobby-preview .art-tile-trio>.tile:last-child{transform:translate(6px,-8px) rotate(8deg)}.lobby-preview .art-backs{margin-top:16px;opacity:.85}.lobby-preview .art-table:after{content:"";position:absolute;bottom:7px;left:15%;right:15%;height:3px;border:1px solid #e5d6a255;border-radius:4px;background:linear-gradient(90deg,#8b7451,#e2c686 48%,#a99159);box-shadow:0 4px 6px #082321}.lobby-form{display:grid;align-content:center;gap:clamp(12px,2.5dvh,23px);min-width:0;padding:clamp(22px,3.2vw,44px)}.lobby-form h2{font-size:clamp(20px,1.8vw,28px);font-weight:600;letter-spacing:.04em}.lobby-form legend{margin-bottom:6px;color:#c0d3dc;font-size:12px}.lobby .mode-selector{gap:8px}.lobby .mode-selector button{padding:13px 14px;min-width:0;background:#132226;border-color:#40504c;box-shadow:inset 0 1px #ffffff06}.lobby .mode-selector button.selected{background:linear-gradient(115deg,#2e5145,#213d36);border-color:#aaa076;box-shadow:inset 3px 0 #ceba80}.lobby .mode-selector button:not(.selected):hover{border-color:#a5a68d}.lobby .mode-selector button.selected:after{top:18px;right:9px}.lobby .mode-selector button>span{font-size:14px}.lobby-config{justify-content:space-between;border-block:1px solid var(--line);padding-block:4px}.lobby-config button{padding-inline:2px}.lobby-config button span{color:#9cbdab}.lobby-actions{display:grid;gap:7px}.lobby-save{display:grid;grid-template-columns:1fr auto;gap:6px}.lobby-actions small{font-size:11px;color:#a2bcc6;font-weight:400}.lobby-alert{color:#f2c683;line-height:1.35;font-size:12px}.lobby-dialog,.confirm-dialog{position:fixed;inset:0;margin:auto}.lobby-dialog{width:min(570px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 16px);border:1px solid #58706d;border-radius:14px;padding:clamp(14px,3vw,24px);color:#edf3f4;background:linear-gradient(150deg,#253b39,#172b2d 66%);border-color:#8a805f;box-shadow:0 20px 80px #0008;color-scheme:dark}.lobby-dialog::backdrop{background:#071210cc;backdrop-filter:blur(4px)}.lobby-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:10px}.lobby-dialog h2{font-size:20px;font-weight:600}.lobby-dialog header .button{padding:6px 14px;min-height:34px}.lobby-dialog-body{display:grid;gap:12px}.lobby-dialog-body>p,.lobby-help p{font-size:13px;line-height:1.6;color:#bed0d9;overflow-wrap:anywhere}.lobby-point-rules{display:grid;gap:12px}.lobby-point-rules legend{color:#d7decd;font-size:13px;margin-bottom:5px}.lobby-point-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.lobby-point-options button{min-height:38px;border:1px solid #475950;border-radius:6px;background:#102523;color:#c5d7ca;font-variant-numeric:tabular-nums}.lobby-point-options button[aria-pressed=true]{border-color:#cbb782;background:#2e5041;color:#faeac4;box-shadow:inset 0 -2px #c2aa71}.lobby-config small{color:#dfcb99;font-size:11px}.lobby .lobby-actions>.button-primary{color:#1e3027;background:linear-gradient(180deg,#ead9a6,#cfba82);border-color:#e7d4a0;box-shadow:inset 0 1px #fff7d6,0 3px 6px #07150f55}.lobby .lobby-actions>.button-primary:hover{background:#f0dca8}.lobby-dialog .rule-toggle-grid{gap:8px}.lobby-dialog .rule-toggle{padding:6px;border-radius:7px;background:#223642}.lobby-dialog .rule-toggle strong{font-size:13px}.lobby-dialog .rule-toggle small{font-size:11px}.lobby-tabs{display:flex;align-items:stretch;gap:3px;border-bottom:1px solid var(--line)}.lobby-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:6px 10px;color:#aac0c6;font-size:13px}.lobby-tabs button[aria-pressed=true]{border-color:#75dab6;color:#92e4c9}.lobby-tabs button:disabled{opacity:.4}.lobby-help{margin:0;padding-inline-start:22px;display:grid;gap:12px}.lobby-help li::marker{color:var(--teal)}.lobby-help strong{font-size:14px}.lobby-help p{margin-top:3px}@media(max-width:720px){.lobby{padding-inline:12px}.lobby-header .brand small{display:none}.lobby-header nav{gap:0}.lobby-card{grid-template-columns:minmax(0,1fr)}.lobby-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px 20px;border-radius:17px 17px 0 0;border-right:0;border-bottom:1px solid var(--line)}.lobby-preview:before{inset:4px;border-radius:14px 14px 0 0}.lobby-preview h1{font-size:26px}.lobby-preview .art-table,.lobby-preview-copy>p{display:none}.lobby-mode-note{font-size:12px}.lobby-form{padding:16px 20px}}@media(max-height:710px){.lobby-form{gap:10px}.lobby .mode-selector button{padding-block:9px}.lobby .mode-selector p{margin-top:3px}.lobby-form .button{min-height:38px;padding-block:6px}.lobby-preview .art-table{transform:translate(-50%,-34%) rotate(-8deg) rotateX(22deg) scale(.69)}}@media(max-height:520px){.lobby{padding-block:5px}.lobby-header{padding-block:0 4px}.lobby-header .brand-seal{height:30px;width:30px;font-size:20px}.lobby-header .brand small,.lobby-preview .art-table{display:none}.lobby-card{grid-template-columns:minmax(0,1fr)}.lobby-preview{display:flex;justify-content:space-between;align-items:center;padding:5px 15px;border-radius:17px 17px 0 0;border:0}.lobby-preview-copy>h1,.lobby-preview-copy>p{display:none}.lobby-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;padding:7px 15px 10px}.lobby-form h2,.lobby-config,.lobby-actions,.lobby-alert{grid-column:1 / -1}.lobby-form h2{font-size:16px}.lobby-actions{grid-auto-flow:column;grid-auto-columns:1fr}.lobby-config{padding-block:0}.lobby-point-rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lobby-point-options button{min-height:32px}.lobby-dialog{padding:10px 14px}.lobby-dialog>header{margin-bottom:7px;padding-bottom:5px}.lobby-dialog .lobby-dialog-body{gap:6px}}@media(max-width:400px){.lobby-header nav button{font-size:12px;padding-inline:6px}.lobby-dialog .lobby-tabs button{padding-inline:7px}.lobby-form{padding-inline:13px}}@media(max-width:720px)and (max-height:650px)and (min-height:521px){.lobby-preview{padding:7px 13px}.lobby-preview-copy>h1{display:inline;margin:0;font-size:19px}.lobby-preview-copy .eyebrow{display:none}.lobby-form{gap:6px}.lobby-actions button{min-height:36px}}.save-backup{display:grid;gap:10px;font-size:14px;color:#bed0d9}.save-backup p{line-height:1.5;overflow-wrap:anywhere}.backup-actions{display:flex;flex-wrap:wrap;gap:8px}.backup-actions .button{min-height:36px;padding:6px 12px}@media(max-height:450px){.save-backup{gap:4px}}.response-decision,.turn-decision-dialog{border:1px solid #a3966d;border-radius:13px;padding:clamp(8px,1.8vmin,16px);background:linear-gradient(145deg,#28463c,#172d2a);color:#f1e9d4;box-shadow:inset 0 1px #e5d7a631,0 8px 24px #041714aa}.response-decision{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:8;width:max-content;max-width:min(94vw,560px);display:grid;gap:8px}.turn-decision-dialog{margin:auto;max-width:min(94vw,560px)}.turn-decision-dialog::backdrop{background:#04131280}.response-decision header,.turn-decision-dialog header,.turn-commit{display:flex;gap:8px;align-items:center;justify-content:space-between}.response-decision header h3,.turn-decision-dialog header h3{margin:0;font-size:16px}.turn-option-grid,.turn-action-tiles{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.turn-decision-dialog header{margin-bottom:8px}.turn-decision-dialog .turn-option-grid+.turn-commit{margin-top:8px}.turn-decision-dialog .button,.response-decision .button{min-height:32px;padding:5px 12px}.turn-decision-dialog>.button-primary,.turn-commit>.button-primary{flex:1}.turn-option-grid .button[aria-pressed=true]{border-color:#d3bb82;background:#345448;color:#fff2c9}.turn-action-tiles{margin-bottom:6px}.hotseat-playfield:has(.hx-stage:not([hidden]))~.hand-panel .response-decision{visibility:hidden}@media(max-height:450px){.response-decision{gap:4px;padding:5px 8px}.response-decision header h3,.turn-decision-dialog header h3{font-size:14px}.response-decision .turn-option-grid,.turn-commit{gap:3px}.turn-option-grid .tile-small,.turn-commit .tile-small{width:17px;height:23px}.turn-decision-dialog .button,.response-decision .button{min-height:25px;padding:2px 7px}}.win-records,.payment-note{display:grid;gap:7px;min-width:0;align-content:start;color:#e7eeee}.payment-note{background:#2b322e;border:1px solid #706445;border-radius:8px;padding:10px}.payment-note h4{margin:0;font-size:14px;color:#e8d19f}.win-records p,.payment-note p{font-size:13px;line-height:1.45;margin:0;overflow-wrap:anywhere}.payment-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;font-size:14px}.result-stepper,.record-tabs{display:flex;gap:5px;align-items:center;min-width:0}.result-stepper span{font-size:12px}.result-stepper button,.record-tabs button{border:1px solid #455a62;color:#d0e1e3;background:#172935;border-radius:5px;min-height:30px;padding:3px 10px;font-size:12px}.result-stepper button{font-size:18px;line-height:1}.result-stepper button:disabled{opacity:.4}.record-tabs button[aria-pressed=true]{border-color:#78c9b2;color:#a8e8d3}.record-deltas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.record-deltas>div{display:grid;gap:2px;padding:5px;background:#20333d;color:#e2eae9;font-size:12px;border-radius:3px}.record-deltas span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-height:450px){.win-records,.payment-note{gap:4px}.result-stepper button,.record-tabs button{min-height:24px}}.table-result{flex:1 1 0;display:flex;flex-direction:column;min-width:0;min-height:0;padding:clamp(10px,2.4vmin,27px) clamp(12px,3.5vw,48px);gap:clamp(6px,1.5vmin,16px);border:1px solid #c5ac7452;border-radius:14px;background:radial-gradient(ellipse at 40% 0%,#263630,#14222c 74%);container-type:size}.result-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.result-heading h2{margin:0;font-size:clamp(20px,3vmin,34px);line-height:1.15;color:#ede8d8}.result-heading p{flex:1 1 180px;margin:0;color:#b1c6c7;font-size:13px;overflow-wrap:anywhere}.result-nav,.result-detail-kinds,.result-steps,.result-detail-nav,.result-winner,.result-footer,.result-ura{display:flex;align-items:center;gap:8px}.result-nav{border-bottom:1px solid #97b7b536}.result-nav button,.result-detail-kinds button,.result-steps button{border:0;background:transparent;color:#abbebf;font:inherit;font-size:13px;padding:6px 9px;min-height:34px}.result-nav button{border-bottom:2px solid transparent;margin-bottom:-1px}.result-nav button[aria-pressed=true]{border-color:var(--gold);color:#f0d9a9}.result-content{flex:1;display:flex;flex-direction:column;min-height:0;min-width:0;gap:8px;justify-content:center}.result-standings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(4px,1vw,16px);align-items:center}.result-seat{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(2px,1vmin,10px);min-width:0;background:linear-gradient(145deg,#213b32,#152922);box-shadow:inset 0 1px #edf1ce19;border:1px solid #8eacad36;border-radius:8px;padding:clamp(6px,1.5vmin,22px)}.result-seat-winner{border-color:#c8b1799c;background:linear-gradient(135deg,#4a4b32,#23392d);box-shadow:inset 0 2px #d8bd83}.result-seat small,.result-even,.result-footer>span{color:#a8bbbd}.result-seat small{font-size:12px}.result-name{font-weight:600;overflow-wrap:anywhere}.result-seat strong{font-size:clamp(17px,2.8vw,36px);color:#f1e9d4;font-variant-numeric:tabular-nums}.result-plus{color:#8ddcbb}.result-minus{color:#f1aa9e}.result-plus,.result-minus,.result-even{font-size:13px;font-variant-numeric:tabular-nums}.result-winner{flex-wrap:wrap;justify-content:space-between}.result-winner strong{min-width:0;max-width:62%;overflow-wrap:anywhere;font-size:14px}.result-winner .seat-switch{flex:1 1 180px;max-width:420px}.result-winner>span{font-size:13px;color:#ddc794}.result-hand{display:grid;align-content:center;gap:12px;flex:1;min-height:0}.result-tiles{display:flex;flex-wrap:wrap;gap:3px;align-items:center}.result-ron{display:inline-flex;flex-direction:column;position:relative}.result-ron small{color:var(--gold);font-size:10px;text-align:center}.result-ura>span:first-child{color:#a9c0c0;font-size:12px}.result-details{flex:1;display:flex;flex-direction:column;min-height:0}.result-detail-nav{justify-content:space-between}.result-detail-kinds{gap:2px}.result-detail-kinds button[aria-pressed=true]{color:#b7f1dc;background:#23433f;border-radius:5px}.result-steps{gap:4px;font-size:12px}.result-steps button{border:1px solid #879f9f55;border-radius:4px;min-width:30px;padding:0;font-size:20px}.result-steps button:disabled{opacity:.35}.result-lines-wrap{flex:1;min-height:0}.result-lines{list-style:none;padding:0;margin:0;display:grid;column-gap:12px}.result-lines li{border-bottom:1px solid #94b3af30;font-size:14px;padding:6px 0;line-height:1.3;overflow-wrap:anywhere}.result-footer{justify-content:space-between;border-top:1px solid var(--line);padding-top:6px}.result-footer>span{font-size:13px}@container (max-width: 530px){.result-standings{grid-template-columns:repeat(2,minmax(0,1fr))}.result-nav{gap:2px;justify-content:space-between}.result-nav button{padding-inline:4px}.result-heading{gap:4px}.result-heading p{flex-basis:100%}.result-seat{gap:2px}.result-seat strong{font-size:20px}}@container (max-height: 275px){.result-heading{gap:6px}.result-heading h2{font-size:17px}.result-heading p{font-size:11px;flex-basis:120px}.result-nav button,.result-detail-kinds button,.result-steps button{min-height:26px;padding-block:1px}.result-winner{gap:3px}.result-winner strong,.result-winner>span{font-size:12px}.result-content{gap:2px}.result-hand{gap:4px}.result-details{position:relative}.result-lines li{font-size:12px;padding:3px 0}.result-seat{padding:4px 7px;gap:0}.result-seat strong{font-size:17px}.result-name{font-size:13px}.result-footer{padding-top:2px}.result-footer .button{min-height:28px;padding:4px 10px;font-size:12px}}@container (max-height: 275px) and (min-width: 415px){.result-standings{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (max-height: 200px) and (min-width: 450px){.result-hand{display:flex;align-items:center;justify-content:space-between;gap:6px}.result-ura{flex-direction:column;gap:1px}}.discard-wait-dialog{width:min(440px,calc(100vw - 24px));padding:14px;border:1px solid #777b61;border-radius:12px;background:linear-gradient(150deg,#223b32,#14251f);box-shadow:inset 0 1px #eadfb52b,0 20px 70px #0008;color:#e1eee7}.discard-wait-dialog::backdrop{background:#061415b8}.discard-wait-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px}.discard-wait-dialog h3{font-size:16px}.discard-wait-dialog .button{min-height:28px;padding:4px 10px}.discard-wait-dialog ul{margin:12px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(32px,1fr));gap:5px;list-style:none}.discard-wait-dialog li{display:grid;justify-items:center;gap:2px;padding:3px 0;border-radius:5px;background:#071d176b;font-size:11px}.discard-wait-dialog p{margin-top:5px;font-size:12px;line-height:1.5;color:#b4c9c2}.discard-wait-dialog p.wait-furiten{color:#efd397}.hotseat-viewport .hand-scroll .hand-tile{padding-top:7px;margin-top:-7px;touch-action:pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.hotseat-viewport .hand-scroll .hand-tile:enabled,.hotseat-viewport .hand-scroll .hand-tile:enabled:hover{transform:none}.hotseat-viewport .hand-tile>.tile,.hotseat-viewport .hand-tile>.drawn-tag{pointer-events:none;transition:transform .12s ease-out}@media(hover:hover){.hotseat-viewport .hand-tile:enabled:not(.is-selected):hover>.tile{transform:translateY(-2px)}}.hotseat-viewport .hand-tile.is-selected>.tile,.hotseat-viewport .hand-tile.is-selected>.drawn-tag{transform:translateY(-7px)}@media(prefers-reduced-motion:reduce){.hotseat-viewport .hand-tile>.tile,.hotseat-viewport .hand-tile>.drawn-tag{transition:none}}.hotseat-viewport.game-page{position:fixed;inset:0;width:min(100%,1520px);height:100%;height:100dvh;padding:0 clamp(8px,2.2vw,34px) max(6px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.hotseat-viewport .game-header{min-height:0;height:clamp(42px,7vh,67px);flex:none}.hotseat-viewport .game-header .button{min-height:34px;padding:5px 10px}.hotseat-viewport main{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:clamp(4px,1vh,12px)}.hotseat-viewport .table-status{flex:none;padding:5px clamp(8px,2vw,22px);color:#d6dfcd;background:linear-gradient(100deg,#213831,#132922 70%,#192f29);border-color:#65745a;box-shadow:inset 0 1px #dce8be20}.hud-round{font-family:Songti SC,SimSun,serif;color:var(--gold);font-weight:550;font-size:clamp(13px,1.4vw,20px);white-space:nowrap}.hotseat-viewport .debug-warning{margin:3px 0 0;padding:2px 8px;min-height:0}.hotseat-viewport .debug-warning>span{display:none}.hotseat-viewport .table-board{flex:1 1 0;min-height:0;container-type:size;padding:clamp(7px,1.6vh,18px) clamp(10px,3vw,48px);gap:4px clamp(10px,3vw,42px);grid-template-rows:repeat(3,minmax(0,1fr));border-color:#65745a;background:radial-gradient(ellipse at 45% 40%,#28614e,#194b3c 60%,#10372e);box-shadow:inset 0 0 0 3px #112d27,inset 0 0 0 4px #b6a67555,inset 0 3px 24px #04140f99}.hotseat-viewport .table-board:before,.hotseat-viewport .table-board:after{content:none}.hotseat-viewport .table-center{min-height:0;padding:0}.hotseat-viewport .center-phase{margin-top:4px}.table-overlay-anchor{position:absolute;inset:0;pointer-events:none;z-index:4}.table-overlay-anchor>*{pointer-events:auto}.hotseat-viewport .player-zone{position:relative;padding:clamp(5px,1.2cqh,14px) clamp(6px,1vw,18px);max-width:350px;width:100%;justify-self:center;background:linear-gradient(125deg,#12382edf,#0c2e27ce);border-color:#9ab6a34d;box-shadow:0 2px 5px #08221b33,inset 0 1px #dce2bc0f}.hotseat-viewport .zone-active{border-color:#dcc18b;background:linear-gradient(120deg,#304a33,#163a30);box-shadow:inset 3px 0 #ddbc7a,0 2px 8px #061e1755}.hotseat-viewport .wind-medallion{box-shadow:inset 0 1px #f1e3b829}.hotseat-viewport .player-score strong{font-variant-numeric:tabular-nums}.hotseat-viewport .player-header{margin-bottom:4px;gap:6px}.seat-inspect{position:absolute;inset:0;background:transparent;border:0;border-radius:inherit}.seat-inspect:hover{background:#dae8bc0a}.seat-summary{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#aac4b6;border-top:1px solid #c5e7cd20;padding-top:3px}.hotseat-viewport .river{min-height:23px;grid-template-columns:repeat(6,auto);gap:2px;padding:1px 0 5px}.hotseat-viewport .river-empty{margin:0;line-height:1.7;color:#a4c0b0}.hotseat-viewport .debug-hand{margin:3px 0 0;padding:0;overflow:visible}.hotseat-viewport .debug-hand .mini-tiles{display:flex;flex-wrap:wrap;gap:1px}.hotseat-viewport .debug-hand .tile-small{zoom:.7}.hotseat-viewport .hand-panel{flex:none;margin:clamp(3px,.8vh,9px) 0 0;overflow:visible;border-color:#52645b;background:linear-gradient(170deg,#223b35,#132724 80%);box-shadow:inset 0 1px #e9dbb425,0 5px 16px #020d1155}.hotseat-viewport .hand-panel-header{padding:3px clamp(8px,1.7vw,24px);align-items:center;border-radius:inherit;background:#192d29;border-bottom-color:#abc9a72b}.hotseat-viewport .hand-panel-header h2{display:flex;align-items:center}.hotseat-viewport .hand-panel-header h2 small{margin:0 0 0 8px}.hotseat-viewport .hand-panel-header .wind-medallion{width:22px;height:24px;font-size:15px}.hotseat-viewport .hand-privacy{display:flex;gap:8px;align-items:center;flex-shrink:0}.hotseat-viewport .hand-privacy button{min-height:29px;padding:0 3px;margin:0}.hotseat-viewport .handoff{min-height:0;padding:clamp(7px,1.8vh,20px);display:grid;justify-items:center;gap:5px}.hotseat-viewport .handoff-art{top:15px}.hotseat-viewport .handoff .privacy-lock,.hotseat-viewport .handoff-copy .eyebrow{display:none}.hotseat-viewport .handoff h2,.hotseat-viewport .handoff-copy p,.hotseat-viewport .handoff-note,.hotseat-viewport .handoff .button{margin:0}.hotseat-viewport .revealed-hand{padding:0 10px 3px}.hotseat-viewport .hand-scroll{display:grid;grid-template-columns:repeat(var(--rack-count),minmax(0,51px));justify-content:center;align-items:end;gap:clamp(2px,.4vw,6px);padding:12px 3px 14px;min-height:0;overflow:visible}.hotseat-viewport .hand-tile{width:100%;display:flex;justify-content:center;min-width:0}.hotseat-viewport .hand-tile.drawn-tile{margin:0}.hotseat-viewport .hand-tile>.tile{width:100%;max-width:51px;height:auto;aspect-ratio:.72}.hotseat-viewport .hand-tile .drawn-tag{bottom:-12px;line-height:1}.hotseat-viewport .hand-tile.is-selected,.hotseat-viewport .hand-tile.is-selected:hover{transform:translateY(-6px)}.hotseat-viewport .hand-help{justify-content:center;text-align:center}.hotseat-viewport .action-bar{padding:4px 8px;border-radius:inherit;justify-content:center;border-top-color:#d3bc8c32;background:#0e211dd9}.hotseat-viewport .action-bar .button-primary:enabled,.hotseat-viewport .handoff .button-primary{background:linear-gradient(#a6e6cc,#79cba8);border-color:#b7edd5;color:#103926;box-shadow:inset 0 -2px #316f5760,0 2px 4px #07130f5e}.hotseat-viewport .action-bar .button-primary:enabled:hover,.hotseat-viewport .handoff .button-primary:hover{background:#b3efd5}.hotseat-viewport .hand-tile:focus-visible{outline:2px solid #ebcc8e;outline-offset:3px;border-radius:4px}.seat-switch{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;border:1px solid #7384746b;background:#0f211e;border-radius:9px;padding:3px}.seat-switch button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:30px;border:1px solid transparent;background:transparent;color:#c1d2c8;font-size:12px;border-radius:6px;padding:2px 5px}.seat-switch button[aria-pressed=true]{color:#fff4d5;border-color:#bfa670;background:#354b3c}.seat-switch button:hover{background:#294336}.seat-switch button b{color:#e1c58d;font-family:Songti SC,SimSun,serif;font-size:16px}.seat-switch button span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media(max-height:450px){.seat-switch button{min-height:23px}}.hotseat-viewport .action-bar .primary-actions{justify-content:center;gap:4px}.hotseat-viewport .action-bar .button{min-height:34px;padding:5px 13px;gap:5px}.hotseat-viewport .action-bar .discard-button{min-width:88px}.hotseat-viewport .action-bar:not(:has(button)){display:none}.hotseat-viewport .action-error{margin:2px 0;padding:3px 9px;font-size:11px}.hotseat-viewport .action-error>span{display:none}.table-info-dialog{width:min(660px,calc(100vw - 16px));max-height:calc(100dvh - 12px);padding:clamp(10px,2vw,20px);color:#e1ece7;background:#172b31;border:1px solid #4f7169;border-radius:14px}.table-info-dialog::backdrop{background:#030d14cb}.table-info-dialog>header,.table-info-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.table-info-dialog h2{font-size:20px}.table-info-dialog h3{font-size:15px;font-weight:600}.table-info-dialog>header .button,.table-item-range .button{min-height:31px;padding:4px 10px;font-size:12px}.table-info-tabs{display:flex;gap:4px;padding:6px 0;margin:5px 0;border-block:1px solid #a7ccbc25}.table-info-tabs button{color:#bed1c8;padding:6px 10px;font-size:12px;background:transparent;border:1px solid transparent;border-radius:5px}.table-info-tabs button[aria-pressed=true]{border-color:#688978;background:#28473d;color:#f4edcc}.table-info-heading>span{font-size:11px;color:#a5c4b1}.table-log-pane ol{padding-left:2.4em;line-height:1.7;font-size:13px}.table-log-pane li{padding:3px 0}.table-item-range{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px}.table-item-range .button:disabled{opacity:.4}.table-seat-pane h3{margin:7px 0}.full-river,.table-full-melds{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;color:#a9c1b3}.history-empty:not(:only-child){display:none}.table-meld-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0}.table-info-dialog .table-rule-summary{padding:5px;border:0;background:none}.table-info-dialog .table-rule-summary>div{padding:0}.table-info-dialog .table-rule-summary p{margin:5px 0}@container (max-height: 390px){.hotseat-viewport .seat-summary{display:none}.hotseat-viewport .player-header{margin-bottom:1px}.hotseat-viewport .player-identity>span{margin-top:1px}}@media(max-width:850px),(max-height:580px){.hotseat-viewport .table-board{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"north east" "center center" "west south";grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);gap:4px 10px;padding:8px}.hotseat-viewport .table-center{display:flex;flex-direction:row;justify-content:center;gap:8px}.hotseat-viewport .center-phase,.hotseat-viewport .pending-tile{margin:0}.hotseat-viewport .pending-tile>small{display:none}.hotseat-viewport .hand-panel-header .wind-medallion{display:inline-grid}.hotseat-viewport .hand-panel-header h2 small{display:inline}.hotseat-viewport .handoff-copy h2{font-size:17px}}@media(max-width:600px){.hotseat-viewport.game-page{padding-inline:5px}.hotseat-viewport .game-header{gap:2px}.hotseat-viewport .game-header-center,.hotseat-viewport .brand-compact small{display:none}.hotseat-viewport .header-actions{gap:2px}.hotseat-viewport .game-header .button{font-size:10px;padding:4px 5px}.hotseat-viewport .table-status{gap:4px;flex-wrap:nowrap;padding:3px 6px}.hotseat-viewport .table-status .riichi-stick,.hotseat-viewport .dora-display .tile-back{display:none}.hotseat-viewport .round-meta,.hotseat-viewport .round-meta>span{gap:4px;font-size:9px;white-space:nowrap}.hotseat-viewport .round-meta b{font-size:13px}.hotseat-viewport .dora-display{gap:2px}.hotseat-viewport .dora-display>span:first-child{font-size:9px;margin:0}.hotseat-viewport .dora-display .tile-small{zoom:.78}.hotseat-viewport .player-zone{padding:7px}.hotseat-viewport .player-header{flex-wrap:nowrap}.hotseat-viewport .player-identity strong{font-size:12px}.hotseat-viewport .player-score{margin:0}.hotseat-viewport .player-score strong{font-size:14px}.hotseat-viewport .hand-privacy{gap:3px;font-size:8px}.hotseat-viewport .hand-scroll{grid-template-columns:repeat(var(--rack-half),minmax(0,45px));gap:3px;padding:8px 0 12px}.hotseat-viewport .hand-tile>.tile{max-width:45px}.hotseat-viewport .action-bar .primary-actions{width:auto}.hotseat-viewport .action-bar .button{flex:initial;min-height:34px;padding:4px 9px}.table-full-melds{gap:6px}}@media(max-height:570px){.hotseat-viewport .game-header{height:33px}.hotseat-viewport .game-header .button{min-height:28px}.hotseat-viewport .brand-compact .brand-seal{height:26px;width:23px;font-size:17px}.hotseat-viewport .brand-compact small{display:none}.hotseat-viewport main{padding-top:1px}.hotseat-viewport .table-status{padding-block:1px}.hotseat-viewport .dora-display .tile-small{zoom:.7}.hotseat-viewport .table-board{padding:4px 6px;gap:2px 8px}.hotseat-viewport .player-zone{padding:3px 6px}.hotseat-viewport .player-header{margin:0}.hotseat-viewport .player-header .wind-medallion{width:18px;height:20px;font-size:14px}.hotseat-viewport .player-identity>span{display:none}.hotseat-viewport .river{min-height:14px;padding:0}.hotseat-viewport .river-tile{zoom:.68}.hotseat-viewport .table-center .center-round{font-size:15px}.hotseat-viewport .center-phase{padding:1px 5px}.hotseat-viewport .pending-tile>.tile{zoom:.72}.hotseat-viewport .hand-panel-header{padding-block:0}.hotseat-viewport .hand-panel-header .wind-medallion{height:18px;width:18px;font-size:13px}.hotseat-viewport .hand-privacy button{min-height:23px}.hotseat-viewport .hand-scroll{grid-template-columns:repeat(var(--rack-count),minmax(0,32px));gap:3px;padding:7px 0 10px}.hotseat-viewport .hand-tile>.tile{width:100%;padding:2px 2px 3px}.hotseat-viewport .hand-tile .man-art b,.hotseat-viewport .hand-tile .man-art strong{font-size:15px}.hotseat-viewport .hand-tile .honor-art{font-size:23px}.hotseat-viewport .hand-tile .pip{width:6px;height:6px;border-width:1px}.hotseat-viewport .hand-tile .rank-1 .pip{width:17px;height:17px}.hotseat-viewport .hand-tile .bamboo{width:3px;height:7px}.hotseat-viewport .hand-tile .bird-art{transform:scale(.62);flex-shrink:0}.hotseat-viewport .hand-help{display:none}.hotseat-viewport .action-bar{padding:2px 6px}.hotseat-viewport .action-bar .button{min-height:26px;padding:2px 9px}.hotseat-viewport .handoff{grid-template-columns:1fr auto;text-align:left;justify-items:start;align-items:center;gap:2px 8px;padding:5px 12px}.hotseat-viewport .handoff .button{min-width:0;min-height:30px}.hotseat-viewport .handoff-copy>p:last-child{display:none}.hotseat-viewport .handoff-note{grid-column:1/-1}.table-info-dialog{padding:8px 12px}.table-info-dialog>header h2{font-size:16px}.table-info-tabs{margin:3px 0;padding:3px 0}.table-info-tabs button{padding:3px 7px}.table-seat-pane h3{margin:3px 0}}@media(max-width:600px)and (min-height:571px)and (max-height:700px){.hotseat-viewport .hand-scroll{grid-template-columns:repeat(var(--rack-half),minmax(0,35px))}.hotseat-viewport .hand-tile .man-art b,.hotseat-viewport .hand-tile .man-art strong{font-size:19px}.hotseat-viewport .hand-help{display:none}}@media(max-width:600px){.hotseat-viewport .round-meta,.hotseat-viewport .dora-display{width:auto}.hotseat-viewport .dora-display{padding:0;border:0}.hotseat-viewport .hand-privacy{flex-direction:row}}@media(max-width:600px)and (orientation:portrait)and (max-height:570px){.hotseat-viewport .hand-scroll{grid-template-columns:repeat(var(--rack-half),minmax(0,31px))}.hotseat-viewport .handoff{grid-template-columns:1fr;justify-items:center;text-align:center}.hotseat-viewport .handoff-note{grid-column:auto}}.hotseat-viewport .river>.river-tile:nth-last-child(n+7){display:none}@container (min-width: 840px) and (min-height: 470px){.hotseat-viewport .river>.river-tile:nth-last-child(-n+12){display:inline-flex}}@container (min-width: 840px) and (min-height: 650px){.hotseat-viewport .river>.river-tile:nth-last-child(-n+18){display:inline-flex}}@container (max-width: 839px) and (min-height: 380px){.hotseat-viewport .river>.river-tile:nth-last-child(-n+12){display:inline-flex}}@container (max-width: 839px) and (min-height: 500px){.hotseat-viewport .river>.river-tile:nth-last-child(-n+18){display:inline-flex}}.hotseat-viewport .table-board:has(.hx-stage:not([hidden])) .seat-inspect{visibility:hidden}.hotseat-viewport .river-tile[data-match]{outline:2px solid #ffd775;outline-offset:-1px;border-radius:3px}.response-context{display:inline-flex;align-items:center;gap:5px;padding-inline-end:7px;margin-inline-end:2px;border-inline-end:1px solid #5b716e;color:#b8c9c6;font-size:11px;line-height:1.15}.response-context b{display:block;color:#f4dda0;font-size:13px}.response-context .tile-small{width:21px;height:29px}@media(max-height:450px){.response-context .tile-small{width:17px;height:23px}}.hx-draft{--hx-muted: #a5b9c5;--hx-teal: #65d7bb;--hx-gold: #dabc7d;--hx-line: #abcbd326;box-sizing:border-box;width:100%;min-width:0;padding:clamp(18px,3vw,30px);border:1px solid var(--hx-line);border-radius:18px;color:#e5ecef;background:linear-gradient(145deg,#152737,#0e1927);font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.6;overflow-wrap:anywhere}.hx-draft *,.hx-draft *:before,.hx-draft *:after{box-sizing:border-box}.hx-draft :is(h2,h3,p){margin:0}.hx-draft h2{font-size:24px;font-weight:650}.hx-draft h3{font-size:17px}.hx-draft .hx-draft__eyebrow{color:var(--hx-teal);font-size:10px;font-weight:650;letter-spacing:2px}.hx-draft .hx-draft__heading{padding-bottom:18px;border-bottom:1px solid var(--hx-line)}.hx-draft .hx-draft__gate{display:grid;justify-items:center;gap:16px;padding:32px 0 16px;text-align:center}.hx-draft .hx-draft__seal{display:grid;place-items:center;width:48px;height:52px;border:1px solid #dabc7d66;border-radius:12px 3px;color:var(--hx-gold);font-family:Songti SC,SimSun,serif;font-size:25px}.hx-draft .hx-draft__gate p,.hx-draft .hx-draft__hint,.hx-draft .hx-draft__empty p{color:var(--hx-muted);font-size:13px}.hx-draft .hx-draft__toolbar,.hx-draft .hx-draft__confirm{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-block:18px;font-size:13px}.hx-draft .hx-draft__button{min-height:44px;padding:10px 16px;border:1px solid #476170;border-radius:9px;color:#e5ecef;background:#1a2c3a;font:inherit;font-size:13px;font-weight:650;cursor:pointer;touch-action:manipulation}.hx-draft .hx-draft__button:hover:not(:disabled){border-color:var(--hx-gold)}.hx-draft .hx-draft__primary{border-color:transparent;color:#0b322a;background:var(--hx-teal)}.hx-draft .hx-draft__button:disabled{color:#a1b7b7;background:#304b49;border-color:transparent;cursor:not-allowed}.hx-draft button:focus-visible{outline:2px solid var(--hx-gold);outline-offset:4px}.hx-draft .hx-draft__progress{margin-bottom:12px;color:var(--hx-gold);font-size:13px}.hx-draft .hx-draft__choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin-top:16px}.hx-draft .hx-draft__choice{display:flex;flex-direction:column;gap:14px;min-width:0;min-height:220px;padding:20px;border:1px solid #395262;border-radius:12px;color:#e5ecef;background:#152635;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation}.hx-draft .hx-draft__choice:hover{border-color:var(--hx-teal);background:#1a303d}.hx-draft .hx-draft__choice[aria-pressed=true]{border-color:var(--hx-gold);box-shadow:inset 0 0 0 1px var(--hx-gold);background:#24343a}.hx-draft .hx-draft__choice>strong{font-size:20px}.hx-draft .hx-draft__choice-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;color:var(--hx-teal);font-size:11px}.hx-draft .hx-draft__description{flex:1;color:#bcced5;font-size:13px}.hx-draft .hx-draft__choice-state{color:var(--hx-gold);font-size:12px}.hx-draft .hx-draft__error{margin-block:12px;padding:12px;border:1px solid #d0917766;border-radius:8px;color:#f3baa1;background:#412b2b;font-size:13px}.hx-draft .hx-draft__empty{display:grid;gap:6px;padding:24px 0}.hx-draft .hx-draft__inventory{padding-top:18px;border-top:1px solid var(--hx-line)}.hx-draft .hx-draft__inventory ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;margin:12px 0 0;padding:0;list-style:none}.hx-draft .hx-draft__inventory li{padding:12px;border:1px solid var(--hx-line);border-radius:8px;background:#0d1a27;font-size:13px}.hx-draft .hx-draft__inventory li>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.hx-draft .hx-draft__inventory li span,.hx-draft .hx-draft__inventory li p{color:var(--hx-muted);font-size:12px}@media(max-width:560px){.hx-draft .hx-draft__choices{grid-template-columns:1fr}.hx-draft .hx-draft__choice{min-height:0;padding:16px}.hx-draft .hx-draft__confirm>button{width:100%}}.hx-stage{position:absolute;inset:0;z-index:4;display:grid;align-items:center;justify-items:center;padding:clamp(5px,1vw,14px);container-type:size;box-sizing:border-box;background:#0311129e;color:#eaf4ed;line-height:1.45}.hx-stage[hidden]{display:none}.hotseat-playfield .table-overlay-anchor .hx-stage{position:fixed;inset:0;margin:auto;width:min(calc(100vw - 14px),max(410px,calc(100vw - var(--rail-size) * 2 - 30px)));height:55dvh;grid-template-rows:minmax(0,1fr);pointer-events:none;background:transparent}.hotseat-playfield .hx-stage>*{pointer-events:auto}.table-overlay-anchor:has(.hx-stage:not([hidden])):before{content:"";position:absolute;inset:0 var(--rail-size) 0 0;pointer-events:auto;background:#0311129e}.hx-table-draft,.hx-skill-window{box-sizing:border-box;width:min(100%,780px);min-width:0;padding:clamp(12px,2cqw,24px);border:1px solid #bca66b80;border-radius:15px;background:linear-gradient(145deg,#1b3838,#112628 75%);box-shadow:inset 0 1px #d7be8522,0 14px 34px #0006;text-align:left}.hx-table-draft{display:grid;gap:12px}.hx-table-draft .hx-draft__toolbar,.hx-skill-heading{display:flex;align-items:center;gap:10px}.hx-table-draft h2,.hx-skill-heading h3{margin:0;font-size:clamp(16px,2.5cqw,24px)}.hx-table-draft .hx-draft__toolbar>span{font-size:12px;color:#b7ccc4}.hx-table-options{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}.hx-table-options .hx-draft__choice{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:clamp(9px,1.8cqw,17px);border:1px solid #698a7b85;border-radius:9px;background:linear-gradient(160deg,#254640,#1b3333);color:#f0f3e8;text-align:left;cursor:pointer;font:inherit}.hx-table-options .hx-draft__choice:hover{border-color:#8fbaa7}.hx-table-options .hx-draft__choice[aria-pressed=true]{background:linear-gradient(140deg,#3a5950,#243d36);border-color:#e3c27c;box-shadow:inset 0 0 0 1px #e3c27c}.hx-table-options small{color:#dfc996;font-size:11px}.hx-table-options strong{font-size:clamp(15px,2.25cqw,21px)}.hx-table-description,.hx-table-preview{font-size:13px;line-height:1.5}.hx-table-preview{margin:0;color:#cee1d6}.hx-table-preview:not([data-inspecting=true]){display:none}.hx-table-commit,.hx-rerolls{display:flex;align-items:center;gap:6px}.hx-table-commit>.button{margin-left:auto}.hx-stage .button{min-height:32px;padding:6px 12px;font-size:13px;white-space:normal;line-height:1.25}@container (max-width: 559px){.hx-table-draft{gap:9px}.hx-table-options{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hx-table-options .hx-draft__choice{padding:8px;gap:2px}.hx-table-description{display:none}.hx-table-preview:not([data-inspecting=true]){display:block}.hx-table-commit .button{font-size:12px;padding-inline:7px}.hx-table-draft .hx-draft__toolbar{gap:6px}.hx-table-draft .hx-draft__toolbar>span{flex:1;font-size:11px}}@container (max-height: 295px){.hx-table-draft,.hx-skill-window{padding:7px 12px;border-radius:9px}.hx-table-draft{gap:5px}.hx-table-draft h2{font-size:16px}.hx-table-options .hx-draft__choice{padding:5px 9px;gap:2px}.hx-table-options strong{font-size:15px}.hx-table-description{display:none}.hx-table-preview:not([data-inspecting=true]){display:block}.hx-stage .button{min-height:26px;padding:4px 8px}}@container (max-height: 195px) and (min-width: 500px){.hx-table-draft{padding:4px 8px;gap:3px}.hx-table-draft .hx-draft__toolbar>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hx-table-options .hx-draft__choice{padding:4px 7px}.hx-table-options small{display:none}.hx-table-preview{font-size:12px;line-height:1.35}}.hx-stage .button-primary:not(:disabled){background:#89d8b8;border-color:#a5ebcf;color:#0d3226}.hx-stage .button-primary:not(:disabled):hover{background:#a9ebd0}.choice-picker-trigger,.choice-dialog button{font:inherit;cursor:pointer;color:#e7efe9;border:1px solid #49665f;border-radius:7px;background:#233c37}.choice-picker-trigger{display:inline-flex;align-items:center;justify-content:space-between;min-width:0;max-width:100%;gap:8px;padding:5px 10px;font-size:13px;line-height:1.25}.choice-picker-trigger>span:first-child{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.choice-picker-arrow{color:#e1c782;font-size:1.2em;line-height:1}.choice-picker-trigger:disabled,.choice-dialog button:disabled{opacity:.48;cursor:default}.choice-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(620px,calc(100vw - 16px));height:min(414px,calc(100dvh - 16px));max-width:none;max-height:none;margin:auto;padding:clamp(12px,2.5vmin,22px);border-radius:15px;border:1px solid #8c8567;background:linear-gradient(145deg,#213931,#172824 55%,#152320);color:#edf2e9;box-shadow:inset 0 1px #e8dfbe26,0 16px 80px #0009;font:inherit;overflow:hidden}.choice-dialog[open]{display:flex;flex-direction:column;gap:10px}.choice-dialog[data-compact=true]{height:min(232px,calc(100dvh - 16px))}.choice-dialog::backdrop{background:#07120fbd}.choice-dialog-header,.choice-dialog-pager,.choice-dialog-groups{display:flex;align-items:center;gap:6px}.choice-dialog-header{justify-content:space-between;padding-bottom:9px;border-bottom:1px solid #b7be9a45}.choice-dialog-header h2{margin:0;font-size:clamp(16px,2.8vmin,21px);font-weight:650}.choice-dialog-header button,.choice-dialog-pager button,.choice-dialog-groups button{padding:5px 10px;font-size:13px;min-height:30px}.choice-dialog-filters{display:grid;gap:5px}.choice-dialog-filters input{font:inherit;border:1px solid #536c60;border-radius:6px;padding:5px 8px;color:#edf3ee;background:#14241f;width:100%;min-width:0}.choice-dialog-groups button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-dialog-groups button[aria-pressed=true],.choice-dialog-option[aria-pressed=true]{border-color:#d7be7c;background:#394b37;color:#fff1ca}.choice-dialog-area{flex:1;min-height:0}.choice-dialog-grid{display:grid;gap:6px}.choice-dialog-grid .choice-dialog-option{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:2px 4px;min-width:0;font-size:13px;line-height:1.2;font-weight:600;background-image:linear-gradient(145deg,#ffffff09,transparent)}.choice-dialog-art{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-height:0}.choice-dialog-art .tile{width:24px;height:32px}.choice-dialog-name{overflow-wrap:anywhere;max-width:100%}.choice-dialog-option small{color:#c4d3c7;font-size:11px;line-height:1.1;overflow-wrap:anywhere}.choice-dialog button:not(:disabled):hover,.choice-picker-trigger:not(:disabled):hover{border-color:#dcc890}.choice-dialog :is(input,button):focus-visible{outline:2px solid #f1d393;outline-offset:1px}.choice-dialog-pager{justify-content:space-between}.choice-dialog-pager span,.choice-dialog-empty{font-size:13px;color:#c5d3ca}@media(max-height:420px){.choice-dialog[open]{padding:8px 12px;gap:5px}.choice-dialog-header{padding-bottom:4px}.choice-dialog-header button,.choice-dialog-pager button,.choice-dialog-groups button{min-height:25px;padding-block:2px}}.hotseat-playfield{flex:1 1 0;min-height:0;position:relative;display:flex;--rail-size: 0px}.hotseat-playfield:has(.hx-rail){--rail-size: clamp(124px, 14vw, 210px)}.hotseat-playfield .table-board{min-width:0;margin-inline-end:var(--rail-size)}.hotseat-playfield .hx-stage{inset-inline-end:var(--rail-size)}.hotseat-playfield:has(.table-overlay-anchor .hx-stage:not([hidden])) .seat-inspect{visibility:hidden}.hx-rail{position:absolute;inset:0 0 0 auto;width:var(--rail-size);padding:clamp(4px,.7vw,10px);display:flex;flex-direction:column;gap:6px;border:1px solid #374e52;border-radius:0 0 10px 10px;background:#14242b;color:#edf2ed}.hx-rail h3{font-size:clamp(11px,1vw,15px);margin:0;display:flex;align-items:center;justify-content:space-between}.hx-rail h3 span{color:#e4ce8c;font:600 12px/1 sans-serif}.hx-rail-space{flex:1;min-height:0}.hx-rail-list{display:grid;gap:3px;max-height:100%}.hx-rail button{min-width:0;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:2px;background:#20353b;color:#e5efed;border:1px solid #405758;border-inline-start:3px solid #a7bd90;border-radius:5px;padding:2px 5px;text-align:left;font:inherit;font-size:clamp(11px,1vw,14px);line-height:1.12}.hx-rail button[data-kind=active]{border-inline-start-color:#80ccce}.hx-rail button[data-kind=consumable]{border-inline-start-color:#dfb879}.hx-rail button[data-kind=drawReplacement]{border-inline-start-color:#b7a5d4}.hx-rail button:is(:hover,[aria-pressed=true]){background:#31514f;border-color:#86c9b4}.hx-rail button small{font-size:10px;color:#e7ce91}.hx-rail button{container:owned-skill / size}.hx-rail button[data-status=可用]{background:#214d41;border-color:#77cfa3}.hx-rail button[data-status=已用]{border-style:dashed;color:#b5c4cb}@container owned-skill (min-width: 69px) and (min-height: 32px){.hx-rail button span[data-status]:not([data-status=""]):after{content:attr(data-status);display:block;font-size:10px;line-height:1.1}}.hx-rail-list[data-dense=true] button{padding:1px 2px;flex-wrap:wrap;justify-content:center;text-align:center;font-size:11px;line-height:1.04}@media(max-width:600px)and (orientation:portrait){.hotseat-playfield:has(.hx-rail){--rail-size: clamp(73px, 20vw, 98px)}.hx-rail{padding:3px;gap:3px}.hx-rail h3{font-size:10px}.hx-rail button{padding:2px 3px;font-size:11px}.hx-rail-list[data-dense=true]{gap:1px}.hx-rail-list[data-dense=true] button{font-size:10px;border-inline-start-width:1px;padding:0}}@media(max-height:450px)and (orientation:landscape){.hotseat-playfield:has(.hx-rail){--rail-size: clamp(112px, 19vw, 180px)}.hx-rail{padding:3px;gap:2px}.hx-rail-list{gap:1px}.hx-rail-list[data-dense=true] button{font-size:10px;border-inline-start-width:1px;padding:0}}@media(max-height:450px)and (orientation:landscape){.hotseat-playfield:has(.hx-rail[data-many=true]){--rail-size: 222px}.hx-rail-list[data-dense=true] button{font-size:10.5px;line-height:1;flex-wrap:nowrap}.hx-rail-list[data-dense=true] button small{display:none}}@media(max-width:600px)and (orientation:portrait){.hotseat-playfield:has(.hx-rail[data-many=true]){--rail-size: 92px}}@container (max-height:205px) and (min-width:330px){.hx-table-draft{padding:4px 6px;gap:3px}.hx-table-options{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px}.hx-table-options .hx-draft__choice{padding:4px 1px}.hx-table-options small{display:none}.hx-table-options strong{font-size:13px}.hx-table-preview{font-size:11px;line-height:1.25}.hx-table-commit .button{font-size:11px;padding:3px 5px}}.hex-controls{padding:22px;border-top:1px solid var(--border, #d7dfd9)}.hex-controls h3,.hex-controls h4{margin:0 0 12px}.hex-extended-actions{margin:20px 0;border-top:1px solid #d8e0d9;padding-top:16px}.hex-rerolls{background:#f4f0df}.hex-skill small{display:block;font-size:11px;margin-top:4px}.hex-win-history{margin:20px 0;padding:20px;border:1px solid #cfb878;border-radius:16px;background:#fff9e9}.hex-win-history summary{font-weight:700;cursor:pointer}.hex-win-history p{line-height:1.8}.hex-win-history ol{padding:0;list-style:none;display:grid;gap:12px}.hex-win-history li{background:#fffdf7;border:1px solid #e3dcc4;border-radius:12px;padding:16px}.hex-win-history li header,.hex-win-deltas{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}.hex-win-history h4{margin-bottom:6px}.hex-win-deltas span{display:grid;gap:5px;font-size:13px}.hex-win-next{padding:12px;background:#f3e7bf;border-radius:8px}.hex-bonus-details{background:#f4edd5;border:1px solid #ded0a7;border-radius:10px;padding:14px 18px;margin:16px 0}.hex-bonus-details h4{margin:0 0 8px}.hex-bonus-details p,.hex-bonus-details li{line-height:1.8;font-size:14px}.hex-controls p{line-height:1.7}.hex-inventory,.hex-actions,.hex-tile-choices{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.hex-skill{padding:7px 12px;border:1px solid #c4d3c8;border-radius:20px;background:#edf3ed;color:#254c3b;font-size:13px}.hex-information{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;padding:16px;background:#eff4ef;border-radius:14px;margin:16px 0}.hex-information strong,.hex-information small{display:block;margin:8px 0}.hex-information small{line-height:1.6;color:#536759}.hex-return{border:1px solid #c8ae72;background:#fbf8ed;padding:18px;border-radius:14px}.hex-tile-choice{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px solid transparent;border-radius:9px;padding:6px;background:transparent;cursor:pointer}.hex-tile-choice[aria-pressed=true]{border-color:#a87524;background:#fff0c5}.hex-tile-choice:disabled{opacity:.45;cursor:default}.hex-tile-choice span{max-width:90px;font-size:12px;overflow-wrap:anywhere}.hex-activation{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.hex-activation h4{width:100%}.hex-activation label{display:grid;gap:8px;max-width:100%}.hex-activation select{max-width:100%;padding:10px;border:1px solid #b8c7bb;border-radius:8px;background:#fff}.hex-replacements,.hex-help{padding:14px 0;border-top:1px solid #d8e0d9}.hex-replacements summary,.hex-help summary{cursor:pointer;font-weight:600;line-height:1.6}.hex-help li{line-height:1.8;margin:8px 0}@media(max-width:600px){.hex-controls{padding:14px}.hex-return{padding:12px}.hex-activation label,.hex-activation select{width:100%}}.hx-skill-window{width:min(100%,620px);display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.hx-skill-window :is(p,h3,h4){margin:0}.hx-skill-heading{justify-content:space-between}.hx-skill-picker,.hx-use-row,.hx-skill-window .hex-activation,.hx-skill-window .hex-actions{display:flex;align-items:center;gap:6px;margin:0;flex-wrap:wrap}.hx-use-row>[aria-haspopup=dialog],.hx-skill-window .hex-activation>[aria-haspopup=dialog]{flex:1 1 0;min-width:0}.hx-skill-description,.hx-skill-window p,.hx-skill-window label{font-size:13px}.hx-skill-window .hex-skill{padding:4px 7px;font-size:12px}.hx-skill-window .hex-information,.hx-skill-window .hex-extended-actions,.hx-skill-window .hex-return{margin:0;padding:7px;border-radius:7px;display:grid;gap:6px;font-size:13px}.hx-skill-window .hex-information>*,.hx-skill-window .hex-information :is(strong,small){margin:0}.hx-skill-window .hex-activation label{display:flex;align-items:center;gap:4px;width:auto}.hx-skill-window .hex-tile-choices{display:flex;gap:3px;margin:0;flex-wrap:wrap}.hx-skill-window .hex-tile-choice{position:relative;gap:1px;padding:2px}.hx-return-menu .hex-tile-choice small{position:absolute;inset:auto 0 0;white-space:nowrap;font:600 10px/1.2 sans-serif;color:#fff;background:#42613c}@container (max-height: 260px){.hx-skill-window{gap:4px}.hx-skill-window .hex-activation{flex-wrap:nowrap}.hx-skill-window .hex-return,.hx-skill-window .hex-extended-actions{gap:3px;padding:4px}.hx-skill-window .hex-information{display:flex;align-items:center;gap:8px;padding:4px}.hx-skill-window .hex-extended-actions h4{display:none}.hx-skill-window h3{font-size:15px}.hx-skill-window .hex-tile-choice{padding:0}.hx-skill-window .hex-tile-choice .tile{width:24px;height:32px;--tile-w: 24px;--tile-h: 32px}}@container (max-height: 200px) and (min-width: 500px){.hx-skill-window{padding:3px 8px;gap:3px}.hx-skill-window .hex-activation select{height:28px;padding:2px 6px}.hx-skill-window:not(:has(.hex-return)){grid-template-columns:repeat(2,minmax(0,1fr))}.hx-skill-window:not(:has(.hex-return))>:not(.hx-skill-heading,.hx-skill-picker){grid-column:1 / -1}.hx-skill-picker select{width:70px}.hx-skill-window .hex-information>div{display:flex;gap:6px;align-items:center}}.hx-skill-window .hex-skill{color:#e4d4a6;background:#253b35;border-color:#8f805651}.hx-skill-window :is(.hex-information,.hex-return,.hex-extended-actions){background:#142b2c;color:#dbe9df;border-color:#70887a70}.hx-skill-window .hex-information small{color:#b9cfc5}.hx-skill-window .hex-tile-choice[aria-pressed=true]{border-color:#e2bc77;background:#564e37}.hx-target-wind{display:inline-grid;place-items:center;border:1px solid #a89261;border-radius:5px;width:34px;height:34px;background:#243c35;color:#f2d79a;font:600 20px/1 Georgia,serif}.online-page main{padding-bottom:40px}.online-join,.online-lobby{padding:28px;background:#152731;border:1px solid #395254;border-radius:20px;margin:24px 0}.online-join{max-width:760px;margin:30px auto}.online-join h1{font-size:clamp(28px,5vw,46px)}.online-join label{display:grid;gap:8px;margin:16px 0}.online-join input{border:1px solid #b7c8ba;border-radius:10px;padding:12px;background:#0d1d27;color:#e8eeeb;min-width:0;width:100%}.online-create{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.online-choice-group{display:flex;gap:4px}.online-choice-group legend{margin-bottom:6px}.online-choice-group button{min-height:36px;border:1px solid #49635e;border-radius:7px;padding:5px 12px;color:#c5d3d0;background:#10242a}.online-choice-group button[aria-pressed=true]{border-color:#92cdb3;color:#eaffee;background:#245047}.online-room-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0;flex-wrap:wrap}.online-room-heading h1{font-size:clamp(24px,5vw,40px);letter-spacing:3px;margin:8px 0}.online-seat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.online-seat-grid>div{background:#233c42;border-radius:12px;padding:18px;display:grid;gap:10px;overflow-wrap:anywhere}.online-seat-grid>div>span{font-size:26px;color:#d9c286}.online-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.online-player{border:1px solid #385350;background:#172d31;border-radius:16px;padding:18px;min-width:0}.online-player-active{border-color:#b68a3a;box-shadow:0 0 0 2px #8c774d}.online-player header{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}.online-player .river{min-height:54px;margin:14px 0}.online-player .public-melds{flex-wrap:wrap}.online-player .public-melds>span{display:flex;align-items:center;gap:6px}.online-pending{display:flex;align-items:center;gap:10px;padding:12px;background:#3c392b;border-radius:12px}.online-private-gate{text-align:center;padding:24px}.online-hex-fieldset{margin:0;min-width:0;border:0}.online-session-actions,.room-info-dialog header{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.online-session-actions{margin-top:12px}.room-info-dialog{width:min(32rem,calc(100% - 24px));padding:clamp(12px,3.5vmin,26px);margin:auto;border:1px solid #788672;border-radius:14px;background:#172b31;box-shadow:0 12px 50px #04101288;color:#deebe5}.room-info-dialog::backdrop{background:#07141bc4}.room-info-dialog header{justify-content:space-between}.room-info-dialog h2{font-size:1.15rem}.room-info-dialog p,.room-info-dialog ol{margin:12px 0;line-height:1.5;font-size:.88rem;overflow-wrap:anywhere}.room-info-dialog ol{padding-inline-start:2em}.room-info-dialog li+li{margin-top:5px}.room-info-dialog .button{min-height:34px;padding:5px 10px}@media(max-width:650px){.online-board{grid-template-columns:1fr}.online-seat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.online-lobby,.online-join{padding:18px}.online-page .game-header{gap:10px;flex-wrap:wrap}}
