@layer legacy{:root{color:#243f35;font-synthesis:none;--ink:#243f35;--muted:#617369;--paper:#f4f1e9;--white:#fffdf7;--green:#245c47;--felt:#235a49;--accent:#e7cc83;--line:#d7ded1;--danger:#a43d31;--tile-w:39px;--tile-h:57px;--tile-small-w:21px;--tile-small-h:30px;background:#f4f1e9;font-family:PingFang TC,Noto Sans TC,Microsoft JhengHei,sans-serif;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:var(--white);min-height:43px;color:var(--ink);border-radius:8px;padding:10px 16px;font-weight:600;transition:background .16s ease-out,transform .16s ease-out}button:hover:not(:disabled){background:#e7eddf}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;color:#849087;background:#e7e9e1}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #bb851d}input:focus,select:focus{outline:2px solid var(--green);outline-offset:2px}a{color:inherit;text-underline-offset:4px}::selection{color:#173f31;background:#d8e5c7}input{caret-color:var(--green)}*{scrollbar-color:#97a998 transparent;scrollbar-width:thin}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}p{line-height:1.8}button.primary{background:var(--green);color:var(--white);border-color:#0000}button.primary:hover:not(:disabled){background:#173f31}button.primary:disabled{color:#7b897b;background:#dce1d5}.muted{color:var(--muted);font-size:13px}.app-header{border-bottom:1px solid var(--line);background:var(--paper);align-items:center;gap:22px;height:83px;padding:0 4vw;display:flex}.wordmark{letter-spacing:.04em;align-items:center;gap:13px;font-size:21px;font-weight:750;line-height:1.2;text-decoration:none;display:flex}.wordmark small{letter-spacing:.12em;color:var(--muted);margin-top:6px;font-size:10px;font-weight:500;display:block}.header-note{color:var(--muted);margin-left:auto;font-size:12px}.guest-label{border-left:1px solid #cbd2c4;padding-left:20px;font-size:12px}.app-error{color:var(--danger);padding:14px 4vw}.lobby{grid-template-columns:1fr 420px;align-items:center;gap:80px;max-width:1160px;min-height:calc(100dvh - 83px);margin:0 auto;padding:55px 40px 70px;display:grid}.welcome h1{letter-spacing:.02em;font-size:58px;font-weight:650;line-height:1.35}.welcome>p{color:var(--muted);margin-top:24px;font-size:17px}.sample-tiles{--tile-w:57px;--tile-h:82px;transform-origin:0;gap:7px;margin:42px 0 27px;display:flex;transform:rotate(-3deg)}.sample-tiles .tile:nth-child(4){margin-left:12px}.welcome .teaching-note{font-size:12px;line-height:1.9}.setup-panel{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:36px 36px 24px}.setup-panel h2{letter-spacing:.04em;font-size:24px;font-weight:650}.setup-panel>p{color:var(--muted);margin-top:8px;font-size:14px}.setup-panel form{gap:20px;margin-top:28px;display:grid}.setup-panel label{gap:8px;font-size:13px;font-weight:600;display:grid}.setup-panel input,.setup-panel select{background:var(--white);width:100%;height:46px;color:var(--ink);border:1px solid #bdc8b9;border-radius:6px;padding:8px 11px}.form-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-note{color:var(--muted);font-size:12px;line-height:1.8}.start-button{justify-content:space-between;align-items:center;width:100%;min-height:52px;font-size:16px;display:flex}.start-button span{font-size:24px;font-weight:400}.setup-footer{border-top:1px solid var(--line);color:var(--muted);text-align:center;margin-top:24px;padding-top:19px;font-size:11px}.error-text{color:var(--danger);line-height:1.7}.tile{flex:0 0 var(--tile-w);width:var(--tile-w);height:var(--tile-h);color:#224d3c;vertical-align:middle;background:#fffdf3;border:0;border-radius:4px;justify-content:center;align-items:center;min-height:0;padding:2px 3px 5px;transition:transform .16s ease-out,background .16s ease-out;display:inline-flex;position:relative;box-shadow:0 4px #c5c8b4,0 6px 9px #10291f26}.tile-face{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;font-family:Kaiti TC,STKaiti,KaiTi,Noto Serif TC,serif;line-height:1.1;display:flex}.tile-face>b{font-size:calc(var(--tile-w) * .5);white-space:nowrap;font-weight:650}.tile-face>strong{font-size:calc(var(--tile-w) * .48);color:#a94032;font-weight:700}.tile-face.suit-z>strong{font-size:calc(var(--tile-w) * .66);color:#263c52}.tile-face.suit-z.red>strong{color:#a43d31}.tile-face.suit-z.green>strong,.tile-face .green{color:#22634c}.tile-face>svg{width:100%;height:100%}.tile .white-dragon{border:1.5px solid #54778b;border-radius:2px;justify-content:center;align-items:center;width:70%;height:72%;display:flex;font-size:0!important}.tile.small{--tile-w:var(--tile-small-w);--tile-h:var(--tile-small-h);border-radius:2px;padding:1px 1px 3px;box-shadow:0 2px #c5c8b4,0 3px 4px #10291f26}.tile-back{width:var(--tile-w);height:var(--tile-h);background:#d9e2d1;border-radius:3px;flex-shrink:0;padding:2px 2px 5px;display:inline-flex;box-shadow:0 3px #b7c4ad}.tile-back>span{background:#36755c;border:1px solid #6a947c;border-radius:2px;width:100%}.tile-back.small{width:15px;height:24px;padding:2px 2px 4px;box-shadow:0 2px #acbaa4}.game-layout{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:26px;max-width:1600px;margin:0 auto;padding:24px 3vw 20px;display:grid}.coach{flex-direction:column;gap:25px;min-height:calc(100dvh - 145px);padding:8px 0;display:flex}.coach h1{font-size:23px;font-weight:650}.coach>div>p.muted{margin-top:8px}.score-rule{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:5px;font-size:12px}.decision-copy{border-top:1px solid var(--line);padding-top:22px}.decision-copy h2{font-size:19px;font-weight:600}.decision-copy p{color:var(--muted);max-width:31ch;margin-top:10px;font-size:13px}.hint-button{background:0 0;border-color:#8da38b;justify-content:space-between;align-items:center;display:flex}.hint-button:disabled{background:0 0}.round-details{color:var(--muted);font-size:12px;line-height:1.9}.round-details summary{cursor:pointer;color:var(--ink);font-weight:600}.round-details p{padding-top:8px}.text-button{text-align:left;text-underline-offset:5px;background:0 0;border:0;min-height:20px;padding:0;font-size:12px;text-decoration:underline}.recent-play{border-top:1px solid var(--line);padding-top:19px}.recent-play h3{font-size:12px;font-weight:600}.recent-play ol{color:var(--muted);gap:8px;margin:10px 0 0;padding:0;font-size:12px;list-style:none;display:grid}.recent-play li:first-child{color:var(--ink)}.session-note{color:var(--muted);margin-top:auto;font-size:10px;line-height:1.7}.timer{font-variant-numeric:tabular-nums;border-bottom:3px solid #d6dfce;height:25px;margin-top:16px;font-size:12px;position:relative}.timer>span{background:#a05a24;height:3px;position:absolute;bottom:-3px;left:0}.timer>b{color:#8c4f21;font-weight:500;position:absolute;top:-1px;right:0}.table-area{min-width:0}.table-toolbar{min-height:37px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:0 4px 12px;font-size:12px;display:flex}.table-toolbar>div{gap:8px;display:flex}.table-control{background:0 0;border:1px solid #c5cebd;border-radius:5px;min-height:32px;padding:5px 10px;font-size:12px}.felt{background:var(--felt);color:#eff3df;border-radius:18px;height:max(650px,100dvh - 170px);position:relative;overflow:hidden;box-shadow:inset 0 0 0 8px #1d4d3e,inset 0 0 0 9px #47745d}.ai-seat{z-index:1;flex-direction:column;align-items:center;gap:9px;max-width:260px;display:flex;position:absolute}.seat-2{top:25px;left:50%;transform:translate(-50%)}.seat-1{max-width:112px;top:42%;right:19px}.seat-3{max-width:112px;top:42%;left:19px}.seat-label{color:#f4f4dd;white-space:nowrap;align-items:center;gap:8px;font-size:12px;display:flex}.seat-label>b{font-variant-numeric:tabular-nums;font-size:14px;font-weight:500}.wind-tag{color:#c2d4bb;font-size:10px}.hidden-hand{flex-wrap:wrap;justify-content:center;gap:2px;max-width:100%;display:flex}.seat-1 .seat-label,.seat-3 .seat-label{flex-wrap:wrap;justify-content:center;row-gap:4px}.seat-1 .hidden-hand,.seat-3 .hidden-hand{grid-template-columns:repeat(8,10px);gap:2px;display:grid}.seat-1 .tile-back,.seat-3 .tile-back{width:10px;height:20px}.seat-1 .tile.small,.seat-3 .tile.small{--tile-small-w:15px;--tile-small-h:22px}.seat-melds{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;max-width:100%;display:flex}.meld{align-items:end;gap:1px;display:inline-flex;position:relative}.meld small{padding-left:3px;font-size:9px}.flower-count{color:#d4dfc7;font-size:10px}.rivers{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;gap:100px 110px;display:grid;position:absolute;inset:135px 139px 207px}.river{flex-direction:column;gap:6px;min-width:0;display:flex}.river-label{color:#bed0b4;letter-spacing:.1em;font-size:9px}.river>div{grid-template-columns:repeat(6, var(--tile-small-w));align-content:start;gap:4px 3px;display:grid}.river-2,.river-3{align-items:flex-end}.river-2 .river-label,.river-3 .river-label{align-self:flex-start}.river-tile{display:inline-flex;position:relative}.river-tile.latest>.tile{outline:2px solid var(--accent);outline-offset:2px}.river-tile.claimed>.tile{opacity:.42}.claimed-label{color:#234834;background:#e2c878;border-radius:2px;padding:0 2px;font-size:8px;line-height:13px;position:absolute;inset:auto -2px -3px auto}.table-center{color:#e3e8c8;pointer-events:none;background:var(--felt);outline-offset:5px;border-radius:4px;outline:1px solid #5f8162;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:105px;height:85px;display:flex;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.table-center b{font-size:18px;font-weight:500}.table-center span{font-variant-numeric:tabular-nums;font-size:12px}.table-center small{color:#bdd0b3;font-size:9px}.human-seat{flex-direction:column;align-items:center;gap:15px;display:flex;position:absolute;bottom:19px;left:24px;right:24px}.human-meta{justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:34px;font-size:12px;display:flex}.human-meta>span:first-child{white-space:nowrap;align-items:center;gap:10px;display:flex}.human-meta strong{color:#d2dec7;font-size:10px;font-weight:500}.human-meta b{font-variant-numeric:tabular-nums;font-weight:500}.own-melds{--tile-small-w:19px;--tile-small-h:27px;flex-wrap:wrap;flex:1;justify-content:center;align-items:end;gap:7px;display:flex}.hand-count{color:#bfd1b6;white-space:nowrap;font-size:10px}.own-hand{justify-content:center;align-items:end;gap:4px;width:100%;padding:10px 0 5px;display:flex}.own-hand .tile{--tile-w:min(39px, calc((100cqw - 140px) / 17));--tile-h:calc(var(--tile-w) * 1.46)}.human-seat{container-type:inline-size}.own-hand .tile:disabled{color:inherit;background:#fffdf3}.own-hand .tile:hover:not(:disabled){background:#fffbe5;transform:translateY(-5px)}.own-hand .tile.selected{outline-offset:2px;background:#fff7ce;outline:2px solid #e4cd7d;transform:translateY(-11px)}.action-dock{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;display:flex}.action-dock button{min-height:39px;padding:8px 17px;font-size:13px}.action-dock .primary{color:#264936;background:#efdb9b}.action-dock .primary:hover:not(:disabled){background:#f7e8b9}.action-dock .primary:disabled{color:#c1d1b8;background:#537563}.action-dock .secondary{color:#294b39;background:#eff0df;border:0}.waiting-text{color:#d5e0c8;font-size:12px}.pass-warning{color:#efdda4;text-align:center;width:100%;font-size:10px}.dialog{background:var(--white);color:var(--ink);border:0;border-radius:16px;width:540px;max-width:min(540px,100vw - 32px);max-height:calc(100dvh - 40px);padding:30px 32px;overflow:auto;box-shadow:0 18px 70px #142d2659}.dialog::backdrop{background:#142d26a6}.dialog-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:17px;display:flex}.dialog-heading h2{font-size:22px;font-weight:650}.dialog>p{margin-bottom:17px;font-size:14px}.dialog-heading .close-button{color:var(--muted);background:0 0;border:0;min-height:32px;padding:5px 0;font-size:12px}.dialog-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.hint-choice{align-items:center;gap:20px;padding:18px 0;display:flex}.hint-reasons,.rule-list{gap:11px;margin:14px 0 22px;padding-left:22px;font-size:14px;line-height:1.85;display:grid}.hint-loading{padding:22px 0}.hint-loading p{margin-bottom:20px;font-size:14px}.hint-loading>span{background:#e3e9dc;border-radius:3px;height:12px;margin:12px 0;display:block}.hint-loading>span:last-child{width:70%}.settlement{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin:18px 0;font-size:14px}.settlement th,.settlement td{text-align:right;border-bottom:1px solid var(--line);padding:11px 8px;font-weight:400}.settlement th:first-child{text-align:left}.settlement thead th{color:var(--muted);font-size:11px}.settlement-awards{flex-wrap:wrap;gap:8px;display:flex}.settlement-awards>span{background:#e8eddf;border-radius:4px;padding:6px 9px;font-size:12px}.settlement-awards b{margin-left:5px}.dialog .primary{width:auto}.portrait-note{display:none}@media (width>=1450px){:root{--tile-small-w:24px;--tile-small-h:34px}.rivers{gap:40px 30px;left:170px;right:170px}.table-center{top:46%}.human-seat{bottom:25px}.own-hand .tile{--tile-w:44px;--tile-h:64px}.felt{min-height:720px}.seat-1,.seat-3{max-width:130px;top:43%}.game-layout{grid-template-columns:240px minmax(0,1fr);gap:38px}.coach{gap:30px}}@media (width<=1120px){.game-layout{grid-template-columns:180px minmax(0,1fr);gap:18px;padding-left:20px;padding-right:20px}.rivers{--tile-small-w:18px;--tile-small-h:27px;gap:80px 110px;left:115px;right:115px}.seat-1{max-width:87px;right:13px}.seat-3{max-width:87px;left:13px}.seat-1 .hidden-hand,.seat-3 .hidden-hand{grid-template-columns:repeat(7,9px)}.seat-1 .tile-back,.seat-3 .tile-back{width:9px}.human-seat{left:15px;right:15px}.own-hand{gap:3px}.own-hand .tile{--tile-w:min(36px, calc((100cqw - 60px) / 17))}.lobby{grid-template-columns:1fr 380px;gap:50px}.welcome h1{font-size:48px}.sample-tiles{--tile-w:45px;--tile-h:66px;gap:5px}.setup-panel{padding:30px}}@media (width<=900px){.app-header{height:66px;padding:0 22px}.wordmark{font-size:18px}.wordmark small{font-size:9px}.lobby{grid-template-columns:1fr 350px;gap:35px;min-height:calc(100dvh - 66px);padding:40px 28px}.welcome h1{font-size:42px}.welcome>p{font-size:14px}.sample-tiles{--tile-w:36px;--tile-h:53px;margin:30px 0 20px}.welcome .teaching-note{font-size:11px}.game-layout{flex-direction:column;gap:12px;padding:12px 16px;display:flex}.table-area{order:0;width:100%}.coach{order:1;grid-template-columns:1fr 1fr;gap:15px 25px;width:100%;min-height:0;display:grid}.coach>div:first-child{grid-column:1}.coach .decision-copy{border:0;grid-area:1/2/3;padding-top:0}.coach h1,.coach h2{font-size:17px}.coach>div>p.muted{margin-top:4px}.coach .hint-button{grid-area:2/1}.recent-play,.session-note,.round-details{display:none}.felt{height:620px}.rivers{left:135px;right:135px}.header-note{display:none}.guest-label{margin-left:auto}.table-center{top:43%}}@media (width<=620px) and (orientation:portrait){.lobby{flex-direction:column;align-items:stretch;gap:28px;padding:28px 22px 35px;display:flex}.welcome h1{font-size:36px;line-height:1.35}.welcome h1 br{display:none}.welcome>p{margin-top:14px;font-size:13px}.sample-tiles,.welcome .teaching-note{display:none}.setup-panel{padding:24px}.setup-panel form{gap:16px;margin-top:22px}.setup-panel h2{font-size:21px}.game-layout{padding:9px 8px}.felt{height:590px}.table-toolbar{flex-wrap:wrap;gap:7px;padding:0 3px 9px}.table-toolbar>span{font-size:10px}.table-toolbar>div{gap:4px}.table-control{min-height:31px;padding:5px 8px;font-size:10px}.rivers{--tile-small-w:13px;--tile-small-h:20px;gap:65px 82px;inset:155px 69px 210px}.river>div{grid-template-columns:repeat(5, var(--tile-small-w));gap:4px 2px}.table-center{outline-offset:3px;width:75px;height:67px;top:46%}.table-center b{font-size:14px}.table-center span{font-size:10px}.table-center small{font-size:8px}.seat-1,.seat-3{max-width:49px;top:40%}.seat-1{right:12px}.seat-3{left:12px}.seat-1 .hidden-hand,.seat-3 .hidden-hand{grid-template-columns:repeat(4,7px);gap:2px}.seat-1 .tile-back,.seat-3 .tile-back{width:7px;height:13px;padding:1px 1px 2px}.seat-label{gap:5px;font-size:10px}.wind-tag{font-size:8px}.seat-1 .wind-tag,.seat-3 .wind-tag{text-align:center;width:100%}.human-seat{gap:12px;bottom:17px;left:11px;right:11px}.own-hand{flex-wrap:wrap;gap:2px;max-width:340px}.own-hand .tile{--tile-w:29px;--tile-h:43px;flex:0 0 29px}.human-meta{align-items:center;gap:5px}.human-meta>span:first-child{gap:6px;font-size:11px}.own-melds{--tile-small-w:13px;--tile-small-h:20px;gap:5px}.hand-count{display:none}.action-dock button{padding:8px 12px;font-size:12px}.coach{gap:12px 18px;padding:10px}.coach .decision-copy p{font-size:11px}.coach .hint-button{font-size:12px}.coach .score-rule,.coach .muted{font-size:10px}.dialog{padding:25px 23px}.dialog-heading h2{font-size:20px}}@media (height<=550px) and (orientation:landscape){.app-header{height:44px;padding:0 18px}.wordmark{gap:8px;font-size:15px}.wordmark>svg{width:19px;height:23px}.wordmark small{display:none}.guest-label{font-size:10px}.lobby{grid-template-columns:1fr 330px;gap:35px;min-height:calc(100dvh - 44px);padding:20px 30px}.welcome h1{font-size:32px}.welcome>p{margin-top:12px;font-size:12px}.sample-tiles{--tile-w:29px;--tile-h:43px;margin:22px 0 10px}.welcome .teaching-note{font-size:10px}.setup-panel{padding:20px}.setup-panel h2{font-size:18px}.setup-panel>p{margin-top:5px;font-size:11px}.setup-panel form{gap:10px;margin-top:15px}.setup-panel label{gap:5px;font-size:11px}.setup-panel select,.setup-panel input{height:34px;padding:4px 8px;font-size:12px}.form-note{font-size:10px}.start-button{min-height:38px;padding:6px 12px;font-size:13px}.setup-footer{margin-top:14px;padding-top:10px;font-size:9px}.game-layout{grid-template-columns:156px minmax(0,1fr);align-items:stretch;gap:12px;height:calc(100dvh - 44px);padding:7px 12px 5px;display:grid}.coach{order:0;gap:12px;min-height:0;padding:2px 0;display:flex}.coach h1{font-size:15px}.coach .decision-copy{border-top:1px solid var(--line);padding-top:10px}.coach h2{font-size:14px}.coach .decision-copy p{margin-top:6px;font-size:10px;line-height:1.6}.coach .hint-button{min-height:34px;padding:7px 10px;font-size:11px}.score-rule,.coach .muted{font-size:10px}.coach .session-note{margin-top:auto;font-size:8px;display:block}.table-area{flex-direction:column;order:1;min-height:0;display:flex}.table-toolbar{min-height:25px;padding:0 3px 5px;font-size:10px}.table-toolbar>div{gap:5px}.table-control{min-height:25px;padding:3px 7px;font-size:10px}.felt{border-radius:12px;flex:1;height:auto;min-height:280px;box-shadow:inset 0 0 0 5px #1d4d3e,inset 0 0 0 6px #47745d}.seat-2{gap:4px;top:12px}.seat-label{gap:7px;font-size:10px}.seat-label>b{font-size:11px}.wind-tag{font-size:8px}.tile-back.small{width:10px;height:16px;padding:1px 1px 3px}.hidden-hand{gap:1px}.seat-1,.seat-3{gap:5px;max-width:70px;top:29%}.seat-1{right:10px}.seat-3{left:10px}.seat-1 .hidden-hand,.seat-3 .hidden-hand{grid-template-columns:repeat(7,7px);gap:1px}.seat-1 .tile-back,.seat-3 .tile-back{width:7px;height:12px}.seat-1 .tile.small,.seat-3 .tile.small{--tile-small-w:12px;--tile-small-h:18px}.seat-melds{--tile-small-w:12px;--tile-small-h:18px;gap:4px}.rivers{--tile-small-w:14px;--tile-small-h:20px;gap:55px 82px;inset:69px 82px 114px}.river{gap:2px}.river>div{grid-template-columns:repeat(7, var(--tile-small-w));gap:2px}.river-label{font-size:8px}.table-center{outline-offset:2px;gap:3px;width:72px;height:52px;top:40%}.table-center b{font-size:12px}.table-center span{font-size:9px}.table-center small{font-size:7px}.human-seat{gap:6px;bottom:10px;left:13px;right:13px}.human-meta{min-height:22px;font-size:10px}.human-meta strong{font-size:9px}.own-melds{--tile-small-w:13px;--tile-small-h:20px;gap:5px}.hand-count{font-size:8px}.own-hand{gap:2px;padding:5px 0 3px}.own-hand .tile{--tile-w:min(28px, calc((100cqw - 48px) / 17));--tile-h:calc(var(--tile-w) * 1.4)}.own-hand .tile.selected{transform:translateY(-6px)}.action-dock{gap:6px;min-height:30px}.action-dock button{min-height:30px;padding:5px 11px;font-size:11px}.waiting-text{font-size:10px}.pass-warning{font-size:8px;position:absolute;bottom:-8px}.timer{margin-top:8px;font-size:10px}.dialog{max-height:calc(100dvh - 22px);padding:20px 25px}.dialog-heading{margin-bottom:10px}.dialog-heading h2{font-size:18px}.dialog>p,.hint-reasons,.rule-list{font-size:12px;line-height:1.7}.dialog-actions{margin-top:15px}.settlement td,.settlement th{padding:7px}.hint-choice{padding:7px 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.compact-control,.compact-turn-label{display:none}.game-layout{grid-template-columns:196px minmax(0,1fr)}.human-seat .own-hand .tile{--tile-w:min(54px, calc((100cqw - 68px) / 17));--tile-h:calc(var(--tile-w) * 1.46)}.human-seat .own-hand .tile:disabled{color:#224d3c}.own-hand{gap:4px}.felt{min-height:680px}.human-seat{bottom:20px}.rivers{--tile-small-w:28px;--tile-small-h:40px;gap:88px 240px;top:147px;bottom:254px}.river{min-height:0}.river-label{flex:none}.river .river-tiles{overscroll-behavior:contain;scrollbar-color:#a1b999 transparent;width:max-content;max-width:100%;min-height:0;max-height:100%;padding:3px 4px 5px;overflow-y:auto}.center-stage{pointer-events:none;align-items:center;gap:24px;display:flex;position:absolute;top:43%;left:50%;transform:translate(-50%,-50%)}.center-stage .table-center{border:1px solid #719279;border-radius:8px;outline:0;gap:7px;width:112px;height:auto;min-height:130px;padding:12px 7px;position:static;transform:none}.turn-compass{color:#efdb9b;width:28px;height:28px}.turn-compass svg{width:100%;height:100%;transform:rotate(var(--turn-angle));transition:transform .18s ease-out}.table-center .turn-status{color:#244936;white-space:nowrap;background:#efdb9b;border-radius:4px;padding:5px 8px;font-size:12px;font-weight:650}.discard-spotlight{color:#f4f4dd;text-align:center;flex-direction:column;align-items:center;gap:8px;width:96px;font-size:12px;animation:.2s ease-out both discard-arrival;display:flex}.discard-spotlight .tile{--tile-w:70px;--tile-h:100px;box-shadow:0 4px #c5c8b4,0 8px 14px #10291f40}.discard-spotlight strong{font-size:16px;font-weight:600}.discard-spotlight small{color:#d4dfc7;font-size:10px}.discard-spotlight>p{color:#bdd0b3;font-size:12px}.seat-label{border:1px solid #0000;border-radius:6px;padding:5px 7px}.is-active.ai-seat .seat-label{color:#fff3bf;background:#194b3c;border-color:#efdb9b}.seat-turn-marker{color:#efdb9b;flex:0 0 10px;width:10px;height:14px;display:inline-block}.is-active.human-seat .human-meta>span:first-child{color:#fff0b3}.rotate-phone{width:120px;color:var(--green);margin:10px auto 20px}.rotate-phone svg{width:100%;display:block}.orientation-blocked>.table-area,.orientation-blocked>.coach{visibility:hidden}.orientation-blocked{height:calc(100dvh - 66px);overflow:hidden}@keyframes discard-arrival{0%{transform:scale(.94)}to{transform:scale(1)}}@media (width>=1450px){.rivers{--tile-small-w:32px;--tile-small-h:45px;bottom:263px}.human-seat .own-hand .tile{--tile-w:min(58px, calc((100cqw - 68px) / 17))}.discard-spotlight .tile{--tile-w:78px;--tile-h:111px}}@media (width>=901px) and (width<=1150px){.game-layout{grid-template-columns:170px minmax(0,1fr);gap:16px}.rivers{--tile-small-w:21px;--tile-small-h:30px;gap:75px 200px;left:105px;right:105px}.center-stage{gap:15px}.center-stage .table-center{width:96px}.discard-spotlight{width:78px}.discard-spotlight .tile{--tile-w:58px;--tile-h:84px}}@media (width<=900px) and (orientation:portrait){.game-layout{display:flex}.felt{min-height:620px}.human-seat .own-hand .tile{--tile-w:32px;--tile-h:47px}.center-stage{gap:12px}.center-stage .table-center{width:88px;min-height:105px;font-size:11px}.discard-spotlight{width:68px}.discard-spotlight .tile{--tile-w:49px;--tile-h:71px}}@media (height<=600px) and (orientation:landscape){.app-header.is-playing{display:none}.game-layout{max-width:none;height:100dvh;padding:5px max(9px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left));display:block}.game-layout>.coach{display:none}.table-area{flex-direction:column;height:100%;display:flex}.table-toolbar{flex:0 0 44px;gap:8px;min-height:44px;padding:0 3px 5px}.table-toolbar>span{white-space:nowrap;font-size:11px}.table-toolbar>div{gap:5px}.table-control{min-height:38px;padding:6px 12px;font-size:12px}.compact-control{justify-content:center;align-items:center;display:inline-flex}.felt{border-radius:12px;flex:1;height:auto;min-height:0}.seat-2{gap:3px;top:9px}.ai-seat .seat-label{gap:5px;padding:3px 5px;font-size:11px}.wind-tag{font-size:10px}.seat-1,.seat-3{gap:4px;max-width:76px;top:28%}.seat-1{right:10px}.seat-3{left:10px}.rivers{--tile-small-w:19px;--tile-small-h:27px;gap:24px 188px;inset:77px 91px 168px}.river{gap:1px}.river .river-tiles{grid-template-columns:repeat(7, var(--tile-small-w));gap:3px 2px;padding:2px 3px 4px}.river-label{font-size:9px}.center-stage{gap:17px;top:36%}.center-stage .table-center{gap:4px;width:94px;min-height:99px;padding:7px 4px}.table-center b{font-size:14px}.table-center>span{font-size:11px}.table-center small{font-size:9px}.table-center .turn-status{padding:4px 6px;font-size:11px}.turn-compass{width:22px;height:22px}.discard-spotlight{gap:4px;width:68px;font-size:11px}.discard-spotlight .tile{--tile-w:49px;--tile-h:71px}.discard-spotlight strong{font-size:13px}.discard-spotlight small{font-size:9px}.human-seat{gap:7px;bottom:8px;left:13px;right:13px}.human-meta{min-height:22px;font-size:11px}.human-meta>span:first-child{gap:7px}.human-meta strong{font-size:10px}.human-meta .own-melds{--tile-small-w:16px;--tile-small-h:23px;justify-content:flex-start}.human-seat .own-hand{flex-wrap:nowrap;gap:2px;max-width:none;padding:4px 0 3px}.human-seat .own-hand .tile{--tile-w:min(44px, calc((100cqw - 36px) / 17));--tile-h:calc(var(--tile-w) * 1.46)}.own-hand .tile.selected{transform:translateY(-7px)}.action-dock{gap:7px;min-height:42px}.action-dock button{min-height:40px;padding:7px 18px;font-size:13px}.compact-turn-label{color:#fff0b3;margin-right:8px;font-size:12px;display:inline-block}.waiting-text{font-size:12px}.seat-turn-marker{flex-basis:9px;width:9px;height:12px}}@media (height<=380px) and (orientation:landscape){.table-toolbar{flex-basis:39px;min-height:39px}.table-control{min-height:34px;padding:5px 10px;font-size:11px}.human-seat{gap:5px;bottom:7px}.human-seat .own-hand .tile{--tile-w:min(40px, calc((100cqw - 36px) / 17))}.rivers{--tile-small-w:17px;--tile-small-h:24px;top:70px;bottom:151px}.center-stage{top:34%}.center-stage .table-center{gap:3px;min-height:88px}.discard-spotlight .tile{--tile-w:43px;--tile-h:63px}.discard-spotlight strong{display:none}.action-dock{min-height:37px}.action-dock button{min-height:36px}}}:root{color:#fff0ca;--paper:#17203d;--white:#19213d;--ink:#f6e6bd;--muted:#d5c7a6;--line:#b58d49;--green:#c7993e;--felt:#50235b;--accent:#ffdf87;--gold:#efc66d;--tile-face:#fff9e8;--tile-ink:#1d382d;--tile-red:#a3271d;--tile-green:#176140;--tile-blue:#223f56;--game-serif:"Kaiti TC","STKaiti","KaiTi",serif;background:#11162e;font-family:PingFang TC,Microsoft JhengHei,sans-serif}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}*{box-sizing:border-box}body{overscroll-behavior:none}button,input,select{font:inherit}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #fff1a1}button:disabled{cursor:default;filter:saturate(.45);opacity:.56}::selection{color:#22263f;background:#e9c575}.game-viewport{isolation:isolate;background:#11162e;position:fixed;top:0;left:0;overflow:hidden}.game-viewport.is-rotated{transform-origin:50%;top:50%;left:50%;transform:translate(-50%,-50%)rotate(90deg)}.game-screen{color:#f8edce;background:#50235b url(/art/table-scene.webp) 50%/100% 100% no-repeat;width:100%;height:100%;position:relative;overflow:hidden;container:game/size}.game-screen button{color:#ffe7a5;background:#202740;border:1px solid #bc944d;border-radius:8px;min-height:40px;padding:9px 16px;font-weight:600;transition:filter .15s ease-out,transform .15s ease-out}.game-screen button:hover:not(:disabled){filter:brightness(1.12)}.game-screen button:active:not(:disabled){transform:translateY(2px)}.game-screen .gold-button,.game-screen .action-dock .primary{color:#fff3c8;font-family:var(--game-serif);text-shadow:0 2px 1px #68390f,1px 0 #68390f,-1px 0 #68390f;background:linear-gradient(#ffe59b 0%,#d99a2d 14%,#bc7414 50%,#d99a2d 80%,#9c5611 100%);border:3px double #ffe9a2;border-radius:999px;font-weight:700;position:relative;box-shadow:inset 0 1px #fff6c6,inset 0 -4px 4px #8d4f13,0 3px #744215,0 7px 16px #100b2766}.game-screen .gold-button:before,.game-screen .action-dock .primary:before{content:"";border-radius:inherit;pointer-events:none;border:1px solid #ffe599a6;position:absolute;inset:5px}.game-screen .navy-button{color:#ffe8a1;font-family:var(--game-serif);background:linear-gradient(#303956,#12192d);border:2px solid #d6ae62;border-radius:999px;box-shadow:inset 0 1px #fff1b936,0 4px 8px #100b2740}.game-screen .ivory-button{color:#3b251b;font-family:var(--game-serif);text-shadow:0 1px #fff9d9;background:linear-gradient(#fff7dc,#f4df9f 52%,#e4bd6b);border:3px double #e4b65c;box-shadow:inset 0 1px #fff,0 4px #70451d,0 7px 14px #100b2740}.game-screen .menu-trigger{z-index:8;color:#ffe5a0;background:linear-gradient(#3c4056,#12192c);border:2px solid #f0c66f;border-radius:50%;width:clamp(36px,4.2cqw,62px);height:clamp(36px,4.2cqw,62px);min-height:0;padding:7px;position:absolute;top:1.3%;left:1.3%;box-shadow:0 3px 8px #100b2770,inset 0 0 0 2px #151b30}.menu-trigger svg{width:100%;height:100%;display:block}.game-screen .tile{--tile-w:44px;--tile-h:64px;flex-direction:column;flex:0 0 var(--tile-w);width:var(--tile-w);height:var(--tile-h);color:#1d382d;min-height:0;font-family:var(--game-serif);-webkit-user-select:none;user-select:none;background:linear-gradient(100deg,#fffef1 0%,#fff9e8 60%,#eee5ce 100%);border:1px solid #cbbd97;border-top:2px solid #fffdf3;border-radius:clamp(3px,.55cqw,8px);justify-content:center;align-items:center;padding:2px 3px 6px;line-height:1.05;display:inline-flex;position:relative;box-shadow:inset 2px 0 2px #fffdf2,inset -2px -3px 2px #cbbb9470,0 4px #c9bd9e,0 7px #0f755e,0 9px 8px #130d2745}.game-screen .tile:disabled{opacity:1;filter:none;color:#1d382d;background:linear-gradient(100deg,#fffef1,#fff9e8 60%,#eee5ce)}.game-screen .tile-face{width:100%;height:100%;font-family:var(--game-serif);flex-direction:column;justify-content:center;align-items:center;line-height:1.05;display:flex}.game-screen .tile-face>b{font-size:calc(var(--tile-w)*.46);font-weight:600}.game-screen .tile-face>strong{font-size:calc(var(--tile-w)*.48);color:#a3271d;font-weight:700}.game-screen .tile-face.suit-z>strong{font-size:calc(var(--tile-w)*.68);color:#1d382d}.game-screen .tile-face.red>strong{color:#a3271d}.game-screen .tile-face.green>strong,.game-screen .tile-face>.green{color:#176140}.game-screen .tile-face>svg{width:100%;height:100%}.game-screen .tile .white-dragon{border:2px double #49677a;border-radius:3px;width:70%;height:72%;display:flex;font-size:0!important}.game-screen .tile.small{--tile-w:var(--tile-small-w,20px);--tile-h:var(--tile-small-h,29px);border-top-width:1px;border-radius:3px;padding:1px 2px 3px;box-shadow:inset 1px 0 1px #fffef3,0 2px #c9bd9e,0 4px #14745e,0 5px 5px #130d2738}.game-screen .tile-back{width:var(--back-w,28px);height:var(--back-h,42px);background:linear-gradient(90deg,#79bba2,#0f836b 17%,#0a6655 95%);border:1px solid #d5e4cd;border-top:6px solid #fffbed;border-radius:3px;flex-shrink:0;min-height:0;padding:4px 2px 2px;display:inline-flex;box-shadow:inset -2px 0 1px #004d43,0 3px #064e43,0 5px 5px #160e2e40}.game-screen .tile-back>span{background:linear-gradient(100deg,#079a7f,#12725d);border:1px solid #65c3a1;border-radius:2px;width:100%;height:100%;display:block}.opening-screen{position:absolute;inset:0;overflow:hidden}.opening-wall{--back-w:2.8cqw;--back-h:4.2cqw;pointer-events:none;gap:1px;display:flex;position:absolute}.opening-wall-top{top:5%;left:50%;transform:translate(-50%)}.opening-wall-bottom{--back-w:3.25cqw;--back-h:3.8cqw;bottom:8%;left:50%;transform:translate(-50%)perspective(800px)rotateX(25deg)}.opening-wall-left,.opening-wall-right{--back-w:2.4cqw;--back-h:3.6cqw;flex-direction:column;gap:0;top:14%}.opening-wall-left{left:13%;transform:rotate(8deg)}.opening-wall-right{right:13%;transform:rotate(-8deg)}.opening-wall-left .tile-back,.opening-wall-right .tile-back{margin-bottom:-1.4cqw}.title-emblem{object-fit:contain;filter:drop-shadow(0 8px 6px #1a0c2a65);width:55%;height:45%;position:absolute;top:11%;left:50%;transform:translate(-50%)}.opening-actions{flex-direction:column;align-items:center;gap:2.7cqh;width:42%;display:flex;position:absolute;top:57%;left:50%;transform:translate(-50%)}.game-screen .opening-actions .start-button{letter-spacing:.08em;width:100%;height:11.8cqh;min-height:48px;padding:6px 24px;font-size:clamp(26px,4cqw,60px)}.game-screen .opening-actions .navy-button{min-height:36px;padding:4px 28px;font-size:clamp(18px,2cqw,30px)}.opening-note{text-align:center;color:#ffe8ad;margin:0;font-size:clamp(12px,1.2cqw,18px);position:absolute;bottom:2.8%;left:0;right:0}.opening-flowers{--tile-w:4cqw;--tile-h:5.8cqw;gap:5px;display:flex;position:absolute;bottom:13%;left:9%;transform:rotate(-12deg)}.opening-flowers .tile{--tile-w:4cqw;--tile-h:5.8cqw}.game-screen .table-experience{color:#f9edca;width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:0;display:block;position:absolute;inset:0}.game-screen .table-area{width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.game-screen .felt{width:100%;height:100%;min-height:0;max-height:none;box-shadow:none;--back-w:clamp(20px,2.6cqw,36px);--back-h:calc(var(--back-w)*1.5);--hand-w:min(78px,calc((100cqw - 70px)/17));--hand-h:calc(var(--hand-w)*1.46);--avatar-w:clamp(75px,8.6cqw,132px);background:0 0;border:0;border-radius:0;position:absolute;inset:0;overflow:hidden;container:table/size}.game-screen .coach,.game-screen .table-toolbar{display:none}.game-screen .ai-seat{display:contents}.game-screen .seat-label{z-index:4;width:var(--avatar-w);color:#fff5d6;text-align:center;white-space:normal;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:0;padding:0;font-size:clamp(14px,1.4cqw,21px);display:flex;position:absolute}.game-screen .seat-2 .seat-label{top:9%;left:4.8%}.game-screen .seat-3 .seat-label{top:42%;left:2.3%}.game-screen .seat-1 .seat-label{top:9%;left:auto;right:3.2%}.game-screen .own-player{z-index:5;width:var(--avatar-w);position:absolute;top:37%;right:1.5%}.game-screen .own-player .seat-label{width:100%;position:relative;inset:auto}.game-screen .player-avatar{width:100%;height:calc(var(--avatar-w)*1.05);background-image:url(/art/portraits.webp),linear-gradient(#514058,#141b32);background-repeat:no-repeat;background-size:200% 200%,100% 100%;border:2px solid #e4bc69;border-radius:14px 14px 8px 8px;flex-shrink:0;display:block;position:relative;box-shadow:inset 0 0 0 2px #24273e,0 4px 10px #140d2b70}.game-screen .avatar-seat-2{background-position:0 0,0 0}.game-screen .avatar-seat-1{background-position:100% 0,0 0}.game-screen .avatar-seat-3{background-position:0 100%,0 0}.game-screen .avatar-seat-0{background-position:100% 100%,0 0}.game-screen .player-name{z-index:1;text-shadow:0 2px 3px #060b18;background:linear-gradient(#343347,#11172b);border:2px solid #d8ab58;border-radius:999px;width:105%;margin-top:-9px;padding:2px 4px;font-weight:650;line-height:1.25}.game-screen .seat-role{color:#f9d98b;padding:1px 0;font-size:clamp(11px,.95cqw,14px);line-height:1.45}.game-screen .wind-tag{font-size:inherit;color:#f9d98b}.game-screen .seat-label>b{font-variant-numeric:tabular-nums;color:#ffe293;background:linear-gradient(#2a2637,#13182d);border:1px solid #d4a34e;border-radius:8px;width:108%;padding:1px 4px;font-size:clamp(15px,1.6cqw,25px);font-weight:600;line-height:1.25}.game-screen .dealer-badge{color:#fff4ba;width:clamp(22px,2.6cqw,38px);height:clamp(22px,2.6cqw,38px);font:normal 700 clamp(15px,2cqw,28px) var(--game-serif);z-index:2;background:#9a251c;border:2px solid #edc56c;border-radius:50%;place-items:center;display:grid;position:absolute;top:41%;right:-12%}.game-screen .seat-turn-marker{color:#ffe69c;filter:drop-shadow(0 0 3px #ffcf64);width:15px;height:14px;position:absolute;bottom:-13px}.game-screen .is-active .player-avatar{box-shadow:0 0 0 2px #ffe7a0,0 0 14px #e8ba656e}.game-screen .own-player>.wait-panel{color:#ffe59b;background:linear-gradient(#252942,#10172c);border:2px solid #dcb45f;border-radius:12px;flex-direction:column;gap:4px;width:112%;min-height:0;max-height:16cqh;margin:12px 0 0;padding:6px;font-size:clamp(12px,1.2cqw,18px);display:flex;position:relative;left:-6%;box-shadow:0 3px 8px #180c2d50}.game-screen .wait-panel:empty{display:none}.game-screen .wait-panel>strong{font-family:var(--game-serif);font-weight:600;line-height:1.1}.game-screen .wait-tiles{--tile-small-w:min(2.2cqw,26px);--tile-small-h:calc(var(--tile-small-w)*1.46);flex-wrap:wrap;justify-content:center;gap:4px;width:100%;padding:2px 0 4px;display:flex;overflow:visible}.game-screen .seat-cards{gap:8px;max-width:none;max-height:none;padding:0;display:flex;position:absolute;overflow:visible}.game-screen .hidden-hand{flex-wrap:nowrap;flex-shrink:0;justify-content:flex-start;gap:1px;width:max-content;max-width:none;display:flex;position:static;transform:none}.game-screen .seat-2 .seat-cards{flex-direction:column;align-items:center;top:5.5%;left:50%;transform:translate(-50%)}.game-screen .seat-2 .hidden-hand{transform:none}.game-screen .seat-3 .seat-cards{transform-origin:top;flex-direction:row;align-items:flex-start;top:17%;left:12.7%;transform:rotate(7deg)}.game-screen .seat-1 .seat-cards{transform-origin:top;flex-direction:row-reverse;align-items:flex-start;top:17%;left:auto;right:12.7%;transform:rotate(-7deg)}.game-screen .seat-3 .hidden-hand,.game-screen .seat-1 .hidden-hand{flex-direction:column;gap:0;display:flex;position:static;top:auto;left:auto;right:auto;transform:none}.game-screen .seat-1 .hidden-hand .tile-back,.game-screen .seat-3 .hidden-hand .tile-back{margin-bottom:calc((58cqh - var(--back-h))/16 - var(--back-h));position:relative}.game-screen .seat-melds{--tile-small-w:clamp(14px,1.65cqw,24px);--tile-small-h:calc(var(--tile-small-w)*1.46);flex-wrap:wrap;align-content:flex-start;gap:4px;max-width:none;max-height:none;padding:0;display:flex;position:static;top:auto;left:auto;right:auto;overflow:visible;transform:none}.game-screen .seat-2 .seat-melds{justify-content:center;max-width:40cqw}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{width:calc(var(--tile-small-w)*3 + 10px);justify-content:flex-start;gap:3px}.game-screen .meld{flex-shrink:0;align-items:center;gap:1px;display:inline-flex}.game-screen .meld small{white-space:nowrap;color:#ffdb86;font-size:9px;position:absolute;bottom:-10px;left:0}.game-screen .wall-visual{pointer-events:none;width:auto;max-width:none;display:block;position:absolute;inset:0;transform:none}.game-screen .wall-run{gap:1px;display:flex;position:absolute;transform:none}.game-screen .wall-run-0{top:19%;left:50%;transform:translate(-50%)}.game-screen .wall-run-1{flex-direction:column;top:24%;right:19%}.game-screen .wall-run-2{flex-direction:column;top:24%;left:19%}.game-screen .wall-stack{background:linear-gradient(100deg,#62b49f,#14836e);border-top:3px solid #f4f1db;border-bottom:4px solid #d0c7ab;border-radius:2px;width:1.8cqw;max-width:27px;height:3.4cqh;max-height:31px;display:block;position:relative;box-shadow:0 3px #14725f,0 5px 5px #180c2d40}.game-screen .wall-stack:after{content:"";border-top:2px solid #dfdfc2;position:absolute;top:45%;left:0;right:0}.game-screen .wall-run-1 .wall-stack,.game-screen .wall-run-2 .wall-stack{border-top-width:1px;border-bottom-width:2px;width:2.3cqw;max-width:32px;height:1.1cqh;max-height:10px}.game-screen .wall-caption{display:none}.game-screen .show-teaching .wall-caption{color:#ffe7a6;font-size:clamp(10px,1cqw,14px);display:block;position:absolute}.game-screen .wall-head{top:23%;left:34%}.game-screen .wall-tail{top:53%;right:19%}.game-screen .rivers{display:contents}.game-screen .river{--river-span:23cqw;--river-depth:14cqh;--river-max:36px;--cell:min(var(--river-max),calc((var(--river-span) - 2px*(var(--river-cols) - 1) - 6px)/var(--river-cols)),calc((var(--river-depth) - 8px - (var(--river-rows) - 1)*2px)/var(--river-rows)/1.46));--tile-small-w:var(--cell);--tile-small-h:calc(var(--cell)*1.46);gap:0;width:23cqw;height:14cqh;min-height:0;display:block;position:absolute}.game-screen .river-label{display:none}.game-screen .river .river-tiles{grid-template-columns:repeat(var(--river-cols),var(--cell));grid-auto-rows:calc(var(--cell)*1.46);scrollbar-width:none;place-content:start center;gap:2px;width:100%;max-width:none;height:100%;padding:3px;display:grid;overflow:visible}.game-screen .river-2{top:26%;left:50%;transform:translate(-50%)rotate(180deg)}.game-screen .river-0{top:57%;left:43%;transform:translate(-50%)}.game-screen .river-3{top:43%;left:27%;transform:translate(-50%,-50%)rotate(90deg)}.game-screen .river-1{top:43%;left:auto;right:27%;transform:translate(50%,-50%)rotate(-90deg)}.game-screen .river-tile{display:inline-flex;position:relative}.game-screen .river-tile.latest>.tile{outline-offset:1px;outline:2px solid #ffdc82}.game-screen .river-tile.claimed>.tile{opacity:.38}.game-screen .claimed-label{color:#302019;background:#e8c36f;border-radius:2px;padding:0 2px;font-size:9px;line-height:1.2;position:absolute;bottom:-2px;right:-1px}.game-screen .center-stage{pointer-events:none;display:block;position:absolute;top:43%;left:50%;transform:translate(-50%,-50%)}.game-screen .center-stage .table-center{color:#ffe8a2;background:linear-gradient(#272337,#121828);border:3px double #d8b064;border-radius:18px;outline:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:14cqw;min-width:104px;max-width:190px;height:16cqh;min-height:85px;max-height:155px;padding:8px;display:flex;position:static;transform:none;box-shadow:0 5px #110f20,0 9px 14px #1a10283b}.game-screen .table-center>span{font-size:clamp(12px,1.5cqw,23px);line-height:1.3}.game-screen .dice-tray{align-items:center;gap:6px;display:flex}.game-screen .die{background:linear-gradient(#fffdf1,#e9dfc7);border-radius:5px;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:2px;width:clamp(18px,2.4cqw,34px);height:clamp(18px,2.4cqw,34px);padding:4px;display:grid;box-shadow:0 3px #aaa38a,0 5px 6px #0003}.game-screen .die i.pip{background:#183c30;border-radius:50%}.game-screen .wind-die{font-family:var(--game-serif);color:#17633c;background:#fff8df;border:1px solid #bca875;border-radius:4px;padding:1px 5px;font-size:clamp(17px,2.6cqw,36px);font-weight:700;line-height:1.15;box-shadow:0 2px #b6b393}.game-screen .table-center small,.game-screen .turn-compass{display:none}.game-screen .table-center .turn-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.game-screen .discard-spotlight{pointer-events:none;z-index:3;width:auto;display:block;position:absolute;top:39%;left:17.5%}.game-screen .discard-spotlight .tile{--tile-w:clamp(34px,4.4cqw,64px);--tile-h:calc(var(--tile-w)*1.46);outline-offset:2px;outline:2px solid #f5d68c}.game-screen .spotlight-seat-2{top:26%;left:64%}.game-screen .discard-spotlight>span:not(.tile),.game-screen .discard-spotlight>strong,.game-screen .discard-spotlight>small,.game-screen .discard-spotlight>p{display:none}.game-screen .human-seat{z-index:4;gap:0;padding:0;display:block;position:absolute;bottom:2%;left:2.5%;right:2.5%;container-type:inline-size}.game-screen .hand-row{justify-content:center;align-items:flex-end;gap:10px;width:100%;padding-bottom:7px;display:flex}.game-screen .own-hand{flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:flex-end;gap:3px;width:auto;max-width:none;padding:8px 0 0;display:flex}.game-screen .human-seat .own-hand .tile{--tile-w:min(78px,calc((100cqw - 70px)/17));--tile-h:calc(var(--tile-w)*1.46);flex:0 0 var(--tile-w);transition:transform .16s ease-out,filter .16s ease-out}.game-screen .own-hand .tile:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-7px)}.game-screen .own-hand .tile.selected{outline-offset:2px;background:linear-gradient(#fff9dc,#ffedaf);outline:2px solid #f8d982;transform:translateY(-7px)}.game-screen .own-hand .drawn:after{content:"新摸";text-align:center;color:#ffdf8e;text-shadow:0 2px 3px #1b1230;font:12px PingFang TC,sans-serif;position:absolute;top:-20px;left:0;right:0}.game-screen .own-melds{--tile-small-w:calc(min(78px,(100cqw - 70px)/17)*.72);--tile-small-h:calc(var(--tile-small-w)*1.46);flex-wrap:nowrap;flex:0 auto;justify-content:flex-start;align-items:end;gap:6px;min-width:0;display:flex}.game-screen .own-melds:empty{display:none}.game-screen .human-meta{width:auto;min-height:0;margin:0;padding:0;display:flex;position:absolute;bottom:calc(1.46*min(78px,5.88235cqw - 4.11765px) + 21px);left:0;right:auto}.game-screen .own-flowers{--tile-small-w:clamp(16px,2cqw,29px);--tile-small-h:calc(var(--tile-small-w)*1.46);gap:4px;display:flex}.game-screen .own-flowers:empty,.game-screen .hand-count{display:none}.game-screen .action-row{gap:0;min-height:0;padding:0;display:none;position:absolute;bottom:calc(1.46*min(78px,5.88235cqw - 4.11765px) + 20px);left:24%;right:17%}.game-screen .action-row.has-content{display:block}.game-screen .action-dock{flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;width:100%;min-height:0;display:flex}.game-screen .action-dock button{font-family:var(--game-serif);border-radius:999px;flex-direction:column;flex-shrink:1;justify-content:center;align-items:center;gap:4px;min-width:65px;min-height:60px;padding:8px 20px;font-size:clamp(21px,3cqw,43px);line-height:1.1;display:flex}.game-screen .action-dock .secondary{color:#35231a;background:linear-gradient(#fff5d1,#e5bd64);border:3px double #dfb25c;box-shadow:0 4px #6b431c,0 7px 12px #130c2840}.game-screen .claim-action small{white-space:nowrap;font-family:PingFang TC,sans-serif;font-size:clamp(10px,1.05cqw,15px);font-weight:500;line-height:1.2}.game-screen .waiting-text,.game-screen .compact-turn-label{display:none}.game-screen .pass-warning{color:#ffddb5;max-width:170px;font-size:clamp(10px,1cqw,14px);line-height:1.3}.game-screen .action-feedback{color:#ffe5a0;font:700 clamp(30px,5cqw,72px) var(--game-serif);text-shadow:0 3px #8c4d16,0 5px 12px #2b142f;z-index:7;pointer-events:none;background:0 0;border:0;padding:0;animation:.32s ease-out claim-in;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)}.game-screen .effect-seat-1{top:37%;left:auto;right:19%;transform:translate(50%,-50%)}@keyframes claim-in{0%{filter:brightness(1.35);scale:1.3}to{filter:brightness();scale:1}}.game-modal-layer{z-index:30;-webkit-backdrop-filter:none;backdrop-filter:none;background:#090b20ad;justify-content:center;align-items:center;padding:18px;display:flex;position:absolute;inset:0}.game-screen .dialog{color:#ffedc4;scrollbar-color:#cba85d #182139;background:linear-gradient(125deg,#29304c,#111930 80%);border:2px solid #d9b164;border-radius:16px;width:min(580px,80%);max-width:100%;max-height:94%;margin:0;padding:24px 28px;font-size:16px;display:block;position:relative;inset:auto;overflow:auto;box-shadow:0 12px 38px #080b2080}.game-screen .dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.game-screen .dialog-heading h2{font-family:var(--game-serif);color:#ffdfa0;margin:0;font-size:28px;font-weight:700;line-height:1.25}.game-screen .close-button{flex-shrink:0;min-width:40px;min-height:36px;padding:4px 8px;font-size:14px}.game-screen .dialog>p,.game-screen .rule-list,.game-screen .hint-reasons{margin:12px 0;font-size:16px;line-height:1.7}.game-screen .muted{color:#ddcea9}.game-screen .dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;display:flex}.game-screen .dialog button{font-size:16px}.game-screen .dialog form{flex-direction:column;gap:14px;display:flex}.game-screen label{color:#ffe6b2;flex-direction:column;gap:6px;font-size:16px;display:flex}.game-screen input,.game-screen select{color:#272438;background:#f8f0d5;border:1px solid #b99a5a;border-radius:6px;width:100%;height:42px;padding:7px 10px;font-size:16px}.game-screen .form-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.game-screen .setup-dialog .gold-button{width:100%;min-height:48px;font-size:24px}.game-screen .drawer-layer{justify-content:flex-start;padding:0}.game-screen .game-drawer{background:linear-gradient(125deg,#2b3452,#121a32 70%);border:3px double #deb45d;border-left:0;border-radius:0 30px 30px 0;flex-direction:column;gap:clamp(10px,2cqh,22px);width:30%;min-width:280px;max-width:480px;height:100%;max-height:100%;padding:24px 22px;display:flex;overflow-y:auto;box-shadow:8px 0 30px #090b2070}.game-screen .game-drawer .dialog-heading{flex-shrink:0;margin:0 0 8px}.game-screen .game-drawer .dialog-heading h2{font-size:clamp(23px,2.7cqw,40px)}.game-screen .game-drawer .close-button{border-radius:10px;width:42px;height:42px;padding:7px}.close-button svg{width:100%;height:100%;display:block}.game-screen .game-drawer>button{flex-shrink:0;width:100%;min-height:clamp(40px,7cqh,68px);font-size:clamp(17px,2cqw,29px)}.game-screen .drawer-toggle{font-family:var(--game-serif);background:0 0;border:0;border-bottom:1px solid #876e43;border-radius:0;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;display:flex}.game-screen .drawer-toggle>b{background:#171c2c;border:1px solid #d4b578;border-radius:999px;min-width:72px;padding:4px 14px;font-size:.72em}.game-screen .drawer-toggle[aria-checked=true]>b{color:#292033;background:#dcb65e}.game-screen .game-drawer>.gold-button{min-height:clamp(48px,9cqh,85px);margin-top:auto;font-size:clamp(23px,3cqw,42px)}.game-screen .game-drawer .drawer-exit{box-shadow:none;color:#f7deb0;min-height:36px;font-family:var(--game-serif);background:0 0;border:0}.game-screen .hint-choice{align-items:center;gap:18px;display:flex}.game-screen .hint-loading span{background:#39425b}.game-screen .app-error{z-index:50;color:#fff3db;background:#5a1923;border:1px solid #f0bd78;border-radius:8px;padding:12px;font-size:16px;position:absolute;top:10px;left:10%;right:10%}.game-screen .has-settlement .felt{height:100%}.game-screen .has-settlement .wall-visual,.game-screen .has-settlement .wall-caption,.game-screen .has-settlement .discard-spotlight,.game-screen .has-settlement .action-row{display:none}.game-screen .has-settlement .seat-1 .hidden-hand,.game-screen .has-settlement .seat-3 .hidden-hand{--tile-small-w:20px;--tile-small-h:29px;grid-template-columns:repeat(3,20px);grid-auto-rows:29px;gap:2px;display:grid}.game-screen .has-settlement .seat-1 .seat-cards,.game-screen .has-settlement .seat-3 .seat-cards{top:19%;transform:none}.game-screen .has-settlement .hidden-hand .tile{--tile-small-w:20px;--tile-small-h:29px}.game-screen .has-settlement .seat-2 .seat-cards{top:3%}.game-screen .has-settlement .seat-2 .hidden-hand{gap:2px}.game-screen .has-settlement .rivers,.game-screen .has-settlement .center-stage{opacity:.45}.game-screen .settlement-panel{color:#f9e8be;background:linear-gradient(125deg,#28314c,#11192e);border:2px solid #caa257;border-radius:14px 14px 0 0;grid-template-rows:auto 1fr;grid-template-columns:1fr 1.4fr auto;align-items:center;gap:5px 24px;width:96%;height:27%;padding:12px 22px;font-size:14px;display:grid;position:absolute;bottom:0;left:2%;right:2%;overflow:auto}.game-screen .settlement-panel h2{font:700 clamp(20px,2.2cqw,32px) var(--game-serif);grid-column:1;margin:0}.game-screen .settlement-panel>p{grid-column:1;margin:0;font-size:12px}.game-screen .settlement-panel>.muted{display:none}.game-screen .settlement-awards{flex-wrap:wrap;grid-column:1;gap:5px;display:flex}.game-screen .settlement-awards>span{background:#34405a;border-radius:4px;padding:3px 6px;font-size:12px}.game-screen .settlement{border-collapse:collapse;grid-area:1/2/4;width:100%;margin:0;font-size:14px}.game-screen .settlement th,.game-screen .settlement td{color:#f8e5b9;border-bottom:1px solid #6b6249;padding:2px 7px}.game-screen .settlement th{font-size:12px;font-weight:500}.game-screen .settlement-panel .dialog-actions{flex-direction:column;grid-area:1/3/4;gap:8px;margin:0}.game-screen .settlement-panel button{min-height:42px;padding:7px 18px;font-size:16px}.game-screen .settlement-panel button.primary{color:#fff3c8;background:linear-gradient(#e5bc64,#9e6216);border:2px solid #e4b65c}@container game (height<=700px){.game-screen .felt{--avatar-w:clamp(58px,7.8cqw,78px);--back-w:clamp(16px,2.5cqw,24px);--back-h:calc(var(--back-w)*1.45);--hand-w:calc((100cqw - 70px)/17);--hand-h:calc(var(--hand-w)*1.46)}.game-screen .menu-trigger{width:36px;height:36px;padding:5px}.game-screen .seat-label{font-size:14px}.game-screen .player-avatar{height:calc(var(--avatar-w)*.88);border-radius:9px}.game-screen .seat-label>b{font-size:16px}.game-screen .seat-role{font-size:10px;line-height:1.2}.game-screen .player-name{margin-top:-5px;padding:1px 3px;font-size:14px}.game-screen .seat-2 .seat-label{top:10%;left:4.5%}.game-screen .seat-3 .seat-label{top:43%;left:2%}.game-screen .seat-1 .seat-label{top:10%;right:2%}.game-screen .own-player{top:40%;right:1.3%}.game-screen .dealer-badge{width:22px;height:22px;font-size:16px;right:-8%}.game-screen .seat-turn-marker{width:11px;height:11px;bottom:-10px}.game-screen .own-player>.wait-panel{border-radius:8px;gap:3px;max-height:17cqh;margin-top:7px;padding:4px 3px;font-size:12px}.game-screen .wait-tiles{--tile-small-w:min(1.8cqw,18px);--tile-small-h:calc(var(--tile-small-w)*1.46);gap:3px;padding:1px 0 4px}.game-screen .seat-2 .seat-cards{gap:5px;top:6%}.game-screen .seat-3 .seat-cards,.game-screen .seat-1 .seat-cards{gap:4px;top:19%}.game-screen .seat-melds{--tile-small-w:12px;--tile-small-h:17px;gap:2px}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{gap:2px;width:40px}.game-screen .seat-1 .hidden-hand .tile-back,.game-screen .seat-3 .hidden-hand .tile-back{margin-bottom:calc((56cqh - var(--back-h))/16 - var(--back-h))}.game-screen .tile-back{border-top-width:4px;padding:2px 1px 1px}.game-screen .wall-run-0{top:19.5%}.game-screen .wall-run-1,.game-screen .wall-run-2{top:24%}.game-screen .wall-stack{border-bottom-width:3px;width:1.6cqw;height:3.8cqh}.game-screen .wall-run-1 .wall-stack,.game-screen .wall-run-2 .wall-stack{width:2cqw;height:.9cqh}.game-screen .river{--river-max:22px;--river-span:22cqw;--river-depth:13cqh;width:22cqw;height:13cqh}.game-screen .river-2{top:27%}.game-screen .river-0{top:56%;left:43%}.game-screen .river-3{top:42%;left:28%}.game-screen .river-1{top:42%;right:28%}.game-screen .center-stage{top:43%}.game-screen .center-stage .table-center{border-radius:12px;gap:4px;width:13cqw;min-width:88px;height:18cqh;min-height:64px;max-height:88px;padding:5px}.game-screen .table-center>span{font-size:13px}.game-screen .die{gap:1px;width:20px;height:20px;padding:3px}.game-screen .wind-die{padding:0 3px;font-size:20px}.game-screen .dice-tray{gap:4px}.game-screen .discard-spotlight{top:38%;left:17%}.game-screen .discard-spotlight .tile{--tile-w:34px;--tile-h:49px}.game-screen .spotlight-seat-1{left:auto;right:17%}.game-screen .spotlight-seat-2{top:27%;left:64%}.game-screen .spotlight-seat-0{top:53%;left:61%}.game-screen .human-seat{bottom:2%;left:2.1%;right:2.1%}.game-screen .hand-row{gap:6px;padding-bottom:6px}.game-screen .own-hand{gap:2px;padding-top:6px}.game-screen .human-seat .own-hand .tile{--tile-w:calc((100cqw - 55px)/17);--tile-h:calc(var(--tile-w)*1.46)}.game-screen .own-hand .tile.drawn{margin-left:14px}.game-screen .own-hand .drawn:after{font-size:10px;top:-17px}.game-screen .own-hand .tile.selected{transform:translateY(-4px)}.game-screen .own-melds{--tile-small-w:calc((100cqw - 55px)/17*.7);--tile-small-h:calc(var(--tile-small-w)*1.46);gap:4px}.game-screen .human-meta{bottom:calc(8.58824cqw + 12.2765px)}.game-screen .own-flowers{--tile-small-w:16px;--tile-small-h:23px;gap:3px}.game-screen .action-row{bottom:calc(8.58824cqw + 11.2765px);left:24%;right:16%}.game-screen .action-dock{gap:5px}.game-screen .action-dock button{gap:3px;min-width:50px;min-height:46px;padding:6px 12px;font-size:23px}.game-screen .claim-action small{font-size:10px}.game-screen .pass-warning{max-width:140px;font-size:10px}.game-screen .action-feedback{font-size:38px}.game-screen .effect-seat-0{top:70%}.game-screen .dialog{max-height:94%;padding:16px 20px;font-size:14px}.game-screen .dialog-heading{margin-bottom:10px}.game-screen .dialog-heading h2{font-size:24px}.game-screen .dialog>p,.game-screen .rule-list,.game-screen .hint-reasons{margin:8px 0;font-size:14px;line-height:1.5}.game-screen .dialog button{min-height:36px;font-size:14px}.game-screen .dialog-actions{margin-top:12px}.game-screen .game-drawer{border-radius:0 20px 20px 0;gap:7px;width:31%;min-width:245px;padding:12px 15px}.game-screen .game-drawer .dialog-heading{margin:0 0 2px}.game-screen .game-drawer .dialog-heading h2{font-size:25px}.game-screen .game-drawer .close-button{width:32px;height:32px;min-height:32px;padding:5px}.game-screen .game-drawer>button{min-height:30px;padding:4px 10px;font-size:18px;line-height:1.15}.game-screen .game-drawer .drawer-toggle{min-height:32px;padding:4px 0}.game-screen .drawer-toggle>b{min-width:56px;padding:3px 9px;font-size:13px}.game-screen .game-drawer>.gold-button{min-height:43px;margin-top:2px;font-size:24px}.game-screen .game-drawer .drawer-exit{min-height:27px;font-size:16px}.game-screen .setup-dialog{width:min(550px,82%)}.game-screen .setup-dialog form{grid-template-columns:1fr 1fr;gap:10px 16px;display:grid}.game-screen .setup-dialog label{gap:3px;font-size:14px}.game-screen .setup-dialog .form-pair{grid-column:1/3;gap:16px}.game-screen .setup-dialog input,.game-screen .setup-dialog select{height:36px;padding:4px 8px;font-size:16px}.game-screen .setup-dialog form>p{grid-column:1/3;margin:0;font-size:12px}.game-screen .setup-dialog form>.gold-button{grid-column:1/3;min-height:40px;font-size:23px}.game-screen .has-settlement .table-area{height:70%}.game-screen .has-settlement .seat-label{--avatar-w:clamp(48px,6.4cqw,60px)}.game-screen .has-settlement .seat-2 .seat-label,.game-screen .has-settlement .seat-1 .seat-label{top:8%}.game-screen .has-settlement .seat-3 .seat-label{top:44%}.game-screen .has-settlement .own-player{top:40%}.game-screen .has-settlement .seat-1 .hidden-hand,.game-screen .has-settlement .seat-3 .hidden-hand{grid-template-columns:repeat(3,14px);grid-auto-rows:20px;gap:1px}.game-screen .has-settlement .hidden-hand .tile{--tile-small-w:14px;--tile-small-h:20px}.game-screen .has-settlement .seat-2 .hidden-hand{gap:1px}.game-screen .has-settlement .seat-1 .seat-cards,.game-screen .has-settlement .seat-3 .seat-cards{top:15%}.game-screen .has-settlement .seat-2 .seat-cards{top:5%}.game-screen .has-settlement .seat-melds{--tile-small-w:10px;--tile-small-h:14px}.game-screen .has-settlement .seat-1 .seat-melds,.game-screen .has-settlement .seat-3 .seat-melds{width:32px}.game-screen .has-settlement .human-seat .own-hand .tile{--tile-w:min(34px,calc((100cqw - 55px)/17));--tile-h:calc(var(--tile-w)*1.46)}.game-screen .has-settlement .own-melds{--tile-small-w:calc(min(34px,(100cqw - 55px)/17)*.7);--tile-small-h:calc(var(--tile-small-w)*1.46)}.game-screen .has-settlement .human-meta{bottom:calc(1.46*min(34px,5.88235cqw - 3.23529px) + 15px)}.game-screen .settlement-panel{gap:3px 14px;height:29%;padding:7px 12px;font-size:12px}.game-screen .settlement-panel h2{font-size:21px}.game-screen .settlement-panel>p{font-size:10px}.game-screen .settlement-awards>span{padding:2px 4px;font-size:10px}.game-screen .settlement{font-size:12px}.game-screen .settlement th,.game-screen .settlement td{padding:0 5px;line-height:1.35}.game-screen .settlement th{font-size:10px}.game-screen .settlement-panel button{min-height:32px;padding:4px 11px;font-size:13px}.game-screen .settlement-panel .dialog-actions{gap:5px}}@container game (width<=720px){.game-screen .seat-label{--avatar-w:58px}.game-screen .felt{--back-w:16px;--back-h:24px}.game-screen .seat-2 .seat-cards{max-width:62%;top:6%}.game-screen .seat-2 .hidden-hand{gap:0}.game-screen .seat-2 .seat-melds{max-width:46cqw}.game-screen .own-player{width:58px;top:39%;right:1.3%}.game-screen .own-player>.wait-panel{width:110%;padding:4px 2px;font-size:11px;left:-5%}.game-screen .wait-tiles{--tile-small-w:14px;--tile-small-h:20px;gap:2px}.game-screen .seat-role{font-size:9px}.game-screen .seat-label>b{font-size:14px}.game-screen .player-name{font-size:13px}.game-screen .dealer-badge{width:19px;height:19px;font-size:14px}.game-screen .river{--river-max:18px}.game-screen .center-stage .table-center{min-width:82px}.game-screen .table-center>span{font-size:12px}.game-screen .action-row{left:22%;right:15%}.game-screen .action-dock button{min-width:44px;padding:6px 9px;font-size:21px}.game-screen .claim-action small{font-size:9px}.game-screen .game-drawer{min-width:225px}.game-screen .opening-actions{width:45%}.game-screen .title-emblem{width:58%}.game-screen .opening-actions .navy-button{font-size:18px}.game-screen .settlement-panel{grid-template-columns:1fr 1.15fr auto;gap:3px 9px}.game-screen .settlement-panel h2{font-size:19px}.game-screen .settlement-panel .dialog-actions button{padding:3px 8px;font-size:12px}}@media (prefers-reduced-motion:reduce){.game-screen *{transition:none!important;animation:none!important}}.game-screen .table-center .timer{border-bottom:3px solid #66576b;width:95%;height:19px;min-height:19px;margin:0;font-size:12px;position:relative}.game-screen .timer>span{background:#f2cb78;height:3px;position:absolute;bottom:-3px;left:0}.game-screen .timer>b{color:#ffe8b6;font-size:12px;font-weight:500;position:absolute;top:-2px;right:0}.game-screen .table-center:has(.timer){min-height:100px}@container game (height<=700px){.game-screen .table-center:has(.timer){min-height:86px}.game-screen .table-center .timer{height:16px;min-height:16px}.game-screen .timer>b{font-size:11px}}.game-screen .opening-actions .start-button{justify-content:center;align-items:center;display:flex}.game-screen .seat-3 .seat-cards{left:18%}.game-screen .seat-1 .seat-cards{right:18%}@container game (height<=700px){.game-screen .seat-2 .seat-label{top:2%;left:6.5%}.game-screen .seat-1 .seat-label{top:2%}.game-screen .seat-3 .seat-label{top:40%}.game-screen .own-player{top:33%}.game-screen .river-2{--river-depth:9cqh;height:9cqh;top:25%}.game-screen .river-0{--river-depth:10cqh;height:10cqh;top:54%;left:47%}.game-screen .river-1,.game-screen .river-3{--river-span:20cqw;width:20cqw}.game-screen .game-drawer{gap:5px;height:100%;max-height:100%;padding:10px 14px}}.game-screen .discard-spotlight{left:22%}.game-screen .spotlight-seat-1{left:auto;right:22%}.game-screen .spotlight-seat-2{left:64%}@container game (height<=700px){.game-screen .has-settlement .seat-2 .seat-label{top:2%;left:10%}.game-screen .has-settlement .seat-3 .seat-label,.game-screen .has-settlement .own-player{top:38%}}.game-screen{background:radial-gradient(ellipse at 48% 42%,color-mix(in srgb,var(--felt-color,#572663),white 9%),var(--felt-color,#572663) 65%,color-mix(in srgb,var(--felt-color,#572663),black 25%));border:clamp(7px,1cqw,15px) solid #23334e;border-radius:24px;box-shadow:inset 0 0 0 2px #d1ab64,inset 0 5px 14px #0b122987,0 0 0 2px #0d1429}.game-screen:before{content:"";pointer-events:none;border:1px solid #e3c27d66;border-radius:12px;position:absolute;inset:7px}.game-screen .seat-1 .seat-cards,.game-screen .seat-3 .seat-cards,.opening-wall-left,.opening-wall-right{transform:none}.opening-wall-bottom{transform:translate(-50%)}.game-screen .seat-1 .hidden-hand .tile-back,.game-screen .seat-3 .hidden-hand .tile-back{border-top-width:2px;border-bottom-width:2px;box-shadow:inset 0 0 0 1px #97cbb4,0 2px 3px #0b332c66}.game-screen .discard-spotlight{z-index:6;background:radial-gradient(#15332df5,#0e1d28f5);border:2px solid #e6c779;border-radius:50%;padding:9px;animation:.23s cubic-bezier(.16,1,.3,1) discard-bubble-in;top:41%;left:17.5%;transform:translate(-50%,-50%);box-shadow:0 5px 14px #0b122980}.game-screen .discard-spotlight:after{content:"";background:#102330;border-bottom:2px solid #e6c779;border-right:2px solid #e6c779;width:12px;height:12px;position:absolute;bottom:-8px;left:calc(50% - 7px);transform:rotate(45deg)}.game-screen .spotlight-seat-1{left:auto;right:17.5%;transform:translate(50%,-50%)}.game-screen .discard-spotlight:has(>p){display:none}.game-screen .discard-spotlight .tile{box-shadow:inset 1px 0 2px #fff,0 3px #cfbe94,0 5px 6px #070d2280}@keyframes discard-bubble-in{0%{opacity:.3;scale:.78}to{opacity:1;scale:1}}.game-screen .action-dock .pass-action{color:#f4f5f8;text-shadow:0 1px 2px #142039;background:linear-gradient(#626b7d,#343d50);border:2px solid #a1a8b5;box-shadow:inset 0 1px #d5dae180,0 3px 5px #0c152c66}.game-screen .action-dock .ready-button{min-width:76px;padding:8px 16px;font-size:clamp(18px,2cqw,30px)}.game-screen .ready-selection-hint{text-align:center;color:#fff4bf;text-shadow:0 2px 3px #101b30;font-size:clamp(13px,1.4cqw,20px);position:absolute;bottom:calc(100% + 9px);left:0;right:0}.game-screen .choosing-ready .tile:not(:disabled){outline-offset:2px;outline:3px solid #ffdb72;transform:translateY(-6px)}.game-screen .choosing-ready .tile:disabled{filter:brightness(.7)}.game-screen .declared-ready .tile:not(.drawn){cursor:default}.game-screen .action-feedback{z-index:9;pointer-events:none;font-family:var(--game-serif);white-space:nowrap;color:#fff0ad;-webkit-text-stroke:1px #9b4e12;text-shadow:0 3px #6c3215,0 7px 10px #170b28a6;font-size:clamp(55px,6.8cqw,110px);font-weight:900;line-height:1.1;animation:1.6s cubic-bezier(.16,1,.3,1) both seat-stamp}.game-screen .effect-seat-0{top:68%;left:52%}.game-screen .effect-seat-1{top:38%;left:77%}.game-screen .effect-seat-2{top:21%;left:50%}.game-screen .effect-seat-3{top:38%;left:23%}.game-screen .victory-effect{isolation:isolate;font-size:clamp(72px,9cqw,145px);animation:2.4s cubic-bezier(.16,1,.3,1) both victory-stamp}.game-screen .victory-effect:before{content:"";z-index:-1;background:radial-gradient(#d28b263d,#0000 70%);border:3px solid #ffdf8bc9;border-radius:50%;width:160%;height:190%;animation:1s cubic-bezier(.16,1,.3,1) both victory-ring;position:absolute;top:-45%;left:-30%;box-shadow:0 9px 26px #170b2866}@keyframes seat-stamp{0%{opacity:0;filter:blur(3px);scale:1.45}16%,74%{opacity:1;filter:blur();scale:1}to{opacity:0;scale:1}}@keyframes victory-stamp{0%{opacity:0;scale:1.7}15%,83%{opacity:1;scale:1}to{opacity:0;scale:1}}@keyframes victory-ring{0%{opacity:0;scale:.5}to{opacity:1;scale:1}}.game-screen .river-tile{--land-x:0px;--land-y:0px;position:relative}.game-screen .river-tile.latest{animation:.42s cubic-bezier(.16,1,.3,1) both tile-lands}.game-screen .river-tile.from-seat-0{--land-y:55px}.game-screen .river-tile.from-seat-2,.game-screen .river-tile.from-seat-1{--land-y:-55px}.game-screen .river-tile.from-seat-3{--land-y:55px}.game-screen .river-tile.latest:after{content:"";pointer-events:none;border:2px solid #ffdc7f;border-radius:5px;animation:.65s ease-out forwards tile-impact;position:absolute;inset:-5px}@keyframes tile-lands{0%{transform:translate(var(--land-x),var(--land-y)) scale(1.16);opacity:.4}to{opacity:1;transform:translate(0)scale(1)}}@keyframes tile-impact{0%{opacity:1;scale:.8}to{opacity:0;scale:1.65}}.table-colors{border:1px solid #b99253;border-radius:12px;margin:12px 0;padding:12px}.table-colors legend{color:#ffe5a0;font-size:20px}.color-swatches{flex-wrap:wrap;gap:8px;display:flex}.game-screen .color-swatches button{color:#fff6dc;text-shadow:0 1px 3px #111b2c;border:2px solid #9f8253;min-width:66px;min-height:42px;padding:7px 10px;box-shadow:inset 0 0 0 2px #1b243d}.game-screen .color-swatches button[aria-pressed=true]{outline-offset:2px;outline:2px solid #ffe1a0}.custom-felt-color{align-items:center;gap:12px;margin-top:12px;font-size:16px;display:flex}.custom-felt-color input{background:#1b243d;border:1px solid #b99253;border-radius:5px;width:70px;height:38px;padding:2px}@container game (height<=700px){.game-screen{border-width:6px;border-radius:16px}.game-screen:before{border-radius:8px;inset:4px}.game-screen .discard-spotlight{padding:7px;top:41%;left:17.5%}.game-screen .spotlight-seat-1{left:auto;right:17.5%}.game-screen .spotlight-seat-2{top:9%;left:50%}.game-screen .spotlight-seat-0{top:72%;left:63%}.game-screen .action-dock .ready-button{min-width:70px;padding:7px 12px;font-size:18px}.game-screen .ready-selection-hint{font-size:12px}.game-screen .action-feedback{font-size:52px}.game-screen .victory-effect{font-size:70px}.game-screen .effect-seat-0{top:68%}.table-colors{margin:6px 0;padding:7px}.table-colors legend{font-size:17px}.custom-felt-color{margin-top:7px}.game-screen .color-swatches button{min-height:34px;padding:4px 8px}}@media (prefers-reduced-motion:reduce){.game-screen .discard-spotlight,.game-screen .river-tile,.game-screen .action-feedback,.game-screen .victory-effect,.game-screen .victory-effect:before{filter:none;animation:none}.game-screen .river-tile.latest:after{opacity:.7;animation:none;scale:1}.game-screen .choosing-ready .tile:not(:disabled){transform:none}}.game-screen .spotlight-seat-0{left:79%}.game-screen .spotlight-seat-0{top:78%;left:86%}.game-screen .wall-caption{background:#18243be8;border-radius:4px;padding:2px 5px}@container game (height<=700px){.game-screen .own-player{top:31%}.game-screen .spotlight-seat-0{top:64%;left:87%}.game-screen .seat-1 .seat-label{top:.5%}.game-screen .effect-seat-0{top:56%}}@container game (width<=720px){.game-screen .spotlight-seat-0{padding:5px;left:85.3%}.game-screen .spotlight-seat-0 .tile{--tile-w:30px;--tile-h:44px}}.game-screen .human-seat{--player-tile:min(100px,calc((100cqw - 52px)/17));bottom:2%;left:1%;right:1%}.game-screen .human-seat .own-hand .tile{--tile-w:var(--player-tile);--tile-h:calc(var(--tile-w)*1.46)}.game-screen .own-hand{gap:2px}.game-screen .own-hand .tile.drawn{margin-left:10px}.game-screen .own-melds{--tile-small-w:calc(var(--player-tile)*.74);--tile-small-h:calc(var(--tile-small-w)*1.46)}.game-screen .action-row{bottom:calc(var(--player-tile)*1.46 + 18px)}.game-screen .felt{--back-w:clamp(24px,3.1cqw,44px);--back-h:calc(var(--back-w)*1.4);--side-w:clamp(30px,3.8cqw,56px);--side-h:calc(var(--side-w)*.65)}.game-screen .seat-1 .hidden-hand .tile-back,.game-screen .seat-3 .hidden-hand .tile-back{width:var(--side-w);height:var(--side-h);margin-bottom:calc((58cqh - var(--side-h))/16 - var(--side-h));border:1px solid #d3e3cd;border-left:5px solid #fffbed;border-right:2px solid #bed2bd;padding:2px;transform:none}.game-screen .seat-1 .hidden-hand .tile-back:last-child,.game-screen .seat-3 .hidden-hand .tile-back:last-child{margin-bottom:0}.game-screen .seat-2 .seat-cards{top:4%}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{--tile-small-w:clamp(19px,2.4cqw,34px);--tile-small-h:calc(var(--tile-small-w)*.67);width:calc(var(--tile-small-w)*3 + 5px);gap:2px}.game-screen .dealer-badge{text-indent:0;letter-spacing:0;justify-content:center;align-items:center;padding:0;line-height:1;display:flex}.game-screen .dealer-badge>span{line-height:1;display:block;transform:translateY(-.03em)}.game-screen .river{--river-max:32px}.game-screen .river-tile.claimed,.game-screen .claimed-label,.game-screen .table-center .dice-tray{display:none}.game-screen .table-center .round-label{font-family:var(--game-serif);color:#ffe6a0;font-size:clamp(21px,2.3cqw,32px);line-height:1.1;display:block}.game-screen .table-center .drawable-count{white-space:nowrap;font-size:clamp(17px,1.7cqw,24px);display:block}.game-screen .drawable-count b{font-variant-numeric:tabular-nums;color:#fff3c7;font-size:1.18em}.game-screen .center-stage .table-center{gap:8px;height:14cqh;min-height:100px;max-height:145px}.game-screen .dialog-actions .exit-secondary{color:#e4b5a7;min-height:36px;box-shadow:none;text-shadow:none;background:0 0;border-color:#8d6b65;order:-1;margin-right:auto;padding:6px 10px;font-size:14px}.game-screen .dialog-actions .resume-primary{min-height:48px;padding:10px 27px;font-size:21px}.game-screen .danger-button{color:#fff1df;background:#762e32;border:2px solid #d78479;padding:10px 20px}.game-screen .dialog-actions{column-gap:24px}.game-screen .settlement-panel{grid-template-rows:auto 1fr;grid-template-columns:1.1fr 1.15fr 1.45fr auto;gap:5px 18px;height:35%;padding:10px 16px;display:grid;overflow:hidden}.game-screen .settlement-panel h2{grid-area:1/1;font-size:clamp(19px,2cqw,30px)}.game-screen .settlement-panel>p{grid-area:2/1;align-self:start}.game-screen .award-summary{scrollbar-width:thin;scrollbar-color:#c6a05b #17203b;overscroll-behavior:contain;grid-area:1/2/3;align-self:stretch;overflow:auto}.game-screen .award-table{border-collapse:collapse;text-align:left;width:100%;font-size:clamp(12px,1.3cqw,17px);line-height:1.3}.game-screen .award-table th,.game-screen .award-table td{border-bottom:1px solid #76684c;padding:3px 7px}.game-screen .award-table td{text-align:right;white-space:nowrap}.game-screen .award-table thead,.game-screen .award-table tfoot{color:#ffe1a0;background:#30374c;font-weight:700}.game-screen .settlement{grid-area:1/3/3}.game-screen .settlement-panel .dialog-actions{grid-area:1/4/3;align-items:stretch;gap:14px}.game-screen .settlement-panel .exit-secondary{order:initial;margin:0;font-size:13px}.game-screen .has-settlement .seat-1 .hidden-hand,.game-screen .has-settlement .seat-3 .hidden-hand{--tile-small-w:28px;--tile-small-h:20px;grid-template-columns:repeat(3,28px);grid-auto-rows:20px}.game-screen .has-settlement .seat-1 .hidden-hand .tile,.game-screen .has-settlement .seat-3 .hidden-hand .tile{--tile-small-w:28px;--tile-small-h:20px}.game-screen .has-settlement .seat-1 .hidden-hand .tile-face,.game-screen .has-settlement .seat-3 .hidden-hand .tile-face{flex-shrink:0;width:20px;height:28px;transform:rotate(90deg)}.game-screen .has-settlement .seat-1 .hidden-hand .tile-face{transform:rotate(-90deg)}.game-screen [hidden]{display:none!important}.game-screen .wall-run-3{top:72%;left:50%;transform:translate(-50%)}.game-screen .is-opening .action-row,.game-screen .is-opening .wait-panel,.game-screen .is-opening .discard-spotlight{display:none}.game-screen .opening-progress{z-index:7;text-align:center;color:#fff1bc;pointer-events:none;text-shadow:0 3px 5px #142139;position:absolute;top:64%;left:50%;transform:translate(-50%,-50%)}.game-screen .opening-progress strong{font:700 clamp(23px,3cqw,42px) var(--game-serif);display:block}.game-screen .opening-progress span{font-size:clamp(13px,1.5cqw,20px)}.game-screen .is-dealing .hidden-hand{filter:brightness(1.2)}.game-screen .is-opening .table-center .dice-tray{display:flex}.game-screen .is-opening .center-stage .table-center{width:24cqw;max-width:320px;height:24cqh;min-height:130px;max-height:210px}.game-screen .is-opening .die{gap:3px;width:clamp(30px,4cqw,58px);height:clamp(30px,4cqw,58px);padding:6px}.game-screen .rolling-dice .die{animation:.27s linear 3 dice-tumble}.game-screen .rolling-dice .die:nth-child(2){animation-direction:reverse}.game-screen .is-opening .hidden-hand .tile-back,.game-screen .is-opening .own-hand .tile{animation:.18s ease-out packet-arrival}@keyframes dice-tumble{0%{translate:-5px -6px;rotate:-35deg}50%{translate:5px 3px;rotate:35deg}to{translate:0;rotate:145deg}}@keyframes packet-arrival{0%{opacity:.3;translate:0 -18px}to{opacity:1;translate:0}}.game-screen .claim-flight{z-index:11;pointer-events:none;animation:.5s cubic-bezier(.16,1,.3,1) both take-from-pool;position:absolute;transform:translate(-50%,-50%)}.game-screen .claim-flight .tile{--tile-w:clamp(20px,2.6cqw,38px);--tile-h:calc(var(--tile-w)*1.46)}@keyframes take-from-pool{0%{opacity:1;translate:0}80%{opacity:1}to{translate:var(--flight-x) var(--flight-y);opacity:0}}.game-screen .tile.arriving{animation:.5s ease-out both claimed-arrives}@keyframes claimed-arrives{0%,75%{opacity:0}to{opacity:1}}@container game (height<=700px){.game-screen .felt{--back-w:clamp(20px,2.8cqw,28px);--back-h:calc(var(--back-w)*1.4);--side-w:clamp(30px,3.8cqw,38px);--side-h:calc(var(--side-w)*.65)}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{--tile-small-w:19px;--tile-small-h:13px;width:59px}.game-screen .river{--river-max:26px}.game-screen .own-player>.wait-panel{gap:3px;margin-top:8px;padding:4px}.game-screen .center-stage .table-center{gap:4px;height:18cqh;min-height:64px;max-height:80px;padding:6px}.game-screen .table-center .round-label{font-size:19px}.game-screen .table-center .drawable-count{font-size:15px}.game-screen .has-settlement .table-area{height:64%}.game-screen .has-settlement .human-seat{--player-tile:min(34px,calc((100cqw - 52px)/17))}.game-screen .has-settlement .seat-1 .hidden-hand,.game-screen .has-settlement .seat-3 .hidden-hand{grid-template-columns:repeat(2,20px);grid-auto-rows:14px;gap:1px}.game-screen .has-settlement .seat-1 .hidden-hand .tile,.game-screen .has-settlement .seat-3 .hidden-hand .tile{--tile-small-w:20px;--tile-small-h:14px}.game-screen .has-settlement .seat-1 .hidden-hand .tile-face,.game-screen .has-settlement .seat-3 .hidden-hand .tile-face{width:14px;height:20px}.game-screen .has-settlement .seat-label{--avatar-w:42px}.game-screen .has-settlement .seat-3 .seat-label,.game-screen .has-settlement .own-player{top:31%}.game-screen .has-settlement .seat-1 .seat-melds,.game-screen .has-settlement .seat-3 .seat-melds{--tile-small-w:13px;--tile-small-h:9px;width:28px}.game-screen .settlement-panel{grid-template-columns:1fr 1.15fr 1.3fr auto;gap:4px 9px;height:35%;padding:7px 9px}.game-screen .award-table{font-size:12px}.game-screen .award-table th,.game-screen .award-table td{padding:2px 4px}.game-screen .settlement-panel .dialog-actions{gap:16px}.game-screen .settlement-panel .exit-secondary{min-height:28px;padding:4px 6px;font-size:11px}.game-screen .is-opening .center-stage .table-center{width:25cqw;height:31cqh;min-height:118px;max-height:130px}.game-screen .is-opening .die{gap:2px;width:32px;height:32px;padding:5px}.game-screen .opening-progress{top:68%}.game-screen .opening-progress strong{font-size:24px}}@media (prefers-reduced-motion:reduce){.game-screen .rolling-dice .die,.game-screen .is-opening .hidden-hand .tile-back,.game-screen .is-opening .own-hand .tile{animation:none}.game-screen .claim-flight{display:none}.game-screen .tile.arriving{opacity:1;animation:none}}.game-screen .river-3{left:35%}.game-screen .river-1{right:35%}.game-screen .river-0{left:50%}@container game (width<=720px){.game-screen .wall-run-1{right:25%}.game-screen .wall-run-2{left:25%}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{--tile-small-w:16px;--tile-small-h:11px;width:50px}}@container game (height<=700px){.game-screen .human-meta{left:11%}.game-screen .own-player>.wait-panel{gap:2px;margin-top:4px;padding:3px}.game-screen .wait-tiles{gap:3px}.game-screen .river-0{top:52%}}@container game (width<=720px){.game-screen .action-row{left:19%;right:20%}}.game-screen .opening-progress{z-index:auto;text-align:center;position:static;top:auto;left:auto;transform:none}.game-screen .opening-progress strong{font-size:clamp(22px,2.3cqw,34px);line-height:1.15}@container game (height<=700px){.game-screen .opening-progress{position:static;top:auto;left:auto;transform:none}.game-screen .opening-progress strong{font-size:20px}.game-screen .opening-progress span{font-size:13px}}.game-screen .award-table thead{position:sticky;top:0}.game-screen .award-table tfoot{position:sticky;bottom:0}.game-screen .wall-run-1,.game-screen .wall-run-2{gap:0;top:44%}.game-screen .wall-run-1 .wall-stack,.game-screen .wall-run-2 .wall-stack{width:var(--side-w);height:var(--side-h);max-width:none;max-height:none;margin-bottom:calc((28cqh - var(--side-h))/max(1,var(--stack-count) - 1) - var(--side-h));background:linear-gradient(100deg,#13967b,#0c6d5d);border:1px solid #cae0cb;border-left:4px solid #fff8e6;border-right:2px solid #bed2bd;border-radius:3px;box-shadow:inset 0 0 0 1px #7ec6a6,0 2px 3px #10243766}.game-screen .wall-run-1 .wall-stack:last-child,.game-screen .wall-run-2 .wall-stack:last-child{margin-bottom:0}.game-screen .wall-run-1 .wall-stack:after,.game-screen .wall-run-2 .wall-stack:after{border:1px solid #82bf9e;border-radius:1px;inset:2px}.opening-wall-top{--back-w:clamp(20px,2.8cqw,54px);--back-h:calc(var(--back-w)*1.46)}.opening-wall-bottom{--back-w:clamp(24px,3.3cqw,64px);--back-h:calc(var(--back-w)*1.46);bottom:10%}.opening-wall-left,.opening-wall-right{--back-w:clamp(30px,3.8cqw,70px);--back-h:calc(var(--back-w)*.65);gap:0}.opening-wall-left .tile-back,.opening-wall-right .tile-back{width:var(--back-w);height:var(--back-h);margin-bottom:calc((65cqh - var(--back-h))/13 - var(--back-h));border:1px solid #d5e4cd;border-left:5px solid #fffbed;border-right:2px solid #b9d0bd;padding:2px;transform:none}.opening-wall-left .tile-back:last-child,.opening-wall-right .tile-back:last-child{margin-bottom:0}.opening-flowers{left:2.5%}.game-screen .discard-spotlight{--bubble-size:clamp(86px,8.2cqw,128px);width:var(--bubble-size);height:var(--bubble-size);aspect-ratio:1;border-radius:50%;place-items:center;min-width:0;max-width:none;min-height:0;max-height:none;padding:0;display:grid;overflow:visible}.game-screen .discard-spotlight:after{display:none}.game-screen .discard-spotlight>.tile{--tile-w:clamp(36px,3.8cqw,58px);--tile-h:calc(var(--tile-w)*1.46);outline:none;margin:0;padding:2px;transform:none}.game-screen .discard-spotlight>span:not(.tile),.game-screen .discard-spotlight>strong,.game-screen .discard-spotlight>small{display:none}.game-screen .spotlight-seat-0{top:63%;left:50%;right:auto;transform:translate(-50%,-50%)}.game-screen .spotlight-seat-2{top:11%;left:64%;right:auto;transform:translate(-50%,-50%)}.game-screen .river{--river-max:46px;--river-span:23cqw;--river-depth:14cqh;width:23cqw;height:14cqh}.game-screen .river-2{--river-depth:12cqh;height:12cqh;top:23%}.game-screen .river-0{--river-depth:18cqh;height:18cqh;top:57%}.game-screen .has-choices .river-0{--river-depth:16cqh;height:16cqh}.game-screen .has-settlement .table-area{height:100%}.game-screen .has-settlement .human-seat{--player-tile:min(100px,calc((100cqw - 52px)/17))}.game-screen .has-settlement .rivers{display:contents}.game-screen .has-settlement .river{opacity:.25}.game-screen .has-settlement .seat-label{--avatar-w:clamp(75px,8.6cqw,132px)}.game-screen .has-settlement .seat-3 .seat-label{top:42%}.game-screen .has-settlement .own-player{top:37%}.game-screen .hand-result{width:42cqw;max-width:560px;height:54cqh;max-height:520px;box-shadow:none;z-index:8;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:stretch;gap:8px;padding:12px;display:flex;position:absolute;inset:21% auto auto 50%;overflow:visible;transform:translate(-50%)}.game-screen .hand-result h2{text-align:center;font:700 clamp(24px,2.9cqw,42px) var(--game-serif);color:#ffedab;text-shadow:0 3px 4px #18233c;flex-shrink:0;margin:0}.game-screen .hand-result .award-summary{flex:auto;align-self:stretch;width:100%;min-height:0;overflow:auto}.game-screen .hand-result .award-table{width:100%;font-size:clamp(15px,1.7cqw,24px);line-height:1.25;display:block}.game-screen .hand-result .award-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.game-screen .hand-result .award-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.game-screen .hand-result .award-table tbody tr{color:#fff7d4;background:linear-gradient(100deg,#447e5b,#235347);border-radius:7px;justify-content:space-between;align-items:center;gap:5px;min-width:0;padding:6px 9px;display:flex;box-shadow:0 3px 5px #15213655}.game-screen .hand-result .award-table tbody tr.major-award{background:linear-gradient(100deg,#9c3d40,#642a38)}.game-screen .hand-result .award-table th,.game-screen .hand-result .award-table td{border:0;padding:0}.game-screen .hand-result .award-table tbody th{text-align:left;font-weight:600}.game-screen .hand-result .award-table tbody td{flex-shrink:0;font-weight:700}.game-screen .hand-result .award-table tfoot{color:#ffe98a;background:#61396c;border-radius:6px;width:100%;margin-top:7px;font-size:1.2em;display:table;position:sticky;bottom:0}.game-screen .hand-result .award-table tfoot th,.game-screen .hand-result .award-table tfoot td{padding:5px 9px}.game-screen .hand-result-gain{text-align:center;color:#ffe38f;font:700 clamp(22px,2.8cqw,40px) var(--game-serif);text-shadow:0 3px 5px #18233c;flex-shrink:0}.game-screen .hand-result .dialog-actions{flex-direction:row;flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;margin:0;display:flex}.game-screen .hand-result .dialog-actions button{min-height:42px;padding:7px 19px;font-size:clamp(16px,1.6cqw,23px)}.game-screen .hand-result .reveal-hands{color:#f9e5b2;background:#18233ca6;border-color:#bb9e6b}.game-screen .show-hand-result{z-index:8;padding:9px 20px;font-size:20px;position:absolute;top:55%;left:50%;transform:translate(-50%,-50%)}.game-screen .hand-delta{color:#ffe28b;white-space:nowrap;text-shadow:0 2px 3px #0e1830,0 4px 8px #0e1830;z-index:4;pointer-events:none;width:130%;font-size:clamp(21px,2.5cqw,38px);font-weight:800;line-height:1.2;position:absolute;top:32%;left:-15%}.game-screen .hand-delta.negative{color:#fff2dc}.coin-transfers{z-index:10;pointer-events:none;position:absolute;inset:0;container:coins/size}.score-coin{opacity:0;width:clamp(14px,1.8cqw,27px);height:clamp(14px,1.8cqw,27px);animation:score-coin-transfer 1.3s cubic-bezier(.2,.65,.2,1) var(--coin-delay) both;background:linear-gradient(135deg,#ffe68a,#c38418);border:2px solid #ffef9e;border-radius:50%;position:absolute;box-shadow:0 3px 5px #15213c80}.score-coin svg{stroke:#9c6818;fill:none;stroke-width:1.5px;width:100%;height:100%}@keyframes score-coin-transfer{0%{opacity:0;translate:0;scale:.7}12%{opacity:1;scale:1}48%{translate:calc(var(--coin-x)*.5) calc(var(--coin-y)*.5 + var(--coin-arc));opacity:1}90%{opacity:1}to{translate:var(--coin-x) var(--coin-y);opacity:0;scale:.75}}.game-screen .match-result{flex-direction:column;align-items:stretch;gap:16px;width:min(540px,80cqw);max-height:94cqh;padding:22px 30px;display:flex}.game-screen .match-result .dialog-heading{justify-content:center;margin:0}.game-screen .match-result h2{font:700 clamp(23px,2.7cqw,38px) var(--game-serif);margin:0}.match-totals{border-collapse:collapse;width:100%;font-size:clamp(17px,2cqw,28px)}.match-totals th,.match-totals td{text-align:left;border-bottom:1px solid #8d7951;padding:8px}.match-totals td{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.match-totals tbody th{align-items:center;gap:12px;display:flex}.match-totals thead{color:#e4c278;font-size:.7em}.match-totals .positive{color:#ffe192}.match-totals .negative{color:#f1c0b0}.result-avatar{background-image:url(/art/portraits.webp);background-repeat:no-repeat;background-size:200% 200%;border:1px solid #d1ad64;border-radius:6px;width:36px;height:38px;display:block}.result-avatar.avatar-seat-0{background-position:100% 100%}.result-avatar.avatar-seat-1{background-position:100% 0}.result-avatar.avatar-seat-2{background-position:0 0}.result-avatar.avatar-seat-3{background-position:0 100%}@container game (height<=700px){.game-screen .discard-spotlight{--bubble-size:72px}.game-screen .discard-spotlight>.tile{--tile-w:36px;--tile-h:52.56px}.game-screen .spotlight-seat-0{top:63%;left:50%}.game-screen .spotlight-seat-2{top:11%;left:64%}.game-screen .river{--river-max:34px;--river-span:20cqw;--river-depth:14cqh;width:20cqw;height:14cqh}.game-screen .river-2{--river-depth:14cqh;height:14cqh;top:23%}.game-screen .river-1,.game-screen .river-3{--river-depth:18cqh;height:18cqh}.game-screen .river-0{--river-depth:14cqh;height:14cqh;top:58%}.game-screen .has-choices .river-0{--river-depth:8cqh;height:8cqh;top:55%}.game-screen .center-stage{top:46%}.game-screen .seat-2 .seat-cards{top:2%}.game-screen .has-settlement .seat-label{--avatar-w:clamp(58px,7.8cqw,78px)}.game-screen .has-settlement .seat-1 .seat-label{top:.5%}.game-screen .has-settlement .seat-2 .seat-label{top:2%;left:10%}.game-screen .has-settlement .seat-3 .seat-label{top:40%}.game-screen .has-settlement .own-player{top:31%}.game-screen .hand-result{gap:5px;width:44cqw;height:54cqh;max-height:none;padding:5px;top:21%}.game-screen .hand-result h2{font-size:23px}.game-screen .hand-result .award-table{font-size:14px}.game-screen .hand-result .award-table tbody{gap:4px}.game-screen .hand-result .award-table tbody tr{gap:3px;padding:5px 7px}.game-screen .hand-result .award-table tfoot{margin-top:5px;font-size:18px}.game-screen .hand-result .award-table tfoot th,.game-screen .hand-result .award-table tfoot td{padding:3px 7px}.game-screen .hand-result-gain{font-size:24px}.game-screen .hand-result .dialog-actions{gap:12px}.game-screen .hand-result .dialog-actions button{min-height:33px;padding:5px 10px;font-size:15px}.game-screen .hand-delta{font-size:22px}.game-screen .match-result{gap:8px;width:min(480px,80cqw);padding:12px 20px}.match-totals{font-size:19px}.match-totals th,.match-totals td{padding:4px 7px}.result-avatar{width:28px;height:29px}}@container game (width<=720px){.game-screen .discard-spotlight{--bubble-size:66px}.game-screen .discard-spotlight>.tile{--tile-w:32px;--tile-h:46.72px}.game-screen .hand-result{width:46cqw}.game-screen .hand-result .award-table{font-size:12px}.game-screen .hand-result .award-table tbody tr{padding:4px 5px}.game-screen .hand-result h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.coin-transfers{display:none}.score-coin,.game-screen .hand-delta{animation:none}}@container game (width<=720px){.game-screen .hand-result{width:42cqw}}.game-screen .wall-run-1{right:14%}.game-screen .wall-run-2{left:14%}.game-screen .spotlight-seat-0{top:65%}@container game (height<=700px){.game-screen .spotlight-seat-0{top:65%}}@container game (width<=720px){.game-screen .wall-run-1{right:13%}.game-screen .wall-run-2{left:13%}}.game-screen .has-settlement .victory-effect{display:none}.game-screen .hand-result h2{animation:.45s cubic-bezier(.16,1,.3,1) both result-title-in}@keyframes result-title-in{0%{opacity:.4;scale:1.15}to{opacity:1;scale:1}}.game-screen .seat-1 .hand-delta,.game-screen .own-player .hand-delta{text-align:right;width:max-content;max-width:18cqw;font-size:clamp(16px,2.2cqw,32px);left:auto;right:0}.game-screen .seat-2 .hand-delta,.game-screen .seat-3 .hand-delta{text-align:left;width:max-content;max-width:18cqw;font-size:clamp(16px,2.2cqw,32px);left:0;right:auto}.game-screen .has-settlement .seat-1 .seat-cards,.game-screen .has-settlement .seat-3 .seat-cards{flex-direction:column;align-items:center;gap:8px}@container game (height<=700px){.game-screen .seat-2 .seat-cards{top:0}.game-screen .wall-run-0{top:16%}.game-screen .has-choices .river-1,.game-screen .has-choices .river-3{--river-span:14cqw;width:14cqw;top:39%}.game-screen .has-choices .river-0{--river-depth:7cqh;height:7cqh;top:55%}.game-screen .hand-result h2{font-size:28px}}@container game (width<=720px){.game-screen .has-settlement .seat-label{--avatar-w:48px}.game-screen .has-settlement .own-player{width:48px}.game-screen .has-settlement .seat-2 .seat-label{left:9%}.game-screen .hand-result h2{font-size:24px}}@media (prefers-reduced-motion:reduce){.game-screen .hand-result h2{animation:none}}.game-screen .spotlight-seat-1,.game-screen .spotlight-seat-3{top:46%}@container game (height>=701px){.game-screen .discard-spotlight>.tile{--tile-w:clamp(38px,4cqw,60px)}}@container game (height<=700px){.game-screen .has-choices .river-0{top:54.5%}.game-screen .has-choices .action-row{bottom:calc(var(--player-tile)*1.46 + 14px)}}.game-screen .river{--cell:var(--pool-tile-w);--tile-small-w:var(--pool-tile-w);--tile-small-h:calc(var(--pool-tile-w)*1.46);transform:none}.game-screen .river .river-tiles{grid-template-columns:repeat(var(--river-cols),var(--pool-tile-w));grid-auto-rows:calc(var(--pool-tile-w)*1.46);place-content:start center;gap:2px;padding:2px}.game-screen .river .tile{--tile-small-w:var(--pool-tile-w);--tile-small-h:calc(var(--pool-tile-w)*1.46)}.game-screen .center-stage{top:43%;left:50%}.game-screen .center-stage .table-center{width:var(--info-width);min-width:0;max-width:none;height:var(--info-height);gap:4px;min-height:0;max-height:none}.game-screen .round-heading{justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.game-screen .round-heading .round-label{flex-shrink:0;display:block}.game-screen .round-heading .turn-compass{color:#ffe28a;width:26px;height:26px;transform:rotate(var(--turn-angle));background:0 0;border:0;flex:0 0 26px;margin:0;padding:0;transition:transform .24s cubic-bezier(.16,1,.3,1);display:block;position:static;inset:auto;overflow:visible}.game-screen .turn-compass svg{filter:drop-shadow(0 2px 2px #080f27);width:100%;height:100%;animation:1.2s ease-in-out infinite turn-arrow-point;display:block}@keyframes turn-arrow-point{0%,to{opacity:1;translate:0}50%{opacity:.7;translate:0 -3px}}.game-screen .is-active .player-avatar{border-color:#fff2a2;transition:box-shadow .16s ease-out,border-color .16s ease-out;animation:none;box-shadow:0 0 0 3px #eebc46,0 0 0 6px #fff0aa80,0 5px 20px #ffd05ba6}.game-screen .player-avatar{transition:box-shadow .16s ease-out,border-color .16s ease-out;animation:none}.game-screen .seat-public{flex-direction:column;align-items:flex-start;gap:4px;width:max-content;display:flex}.game-screen .seat-melds:empty,.game-screen .seat-flowers:empty{display:none}.game-screen .seat-flowers{--tile-small-w:clamp(14px,1.65cqw,24px);--tile-small-h:calc(var(--tile-small-w)*1.46);flex-wrap:wrap;gap:3px;display:flex}.game-screen .seat-1 .seat-public,.game-screen .seat-3 .seat-public{width:calc(3*clamp(19px,2.4cqw,34px) + 5px)}.game-screen .seat-1 .seat-flowers,.game-screen .seat-3 .seat-flowers{--tile-small-w:clamp(19px,2.4cqw,34px);--tile-small-h:calc(var(--tile-small-w)*.67);flex-flow:column}.game-screen .seat-1 .seat-flowers{align-self:flex-end}.game-screen .seat-1 .seat-flowers .tile-face,.game-screen .seat-3 .seat-flowers .tile-face{width:var(--tile-small-h);height:var(--tile-small-w);flex-shrink:0;transform:rotate(90deg)}.game-screen .seat-1 .seat-flowers .tile-face{transform:rotate(-90deg)}.game-screen .seat-2 .seat-public{align-items:center}.game-screen .seat-2 .seat-flowers{max-width:11cqw;position:absolute;top:0;left:calc(50% + 27cqw)}.game-screen .spotlight-seat-2{top:11%;left:50%;right:auto}.game-screen .has-top-discard .seat-2 .seat-melds{--tile-small-w:clamp(10px,1.5cqw,22px);--tile-small-h:calc(var(--tile-small-w)*1.46);transform:translate(calc(-50% - max(4.1cqw,36px) - 8px))}.game-screen .hand-result{background:var(--result-bg);color:var(--result-ink);border:2px solid #c7a15b;border-radius:16px;padding:12px;box-shadow:0 7px 20px #111a3566}.game-screen .hand-result h2,.game-screen .hand-result-gain{color:var(--result-accent);text-shadow:none}.game-screen .hand-result .award-table tfoot{color:#fff0b5;background:#30445b}.game-screen .hand-result .dialog-actions{justify-content:center}.game-screen .hand-result .result-continue{min-width:50%}@container game (height<=700px){.game-screen .center-stage .table-center{gap:3px;padding:5px}.game-screen .round-heading .round-label{font-size:19px}.game-screen .round-heading .turn-compass{flex-basis:22px;width:22px;height:22px}.game-screen .seat-1 .seat-public,.game-screen .seat-3 .seat-public{width:59px}.game-screen .seat-1 .seat-flowers,.game-screen .seat-3 .seat-flowers{--tile-small-w:19px;--tile-small-h:13px}.game-screen .seat-2 .seat-flowers{--tile-small-w:12px;--tile-small-h:17px}.game-screen .has-settlement .seat-1 .seat-public,.game-screen .has-settlement .seat-3 .seat-public{width:40px}.game-screen .has-settlement .seat-1 .seat-flowers,.game-screen .has-settlement .seat-3 .seat-flowers{--tile-small-w:13px;--tile-small-h:9px}.game-screen .spotlight-seat-2{top:11%;left:50%}.game-screen .hand-result{padding:8px}}@container game (width<=720px){.game-screen .seat-1 .seat-public,.game-screen .seat-3 .seat-public{width:50px}.game-screen .seat-1 .seat-flowers,.game-screen .seat-3 .seat-flowers{--tile-small-w:16px;--tile-small-h:11px}.game-screen .has-settlement .seat-1 .seat-public,.game-screen .has-settlement .seat-3 .seat-public{width:40px}.game-screen .round-heading .round-label{font-size:19px}}@media (prefers-reduced-motion:reduce){.game-screen .turn-compass svg{animation:none}.game-screen .round-heading .turn-compass,.game-screen .player-avatar{transition:none}.game-screen .river-tile.latest:after{display:none}}.game-screen .seat-flowers .tile{flex:none}.game-screen .ai-seat .seat-melds .tile,.game-screen .ai-seat .seat-flowers .tile{--tile-small-w:inherit;--tile-small-h:inherit}.game-screen .river-tile.from-seat-1{--land-x:55px;--land-y:0px}.game-screen .river-tile.from-seat-3{--land-x:-55px;--land-y:0px}.game-screen .round-heading .turn-compass{transition:none}.game-screen .is-paused .turn-compass svg{animation-play-state:paused}.game-screen .turn-compass svg{transition:none;transform:rotate(0)}.game-screen .center-stage{top:var(--info-y)}.game-screen .center-stage .table-center,.game-screen .is-opening .center-stage .table-center{width:var(--info-width);height:var(--info-height);min-width:0;max-width:none;min-height:0;max-height:none}.game-screen .is-opening .round-heading{display:flex}.game-screen .opening-progress{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.game-screen .center-stage .dice-tray{display:none}.game-screen .is-opening:has(.opening-dice) .center-stage .dice-tray{width:max-content;display:flex;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.game-screen .drawable-count{font-size:clamp(24px,3cqw,38px);line-height:1}.game-screen .wall-run-0{top:var(--wall-top)}.game-screen .own-player>.timer{background:#141d34;border-radius:4px;width:100%;height:18px;position:absolute;bottom:calc(100% + 8px);left:0}.game-screen .seat-1 .seat-cards,.game-screen .seat-3 .seat-cards,.game-screen .has-settlement .seat-1 .seat-cards,.game-screen .has-settlement .seat-3 .seat-cards{width:var(--side-w);flex-direction:column;align-items:center;gap:6px;top:14%}.game-screen .seat-3 .seat-public{order:-1}.game-screen .seat-1 .seat-public{order:1}.game-screen .seat-1 .seat-public,.game-screen .seat-3 .seat-public,.game-screen .has-settlement .seat-1 .seat-public,.game-screen .has-settlement .seat-3 .seat-public{width:var(--side-w);align-items:center}.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{width:var(--side-open-w);--tile-small-w:var(--side-open-w);--tile-small-h:var(--side-open-h);flex-flow:column;gap:5px}.game-screen .seat-1 .seat-melds .meld,.game-screen .seat-3 .seat-melds .meld{flex-direction:column;gap:1px}.game-screen .seat-1 .seat-melds .tile-face,.game-screen .seat-3 .seat-melds .tile-face{width:var(--side-open-h);height:var(--side-open-w);flex-shrink:0;transform:rotate(90deg)}.game-screen .seat-1 .seat-melds .tile-face{transform:rotate(-90deg)}.game-screen .seat-1 .seat-flowers,.game-screen .seat-3 .seat-flowers{top:var(--flowers-top);--tile-small-w:var(--side-w);--tile-small-h:calc(var(--side-w)*.67);position:absolute;left:calc(100% + 6px);right:auto}.game-screen .seat-1 .seat-flowers{left:auto;right:calc(100% + 6px)}.game-screen .seat-2 .seat-cards{flex-direction:row;align-items:flex-end;gap:8px}.game-screen .seat-2 .seat-public{flex-direction:row}.game-screen .seat-2 .seat-melds,.game-screen .has-top-discard .seat-2 .seat-melds{--tile-small-w:var(--back-w);--tile-small-h:var(--back-h);flex-wrap:nowrap;max-width:none;transform:none}.game-screen .seat-2 .seat-flowers{top:calc(var(--back-h) + 4px)}.game-screen .has-settlement .own-player>.wait-panel{display:flex}.game-screen .wait-panel[hidden]{display:none!important}.game-screen .hint-recommendation{background:#0c1428;border:1px solid #b79b5b;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:12px;display:flex}.game-screen .hint-recommendation>strong{color:#ffe19a;width:100%;font-size:22px}.game-screen .hint-choice{gap:3px;display:flex}.game-screen .hint-recommendation .tile{--tile-w:42px;--tile-h:61px}.game-screen .hint-after-call{border-left:1px solid #98865d;align-items:center;gap:12px;margin-left:14px;padding-left:20px;display:flex}.game-screen .river-tile.from-seat-1,.game-screen .river-tile.from-seat-3,.game-screen .river-tile.from-seat-2{--land-x:0px;--land-y:55px}.score-coin{animation:score-coin-direct .85s linear var(--coin-delay) both;margin:-10px}@keyframes score-coin-direct{0%{opacity:0;translate:0}5%{opacity:1}95%{opacity:1}to{translate:var(--coin-x) var(--coin-y);opacity:0}}@container game (height<=700px){.game-screen .drawable-count{font-size:22px}.game-screen .has-choices .action-dock button{flex-direction:row;gap:3px;min-height:36px;padding:4px 7px;font-size:20px}.game-screen .has-choices .action-dock button small{font-size:9px}.game-screen .hint-recommendation{gap:6px;margin:8px 0;padding:8px}.game-screen .hint-recommendation>strong{font-size:19px}.game-screen .hint-recommendation .tile{--tile-w:32px;--tile-h:47px}}.game-screen .seat-1 .seat-melds .tile,.game-screen .seat-3 .seat-melds .tile{flex:0 0 var(--side-open-h)}.game-screen .seat-2 .seat-flowers{max-width:24cqw;top:calc(100% + 4px);left:0}.game-screen .seat-public[hidden]{display:none}.game-screen .seat-2 .seat-flowers{left:min(40px,3cqw)}@container game (height<=700px){.game-screen .seat-1 .seat-melds,.game-screen .seat-3 .seat-melds{gap:3px}.game-screen .seat-1 .seat-melds .meld,.game-screen .seat-3 .seat-melds .meld{gap:0}}.game-screen .is-opening .table-center .round-label{display:block}@container game (width>=721px) and (height<=700px){.game-screen .has-settlement .seat-3 .seat-cards{left:21%}.game-screen .has-settlement .seat-1 .seat-cards{right:21%}}body{background:#0c1220}.game-viewport,.game-viewport.is-rotated{transform-origin:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.game-viewport.is-rotated{transform:translate(-50%,-50%)rotate(90deg)}.game-screen{background:#131d32;border-width:0;border-radius:14px;box-shadow:0 12px 34px #0008}.game-screen:before{z-index:1;pointer-events:none;border-color:#c5ab6b66;border-radius:10px;inset:4px}.table-scenery{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.game-screen .seat-3 .seat-cards{transform-origin:top;transform:rotate(7deg)}.game-screen .seat-1 .seat-cards{transform-origin:top;transform:rotate(-7deg)}.game-screen .has-settlement .seat-1 .seat-cards,.game-screen .has-settlement .seat-3 .seat-cards{transform:none}.opening-wall-left{transform-origin:top;transform:rotate(7deg)}.opening-wall-right{transform-origin:top;transform:rotate(-7deg)}.game-screen .tile-back{border-top-color:#ffffed;box-shadow:inset -2px 0 2px #004538,0 3px #065f54,0 6px 5px #0b112654}.game-screen .hidden-hand .tile-back{background:linear-gradient(90deg,#70bfae,#148674 18%,#096050);border-bottom-color:#063e39}.game-screen .river .tile{box-shadow:inset 1px 0 1px #fffef3,0 2px #d5cbb0,0 5px #146a61,0 7px 4px #10152750}.game-screen .own-hand>.tile{box-shadow:inset 2px 0 2px #fffdf2,inset -2px -3px 2px #cbbb9470,0 4px #d6caac,0 8px #126e61,0 10px 6px #10152750}.game-screen .wall-run-1{transform-origin:top;right:24%;transform:rotate(-7deg)}.game-screen .wall-run-2{transform-origin:top;left:24%;transform:rotate(7deg)}.game-screen .human-meta{left:3%}.game-screen .has-settlement .human-meta{left:12%}.game-screen .wall-run-1,.game-screen .wall-run-2{top:38%}.game-screen .seat-1 .seat-flowers,.game-screen .seat-3 .seat-flowers{gap:8px}.game-screen .human-meta{bottom:calc(var(--player-tile)*1.46 + 15px)}.game-screen .opening-actions{gap:2cqh;top:54%}.opening-wall-bottom{--back-w:clamp(18px,3.3cqw,64px);bottom:7%}.opening-note{bottom:.8%}.game-screen .title-emblem{height:38%;top:14%}.game-screen .tile,.game-screen .tile:disabled,.game-screen .tile.small,.game-screen .own-hand>.tile,.game-screen .river .tile,.game-screen .discard-spotlight .tile{box-shadow:none;isolation:isolate;filter:drop-shadow(1px 3px 2px #091c2445);background:0 0;border:0;padding:0}.game-screen .tile-back,.opening-wall-left .tile-back,.opening-wall-right .tile-back,.game-screen .hidden-hand .tile-back{box-shadow:none;filter:drop-shadow(1px 2px 1px #0b1d2840);background:0 0;border:0;padding:0;position:relative}.tile-solid{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.solid-front{fill:#fff8e5;stroke:#b9ac88;stroke-width:.65px;stroke-linejoin:round}.solid-top{fill:#fffef2;stroke:#e2d8bb;stroke-width:.6px;stroke-linejoin:round}.solid-side{fill:#c9bd9d;stroke:#8d896c;stroke-width:.65px;stroke-linejoin:round}.solid-base{fill:#14856e;stroke:#0b5e51;stroke-width:.5px}.solid-side-base{fill:#084e45}.solid-bevel{fill:none;stroke:#fffdf0;stroke-width:1.3px;stroke-linecap:round;opacity:.9}.is-back .solid-front{fill:#127c6a;stroke:#075b4e}.is-back .solid-top{fill:#fffced;stroke:#d9d4bc}.is-back .solid-side{fill:#d8d6be;stroke:#819b8c}.is-back .solid-base{fill:#0b5b50;stroke:#08483e}.is-back .solid-side-base{fill:#0b6758}.solid-back-inlay{fill:#148d76;stroke:#7cc4a5;stroke-width:1.1px}.game-screen .tile-ink{pointer-events:none;justify-content:center;align-items:center;width:78%;height:73%;display:flex;position:absolute;top:13%;left:4%}.game-screen .tile-ink>.tile-face{flex-shrink:0}.game-screen .wall-stack,.game-screen .wall-run-1 .wall-stack,.game-screen .wall-run-2 .wall-stack{box-shadow:none;filter:drop-shadow(1px 2px 1px #0c1b2540);background:0 0;border:0}.game-screen .wall-stack:after{border-color:#e6e8ce;border-top-width:1px;top:52%;left:1%;right:15%}.game-screen .wall-stack.layers-1:after{display:none}.game-screen .seat-1 .tile-ink>.tile-face,.game-screen .seat-3 .tile-ink>.tile-face{scale:.72}.game-screen .tile[data-pose=flat]>.tile-ink{width:79%;height:71%;top:5%;left:10%}.game-screen .tile[data-pose=flat][data-seat="2"]>.tile-ink{top:24%;left:11%}.game-screen .tile[data-pose=flat][data-seat="1"]>.tile-ink{width:71%;height:79%;top:10%;left:24%}.game-screen .tile[data-pose=flat][data-seat="3"]>.tile-ink{width:71%;height:79%;top:11%;left:5%}.game-screen .tile[data-pose=standing][data-seat="2"]>.tile-ink,.game-screen .tile[data-pose=standing][data-seat="1"]>.tile-ink{left:18%}.game-screen .river .river-tiles{grid-auto-rows:calc(var(--pool-tile-w)*1.12)}.game-screen .river .tile{--tile-small-h:calc(var(--pool-tile-w)*1.12)}.game-screen .river .tile-ink>.tile-face{scale:.8}.game-screen .flat-edge{fill:#d5ceb8}.game-screen .river .tile{filter:drop-shadow(0 2px 1px #081b283d)}.game-screen:has(.projected-game){background:var(--felt-color);container-type:size}.game-screen:has(.projected-game)>.table-scenery{display:none}.game-screen .projected-game .table-area{box-shadow:none;background:0 0;border:0;position:absolute;inset:0;overflow:visible}.game-screen .projected-game .felt{width:min(100cqw,178.771cqh);height:min(100cqh,55.9375cqw);box-shadow:none;background:0 0;border:0;border-radius:0;position:absolute;inset:50% auto auto 50%;overflow:visible;transform:translate(-50%,-50%);container-type:normal}.projected-game .felt:before{content:"";pointer-events:none;z-index:0;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;position:absolute;inset:0}.game-screen .projected-game :is(.ai-seat,.seat-cards,.hidden-hand,.seat-public,.seat-melds,.seat-flowers,.human-seat,.human-meta,.hand-row,.own-hand,.own-melds,.own-flowers,.meld,.rivers,.river,.river-tiles,.wall-visual,.wall-run){filter:none;perspective:none;display:contents;position:static;overflow:visible;transform:none;container-type:normal}.game-screen .projected-game [hidden]{display:none!important}.game-screen .projected-game :is(.hand-count,.river-label,.wall-caption,.meld>small){display:none}.game-screen .projected-game .projected-tile{min-width:0;max-width:none;min-height:0;max-height:none;box-shadow:none;isolation:auto;appearance:none;background:0 0;border:0;border-radius:0;flex:none;margin:0;padding:0;transition:filter .15s;display:block;overflow:visible;transform:none;position:absolute!important}.projected-tile .baked-frame{transform:scale(var(--board-scale));transform-origin:0 0;pointer-events:none;display:block;position:absolute;top:0;left:0}.baked-frame>img{-webkit-user-select:none;user-select:none;width:100%;max-width:none;height:100%;position:absolute;inset:0}.baked-ink{transform-origin:0 0;--tile-w:100px;--tile-h:140px;--tile-small-w:100px;--tile-small-h:140px;color:#183a32;width:100px;height:140px;display:block;position:absolute;top:0;left:0}.game-screen .projected-game .baked-ink .tile-face{flex-direction:column;justify-content:center;align-items:center;gap:0;width:100%;height:100%;padding:0;font-size:66px;line-height:1.05;display:flex;position:absolute;inset:0;transform:none}.game-screen .projected-game .baked-ink .tile-face b{font-size:51px;font-weight:500;line-height:1.05}.game-screen .projected-game .baked-ink .tile-face strong{font-size:57px;line-height:1.12}.game-screen .projected-game .baked-ink .tile-face svg{width:96px;max-width:none;height:132px;max-height:none}.game-screen .projected-game .baked-ink .tile-face .white-dragon{border:2px solid #3e6276;border-radius:3px;width:62px;height:103px;font-size:0}.game-screen .projected-game .projected-tile:disabled{opacity:1;filter:none}.game-screen .projected-game button.projected-tile:is(:hover,:focus-visible),.game-screen .projected-game .projected-tile.selected{filter:drop-shadow(0 0 3px #ffe8a8);outline:0;transform:none}.game-screen .projected-game .projected-tile:before,.game-screen .projected-game .projected-tile:after{display:none}.game-screen .projected-game .river-tile{animation:none;display:contents;transform:none}.game-screen .projected-game .river-tile.latest>.tile{filter:drop-shadow(0 0 2px #ffe8a8)}.game-screen .projected-game .seat-label{z-index:1200;width:7.2%;font-size:clamp(10px,1.2cqw,20px);inset:auto;transform:none;position:absolute!important}.game-screen .projected-game .seat-2 .seat-label{top:6%;left:3%}.game-screen .projected-game .seat-1 .seat-label{top:6%;right:3%}.game-screen .projected-game .seat-3 .seat-label{top:43%;left:1.6%}.game-screen .projected-game .own-player{display:contents;position:static;container-type:normal}.game-screen .projected-game .own-player .seat-label{width:7.2%;top:38%;right:2%}.game-screen .projected-game .seat-label .player-avatar{aspect-ratio:1/1.05;border-radius:12px;width:100%;height:auto}.game-screen .projected-game .seat-label .player-name{font-size:inherit;min-height:0;padding:2px 1px;line-height:1.15}.game-screen .projected-game .seat-label .seat-role{white-space:nowrap;font-size:.8em;line-height:1.1}.game-screen .projected-game .seat-label>b{min-height:0;padding:2px;font-size:1.1em;line-height:1.1}.game-screen .projected-game .seat-label .dealer-badge{place-items:center;width:1.5em;height:1.5em;font-size:1em;display:grid;top:42%;right:-.5em}.game-screen .projected-game .is-active .player-avatar{border-color:#fff0a5;animation:none;box-shadow:0 0 0 2px #dcb053,0 0 15px 4px #ffce6277}.game-screen .projected-game .seat-turn-marker{display:none}.game-screen .projected-game .wait-panel{z-index:1200;background:#182338ed;border-radius:8px;width:8.5%;max-width:none;padding:4px;font-size:clamp(9px,1cqw,16px);position:absolute;top:64%;right:1%}.game-screen .projected-game .wait-panel strong{font-size:inherit;white-space:normal}.game-screen .projected-game .wait-tiles{flex-wrap:wrap;justify-content:center;gap:1px}.game-screen .projected-game .wait-tiles .tile{--tile-small-w:clamp(12px,1.5cqw,26px);--tile-small-h:calc(var(--tile-small-w)*1.4)}.game-screen .projected-game .center-stage{z-index:900;pointer-events:none;background:url(/assets/blender-v3/center.webp) 50%/100% 100%;width:15.9361%;height:17.1716%;display:block;position:absolute;top:35.6069%;left:42.0319%;transform:none}.game-screen .projected-game .table-center{width:auto;min-width:0;max-width:none;height:auto;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4%;padding:0;font-size:clamp(12px,1.7cqw,30px);display:flex;position:absolute;inset:10% 8% 18%;transform:none}.game-screen .projected-game .round-heading{justify-content:center;gap:.25em;width:100%}.game-screen .projected-game .round-label{white-space:nowrap;font-size:1em}.game-screen .projected-game .drawable-count{font-size:1.2em;line-height:1}.game-screen .projected-game .drawable-count b{font-size:inherit}.game-screen .projected-game .turn-compass{flex:0 0 .8em;width:.8em;height:.8em}.game-screen .projected-game .table-center :is(small,.turn-status,.opening-progress),.game-screen .projected-game .dice-tray{display:none}.game-screen .projected-game .rolling-dice{--die:clamp(22px,3cqw,50px);justify-content:center;width:100%;display:flex;position:absolute;top:-100%;left:0}.game-screen .projected-game .discard-spotlight{aspect-ratio:1;z-index:1500;border-radius:50%;width:7%;min-width:40px;max-width:none;height:auto;min-height:0;max-height:none;transform:translate(-50%,-50%)}.game-screen .projected-game .spotlight-seat-0{inset:67% auto auto 50%}.game-screen .projected-game .spotlight-seat-1{inset:40% auto auto 84%}.game-screen .projected-game .spotlight-seat-2{inset:9% auto auto 50%}.game-screen .projected-game .spotlight-seat-3{inset:43% auto auto 15.5%}.game-screen .projected-game .action-row{z-index:1600;pointer-events:none;justify-content:center;width:auto;height:auto;display:flex;position:absolute;inset:auto 23% 22% 22%;transform:none}.game-screen .projected-game .action-dock{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:5px;width:auto;max-width:100%;display:flex}.game-screen .projected-game .action-dock button{min-width:clamp(48px,6cqw,105px);min-height:clamp(34px,4.3cqw,76px);padding:4px 9px;font-size:clamp(18px,2.6cqw,40px)}.game-screen .projected-game .action-dock .ready-button{white-space:nowrap;font-size:clamp(12px,1.6cqw,24px)}.game-screen .projected-game .action-feedback{z-index:1800}.game-screen .projected-game .own-player>.timer{z-index:1600;width:22%;height:14px;top:73%;bottom:auto;left:39%}.game-screen .projected-game .hand-result{z-index:2000;width:44%;height:44%;min-height:0;max-height:none;padding:12px;position:absolute;inset:24% auto auto 28%;overflow:auto;transform:none}.game-screen .projected-game .hand-result h2{margin:0;font-size:clamp(18px,2cqw,34px)}.game-screen .projected-game .hand-result .award-summary{max-height:48%;overflow:auto}.game-screen .projected-game .hand-result-gain{margin:4px;font-size:clamp(18px,2.2cqw,36px)}.game-screen .projected-game .hand-result .result-continue{min-height:30px;padding:4px 12px;font-size:clamp(12px,1.5cqw,24px)}.game-screen .projected-game .hand-delta{top:40%;max-width:none!important;font-size:clamp(12px,1.8cqw,28px)!important}@media (height<=450px){.game-screen .projected-game .hand-result{padding:6px}.game-screen .projected-game .seat-label .player-avatar{border-radius:6px}}.game-screen .projected-game .felt .projected-tile{outline-offset:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important;transform:none!important}.game-screen .projected-game .felt .projected-tile:before,.game-screen .projected-game .felt .projected-tile:after{content:none!important;display:none!important}.game-screen .projected-game .wait-panel{box-sizing:border-box;bottom:auto;left:auto;transform:none}.game-screen .projected-game .seat-label .player-avatar{max-width:100%;max-height:none}.game-screen .projected-game .seat-3 .seat-label{width:6.6%;left:.3%}.game-screen .projected-game :is(.own-player,.seat-1) .seat-label{width:6.6%;right:.3%}.game-screen:has(.projected-game){box-shadow:none;border:0;border-radius:0}.game-screen .projected-game .felt:after{content:none}.game-screen .projected-game .action-row,.game-screen .projected-game .action-dock{display:contents;position:static;transform:none;container-type:normal}.game-screen .projected-game .action-dock button{z-index:1600;white-space:nowrap;position:absolute;inset:70% auto auto 45%;transform:none}.game-screen .projected-game .wait-panel{position:absolute;transform:none}.game-screen .projected-game .felt:before{mix-blend-mode:multiply;opacity:.9;background-image:url(/assets/blender-v3/felt-light.webp)}.game-screen .projected-game .felt:after{content:"";pointer-events:none;z-index:1;background:url(/assets/blender-v3/rails.webp) 50%/100% 100%;position:absolute;inset:0}.game-screen:has(.projected-game),.game-screen .projected-game .felt{background:var(--felt-color)}.game-screen .projected-game .tile-back>.baked-frame{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.game-screen .projected-game :is(.seat-2,.seat-3) .seat-label{left:calc(4px - var(--hud-gutter,0px));width:clamp(44px,5.8%,110px);right:auto}.game-screen .projected-game :is(.seat-1,.own-player) .seat-label{right:calc(4px - var(--hud-gutter,0px));width:clamp(44px,5.8%,110px);left:auto}.game-screen .projected-game .hand-result{width:min(42cqw,75.0838cqh);left:50%;transform:translate(-50%)}.game-screen .projected-game .table-center .opening-progress{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;padding:0;display:block;position:absolute;top:50%;left:50%;overflow:hidden}.game-screen .projected-game .discard-spotlight>.tile{--tile-w:clamp(20px,3.8cqw,64px);--tile-h:calc(var(--tile-w)*1.4);margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)!important}.game-screen .projected-game.has-settlement :is(.wall-visual,.discard-spotlight){display:none!important}.game-screen .projected-game .felt .projected-tile .baked-ink>.tile-face{flex-shrink:0;width:100%;height:100%;transform:scale(1)}.game-screen .projected-game .seat-1 .seat-label{top:6%}.game-screen .projected-game .river-tile.latest:after{content:none!important;display:none!important}.game-screen .projected-game .river-tile.latest>.tile{filter:none;outline:none}.game-screen .projected-game .river-tile.latest>.tile .baked-frame{animation:.28s ease-out small-tile-impact}@keyframes small-tile-impact{0%{filter:drop-shadow(0 2px 2px #fff2aa);opacity:.85;translate:0 -3px}45%{filter:drop-shadow(0 1px 4px #ffe49b);translate:0 1px}to{filter:none;opacity:1;translate:0}}@media (prefers-reduced-motion:reduce){.game-screen .projected-game .river-tile.latest>.tile .baked-frame{animation:none}}.game-screen .projected-game .wait-panel{margin:0}.projected-tile .baked-frame{transform:scale(calc(var(--board-scale)*var(--tile-fit,1)))}.game-screen .projected-game .baked-ink .tile-face b{-webkit-text-stroke:.7px currentColor;font-size:55px;font-weight:800}.game-screen .projected-game .baked-ink .tile-face strong{-webkit-text-stroke:.6px currentColor;font-size:61px;font-weight:850}.game-screen .projected-game .baked-ink .tile-face svg{filter:drop-shadow(.35px 0);width:100px;height:138px}.game-screen .projected-game .turn-compass{display:none}.turn-lights{pointer-events:none;position:absolute;inset:-5%}.turn-light{background:#72756a45;border:1px solid #ddc77a44;border-radius:8px;transition:background .18s,box-shadow .18s;display:block;position:absolute}.turn-light.light-0,.turn-light.light-2{width:52%;height:5px;left:24%}.turn-light.light-0{bottom:0}.turn-light.light-2{top:0}.turn-light.light-1,.turn-light.light-3{width:5px;height:52%;top:24%}.turn-light.light-1{right:0}.turn-light.light-3{left:0}.turn-light.lit{background:#ffdb69;border-color:#fff2b6;box-shadow:0 0 5px #ffdc71,0 0 11px #ffc94d99}.game-screen .projected-game .baked-ink .tile-face svg{filter:none}.game-screen .projected-game .baked-ink .tile-face .white-dragon{border-width:3px}.game-screen .projected-game .pass-warning{z-index:1600;white-space:nowrap;color:#ffe2ab;background:#172238dd;border-radius:4px;width:max-content;max-width:none;padding:2px 5px;font-size:clamp(10px,1cqw,15px);position:absolute;inset:76% auto auto 16%}.game-screen .projected-game .felt .baked-ink>.tile-face{text-rendering:geometricprecision;font-family:PingFang TC,Microsoft JhengHei,sans-serif}.game-screen .projected-game .baked-ink .tile-face b{-webkit-text-stroke:.55px currentColor;font-family:inherit;font-size:58px;font-weight:800;line-height:1}.game-screen .projected-game .baked-ink .tile-face strong{-webkit-text-stroke:.45px currentColor;font-family:inherit;font-size:68px;font-weight:800;line-height:1.05}.game-screen .projected-game .baked-ink .tile-face.suit-z strong{font-size:74px;font-weight:850}.game-screen .projected-game .baked-ink .tile-face svg{shape-rendering:geometricprecision}.game-screen .projected-game :is(.seat-2,.seat-3,.seat-1,.own-player) .seat-label{width:clamp(52px,calc(7.6% + var(--hud-gutter,0px)*.3),132px)}.game-screen .projected-game .seat-3 .seat-label{top:51%}.game-screen .projected-game .own-player .seat-label{top:46%}.game-screen .projected-game .projected-tile>.vector-frame{transform-origin:0 0;inset:0;width:100%!important;height:100%!important;transform:none!important}.native-glyph-surface{pointer-events:none;text-rendering:geometricprecision;shape-rendering:geometricprecision;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0;overflow:visible}.game-screen .projected-game :is(.seat-2,.seat-3,.seat-1,.own-player) .seat-label{width:calc(146px * var(--board-scale));font-size:calc(26px * var(--board-scale))}.game-screen .projected-game :is(.seat-2,.seat-3) .seat-label{left:calc(8px * var(--board-scale) - var(--hud-gutter,0px))}.game-screen .projected-game :is(.seat-1,.own-player) .seat-label{right:calc(8px * var(--board-scale) - var(--hud-gutter,0px))}.game-screen .projected-game .seat-2 .seat-label{top:14%}.game-screen .projected-game .seat-label .player-avatar{border-width:calc(2px * var(--board-scale));border-radius:calc(16px * var(--board-scale))}.game-screen .projected-game .seat-label .player-name{padding:calc(2px * var(--board-scale));border-width:calc(2px * var(--board-scale));border-radius:calc(24px * var(--board-scale))}.game-screen .projected-game .seat-label>b{padding:calc(2px * var(--board-scale));border-width:calc(1px * var(--board-scale));border-radius:calc(8px * var(--board-scale))}.game-screen .projected-game .seat-label .hand-delta{font-size:calc(32px * var(--board-scale))!important}.game-screen .projected-game.has-settlement .rivers{display:none!important}.game-screen .projected-game .center-stage{top:36.5%}.game-screen:has(.projected-game){--u:var(--ui-scale)}.game-screen .projected-game .table-center{font-size:calc(32px * var(--u))}.game-screen .projected-game .wait-panel{font-size:calc(20px * var(--u));padding:calc(8px * var(--u));border-radius:calc(16px * var(--u));border-width:calc(2px * var(--u))}.game-screen .projected-game .wait-tiles .tile{--tile-small-w:calc(30px * var(--u))}.game-screen .projected-game .discard-spotlight{border-width:calc(3px * var(--u));min-width:0}.game-screen .projected-game .discard-spotlight>.tile{--tile-w:calc(73px * var(--u))}.game-screen .projected-game .action-dock button{min-width:calc(120px * var(--u));min-height:calc(86px * var(--u));font-size:calc(48px * var(--u));padding:calc(8px * var(--u)) calc(18px * var(--u));border-width:calc(2px * var(--u))}.game-screen .projected-game .action-dock button small{font-size:calc(20px * var(--u))}.game-screen .projected-game .action-dock .ready-button{font-size:calc(30px * var(--u))}.game-screen .projected-game .hand-result{padding:calc(24px * var(--u));border-radius:calc(24px * var(--u));border-width:calc(3px * var(--u))}.game-screen .projected-game .hand-result h2{font-size:calc(40px * var(--u))}.game-screen .projected-game .hand-result .award-table{font-size:calc(25px * var(--u))}.game-screen .projected-game .hand-result-gain{font-size:calc(44px * var(--u));margin:calc(8px * var(--u))}.game-screen .projected-game .hand-result .result-continue{font-size:calc(30px * var(--u));min-height:calc(60px * var(--u));padding:calc(8px * var(--u)) calc(24px * var(--u))}.game-screen .projected-game .pass-warning{font-size:calc(20px * var(--u));padding:calc(4px * var(--u)) calc(10px * var(--u))}.game-screen .projected-game .rolling-dice{--die:calc(60px * var(--u))}.game-screen .projected-game .turn-light:is(.light-0,.light-2){height:calc(8px * var(--u))}.game-screen .projected-game .turn-light:is(.light-1,.light-3){width:calc(8px * var(--u))}.game-screen .projected-game .menu-trigger{width:calc(88px * var(--u));height:calc(88px * var(--u));padding:calc(12px * var(--u));border-width:calc(3px * var(--u))}.game-screen .projected-game .seat-label .player-name{margin-top:calc(-8px * var(--u))}.game-screen .projected-game .seat-label{gap:calc(6px * var(--u))}.game-screen .projected-game .action-feedback{font-size:calc(90px * var(--u))}.game-screen:has(.projected-game) .game-modal-layer{padding:calc(36px * var(--ui-scale))}.game-screen:has(.projected-game) .dialog{width:calc(1160px * var(--ui-scale));font-size:calc(32px * var(--ui-scale));padding:calc(48px * var(--ui-scale)) calc(56px * var(--ui-scale));border-radius:calc(32px * var(--ui-scale))}.game-screen:has(.projected-game) .dialog :is(p,label,button,input,select,.hint-reasons,.rule-list){font-size:calc(32px * var(--ui-scale))}.game-screen:has(.projected-game) .dialog-heading h2{font-size:calc(56px * var(--ui-scale))}.game-screen:has(.projected-game) .dialog-heading{gap:calc(32px * var(--ui-scale));margin-bottom:calc(32px * var(--ui-scale))}.game-screen:has(.projected-game) .dialog .close-button{min-width:calc(80px * var(--ui-scale));min-height:calc(72px * var(--ui-scale));padding:calc(8px * var(--ui-scale)) calc(16px * var(--ui-scale))}.game-screen:has(.projected-game) .drawer-layer{padding:0}.game-screen:has(.projected-game) .game-drawer{width:calc(600px * var(--ui-scale));min-width:0;max-width:none;padding:calc(40px * var(--ui-scale));gap:calc(24px * var(--ui-scale));border-radius:0 calc(40px * var(--ui-scale)) calc(40px * var(--ui-scale)) 0}.game-screen:has(.projected-game) .game-drawer>button{min-height:calc(82px * var(--ui-scale));font-size:calc(38px * var(--ui-scale))}.game-screen:has(.projected-game) .game-drawer .drawer-toggle>b{min-width:calc(144px * var(--ui-scale));padding:calc(8px * var(--ui-scale)) calc(28px * var(--ui-scale))}.game-screen:has(.projected-game) :is(input,select){height:calc(84px * var(--ui-scale));padding:calc(14px * var(--ui-scale)) calc(20px * var(--ui-scale))}.game-screen .projected-game.has-settlement :is(.wall-visual,.rivers){display:contents!important}.game-screen .projected-game .projected-tile>.revealed-in-place{height:auto!important;inset:auto 0 0!important}.game-screen .projected-game .own-hand .projected-tile.drawn{margin:0!important}.flat-game{--u:var(--flat-scale,.5)}.game-screen .flat-game .felt{background:radial-gradient(ellipse at 50% 40%,#ffffff08,transparent 65%),var(--felt-color);width:100%;height:100%;inset:0;overflow:visible;transform:none}.game-screen .flat-game .felt:before{mix-blend-mode:normal;opacity:1;border:calc(10px * var(--u)) solid #182c30;border-radius:calc(28px * var(--u));box-shadow:inset 0 0 0 calc(2px * var(--u)) #b69a5c,inset 0 0 calc(50px * var(--u)) #091a2940;background:0 0;inset:0}.game-screen .flat-game .felt:after{content:none!important}.game-screen .flat-game .felt .projected-tile{transform-origin:50%;isolation:isolate;cursor:default;transform:rotate(var(--seat-angle,0deg))!important}.game-screen .flat-game .felt button.projected-tile:not(:disabled){cursor:pointer}.flat-body{pointer-events:none;border-radius:calc(7px * var(--u));box-shadow:0 calc(3px * var(--u)) calc(5px * var(--u)) #082b294a;background:linear-gradient(#309e88,#116856);position:absolute;inset:0;width:100%!important;height:100%!important;display:block!important;transform:none!important}.flat-face{inset:0 0 calc(5px * var(--u));border-radius:inherit;box-shadow:inset 0 0 0 calc(1px * var(--u)) #d9cfaa,inset 0 calc(-3px * var(--u)) calc(1px * var(--u)) #d8ceb2;background:linear-gradient(115deg,#fffef2,#f6f0db 85%);display:block;position:absolute;overflow:hidden}.flat-ink{text-rendering:geometricprecision;width:88%;max-width:none;height:88%;max-height:none;display:block;position:absolute;inset:6%}.flat-back{background:linear-gradient(#194661,#102d48)}.flat-back .flat-face{box-shadow:inset 0 calc(1px * var(--u)) calc(1px * var(--u)) #6d9db3,inset 0 calc(-3px * var(--u)) calc(1px * var(--u)) #173c5b;background:linear-gradient(135deg,#37759a,#244f77 80%)}.flat-back-inlay{inset:calc(4px * var(--u));border:calc(1px * var(--u)) solid #6292aa55;border-radius:calc(4px * var(--u));position:absolute}.flat-wall{border-radius:calc(3px * var(--u));box-shadow:0 calc(2px * var(--u)) calc(3px * var(--u)) #082b2940}.flat-wall .flat-face{border-radius:inherit;inset:0}.flat-wall .flat-back-inlay{inset:calc(2px * var(--u))}.wall-layer-divider{border-top:calc(2px * var(--u)) solid #102f4c;display:none;position:absolute;top:48%;left:0;right:0}.wall-stack[data-layers="2"] .wall-layer-divider{display:block}.game-screen .flat-game .felt button.projected-tile:is(:hover,:focus-visible){filter:drop-shadow(0 calc(-2px * var(--u)) calc(3px * var(--u)) #f9dc89);outline:calc(2px * var(--u)) solid #f5d884;outline-offset:calc(2px * var(--u))}.game-screen .flat-game .tile.drawn .flat-face{box-shadow:inset 0 0 0 calc(2px * var(--u)) #c19a4d,inset 0 calc(-3px * var(--u)) calc(1px * var(--u)) #d8ceb2}.game-screen .flat-game :is(.seat-1,.seat-2,.seat-3,.own-player) .seat-label{width:calc(135px * var(--u));font-size:calc(26px * var(--u));z-index:1200}.game-screen .flat-game :is(.seat-2,.seat-3) .seat-label{left:calc(24px * var(--u));right:auto}.game-screen .flat-game :is(.seat-1,.own-player) .seat-label{right:calc(24px * var(--u));left:auto}.game-screen .flat-game :is(.seat-1,.seat-2) .seat-label{top:11.1111%}.game-screen .flat-game .seat-label .player-avatar{aspect-ratio:1;border-radius:calc(17px * var(--u));border-width:calc(2px * var(--u));background-size:200% 200%;width:100%;height:auto}.game-screen .flat-game .seat-label .player-name{margin-top:calc(-12px * var(--u));padding:calc(3px * var(--u)) calc(4px * var(--u));border-width:calc(1px * var(--u));border-radius:calc(12px * var(--u));color:#fff2cd;background:#152f32}.game-screen .flat-game .seat-label .seat-role{font-size:calc(20px * var(--u));line-height:1.65}.game-screen .flat-game .seat-label>b{font-size:calc(27px * var(--u));background:#142e2e;line-height:1.3}.game-screen .flat-game .is-active .player-avatar{box-shadow:0 0 0 calc(4px * var(--u)) #d7b264,0 calc(7px * var(--u)) calc(18px * var(--u)) #061e2850;border-color:#fff0ae;animation:none}.game-screen .flat-game .menu-trigger{left:calc(24px * var(--u));top:calc(16px * var(--u));width:calc(60px * var(--u));height:calc(60px * var(--u));padding:calc(14px * var(--u));border-width:calc(2px * var(--u));background:#142f32}.game-screen .flat-game .center-stage{pointer-events:none;z-index:400;background:0 0}.game-screen .flat-game .table-center{padding:calc(7px * var(--u));border:calc(1px * var(--u)) solid #c3b071;border-radius:calc(20px * var(--u));box-shadow:0 calc(5px * var(--u)) calc(12px * var(--u)) #082b2940;font-size:calc(34px * var(--u));background:#132e30;gap:0;inset:0}.game-screen .flat-game .round-heading{order:0}.game-screen .flat-game .drawable-count{font-size:calc(43px * var(--u));order:1;line-height:1.05}.game-screen .flat-game .dice-tray{justify-content:center;align-items:center;gap:calc(7px * var(--u));--die:calc(27px * var(--u));margin-top:calc(4px * var(--u));order:2;display:flex;position:static;transform:none}.game-screen .flat-game .dice-tray .wind-die{display:none}.game-screen .flat-game .dice-tray.rolling-dice{--die:calc(60px * var(--u));width:100%;position:absolute;top:-110%;left:0}.game-screen .flat-game .turn-lights{inset:-2%}.game-screen .flat-game .turn-light{border-radius:calc(8px * var(--u));border-width:calc(1px * var(--u))}.game-screen .flat-game .turn-light:is(.light-0,.light-2){height:calc(5px * var(--u))}.game-screen .flat-game .turn-light:is(.light-1,.light-3){width:calc(5px * var(--u))}.flat-wind-token{left:calc(70px * var(--u));width:calc(70px * var(--u));height:calc(66px * var(--u));box-shadow:0 calc(6px * var(--u)) calc(7px * var(--u)) #082b2945,inset 0 calc(-8px * var(--u)) calc(1px * var(--u)) #166c3b;padding-top:calc(7px * var(--u));z-index:350;background:linear-gradient(#61ba61,#20894b);border-radius:50%;place-items:start center;display:grid;position:absolute;top:70%}.flat-wind-token span{width:calc(52px * var(--u));height:calc(42px * var(--u));color:#17633e;font:800 calc(32px * var(--u)) "Songti TC",serif;background:#f9f6df;border-radius:50%;place-items:center;display:grid}.flat-dealer-token{right:calc(70px * var(--u));width:calc(62px * var(--u));height:calc(64px * var(--u));border-radius:calc(8px * var(--u));color:#fff3d4;box-shadow:0 calc(6px * var(--u)) calc(7px * var(--u)) #082b2945,inset 0 calc(-7px * var(--u)) 0 #7b1e21;font:800 calc(39px * var(--u)) "Songti TC",serif;z-index:350;background:linear-gradient(120deg,#d74836,#a62623);place-items:center;display:grid;position:absolute;top:70%}.flat-dealer-token.dealer-token-1{top:36.55%}.flat-dealer-token.dealer-token-2{top:36.55%;left:calc(70px * var(--u));right:auto}.flat-dealer-token.dealer-token-3{left:calc(8px * var(--u));right:auto}.game-screen .flat-game .discard-spotlight{width:calc(108px * var(--u));height:calc(108px * var(--u));aspect-ratio:1;border:calc(2px * var(--u)) solid #e4ce8c;box-shadow:0 calc(5px * var(--u)) calc(14px * var(--u)) #05252250;background:#102f30f5}.game-screen .flat-game .discard-spotlight>.tile{--tile-w:calc(54px * var(--u));--tile-h:calc(76px * var(--u));width:var(--tile-w);height:var(--tile-h);border-radius:calc(7px * var(--u));border:0;border-bottom:calc(5px * var(--u)) solid #15816e;box-shadow:0 calc(3px * var(--u)) calc(5px * var(--u)) #082b294a;background:linear-gradient(#fffef2,#f6f0db);padding:0}.game-screen .flat-game .discard-spotlight>.tile .tile-solid{display:none}.game-screen .flat-game .spotlight-seat-0{top:71%;left:50%}.game-screen .flat-game .spotlight-seat-1{top:43%;left:86.5%}.game-screen .flat-game .spotlight-seat-2{top:14%;left:50%}.game-screen .flat-game .spotlight-seat-3{top:43%;left:13.5%}.game-screen .flat-game .action-dock button{min-width:calc(104px * var(--u));min-height:calc(64px * var(--u));height:auto;font-size:calc(38px * var(--u));padding:calc(5px * var(--u)) calc(22px * var(--u));border-radius:calc(32px * var(--u))}.game-screen .flat-game .action-dock button small{font-size:calc(20px * var(--u));line-height:1.15}.game-screen .flat-game .action-dock .ready-button{font-size:calc(28px * var(--u));min-height:calc(58px * var(--u))}.game-screen .flat-game .own-player>.timer{left:calc(50% - 100px * var(--u));width:calc(200px * var(--u));height:calc(10px * var(--u));top:60%}.game-screen .flat-game .own-player>.timer b{font-size:calc(17px * var(--u))}.game-screen .flat-game .wait-panel{width:calc(150px * var(--u));font-size:calc(20px * var(--u));padding:calc(8px * var(--u));border-radius:calc(12px * var(--u));background:#102d2d;border-color:#dcc277}.game-screen .flat-game .hand-result{width:calc(444px * var(--u));height:calc(262px * var(--u));max-height:none;padding:calc(15px * var(--u)) calc(24px * var(--u));border:calc(2px * var(--u)) solid #d6bd78;border-radius:calc(20px * var(--u));box-shadow:0 calc(10px * var(--u)) calc(24px * var(--u)) #062b2855;gap:calc(6px * var(--u));flex-direction:column;display:flex;top:36.9%;left:50%;overflow:auto;transform:translate(-50%);color:#fff2cd!important;background:#142735!important}.game-screen .flat-game .hand-result h2{font-size:calc(33px * var(--u));line-height:1.15}.game-screen .flat-game .hand-result .award-summary{max-height:calc(100px * var(--u));flex:1;width:100%;min-height:0;overflow:auto}.game-screen .flat-game .hand-result .award-table{font-size:calc(22px * var(--u))}.game-screen .flat-game .hand-result .award-table :is(td,th){padding:calc(3px * var(--u)) calc(6px * var(--u))}.game-screen .flat-game .hand-result-gain{font-size:calc(30px * var(--u));flex:none;margin:0;line-height:1.1}.game-screen .flat-game .hand-result .dialog-actions{flex:none;justify-content:center;margin:0;display:flex}.game-screen .flat-game .hand-result .result-continue{font-size:calc(23px * var(--u));min-height:calc(40px * var(--u));padding:calc(4px * var(--u)) calc(20px * var(--u))}.game-screen .flat-game.has-settlement :is(.wall-visual,.rivers){display:contents!important}.game-screen .flat-game .seat-label{gap:0}.game-screen .flat-game .seat-label .seat-role{line-height:1.2}.game-screen .flat-game .wait-panel{width:calc(135px * var(--u));font-size:calc(18px * var(--u));padding:calc(6px * var(--u))}.game-screen .flat-game .wait-tiles .tile{--tile-small-w:calc(22px * var(--u));--tile-small-h:calc(31px * var(--u))}.game-screen .flat-game .action-dock button{font-size:calc(36px * var(--u));padding:calc(4px * var(--u)) calc(16px * var(--u))}.game-screen .flat-game .action-dock button small{font-size:calc(18px * var(--u))}.flat-wind-token{left:calc(8px * var(--u))}.flat-game .flat-dealer-token{top:56.3%;left:60%;right:auto}.game-screen .flat-game :is(.seat-3,.own-player) .seat-label{top:39.4444%}.flat-body{--u:var(--flat-scale,var(--ui-scale,.7))}.flat-readable-name{clip-path:inset(50%);white-space:nowrap;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.game-screen .flat-game .tile:not(.projected-tile):before,.game-screen .flat-game .tile:not(.projected-tile):after{display:none}.game-screen .flat-game .discard-spotlight>.tile{--tile-w:calc(64px * var(--u));--tile-h:calc(90px * var(--u))}.game-screen .flat-game .round-heading,.game-screen .flat-game .round-label{flex:none;line-height:1.05}.game-screen .flat-game .dice-tray{flex:none;line-height:1}.game-screen:has(.flat-game) .game-drawer{width:calc(420px * var(--ui-scale));padding:calc(24px * var(--ui-scale));gap:calc(12px * var(--ui-scale));overflow-y:auto}.game-screen:has(.flat-game) .game-drawer .dialog-heading{margin:0 0 calc(8px * var(--ui-scale))}.game-screen:has(.flat-game) .game-drawer .dialog-heading h2{font-size:calc(40px * var(--ui-scale))}.game-screen:has(.flat-game) .game-drawer .close-button{width:calc(48px * var(--ui-scale));height:calc(48px * var(--ui-scale));min-width:calc(48px * var(--ui-scale));min-height:calc(48px * var(--ui-scale));padding:calc(8px * var(--ui-scale))}.game-screen:has(.flat-game) .game-drawer>button{min-height:calc(68px * var(--ui-scale));font-size:calc(28px * var(--ui-scale));padding:calc(8px * var(--ui-scale)) calc(12px * var(--ui-scale))}.game-screen:has(.flat-game) .game-drawer .drawer-toggle>b{min-width:calc(100px * var(--ui-scale));padding:calc(4px * var(--ui-scale)) calc(14px * var(--ui-scale))}.game-screen .flat-game .seat-label>b{padding:calc(2px * var(--u));border-width:calc(1px * var(--u));border-radius:calc(7px * var(--u))}.game-screen .flat-game .seat-label .dealer-badge{width:calc(32px * var(--u));height:calc(32px * var(--u));font-size:calc(22px * var(--u));right:calc(-13px * var(--u));border-width:calc(2px * var(--u));place-items:center;line-height:1;display:grid}.game-screen .flat-game .seat-label .hand-delta{font-size:calc(32px * var(--u))!important}
