.craft-guide{position:absolute;z-index:4;top:91px;left:50%;transform:translate(-50%);width:min(780px,calc(100% - 40px));padding:10px 20px 12px;border:1px solid #dadab74d;border-radius:8px;background:linear-gradient(135deg,#28372cf2,#29362bed);box-shadow:0 8px 30px #10251840;color:#f6f1df;pointer-events:none}.craft-guide button{pointer-events:auto}.pointer-locked .craft-guide button{pointer-events:none}.craft-tool-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.craft-tool-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:5px 12px;color:#e3e4ccba;background:#e4e3ca08;border:1px solid #dbddbb38;border-radius:4px;font-size:16px}.craft-tool-tabs button[aria-pressed=true]{color:#fff6d8;border-color:#e7d89ac9;background:#f1d7951c}.craft-tool-tabs button:hover:not(:disabled){background:#f1d79529}.craft-tool-tabs button:focus-visible{outline:2px solid #f4dda4;outline-offset:3px}.craft-tool-tabs kbd{display:grid;place-items:center;width:23px;height:23px;border:1px solid #dbddbb66;border-bottom-width:2px;border-radius:4px;color:inherit;background:#111d1a4d;font:600 15px/1 sans-serif}.craft-main-instruction h2{margin:0 0 5px;font:600 26px/1.25 PingFang SC,Microsoft YaHei,sans-serif;letter-spacing:.015em}.craft-main-instruction p{margin:0 0 9px;color:#ebe9d2d9;font-size:15px;line-height:1.45}.craft-main-instruction.is-confirmed h2{color:#dcefae}.tool-inspect .craft-main-instruction:not(.is-confirmed),.tool-rub .craft-guide-intro,.tool-twist .craft-guide-intro{display:none}.craft-guide .root-assessment{margin-top:5px}.craft-zone-track{display:flex;align-items:center;gap:10px;margin:2px 0 7px;color:#e5e3c9bd;font-size:13px}.craft-zone-track>div{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;flex:1}.craft-zone-track i{display:block;height:9px;background:#a8996c;border-radius:2px}.craft-zone-track i.is-smooth{background:#b2d68c}.craft-zone-track i.is-overworked{background:#ec9d74}.craft-zone-track i.is-contact{outline:2px solid #fff3bf;outline-offset:2px}.craft-guide .craft-live-readout{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 5px;margin:0 0 4px;font-size:15px;line-height:1.5}.craft-live-readout>span{margin-left:auto;color:#c3db9d}.craft-live-readout>span.craft-warning,.craft-warning{color:#f4ad82}.craft-guide .craft-footnote{margin:5px 0 0;color:#d8ddc4d9;font-size:15px;line-height:1.45}.craft-footnote b{font-weight:500;color:#f4e7bb}.craft-trim-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.craft-trim-option{position:relative;padding:7px 11px 8px;border:1px solid #daddb133;border-radius:4px;background:#17291d36;overflow:hidden}.craft-trim-option.is-contact{border-color:#edcb8c;background:#ebd39712}.craft-trim-option>strong{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:3px;font-size:15px;font-weight:600}.craft-trim-option>strong span{color:#d8dcc3b8;font-weight:400;font-size:13px}.craft-trim-option p{margin:0;color:#e4e5cbd9;font-size:15px;line-height:1.45}.craft-trim-option b{color:#f5e3b8;font-weight:500}.craft-trim-pull{float:right;margin-left:7px}.craft-trim-pull-track{position:absolute;left:0;right:0;bottom:0;height:3px;background:#d3d9b110}.craft-trim-pull-track i{display:block;height:100%;background:#e4cb8a}.craft-pair-strip{display:flex;align-items:center;justify-content:center;gap:18px;padding:7px 12px;border:1px solid #dbddbb33;border-radius:4px;background:#d9d3a408;font-size:15px;line-height:1.4}.craft-pair-strip>span{flex:1}.craft-pair-strip>span:last-child{text-align:right}.craft-pair-strip b{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:4px;border:1px solid #dcd6b378;border-radius:50%;color:#f1deb0;font-size:13px}.craft-pair-strip em{font-style:normal;color:#e0dbbd;white-space:nowrap}.craft-pair-strip>i{font-size:19px;font-style:normal;color:#ead89b}.craft-twist-progress{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:7px;color:#eed89c}.craft-twist-progress>strong{font-size:24px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.craft-twist-progress small{font-size:15px;font-weight:400}.craft-twist-progress>span{font-size:15px}.craft-twist-ticks{display:flex;align-items:center;gap:5px}.craft-twist-ticks i{display:block;width:32px;height:7px;border:1px solid #dbddbb5c;border-radius:2px;background:#dbddbb0d}.craft-twist-ticks i.is-complete{background:currentColor;border-color:currentColor}.craft-twist-progress.is-ready{color:#d1e8a5}.craft-twist-progress.is-risky{color:#f0a77a}@media(max-width:760px){.craft-guide{top:98px;width:calc(100% - 24px);padding:10px 12px 12px}.craft-tool-tabs{gap:5px;margin-bottom:9px}.craft-tool-tabs button{gap:5px;padding:5px 3px;font-size:14px}.craft-tool-tabs kbd{width:20px;height:22px;font-size:14px}.craft-main-instruction h2{font-size:24px}.craft-guide-intro{display:none}.craft-confirmed-detail{margin-bottom:8px}.craft-guide .craft-footnote{font-size:15px}.craft-zone-track{gap:6px;margin-top:9px}.craft-zone-track>div{gap:3px}.craft-guide .craft-live-readout{margin-top:4px}.craft-live-readout>span{margin-left:0;width:100%}.craft-trim-options{gap:7px;margin-top:9px}.craft-trim-option{padding:6px 8px 8px}.craft-trim-option>strong{display:block}.craft-trim-option>strong span{display:block;margin-top:2px}.craft-trim-pull{display:block;float:none;margin-left:0}.craft-pair-strip{gap:9px;padding:6px 8px;margin-top:9px}.craft-pair-strip em{display:block;margin-left:30px}.craft-twist-progress{gap:10px}.craft-twist-ticks i{width:22px}}@media(max-height:700px)and (min-width:761px){.craft-guide{top:82px;padding-top:9px;padding-bottom:10px}.craft-tool-tabs{margin-bottom:7px}.craft-tool-tabs button{min-height:34px}.craft-main-instruction h2{font-size:24px}.craft-main-instruction p{margin-bottom:6px}}.opening-shell{--cover-cream: #f6e9c7;--cover-dark: #173d34;position:absolute;z-index:12;inset:0;overflow:hidden;color:#f5eace;background:#334537 url(/images/genwang-cover-v2.webp) center / cover no-repeat}.front-content{position:relative;width:min(1240px,calc(100% - 64px));height:calc(100% - 122px);margin:34px auto 0;overflow-y:auto;scrollbar-color:#89906a transparent}.front-content:has(>.front-menu){position:absolute;inset:0;width:100%;height:100%;margin:0;overflow:hidden}.front-menu,.intro-title{position:absolute;inset:0}.cover-title{position:absolute;top:clamp(36px,6vh,82px);left:50%;transform:translate(-50%);width:min(860px,calc(100% - 32px));text-align:center;pointer-events:none}.cover-name{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.cover-wordmark{display:block;width:min(760px,47vw);height:auto;max-height:none;margin:0 auto;object-fit:contain}.cover-tagline{margin:2px auto 0;color:#f6e9cc;font-size:14px;font-weight:600;line-height:1.7;letter-spacing:.12em;text-shadow:0 1px 2px #183e30,1px 0 2px #183e30,-1px 0 2px #183e30}.cover-actions{position:absolute;bottom:max(62px,calc(env(safe-area-inset-bottom) + 48px));left:50%;transform:translate(-50%);width:min(700px,calc(100% - 32px));display:flex;flex-direction:column;align-items:center;gap:13px}.cover-primary{display:flex;justify-content:center;width:100%}.cover-actions button,.front-options button{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:10px 15px;border:0;border-radius:5px;color:var(--cover-cream);background:#1d493d;border:1px solid #c5ab70;box-shadow:inset 0 0 0 3px #143328,inset 0 0 0 4px #8c8255;text-shadow:0 2px 2px #102e29;filter:drop-shadow(0 4px 2px #12291e66);transition:transform .12s ease,filter .12s ease}.cover-actions button:hover:not(:disabled),.front-options button:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.1) drop-shadow(0 5px 3px #12291e66)}.cover-actions button:active:not(:disabled),.front-options button:active:not(:disabled){transform:translateY(2px);filter:brightness(.88) drop-shadow(0 1px 1px #12291e66)}.cover-actions button:disabled,.front-options button:disabled{opacity:.65;filter:grayscale(.6) brightness(.8)}.cover-actions button:focus-visible,.front-options button:focus-visible{outline:3px solid #fff0c5;outline-offset:3px}.cover-primary .cover-start{width:360px;height:88px;gap:20px;padding:15px 25px;font:800 30px/1.2 PingFang SC,Microsoft YaHei,sans-serif;letter-spacing:.12em}.cover-icon{display:block;width:24px;height:24px;flex-shrink:0}.cover-start .cover-icon{width:28px;height:28px}.cover-start .icon-stem{color:#d1dca2}.cover-album-entry,.cover-continue{position:absolute;bottom:max(64px,calc(env(safe-area-inset-bottom) + 48px));display:flex;align-items:center;justify-content:center;gap:10px;color:#f6e9c7}.cover-album-entry{left:max(32px,env(safe-area-inset-left));flex-direction:column;width:76px;min-height:88px;border:1px solid #c9b477;border-left:6px solid #342f25;border-radius:2px 8px 8px 2px;background:#284636;box-shadow:3px 3px #142c23,inset 0 0 0 3px #8a7c4c;font-size:13px}.cover-album-entry .cover-icon{width:28px;height:28px}.cover-continue{right:max(32px,env(safe-area-inset-right));min-height:44px;padding:8px 14px;border:0;border-bottom:1px solid #d6ca9a;border-radius:0;background:#173d34e8;font-size:13px}.cover-album-entry:hover,.cover-continue:hover{filter:brightness(1.15)}.cover-album-entry:active,.cover-continue:active{transform:translateY(2px)}.cover-album-entry:focus-visible,.cover-continue:focus-visible{outline:3px solid #fff0c5;outline-offset:4px}.front-options{position:absolute;top:max(20px,env(safe-area-inset-top));right:max(26px,env(safe-area-inset-right));display:flex;gap:8px}.front-options button{width:44px;height:44px;padding:10px;opacity:.92;filter:drop-shadow(0 2px 1px #12291e55)}.front-options button[aria-pressed=true]{color:#d0d7af;filter:brightness(.86) drop-shadow(0 1px 1px #12291e66)}.front-options .cover-icon{width:21px;height:21px}.front-brand{margin:0 0 9px;color:#d6ddc1;font-size:13px;letter-spacing:.18em}.front-back{display:inline-flex;align-items:center;min-height:38px;gap:8px;padding:6px 12px;border:1px solid #a39977;border-radius:2px;background:#eee3c9eb;color:#3c4a35;font-size:14px}.opening-shell .welcome-copy,.opening-shell .friends-sheet,.opening-shell .lobby-sheet{position:relative;inset:auto;transform:none;width:min(610px,100%);max-height:none;margin:10px auto 0;overflow:visible}.opening-shell .welcome-copy{padding:20px 26px;color:#374534;background:#f5efdfed;border:1px solid #a9b1937a;border-radius:4px}.opening-shell .welcome-copy h1{font-size:34px;margin-bottom:12px;color:#3b4c33;text-shadow:none}.opening-shell .opening-line,.opening-shell .character-picker legend,.opening-shell .format-picker legend{color:#586b4d}.opening-shell .welcome-copy .character-picker img{height:86px}.opening-shell .character-picker label>span{color:#f2edda}.opening-shell .welcome-copy .character-picker legend small{color:#647258}.opening-shell .opponent-note{color:#5a6a4f;font-size:12px}.opening-shell .welcome-copy .text-action{color:#465e3c;text-shadow:none;text-decoration-color:#697f5566}.opening-shell .welcome-copy .main-action{background:#526446;color:#fbf5df;border-color:#526446;min-height:46px;font-size:15px}.practice-name{display:flex;align-items:center;gap:15px;font-size:13px;color:#5c6c50;margin-bottom:18px}.practice-name input{width:190px;border:0;border-bottom:1px solid #83916f66;color:#3f5536;border-radius:0;padding:8px 0;background:none;font-size:14px}.front-prepare{width:min(510px,100%);margin:clamp(45px,13vh,140px) auto 0;padding:24px;background:#f0e6d0f2;border:1px solid #aca37d;border-radius:3px;color:#344532}.front-prepare h1{font:400 30px/1.45 Songti SC,serif;margin:12px 0}.front-prepare p{font-size:15px;line-height:1.8;color:#526348;margin-bottom:24px}.front-prepare .front-brand{font-size:13px}.front-prepare .main-action{background:#526446;color:#f7f1dc;border-color:#526446}.opening-loading{position:absolute;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));font-size:11px;color:#f2e8cf;text-shadow:0 1px 2px #163227,1px 0 2px #163227,-1px 0 2px #163227}.opening-loading>div:first-child{display:flex;align-items:baseline;justify-content:center;gap:14px;width:fit-content;max-width:100%;margin:0 auto 7px;padding:3px 8px}.opening-loading b{white-space:nowrap;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.opening-loading i{font-size:11px;font-style:normal;opacity:.8}.opening-loading progress{display:block;width:100%;height:2px;border:0;background:#f1e6c994;accent-color:#697d50}.opening-loading progress::-webkit-progress-bar{background:#f1e6c994}.opening-loading progress::-webkit-progress-value{background:#697d50}.opening-load-error{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:100%;margin:6px auto 0;padding:5px 8px;background:#f0e4c9f5;color:#344532;text-shadow:none;border-radius:2px;font-size:12px;line-height:1.5}.opening-load-error button{border:1px solid #8c9171;color:#455e3b;background:#f5edd7;border-radius:2px;padding:6px 9px;white-space:nowrap}.opening-shell button:focus-visible,.opening-shell input:focus-visible,.opening-shell summary:focus-visible{outline-color:#eff6cf}.opening-shell .welcome-copy button:focus-visible,.opening-shell .welcome-copy input:focus-visible{outline-color:#42613b}.scene-layer,.game-interface{position:absolute;inset:0}.game-interface[hidden]{display:none}.play-app .play-error{z-index:20}.opening-shell.reduced-motion *,.opening-shell.reduced-motion *:before,.opening-shell.reduced-motion *:after{animation:none!important;transition:none!important}@media(max-width:1400px)and (min-width:761px){.cover-wordmark{width:600px}.cover-primary .cover-start{width:340px;height:84px;font-size:29px}}@media(max-height:800px)and (min-width:761px){.front-content{height:calc(100% - 106px);margin-top:20px}.front-content:has(>.front-menu){height:100%;margin:0}.opening-shell .welcome-copy .character-picker img{height:68px}.opening-shell .welcome-copy{padding:17px 22px}.opening-shell .welcome-copy h1{font-size:30px}}@media(max-height:650px)and (min-width:761px){.cover-title{top:24px}.cover-wordmark{width:460px;max-height:none}.cover-tagline{margin-top:0;font-size:12px}.cover-actions{bottom:52px;gap:9px}.cover-primary .cover-start{width:300px;height:72px;font-size:25px}}@media(max-width:760px)and (orientation:portrait){.opening-shell{background-image:url(/images/genwang-cover-portrait-v1.webp)}}@media(max-width:760px){.front-content{width:calc(100% - 32px);margin-top:max(16px,env(safe-area-inset-top));height:calc(100% - 120px)}.front-content:has(>.front-menu){width:100%;height:100%;margin:0}.cover-title{top:max(58px,calc(env(safe-area-inset-top) + 48px));width:calc(100% - 24px)}.cover-wordmark{width:min(360px,100%);max-height:120px}.cover-tagline{margin-top:2px;font-size:12px;letter-spacing:.04em}.cover-actions{bottom:max(59px,calc(env(safe-area-inset-bottom) + 45px));gap:10px}.cover-primary .cover-start{width:min(300px,100%);height:75px;gap:15px;font-size:27px;padding:13px 18px}.cover-album-entry{top:max(10px,env(safe-area-inset-top));bottom:auto;left:12px;width:100px;min-height:44px;flex-direction:row;gap:7px;font-size:12px}.cover-album-entry .cover-icon{width:21px;height:21px}.cover-continue{right:auto;left:50%;transform:translate(-50%);bottom:max(43px,calc(env(safe-area-inset-bottom) + 30px));min-height:44px;white-space:nowrap}.cover-continue:active{transform:translate(-50%,2px)}.front-menu:has(.cover-continue) .cover-actions{bottom:max(99px,calc(env(safe-area-inset-bottom) + 85px))}.front-options{top:max(10px,env(safe-area-inset-top));right:12px;gap:6px}.opening-shell .welcome-copy{padding:18px 14px}.opening-shell .welcome-copy h1{font-size:30px}.opening-shell .welcome-copy .character-picker img{height:65px}.opening-shell .welcome-copy .welcome-actions{gap:12px}.opening-shell .friends-sheet,.opening-shell .lobby-sheet{padding:20px 14px}.opening-load-error{align-items:flex-start}.front-prepare{margin-top:45px;padding:20px 16px}.front-prepare h1{font-size:27px}}.cover-primary .cover-start,.battle-stage .stage-submit,.battle-stage .stage-footer .main-action{position:relative;border:1px solid #e9d297;border-radius:2px;color:#19372a;background:#d8bb78;box-shadow:inset 0 2px #f9e7b1,inset 0 -5px #9a7943,0 4px #15382d,0 6px 12px #162b2070;text-shadow:0 1px #f3dfa6}.cover-primary .cover-start:after,.battle-stage .stage-submit:after,.battle-stage .stage-footer .main-action:after{content:"";position:absolute;inset:5px;border:9px solid transparent;border-image:url(/images/ui/kenney/frame.png) 16 / 9px / 0 stretch;opacity:.55;pointer-events:none}.cover-start .icon-stem{display:grid;width:34px;height:34px;padding:5px;color:#ead99e;background:#244c39;border:1px solid #9c8551;border-radius:50%}.cover-primary .cover-start:hover:not(:disabled),.battle-stage .stage-submit:hover:not(:disabled),.battle-stage .stage-footer .main-action:hover:not(:disabled){background:#e9cf92}.cover-primary .cover-start:active:not(:disabled),.battle-stage .stage-submit:active:not(:disabled),.battle-stage .stage-footer .main-action:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px 5px #6f542f66,0 1px #15382d}.opening-shell:has(.battle-stage){background-image:url(/images/lobby-courtyard-v1.webp)}.front-content:has(>.battle-stage){width:100%;height:calc(100% - 58px);margin:0;overflow-y:auto}.battle-stage{--stage-paper: #f4e4bd;--stage-muted: #cad1b8;--stage-gold: #d0b779;display:flex;flex-direction:column;min-height:100%;color:var(--stage-paper)}.stage-header{display:flex;align-items:center;gap:24px;min-height:90px;padding:16px 40px;border-bottom:1px solid #d2b3738c;background:#17362def;box-shadow:0 4px 20px #12251c50}.battle-stage .front-back{flex-shrink:0;min-height:44px;color:#e6d3a7;border:1px solid #bba36b66;border-radius:2px;background:#264a39}.battle-stage .room-title{flex:1;min-width:0}.battle-stage .room-title p{margin:0 0 5px;color:#ceba86;font-size:11px;letter-spacing:.08em}.battle-stage .room-title h1{margin:0;font:600 27px/1.35 Songti SC,serif;letter-spacing:.05em}.stage-nav{display:flex;align-items:center;gap:8px}.stage-nav button{min-height:44px;padding:10px 18px;border:0;border-bottom:2px solid transparent;background:none;color:#c1cbb5;font-size:14px}.stage-nav button[aria-current],.stage-nav button[aria-selected=true]{border-color:#e3c98b;color:#f5e0af}.staging-body{display:grid;grid-template-columns:220px minmax(0,1fr) 300px;align-items:center;flex:1;gap:36px;width:min(1400px,100%);margin:0 auto;padding:28px 40px}.stage-mode{align-self:center;padding:22px 18px;background:#1d392de8;border-left:2px solid #bc9f61;box-shadow:0 5px 20px #172b1e40}.battle-stage fieldset{min-width:0}.battle-stage .format-picker{margin:0}.battle-stage .format-picker legend{margin-bottom:16px;color:#d5bf89;font:500 15px Songti SC,serif}.battle-stage .format-picker>div{grid-template-columns:1fr;gap:16px}.battle-stage .format-picker label>span{padding:18px 10px;min-height:132px;text-align:center;border:1px solid #a7945a55;border-radius:2px;background:#203f30;color:#f1dfb2}.mode-emblem{display:block;margin-bottom:10px;font:600 30px/1 Georgia,serif;letter-spacing:.04em;color:#d1b675;font-style:normal}.battle-stage .format-picker b{margin:0;font:600 18px Songti SC,serif}.battle-stage .format-picker small{color:#c6ceb3;font-size:11px;line-height:1.6}.battle-stage .format-picker input:checked+span{border-color:#e6ce91;background:#445334;box-shadow:inset 0 0 0 3px #bda56b30}.stage-match-note{margin:16px 0 0;color:#d0d5bf;font-size:12px;line-height:1.8}.stage-mode .stage-match-note{padding-top:16px;border-top:1px solid #bda56b44}.staging-character{position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;padding:0 5px}.staging-portrait{display:block;width:100%;max-width:340px;height:min(46vh,440px);object-fit:contain;filter:drop-shadow(4px 8px 6px #26332255)}.staging-character-name{position:relative;margin:-6px 0 12px;padding:6px 24px;color:#f4e5c2;background:#233f32ed;border-block:1px solid #cfb47899;font:600 23px/1.3 Songti SC,serif;text-align:center}.battle-stage .character-picker{width:100%;max-width:400px;margin:0;padding:12px 10px 9px;border:0;background:#1d392ded}.battle-stage .character-picker legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.battle-stage .character-picker>div{gap:7px}.battle-stage .character-picker img{height:66px}.battle-stage .character-picker label>span{padding:5px;background:#2b4938;border-radius:1px;border-color:#b9a16b66}.battle-stage .character-picker strong{color:#eee0ba;font-size:12px}.battle-stage .character-picker label small{display:none}.battle-stage .character-picker input:checked+span{border-color:#f0d796;background:#536144;box-shadow:inset 0 -2px #dbc38d}.stage-options{width:100%;padding:28px 24px;align-self:center;background:#1b3529f2;box-shadow:0 12px 35px #10291d66;border:1px solid #c0a66a88}.stage-options h2{margin:0 0 20px;font:600 22px/1.4 Songti SC,serif}.stage-options p{color:#cbd1ba;font-size:13px;line-height:1.9}.battle-stage label{color:#d2c8a8;font-size:12px}.battle-stage input:not([type=radio]){display:block;width:100%;min-height:46px;margin:8px 0 22px;padding:11px 12px;border:1px solid #b29c635c;border-radius:1px;color:#faedcd;background:#132b20;font-size:14px}.room-path-tabs{display:flex;margin:0 0 24px;border-bottom:1px solid #bda56b66}.room-path-tabs button{flex:1;min-height:44px;padding:10px 3px;border:0;border-bottom:2px solid transparent;color:#aebb9f;background:none;font:500 16px Songti SC,serif}.room-path-tabs button[aria-selected=true]{color:#f4dea6;border-bottom-color:#e2c580}.battle-stage .stage-submit{display:block;width:100%;min-height:58px;margin:22px 0 0;padding:12px 16px;font-size:17px;font-weight:700}.stage-options .room-join{margin:0;padding:0;border:0}.battle-stage .join-team-picker legend{color:#d2c8a8}.battle-stage .join-team-picker>div{grid-template-columns:1fr 1fr}.battle-stage .join-team-picker label>span{min-height:46px;padding:10px;background:#294533;color:#e9dbb8;font-size:11px;line-height:1.6}.battle-stage .join-team-picker input:checked+span{border-color:#d7bd7d;background:#495b38;box-shadow:inset 0 -2px #d7bd7d}.stage-options small{display:block;margin-top:16px;color:#b9c7ac;font-size:11px;line-height:1.8}.battle-stage button:disabled{opacity:.48;filter:saturate(.3)}.battle-stage button:focus-visible,.battle-stage input:focus-visible{outline:2px solid #fff0be;outline-offset:4px}.battle-stage .room-invite{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:18px;margin-left:auto}.room-invite>small{color:#c2cbb3;font-size:10px}.battle-stage .room-invite>strong{grid-column:1;padding:0;font:700 26px/1.2 PingFang SC,sans-serif;color:#f2d797;letter-spacing:.18em}.battle-stage .room-invite .text-action{grid-column:2;grid-row:1 / 3;min-height:44px;margin:0;padding:8px 12px;border:1px solid #c9b17399;color:#f1deaa;background:#2d4b37;font-size:12px;text-shadow:none}.room-invite-note{grid-column:1 / 3;margin-top:5px;color:#bbc6ac;font-size:10px}.stage-arena{position:relative;display:flex;align-items:flex-end;flex:1;width:min(1360px,100%);margin:0 auto;padding:20px 50px 12px}.staging-lobby>.stage-match-note{align-self:center;margin:16px 20px 0;padding:7px 20px;color:#fff2cf;background:#253d2de0;font-size:12px;text-align:center}.battle-stage .lobby-teams{position:relative;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:90px}.battle-stage .lobby-teams:after{content:"对阵";position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);padding:15px 9px;border:1px solid #d7be84;color:#efdba8;background:#284433e8;font:600 20px Songti SC,serif;writing-mode:vertical-rl}.battle-stage .lobby-team{position:relative;border:0;min-width:0}.battle-stage .lobby-team h2{display:flex;justify-content:center;gap:14px;width:fit-content;min-width:170px;margin:0 auto 8px;padding:7px 20px;border-bottom:2px solid #c49b80;background:#443c2ce8;color:#f3ddb6;font:600 18px/1.4 Songti SC,serif}.battle-stage .lobby-team h2 small{color:#e0d8bc;font:11px/1.7 PingFang SC,sans-serif}.battle-stage .lobby-team.is-own-team h2{background:#2c4935eb;border-color:#d1df9a}.battle-stage .team-seats{display:flex;justify-content:space-around;align-items:flex-end;gap:12px}.battle-stage .room-seat{position:relative;display:flex;flex-direction:column;align-items:center;flex:1;gap:0;min-width:0;min-height:0;padding:0;border:0;background:none;text-align:center}.battle-stage .seat-portrait{display:block;width:100%;max-width:230px;height:clamp(220px,35vh,390px);margin:0 auto;object-fit:contain;filter:drop-shadow(5px 9px 6px #302f2666)}.battle-stage .seat-nameplate{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;max-width:230px;min-height:145px;padding:12px 8px 10px;background:#243d2eea;border-top:1px solid #cbb379a8;box-shadow:0 5px 14px #20322155}.battle-stage .room-seat.is-you .seat-nameplate{border-top:2px solid #f0d18a;background:#354b32f0}.battle-stage .room-seat.is-ready .seat-nameplate{border-bottom:2px solid #c6d69b}.battle-stage .seat-copy{flex:0;min-width:0;width:100%}.battle-stage .seat-copy>strong{display:block;margin:0;padding:0;color:#f1dfb3;font:600 20px/1.4 Songti SC,serif;letter-spacing:.05em}.battle-stage .seat-copy .seat-player-name{display:block;margin-top:3px;color:#d4d9c4;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.battle-stage .seat-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;width:100%;margin-top:7px;font-size:10px;color:#c6ccb5}.battle-stage .seat-status em{padding:0 4px;border:1px solid #bba26899;color:#e6d49f;font-style:normal}.battle-stage .seat-status b{color:#c9cdb8;font-size:11px;font-weight:500}.battle-stage .is-ready .seat-status b{color:#e2edb8}.battle-stage .is-ready .seat-status b:before{content:"✓ "}.battle-stage .seat-action{min-height:44px;width:100%;max-width:170px;margin-top:8px;padding:8px;border:1px solid #c6af7380;border-radius:1px;color:#e6d6ad;background:#3a4f35;font-size:11px}.battle-stage .seat-action:hover:not(:disabled){background:#596644}.battle-stage .seat-empty-actions{display:flex;flex-direction:column;align-items:center;width:100%}.battle-stage .seat-empty-portrait{opacity:.18;filter:grayscale(1)}.seat-empty-plus{position:absolute;top:29%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border:1px dashed #e9d7a4;border-radius:50%;color:#fff0c8;background:#304635bd;font-size:30px;font-weight:300}.stage-footer{position:sticky;bottom:0;z-index:3;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:20px 36px;padding:18px 40px;margin-top:18px;background:#173328f5;border-top:1px solid #bca26b99;box-shadow:0 -8px 20px #22312522}.stage-footer .room-ready-copy{min-width:300px}.stage-footer .room-ready-copy strong{display:block;font:600 18px/1.4 Songti SC,serif;color:#eedbb0}.stage-footer .room-ready-copy>span{display:inline-block;margin-top:5px;color:#e0cb97;font-size:12px;font-variant-numeric:tabular-nums}.stage-footer .room-ready-reason{display:block;margin-top:4px;color:#bccbb1;font-size:11px;line-height:1.6}.battle-stage .stage-footer .main-action{width:auto;min-width:270px;min-height:62px;margin:0;padding:14px 24px;font-size:19px;font-weight:700}@media(min-width:1600px){.staging-body{grid-template-columns:250px minmax(0,1fr) 340px;gap:70px}.stage-options{padding:32px}.battle-stage .character-picker img{height:80px}}@media(max-width:1100px)and (min-width:761px){.staging-body{grid-template-columns:190px minmax(0,1fr) 270px;gap:20px;padding-inline:28px}.stage-mode{padding:18px 12px}.stage-options{padding:22px 18px}.stage-header{padding-inline:28px}.stage-nav button{padding-inline:10px}.stage-arena{padding-inline:30px}.battle-stage .lobby-teams{gap:60px}.battle-stage .seat-nameplate{min-height:135px}}@media(max-height:750px)and (min-width:761px){.stage-header{min-height:76px;padding-block:12px}.staging-body{padding-block:18px}.staging-portrait{height:280px}.battle-stage .character-picker img{height:52px}.battle-stage .format-picker label>span{min-height:114px;padding-block:14px}.mode-emblem{font-size:25px}.stage-mode .stage-match-note{font-size:11px}.battle-stage .seat-portrait{height:200px}.stage-footer{padding-block:14px;margin-top:12px}}@media(max-width:760px){.front-content:has(>.battle-stage){height:calc(100% - 65px)}.stage-header{flex-wrap:wrap;min-height:auto;gap:12px;padding:max(14px,env(safe-area-inset-top)) 16px 12px}.battle-stage .room-title h1{font-size:23px}.stage-nav{justify-content:center;width:100%;border-top:1px solid #ae975c55}.stage-nav button{flex:1;padding:10px}.staging-body{display:flex;flex-direction:column;gap:18px;padding:20px 16px}.stage-mode{width:100%;padding:14px}.battle-stage .format-picker legend{margin-bottom:10px}.battle-stage .format-picker>div{grid-template-columns:1fr 1fr;gap:10px}.battle-stage .format-picker label>span{min-height:104px;padding:12px 7px}.mode-emblem{font-size:25px}.battle-stage .format-picker b{font-size:16px}.battle-stage .format-picker small{font-size:10px}.stage-mode .stage-match-note{margin-top:12px;padding-top:10px;font-size:11px}.staging-character{width:100%;padding:0 10px}.staging-portrait{height:285px}.staging-character-name{font-size:21px}.battle-stage .character-picker{max-width:360px}.battle-stage .character-picker img{height:62px}.stage-options{padding:24px 20px}.battle-stage .room-invite{width:100%;grid-template-columns:minmax(0,1fr) auto;padding-top:10px;border-top:1px solid #bba56c55}.staging-lobby>.stage-match-note{margin:12px 12px 0;padding:10px 14px;text-align:left;font-size:11px}.stage-arena{padding:20px 12px 6px}.battle-stage .lobby-teams{gap:22px}.battle-stage .lobby-teams:after{top:48%;padding:8px 4px;font-size:12px}.battle-stage .lobby-team h2{flex-direction:column;align-items:center;gap:2px;min-width:0;width:100%;padding:7px;font-size:17px}.battle-stage .lobby-team h2 small{font-size:10px}.battle-stage .team-seats{flex-direction:column;gap:20px}.battle-stage .room-seat{width:100%}.battle-stage .seat-portrait{height:190px}.battle-stage .seat-nameplate{padding:10px 6px;min-height:112px}.battle-stage .seat-copy>strong{font-size:18px}.battle-stage .seat-copy .seat-player-name,.battle-stage .seat-action{font-size:10px}.stage-footer{gap:13px;padding:14px 16px;margin-top:16px}.stage-footer .room-ready-copy{min-width:0;width:100%}.stage-footer .room-ready-copy strong{display:inline;font-size:15px}.stage-footer .room-ready-copy>span{margin-left:12px}.stage-footer .room-ready-reason{font-size:10px}.battle-stage .stage-footer .main-action{width:100%;min-height:54px;font-size:17px}}.stage-options{position:relative}.stage-options:before{content:"";position:absolute;inset:5px;border:10px solid transparent;border-image:url(/images/ui/kenney/ornament.png) 16 / 10px / 0 stretch;opacity:.4;pointer-events:none}.stage-mode>h2{margin:0 0 18px;color:#ebd6a2;font:600 20px Songti SC,serif}.battle-stage .stage-mode .format-picker legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.stage-rules{margin-top:20px;padding-top:16px;border-top:1px solid #bda56b55}.stage-rules h3{margin:0 0 12px;color:#d4c08e;font-size:12px;font-weight:500}.stage-rules ol{margin:0;padding:0;list-style:none}.stage-rules li{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:9px}.stage-rules b{flex-shrink:0;color:#f2e1b6;font-size:12px;font-weight:500}.stage-rules span{color:#bfccb1;font-size:10px;text-align:right;line-height:1.6}.staging-character-description{margin:-6px 0 14px;padding:5px 14px;color:#e9dab6;background:#203a2ce8;font-size:11px;line-height:1.6}.stage-room-summary{padding:12px 0;border-block:1px solid #ad97584d;color:#dec895!important}.stage-room-summary span{display:block;margin-top:5px;font-size:12px}.stage-options .stage-connection-note{margin:18px 0 0;padding-top:12px;border-top:1px solid #ad975844;font-size:11px;color:#b4c3a5}.staging-lobby>.stage-match-note span{margin-left:20px}.staging-portrait,.battle-stage .seat-portrait{object-position:center bottom}@media(max-width:760px){.stage-rules{margin-top:14px;padding-top:12px}.stage-rules ol{display:flex;gap:14px}.stage-rules li{display:block;flex:1;margin:0}.stage-rules span{display:block;margin-top:4px;text-align:left}.stage-options .stage-connection-note{font-size:11px}.staging-lobby>.stage-match-note span{display:block;margin:4px 0 0}}.cover-primary .cover-start,.battle-stage .stage-submit,.battle-stage .stage-footer .main-action{border:0;color:#183b2e;background:transparent url(/images/ui/enamel-button-v1.webp) center / 100% 100% no-repeat;box-shadow:0 4px #17372b;filter:drop-shadow(0 4px 3px #1c291f70)}.cover-primary .cover-start:after,.battle-stage .stage-submit:after,.battle-stage .stage-footer .main-action:after{display:none}.cover-primary .cover-start:hover:not(:disabled),.battle-stage .stage-submit:hover:not(:disabled),.battle-stage .stage-footer .main-action:hover:not(:disabled){background:transparent url(/images/ui/enamel-button-v1.webp) center / 100% 100% no-repeat;filter:brightness(1.08) drop-shadow(0 5px 3px #1c291f70)}.cover-primary .cover-start:active:not(:disabled),.battle-stage .stage-submit:active:not(:disabled),.battle-stage .stage-footer .main-action:active:not(:disabled){box-shadow:0 1px #17372b;filter:brightness(.96)}.portrait-ground{position:relative;display:block;flex-shrink:0;width:90px;height:11px;margin:-17px auto 6px;border-radius:50%;background:#26322280;filter:blur(4px)}.staging-character .portrait-ground{width:115px;margin-top:-22px;margin-bottom:10px}.battle-stage .seat-nameplate{width:min(150px,100%);min-height:84px;padding:9px 7px}.battle-stage .room-seat .seat-controls{display:flex;justify-content:center;width:100%;height:50px;margin-top:5px}.battle-stage .seat-controls .seat-action{width:min(145px,100%);margin-top:0;background:#2b4937dd}.battle-stage .seat-status{line-height:1.6}.battle-stage .stage-arena{padding-block:8px}@media(max-height:750px)and (min-width:761px){.battle-stage .seat-portrait{height:225px}}@media(max-width:760px){.battle-stage .seat-nameplate{min-height:90px}.battle-stage .room-seat .seat-controls{height:44px}.battle-stage .seat-controls .seat-action{font-size:10px}}.battle-stage .seat-nameplate{padding-block:8px}.battle-stage .seat-copy>strong{font-size:18px;line-height:1.25}.battle-stage .room-seat .seat-controls{height:44px;margin-top:4px}@media(max-width:760px){.battle-stage .lobby-teams:after{display:none}}.achievement-album{box-sizing:border-box;width:min(780px,calc(100vw - 40px));max-height:calc(100dvh - 48px);margin:auto;padding:36px 40px 24px;overflow-y:auto;overscroll-behavior:contain;color:#3b4235;border:1px solid #b6af94;border-radius:3px;background:repeating-linear-gradient(0deg,#807b5108 0 1px,transparent 1px 5px),#ede9d7;box-shadow:0 20px 80px #17241c66;font-family:PingFang SC,Microsoft YaHei,sans-serif}.achievement-album::backdrop{background:#1b2c23c9}.achievement-close{position:absolute;z-index:1;top:13px;right:15px;width:36px;height:36px;padding:0;border:0;border-radius:50%;color:#5c6452;background:transparent;font:27px/1 sans-serif}.achievement-close:hover{background:#6e745117}.achievement-album button:focus-visible,.achievement-toast button:focus-visible{outline:2px solid #58674a;outline-offset:3px}.achievement-album-header{position:relative;padding-right:20px;padding-bottom:23px;border-bottom:1px solid #a2a48c6b}.achievement-eyebrow{display:block;color:#778064;font-size:10px;line-height:1.5;letter-spacing:.16em}.achievement-album h1{margin:7px 0 10px;color:#394731;font:400 38px/1.25 Songti SC,STSong,serif;letter-spacing:.09em}.achievement-count{position:absolute;right:3px;bottom:25px;margin:0;font-size:12px;color:#74775f}.achievement-count strong{margin-left:4px;font:400 31px/1 Songti SC,STSong,serif;color:#526347}.achievement-local-note{margin:0;padding-right:122px;font-size:11px;line-height:1.7;color:#7b7f6b}.achievement-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;list-style:none;margin:5px 0 0;padding:0}.achievement-entry{position:relative;min-height:120px;padding:22px 0 20px 38px;border-bottom:1px solid #9d9e873d}.achievement-number{position:absolute;top:24px;left:0;color:#949a84;font:italic 19px/1.2 Songti SC,serif}.achievement-entry h2{margin:0 0 8px;color:#666c59;font:400 20px/1.4 Songti SC,STSong,serif}.achievement-entry p{margin:0 0 12px;font-size:11px;line-height:1.8;color:#80836f}.achievement-entry-status{display:inline-block;font-size:10px;letter-spacing:.12em;color:#8e927c}.achievement-entry.is-recorded h2{color:#354a31}.achievement-entry.is-recorded p{color:#616c55}.achievement-entry.is-recorded .achievement-entry-status{color:#64784c;border:1px solid #7a8b5f80;padding:2px 7px;transform:rotate(-5deg)}.achievement-album-footer{padding-top:22px;text-align:center;font:13px/1.7 Songti SC,STSong,serif;color:#81816b;letter-spacing:.08em}.achievement-toast{position:absolute;z-index:12;top:100px;right:28px;display:flex;align-items:center;gap:13px;box-sizing:border-box;width:260px;padding:14px 35px 14px 15px;color:#394731;border:1px solid #c8c5a7;border-radius:2px;background:#eee9d7;box-shadow:0 5px 22px #16291d33;animation:achievement-arrive .22s ease-out both;pointer-events:auto;font-family:PingFang SC,Microsoft YaHei,sans-serif}.achievement-toast-mark{display:grid;flex:0 0 30px;place-items:center;width:30px;height:34px;border:1px solid #8b9671a3;color:#73815b;font:18px Songti SC,STSong,serif;transform:rotate(-6deg)}.achievement-toast .achievement-eyebrow{font-size:9px;letter-spacing:.1em}.achievement-toast strong{display:block;margin-top:4px;font:400 18px/1.35 Songti SC,STSong,serif}.achievement-toast button{position:absolute;top:7px;right:6px;width:26px;height:26px;padding:0;border:0;background:none;color:#7c826c;font:21px/1 sans-serif}.achievement-toast.is-still{animation:none}@keyframes achievement-arrive{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.achievement-toast{animation:none}}@media(max-width:600px){.achievement-album{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:29px 23px 22px}.achievement-album h1{font-size:32px}.achievement-count{position:static;margin:0 0 10px}.achievement-count strong{font-size:25px}.achievement-local-note{padding-right:0}.achievement-pages{grid-template-columns:1fr}.achievement-entry{min-height:0;padding-top:19px;padding-bottom:18px}.achievement-number{top:21px}.achievement-toast{top:80px;right:12px;width:235px;padding-block:11px}}.duel-gauge{position:absolute;top:118px;left:50%;z-index:6;transform:translate(-50%);width:min(440px,calc(100% - 32px));padding:10px 14px 12px;color:#f6edd5;background:#202c23d1;border:1px solid rgba(225,214,165,.28);border-radius:8px;box-shadow:0 8px 24px #0f161152;pointer-events:none;font-size:12px}.duel-gauge.is-straining{border-color:#f09e6ebf;box-shadow:0 8px 24px #0f161152,0 0 0 1px #f09e6e59}.gauge-tracks{position:relative;display:grid;gap:5px}.gauge-row{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px}.gauge-label{color:#d9d0b4;text-align:right}.gauge-window{position:relative;height:13px;overflow:hidden;background:#00000047;border-radius:3px}.gauge-strip{display:grid;grid-template-columns:repeat(12,1fr);gap:1px;width:100%;height:100%;transition:transform .12s linear}.reduced-motion .gauge-strip{transition:none}.gauge-zone{display:block;height:100%}.gauge-zone.tone-strong{background:#90ae6a}.gauge-zone.tone-usable{background:#c6b878}.gauge-zone.tone-worn{background:#dc9356}.gauge-zone.tone-cracked{background:#d3513f}.gauge-hook{position:absolute;top:-3px;bottom:-3px;left:calc(42px + (100% - 42px)/2);width:2px;margin-left:-1px;background:#fff6d9;box-shadow:0 0 5px #0000008c}.gauge-forces{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr;align-items:center;gap:6px;margin-top:9px;color:#d9d0b4;font-size:11px;white-space:nowrap}.gauge-forces meter{width:100%;height:7px}.gauge-hint{margin:8px 0 0;text-align:center;color:#fff3cf;font-size:13px;font-weight:600}.account-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:96px;max-width:168px;height:44px;padding:0 14px;border:1px solid #e9d29780;border-radius:5px;color:#f6e9c7;background:#1d493d;font-size:14px;line-height:1;white-space:nowrap;cursor:pointer;filter:drop-shadow(0 2px 1px #12291e55)}.account-button span{overflow:hidden;text-overflow:ellipsis}.account-button:hover{filter:brightness(1.1) drop-shadow(0 4px 3px #12291e66)}.account-button:focus-visible{outline:3px solid #fff0c5;outline-offset:3px}.account-button.is-signed-in{background:#24543f}.toy-account img{flex:none;border-radius:50%;object-fit:cover}.toy-account:disabled{cursor:wait;opacity:.7}.toy-account.is-signed-in{cursor:default}.toy-auth-error{position:fixed;z-index:30;left:50%;bottom:24px;transform:translate(-50%);max-width:min(480px,calc(100vw - 32px));margin:0;padding:12px 16px;border:1px solid #d9c79a;border-radius:5px;background:#203e30;color:#fff0ce;font-size:14px;line-height:1.6}.account-icon{flex:none;width:19px;height:19px}.front-options .account-button{width:auto;opacity:1}.stage-header .account-button{margin-left:auto}.account-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:#0a120d8c}.account-dialog{position:relative;width:min(420px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:26px 24px 20px;color:#f6edd5;background:#1c2820fa;border:1px solid rgba(225,214,165,.35);border-radius:10px;box-shadow:0 18px 50px #080e0a8c}.account-close{position:absolute;top:8px;right:10px;width:36px;height:36px;padding:0;border:0;background:none;color:#d8d2b8;font:26px/1 sans-serif;cursor:pointer}.account-form{display:grid;gap:12px}.account-form h2{margin:0;font:600 22px/1.35 Songti SC,STSong,serif;color:#f5e0af}.account-note,.account-hint,.account-email{margin:0;font-size:14px;line-height:1.6;color:#e6dcbc}.account-hint{font-size:12px;color:#c9c6b0}.account-email{font-size:13px;color:#d9d3b8;word-break:break-all}.account-field{display:grid;gap:6px;font-size:13px;color:#d9d3b8}.account-field input{min-width:0;padding:10px 12px;color:#f6edd5;background:#13251c;border:1px solid rgba(225,214,165,.35);border-radius:5px;font:inherit;font-size:16px}.account-field input:focus{outline:2px solid #e9d297;outline-offset:1px}.account-form .main-action{width:100%}.account-form .main-action:disabled,.account-form .light-action:disabled{opacity:.55;cursor:default}.account-captcha{min-height:65px}.account-preview{margin:0;padding:8px 10px;font-size:13px;line-height:1.6;color:#f3dfa8;background:#3b4a2a;border-radius:5px}.account-preview b{font-size:16px;letter-spacing:2px}.account-error{margin:0;font-size:14px;line-height:1.6;color:#ffb48f}.account-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.account-legal{margin:0;font-size:12px;line-height:1.6;color:#c9c6b0}.account-legal a{color:#e9d297}.account-nickname{display:flex;align-items:flex-end;gap:10px}.account-nickname .account-field{flex:1}.account-progress{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:0;padding:12px;background:#13251c;border-radius:6px}.account-progress div{display:grid;gap:2px}.account-progress dt{font-size:12px;color:#c9c6b0}.account-progress dd{margin:0;font-size:16px;color:#f5e0af}.account-danger{padding:9px 14px;border:1px solid #ffb48f;border-radius:4px;color:#ffd4bf;background:#5a2a20;font-size:13px;cursor:pointer}.stage-nickname-account{display:grid;gap:8px;margin-bottom:24px;font-size:13px;color:#d9d3b8}.stage-nickname-account div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:#f6edd5;background:#13251c;border:1px solid rgba(225,214,165,.25);border-radius:4px;font-size:15px}.stage-nickname-account button{padding:0;border:0;background:none;color:#e9d297;font-size:13px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}@media(max-width:760px){.account-button{min-width:44px;padding:0 10px}.front-options .account-button span{display:none}.front-options .toy-account span{display:inline}}.phase-countdown,.managed-note{position:absolute;bottom:204px;left:50%;z-index:7;transform:translate(-50%);margin:0;padding:5px 14px;color:#fff3cf;background:#202c23db;border:1px solid rgba(225,214,165,.3);border-radius:6px;font-size:14px;white-space:nowrap;pointer-events:none}.phase-countdown b{color:#ffd28a;font-size:17px}.managed-note{bottom:auto;top:124px;background:#5c3e20eb}.streak-count{margin:6px 0 0;color:#fff3cf;font-size:18px}.streak-count b{color:#ffd28a;font-size:24px}.streak-count small{color:#d9d0b4;font-size:13px}.streak-result{margin:8px 0;color:#fff3cf;font-size:22px;font-weight:600}.streak-result b{color:#ffd28a;font-size:34px}.share-open{margin:8px 0}.stage-level{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#e8dfc4;font-size:13px}.stage-level select{flex:1;min-width:0;padding:6px 8px;color:#f6edd5;background:#1e3127;border:1px solid rgba(225,214,165,.35);border-radius:4px;font:inherit}.streak-rules{margin:0 0 16px;padding:0;list-style:none;color:#e8dfc4;font-size:13px;line-height:1.6}.streak-rules li{position:relative;margin-top:6px;padding-left:12px}.streak-rules li:before{content:"";position:absolute;left:0;top:.65em;width:4px;height:4px;border-radius:50%;background:#d8bb78}.settings-panel{position:relative;display:inline-block}.settings-panel summary{list-style:none;cursor:pointer;padding:6px 0;font-size:13px;color:var(--soft);text-shadow:0 1px 8px #243022}.settings-panel summary:hover{color:#fff}.settings-panel summary::-webkit-details-marker{display:none}.front-options .settings-panel summary{display:inline-flex;align-items:center;justify-content:center;height:100%;min-height:44px;padding:0 13px;color:var(--cover-cream);background:#1d493d;border:1px solid #c5ab70;border-radius:5px;font-size:13px;text-shadow:none}.settings-body{position:absolute;right:0;top:calc(100% + 8px);z-index:30;display:grid;gap:10px;width:230px;padding:12px 14px;color:#f6edd5;text-align:left;background:#1e2c23f7;border:1px solid rgba(225,214,165,.35);border-radius:8px;box-shadow:0 10px 26px #0a100c66;font-size:13px}.settings-body label{display:grid;gap:4px}.settings-body input[type=range]{width:100%}.settings-body fieldset{display:flex;gap:12px;margin:0;padding:0;border:0}.settings-body legend{float:left;margin-right:10px;padding:0}.settings-body fieldset label{display:flex;align-items:center;gap:4px}.share-dialog{position:fixed;left:50%;top:50%;z-index:40;transform:translate(-50%,-50%);display:grid;gap:12px;width:min(720px,calc(100% - 32px));padding:16px;color:#f6edd5;background:#1c2820fa;border:1px solid rgba(225,214,165,.35);border-radius:10px;box-shadow:0 18px 50px #080e0a8c}.share-dialog img{display:block;width:100%;height:auto;border-radius:6px}.share-waiting{margin:0;padding:80px 0;text-align:center}.share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.share-actions a{text-decoration:none}.share-message{margin:0;font-size:13px;color:#e6dcbc}.phone-notice{position:fixed;inset:auto 14px 24px;z-index:50;display:grid;gap:10px;padding:18px;color:#f6edd5;background:#1c2820fa;border:1px solid rgba(225,214,165,.4);border-radius:10px;box-shadow:0 14px 40px #080e0a80}.phone-notice h2{margin:0;font-size:19px}.phone-notice p{margin:0;font-size:14px;line-height:1.6}@media(max-height:900px)and (min-width:761px){.battle-stage .format-picker>div{gap:8px}.battle-stage .format-picker label>span{min-height:0;padding:9px 8px}.battle-stage .format-picker .mode-emblem{margin-bottom:3px;font-size:20px}.battle-stage .format-picker b{font-size:16px}.stage-mode{padding:14px 16px}.stage-mode .stage-match-note{margin-top:10px;padding-top:10px;line-height:1.5}}@media(max-height:680px)and (min-width:761px){.stage-mode .stage-match-note{display:none}}:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#f7f4e8;background:#827a5e;font-synthesis:none;--light: #f7f4e8;--soft: #ddd9c7;--ink: #313b2d;--leaf: #b8c68a}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button,input,select{outline-offset:5px}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #eff6cf;outline-offset:5px}input,select{min-width:0}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.play-app{--ui-panel: #29382df5;--ui-border: #d4d6b95c;--ui-paper: #f2edda;--ui-muted: #d5d8c3;position:relative;isolation:isolate;width:100%;height:100dvh;min-height:480px;overflow:hidden;background:#827a5e}.play-app>canvas,.play-app>div:first-child:has(canvas){position:absolute;inset:0;width:100%;height:100%}.scene-shade{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgb(21 31 21 / 36%),transparent 32%,transparent 60%,rgb(25 29 20 / 42%))}.phase-welcome .scene-shade{background:linear-gradient(90deg,rgb(30 39 27 / 50%),rgb(30 39 27 / 12%) 60%,transparent)}.play-header{position:absolute;z-index:4;top:0;left:0;right:0;display:flex;align-items:center;gap:36px;padding:28px 36px;pointer-events:none}.play-header button,.play-header nav{pointer-events:auto}.small-brand{font-family:Songti SC,STSong,serif;font-size:24px;font-weight:700;white-space:nowrap;text-shadow:0 1px 8px #243022}.small-brand i{font:11px PingFang SC,sans-serif;letter-spacing:.3em;margin-left:15px;font-style:normal;opacity:.64}.quiet-controls{margin-left:auto;display:flex;gap:22px}.quiet-controls button,.text-action{border:0;background:none;padding:6px 0;font-size:13px;color:var(--soft);text-shadow:0 1px 8px #243022}.quiet-controls button:hover,.text-action:hover{color:#fff}.phase-path{display:flex;gap:24px;color:#ddd9c793;font-size:12px}.phase-path span{position:relative}.phase-path span[aria-current]{color:#fff}.phase-path span[aria-current]:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background:#d6e4b1}.welcome-copy{position:absolute;z-index:2;left:10%;top:18%;width:min(470px,80vw);max-height:calc(100dvh - 160px);overflow-y:auto}.opening-line{margin:0 0 15px;color:#e1e6cb;font-size:14px}.welcome-copy h1{font:500 clamp(72px,8vw,116px)/1.12 "Songti SC","STSong",serif;letter-spacing:.06em;margin:0 0 26px;text-shadow:1px 3px 25px #1d2b2866}.welcome-line{font-size:17px;line-height:1.95;letter-spacing:.08em;color:#eeeada;margin:0 0 24px}.welcome-actions{display:flex;align-items:center;gap:25px}.character-picker{margin:0 0 24px;padding:0;border:0}.character-picker legend{margin-bottom:10px;font-size:13px}.character-picker legend small{margin-left:12px;color:#d4d5bf;font-size:10px}.character-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.character-picker label{position:relative;cursor:pointer}.character-picker input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;padding:0;margin:0;border:0}.character-picker label>span{display:flex;flex-direction:column;align-items:center;padding:7px 5px 10px;text-align:center;border:1px solid #d3d9c045;border-radius:4px;background:#25352ab8}.character-picker img{display:block;width:100%;height:112px;object-fit:contain}.character-picker strong{font-size:13px;font-weight:500;margin-top:5px}.character-picker label small{font-size:10px;color:#d4d5bf;line-height:1.6;min-height:32px;margin-top:4px}.character-picker input:checked+span{border-color:#e3edbb;background:#40513be8}.character-picker input:focus-visible+span{outline:2px solid #eff6cf;outline-offset:3px}.main-action{border:1px solid #e7ecd1a3;border-radius:3px;background:#eef0d9;color:#35402f;padding:13px 25px;font-size:15px;font-weight:600;letter-spacing:.06em;box-shadow:0 3px 15px #19281c29}.main-action:hover:not(:disabled){background:#fffced}.opponent-note{display:block;margin-top:15px;font-size:11px;color:#d4d5bfbd;letter-spacing:.03em}.text-action{text-decoration:underline;text-decoration-color:#dee6c04d;text-underline-offset:5px}.phase-copy{position:absolute;top:80px;left:36px;z-index:5;pointer-events:none;text-shadow:0 1px 12px #26332196}.phase-copy p{font-size:13px;margin:0;color:#e9e8d4de}.phase-copy .forage-count{display:flex;align-items:center;gap:9px;color:#e9e8d4cb}.forage-count b{font-weight:500}.forage-count i{font-style:normal;opacity:.6}.forage-count small{font-size:9px;opacity:.65}.phase-copy>p{width:fit-content;margin-left:-10px;padding:3px 10px;background:#202c2394;border-radius:5px;text-shadow:none}.phase-copy>p+p{margin-top:5px}.phase-copy .forage-event{color:#f4f3dd}.phase-banner{position:absolute;top:72px;left:50%;z-index:6;width:max-content;max-width:90%;padding:6px 26px 8px;transform:translate(-50%);text-align:center;pointer-events:none;background:#202c23b8;border-radius:6px;animation:phase-banner 5s ease both}.phase-banner.is-still{animation:none}.phase-banner h1{margin:0;font:400 clamp(24px,1.9vw,32px)/1.35 "Songti SC","STSong",serif}.phase-banner p{margin:6px 0 0;color:#f1efdc;font-size:clamp(14px,1vw,16px)}@keyframes phase-banner{0%{opacity:0}8%,84%{opacity:1}to{opacity:0}}.key-guide{position:absolute;left:36px;bottom:24px;z-index:5;font-size:12px;color:#eeedd8;text-shadow:0 1px 6px #15261b;pointer-events:none}.key-guide-tag{opacity:.75}.key-guide-panel{width:268px;margin-bottom:10px;padding:12px 14px;background:#202c23db;border:1px solid rgb(225 214 165 / 28%);border-radius:6px;text-shadow:none}.key-guide-panel p{margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid rgb(225 214 165 / 20%);line-height:1.6}.key-guide-panel dl{display:grid;gap:7px;margin:0}.key-guide-panel dl>div{display:grid;grid-template-columns:70px 1fr;gap:10px}.key-guide-panel dt{color:#ffd28a}.key-guide-panel dd{margin:0}.friends-sheet{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:min(540px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:30px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:5px;box-shadow:0 15px 60px #15241c55}.friends-sheet h1{font:400 30px Songti SC,STSong,serif;margin:0 0 25px}.sheet-close{position:absolute;right:15px;top:10px;font-size:25px;border:0;background:none;color:#cfdbb7;padding:3px 8px}.friends-sheet label{display:block;font-size:12px;color:#d3d9c0}.friends-sheet input{display:block;width:100%;border:0;border-bottom:1px solid #d3d9c06b;background:none;color:#fff;padding:11px 0;margin:4px 0 23px;border-radius:0}.friends-sheet>.main-action{width:100%;font-size:13px}.join-form{margin-top:28px;padding-top:23px;border-top:1px solid #d3d9c02e}.join-form input{margin-bottom:12px}.join-form .text-action{font-size:13px}.waiting-invite{position:absolute;z-index:3;left:50%;top:48%;transform:translate(-50%,-50%);text-align:center;width:min(380px,calc(100% - 40px));text-shadow:0 1px 15px #1c2d22}.waiting-invite p{font-size:14px}.waiting-invite strong{display:block;font:400 54px/1.4 Songti SC,serif;letter-spacing:.18em;padding-left:.18em}.waiting-invite .text-action{display:block;margin:5px auto 30px}.waiting-invite .main-action{display:block;margin:auto}.key-hint{font-size:10px;padding:3px 7px;border:1px solid #dce1c45e;border-radius:3px;margin-right:6px}.main-action .key-hint{border-color:currentColor}.near-hand-actions{position:absolute;z-index:3;bottom:210px;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;gap:20px;width:max-content;max-width:90%;font-size:13px;text-shadow:0 1px 12px #1b2c20}.light-action{border:1px solid #e1e6c773;background:#34452df2;border-radius:3px;padding:10px 18px;color:#f7f8e9;font-size:14px;white-space:nowrap;box-shadow:0 3px 20px #18281f29}.light-action:hover:not(:disabled){background:#4d603ddd;border-color:#edf3d7}.duel-whisper{position:absolute;z-index:2;bottom:205px;left:50%;transform:translate(-50%);width:max-content;max-width:90%;text-align:center;text-shadow:0 2px 16px #1c2c20;pointer-events:none}.duel-whisper h2{font:400 22px Songti SC,STSong,serif;margin:0 0 12px}.duel-whisper p{font-size:14px;margin:0;color:#ececd7ee}.duel-whisper button{pointer-events:auto}.finished-actions{position:absolute;z-index:3;bottom:18%;left:50%;transform:translate(-50%);text-align:center;min-width:320px}.finished-actions p{font-size:13px;line-height:1.7;text-shadow:0 1px 10px #253525}.finished-actions .text-action{display:block;margin:18px auto 0}.hand-bench{position:absolute;z-index:3;left:50%;bottom:17px;transform:translate(-50%);width:min(650px,calc(100% - 60px))}.bench-caption{display:flex;align-items:center;gap:18px;min-height:40px;padding:0 8px}.bench-caption>span{font-size:13px;color:#e0e1c7ed;text-shadow:0 1px 10px #253525}.bench-caption>.light-action{margin-left:auto;padding:8px 14px}.bench-caption>.text-action{font-size:11px}.material-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:stretch}.material-piece{position:relative;min-width:0;border:1px solid transparent;border-bottom-color:#e3e7c728;border-radius:3px;background:linear-gradient(0deg,#34412d80,transparent);text-align:left;padding:8px 10px 10px;color:#f3f1df;transition:background .15s,border-color .15s}.material-piece svg{display:block;width:100%;height:45px;filter:drop-shadow(0 3px 3px #1c2b1a73)}.material-piece>span{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.material-piece>small{display:block;font-size:10px;color:#d8dcc29c;margin-top:5px}.material-piece.is-selected{background:#4356388c;border-color:#d5e6b27a}.material-piece.is-paired{border:1px dashed #e3d8afbb;background:#5a543a8c}.material-piece.is-broken{opacity:.35;filter:grayscale(.7)}.material-space{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e3e7c715;min-height:105px}.material-space i{height:1px;width:24px;background:#e3e7c726;transform:rotate(-12deg)}.keyboard-actions{position:relative;text-align:right;margin-top:8px;font-size:10px;color:#dee3c794}.keyboard-actions summary{display:inline-block;cursor:pointer;padding:5px;list-style:none}.keyboard-actions summary::-webkit-details-marker{display:none}.keyboard-panel{position:absolute;right:0;bottom:28px;width:min(350px,calc(100vw - 35px));display:flex;align-items:center;flex-wrap:wrap;gap:10px;text-align:left;padding:16px;background:#263c2ef5;border:1px solid #d2dcc449;border-radius:4px;box-shadow:0 10px 40px #17251a59;color:#f0f1dc;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.keyboard-panel>span{display:block;width:100%;font-size:11px;line-height:1.7}.keyboard-panel button{border:1px solid #d2dcc455;background:#eff0d70d;border-radius:3px;padding:8px 12px;font-size:11px}.keyboard-panel label{display:flex;align-items:center;gap:10px;font-size:11px;flex-wrap:wrap}.keyboard-panel input{accent-color:#bacf95;width:170px}.keyboard-panel select{background:#384e3b;color:#eef0da;border:1px solid #cfdfb752;border-radius:3px;padding:5px;font-size:11px;max-width:190px}.step-buttons{display:flex;gap:7px;flex-wrap:wrap}.connection-note,.scene-notice{position:absolute;z-index:5;top:85px;right:36px;font-size:11px;background:#2e3e2bc4;border:1px solid #e2e7c72e;border-radius:3px;padding:9px 13px;color:#f4efd4;max-width:calc(100% - 40px)}.scene-notice{inset:auto auto 190px 50%;transform:translate(-50%);text-align:center;width:max-content;margin:0}.play-error{position:absolute;z-index:10;left:50%;top:95px;transform:translate(-50%);display:flex;align-items:center;gap:20px;padding:13px 16px;max-width:calc(100% - 35px);width:max-content;background:#593f2df5;border:1px solid #d7bd8a73;border-radius:4px;color:#fff4d8;font-size:12px;box-shadow:0 5px 35px #25332155}.play-error button{border:0;background:none;font-size:20px;color:#f1e0bf;padding:0 4px}.forage-reticle{position:absolute;z-index:5;left:50%;top:50%;width:15px;height:15px;transform:translate(-50%,-50%);border:1px solid #fff9dfb5;border-radius:50%;box-shadow:0 0 3px #17251c;pointer-events:none}.forage-reticle:after{content:"";position:absolute;width:3px;height:3px;left:5px;top:5px;background:#fff6d8;border-radius:50%}.hand-cursor{position:absolute;top:0;left:0;z-index:6;width:18px;height:18px;border:1px solid #fff4c7;border-radius:50%;box-shadow:0 0 0 3px #28352666;pointer-events:none}.hand-cursor[hidden]{display:none}.mouse-resume{position:absolute;z-index:8;left:50%;top:43%;transform:translate(-50%,-50%);width:max-content;max-width:90%;text-align:center;padding:22px;background:#24302be8;border:1px solid #d9dfc342;border-radius:5px;box-shadow:0 8px 35px #17241f66}.mouse-resume p{font-size:12px;margin:0 0 15px}.mouse-resume small{display:block;margin-top:13px;font-size:10px;color:#d8deca}.pointer-locked .play-header button,.pointer-locked .near-hand-actions button,.pointer-locked .hand-bench,.pointer-locked .duel-whisper button,.pointer-locked .finished-actions button{pointer-events:none}.phase-craft .phase-copy{display:none}.root-assessment{color:#f6f1df;text-shadow:none}.assessment-heading{display:flex;align-items:center;gap:10px;font-size:16px;line-height:1.4}.assessment-heading strong{font-size:19px}.assessment-heading>span:last-child{margin-left:auto;color:#e1dfc6;font-size:14px}.root-grade{display:inline-block;padding:3px 9px;border:1px solid #d8dcad66;border-radius:4px;background:#e7e5bd15;font-size:15px;font-weight:700;white-space:nowrap}.tone-strong .root-grade,.tray-grade.tone-strong{color:#daedaa}.tone-fragile .root-grade,.tray-grade.tone-fragile{color:#f3b994}.assessment-reason{margin:7px 0;color:#f1ecd9;font-size:15px;line-height:1.45}.root-traits{display:flex;gap:18px;margin:7px 0}.root-traits>div{display:flex;align-items:baseline;gap:7px}.root-traits dt{color:#d5d6b9;font-size:13px}.root-traits dd{margin:0;color:#f5e8bc;font-size:15px;font-weight:600}.assessment-weakness,.assessment-comparison{margin:6px 0;font-size:14px;line-height:1.45;color:#e2dfc9}.assessment-comparison{color:#dcecae}.assessment-note{display:block;font-size:11px;line-height:1.4;color:#d2d5bd}.forage-assessment{position:absolute;z-index:4;right:30px;top:49%;transform:translateY(-50%);width:340px;max-width:calc(100% - 40px);padding:16px 18px;border:1px solid #d8dcad66;border-radius:7px;background:#23382df2;box-shadow:0 5px 25px #17251d55;pointer-events:none}.forage-assessment .root-traits{gap:10px}.forage-assessment .root-traits>div{display:block;flex:1}.forage-assessment .root-traits dd{margin-top:3px}.assessment-action{margin:10px 0 0;padding-top:9px;border-top:1px solid #d8dcad33;color:#f0dba4;font-size:14px;line-height:1.5}.material-piece>span{font-size:13px}.material-piece>small{font-size:12px;color:#e0e2ca}.tray-grade{font-weight:600}.pair-role{position:absolute;top:3px;left:7px;color:#f4e2a8;background:#344232e8;border-radius:3px;padding:2px 5px;font-size:12px;font-weight:600;font-style:normal}.format-picker,.join-team-picker{padding:0;border:0;margin:0 0 18px;min-width:0}.format-picker legend,.join-team-picker legend{padding:0;margin-bottom:8px;color:var(--ui-muted);font-size:13px}.format-picker>div,.join-team-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.format-picker label,.join-team-picker label{position:relative;cursor:pointer;min-width:0}.format-picker input[type=radio],.join-team-picker input[type=radio]{position:absolute;inset:0;z-index:1;opacity:0;width:100%;height:100%;margin:0;padding:0;border:0;cursor:pointer}.format-picker label>span,.join-team-picker label>span{display:block;min-height:52px;padding:9px 13px;border:1px solid var(--ui-border);border-radius:3px;background:#233126d9;color:var(--ui-paper)}.format-picker b{display:inline-block;margin-right:10px;font-size:16px;font-weight:500}.format-picker small{display:block;margin-top:3px;font-size:12px;color:var(--ui-muted);line-height:1.4}.format-picker input:checked+span,.join-team-picker input:checked+span{border-color:#dfd6a4;background:#4b573be8;box-shadow:inset 3px 0 #dfd6a4}.format-picker input:focus-visible+span,.join-team-picker input:focus-visible+span{outline:2px solid var(--ui-paper);outline-offset:3px}.format-picker label:hover>span,.join-team-picker label:hover>span{border-color:#e0dec1}.join-team-picker label>span{display:flex;align-items:center;min-height:44px;font-size:13px;line-height:1.45}.welcome-copy{width:min(540px,80vw);top:13%}.welcome-copy h1{font-size:clamp(72px,7vw,100px);margin-bottom:18px}.welcome-line{font-size:16px;line-height:1.7;margin-bottom:18px}.welcome-copy .character-picker{margin-bottom:18px}.welcome-copy .character-picker img{height:96px}.opponent-note{color:#e6e5cfee;font-size:12px;line-height:1.7;max-width:500px}.lobby-sheet{top:100px;bottom:auto;transform:translate(-50%);width:min(790px,calc(100% - 48px));max-height:calc(100dvh - 124px);overflow-y:auto;padding:26px;text-align:left;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:5px;text-shadow:none;box-shadow:0 15px 60px #17251b55}.lobby-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.lobby-heading p{margin:0 0 7px;color:#d9dbbf;font-size:13px}.lobby-heading h1{font:400 28px/1.35 Songti SC,STSong,serif;margin:0}.invite-code{flex-shrink:0;text-align:right}.invite-code>small{display:block;color:var(--ui-muted);font-size:12px}.invite-code>strong{font:500 30px/1.3 Songti SC,serif;letter-spacing:.12em;padding-left:.12em}.invite-code>.text-action{display:inline-block;font-size:12px;margin:3px 0 0}.lobby-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lobby-team{min-width:0;border-top:2px solid #aa9580}.lobby-team.is-own-team{border-color:#b9c68b}.lobby-team h2{display:flex;align-items:baseline;gap:12px;margin:11px 0 8px;font:500 19px/1.4 Songti SC,serif}.lobby-team h2 small{font:12px/1.4 PingFang SC,sans-serif;color:var(--ui-muted)}.room-seat{display:flex;align-items:center;gap:10px;min-height:84px;padding:7px 0;border-bottom:1px solid #c3ccb32b}.room-seat>img{width:52px;height:68px;object-fit:contain;flex-shrink:0}.seat-copy{min-width:0;flex:1}.seat-copy>strong{display:block;overflow-wrap:anywhere;font-size:15px;font-weight:500;line-height:1.4}.seat-copy em{display:inline-block;margin-left:7px;padding:0 5px;border:1px solid #dfe3be6b;border-radius:2px;font-size:11px;font-style:normal}.seat-copy>span{display:block;margin-top:5px;font-size:12px;color:#d9dcc8;line-height:1.5}.seat-action{align-self:center;flex-shrink:0;min-height:40px;padding:6px 8px;border:1px solid var(--ui-border);border-radius:3px;background:#eff0d90b;font-size:12px;color:var(--ui-paper)}.seat-action:hover:not(:disabled){background:#dfe5bc1a;border-color:#e2dfbb}.empty-seat-mark{display:grid;flex-shrink:0;place-items:center;width:52px;height:60px;border:1px dashed #c3ccb347;border-radius:3px;font-size:24px;color:#d9dcc899}.is-empty .seat-copy>strong{color:#d9dcc8}.lobby-sheet .lobby-rule{margin:18px 0;color:#e3e0ca;font-size:13px;line-height:1.8}.lobby-ready{display:flex;align-items:center;justify-content:space-between;gap:20px}.lobby-ready>span{color:#e4e6ce;font-size:14px;font-variant-numeric:tabular-nums}.lobby-ready small{display:block;margin-top:4px;font-size:12px;color:var(--ui-muted)}.lobby-ready .main-action{margin:0;min-height:46px}.team-play .phase-copy{width:360px;max-width:calc(100% - 44px)}.team-status{padding:7px 10px;border-left:2px solid #e0dcc06b;background:#29382de8;border-radius:0 3px 3px 0;text-shadow:none}.team-status-row{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;min-height:47px}.team-status-row+.team-status-row{border-top:1px solid #d5dac029}.team-status-row>strong{font-size:13px;font-weight:500;color:#ded8bd}.team-status-row.is-own-team>strong{color:#d6e9b1}.team-status-row>strong small{display:block;font-size:11px;margin-top:3px;white-space:nowrap}.team-member{display:flex;align-items:center;gap:5px;min-width:0}.team-member>img{width:23px;height:32px;object-fit:contain;flex-shrink:0}.team-member>span{min-width:0;flex:1}.team-member>span b{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-member>span small{display:block;font-size:11px;color:#d8dcc4;white-space:nowrap;line-height:1.5}.team-member.is-on-stage>span b{color:#f1dfa8}.team-member>em{font-size:13px;font-style:normal;white-space:nowrap;font-variant-numeric:tabular-nums}.team-member>em b{font-weight:500}.craft-team-status{margin:0 0 9px;padding-bottom:8px;border-bottom:1px solid var(--ui-border);font-size:14px;line-height:1.5;color:#e7e8cf;font-variant-numeric:tabular-nums}.craft-guide.is-ready .craft-main-instruction:not(.is-confirmed){display:block}.duel-turn-note{position:absolute;z-index:3;left:36px;top:196px;width:360px;max-width:calc(100% - 44px);padding:10px 16px;text-align:left;pointer-events:none;background:#29382de8;border:1px solid #c9d0ae52;border-radius:3px}.duel-turn-note>strong{display:block;font-size:17px;font-weight:500;line-height:1.5}.duel-turn-note>span{display:block;margin-top:4px;color:#dfdfc8;font-size:12px;line-height:1.5}.duel-turn-note.is-your-turn{border-color:#ddd29c99}.duel-turn-note.is-your-turn>strong{color:#f4e5ac}.team-play .duel-whisper .light-action{margin-top:12px}.finished-actions>h1{font:400 32px/1.4 Songti SC,serif;margin:0 0 10px}.team-results{top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(700px,calc(100% - 48px));max-height:calc(100dvh - 140px);overflow-y:auto;padding:26px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:4px}.result-teams{display:grid;grid-template-columns:1fr 1fr;gap:22px;text-align:left;margin:22px 0}.result-teams>section{border-top:2px solid #a5987a;padding-top:12px;min-width:0}.result-teams>section.is-winning-team{border-color:#c4d39e}.result-teams h2{display:flex;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:16px;font-weight:500}.result-teams h2>span{font-size:13px;color:#e1ddc7;white-space:nowrap}.result-player{display:flex;align-items:center;gap:9px;margin-top:8px;min-width:0}.result-player>img{width:38px;height:50px;object-fit:contain;flex-shrink:0}.result-player>div{min-width:0}.result-player strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.result-roots{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:7px}.result-roots>i{width:16px;height:3px;background:#d5c28b;transform:rotate(-15deg)}.result-roots>i.is-broken{background:linear-gradient(90deg,#b3ab93 44%,transparent 44%,transparent 60%,#b3ab93 60%);opacity:.6}.result-roots>small{font-size:12px;color:#d9dbc1;margin-left:3px}@media(min-width:1500px){.welcome-copy{left:13%}.play-header{padding:34px 48px}.phase-copy,.key-guide,.duel-turn-note{left:48px}.hand-bench{bottom:26px;width:720px}.near-hand-actions,.duel-whisper{bottom:225px}}@media(max-width:760px){.play-app{min-height:520px}.play-header{padding:21px 20px;gap:20px;flex-wrap:wrap}.small-brand{font-size:20px}.small-brand i{display:none}.quiet-controls{gap:14px}.quiet-controls button{font-size:10px}.phase-path{position:absolute;top:65px;left:21px;font-size:10px;gap:20px}.phase-copy{left:22px;top:108px;max-width:calc(100% - 44px)}.phase-copy p{font-size:10px}.welcome-copy{inset:95px 8% 20px 9%;width:auto;max-height:none}.welcome-copy h1{font-size:72px;margin-bottom:18px}.welcome-line{font-size:15px;margin-bottom:18px}.character-picker img{height:84px}.character-picker legend small{display:block;margin:5px 0 0}.welcome-actions{align-items:flex-start;flex-direction:column;gap:15px}.opening-line{font-size:12px}.welcome-copy .main-action{font-size:14px}.opponent-note{font-size:10px;max-width:240px;line-height:1.6}.key-hint{display:none}.hand-bench{bottom:12px;width:calc(100% - 26px)}.bench-caption{padding:0 3px;gap:10px;min-height:40px}.bench-caption>span{font-size:10px;max-width:55%;line-height:1.6}.bench-caption>.light-action{font-size:10px;padding:8px 10px}.bench-caption>.text-action{font-size:10px}.material-tray{gap:5px}.material-piece{padding:6px 5px 8px}.material-piece svg{height:36px}.material-piece>span{font-size:10px}.material-piece>small{font-size:9px}.material-space{min-height:88px}.near-hand-actions{bottom:185px;gap:12px;max-width:calc(100% - 35px);font-size:11px}.near-hand-actions .light-action{font-size:11px;padding:9px 12px}.forage-assessment{top:auto;right:12px;bottom:190px;transform:none;width:min(340px,calc(100% - 24px));padding:12px 14px}.assessment-heading strong{font-size:17px}.assessment-reason{font-size:14px}.material-piece>span{font-size:12px}.material-piece>small{font-size:11px}.duel-whisper{bottom:183px;width:calc(100% - 35px);max-width:none}.duel-whisper h2{font-size:20px}.duel-whisper p{font-size:11px}.connection-note{top:65px;right:20px;font-size:10px;max-width:60%;padding:7px 10px}.scene-notice{bottom:185px;font-size:11px}.friends-sheet{padding:30px}.friends-sheet h1{font-size:27px}.finished-actions{bottom:17%;width:calc(100% - 45px);min-width:0}.finished-actions p{font-size:12px}.finished-actions .main-action{font-size:13px}.play-error{top:160px;max-width:calc(100% - 30px);font-size:11px}.waiting-invite strong{font-size:45px}}@media(max-height:700px)and (min-width:761px){.play-app{min-height:540px}.welcome-copy{top:15%}.welcome-copy h1{font-size:82px;margin-bottom:20px}.welcome-line{font-size:15px;margin-bottom:25px}.character-picker img{height:76px}.phase-copy{top:85px}.hand-bench{bottom:8px}.material-piece svg{height:32px}.material-space{min-height:88px}.near-hand-actions,.duel-whisper,.scene-notice{bottom:175px}}@media(max-height:800px)and (min-width:761px){.welcome-copy{top:82px;max-height:calc(100dvh - 98px)}.welcome-copy .opening-line{margin-bottom:8px}.welcome-copy h1{font-size:72px;margin-bottom:10px;line-height:1.05}.welcome-line{font-size:14px;margin-bottom:13px}.welcome-line br{display:none}.welcome-copy .format-picker{margin-bottom:13px}.welcome-copy .format-picker label>span{min-height:48px;padding:7px 12px}.welcome-copy .character-picker{margin-bottom:14px}.welcome-copy .character-picker img{height:68px}.opponent-note{margin-top:9px;font-size:12px}.lobby-sheet{top:88px;max-height:calc(100dvh - 106px);padding:22px}.team-results{max-height:calc(100dvh - 110px);padding:22px}}@media(max-width:1100px)and (min-width:761px){.team-play .phase-copy,.duel-turn-note{width:320px}}@media(max-width:760px){.play-header{padding-top:max(18px,env(safe-area-inset-top))}.quiet-controls button{font-size:12px}.welcome-copy{top:94px;width:auto;left:6%;right:6%}.welcome-copy h1{font-size:64px;margin-bottom:13px}.welcome-line{font-size:14px;margin-bottom:16px}.welcome-line br{display:none}.welcome-copy .character-picker img{height:78px}.character-picker label small{font-size:11px}.format-picker b{font-size:15px}.format-picker small{font-size:12px}.opponent-note{max-width:none;font-size:12px}.friends-sheet{padding:26px 20px;width:calc(100% - 24px);max-height:calc(100dvh - max(24px,env(safe-area-inset-top)))}.lobby-sheet{top:88px;width:calc(100% - 24px);max-height:calc(100dvh - 104px);padding:20px 16px}.lobby-heading{gap:12px;align-items:flex-start;margin-bottom:17px}.lobby-heading h1{font-size:23px}.lobby-heading p{font-size:12px}.invite-code>strong{font-size:25px}.lobby-teams{gap:12px}.lobby-team h2{gap:6px;flex-wrap:wrap;margin-bottom:5px;font-size:18px}.lobby-team h2 small{font-size:11px}.room-seat{gap:6px;flex-wrap:wrap;min-height:122px;padding:8px 0}.room-seat>img,.empty-seat-mark{width:36px;height:50px}.seat-copy>strong{font-size:14px}.seat-copy>span{font-size:12px}.seat-action{width:100%;min-height:40px;padding:6px;font-size:12px}.lobby-ready{align-items:stretch;gap:12px;flex-direction:column}.lobby-ready .main-action{width:100%;min-height:46px}.lobby-sheet .lobby-rule{font-size:13px}.team-play .phase-copy{top:121px;left:16px;width:min(350px,calc(100% - 32px));max-width:none}.duel-turn-note{top:275px;left:16px;right:16px;width:auto;transform:none;padding:8px 12px}.duel-turn-note>strong{font-size:15px}.duel-turn-note>span{font-size:12px}.craft-team-status{font-size:13px;line-height:1.5}.bench-caption>span{font-size:12px}.bench-caption>.light-action{font-size:12px}.near-hand-actions,.near-hand-actions .light-action{font-size:13px}.duel-whisper p{font-size:13px;line-height:1.6}.team-play .duel-whisper>h2{font-size:19px}.team-results{width:calc(100% - 24px);padding:20px 16px;max-height:calc(100dvh - 110px)}.finished-actions>h1{font-size:28px}.result-teams{gap:14px;margin:17px 0}.result-teams h2{flex-direction:column;gap:4px;font-size:15px}.result-roots>small{width:100%;margin-left:0}.hand-bench{bottom:max(12px,env(safe-area-inset-bottom))}}
