.playing-page{--tile-w:clamp(18px,2.7vw,44px);--tile-h:clamp(26px,5.8vh,58px);width:100%;max-width:none;height:var(--game-height,100dvh);color:#fff4d4;background:#173b30 url(/images/mahjong-teahouse.webp) 50%/100% 100% no-repeat;min-height:0;padding:0;display:block;position:relative;overflow:hidden}.playing-page .game-header{z-index:50;-webkit-backdrop-filter:none;backdrop-filter:none;width:auto;height:48px;min-height:0;box-shadow:none;background:0 0;border:0;flex-wrap:nowrap;gap:10px;padding:0;position:absolute;inset:12px 18px auto}.playing-page .game-header>strong{white-space:nowrap;letter-spacing:2px;font:700 clamp(15px,1.65vw,26px) KaiTi,STKaiti,serif}.playing-page .game-header .brand-mark,.playing-page .game-score{display:none}.playing-page .game-header .rule-badge{color:#efddaf;background:#111c1bba;border:1px solid #d4bd7350;padding:8px 10px;font-size:clamp(10px,.9vw,14px);display:block}.playing-page .game-header button{color:#fff1cf;background:#14211bd9;border:1px solid #d6bd7966;border-radius:9px;height:42px;padding:0 12px;font-size:13px;box-shadow:0 3px 9px #0003}.playing-page .game-header button:hover{background:#34463bee}.playing-page .live-table-wrap,.playing-page .live-table,.playing-page .live-felt{width:100%;max-width:none;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute;inset:0;overflow:visible;transform:none}.playing-page .live-felt{container-type:size}.playing-page .live-felt:before{display:none}.playing-page .player-zone{pointer-events:none;z-index:10;width:auto;max-width:none;height:auto;display:block;inset:0;transform:none}.playing-page .player-tag{color:#fff2d3;white-space:nowrap;background:#12221edb;border:1px solid #c4a86b70;border-radius:12px;grid-template-rows:auto auto auto;grid-template-columns:auto 1fr;gap:2px 10px;max-width:21%;padding:8px 14px 8px 8px;font-size:clamp(11px,1.25cqw,20px);display:grid;position:absolute;box-shadow:0 4px 12px #0004}.playing-page .player-tag b{text-overflow:ellipsis;font-family:KaiTi,STKaiti,serif;font-weight:500;overflow:hidden}.playing-page .player-tag i{color:#a7c9b2;grid-column:2;font-size:clamp(9px,.8cqw,12px);display:block}.playing-page .seat-balance{color:#f2d471;font-variant-numeric:tabular-nums;grid-area:2/2;font-size:clamp(12px,1.5cqw,23px)}.playing-page .seat-balance small{color:#b7c2a2;font:10px sans-serif}.playing-page .mini-avatar{color:#ead8a8;background:#385b4d;border:2px solid #d6b971;border-radius:50%;grid-row:1/4;width:clamp(34px,4.6cqw,74px);height:clamp(34px,4.6cqw,74px);position:relative;box-shadow:inset 0 0 0 4px #142e2680}.playing-page .mini-avatar svg{width:55%;height:55%}.playing-page .mini-avatar .avatar-art{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.playing-page .mini-avatar em{background:#152c25;border:1px solid #ecd794;border-radius:50%;place-items:center;width:22px;height:22px;font:16px KaiTi,STKaiti,serif;display:grid;position:absolute;bottom:-2px;right:-3px}.playing-page .top-player .player-tag{top:1.5%;left:50%;transform:translate(-50%)}.playing-page .left-player .player-tag{grid-template-columns:1fr;justify-items:center;max-width:12%;padding:8px;top:39%;left:1.3%}.playing-page .right-player .player-tag{grid-template-columns:1fr;justify-items:center;max-width:12%;padding:8px;top:39%;right:1.3%}.playing-page :is(.left-player,.right-player) .player-tag :is(.mini-avatar,b,i,.seat-balance){grid-area:auto/1}.playing-page .self-player .player-tag{max-width:20%;bottom:20%;left:1.5%}.playing-page .active-player .player-tag{background:#203c2eea;border-color:#ffe3a0;box-shadow:0 0 0 2px #eacc713b,0 0 18px #f0d8753d}.playing-page .turn-seat-label{color:#294433;background:#efd387;border-radius:10px;padding:2px 8px;font:600 10px sans-serif;position:absolute;top:-11px;right:8px}.playing-page .hidden-hand{gap:2px;margin:0;padding:0;display:flex;position:absolute}.playing-page .top-player .hidden-hand{flex-direction:row;top:13%;left:50%;transform:translate(-50%)}.playing-page :is(.left-player,.right-player) .hidden-hand{flex-direction:column;gap:1px;top:27%}.playing-page .left-player .hidden-hand{left:16%}.playing-page .right-player .hidden-hand{right:16%}.playing-page .hidden-hand .mahjong-tile{background:#2e774c;border:1px solid #7fb889;border-top:4px solid #f3f1db;border-bottom:3px solid #1e5535;border-radius:4px;flex:none;width:clamp(16px,2.6cqw,42px);height:clamp(25px,6.3cqh,61px);margin:0;transform:none;box-shadow:0 3px 3px #071c2c70}.playing-page .hidden-hand .tile-back>span{display:none}.playing-page :is(.left-player,.right-player) .hidden-hand .mahjong-tile{border-top-width:2px;border-radius:2px;width:clamp(14px,1.7cqw,29px);height:clamp(10px,2.8cqh,27px)}.playing-page .meld-row{flex-wrap:nowrap;gap:12px;width:auto;max-width:none;padding:0;display:flex;position:absolute}.playing-page .top-player .meld-row{top:20.8%;left:50%;transform:translate(-50%)}.playing-page .left-player .meld-row{flex-direction:column;gap:15px;top:27%;left:19%}.playing-page .right-player .meld-row{flex-direction:column;gap:15px;top:27%;right:19%}.playing-page .self-player .meld-row{gap:12px;bottom:22%;left:26%}.playing-page .meld-set{gap:1px;position:relative}.playing-page .meld-label{z-index:2;color:#ffefbd;background:#694e20;border-radius:3px;padding:1px 3px;font-size:9px;position:absolute;top:-8px;left:-11px}.playing-page .meld-row .mahjong-tile{border-radius:3px;width:clamp(14px,1.8cqw,30px);height:clamp(20px,4.4cqh,42px);margin:0;transform:none}.playing-page .flower-row{background:0 0;border:0;gap:1px;max-width:12%;padding:0;display:flex;position:absolute}.playing-page .top-player .flower-row{top:13%;left:71%}.playing-page .left-player .flower-row{top:63%;left:2%}.playing-page .right-player .flower-row{top:63%;right:2%}.playing-page .self-player .flower-row{bottom:16%;left:2%}.playing-page .flower-row .mahjong-tile{width:clamp(12px,1.4cqw,23px);height:clamp(19px,3.8cqh,34px);margin:0;transform:none}.playing-page .mahjong-tile{color:#223c2a;opacity:1;background:#faf8ec;border:1px solid #dbddc6;border-bottom:3px solid #8aa67b;border-radius:5px;box-shadow:0 3px #315735,0 5px 6px #06181060}.playing-page .tile-art{object-fit:contain;width:91%;height:91%;transform:none}.playing-page .my-hand{z-index:30;perspective:none;flex-wrap:nowrap;gap:3px;width:76%;max-width:76%;padding:0;display:flex;position:absolute;bottom:7.8%;left:50%;transform:translate(-50%)}.playing-page .my-hand .mahjong-tile{touch-action:manipulation;border-top:3px solid #a1c298;border-radius:6px;flex:0 5.2cqw;width:5.2cqw;min-width:0;height:clamp(42px,12.7cqh,120px);margin:0;transition:filter .1s,box-shadow .1s;transform:translate(0,0)}.playing-page .my-hand .mahjong-tile:hover:not(:disabled),.playing-page .my-hand .mahjong-tile:active:not(:disabled){filter:brightness(1.08);outline:2px solid #f2d278;transform:translate(0,0);box-shadow:0 0 14px #f2d27880}.playing-page .my-hand .drawn-tile{outline:2px solid #ebcf85;margin-left:10px;animation:none}.playing-page .my-hand .mahjong-tile:before{display:none}.playing-page .discard-field{perspective:none;pointer-events:none;grid-template:"west north east"36%"west.east"28%"west south east"36%/24% 52% 24%;height:auto;display:grid;position:absolute;inset:29% 28% 36%;transform:none}.playing-page .discard-pile{grid-template-columns:repeat(6,max-content);place-content:start center;gap:3px 2px;width:auto;display:grid;position:relative;inset:auto;transform:none}.playing-page .pile-0{grid-area:south;place-self:end center}.playing-page .pile-2{grid-area:north;place-self:start center}.playing-page :is(.pile-1,.pile-3){grid-template-rows:repeat(6,max-content);grid-template-columns:repeat(2,max-content);grid-auto-flow:column}.playing-page .pile-1{grid-area:east;place-self:center end}.playing-page .pile-3{grid-area:west;place-self:center start}.playing-page .discard-pile .mahjong-tile{width:var(--tile-w);height:var(--tile-h);aspect-ratio:auto;border-radius:3px;min-width:0;margin:0;transform:none}.playing-page .discard-pile :is(.tile-art,.tile-symbol){width:91%;max-width:100%;height:91%;transform:none}.playing-page .fresh-discard{outline-offset:1px;outline:2px solid #ffe5a4;animation:none;box-shadow:0 0 9px #f6d47790,0 3px #496d3a}.playing-page .discard-pile-label{white-space:nowrap;color:#f3e3b7;background:#103b2bd9;border:1px solid #a7b18b40;border-radius:4px;padding:2px 6px;font-size:10px;line-height:1.2;position:absolute;top:-19px;left:50%;transform:translate(-50%)}.playing-page .table-center{color:#f5dda1;z-index:12;background:#193e33eb;border:3px solid #b99f66;border-radius:50%;flex-direction:column;justify-content:center;gap:3px;width:clamp(92px,11cqw,178px);max-width:none;height:clamp(92px,11cqw,178px);min-height:0;padding:24px 10px;display:flex;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #14291b70,inset 0 0 0 4px #f1d58614,0 8px 18px #08241850}.playing-page .table-center[hidden]{display:none}.playing-page .table-compass{pointer-events:none;position:absolute;inset:0}.playing-page .compass-seat{color:#83a58a;place-items:center;width:24px;height:24px;font:20px KaiTi,STKaiti,serif;display:grid;position:absolute}.playing-page .compass-0{bottom:3px;left:calc(50% - 12px)}.playing-page .compass-2{top:3px;left:calc(50% - 12px)}.playing-page .compass-1{top:calc(50% - 12px);right:3px}.playing-page .compass-3{top:calc(50% - 12px);left:3px}.playing-page .compass-active{color:#ffe097;text-shadow:0 0 12px #eed488}.playing-page .table-center .turn-announcement{color:#eee4c3;white-space:nowrap;letter-spacing:0;background:#123327da;border-radius:20px;width:max-content;max-width:230px;padding:4px 10px;font-size:clamp(10px,1cqw,15px);position:absolute;top:calc(100% + 13px);left:50%;transform:translate(-50%)}.playing-page .table-center .your-turn{color:#1d4932;background:#efd48b}.playing-page .table-center .turn-timer{width:auto}.playing-page .turn-timer>span{color:#f1db9c;font-size:clamp(18px,2.5cqw,38px);line-height:1}.playing-page .turn-timer svg,.playing-page .turn-timer>i{display:none}.playing-page .table-center>span:last-child{color:#a4c4ac;font-size:10px;display:block}.playing-page .table-signature{text-align:center;color:#0a412ebb;letter-spacing:5px;pointer-events:none;font:700 clamp(18px,2.6cqw,38px) KaiTi,STKaiti,serif;position:absolute;top:65%;left:50%;transform:translate(-50%)}.playing-page .table-signature span{letter-spacing:4px;margin-top:3px;font-size:clamp(9px,.9cqw,14px);display:block}.playing-page .claim-context,.playing-page .last-action-call{z-index:25;color:#f4e7c2;pointer-events:none;white-space:nowrap;background:#152d21e8;border:1px solid #d6bd7670;border-radius:7px;align-items:center;gap:7px;padding:4px 10px;font-size:clamp(10px,1cqw,15px);display:flex;position:absolute}.playing-page .claim-context{top:21%;left:50%;transform:translate(-50%)}.playing-page .last-action-call{max-width:25%;top:69%;right:3%;transform:none}.playing-page .claim-context .mahjong-tile,.playing-page .last-action-call .mahjong-tile{flex:none;width:clamp(18px,1.7cqw,28px);height:clamp(26px,4cqh,38px);margin:0}.playing-page .action-bar{width:max-content;max-width:73%;box-shadow:none;z-index:35;background:0 0;border:0;border-radius:0;flex-wrap:wrap;justify-content:center;gap:12px;padding:0;display:flex;position:absolute;bottom:23.5%;left:50%;transform:translate(-50%)}.playing-page .action-bar button{color:#fff6db;background:#377a66;border:2px solid #ffffff65;border-bottom:4px solid #102c2e75;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-width:clamp(58px,8.5cqw,135px);height:clamp(38px,8cqh,72px);min-height:38px;padding:4px 16px;font:700 clamp(24px,3.4cqw,50px) KaiTi,STKaiti,serif;display:flex;box-shadow:inset 0 3px 5px #ffffff40,0 4px 7px #001b2370}.playing-page .action-bar button:hover{filter:brightness(1.13)}.playing-page .action-bar button small{white-space:normal;max-width:105px;font:500 clamp(10px,.85cqw,13px) sans-serif}.playing-page .action-bar .action-peng{background:#247dba}.playing-page .action-bar .action-gang{background:#c58829}.playing-page .action-bar .action-hu{background:#b83f41}.playing-page .action-bar .action-pass{background:#636c69}.playing-page .win-replay{background:#132c22f5;border:1px solid #caae6c;border-radius:14px;width:max-content;min-width:0;max-width:40%;padding:16px 24px;top:47%;box-shadow:0 12px 35px #0005}.playing-page .win-replay>strong{color:#f2d184;font:700 clamp(18px,2.5cqw,36px) KaiTi,STKaiti,serif}.playing-page .win-replay>button{color:#274330;background:#e7c77e}.playing-page .result-panel{color:#f3e6bf;background:#17392e;border:1px solid #ccaf70}.playing-page .chat-dock,.playing-page .table-help{display:none}.playing-page .discard-field{grid-template-rows:28% 44% 28%;top:25%;bottom:31%}.playing-page .table-center .turn-announcement{white-space:nowrap;background:0 0;order:2;width:auto;max-width:none;margin-top:2px;padding:2px 4px;font-size:clamp(9px,.75cqw,12px);position:static;transform:none}.playing-page .table-center .your-turn{color:#ffe193}.playing-page .claim-context{top:20.5%;left:33%}.playing-page .top-player .meld-row{top:20.5%;left:61%}.playing-page .self-player .meld-row{bottom:1.5%;left:50%;transform:translate(-50%)}.playing-page .table-center{flex-wrap:nowrap;width:clamp(86px,9cqw,150px);height:clamp(86px,9cqw,150px)}.playing-page .table-center .turn-announcement{flex-shrink:1;height:auto;min-height:0;line-height:1.2}.playing-page .top-player .meld-row .mahjong-tile,.playing-page .left-player .meld-row .mahjong-tile,.playing-page .right-player .meld-row .mahjong-tile{width:clamp(14px,1.8cqw,30px);height:clamp(20px,4.4cqh,42px)}.playing-page .action-bar{bottom:21.5%}.playing-page .table-signature{font-size:clamp(16px,1.9cqw,28px);top:72%}.playing-page .hidden-hand .mahjong-tile{background:#2e774c;border-top:4px solid #f3f1db}@media (orientation:landscape) and (max-height:600px){.playing-page .game-header{gap:6px;height:30px;inset:5px 9px auto}.playing-page .game-header button{height:29px;min-height:29px;padding:0 8px;font-size:10px}.playing-page .game-header .rule-badge{padding:5px 7px}.playing-page .game-header>strong{letter-spacing:1px;font-size:15px}.playing-page .player-tag{border-radius:7px;column-gap:5px;padding:4px 7px}.playing-page .mini-avatar{width:35px;height:35px}.playing-page .mini-avatar em{width:17px;height:17px;font-size:12px}.playing-page .player-tag i{font-size:8px}.playing-page .top-player .player-tag{top:2%}.playing-page .top-player .player-tag i{display:none}.playing-page .top-player .mini-avatar{grid-row:1/3}.playing-page .seat-balance small{display:none}.playing-page .table-center{border-width:2px;width:83px;height:83px;padding:19px 8px}.playing-page .compass-seat{width:18px;height:18px;font-size:15px}.playing-page .compass-0,.playing-page .compass-2{left:calc(50% - 9px)}.playing-page .compass-1,.playing-page .compass-3{top:calc(50% - 9px)}.playing-page .turn-timer>span{font-size:21px}.playing-page .table-center>span:last-child{font-size:8px}.playing-page .table-center .turn-announcement{padding:2px 7px;top:calc(100% + 7px)}.playing-page .discard-pile-label{padding:1px 4px;font-size:8px;top:-13px}.playing-page .discard-pile{gap:2px 1px}.playing-page .claim-context{gap:4px;padding:2px 7px;top:21%}.playing-page .last-action-call{gap:4px;padding:2px 6px;font-size:9px;right:2%}.playing-page .action-bar{gap:8px}.playing-page .action-bar button{border-width:1px 1px 3px;padding:3px 10px}.playing-page .table-center .turn-announcement{padding:0;font-size:8px}}@media (orientation:portrait){.playing-page{--tile-w:5.6vw;--tile-h:4.4vh;background-size:auto 100%}.playing-page .game-header{gap:5px;height:34px;inset:6px}.playing-page .game-header>strong{font-size:15px}.playing-page .game-header .rule-badge{display:none}.playing-page .game-header button{height:30px;padding:0 6px;font-size:10px}.playing-page .top-player .player-tag{max-width:48%;top:7%}.playing-page .player-tag{font-size:12px}.playing-page .top-player .hidden-hand{top:16%}.playing-page .hidden-hand .mahjong-tile{width:4vw;height:4vh}.playing-page :is(.left-player,.right-player) .player-tag{max-width:21%;top:28%}.playing-page :is(.left-player,.right-player) .hidden-hand{display:none}.playing-page .self-player .player-tag{max-width:43%;bottom:24%}.playing-page .discard-field{inset:29% 22% 41%}.playing-page .discard-pile-label{font-size:8px;top:-13px}.playing-page .table-center{width:85px;height:85px;padding:22px 7px;top:44%}.playing-page .table-center .turn-announcement{font-size:9px}.playing-page .table-signature{font-size:22px;top:61%}.playing-page .my-hand{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:94%;max-width:94%;display:grid;bottom:5%}.playing-page .my-hand .mahjong-tile{width:100%;height:8vh;margin:0}.playing-page .action-bar{gap:5px;max-width:95%;bottom:23%}.playing-page .action-bar button{min-width:45px;height:40px;padding:3px 10px;font-size:24px}.playing-page .action-bar button small{font-size:9px}.playing-page .claim-context{top:21.5%;left:50%}.playing-page .last-action-call{max-width:none;font-size:9px;top:63%;right:3%}.playing-page .self-player .meld-row{bottom:20.5%;left:48%}.playing-page .top-player .meld-row{top:25%}.playing-page .left-player .meld-row{top:48%;left:1%}.playing-page .right-player .meld-row{top:48%;right:1%}.playing-page .meld-row .mahjong-tile{width:14px;height:21px}.playing-page .win-replay{max-width:80%}}.connection-status{color:#a5e0ba;font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:5px;min-width:55px;font:11px/1.2 system-ui,sans-serif;display:inline-flex}.connection-status>i{background:currentColor;border-radius:50%;flex:none;width:6px;height:6px}.connection-status.connection-slow{color:#ffd28b}.playing-page .my-hand .mahjong-tile{transition:none}.playing-page .my-hand .mahjong-tile:active:not(:disabled){filter:none}@media (orientation:portrait),(max-height:600px){.connection-status{gap:3px;min-width:43px;font-size:9px}}@media (prefers-reduced-motion:reduce){.playing-page .mahjong-tile{transition:none;animation:none}}.webgl-table{position:absolute;inset:0;overflow:hidden}.webgl-table canvas{touch-action:manipulation;width:100%;height:100%;display:block}.playing-page:has(.scene-shell){--hand-w:clamp(28px,4.6vw,54px);--hand-h:calc(var(--hand-w) * 1.36);--hand-dock:calc(var(--hand-h) + 28px);--edge-hud:clamp(78px,11vw,118px);color:#e4ead8;background:#264b49}.playing-page .scene-shell .live-table,.playing-page .scene-shell .live-felt{box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.playing-page .scene-shell .live-felt:before,.playing-page .scene-shell .table-walls,.playing-page .scene-shell:not(.scene-fallback) .hidden-hand,.playing-page .scene-shell:not(.scene-fallback) .discard-field,.playing-page .scene-shell:not(.scene-fallback) .meld-row,.playing-page .scene-shell:not(.scene-fallback) .flower-row,.playing-page .scene-shell .table-signature{display:none!important}.playing-page .scene-shell .webgl-table{top:40px;bottom:var(--hand-dock);z-index:0}.playing-page .scene-shell .my-hand{z-index:32;background:0 0;padding:0;left:50%!important;bottom:max(12px,env(safe-area-inset-bottom))!important;perspective:none!important;width:max-content!important;max-width:84%!important;height:var(--hand-h)!important;flex-wrap:nowrap!important;justify-content:center!important;gap:2px!important;display:flex!important;position:absolute!important;overflow:visible!important;transform:translate(-50%)!important}.playing-page .scene-shell .my-hand .mahjong-tile{touch-action:manipulation;background:#fffdf0;border:1px solid #c6d9ba;min-width:0;flex:0 0 var(--hand-w)!important;width:var(--hand-w)!important;height:var(--hand-h)!important;border-radius:8px!important;margin:0!important;transform:rotate(0)translate(0,0)!important;box-shadow:0 3px #70b798,0 5px #367f6b,0 6px 5px #3b786033!important}.playing-page .scene-shell .my-hand .mahjong-tile.drawn-tile{margin-left:8px!important}.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):active{outline:2px solid #deae55;transform:translateY(-5px)!important}.playing-page .scene-shell .my-hand .mahjong-tile:focus-visible{outline:2px solid #deae55;transform:translateY(-5px)!important}@media (hover:hover){.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):hover{transform:translateY(-4px)!important}}.playing-page .scene-shell .table-center{z-index:4;pointer-events:none;color:#dce8cc;justify-content:center;gap:3px 7px;width:var(--edge-hud)!important;background:#315e56!important;border:1px solid #6d9380!important;border-radius:16px!important;flex-wrap:wrap!important;max-width:none!important;min-height:0!important;padding:7px 5px!important;display:flex!important;top:22%!important;left:8px!important;transform:none!important;box-shadow:0 3px #1b403a!important}.playing-page .scene-shell .table-center .turn-announcement{white-space:normal;flex:0 0 100%;order:3;line-height:1.35;color:#dce8cc!important;background:0 0!important;padding:0!important;font-size:10px!important}.playing-page .scene-shell .table-compass{display:none}.playing-page .scene-shell .turn-timer{width:auto!important}.playing-page .scene-shell .turn-timer>span{color:#f5d28a;font-size:24px!important}.playing-page .scene-shell .turn-timer>i{display:none}.playing-page .scene-shell .table-center>span{font-size:11px!important}.playing-page .scene-shell .claim-context,.playing-page .scene-shell .last-action-call{clip-path:inset(50%);width:1px!important;height:1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.playing-page .scene-shell .player-zone{pointer-events:none;width:auto!important;max-width:none!important;height:auto!important;position:absolute!important;inset:0!important;transform:none!important}.playing-page .scene-shell .player-tag{color:#edf0d9;flex-direction:column;align-items:center;gap:2px;position:absolute;width:var(--edge-hud)!important;max-width:var(--edge-hud)!important;background:#315e56f5!important;border:1px solid #769b80!important;border-radius:16px!important;padding:5px!important;display:flex!important;box-shadow:0 3px #1d423b!important}.playing-page .scene-shell .player-tag b{text-overflow:ellipsis;max-width:100%;overflow:hidden;font:600 11px/1.2 system-ui!important}.playing-page .scene-shell .player-tag i{display:none!important}.playing-page .scene-shell .seat-balance{color:#b8d0b0;line-height:1.2;font-size:11px!important}.playing-page .scene-shell .mini-avatar{box-shadow:none;border:2px solid #b8c38c;width:28px!important;height:28px!important}.playing-page .scene-shell .mini-avatar em{background:#498f7c;width:14px;height:14px;font-size:10px}.playing-page .scene-shell .top-player .player-tag{flex-flow:wrap;gap:1px 5px;transform:translate(-50%);width:130px!important;max-width:130px!important;padding:3px 6px!important;top:3px!important;left:50%!important}.playing-page .scene-shell .top-player .mini-avatar{width:24px!important;height:24px!important}.playing-page .scene-shell .top-player .seat-balance{display:none}.playing-page .scene-shell .left-player .player-tag{top:51%!important;left:8px!important}.playing-page .scene-shell .right-player .player-tag{top:25%!important;right:8px!important}.playing-page .scene-shell .self-player .player-tag{top:auto!important;bottom:10px!important;left:8px!important}.playing-page .scene-shell .self-player .mini-avatar{display:none}.playing-page .scene-shell .self-player .player-tag{padding:6px!important}.playing-page .scene-shell .active-player .player-tag{outline-offset:2px;outline:2px solid #e5b967}.playing-page .scene-shell .turn-seat-label{display:none}.playing-page .scene-shell .action-bar{max-height:calc(49% - var(--hand-dock));z-index:35;border-radius:16px;flex-direction:column;display:flex;overflow-y:auto;width:var(--edge-hud)!important;max-width:var(--edge-hud)!important;background:0 0!important;border:0!important;gap:5px!important;padding:3px!important;inset:51% 8px auto auto!important;transform:none!important}.playing-page .scene-shell .action-bar button{color:#65452b;background:#ffcf83;border:1px solid #dfa65e;width:100%;box-shadow:0 3px #cd9a59;border-radius:16px!important;height:auto!important;min-height:44px!important;padding:4px!important;font-size:22px!important}.playing-page .scene-shell .action-bar button small{font-size:10px}.playing-page .scene-shell .action-bar .action-hu{color:#733f36;background:#f7a592}.playing-page .scene-shell .knock-status{white-space:normal;color:#365f53;font-size:10px}.playing-page:has(.scene-shell) .game-header{gap:6px;height:32px;inset:4px 10px auto}.playing-page:has(.scene-shell) .game-header>strong{color:#e3e8cc;font-size:17px}.playing-page:has(.scene-shell) .game-header button{color:#e6ecd6;background:#315e56;border:1px solid #6f927b;border-radius:13px;box-shadow:0 2px #183e35}.playing-page:has(.scene-shell) .rule-badge{color:#e6ecd6;background:#315e56;border:1px solid #6f927b;border-radius:13px;box-shadow:0 2px #183e35}.playing-page:has(.scene-shell) .rule-badge{font-size:10px}@media (max-width:740px) and (orientation:landscape){.playing-page:has(.scene-shell) .game-header>strong{letter-spacing:0;font-size:14px}.playing-page:has(.scene-shell) .rule-badge{display:none}.playing-page:has(.scene-shell) .game-header button{padding:3px 6px;font-size:10px}.playing-page .scene-shell .player-tag b{font-size:10px!important}}@media (orientation:portrait){.playing-page:has(.scene-shell){--hand-w:min(5.9vw,28px)}.playing-page .scene-shell .my-hand{max-width:96%!important}.playing-page .scene-shell .self-player .player-tag{bottom:var(--hand-dock)!important}.playing-page .scene-shell .top-player .player-tag{top:44px!important}.playing-page .scene-shell .webgl-table{top:84px}}.playing-page .scene-shell .table-center{text-align:center;grid-template-columns:minmax(0,1fr);gap:3px;display:grid!important}.playing-page .scene-shell .table-center>*{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;position:static!important}.playing-page .scene-shell .table-center .turn-timer{order:0;height:25px;display:block!important}.playing-page .scene-shell .table-center>span:not(.turn-announcement){order:1}.playing-page .scene-shell .table-center .turn-announcement{order:2;line-height:1.3}.playing-page:has(.scene-shell){--hand-h:max(44px,calc(var(--hand-w) * 1.36))}.playing-page .scene-shell .bot-player .seat-balance{display:none}.playing-page .scene-shell .action-bar{max-height:calc(54% - var(--hand-dock));top:46%!important;overflow:hidden auto!important}.playing-page .scene-shell .action-bar button{box-sizing:border-box;flex:none;min-width:0!important}.playing-page:has(.scene-shell) .game-header>strong{display:block!important}.playing-page .scene-shell .claim-context{color:#486b5c;z-index:30;background:#fffbea;border:1px solid #d6ba76;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:2px 5px;box-shadow:0 3px #b7cdb5;top:auto!important;left:auto!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:var(--edge-hud)!important;clip-path:none!important;height:auto!important;padding:5px!important;display:grid!important;position:absolute!important;overflow:visible!important;transform:none!important}.playing-page .scene-shell .claim-context>.mahjong-tile{border-radius:5px;outline:1px solid #e5bb63;grid-area:1/1/3;width:34px!important;height:46px!important;margin:0!important;transform:none!important;box-shadow:0 2px #6aa989!important}.playing-page .scene-shell .claim-context>span{white-space:normal;grid-area:1/2;font:10px/1.2 system-ui}.playing-page .scene-shell .claim-context>strong{white-space:normal;grid-area:2/2;font:700 12px/1.2 system-ui}@media (max-width:740px) and (orientation:landscape){.playing-page .scene-shell .claim-context{grid-template-columns:29px minmax(0,1fr);gap:2px 3px;padding:4px!important}.playing-page .scene-shell .claim-context>.mahjong-tile{width:28px!important;height:39px!important}.playing-page .scene-shell .claim-context>strong{font-size:11px}}.playing-page:has(.scene-shell) .game-header button{touch-action:manipulation;position:relative}.playing-page:has(.scene-shell) .game-header button:after{content:"";position:absolute;inset:-7px 0}.leave-confirm-dialog{color:#e3e8cc;background:#315e56;border:1px solid #6f927b;border-radius:20px;box-shadow:0 5px #8fbba8,0 15px 45px #183e3333}.leave-confirm-actions{gap:12px;display:flex}.leave-confirm-actions button{touch-action:manipulation;border-radius:12px;flex:1;min-height:44px}.leave-confirm-dialog .leave-confirm-actions button:first-child{color:#e3e8cc;background:#fffef5;border:1px solid #9ebdab}.leave-confirm-dialog .leave-confirm-actions button:first-child:hover{background:#edf6e7}.leave-confirm-actions button:last-child{color:#fff;background:#397b67}.leave-error{color:#a43e37;font-size:13px}.playing-page .scene-shell .webgl-table{opacity:0;pointer-events:none;transition:opacity .16s ease-out}.playing-page .scene-ready .webgl-table{opacity:1}.playing-page .scene-shell .table-loading{inset:40px var(--edge-hud) var(--hand-dock);color:#dbe5c4;pointer-events:none;background:radial-gradient(#34675b,#264b49);border-radius:28px;flex-direction:column;justify-content:center;align-items:center;gap:12px;font:500 12px/1.5 system-ui;display:flex;position:absolute}.loading-tile{background:#fffdf0;border:1px solid #c0d9bc;border-radius:9px;place-items:center;width:40px;height:52px;font:700 24px/1 serif;display:grid;box-shadow:0 4px #69ab8b}.playing-page .scene-fallback .discard-field{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;gap:16px 12px;inset:80px 26% calc(var(--hand-dock) + 30px)!important;display:grid!important;position:absolute!important;transform:none!important}.playing-page .scene-fallback .discard-pile{flex-wrap:wrap;place-content:start;gap:2px;overflow:auto;width:auto!important;height:auto!important;display:flex!important;position:relative!important;inset:auto!important;transform:none!important}.playing-page .scene-fallback .discard-pile-label{color:#426e60;background:0 0;border:0;flex:0 0 100%;width:100%;padding:2px 0;font-size:10px;position:static;inset:auto;transform:none}.playing-page .scene-fallback .discard-pile .mahjong-tile,.playing-page .scene-fallback .meld-row .mahjong-tile{flex:0 0 22px;width:22px!important;height:30px!important;transform:none!important}.playing-page .scene-fallback .pile-2{grid-area:1/2}.playing-page .scene-fallback .pile-3{grid-area:1/1}.playing-page .scene-fallback .pile-0{grid-area:2/1}.playing-page .scene-fallback .pile-1{grid-area:2/2}.playing-page .scene-fallback .hidden-hand{display:none!important}.playing-page .scene-fallback .meld-row{pointer-events:auto;flex-wrap:wrap;gap:3px;max-width:17%;display:flex!important;position:absolute!important;transform:none!important}.playing-page .scene-fallback .top-player .meld-row{max-width:40%;inset:42px auto auto 34%}.playing-page .scene-fallback .self-player .meld-row{bottom:var(--hand-dock);max-width:40%;top:auto;left:34%;right:auto}.playing-page .scene-fallback .left-player .meld-row{max-width:12%;inset:34% auto auto 13%}.playing-page .scene-fallback .right-player .meld-row{max-width:12%;inset:34% 13% auto auto}.playing-page .scene-fallback .flower-row{gap:2px;position:absolute!important;transform:none!important}.playing-page .scene-fallback .top-player .flower-row{inset:42px auto auto 70%}.playing-page .scene-fallback .self-player .flower-row{bottom:var(--hand-dock);top:auto;left:70%;right:auto}.playing-page .scene-fallback .left-player .flower-row{inset:65% auto auto 13%}.playing-page .scene-fallback .right-player .flower-row{inset:65% 13% auto auto}@media (prefers-reduced-motion:reduce){.playing-page .scene-shell .webgl-table,.playing-page .scene-shell .my-hand .mahjong-tile{transition:none}}.playing-page .scene-shell .player-tag{background:linear-gradient(145deg,#3c6a5c,#284e47)!important}.playing-page .scene-shell .active-player .player-tag{background:linear-gradient(145deg,#557451,#375944)!important}.playing-page .scene-shell .action-bar .action-pass{color:#f1ecd0;background:#3f695a;border-color:#8da78a;box-shadow:0 3px #204738}.playing-page .scene-fallback .discard-pile-label{color:#d9e4c8}.leave-confirm-dialog{color:#f0edd7;background:#315e56}.leave-confirm-dialog [data-slot=dialog-description]{color:#d3dec4}.leave-confirm-dialog .leave-confirm-actions button:first-child{color:#365f56}.playing-page:has(.scene-shell){background:linear-gradient(#1f2c35 0, #1f2c35 calc(100% - var(--hand-dock) - 10px), #141d23 100%);color:#eef3f5}@media (orientation:landscape){.playing-page:has(.scene-shell){--hand-w:clamp(30px, 5.3vw, 66px)}}.playing-page .scene-shell .table-loading{color:#e4f4f1;background:radial-gradient(#2a8f87,#1f2c35 72%)}.loading-tile{border-color:#d9d4c4;box-shadow:0 4px #1fa25e}.playing-page:has(.scene-shell) .game-header>strong{color:#f3f6f8;text-shadow:0 2px 4px #0008}.playing-page:has(.scene-shell) .game-header button{color:#e8eef2;background:#0e171cb8;border:1px solid #ffffff2b;border-radius:16px;box-shadow:0 2px 6px #0005}.playing-page:has(.scene-shell) .rule-badge{color:#e8eef2;background:#0e171cb8;border:1px solid #ffffff2b;border-radius:16px;box-shadow:0 2px 6px #0005}.playing-page:has(.scene-shell) .game-header button:hover{background:#22323cd9}.playing-page:has(.scene-shell) .connection-status{color:#9fe3c0}.playing-page .scene-shell .player-tag{color:#f3f6f8;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important;gap:3px!important;padding:0!important}.playing-page .scene-shell .mini-avatar{background:#3d5563;overflow:visible;border:2px solid #e9eef2!important;border-radius:12px!important;width:50px!important;height:50px!important;box-shadow:0 3px 8px #0007!important}.playing-page .scene-shell .mini-avatar .avatar-art{border-radius:10px}.playing-page .scene-shell .mini-avatar em{color:#3b2a07;background:#f2c24e;border:1px solid #fff6d8;width:18px;height:18px;font-size:11px;font-weight:700;bottom:-5px;right:-5px}.playing-page .scene-shell .player-tag b{text-shadow:0 1px 3px #000a;color:#f3f6f8!important}.playing-page .scene-shell .seat-balance{font-variant-numeric:tabular-nums;background:#0d1519e0;border:1px solid #ffffff1f;border-radius:9px;padding:1px 9px;font-weight:800;color:#ffd36b!important}.playing-page .scene-shell .seat-balance small{color:#c9d3d8}.playing-page .scene-shell .active-player .player-tag{background:0 0!important;outline:0!important}.playing-page .scene-shell .active-player .mini-avatar{border-color:#ffd36b!important;box-shadow:0 0 0 3px #ffd36b55,0 0 18px #ffcf5a!important}.playing-page .scene-shell .top-player .player-tag{width:auto!important;max-width:220px!important}.playing-page .scene-shell .top-player .mini-avatar{border-radius:9px!important;width:32px!important;height:32px!important}.playing-page .scene-shell .top-player .player-tag b{align-self:center}.playing-page .scene-ready .table-center:not(:has(.turn-announcement)){display:none!important}.playing-page .scene-ready .table-center{background:#0e171cd0!important;border:1px solid #ffffff26!important;border-radius:12px!important;padding:6px!important;box-shadow:0 3px 10px #0006!important}.playing-page .scene-ready .table-center .turn-announcement{font-weight:700;color:#e8eef2!important;font-size:12px!important}.playing-page .scene-ready .table-center .your-turn{color:#ffd36b!important}.playing-page .scene-shell .my-hand{gap:3px!important}.playing-page .scene-shell .my-hand .mahjong-tile{filter:none!important;background:linear-gradient(#fff 0,#f6f3ea 78%,#ebe5d6 100%)!important;border:1px solid #d6d0c0!important;border-radius:8px!important;box-shadow:inset 0 -3px #e2dbc8,0 5px #23a55f,0 7px #167a41,0 10px 9px #000a!important}.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled){cursor:pointer}.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):active{outline:0!important;transform:translateY(-10px)!important;box-shadow:inset 0 -3px #e2dbc8,0 5px #23a55f,0 7px #167a41,0 0 0 2px #ffd36b,0 14px 14px #000a!important}.playing-page .scene-shell .my-hand .mahjong-tile:focus-visible{outline:0!important;transform:translateY(-10px)!important;box-shadow:inset 0 -3px #e2dbc8,0 5px #23a55f,0 7px #167a41,0 0 0 2px #ffd36b,0 14px 14px #000a!important}@media (hover:hover){.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):hover{transform:translateY(-8px)!important}}.playing-page .scene-shell .my-hand .mahjong-tile{transition:transform 90ms ease-out,box-shadow 90ms ease-out!important}.playing-page .scene-shell .my-hand .mahjong-tile.drawn-tile{animation:.26s cubic-bezier(.2,.9,.3,1.2) hand-draw-in;position:relative}@keyframes hand-draw-in{0%{opacity:0;top:-34px}to{opacity:1;top:0}}.playing-page .scene-shell .action-bar{animation:.18s cubic-bezier(.2,.9,.3,1.3) claim-pop}@keyframes claim-pop{0%{opacity:0;scale:.85}to{opacity:1;scale:1}}.playing-page .scene-shell .action-bar button.action-button,.playing-page .scene-shell .action-bar button.action-pass{text-shadow:0 2px #0006;font-family:KaiTi,STKaiti,serif;font-weight:900;transition:transform 80ms ease-out;color:#fff!important;border:2px solid #ffffffb0!important;border-radius:999px!important}.playing-page .scene-shell .action-bar button:active{transform:translateY(3px)scale(.97)}.playing-page .scene-shell .action-bar button small{color:#ffffffe0;text-shadow:none;font-family:system-ui,sans-serif}.playing-page .scene-shell .action-bar .action-chi{background:linear-gradient(#66d993,#22964f)!important;box-shadow:0 4px #17693a,0 7px 10px #0007!important}.playing-page .scene-shell .action-bar .action-peng{background:linear-gradient(#62bdff,#2273de)!important;box-shadow:0 4px #18509c,0 7px 10px #0007!important}.playing-page .scene-shell .action-bar .action-gang{background:linear-gradient(#bb95ff,#7748dc)!important;box-shadow:0 4px #523095,0 7px 10px #0007!important}.playing-page .scene-shell .action-bar .action-knock{background:linear-gradient(#ff9a8f,#e0474e)!important;box-shadow:0 4px #9c2a30,0 7px 10px #0007!important}.playing-page .scene-shell .action-bar .action-pass{text-shadow:none;color:#31495a!important;background:linear-gradient(#f4f7f9,#c6d0d7)!important;box-shadow:0 4px #82919b,0 7px 10px #0007!important}.playing-page .scene-shell .knock-status{color:#ffd36b}.playing-page .scene-shell .claim-context{color:#eef3f5!important;background:#0e171cd9!important;border-color:#ffffff2b!important;box-shadow:0 3px 10px #0006!important}.playing-page .scene-shell .claim-context>.mahjong-tile{background:#fffdf6;outline-color:#ffd36b;box-shadow:0 3px #23a55f!important}@media (prefers-reduced-motion:reduce){.playing-page .scene-shell .my-hand .mahjong-tile.drawn-tile,.playing-page .scene-shell .action-bar{animation:none}}.playing-page .scene-fallback .flower-row{flex-wrap:wrap;max-width:min(94px,25%)}.playing-page .scene-fallback .flower-row .mahjong-tile,.playing-page .scene-fallback .revealed-hand .mahjong-tile{flex-shrink:0;width:22px!important;height:30px!important;transform:none!important}.playing-page:has(.scene-shell){--hand-dock:calc(var(--hand-h) + 62px);background:radial-gradient(at 50% 38%,#244b44,#101f21 85%)}.playing-page .scene-shell .player-tag,.playing-page .scene-shell .table-center{color:#f3ecd9;background:linear-gradient(145deg,#24463eee,#122c29f5)!important;border:1px solid #b4a06a55!important;box-shadow:inset 0 1px #fff1c714,0 5px 14px #0004!important}.playing-page .scene-shell .active-player .player-tag{background:linear-gradient(145deg,#456044,#203e32)!important;outline:1px solid #e2c47e!important;box-shadow:0 0 0 4px #e2c47e12,0 4px 16px #0005!important}.playing-page .scene-shell .my-hand:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#263c34,#142923);border:1px solid #d8c18b26;border-radius:14px;position:absolute;inset:-7px -12px -10px;box-shadow:inset 0 1px #fff1cc1a,0 10px 24px #0005}.playing-page .scene-shell .my-hand .mahjong-tile{will-change:transform;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:linear-gradient(115deg,#fffef6 8%,#f4ebd6 80%,#e0d4b8)!important;border:1px solid #e1d5b7!important;border-radius:7px!important;transition:transform .1s cubic-bezier(.2,.8,.25,1)!important;box-shadow:inset 1px 2px 1px #fff,inset -2px 0 2px #c8b99555,0 3px #74a18b,0 6px #275948,0 9px 10px #0005!important}.playing-page .scene-shell .my-hand .mahjong-tile:disabled{filter:saturate(.78)brightness(.94)!important}.playing-page .scene-ready .table-center .turn-timer,.playing-page .scene-ready .table-center>span:not(.turn-announcement){display:block!important}.playing-page .scene-shell .table-center .turn-timer.urgent>span{color:#ffad8e}.playing-page .scene-shell .my-hand .mahjong-tile.selected-tile,.playing-page .scene-shell .my-hand .mahjong-tile.selected-tile:hover{outline-offset:1px;outline:2px solid #f1ce7c;transform:translateY(-13px)!important;box-shadow:inset 1px 2px 1px #fff,0 3px #d1b36a,0 6px #7a6336,0 14px 18px #0006,0 0 18px #efc76b33!important}.playing-page .scene-shell .my-hand .mahjong-tile:focus-visible{outline-offset:3px;outline:2px solid #ffe3a1}.playing-page .scene-shell .action-bar button{text-shadow:0 1px #fff5;transition:transform .1s,filter .1s;color:#352719!important;background:linear-gradient(#e2c78d,#b58c48)!important;border:1px solid #ead19c66!important;box-shadow:inset 0 1px #fff5,0 3px #715229,0 6px 12px #0005!important}.playing-page .scene-shell .action-bar button small{color:#49351e}.playing-page .scene-shell .action-bar .action-button{white-space:nowrap;justify-content:center;align-items:center;gap:5px;display:inline-flex!important}.playing-page .scene-shell .action-bar .action-tile-group{align-items:center;gap:2px;display:inline-flex}.playing-page .scene-shell .action-bar .action-tile-chip{pointer-events:none;background:#fffdf6;border:1px solid #d6c8a8;border-radius:4px;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:27px;padding:1px;display:inline-flex;overflow:hidden;box-shadow:0 2px #238a53,0 2px 4px #0004}.playing-page .scene-shell .action-bar .action-tile-chip img{object-fit:contain;width:100%;height:100%;display:block}.playing-page .scene-shell .action-bar .action-hu{background:linear-gradient(#f3d58a,#d89939)!important;box-shadow:inset 0 1px #fff7,0 3px #886029,0 0 18px #e8b44933!important}.playing-page .scene-shell .action-bar .action-pass{color:#eadfbe!important;background:linear-gradient(#38574c,#203e33)!important;box-shadow:0 3px #102a20,0 6px 12px #0004!important}.playing-page .scene-shell .action-bar button:not(:disabled):active{filter:brightness(1.12);transform:translateY(3px)}.playing-page .scene-shell .claim-context{background:#152c26ee!important;border-color:#d6bc7844!important}@media (hover:hover){.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):hover{filter:brightness(1.04);transform:translateY(-6px)!important}.playing-page .scene-shell .my-hand .mahjong-tile.selected-tile:hover{transform:translateY(-13px)!important}.playing-page .scene-shell .action-bar button:not(:disabled):hover{filter:brightness(1.1)}}@media (orientation:portrait){.playing-page .scene-shell .claim-context{bottom:calc(var(--hand-dock) + 5px)!important}}@media (orientation:landscape){.playing-page .scene-shell .webgl-table{top:32px;bottom:calc(var(--hand-dock) - 28px)}.playing-page:has(.scene-shell){--hand-w:min(66px, calc((100vw - 2 * var(--edge-hud) - 84px) / 14))}}@media (prefers-reduced-motion:reduce){.playing-page .scene-shell .my-hand .mahjong-tile,.playing-page .scene-shell .action-bar button{animation:none;transition:none!important}}.playing-page .scene-ready.round-ended .my-hand{display:none!important}.playing-page .round-ended .webgl-table{bottom:max(50px, calc(env(safe-area-inset-bottom) + 44px))}.playing-page .scene-shell .player-tag.winning-seat{background:linear-gradient(145deg,#814523,#482a19)!important;outline:2px solid #ffda79!important}.win-seal{color:#49260e;background:#ffdb82;border-radius:4px;margin-right:4px;padding:2px 4px;font-weight:800;display:inline-block}.playing-page .scene-ready .round-summary{top:auto;left:50%;bottom:max(5px, env(safe-area-inset-bottom));white-space:nowrap;background:#17392e;border:1px solid #b09a61;border-radius:24px;align-items:center;padding:3px 4px 3px 10px;display:flex;transform:translate(-50%)}.playing-page .round-summary button{color:#392a10;background:linear-gradient(#ffebb2,#e5b85f);border:1px solid #ffdf95;border-radius:20px;padding-inline:14px;font-weight:700}.round-winning-tile{color:#ffe29c;align-items:center;gap:4px;font-size:clamp(11px,2.8vw,14px);display:inline-flex}.playing-page .round-winning-tile .mahjong-tile{min-width:21px;margin:0;width:21px!important;height:28px!important}@media (max-width:540px){.playing-page .scene-ready .round-summary{white-space:normal;flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 16px)}}@media (orientation:portrait){.playing-page .scene-shell .top-player .player-tag{top:42px!important;left:auto!important;right:10px!important;transform:none!important}.playing-page .scene-shell .webgl-table{top:42px}}@media (orientation:landscape){.playing-page .scene-shell .top-player .player-tag{top:40px!important;right:calc(var(--edge-hud) + 12px)!important;left:auto!important;transform:none!important}.playing-page .scene-shell .right-player .player-tag{top:30%!important}.playing-page .scene-shell .webgl-table{top:4px;bottom:calc(var(--hand-dock) - 6px)}}.tea-home,.game-shell.lobby-page{color:#304d2c;background:#753 url(/images/teahouse-lobby.148bfb5f0110.webp) 50%/cover no-repeat;font-family:Microsoft YaHei,PingFang SC,sans-serif}.tea-home{min-height:var(--game-height,100dvh);padding:0;overflow:auto}.tea-lobby{min-height:var(--game-height,100dvh);isolation:isolate;position:relative}.tea-header{align-items:flex-start;gap:16px;height:18vh;min-height:60px;padding:18px 4%;display:flex}.tea-brand{color:#ffebae;text-shadow:0 3px 2px #4a2d18;cursor:pointer;font:700 clamp(30px,4.8vw,76px)/1.2 KaiTi,STKaiti,serif}.tea-menu-trigger,.tea-back{color:#fff0bc;cursor:pointer;background:#345b35;border:2px solid #e9ce83;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 3px 5px #39260c66}.tea-menu-trigger{margin-left:auto}.tea-back{position:absolute;top:21%;left:4%}.tea-home-actions{flex-direction:column;align-items:center;gap:24px;display:flex;position:absolute;top:37%;left:46%;right:7%}.tea-primary{color:#fff0bc;text-shadow:0 2px 2px #173e29;cursor:pointer;background:#365c34 url(/images/tea-button.39ad83c7f178.webp) 50%/100% 150% no-repeat;border:2px solid #dfc27b;border-radius:60px;justify-content:center;align-items:center;min-height:48px;padding:12px 28px;font:700 clamp(18px,2.4vw,34px)/1.35 KaiTi,STKaiti,serif;display:flex;box-shadow:0 4px 7px #4f371d44}.tea-secondary{color:#37532c;cursor:pointer;background:#f7e9bf;border:2px solid #bda46a;border-radius:40px;justify-content:center;align-items:center;min-height:42px;padding:10px 28px;font:700 clamp(16px,1.8vw,27px)/1.3 KaiTi,STKaiti,serif;display:flex;box-shadow:0 3px 5px #42271433}.tea-home-actions .tea-primary{width:100%;height:clamp(80px,24vh,190px);font-size:clamp(34px,5.6vw,88px)}.tea-home-actions .tea-secondary{width:74%;min-height:clamp(48px,12vh,90px);font-size:clamp(23px,3.2vw,48px)}.tea-lobby button,.tea-lobby a{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:filter .12s,transform .12s}.tea-lobby button:not(:disabled):active{transform:translateY(2px)}:is(.tea-lobby button:focus-visible,.tea-lobby a:focus-visible){outline-offset:4px;outline:3px solid #fff6c4}.tea-lobby button:disabled{opacity:.5;cursor:default}.tea-stage{width:73%;margin:0 4% 0 auto;padding-bottom:18px}.tea-stage h1{text-align:center;color:#fff0bd;text-shadow:0 2px 3px #402814;margin:0 0 16px;font:700 clamp(24px,3vw,44px)/1.2 KaiTi,STKaiti,serif}.tea-panel{color:#34502c;background:#fcf1dbef;border:2px solid #cbb07b;border-radius:24px;box-shadow:inset 0 0 0 4px #fff8e5,0 8px 20px #432c1844}.tea-mode-list{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.tea-mode{cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:clamp(185px,54vh,400px);padding:20px 8px;display:flex}.tea-mode>svg{color:#638453;width:clamp(32px,5vw,70px);height:clamp(32px,5vw,70px)}.tea-mode strong{font:700 clamp(22px,2.7vw,40px)/1.3 KaiTi,STKaiti,serif}.tea-mode span{color:#7a6040;font-size:clamp(11px,1.2vw,17px)}.tea-rule-layout{grid-template-columns:29% 1fr;gap:22px;padding:16px;display:grid}.tea-rule-list{flex-direction:column;gap:7px;display:flex}.tea-rule-list button{cursor:pointer;background:#fff8e8;border:1px solid #d7bd8e;border-radius:12px;justify-content:space-between;align-items:center;min-height:38px;padding:10px 12px;font:700 clamp(15px,1.7vw,25px)/1.2 KaiTi,STKaiti,serif;display:flex}.tea-rule-list button[aria-pressed=true]{color:#fff1c1;background:#426c3e;border-color:#dfbf67}.tea-rule-list svg{width:18px;height:18px}.tea-rule-detail{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.tea-rule-detail h2{margin:0;font:700 clamp(24px,3.5vw,48px)/1.2 KaiTi,STKaiti,serif}.tea-rule-detail p{margin:0;font-size:clamp(12px,1.3vw,18px)}.tea-rule-detail .tea-primary{min-width:72%;margin-top:6px}.tea-rule-detail label{font-size:13px}.tea-rule-detail select{background:#fff9ec;border:1px solid #bd9e65;border-radius:8px;margin-left:8px;padding:5px}.tea-fine{color:#7c684c;font:12px/1.55 Microsoft YaHei,sans-serif!important}.tea-link{font-size:13px;text-decoration:underline}.tea-join{grid-template-columns:1fr 130px;align-items:center;gap:12px 20px;max-width:640px;margin:auto;padding:16px 24px;display:grid}.tea-join>label{text-align:center;grid-column:1/-1;font-size:13px}.tea-join input{text-align:center;letter-spacing:.4em;background:#fff9ec;border:1px solid #bda06e;border-radius:10px;grid-column:1/-1;width:100%;min-width:0;padding:8px;font:600 26px/1.2 monospace}.tea-keypad{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.tea-keypad button{cursor:pointer;background:#f7e9ce;border:1px solid #c9ae77;border-radius:9px;place-items:center;min-height:37px;font-size:19px;display:grid}.tea-keypad button[aria-label=清空]{font-size:13px}.tea-join>.tea-primary{padding:14px;font-size:21px}.tea-matching{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:24px;display:flex}.tea-matching h1{color:#34502c;text-shadow:none;margin:0}.tea-matching p{margin:0}.tea-match-seats{grid-template-columns:repeat(4,1fr);gap:12px;width:100%;display:grid}.tea-match-seats>div{flex-direction:column;align-items:center;gap:8px;font-size:13px;display:flex}.tea-match-seats img,.tea-match-seats svg{border-radius:50%;width:58px;height:58px}.tea-spinner{color:#9a895c;animation:2s linear infinite tea-spin}@keyframes tea-spin{to{transform:rotate(360deg)}}.tea-account{padding:24px}.tea-profile{align-items:center;gap:18px;display:flex}.tea-profile img{border:2px solid #c3a363;border-radius:50%;width:70px;height:70px}.tea-profile h2{margin:0;font:700 28px/1.2 KaiTi,serif}.tea-profile p{color:#806b4e;font-size:13px}.tea-balances{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;display:grid}.tea-balances>div{text-align:center;border-right:1px solid #cbb487}.tea-balances>div:last-child{border:0}.tea-balances span,.tea-balances strong{display:block}.tea-balances strong{font:700 28px/1.4 KaiTi,serif}.tea-account-actions{justify-content:center;gap:20px;display:flex}.tea-account-actions>button{min-width:35%}.tea-account .tea-fine{text-align:center;margin-top:14px}.tea-support{flex-direction:column;align-items:center;gap:18px;padding:28px;display:flex}.tea-support>svg{width:40px;height:40px}.tea-support a{width:70%}.auth-dialog,.recharge-dialog,.withdrawal-dialog,.tea-dialog,.leave-confirm-dialog,.result-panel{color:#35502c!important;background:#fcf2dc!important;border:2px solid #c7ab73!important;border-radius:24px!important;box-shadow:inset 0 0 0 4px #fff9e9,0 15px 50px #34200c66!important}.auth-dialog,.recharge-dialog,.withdrawal-dialog,.tea-dialog{max-height:calc(var(--game-height,100dvh) - 28px);padding:24px;overflow-y:auto}.auth-dialog [data-slot=dialog-title],.recharge-dialog [data-slot=dialog-title],.withdrawal-dialog [data-slot=dialog-title],.tea-dialog [data-slot=dialog-title],.leave-confirm-dialog [data-slot=dialog-title]{color:#35502c;font:700 27px/1.3 KaiTi,STKaiti,serif}.auth-dialog [data-slot=dialog-description],.recharge-dialog [data-slot=dialog-description],.withdrawal-dialog [data-slot=dialog-description],.leave-confirm-dialog [data-slot=dialog-description]{color:#7b684c!important}.auth-dialog input,.withdrawal-dialog input,.withdrawal-dialog select,.withdrawal-dialog textarea{min-height:40px;color:#3b4c30!important;background:#fffbf2!important;border:1px solid #cbb180!important;border-radius:9px!important}.auth-dialog button[type=submit],.withdrawal-dialog button[type=submit],.leave-confirm-actions button:last-child,.recharge-dialog .tea-primary{border:1px solid #d7b96e;border-radius:24px;min-height:42px;color:#fff0bf!important;background:#42683b url(/images/tea-button.39ad83c7f178.webp) 50%/100% 150% no-repeat!important}.auth-dialog [data-slot=tabs-list],.withdrawal-dialog [data-slot=tabs-list]{color:#526044;background:#eadfc3}.auth-dialog [data-slot=tabs-trigger][data-active],.withdrawal-dialog [data-slot=tabs-trigger][data-active]{color:#fff4d0;background:#4b6c3e}.auth-dialog .recovery-code,.withdrawal-dialog .withdrawal-quote,.withdrawal-dialog .withdrawal-record,.withdrawal-dialog .withdrawal-rules,.withdrawal-dialog .withdrawal-balance{color:#425635;background:#f3e8cd;border-color:#d1ba8b}.leave-confirm-dialog .leave-confirm-actions button:first-child{color:#35502c;background:#fff8e5}.tea-menu.tea-dialog{--menu-top:max(10px, env(safe-area-inset-top));--menu-bottom:max(10px, env(safe-area-inset-bottom));--menu-left:max(10px, env(safe-area-inset-left));--menu-right:max(10px, env(safe-area-inset-right));top:var(--menu-top);right:var(--menu-right);width:280px;max-width:calc(100vw - var(--menu-left) - var(--menu-right));max-height:calc(100vh - var(--menu-top) - var(--menu-bottom));max-height:calc(100dvh - var(--menu-top) - var(--menu-bottom));grid-template-rows:auto minmax(0,1fr);gap:6px;padding:14px;left:auto;overflow:hidden;transform:none}.tea-menu nav{overscroll-behavior-y:contain;touch-action:pan-y;flex-direction:column;gap:3px;display:flex;overflow-y:auto}.tea-menu nav button{color:#425635;text-align:left;cursor:pointer;background:0 0;border:0;flex-shrink:0;align-items:center;gap:12px;min-height:40px;padding:10px;font-size:14px;display:flex}.tea-menu nav button:hover{background:#eee1bc}.tea-menu nav button span{margin-left:auto}.tea-menu nav svg{width:19px;height:19px}.recharge-dialog .package-list{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.recharge-dialog .package-list button{color:#42603a;background:#fff9e8;border:1px solid #c9ad73;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:92px;padding:14px 5px;display:flex}.recharge-dialog .package-list button[aria-pressed=true]{color:#fff0c3;background:#44683c;border:2px solid #d4b365}.recharge-dialog .package-list button b{color:inherit;font-size:17px}.recharge-dialog .package-list button span{color:inherit}.recharge-dialog .payment-note,.recharge-dialog .payment-warning{color:#806744}.recharge-dialog .tea-primary{width:80%;margin:12px auto 0}.game-shell.lobby-page{min-height:var(--game-height,100dvh);padding-top:68px}.lobby-page .waiting-room{color:#35502c;background:#fcf1dbee;border:2px solid #c7ab73;border-radius:24px;width:min(900px,92%);margin:0 auto 20px;padding:20px}.lobby-page .waiting-heading h1{color:#35502c;font-family:KaiTi,STKaiti,serif}.lobby-page .waiting-heading p{color:#7a6446}.lobby-page .seat-card{color:#35502c;background:#fff9e9;border:1px solid #d3bc8f;border-radius:18px}.lobby-page .seat-card .avatar{padding:0;overflow:hidden}.lobby-page .seat-card .avatar img{object-fit:cover;width:100%;height:100%}.lobby-page .seat-card span{color:#746349}.lobby-page .waiting-actions button{border-radius:24px;min-height:42px}.lobby-page .ready-button,.lobby-page .start-button{color:#fff1c4;background:#42673b url(/images/tea-button.39ad83c7f178.webp) 50%/100% 150%}.lobby-page .chat-dock{color:#3e5735;background:#fcf1dbef;border:1px solid #c7ab73;border-radius:18px}.lobby-page .chat-log p,.lobby-page .chat-input input{color:#405535;background:#fff8e8}.playing-page:has(.scene-shell){background:#6d4f32 url(/images/teahouse-lobby.148bfb5f0110.webp) 50%/cover no-repeat}.playing-page .scene-shell .player-tag,.playing-page .scene-shell .table-center{background:#3b4d2def!important;border-color:#d6ba7b88!important}.playing-page .scene-shell .my-hand:before{background:#715437;border-color:#c6a267}:is(.playing-page:has(.scene-shell) .game-header button,.lobby-page .game-header button){color:#3c532f;background:#f8eac6;border:1px solid #c0a267}.playing-page .result-panel h2,.playing-page .result-panel p,.playing-page .score-summary{color:#38542f}.playing-page .settlement-row,.playing-page .settlement-details{color:#37502e;background:#f7e8c7;border-color:#cbb17c}@media (hover:hover){.tea-lobby button:not(:disabled):hover{filter:brightness(1.08)}}@media (max-height:440px) and (orientation:landscape){.tea-header{height:60px;padding-top:10px}.tea-brand{font-size:36px}.tea-stage{width:74%}.tea-stage h1{margin-bottom:9px;font-size:25px}.tea-rule-layout{gap:12px;padding:10px}.tea-rule-list{gap:4px}.tea-rule-list button{min-height:32px;padding:7px}.tea-rule-detail{gap:6px}.tea-rule-detail .tea-primary{min-height:39px;padding:6px 20px}.tea-rule-detail p,.tea-fine{font-size:11px!important}.tea-join{gap:6px 16px;padding:10px 18px}.tea-keypad button{min-height:31px}.tea-join input{padding:5px;font-size:23px}.tea-home-actions{gap:17px}.tea-account{padding:15px}.tea-profile img{width:48px;height:48px}.tea-balances{margin:12px 0}.lobby-page .waiting-room{padding:12px}.lobby-page .waiting-heading h1{font-size:23px}.lobby-page .waiting-heading p{font-size:11px}.lobby-page .seat-card{min-height:110px;padding:8px}.auth-dialog,.recharge-dialog,.withdrawal-dialog{padding:16px 22px}}@media (orientation:portrait){.tea-lobby{background:#60422855}.tea-header{height:95px;padding:20px}.tea-brand{font-size:38px}.tea-back{order:-1;position:static}.tea-lobby:not(.tea-view-home) .tea-brand{font-size:27px}.tea-home-actions{inset:auto 8% 10%}.tea-home-actions .tea-primary{height:90px;font-size:38px}.tea-home-actions .tea-secondary{width:85%;min-height:55px;font-size:25px}.tea-stage{width:92%;margin:0 auto}.tea-mode-list{grid-template-columns:1fr;gap:12px}.tea-mode{flex-flow:wrap;gap:12px;min-height:135px}.tea-mode span{text-align:center;flex-basis:100%;font-size:14px}.tea-rule-layout{grid-template-columns:1fr;gap:20px}.tea-rule-list{grid-template-columns:1fr 1fr;display:grid}.tea-rule-list button{min-height:44px}.tea-rule-detail{gap:16px}.tea-rule-detail .tea-primary{width:100%}.tea-join{grid-template-columns:1fr}.tea-keypad button{min-height:48px}.tea-balances{gap:4px}.tea-balances span{font-size:12px}.tea-balances strong{font-size:24px}.tea-account-actions{gap:8px}.tea-account-actions button{padding:10px 15px;font-size:20px}.recharge-dialog .package-list{grid-template-columns:repeat(3,1fr)}}@media (prefers-reduced-motion:reduce){.tea-spinner{animation:none}.tea-lobby button{transition:none}}.tea-rule-list{border:0;min-width:0;margin:0;padding:0}.tea-chat-trigger{color:#37532c;background:#f7e9bf;border-color:#bda46a;border-radius:28px;position:fixed;bottom:22px;right:24px}.tea-chat-dialog .chat-dock{background:0 0;border:0;width:100%;margin:0;position:static}.tea-chat-dialog .chat-log{min-height:140px;max-height:40vh;overflow:auto}.tea-chat-dialog .chat-log p,.tea-chat-dialog .chat-input input{color:#405535;background:#fff8e8}.tea-chat-dialog .chat-log b{color:#806744}.tea-chat-dialog .chat-input button{color:#fff1c4;background:#42673b}.playing-page .result-panel .score-patterns span,.playing-page .result-panel .score-patterns b{color:#405535;background:#e6d8b8}.playing-page .result-panel .settlement-hand-name{color:#405535}.recharge-dialog{width:min(760px,100vw - 28px);max-width:min(760px,100vw - 28px);overflow-x:hidden}.recharge-dialog .package-list{min-width:0}.recharge-dialog .package-list button{min-width:0;height:auto}.recharge-dialog .payment-note,.recharge-dialog .payment-warning{overflow-wrap:anywhere}@media (max-height:440px) and (orientation:landscape){.recharge-dialog .package-list button{min-height:76px;padding:8px 4px}.recharge-dialog .package-list button b{font-size:15px}}@media (orientation:portrait){.tea-home{background-position:19%}}@media (any-pointer:coarse){:is(.auth-dialog,.withdrawal-dialog,.tea-chat-dialog,.tea-lobby) :is(input:not([type=checkbox],[type=radio],#tea-room-code),textarea,select){font-size:max(16px,1em)}:is(.auth-dialog,.withdrawal-dialog,.tea-chat-dialog):focus-within{top:var(--dialog-viewport-center,50%);max-height:max(1px, calc(var(--dialog-viewport-height,100dvh) - 16px))}}.round-summary{z-index:35;color:#fff0bd;justify-items:start;gap:6px;display:grid;position:absolute;top:19%;left:12px}.round-summary strong{background:#17392e;border-radius:6px;padding:4px 8px}.round-summary button,.round-settlement-actions button:last-child{color:#fff0bd;background:#365c34}.tea-dialog.round-settlement{gap:12px;width:min(680px,100vw - 24px);max-width:none}.round-settlement .score-settlement{width:100%;max-width:none;box-shadow:none;color:#35502c;background:0 0;border:0;margin:0;padding:0}.round-settlement .score-summary{color:#35502c}.round-settlement .score-entries>div,.round-settlement .chicken-reveal{color:#35502c;background:#fff9eb;border-color:#d9c497}.round-settlement .score-entries>div.winner{background:#eee0b8;border-color:#b7944e}.round-settlement .score-entries em{color:#526346}.round-settlement .score-entries .gain{color:#24602c}.round-settlement .score-entries .loss{color:#9d392a}.round-settlement-actions{justify-content:flex-end;gap:8px;display:flex}.revealed-hand{z-index:12;gap:2px;display:flex;position:absolute}.revealed-hand .mahjong-tile{--tile-w:clamp(12px, 2cqw, 28px);width:var(--tile-w);height:calc(var(--tile-w) * 1.35);min-width:0}.top-player .revealed-hand{top:38px;left:50%;transform:translate(-50%)}.left-player .revealed-hand,.right-player .revealed-hand{flex-direction:column;top:50%;transform:translateY(-50%)}.left-player .revealed-hand{left:5px}.right-player .revealed-hand{right:5px}.left-player .revealed-hand .mahjong-tile,.right-player .revealed-hand .mahjong-tile{height:clamp(9px,3.3cqh,23px)}.playing-page .scene-shell .webgl-table,.playing-page .round-ended .webgl-table{inset:0!important}.tea-account-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.tea-account-actions>button{flex:120px;min-width:0;padding:10px 14px;font-size:clamp(14px,1.6vw,18px)}.tea-referral{max-height:74vh;overflow-y:auto}.tea-referral-share{gap:8px;margin:8px 0 12px;display:grid}.tea-referral-share .tea-fine{text-align:left;margin:0}.tea-referral-link-row{align-items:center;gap:8px;display:flex}.tea-referral-link-row input{color:#35502c;background:#fffaf0;border:1px solid #c9ad73;border-radius:10px;flex:1;min-width:0;height:40px;padding:0 10px;font-size:13px}.tea-referral-link-row button{white-space:nowrap;flex:none;gap:5px;height:40px;min-height:40px;padding:0 14px;font-size:14px}.tea-referral-error{color:#9d392a!important}.tea-referral-sections{text-align:left;gap:12px;display:grid}.tea-referral-list>strong{color:#35502c;margin-bottom:6px;font-size:13px;display:block}.tea-referral-list>div{gap:5px;display:grid}.tea-referral-row{color:#35502c;background:#fff9eb;border:1px solid #e2cfa4;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.tea-referral-row em{color:#7c684c;font-style:normal}.tea-referral-row b{color:#24602c;white-space:nowrap}.auth-form{gap:9px!important}.auth-email-row{align-items:stretch;gap:8px;display:flex}.auth-email-row input{flex:1;min-width:0}.auth-email-row .auth-code-btn{white-space:nowrap;border-radius:9px;flex:none;height:42px;min-height:42px;padding:0 12px;font-size:13px;font-weight:700;color:#35502c!important;background:#efe2c4!important;border:1px solid #c5a86d!important}.auth-email-row .auth-code-btn:hover:not(:disabled){background:#e6d3ab!important}.auth-status{color:#2a5b2c;background:#e5f0df;border-radius:8px;margin:0;padding:6px 10px;font-size:12px;font-weight:600}.auth-mode-switch{background:#eadfc3;border-radius:10px;grid-template-columns:1fr 1fr;gap:6px;padding:3px;display:grid}.auth-mode-switch button{color:#526044;cursor:pointer;background:0 0;border:0;border-radius:8px;height:34px;min-height:34px;font-size:13px;font-weight:700}.auth-mode-switch button[data-active=true]{color:#fff4d0;background:#4b6c3e}.playing-page .scene-shell .player-tag{background:#122a20eb!important;border:1px solid #dac0808f!important;border-radius:12px!important;flex-flow:row!important;align-items:center!important;gap:6px!important;width:auto!important;min-width:0!important;max-width:146px!important;padding:3px 9px 3px 4px!important;display:inline-flex!important;box-shadow:0 3px 8px #00000057!important}.playing-page .scene-shell .player-tag .mini-avatar{position:relative;border:1.5px solid #e6d39a!important;border-radius:8px!important;flex:0 0 30px!important;width:30px!important;height:30px!important;box-shadow:0 2px 5px #00000052!important}.playing-page .scene-shell .player-tag .mini-avatar .avatar-art{border-radius:6px!important}.playing-page .scene-shell .player-tag .mini-avatar em{width:14px!important;height:14px!important;font-size:9px!important;bottom:-4px!important;right:-4px!important}.playing-page .scene-shell .player-tag b{white-space:nowrap!important;color:#f6f3e4!important;align-self:center!important;font-size:11px!important;line-height:1.2!important}.playing-page .scene-shell .player-tag .seat-balance{white-space:nowrap!important;border-radius:8px!important;padding:1px 6px!important;font-size:10px!important;line-height:1.15!important}.playing-page .scene-shell .active-player .player-tag{background:#183829f5!important;border-color:#ffd36b!important;box-shadow:0 0 0 2px #ffd36b66,0 4px 10px #00000061!important}.playing-page .scene-shell .self-player .player-tag{gap:8px!important;padding:5px 10px!important}@media (orientation:landscape){.playing-page:has(.scene-shell){--edge-hud:92px;--hand-w:min(64px, calc((100vw - 220px) / 14.6))}.playing-page .scene-shell .top-player .player-tag{top:40px!important;left:auto!important;right:10px!important;transform:none!important}.playing-page .scene-shell .left-player .player-tag{top:38%!important;left:10px!important;transform:translateY(-50%)!important}.playing-page .scene-shell .right-player .player-tag{top:38%!important;right:10px!important;transform:translateY(-50%)!important}.playing-page .scene-shell .self-player .player-tag{top:auto!important;bottom:10px!important;left:10px!important}.playing-page .tea-chat-trigger{right:10px;bottom:calc(var(--hand-h) + 22px);min-height:32px;padding:5px 11px;font-size:12px}}@media (orientation:portrait){.playing-page .scene-shell .top-player .player-tag{top:42px!important;left:auto!important;right:8px!important;transform:none!important}.playing-page .scene-shell .left-player .player-tag{top:36%!important;left:8px!important;transform:translateY(-50%)!important}.playing-page .scene-shell .right-player .player-tag{top:36%!important;right:8px!important;transform:translateY(-50%)!important}.playing-page .tea-chat-trigger{right:8px;bottom:calc(var(--hand-dock) + 46px);padding:5px 10px;font-size:12px}}.playing-page .scene-shell .my-hand.hand-active:before{border-color:#f3d27a!important;box-shadow:inset 0 1px #fff1cc28,0 0 0 1.5px #ffd66bb8,0 0 20px #ffce5657,0 10px 20px #0005!important}.playing-page .scene-shell .turn-banner{left:50%;bottom:calc(var(--hand-h) + 24px);z-index:34;color:#ffe28a;letter-spacing:.06em;pointer-events:none;white-space:nowrap;background:#122a20f0;border:1px solid #ffd66bb8;border-radius:999px;padding:3px 12px;font-size:11px;font-weight:700;position:absolute;transform:translate(-50%);box-shadow:0 3px 10px #00000052}.playing-page .scene-shell .turn-banner.drag-ready{color:#2f1a06;background:linear-gradient(135deg,#f6cd62,#e08d22);border-color:#fff2be}.playing-page .scene-shell .my-hand .mahjong-tile{will-change:transform;transition:transform .14s cubic-bezier(.28,1.38,.52,1)!important}.playing-page .scene-shell .my-hand .mahjong-tile:not(:disabled):not(.dragging-tile):active{transform:translateY(-4px)scale(.96)!important}.playing-page .scene-shell .my-hand .mahjong-tile.drag-ready{outline:2px solid #ffd866!important}@keyframes tile-deal-in{0%{opacity:0;transform:translateY(22px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}.playing-page .scene-shell .my-hand.dealing .mahjong-tile{animation:.22s cubic-bezier(.22,1,.36,1) both tile-deal-in}@keyframes turn-ring-drain{0%{stroke-dashoffset:0}to{stroke-dashoffset:100px}}@keyframes turn-ring-urgent{0%,to{opacity:1}50%{opacity:.4}}.playing-page .scene-shell .turn-ring{pointer-events:none;z-index:2;width:calc(100% + 8px);height:calc(100% + 8px);position:absolute;inset:-4px;transform:rotate(-90deg)}.playing-page .scene-shell .turn-ring-track{fill:none;stroke:#ffffff29;stroke-width:2.5px}.playing-page .scene-shell .turn-ring-bar{fill:none;stroke:#ffd36b;stroke-width:2.8px;stroke-linecap:round;stroke-dasharray:100;animation-name:turn-ring-drain;animation-timing-function:linear;animation-fill-mode:forwards}.playing-page .scene-shell .turn-ring.urgent .turn-ring-bar{stroke:#ff6b57;animation:linear forwards turn-ring-drain,.55s ease-in-out infinite turn-ring-urgent}@keyframes callout-pop{0%{opacity:0;transform:translate(-50%,-50%)scale(.5)}22%{opacity:1;transform:translate(-50%,-50%)scale(1.12)}36%{opacity:1;transform:translate(-50%,-50%)scale(1)}78%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-56%)scale(1.06)}}.playing-page .scene-shell .action-callout{z-index:42;pointer-events:none;animation:.86s cubic-bezier(.22,1,.36,1) forwards callout-pop;position:absolute}.playing-page .scene-shell .callout-side-0{top:64%;left:50%}.playing-page .scene-shell .callout-side-1{top:46%;left:74%}.playing-page .scene-shell .callout-side-2{top:22%;left:50%}.playing-page .scene-shell .callout-side-3{top:46%;left:26%}.playing-page .scene-shell .action-callout span{color:#ffe58f;text-shadow:0 3px #6e3a07,0 6px 14px #0000008c;font-family:KaiTi,STKaiti,Songti SC,serif;font-size:clamp(40px,8.5vmin,64px);font-weight:900;line-height:1;display:inline-block}.playing-page .scene-shell .callout-chi span{color:#9cf5bd;text-shadow:0 3px #145c32,0 6px 14px #00000080}.playing-page .scene-shell .callout-peng span{color:#a7dcff;text-shadow:0 3px #144985,0 6px 14px #00000080}.playing-page .scene-shell .callout-gang span{color:#dfc4ff;text-shadow:0 3px #4a238a,0 6px 14px #00000080}@keyframes win-burst-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.45)}35%{opacity:1;transform:translate(-50%,-50%)scale(1.08)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.playing-page .scene-shell .win-celebration{z-index:33;pointer-events:none;flex-direction:column;align-items:center;gap:6px;animation:.42s cubic-bezier(.22,1,.36,1) both win-burst-in;display:flex;position:absolute;top:44%;left:50%}.playing-page .scene-shell .win-burst{color:#ffe896;text-shadow:0 4px #8a4308,0 10px 24px #0009;font-family:KaiTi,STKaiti,Songti SC,serif;font-size:clamp(52px,11vmin,88px);font-weight:900;line-height:1}.playing-page .scene-shell .win-sub{color:#fff3c7;background:#142c22eb;border:1px solid #ffd76eb3;border-radius:999px;padding:3px 12px;font-size:12px;font-style:normal;font-weight:700}@keyframes score-float-up{0%{opacity:0;transform:translateY(8px)scale(.88)}to{opacity:1;transform:translateY(-10px)scale(1)}}.playing-page .scene-shell .score-float{font-variant-numeric:tabular-nums;pointer-events:none;border-radius:999px;padding:1px 7px;font-size:12px;font-weight:900;animation:.46s cubic-bezier(.22,1,.36,1) both score-float-up;position:absolute;top:-18px;right:4px}.playing-page .scene-shell .score-float.gain{color:#ffe588;background:#1a5c30f2;border:1px solid #ffd56b}.playing-page .scene-shell .score-float.loss{color:#ffd0c9;background:#70221cf0;border:1px solid #ff8c7d}.playing-page .scene-shell .action-bar{top:auto!important;left:50%!important;right:auto!important;bottom:calc(var(--hand-h) + 28px)!important;z-index:38!important;flex-flow:wrap!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:auto!important;max-width:min(94vw,560px)!important;max-height:none!important;padding:6px 10px!important;display:flex!important;overflow:visible!important;transform:translate(-50%)!important}.playing-page .scene-shell .action-bar button.action-button,.playing-page .scene-shell .action-bar button.action-pass{color:#fff!important;text-shadow:0 1px 2px #00000073!important;border-radius:999px!important;flex:none!important;width:auto!important;min-width:68px!important;height:auto!important;min-height:40px!important;padding:6px 14px!important;font-size:18px!important}.playing-page .scene-shell .action-bar .action-chi{background:linear-gradient(#4cc67c,#1f8a48)!important;border:1px solid #9df0bc!important;box-shadow:0 3px #145e31,0 5px 10px #00000059!important}.playing-page .scene-shell .action-bar .action-peng{background:linear-gradient(#4eaef5,#1f6bc9)!important;border:1px solid #9fd7ff!important;box-shadow:0 3px #144688,0 5px 10px #00000059!important}.playing-page .scene-shell .action-bar .action-gang{background:linear-gradient(#a67ef5,#693bc7)!important;border:1px solid #d7c2ff!important;box-shadow:0 3px #47248e,0 5px 10px #00000059!important}.playing-page .scene-shell .action-bar .action-knock{background:linear-gradient(#f27970,#c9383e)!important;border:1px solid #ffb9b3!important;box-shadow:0 3px #8a2227,0 5px 10px #00000059!important}@keyframes hu-scale{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.playing-page .scene-shell .action-bar .action-hu{will-change:transform;animation:1.3s ease-in-out infinite hu-scale;color:#3d1d04!important;text-shadow:0 1px #ffffff80!important;background:linear-gradient(#ffd766,#ee8518)!important;border:1.5px solid #fff2b8!important;box-shadow:0 3px #9e4f09,0 0 18px #ffc848a6!important}.playing-page .scene-shell .action-bar .action-pass{color:#f2e8cc!important;background:linear-gradient(#3c5f52,#234136)!important;border:1px solid #dac48ca6!important;box-shadow:0 3px #142a22,0 4px 8px #0000004d!important}.playing-page .scene-shell .action-bar .knock-status{text-align:center;background:#122a20f0;border:1px solid #ffd66ba6;border-radius:999px;flex:0 0 100%;padding:3px 10px;color:#ffe28a!important;font-size:12px!important}.playing-page .scene-shell .round-summary{white-space:nowrap;border-radius:26px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 10px;width:max-content;max-width:calc(100vw - 20px);padding:6px 10px 6px 14px;box-shadow:0 6px 20px #00000073;top:auto!important;left:50%!important;right:auto!important;bottom:max(10px, env(safe-area-inset-bottom))!important;background:#122c22f0!important;border:1.5px solid #e2c680b8!important;flex-direction:row!important;display:flex!important;transform:translate(-50%)!important}.playing-page .scene-shell .round-summary strong{color:#fff2c6;background:0 0;padding:0;font-size:13px}.playing-page .scene-shell .round-summary .round-winning-tile{color:#ffe29c;align-items:center;gap:5px;font-size:12px;display:inline-flex}.playing-page .scene-shell .round-summary .action-tile-chip{background:#fffdf6;border:1px solid #d6c8a8;border-radius:4px;justify-content:center;align-items:center;width:20px;height:27px;padding:1px;display:inline-flex;box-shadow:0 2px #238a53}.playing-page .scene-shell .round-summary .action-tile-chip img{object-fit:contain;width:100%;height:100%}.playing-page .scene-shell .round-summary-actions{align-items:center;gap:6px;display:inline-flex}.playing-page .scene-shell .round-summary .summary-detail-btn{height:32px;font-weight:700;color:#f6ebcd!important;background:#fff8e024!important;border:1px solid #e2c68099!important;border-radius:999px!important;padding:0 12px!important;font-size:12px!important}.playing-page .scene-shell .round-summary .summary-rematch-btn{height:32px;font-weight:800;color:#392a10!important;background:linear-gradient(#ffebb2,#e5b85f)!important;border:1px solid #ffdf95!important;border-radius:999px!important;padding:0 14px!important;font-size:12px!important}@media (prefers-reduced-motion:reduce){.playing-page .scene-shell .my-hand.dealing .mahjong-tile,.playing-page .scene-shell .action-callout,.playing-page .scene-shell .win-celebration,.playing-page .scene-shell .score-float,.playing-page .scene-shell .action-bar .action-hu,.playing-page .scene-shell .turn-ring.urgent .turn-ring-bar{animation:none!important}}
