@charset "UTF-8";:root{font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#244c3d;background:#f4f0e4;font-synthesis:none;--cream:#f4f0e4;--ink:#244c3d;--muted:#6d7c6b;--gold:#d7a240;--mint:#7cae92;--line:#d8d8c5;--serif:"Songti SC","STSong","SimSun",Georgia,serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}button:focus-visible,summary:focus-visible{outline:3px solid #d7a240;outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}button{border:0;background:none}p{line-height:1.8;margin:0}h1,h2,h3{margin:0}button,textarea{min-width:0}h2{font-family:var(--serif);font-weight:600}button{white-space:normal;overflow-wrap:anywhere}[hidden]{display:none!important}.home{min-height:100svh;display:grid;grid-template-columns:1.04fr 1fr;max-width:1600px;margin:auto}.cover{min-height:850px;position:relative;overflow:hidden;padding:36px 42px 28px;background:#e5e9d8;display:flex;flex-direction:column;border-radius:0 42px 42px 0}.cover:after{position:absolute;inset:0;content:"";pointer-events:none;background:radial-gradient(ellipse at 20% 0%,#f3f1e4 0,transparent 65%);opacity:.7}.cover-top,.cover-copy,.chapter-card{z-index:1}.cover-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-mark{display:flex;gap:9px;align-items:center;font-family:Georgia,serif;font-size:13px;letter-spacing:1.5px}.brand-mark svg{width:30px;height:30px;background:var(--ink);color:#e8d397;padding:5px;border-radius:50%}.edition{font-size:11px;letter-spacing:1px}.cover-copy{margin-top:65px}.eyebrow{font-size:10px;line-height:1.8;letter-spacing:2px;font-weight:600}.cover h1{font-family:var(--serif);font-size:clamp(54px,6vw,88px);letter-spacing:-4px;font-weight:700;line-height:1.4;margin-top:8px}.title-dot{color:var(--gold)}.slogan{font-size:18px;letter-spacing:2px;margin-top:8px}.cover canvas{position:absolute;left:-6%;top:24%;width:112%;height:64%;pointer-events:none}.chapter-card{margin-top:auto;border:1px solid #fffc;background:#f8f6edeb;border-radius:22px;padding:23px;display:flex;gap:18px;align-items:flex-start;box-shadow:0 9px 30px #244c3d09}.chapter-number{font-family:Georgia,serif;font-style:italic;font-size:36px;line-height:1.2;color:#9d9f7d}.chapter-card .eyebrow{font-size:8px;letter-spacing:1.2px;color:var(--muted)}.chapter-card h2{font-size:25px;margin:6px 0 8px}.chapter-card p:not(.eyebrow){font-size:12px;color:#66765f}.small-flower{margin-left:auto;color:#b28338;font-size:27px}.departure{display:flex;flex-direction:column;padding:36px clamp(30px,5vw,80px) 28px}.home-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.status-pill{display:inline-flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;background:#e5ebdc;border:1px solid #d7dfcc;border-radius:99px;padding:7px 12px;max-width:100%}.status-dot{width:6px;height:6px;border-radius:50%;background:#709568;flex-shrink:0}.text-button{font-size:12px;min-height:42px;text-decoration:none;padding:6px 0}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.departure-copy{margin-top:78px}.departure-copy .eyebrow{color:#8c997e;font-size:9px}.departure-copy h2{font-size:clamp(35px,3.6vw,52px);line-height:1.45;margin:16px 0 20px;letter-spacing:-1px}.intro{font-size:13px;color:var(--muted)}.start-actions{display:grid;gap:12px;margin-top:35px}.button{min-height:52px;border-radius:14px;padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:500;font-size:14px;line-height:1.5;transition:transform .15s,background .15s;max-width:100%;text-align:center}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(1px)}.primary{background:var(--ink);color:#fff7df;box-shadow:0 4px #15382c}.secondary{background:#ececde;border:1px solid #d7dccb;box-shadow:0 3px #e2e4d4}.start-actions .button{justify-content:flex-start;min-height:58px;padding-inline:22px}.start-actions .button span:last-child{margin-left:auto}.connection-note{font-size:10px;letter-spacing:1px;text-align:center;margin-top:17px;color:var(--muted)}.role-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin-top:34px}.role-preview>div{display:flex;align-items:center;gap:11px;min-width:0}.role-preview h3{font-size:13px;font-weight:600;margin-bottom:4px}.role-preview p{font-size:10px;color:var(--muted)}.role-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:48px;border-radius:16px;flex-shrink:0}.gold{background:#eddfb5;color:#966e23}.mint{background:#d7e7d8;color:#42725b}.role-amp{font-family:Georgia,serif;font-style:italic;font-size:23px;color:#a5ae96}.explore-button{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-top:18px;min-height:44px;padding:0 5px}.home-footer{font-size:9px;color:#939b85;margin-top:auto;padding-top:32px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.home-footer .text-button{font-size:10px}dialog.sheet{color:var(--ink);background:var(--cream);border:1px solid #d7d9c5;border-radius:28px;box-shadow:0 30px 100px #08281d4d;width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:30px;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#193c2e80;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}dialog h2{font-size:32px;line-height:1.4;margin:12px 0}dialog p{font-size:13px;color:var(--muted)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.close-button{width:40px;height:40px;border-radius:50%;background:#e6e8d9;font-size:25px;flex-shrink:0}.pair-steps{padding:0;list-style:none;display:flex;gap:12px;font-size:11px;justify-content:space-between;color:var(--muted);margin:22px 0}.pair-layout{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;padding:18px;border:1px solid var(--line);border-radius:20px;background:#eeeedf}.qr-box{text-align:center;flex:0 1 230px;min-width:0}.qr-box canvas{width:min(100%,230px)!important;height:auto!important;border-radius:12px;display:block;margin:auto}.qr-box p{font-size:10px;margin-top:8px}.scan-box{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;align-items:stretch;gap:12px;text-align:center}.scan-placeholder{display:flex;align-items:center;justify-content:center;gap:13px;padding:10px}.scan-placeholder svg{width:36px;height:36px;color:#9aa98b}.scan-placeholder p{font-size:12px}.scan-box video{width:100%;max-height:220px;border-radius:14px;object-fit:cover;background:#193c2e}.pair-status{min-height:36px;font-size:12px!important;padding:14px 0;color:#7c6936!important;overflow-wrap:anywhere}.text-pair{border-top:1px solid var(--line);padding-top:12px}.text-pair summary{font-size:12px;cursor:pointer;min-height:35px}.text-pair label{display:block;font-size:11px;margin:14px 0 8px}textarea{resize:vertical;width:100%;border:1px solid var(--line);border-radius:10px;background:#fffaf0;padding:10px;line-height:1.6;color:var(--ink);font-size:12px;overflow-wrap:anywhere}.text-pair .button{width:100%;margin-top:12px}.fine-print{font-size:10px!important;margin-top:18px}.room-dialog,.pause-dialog,.complete-dialog{max-width:490px;text-align:center}.room-roles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.role-card{padding:20px 10px;border:1px solid var(--line);border-radius:20px;background:#e9ecdd;min-width:0}.role-card.mine{border:2px solid var(--gold);background:#f2e8c8}.role-card svg{width:40px;height:40px;margin-bottom:10px}.role-card h3{font-size:18px;font-family:var(--serif);margin-bottom:8px}.role-card p{font-size:11px}.role-card .tiny{display:block;font-size:10px;margin-top:12px}.room-dialog>.button,.pause-dialog>.button,.complete-dialog>.button{width:100%;margin-top:16px}.room-dialog>#ready-status{font-size:11px;min-height:24px;margin-top:18px}.pause-flower,.ending-mark{font-size:80px;color:#c29b46;margin:5px auto;line-height:1.2}.pause-dialog .eyebrow,.complete-dialog .eyebrow{color:#99a184;font-size:9px}.pause-dialog{padding:40px!important}.hint-text{padding:16px;border-radius:16px;background:#e8eadb;margin-top:18px;font-size:13px!important;text-align:left}.ending-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0;border-block:1px solid var(--line);padding:18px 0;gap:10px}.ending-stats strong{display:block;font-size:27px;font-family:Georgia,serif;color:#a47f35}.ending-stats span{font-size:10px}.help-dialog h3{font-size:15px;margin:25px 0 8px}.help-dialog .button{margin-top:22px}.game{position:fixed;inset:0;background:#b6c8a0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.game canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.game-header{position:absolute;top:max(12px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));display:flex;align-items:center;gap:12px;pointer-events:none}.game-header>div,.game-header>button{pointer-events:auto}.chapter-label{display:flex;align-items:center;gap:12px;background:#f9f5e8ed;border:1px solid #fff8;padding:9px 15px;border-radius:17px;box-shadow:0 3px 12px #193c2e09;flex-shrink:0}.chapter-label svg{width:24px;height:24px}.chapter-label small{display:block;font-size:8px;letter-spacing:1px;color:#7d896c}.chapter-label strong{font-size:16px;font-family:var(--serif)}.game-objective{background:#fff7e8e8;padding:9px 16px;border:1px solid #fff8;border-radius:14px;font-size:11px;max-width:400px;line-height:1.6;min-width:0}.game-tools{margin-left:auto;display:flex;align-items:center;gap:7px;flex-shrink:0}.network-pill{border-radius:99px;background:#244c3de8;padding:9px 12px;font-size:10px;color:#f8f4df;max-width:140px}.icon-button{width:38px;height:38px;border-radius:50%;background:#fff5e6ed;box-shadow:0 3px 12px #193c2e09;font-size:17px}.player-tag{position:absolute;top:81px;left:max(20px,env(safe-area-inset-left));display:flex;gap:8px;align-items:center;border-radius:20px;background:#244c3de8;color:#fff8e5;padding:7px 12px;font-size:10px}.player-tag svg{width:16px;height:16px}.player-tag button{font-size:10px;border-left:1px solid #ffffff40;padding-left:10px;color:#f4dfac}.controls{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));display:flex;align-items:flex-end;justify-content:space-between;gap:18px;pointer-events:none}.controls>*{pointer-events:auto}.joystick-wrap{flex-shrink:0;display:flex;align-items:center;gap:10px;color:#244c3d;font-size:10px}.joystick{width:92px;height:92px;position:relative;border-radius:50%;background:#f7f3e8a6;border:1px solid #fff9;box-shadow:inset 0 0 0 7px #fff5,0 6px 20px #244c3d1a;touch-action:none}.joystick span{position:absolute;width:44px;height:44px;left:23px;top:23px;border-radius:50%;background:#fff8e8ef;border:1px solid #c8d3b9;box-shadow:0 3px 5px #193c2e20;pointer-events:none}.joystick i{position:absolute;left:33px;top:29px;font-size:26px;font-style:normal;pointer-events:none;opacity:.5}.context-note{max-width:300px;min-width:0;text-align:center;padding:9px 16px;border:1px solid #fffa;border-radius:15px;font-size:10px;line-height:1.7;background:#fff7e8eb;margin-bottom:6px;pointer-events:none}.action-buttons{display:flex;align-items:flex-end;gap:12px;flex-shrink:0}.action-button{width:68px;height:68px;border-radius:23px;border:1px solid #fff9;background:#fff7e8e8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;box-shadow:0 4px #aeb69b66;touch-action:none;position:relative}.action-button.ability{width:83px;height:83px;border-radius:28px;background:#244c3df0;color:#fff3cc;box-shadow:0 4px #143a2be6}.action-button.ability.active{background:#b78e37;transform:translateY(3px);box-shadow:0 1px #143a2b}.action-button svg{width:26px;height:26px}.action-symbol{font-size:19px}kbd{position:absolute;right:7px;bottom:5px;font-family:inherit;font-size:7px;opacity:.5}.rune-console{position:absolute;left:50%;bottom:125px;transform:translate(-50%);padding:10px 16px;border-radius:18px;background:#fff8e9f5;border:1px solid #ffffffa8;box-shadow:0 6px 25px #193c2e20;text-align:center;font-size:10px;max-width:calc(100vw - 36px)}.rune-console>div{display:flex;gap:8px;margin-top:8px}.rune-console button{border-radius:12px;background:#dce4cc;width:48px;min-height:42px;font-family:var(--serif);font-size:20px}.toast{position:absolute;top:126px;left:50%;transform:translate(-50%);max-width:min(80vw,430px);padding:11px 20px;border-radius:15px;background:#fff5d8ef;color:#725922;font-size:12px;text-align:center;pointer-events:none;line-height:1.6;box-shadow:0 4px 25px #244c3d12}.portrait-note{display:none}@media(min-width:1500px){.cover{border-radius:32px}.home{padding:20px;gap:10px}.departure{padding-block:25px}.cover{min-height:900px}}@media(max-width:1000px)and (min-width:701px){.cover{padding:26px 24px;min-height:760px}.departure{padding:26px 28px}.cover-copy{margin-top:65px}.cover h1{font-size:60px}.departure-copy{margin-top:58px}.departure-copy h2{font-size:35px}.role-preview{gap:8px}.role-preview>div{gap:7px}.role-icon{width:34px;height:42px}.role-preview p{font-size:9px}.chapter-card{padding:17px;gap:10px}.chapter-card p:not(.eyebrow){font-size:11px}.small-flower{display:none}}@media(max-width:700px){.home{display:flex;flex-direction:column}.cover{min-height:530px;border-radius:0 0 30px 30px;padding:23px 25px 22px}.cover-top{gap:8px}.brand-mark,.edition{font-size:10px}.cover-copy{margin-top:32px}.cover h1{font-size:61px;margin-top:1px}.cover-copy .eyebrow{font-size:9px}.slogan{font-size:14px;margin-top:0}.cover canvas{top:26%;height:68%}.chapter-card{padding:15px;gap:12px;border-radius:18px}.chapter-card h2{font-size:21px;margin:2px 0 4px}.chapter-card p:not(.eyebrow){font-size:10px;line-height:1.7}.chapter-number{font-size:28px}.chapter-card .eyebrow{font-size:6px}.departure{padding:25px 28px 20px}.departure-copy{margin-top:32px}.departure-copy h2{font-size:36px;margin:12px 0}.intro{font-size:12px}.start-actions{margin-top:25px}.role-preview{margin-top:26px;padding:20px 0}.home-footer{padding-top:24px}.home-top .text-button{font-size:11px}.status-pill{font-size:10px}.game-objective{display:none}.game-header{left:12px;right:12px;gap:6px}.chapter-label{padding:8px 10px;gap:7px}.chapter-label strong{font-size:14px}.chapter-label svg{width:18px;height:18px}.game-tools{gap:5px}.network-pill{font-size:8px;padding:8px}.icon-button{width:32px;height:32px}.player-tag{left:14px;top:76px}.controls{left:16px;right:16px;gap:8px}.joystick-wrap>span{display:none}.joystick{width:86px;height:86px}.joystick span{top:20px;left:20px}.joystick i{top:26px;left:30px}.context-note{position:absolute;left:0;right:0;bottom:112px;margin:auto;width:fit-content;max-width:calc(100vw - 36px);font-size:10px}.portrait-note{display:block;position:absolute;bottom:118px;left:0;right:0;text-align:center;font-size:8px;color:#244c3d;opacity:.65;pointer-events:none}.rune-console{bottom:190px}.toast{top:119px;font-size:10px}.sheet h2{font-size:27px}dialog.sheet{padding:22px}.pause-dialog{padding:30px 22px!important}.pair-layout{gap:14px;padding:12px}.qr-box{flex-basis:190px}.scan-box{flex-basis:180px}.qr-box canvas{max-width:190px}.pair-steps{font-size:9px;gap:5px}.fine-print{font-size:9px!important}}@media(max-height:500px)and (min-width:600px){.home{min-height:100svh}.cover,.departure{min-height:640px}.cover-copy,.departure-copy{margin-top:40px}.game-header{top:10px;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right))}.chapter-label{padding:7px 10px;gap:8px}.chapter-label strong{font-size:13px}.chapter-label small{font-size:7px}.game-objective{padding:8px 12px;font-size:10px;max-width:280px}.network-pill{font-size:8px;padding:8px}.icon-button{width:33px;height:33px}.player-tag{top:65px;font-size:9px}.controls{bottom:max(13px,env(safe-area-inset-bottom))}.joystick{width:76px;height:76px}.joystick span{width:38px;height:38px;left:18px;top:18px}.joystick i{left:25px;top:21px;font-size:24px}.action-button{width:59px;height:59px;border-radius:20px;font-size:10px}.action-button.ability{width:73px;height:73px;border-radius:25px}.context-note{font-size:9px;padding:8px 13px;max-width:270px}.rune-console{bottom:105px;padding:8px 12px}.rune-console button{min-height:35px;width:42px}.toast{top:102px;font-size:10px;padding:8px 15px}.sheet{max-height:calc(100dvh - 16px)!important}.pair-dialog .pair-layout{flex-wrap:nowrap}.pair-dialog .qr-box{flex:0 0 170px}.qr-box canvas{max-width:170px}.room-dialog .role-card{padding:10px}.room-dialog .role-card svg{width:27px;height:27px}.room-dialog .role-card .tiny{margin-top:6px}.room-dialog h2{font-size:25px}.room-dialog .room-roles{margin-top:14px}.pause-flower,.ending-mark{font-size:48px}.pause-dialog{padding:20px 30px!important}}@media(max-width:700px){.cover{min-height:430px}.cover-copy{margin-top:22px}.cover canvas{top:24%;height:73%}.departure-copy{margin-top:20px}.departure-copy h2{font-size:29px;line-height:1.35;margin:10px 0}.departure-copy h2 br,.departure-copy .intro{display:none}.start-actions{margin-top:20px}.role-preview{margin-top:22px}}@media(max-width:700px){.cover canvas{top:24%;height:50%}.departure-copy h2 br{display:initial}}.icon-button{min-width:44px;min-height:44px}.rune-console button{min-height:44px}@media(max-height:500px)and (min-width:600px){dialog.complete-dialog[open]{max-width:640px;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;padding:20px 24px}.complete-dialog .eyebrow{grid-column:1/-1}.complete-dialog .ending-mark{display:none}.complete-dialog h2{grid-column:1;margin:8px 0 0;font-size:30px}.complete-dialog>p:not(.eyebrow){grid-column:1;font-size:12px}.complete-dialog .ending-stats{grid-column:2;grid-row:2/span 2;align-self:center;border:0;margin:0;padding:12px 0}.complete-dialog[open]>.button{grid-column:1/-1;margin-top:8px;min-height:44px}.complete-dialog #ending-home{grid-column:1/-1;min-height:30px;padding:4px}}.number-pair{margin-top:22px}.room-created{border:1px solid var(--line);border-radius:22px;background:#e9ecdd;padding:24px 24px 12px;text-align:center}.number-label{font-size:12px;color:#6d7b63}.room-number{display:block;font-family:Georgia,serif;font-size:58px;line-height:1.3;letter-spacing:5px;font-variant-numeric:tabular-nums;color:var(--ink);margin:12px 0;user-select:all;-webkit-user-select:all}.room-created>p{font-size:11px!important}.number-tools{display:flex;justify-content:space-between;gap:15px;margin-top:18px;border-top:1px solid var(--line);padding-top:8px}.number-tools button{min-height:44px}.room-code-form label{display:block;font-size:12px;margin-bottom:12px}.room-code-form input{width:100%;min-height:72px;border:1px solid var(--line);border-radius:18px;background:#fffaf0;color:var(--ink);font-size:32px;letter-spacing:8px;text-align:center;font-variant-numeric:tabular-nums;padding:14px 12px;outline-offset:4px}.room-code-form input::placeholder{font-size:19px;letter-spacing:2px;color:#8b947d}.room-code-form>.button{width:100%;margin-top:16px;min-height:52px}.number-note{font-size:11px!important;margin-top:16px;line-height:1.7!important}.pair-dialog .pair-status{padding:12px 0;min-height:46px}.offline-pair{border-top:1px solid var(--line);padding-top:12px}.offline-pair>summary{cursor:pointer;font-size:11px;min-height:32px;color:#6d7b63}.offline-pair>.pair-layout{margin-top:14px}.pair-dialog button:disabled{opacity:.5;cursor:default}@media(max-width:700px){.room-created{padding:20px 16px 8px}.room-number{font-size:48px;letter-spacing:4px}.number-pair{margin-top:18px}.room-code-form input{font-size:30px;min-height:66px}}@media(max-height:500px)and (min-width:600px){.number-pair{margin-top:14px}.room-created{padding:12px 18px 2px}.room-number{font-size:42px;line-height:1.2;margin:6px 0}.number-tools{margin-top:8px;padding-top:2px}.number-note{margin-top:10px}.pair-dialog .pair-status{min-height:36px;padding:8px 0}.room-code-form{display:grid;grid-template-columns:1fr auto;gap:10px 14px;align-items:center}.room-code-form label{grid-column:1/-1;margin-bottom:0}.room-code-form input{min-height:56px;font-size:27px}.room-code-form>.button{margin-top:0;min-height:56px}.offline-pair{padding-top:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
