:root{font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#233e30;background:#a4d8ca;font-synthesis:none;--green: #294d37;--orange: #e7a34f;--paper: #fffdf2;--muted: #738474;--line: #d9decf}*{box-sizing:border-box}body{margin:0;overflow:hidden;overscroll-behavior:none}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button,input{touch-action:manipulation}button:focus-visible{outline:3px solid #e9ad58;outline-offset:4px}button{transition:background .18s,transform .18s}button:active{transform:scale(.97)}[hidden]{display:none!important}#scene,canvas,.vignette{display:block}#scene{position:fixed;inset:0}#scene canvas{width:100%;height:100%;touch-action:none;-webkit-touch-callout:none}.vignette{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 60% 40%,transparent 46%,#243f3222);z-index:1}.brand{position:fixed;left:40px;top:28px;z-index:12;display:flex;gap:10px;align-items:center;pointer-events:none;font-weight:900;font-size:24px;letter-spacing:3px;color:#244330;text-shadow:0 1px 8px #ffffff50}.brand-mark{font-size:39px;color:#db9540}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:2px;font-weight:700}.global-actions{position:fixed;top:30px;right:32px;z-index:12;display:flex;gap:10px;align-items:center}.icon-button,.pill-button{border:1px solid #ffffff80;background:#fffdf2d9;color:#34513c;backdrop-filter:blur(12px);height:37px;border-radius:25px}.icon-button{width:37px;font-size:21px}.pill-button{font-size:11px;padding:0 14px}.version-tag{font-size:10px;padding:10px 14px;background:#264633dd;color:#f4f0d9;border-radius:22px;letter-spacing:1px}.home-layer{position:fixed;inset:0;z-index:3;background:linear-gradient(90deg,#eef4dcf5 0%,#eef4dcd9 24%,#eef4dc55 46%,transparent 63%)}.home-copy{position:absolute;left:6.3%;top:15.5%;width:370px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.5px;color:#7d8f68;display:inline-flex;align-items:center;gap:8px}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#ce9b4e}.home-copy h1{font-family:STKaiti,KaiTi,Microsoft YaHei,serif;font-size:65px;line-height:1.22;letter-spacing:1px;font-weight:900;margin:18px 0 14px}.home-copy h1 span{color:#bd7b33}.home-description{font-size:13px;line-height:1.9;color:#63745b;margin:0 0 24px}.home-paper{padding:18px 20px 14px;background:#fffdf0dd;border:1px solid #ffffff;border-radius:19px;box-shadow:0 10px 36px #354a2c12;backdrop-filter:blur(15px)}.chapter-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:1px;margin-bottom:12px}.chapter-heading>span:last-child{color:#b98135;letter-spacing:0}.chapter-list{display:grid;gap:6px}.chapter-option{display:flex;text-align:left;align-items:center;gap:10px;padding:9px 11px;border:1px solid transparent;border-radius:10px;background:#e9eddf80;color:#607059;width:100%}.chapter-option.selected{border-color:#a8bd8a;background:#e8efd9;color:#294c33}.chapter-number{font-size:10px;border-radius:8px;background:#ffffffa0;padding:7px 8px}.chapter-option strong{font-size:12px;display:block}.chapter-option small{font-size:9px;display:block;margin-top:3px;opacity:.7}.chapter-check{margin-left:auto;color:#93a66f}.mode-switch{display:flex;padding:3px;border-radius:10px;background:#e9ecde;margin-top:13px}.mode-switch button{flex:1;border:0;background:transparent;font-size:10px;padding:8px 3px;border-radius:8px;color:#8a947f}.mode-switch button.selected{background:#fffdf3;color:#3d5c3c;box-shadow:0 2px 4px #00000008}.tiny{font-size:10px;color:#8b947c;line-height:1.7;margin:10px 0}.primary,.secondary{border:0;border-radius:12px;font-size:13px;padding:13px 21px;min-height:44px;font-weight:700}.primary{color:#fffdf1;background:#2f5439;box-shadow:0 5px 12px #284d331c}.primary:hover{background:#3c6944}.primary span{float:right}.secondary{color:#4f654a;background:#eaf0de;border:1px solid #d8e0c9}.secondary:hover{background:#dde8cb}.wide{width:100%}.text-button{color:#5b7052;background:transparent;border:0;font-size:11px;min-height:36px;padding:8px}.home-paper>.text-button{display:block;margin:3px auto 0}.home-footnote{display:flex;justify-content:center;gap:10px;font-size:9px;color:#87937b;margin:17px 0}.home-footnote b{font-weight:400}.postcard{position:absolute;right:4%;bottom:15%;transform:rotate(-5deg);background:#fffdf1e5;padding:18px 22px;border-radius:3px;box-shadow:0 10px 20px #2c452018;border:7px solid #fffef5;max-width:230px}.postcard>span{font-size:8px;letter-spacing:2px;color:#a3a48c}.postcard strong{display:block;font-family:KaiTi,serif;font-size:22px;line-height:1.5;margin:10px 0;color:#56704a}.postcard small{font-size:8px;color:#9b9b7e;letter-spacing:1px}.home-bottom{position:absolute;bottom:20px;left:6.3%;right:4%;display:flex;align-items:center;justify-content:space-between;color:#819075;font-size:10px}.home-bottom button{color:#385b3b}#hud{position:fixed;inset:0;pointer-events:none;z-index:4}#hud button{pointer-events:auto}body.playing .brand{font-size:19px;top:22px;left:24px}body.playing .brand-mark{font-size:30px}body.playing .global-actions{top:auto;bottom:22px;right:24px}.quest-card{position:absolute;left:24px;top:86px;width:280px;padding:18px 19px 13px;background:#fffdf0ed;border:1px solid #fffdf0;border-radius:16px;box-shadow:0 8px 28px #263d2819;backdrop-filter:blur(15px)}.quest-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#8a9a74}.quest-card>p{font-size:17px;font-weight:700;margin:12px 0}.word-slots{display:flex;gap:6px}.word-slot{width:28px;height:32px;background:#e5ebd8;border-bottom:2px solid #ccd4b8;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#849174;font-size:15px;font-weight:800}.word-slot.have{color:#9c6d2b;background:#f7e4b2;border-bottom-color:#d9b25e}.quest-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid #e2e5d4;margin-top:13px;padding-top:9px;font-size:9px;color:#8b967d}.quest-bottom button{border:0;background:transparent;color:#64805b;font-size:20px;padding:2px 5px}.status-card{position:absolute;top:24px;right:24px;background:#fffdf1ed;border-radius:26px;display:flex;gap:14px;align-items:center;padding:9px 12px 9px 16px;font-size:12px;box-shadow:0 4px 20px #21352315}.status-card button{border:0;background:#e5ecd8;border-radius:50%;width:27px;height:27px;color:#5d7251;font-size:14px}.status-divider{height:15px;width:1px;background:#d9dfcc}#hearts{display:flex;gap:3px;font-size:19px;color:#d9836b}#hearts .off{color:#d9decf}#timer{font-size:10px;color:#8b957d;font-variant-numeric:tabular-nums}.map-wrap{position:absolute;right:24px;top:88px;padding:7px;border:1px solid #fff9;background:#f9f8e5d9;border-radius:50% 50% 14px 14px;box-shadow:0 5px 20px #243f2012}.map-wrap canvas{width:135px;height:135px;border-radius:50%;background:#a0c8a3}.map-wrap>span{display:flex;justify-content:space-between;font-size:9px;color:#5c7752;padding:7px 7px 1px}.map-wrap b{font-weight:500;font-size:8px}.notebook-button{position:absolute;right:28px;top:272px;border:1px solid #fff9;background:#fffdf1e8;border-radius:12px;padding:10px 12px;color:#58724b;font-size:13px;display:flex;gap:8px;align-items:center}.notebook-button span{font-size:10px}kbd{font:inherit;background:#ffffff25;border:1px solid #ffffff40;border-radius:5px;padding:3px 6px;font-size:9px}.notebook-button kbd{background:#e4e9d6;color:#839174}.toast{position:absolute;left:50%;top:18%;transform:translate(-50%,-10px);border-radius:13px;background:#fffdf2f2;color:#3f603e;padding:13px 23px;font-size:13px;box-shadow:0 8px 28px #2a432320;opacity:0;transition:opacity .2s,transform .2s;text-align:center;max-width:min(550px,90vw);pointer-events:none}.toast.visible{opacity:1;transform:translate(-50%)}.interaction{position:absolute;right:24px;bottom:84px;max-width:min(330px,38vw);padding:9px 16px;border:1px solid #ffffff80;border-radius:30px;background:#24472be8;color:#fff9df;font-size:11px;display:flex;gap:9px;align-items:center;pointer-events:auto;cursor:pointer}.interaction kbd{background:#fff5;color:#fff}.inventory-wrap{position:absolute;bottom:76px;left:50%;transform:translate(-50%);text-align:center;max-width:70vw}.inventory-label{font-size:9px;letter-spacing:2px;color:#fffde0;text-shadow:0 1px 4px #24492c;display:block;margin-bottom:7px}#inventory{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.inventory-chip{position:relative;width:31px;height:34px;background:#fff8dfee;border:1px solid #fff5;border-bottom:3px solid #d2bc81;border-radius:6px;display:grid;place-items:center;color:#5c7047;font-size:15px;font-weight:700;box-shadow:0 3px 6px #32452620}.inventory-chip b{position:absolute;right:-3px;bottom:-4px;background:#dca34c;border-radius:5px;color:#fff;font-size:8px;min-width:12px;padding:2px}.empty-inventory{font-size:11px;color:#fffde1;text-shadow:0 1px 5px #245132}.desktop-controls{position:absolute;bottom:24px;left:24px;display:flex;gap:14px;font-size:9px;color:#fffde7;text-shadow:0 1px 5px #234a2c}.desktop-controls span{display:flex;align-items:center;gap:5px}.modal{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#1c352a69;backdrop-filter:blur(7px);padding:20px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);justify-items:center;overflow:hidden}.paper{position:relative;width:min(520px,94vw);background:#fffdf2;border:1px solid #fff;border-radius:25px;box-shadow:0 25px 80px #183f2b40;padding:36px;text-align:center;max-height:90dvh;overflow:auto;min-width:0;min-height:0;max-width:100%;overflow-x:hidden;overflow-wrap:anywhere}.paper h2{font-family:KaiTi,Microsoft YaHei,serif;font-size:29px;line-height:1.4;margin:14px 0 10px;color:#38593c}.paper>p{font-size:13px;line-height:1.9;color:#7c8b70}.paper>p.tiny{font-size:10px}.close-button{position:absolute;right:16px;top:13px;border:0;background:#eaf0df;color:#7c8e71;width:28px;height:28px;border-radius:50%;font-size:22px;line-height:1}.spell-paper .spell-meaning{font-size:23px;font-weight:700;color:#b7833a;margin-bottom:5px}.listen-button{background:transparent;border:0;color:#7a906b;font-size:11px;padding:6px 12px;margin-bottom:18px}.spell-slots{display:flex;gap:8px;justify-content:center;margin:5px 0 18px}.spell-slot{width:47px;height:54px;border-radius:11px;border:2px dashed #d4debf;background:#f0f3e7;font-size:25px;color:#3c643e;font-weight:700}.spell-slot.filled{border:2px solid #b4c695;background:#e6edda}.spell-slot.wrong{border-color:#deaa8d;background:#fff0e5}.spell-pool{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;min-height:48px}.pool-letter{position:relative;background:#f8e6b7;border:1px solid #e3c982;border-bottom:3px solid #d4b66e;border-radius:9px;width:39px;height:42px;font-size:19px;color:#957539;font-weight:700}.pool-letter small{position:absolute;bottom:1px;right:3px;font-size:8px}.feedback{min-height:24px;color:#a77846!important;font-size:12px!important;margin:12px 0 3px}.feedback.success{color:#418750!important}.dialog-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:20px}.dialog-actions .primary,.dialog-actions .secondary{font-size:11px}.keyboard-tip{margin-top:20px}.pause-paper .wide{margin-top:10px}.pause-paper>.text-button{margin-top:14px}.npc-paper>p{padding:15px;background:#f0f3e4;border-radius:12px;text-align:left}.notebook-paper{width:min(680px,94vw)}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.journal-word{background:#f0f3e7;border:1px solid #e1e7d3;border-radius:12px;padding:13px 8px}.journal-word strong{font-size:15px;letter-spacing:1px}.journal-word span{display:block;font-size:11px;color:#879576;margin-top:5px}.journal-word small{font-size:9px;color:#a3ac94;display:block;margin-top:6px}.journal-word.known{background:#e6eed8;border-color:#bdcf9f}.journal-word.review{background:#fff0d7;border-color:#e6ca9b}.result-icon{font-size:58px;color:#d8aa53;line-height:1;margin:0 0 12px}.result-words{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:20px 0}.result-words span{background:#edf2df;color:#5c7950;padding:8px 12px;border-radius:9px;font-size:12px}.loading,.error-screen{position:fixed;inset:0;background:#eef3e4;z-index:40;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.loading strong{font-size:19px;font-weight:600;letter-spacing:3px;color:#51714b}.loading small{font-size:11px;color:#97a18c;max-width:min(420px,82vw);text-align:center;line-height:1.6}.loading-meter{width:min(230px,56vw);height:6px;border-radius:999px;background:#dbe4cc;overflow:hidden;box-shadow:inset 0 1px 2px #b6c3a04d}#loading-fill{display:block;width:0%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d6a04a,#e8c072);transition:width .24s ease-out}@media(prefers-reduced-motion:reduce){#loading-fill{transition:none}}.loader-sun{font-size:64px;color:#d6a04a;animation:sun-turn 5s linear infinite}.error-screen{z-index:50}.error-screen p{line-height:1.8;font-size:14px;color:#7d8873}.shake{animation:shake .25s ease-in-out}@keyframes shake{25%,75%{transform:translate(-5px)}50%{transform:translate(5px)}}@keyframes sun-turn{to{transform:rotate(360deg)}}#touch-controls{display:none}@media(min-width:1600px){.home-copy{width:420px;top:17%}.home-copy h1{font-size:78px}.home-paper{padding:22px}.chapter-option{padding:12px}.home-description{font-size:15px}}@media(max-height:800px)and (min-width:761px){.home-copy{top:14%;width:345px}.home-copy h1{font-size:48px;margin:12px 0}.home-description{font-size:11px;margin-bottom:14px}.home-paper{padding:13px 16px}.chapter-option{padding:7px 10px}.chapter-heading{margin-bottom:8px}.mode-switch{margin-top:9px}.home-footnote{margin:10px 0}.home-copy>.eyebrow{font-size:9px}.postcard{bottom:13%;right:4%}}@media(max-width:1000px){.version-tag{display:none}.desktop-controls{gap:7px;font-size:8px}.global-actions{right:20px}.home-copy{left:5%;width:330px}.home-copy h1{font-size:55px}.postcard{max-width:180px}.postcard strong{font-size:18px}.brand{left:5%}}@media(max-width:760px){.brand{top:18px;font-size:20px;left:20px}.brand-mark{font-size:32px}.global-actions{top:20px;right:16px;gap:6px}.pill-button{font-size:9px;padding:0 10px}.home-layer{overflow-y:auto;background:linear-gradient(0deg,#edf2def5 15%,#edf2de99 70%,#edf2de33)}.home-copy{position:relative;left:auto;top:auto;width:min(370px,calc(100% - 40px));margin:115px auto 80px}.home-copy h1{font-size:47px;margin:14px 0}.home-description{font-size:12px}.home-paper{background:#fffdf1ef}.home-copy>.eyebrow{font-size:9px}.postcard,.home-bottom>span{display:none}.home-bottom{bottom:10px;left:20px;right:20px;justify-content:flex-end;position:fixed;pointer-events:none}.home-bottom button{pointer-events:auto}.quest-card{top:74px;left:14px;width:218px;padding:13px}.quest-card>p{font-size:14px}.quest-top,.quest-bottom{font-size:8px}.word-slot{width:23px;height:27px;font-size:12px}.status-card{top:20px;right:12px;padding:7px 8px;gap:8px;font-size:10px}#hearts{font-size:15px}.status-card #timer,.status-divider{display:none}body.playing .brand{top:20px;left:14px;font-size:16px}body.playing .brand small{font-size:6px}body.playing .brand-mark{font-size:27px}.map-wrap{right:12px;top:75px;padding:4px}.map-wrap canvas{width:88px;height:88px}.map-wrap>span{font-size:8px}.notebook-button{right:12px;top:204px;padding:8px}.notebook-button kbd{display:none}.notebook-button span{font-size:8px}.toast{top:auto;bottom:235px;font-size:11px;width:80vw;padding:10px}.inventory-wrap{bottom:150px;max-width:56vw}.inventory-chip{width:26px;height:29px;font-size:12px}.inventory-label{font-size:8px}.interaction{right:12px;bottom:210px;max-width:46vw;font-size:10px}.desktop-controls{display:none}body.playing .global-actions{bottom:12px;right:12px}.paper{padding:30px 20px;border-radius:21px}.paper h2{font-size:24px}.spell-slot{width:36px;height:45px;font-size:20px}.spell-slots,.spell-paper .dialog-actions{gap:5px}.spell-paper .dialog-actions button{padding:11px 12px;font-size:10px}.keyboard-tip{display:none}.journal-grid{grid-template-columns:repeat(2,1fr)}.journal-word{padding:10px}.paper .eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.home-copy h1{font-size:clamp(40px,4.3vw,62px)}.home-copy h1 span{white-space:nowrap}.home-layer{overflow-y:auto}.home-copy{padding-bottom:55px}.loadout{position:absolute;left:24px;bottom:68px;color:#fffde7;max-width:310px}.loadout-label{display:block;font-size:10px;text-shadow:0 1px 5px #173f2d;margin:6px 0}.loadout-buttons{display:flex;gap:6px}.loadout button,.camera-mode{min-height:44px;border:1px solid #fff9;background:#fffdf1e8;border-radius:10px;padding:8px 11px;color:#34563b;font-size:11px}.loadout button[aria-pressed=true]{background:#315b3d;color:#fff8dc;border-color:#f1c573}.loadout button:disabled{opacity:.7}.loadout kbd{margin-right:5px;background:#74915b25}.camera-mode{position:absolute;right:24px;top:328px;max-width:180px}.aim-reticle{position:absolute;left:50%;top:50%;width:26px;height:26px;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 2px #123d2c)}.aim-reticle:before,.aim-reticle:after,.aim-reticle i:before,.aim-reticle i:after{content:"";position:absolute;background:#fffdf1;border-radius:2px}.aim-reticle:before{width:2px;height:6px;left:12px;top:0}.aim-reticle:after{width:2px;height:6px;left:12px;bottom:0}.aim-reticle i:before{width:6px;height:2px;left:0;top:12px}.aim-reticle i:after{width:6px;height:2px;right:0;top:12px}.aim-reticle b{position:absolute;width:3px;height:3px;border-radius:50%;background:#fffdf1;left:11.5px;top:11.5px}body.aiming .aim-reticle{width:18px;height:18px}body.aiming .aim-reticle:before,body.aiming .aim-reticle:after{left:8px;height:4px}body.aiming .aim-reticle i:before,body.aiming .aim-reticle i:after{top:8px;width:4px}body.aiming .aim-reticle b{left:7.5px;top:7.5px}.pocket-items{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.pocket-items button{min-width:54px;min-height:54px;border:1px solid #c4cda9;border-radius:10px;background:#edf2df;color:#385b3b}.pocket-items button[aria-pressed=true]{border-color:#ab7734;background:#ffe0a3}.pocket-items small{display:block;font-size:10px}@media(max-width:760px){.home-copy h1{font-size:clamp(36px,8.5vw,47px)}.loadout{left:14px;bottom:62px}.loadout button{padding:8px}.camera-mode{right:12px;top:248px}}#scene,#hud,.home-layer,.modal,.vignette,.orientation-guard{inset:auto;top:var(--game-top, 0px);left:var(--game-left, 0px);width:var(--game-width, 100dvw);height:var(--game-height, 100dvh)}body.mouse-playing,body.mouse-playing *{cursor:none!important}body.mouse-playing #hud button,body.mouse-playing #hud .interaction,body.mouse-playing #hud #inventory{cursor:pointer!important}.input-mode{display:block;margin:0 auto 8px;font-size:11px;min-height:32px}.orientation-guard{display:none}body.touch{--touch-left: max(12px, env(safe-area-inset-left));--touch-right: max(12px, env(safe-area-inset-right));--touch-top: max(10px, env(safe-area-inset-top));--touch-bottom: max(12px, env(safe-area-inset-bottom));--stick-size: clamp(100px, 31dvh, 124px);--action-size: clamp(44px, 13dvh, 52px);user-select:none;-webkit-user-select:none}body.touch #touch-controls{display:block;position:absolute;inset:0;pointer-events:none}body.touch .desktop-controls,body.touch .camera-mode,body.touch.playing .brand,body.touch.playing .global-actions{display:none}body.touch .quest-card{top:var(--touch-top);left:var(--touch-left);width:clamp(174px,26vw,230px);padding:8px 10px;border-radius:12px}body.touch .quest-top{font-size:8px;letter-spacing:0}body.touch .quest-card>p{margin:5px 0;font-size:12px}body.touch .word-slots{gap:4px}body.touch .word-slot{width:22px;height:23px;font-size:12px}body.touch .quest-bottom{display:flex;margin-top:5px;padding-top:4px;font-size:8px;gap:4px}body.touch .quest-bottom button{min-width:36px;min-height:30px;padding:0}body.touch .status-card{top:var(--touch-top);right:var(--touch-right);gap:8px;padding:2px 4px 2px 10px;font-size:11px;min-height:44px}body.touch #hearts{font-size:16px;gap:2px}body.touch .status-card #timer,body.touch .status-divider{display:none}body.touch .status-card button{width:40px;height:40px}body.touch .map-wrap{top:var(--touch-top);left:50%;right:auto;transform:translate(-50%);padding:3px;border-radius:50%}body.touch .map-wrap canvas{width:clamp(56px,18dvh,80px);height:clamp(56px,18dvh,80px)}body.touch .map-wrap>span{display:none}body.touch .notebook-button{top:calc(var(--touch-top) + 52px);right:var(--touch-right);min-height:44px;padding:7px 12px;font-size:15px}body.touch .notebook-button span{font-size:11px}body.touch .notebook-button kbd{display:none}body.touch .inventory-wrap{left:50%;top:calc(var(--touch-top) + clamp(64px,20dvh,88px));bottom:auto;width:clamp(110px,26vw,260px);width:min(260px,max(80px,calc(100% - (2*max(var(--touch-left),var(--touch-right))) - 360px)));max-width:none}body.touch .inventory-label{display:none}body.touch #inventory{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:visible;padding:3px 4px 9px;max-height:none;scrollbar-width:thin;pointer-events:auto;touch-action:pan-x}body.touch .inventory-chip{flex:0 0 26px;width:26px;height:29px;font-size:12px}body.touch .empty-inventory{font-size:9px}body.touch .loadout{left:calc(var(--touch-left) + var(--stick-size) + 18px);right:calc(var(--touch-right) + 190px);bottom:var(--touch-bottom);max-width:380px}body.touch .loadout-buttons{display:flex;flex-wrap:nowrap;gap:5px}body.touch .loadout button{min-height:44px;min-width:0;padding:5px 7px;font-size:11px;flex:1}body.touch .loadout kbd{display:none}body.touch .loadout-label{font-size:9px;margin:4px 0}body.touch .interaction{display:none}body.touch .toast{top:39%;bottom:auto;width:max-content;max-width:42vw;padding:8px 12px;font-size:11px}#touch-look{position:absolute;right:calc(var(--touch-right) + 8px);top:39%;font-size:10px;color:#ffffe9;text-shadow:0 1px 5px #143e2c;pointer-events:none}#joystick{position:absolute;left:var(--touch-left);bottom:var(--touch-bottom);width:var(--stick-size);height:var(--stick-size);border-radius:50%;background:#183c3066;border:2px solid #ffffe9aa;box-shadow:inset 0 0 0 13px #ffffff0c;pointer-events:auto;touch-action:none}#joystick-knob{position:absolute;left:50%;top:50%;width:48px;height:48px;margin:-24px;border-radius:50%;background:#fff9e5e8;border:2px solid #fff9;box-shadow:0 3px 10px #183d2d40;pointer-events:none}#joystick>span{position:absolute;bottom:6px;width:100%;text-align:center;font-size:10px;color:#fffde7;pointer-events:none}.touch-button{position:absolute;width:var(--action-size);height:var(--action-size);border:1px solid #fffc;background:#fffbedec;color:#385b3a;border-radius:50%;font-size:12px;font-weight:700;touch-action:none;backdrop-filter:blur(5px);box-shadow:0 3px 12px #173f2b30;pointer-events:auto}.touch-button[aria-pressed=true]{color:#fffde9;background:#315c3c;border-color:#edc276}.touch-button:disabled{opacity:.6;border-style:dashed}#touch-attack{right:var(--touch-right);bottom:calc(var(--touch-bottom) + 42px);width:72px;height:72px;background:#ffdf9bf2;color:#5b481f}#touch-jump{right:calc(var(--touch-right) + 82px);bottom:var(--touch-bottom)}#touch-aim{right:calc(var(--touch-right) + 86px);bottom:calc(var(--touch-bottom) + 62px)}#touch-throw{right:var(--touch-right);bottom:calc(var(--touch-bottom) + 124px)}#touch-interact{right:calc(var(--touch-right) + 62px);bottom:calc(var(--touch-bottom) + 124px);width:62px;border-radius:18px;background:#d9edc8f2}#touch-sprint{left:calc(var(--touch-left) + (var(--stick-size) - 52px) / 2);bottom:calc(var(--touch-bottom) + var(--stick-size) + 8px);width:52px;height:44px;border-radius:16px}body.touch .close-button{width:44px;height:44px;top:6px;right:6px}body.touch .pool-letter{width:44px;height:46px}body.touch .modal{padding:var(--touch-top) var(--touch-right) var(--touch-bottom) var(--touch-left)}body.touch .paper{max-height:calc(var(--game-height, 100dvh) - var(--touch-top) - var(--touch-bottom));width:min(620px,100%);padding:22px 30px;border-radius:18px;overscroll-behavior:contain}body.touch .paper h2{font-size:23px;margin:8px 30px}body.touch .paper>p{margin:8px 0}body.touch .dialog-actions button{min-height:44px}body.touch .pause-paper{padding:16px 24px}body.touch .pause-paper .eyebrow{display:none}body.touch .pause-paper h2{margin:4px 0 8px;font-size:22px}body.touch .pause-paper>p{font-size:12px;margin:6px 0 10px}body.touch .pause-paper .wide{min-height:44px;padding:10px 12px;margin-top:8px}body.touch .pause-paper>.text-button{min-height:44px;margin-top:6px}body.touch .global-actions{top:var(--touch-top);right:var(--touch-right)}body.touch .brand{top:var(--touch-top);left:var(--touch-left)}@media(orientation:landscape){body.touch .pocket-paper,body.touch .notebook-paper{padding:12px 20px}body.touch .pocket-paper>.eyebrow,body.touch .notebook-paper>.eyebrow{display:none}body.touch .pocket-paper h2,body.touch .notebook-paper h2{margin:2px 32px 6px;font-size:20px}body.touch .pocket-paper>p,body.touch .notebook-paper>p{font-size:11px;line-height:1.5;margin:4px 0 8px}body.touch .pocket-paper .pocket-items{display:grid;flex:1 1 auto;min-height:44px;overflow-y:auto;align-content:start;touch-action:pan-y;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:6px}body.touch .pocket-items button{min-width:0;min-height:44px;padding:5px;font-size:11px}body.touch .pocket-paper,body.touch .notebook-paper{display:flex;flex-direction:column;height:calc(var(--game-height, 100dvh) - var(--touch-top) - var(--touch-bottom));overflow:hidden}body.touch .pocket-paper>*,body.touch .notebook-paper>*{flex-shrink:0}body.touch .journal-grid{flex:1 1 auto;min-height:54px;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:6px 0;touch-action:pan-y}body.touch .journal-word{padding:7px}body.touch .journal-word strong{font-size:12px}body.touch .journal-word span{font-size:10px}body.touch .notebook-paper .dialog-actions{margin-top:4px}body.touch .spell-paper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;padding:12px 20px}body.touch .spell-paper>.eyebrow,body.touch .spell-paper .keyboard-tip{display:none}body.touch .spell-paper h2{grid-column:1 / -1;grid-row:1;font-size:20px;margin:0 30px 4px}body.touch .spell-paper .spell-meaning{grid-column:1;grid-row:2;margin:0;font-size:17px;line-height:1.4}body.touch .spell-paper .listen-button{grid-column:1;grid-row:3;min-height:44px;margin:0;padding:4px}body.touch .spell-slots{grid-column:1;grid-row:4;margin:0;gap:4px}body.touch .spell-slot{flex:1;min-width:0;max-width:36px;height:44px;padding:0;font-size:20px}body.touch .spell-pool{grid-column:2;grid-row:2 / 5;align-content:center;max-height:120px;min-height:0;overflow-y:auto;padding:3px;touch-action:pan-y}body.touch #spell-feedback{grid-column:1 / -1;grid-row:5;min-height:20px;margin:0;line-height:1.4}body.touch #spelling-hint{grid-column:1 / -1;grid-row:6;margin:0;font-size:10px}body.touch #spelling-hint:empty{display:none}body.touch .spell-paper .dialog-actions{grid-column:1 / -1;grid-row:7;margin:2px 0 0;flex-wrap:nowrap;gap:6px}body.touch .spell-paper .dialog-actions button{flex:1;min-width:0;padding:8px 6px;font-size:11px}body.touch .home-copy{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.2fr);grid-template-rows:auto auto auto 1fr;column-gap:24px;align-content:start;position:relative;top:auto;left:auto;width:auto;margin:68px calc(var(--touch-right) + 12px) 8px calc(var(--touch-left) + 12px);padding:0}body.touch .home-copy>.eyebrow{grid-column:1;font-size:8px;margin-top:10px}body.touch .home-copy h1{grid-column:1;font-size:clamp(29px,5vw,48px);margin:12px 0}body.touch .home-description{grid-column:1;font-size:11px;line-height:1.7;margin:0 0 10px}body.touch .home-paper{display:flex;flex-direction:column;grid-column:2;grid-row:1/6;padding:12px;height:calc(var(--game-height, 100dvh) - 82px);max-height:calc(var(--game-height, 100dvh) - 82px);overflow:hidden}body.touch .home-paper>*{flex-shrink:0}body.touch .chapter-list{flex:1 1 auto;min-height:46px;overflow-y:auto;gap:4px}body.touch .chapter-option{padding:5px 8px}body.touch .chapter-heading{margin-bottom:6px}body.touch .mode-switch{margin-top:7px}body.touch #mode-description{margin:5px 0}body.touch .input-mode{grid-column:1;align-self:start;margin:0;text-align:left;min-height:28px}body.touch .home-paper .primary{min-height:44px;padding:10px}body.touch .home-footnote{grid-column:1;flex-wrap:wrap;font-size:8px;margin:8px 0}body.touch .home-bottom,body.touch .postcard{display:none}}@media(max-width:700px)and (orientation:landscape){body.touch .loadout{right:calc(var(--touch-right) + 150px);left:calc(var(--touch-left) + var(--stick-size) + 10px)}body.touch .loadout button{padding:5px 4px;font-size:10px}body.touch #tracked-letter{display:none}body.touch .quest-card{width:174px}body.touch .quest-bottom{font-size:7px}body.touch .status-card{gap:5px}body.touch .home-copy{grid-template-columns:minmax(140px,.7fr) minmax(260px,1.3fr);column-gap:14px;margin-top:58px}body.touch .home-copy h1{font-size:clamp(22px,4vw,30px)}body.touch .home-description{font-size:10px}body.touch .home-paper{height:calc(var(--game-height, 100dvh) - 70px);max-height:calc(var(--game-height, 100dvh) - 70px)}}@media(max-height:340px)and (orientation:landscape){body.touch .quest-card{padding:5px 8px}body.touch .quest-card>p{margin:3px 0}body.touch .quest-bottom{margin-top:3px;padding-top:2px}body.touch .word-slot{height:20px}body.touch .home-copy{margin-top:52px}body.touch .home-paper{height:calc(var(--game-height, 100dvh) - 62px);max-height:calc(var(--game-height, 100dvh) - 62px)}body.touch .home-copy>.eyebrow,body.touch .home-footnote{display:none}body.touch .home-copy h1{grid-row:1}}@media(orientation:portrait){body.touch .orientation-guard{display:grid;position:fixed;z-index:100;place-items:center;padding:24px;background:#edf2de;touch-action:manipulation}body.touch #hud,body.touch .home-layer,body.touch .brand,body.touch .global-actions,body.touch .modal{visibility:hidden}.orientation-card{max-width:360px;text-align:center}.rotate-device{display:block;font-size:52px;letter-spacing:8px;color:#bf893e;margin-bottom:30px}.orientation-card h2{font-size:25px;margin:16px 0}.orientation-card p{color:#71816a;font-size:13px;line-height:1.9}#landscape-status{font-size:11px;margin-top:22px}}.home-layer{overflow-y:auto;overscroll-behavior:contain}.home-copy{top:max(110px,12vh);width:min(470px,54vw);padding-bottom:82px}.home-copy h1{font-size:clamp(39px,5vw,58px);margin:12px 0}.home-description{margin-bottom:15px}.campaign-paper{padding:16px 18px 12px;background:#fffdf0e8;border:1px solid #fff;border-radius:19px;box-shadow:0 10px 36px #354a2c12;backdrop-filter:blur(15px)}.campaign-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;color:#486344}#campaign-stars{color:#b98135}.campaign-summary{margin:5px 0;font-size:11px;font-weight:800;color:#9a7440}.campaign-description{margin:5px 0 10px;color:#71806a;font-size:11px;line-height:1.55}.region-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:118px;overflow:auto;padding:1px 2px 5px 1px}.region-option,.level-option{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;border:1px solid #dce3d2;border-radius:11px;color:#52664c;background:#f2f3e7;padding:8px 9px}.region-option strong,.level-option strong{font-size:11px;line-height:1.35}.region-option small,.level-option small{margin-top:3px;color:#829078;font-size:9px;line-height:1.35}.region-option [data-state],.level-option [data-state]{margin-top:4px;color:#a1733e;font-size:9px}.region-option[aria-pressed=true],.level-option[aria-pressed=true]{border-color:#9eb77e;background:#e7efd9;color:#2e5238;box-shadow:inset 0 0 0 1px #9eb77e}.region-option:disabled,.level-option:disabled{opacity:1;color:#858a7a;background:#e8e9df}.level-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:102px;overflow:auto;margin:7px 0 9px}.level-option{min-height:57px;background:#fffdf7}.campaign-paper .primary{min-height:42px}.campaign-paper .text-button{display:block;margin:5px auto 0}.campaign-paper .tiny{margin:4px 0}.home-footnote{font-size:9px}.home-bottom{position:fixed}#adventure-task-panel,.boss-status{position:absolute;z-index:2;background:#fffdf0ed;border:1px solid #fff;border-radius:15px;box-shadow:0 8px 28px #263d2819;backdrop-filter:blur(12px)}#adventure-task-panel{left:24px;top:86px;width:min(280px,34vw);padding:15px 17px}#adventure-task-panel.boss-active{padding:10px 14px}#adventure-task-panel.boss-active #adventure-objective{margin:6px 0 2px}.adventure-task-kicker{color:#87946f;font-size:10px;display:flex;justify-content:space-between}#adventure-objective{font-size:16px;margin:9px 0 4px}#adventure-detail{font-size:11px;line-height:1.5;color:#74806b;margin:4px 0 9px}.adventure-progress-track{height:5px;border-radius:5px;background:#e3e8d9;overflow:hidden}#adventure-progress{display:block;width:0;height:100%;background:#d99a45;border-radius:inherit}#adventure-hear{margin-top:8px}#adventure-word-slots{gap:5px;margin:8px 0 5px}#adventure-word-slots .word-slot{width:26px;height:29px;font-size:16px}#adventure-collection{display:block;margin:6px 0 10px;color:#687b59;font-size:11px}body.touch #adventure-word-slots .word-slot{width:22px;height:24px;font-size:14px}body.touch #adventure-collection{font-size:10px;margin:4px 0 6px}.boss-status{top:18px;left:50%;transform:translate(-50%);width:min(330px,42vw);padding:10px 14px}.boss-status>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.boss-status meter{display:block;width:100%;height:10px;margin:7px 0 2px;accent-color:#d87943}.boss-health-row{align-items:center;gap:9px!important}.boss-health-row meter{flex:1;min-width:40px}#boss-hp-text{white-space:nowrap;color:#a3512c;font-variant-numeric:tabular-nums}.boss-status.boss-exposed{border-color:#edb952;box-shadow:0 0 0 2px #eecb6d6b,0 8px 28px #263d2819}body.free-looking #aim-reticle{opacity:.25}.boss-status small{color:#71806a;font-size:10px}@media(max-width:760px){.home-copy{position:relative;left:auto;top:auto;width:auto;max-width:520px;margin:94px 18px 76px;padding-bottom:0}.home-layer{background:linear-gradient(90deg,#eef4dcf2,#eef4dca8)}.home-copy h1{font-size:42px}.region-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:150px}.level-list{max-height:110px}#adventure-task-panel{left:12px;top:66px;width:min(230px,58vw);padding:10px 12px}.boss-status{top:10px;width:min(260px,50vw)}body:not(.touch).playing:has(#boss-status:not([hidden])) .brand{display:none}body:not(.touch) .boss-status{left:12px;transform:none;width:calc(100% - 184px);padding:9px 11px}body:not(.touch) .boss-status>div:first-child{flex-wrap:wrap;gap:2px 8px}body:not(.touch) #hud:has(#boss-status:not([hidden])) #adventure-task-panel{top:105px;width:min(200px,48vw)}body:not(.touch) #hud:has(#boss-status:not([hidden])) #adventure-detail,body:not(.touch) #hud:has(#boss-status:not([hidden])) #adventure-word-slots,body:not(.touch) #hud:has(#boss-status:not([hidden])) #adventure-collection,body:not(.touch) #hud:has(#boss-status:not([hidden])) .adventure-progress-track{display:none}}@media(max-height:650px)and (min-width:761px){.home-copy{top:88px;width:min(430px,53vw)}.campaign-paper{padding:11px 14px 9px}.region-list{max-height:92px}.level-list{max-height:76px}.home-footnote{margin:6px 0}}@media(max-width:760px)and (max-height:700px){.home-copy{margin-top:80px;margin-bottom:55px}.home-copy>.eyebrow{margin-bottom:5px}.home-copy h1{font-size:32px;line-height:1.12;margin:8px 0}.home-description{font-size:11px;line-height:1.5;margin-bottom:8px}.region-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:73px}.region-option{padding:6px 7px}.campaign-paper{padding:12px 14px 9px}.level-list{max-height:66px}.level-option{min-height:48px;padding:6px 7px}.home-footnote{margin-top:6px}}.trial-entry{margin-top:5px}.trial-panel{position:absolute;z-index:3;left:24px;bottom:180px;width:min(390px,36vw);padding:8px;display:flex;flex-wrap:wrap;gap:5px;border:1px solid #fff;border-radius:13px;background:#fffdf0ed;box-shadow:0 8px 24px #263d2819;pointer-events:auto}.trial-top{flex:1;display:flex}.trial-top strong{display:none}.trial-panel button{flex:1;min-width:0;min-height:34px;padding:5px 7px;border:1px solid #d7dfca;border-radius:8px;background:#edf2df;color:#385b3b;font-size:11px}.trial-panel button[aria-pressed=true]{background:#315b3d;color:#fff8dc}#trial-save-note{flex-basis:100%;color:#74806b;font-size:10px}#companion-toggle{flex:1;margin:0}#companion-controls{flex-basis:100%;display:flex;flex-wrap:wrap;gap:5px}.companion-state{flex-basis:100%;color:#687b59;font-size:11px}.companion-requests,.companion-tools{display:contents}.companion-requests button{min-height:40px;font-size:14px;font-weight:650}.companion-help-paper{width:min(560px,94vw)}.companion-help-paper h2{margin-top:8px}.companion-demo-tabs{display:flex;justify-content:center;gap:8px}.companion-demo-tabs button{min-height:40px;border:1px solid #d7dfca;border-radius:9px;background:#edf2df;color:#385b3b;padding:7px 12px}.companion-demo-tabs button[aria-pressed=true]{background:#315b3d;color:#fff8dc}.companion-help-actions{display:flex;justify-content:center;gap:8px;margin-top:10px}.companion-help-actions button{min-height:44px;padding:8px 14px;border:1px solid #d7dfca;border-radius:9px;background:#fff6d9;color:#31563b;font-size:16px;font-weight:700}.companion-help-state{color:#687b59;font-size:13px}.companion-help-session{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.companion-help-session button{flex:1;min-width:120px;min-height:44px;padding:7px 10px;border:1px solid #d7dfca;border-radius:9px;background:#edf2df;color:#385b3b;font-size:13px}.companion-demo{margin:12px 0;padding:12px;border-radius:13px;background:#f2f4df}.demo-track{position:relative;min-height:54px;display:flex;align-items:center;justify-content:center;gap:16px}.demo-momo,.demo-seed{position:relative;z-index:1;padding:8px;border-radius:12px;background:#fffdf0;color:#48643f;font-weight:700}.demo-arrow{color:#c47b3d;font-size:24px;animation:companion-request 1.8s ease-in-out infinite}.demo-ring{width:28px;height:28px;border:3px solid #df9c49;border-radius:50%}.companion-demo.stay .demo-arrow{animation-name:companion-stay}@keyframes companion-request{50%{transform:translate(10px)}}@keyframes companion-stay{50%{transform:translateY(-7px)}}@media(max-width:760px){body.trial-mode #adventure-task-panel #adventure-detail,body.trial-mode #adventure-task-panel #adventure-word-slots,body.trial-mode #adventure-task-panel #adventure-collection,body.trial-mode #adventure-task-panel #adventure-main-progress,body.trial-mode #adventure-task-panel #adventure-hear{display:none}.trial-panel{left:12px;top:150px;bottom:auto;width:248px;max-width:calc(100vw - 24px);padding:8px}.trial-panel .companion-requests,.trial-panel .companion-tools{flex-basis:100%;display:flex;gap:5px}.trial-panel .companion-requests button{padding-right:4px;padding-left:4px;white-space:nowrap}body.trial-mode:not(.touch) .toast{left:auto;right:12px;bottom:110px;width:min(360px,46vw);transform:none}}body.touch.trial-mode #adventure-task-panel #adventure-detail,body.touch.trial-mode #adventure-task-panel #adventure-word-slots,body.touch.trial-mode #adventure-task-panel #adventure-collection,body.touch.trial-mode #adventure-task-panel #adventure-main-progress,body.touch.trial-mode #adventure-task-panel #adventure-hear{display:none}body.touch .trial-panel{top:150px;bottom:auto;left:var(--touch-left);right:auto;width:190px;max-width:calc(100vw - 24px);height:auto;min-height:48px;padding:0}body.touch .trial-panel button{min-height:48px;padding:6px 8px}body.touch .trial-panel .trial-top,body.touch .trial-panel #companion-toggle,body.touch .trial-panel #companion-controls,body.touch .trial-panel #companion-listen,body.touch .trial-panel #trial-save-note{display:none}body.touch .trial-panel #companion-help{display:block;flex-basis:100%;font-size:12px}@media(max-width:700px)and (orientation:landscape){body.touch .trial-panel{top:calc(var(--touch-top) + 112px)}}@media(prefers-reduced-motion:reduce){.demo-arrow{animation:none}}#adventure-task-panel,.quest-card,.status-card,.boss-status,.trial-panel{background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none}#adventure-task-panel,.quest-card{color:#fffdf2}#adventure-task-panel :is(h2,p,small,.adventure-task-kicker),.quest-card :is(p,.quest-top span),.status-card,.boss-status{text-shadow:0 1px 2px #14301fcc,0 0 12px #14301f88}#adventure-objective,#quest-cn{font-weight:800;letter-spacing:.2px}#adventure-detail,#adventure-collection{color:#f2f7e4}.adventure-task-kicker,.quest-top{color:#f5fae6}.status-card{color:#fffdf2;gap:10px;padding:6px 8px 6px 10px}.status-card button{background:#fffdf2d9;color:#33562f;text-shadow:none}.status-card #timer{color:#f4f9e6}.boss-status{color:#fffdf2}.boss-status small{color:#f4f9e6}#boss-hp-text{color:#ffe6bd}.adventure-progress-track{background:#ffffff4d}.adventure-task-more[hidden]{display:none}.task-toggle{pointer-events:auto;margin-top:6px;border:1px solid #ffffff8c;border-radius:10px;background:#183c3066;color:#fffdf2;font:inherit;font-size:11px;padding:4px 10px;min-height:28px;text-shadow:0 1px 2px #14301faa}body.touch .task-toggle{min-height:44px;padding:8px 12px}#fullscreen-toggle[aria-pressed=true]{background:#315c3c;color:#fffde9;border-color:#edc276}.touch-layout-paper{width:min(760px,96vw)}.touch-layout-stage{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:14px;border:1px solid #d8dfc8;background:linear-gradient(180deg,#bfe3d3,#cfe8c6 46%,#a8cf9c);overflow:hidden;touch-action:none;margin:10px 0}.touch-layout-preview{position:absolute;inset:0}.layout-handle{position:absolute;min-width:44px;min-height:44px;border-radius:50%;border:2px dashed #ffffffcc;background:#183c30a8;color:#fffde9;font-size:10px;font-weight:700;padding:0;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:grab}.layout-handle.selected{border-style:solid;border-color:#edc276;background:#315c3cd9;box-shadow:0 0 0 3px #edc27666}.touch-layout-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.touch-layout-list button{min-height:44px;padding:6px 12px;border-radius:10px;border:1px solid #cfd8bd;background:#f6f8ef;color:#43603c;font:inherit;font-size:12px}.touch-layout-list button[aria-pressed=true]{background:#315c3c;color:#fffde9;border-color:#edc276}.touch-layout-nudge{display:grid;grid-template-columns:repeat(4,minmax(48px,1fr));gap:6px;max-width:300px;margin-bottom:6px}.touch-layout-nudge button{min-height:44px;border-radius:10px;border:1px solid #cfd8bd;background:#f6f8ef;color:#43603c;font-size:16px}#touch-layout-status{min-height:16px;color:#7a5a2a}.orientation-card #landscape-fullscreen{margin-top:8px}:root:fullscreen #hud,:root:-webkit-full-screen #hud,body.immersive-display #hud,body.standalone-display #hud{padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px)}body.touch #hud button,body.touch #loadout,body.touch #interaction{touch-action:none;-webkit-touch-callout:none}body.immersive-display .brand,body.standalone-display .brand{display:none}body.immersive-display .global-actions{gap:5px}@media(max-height:560px){#adventure-task-panel{padding:8px 10px;width:min(240px,40vw)}#adventure-objective{font-size:13px;margin:4px 0 2px}#adventure-detail{font-size:10px;margin:2px 0 5px}.boss-status{top:8px;padding:6px 10px}.status-card{top:10px;right:10px}}@media(max-width:1024px)and (min-width:761px){#adventure-task-panel,.quest-card{width:min(240px,30vw)}.map-wrap{right:14px;top:74px}}@media(max-width:820px)and (orientation:landscape){#adventure-task-panel{left:12px;top:64px;width:min(226px,36vw)}}.toast{background:none;backdrop-filter:none;box-shadow:none;border:0;text-shadow:0 1px 2px #0d2318cc,0 0 6px #0d231877;color:#fffdf2;font-weight:700}.interaction{background:none;border:0;box-shadow:none;text-shadow:0 1px 2px #0d2318dd,0 0 6px #0d231888;color:#fffdf2;font-weight:700}.inventory-label,.loadout-label{text-shadow:0 1px 2px #14301fcc,0 0 10px #14301f88}.fullscreen-hint{margin:6px 0 0;font-size:11px;line-height:1.45;color:#fff4d8;text-shadow:0 1px 3px #10281baa;max-width:34ch}.global-actions .fullscreen-hint{flex-basis:100%;color:#2c4a34;text-shadow:none;background:#fffdf0d9;border-radius:8px;padding:4px 8px}.bag-paper{width:min(760px,96vw)}.bag-equipment{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 6px}.bag-slot{display:flex;flex-direction:column;gap:4px;min-width:0}.bag-slot-label{font-size:10px;letter-spacing:1px;color:#7d8a6c;text-align:center}.bag-slot-button{min-height:56px;padding:6px 4px;border-radius:12px;border:1px dashed #cdd6bb;background:#f8f9f0;color:#43563c;font:inherit;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;overflow:hidden}.bag-slot-button b{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bag-slot-button small{font-size:9px;color:#8a9678}.bag-slot-button[aria-pressed=true]{border-style:solid;border-color:#e0ab5c;background:#fff6e2}.bag-grid-wrap{margin-top:8px}.bag-grid-title{display:block;font-size:10px;letter-spacing:1px;color:#7d8a6c;margin-bottom:6px}.bag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;max-height:40vh;overflow-y:auto;padding:2px}.bag-item{min-height:64px;padding:6px 5px;border-radius:12px;border:1px solid #d5ddc4;background:#fbfcf4;color:#43563c;font:inherit;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}.bag-item b{font-size:12px;line-height:1.2}.bag-item small{font-size:9px;color:#8a9678}.bag-item[aria-pressed=true]{border-color:#e0ab5c;background:#fff6e2;box-shadow:0 0 0 2px #e0ab5c4d}.bag-item.locked{opacity:.55;border-style:dashed}.bag-item.equipped:after{content:"已装备";font-size:9px;color:#ab7c34}.bag-detail{min-height:18px;margin:6px 0 0;color:#6f7d62}body.touch .bag-slot-button,body.touch .bag-item{min-height:64px}body.touch .bag-paper .dialog-actions button{min-height:44px}#touch-bag{width:56px;height:56px;border-radius:18px;background:#fff0cfec;color:#5b481f;font-weight:700}.spell-choice-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;max-height:42vh;overflow-y:auto;margin:8px 0}.spell-choice{min-height:56px;padding:8px;border-radius:12px;border:1px solid #d5ddc4;background:#fbfcf4;color:#43563c;font:inherit;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}.spell-choice b{font-size:14px;letter-spacing:1px}.spell-choice small{font-size:9px;color:#8a9678;line-height:1.3}.spell-choice.locked{opacity:.55;border-style:dashed}.character-stats{display:block;margin-top:10px;font-size:11px;line-height:1.6;color:#fffce8;text-shadow:0 1px 3px #1b362e,0 0 5px #1b362e}.result-rewards{margin:14px 0;padding:10px 14px;border:1px solid #c9d6ae;border-radius:14px;background:#f3f5e6;text-align:left;max-height:24vh;overflow-y:auto}.result-rewards p{margin:4px 0;font-size:13px;line-height:1.6}body.playing .brand{top:18px;left:22px;font-size:16px;opacity:.86}body.playing .brand small{font-size:7px}body.playing .brand-mark{font-size:25px}#hud{transition:opacity .2s ease}#adventure-task-panel{top:76px;left:22px;width:318px;padding:16px 17px 14px;color:#fffbe9;background:linear-gradient(145deg,#203f34ee,#2d503ddf);border:1px solid #ffffff2e;border-radius:18px;box-shadow:0 14px 36px #142c2460;backdrop-filter:blur(14px)}.adventure-task-kicker{color:#d8e2c4;font-size:11px;letter-spacing:.06em}#adventure-objective{margin:9px 0 6px;color:#fffdf0;font-size:19px;line-height:1.35}#adventure-detail{color:#d5dfc9;font-size:12px}#adventure-word-slots{margin:10px 0 7px}#adventure-word-slots .word-slot{width:30px;height:33px;color:#eff3df;background:#ffffff13;border-bottom-color:#ffffff2c}#adventure-word-slots .word-slot.have{color:#ffe29a;background:#f5c76a24;border-bottom-color:#f5c76a}#adventure-collection{margin:7px 0 9px;color:#e6edcf;font-size:11px;line-height:1.55}.adventure-region-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0}.adventure-region-progress span{min-width:0;padding:5px 6px;border:1px solid #ffffff17;border-radius:7px;color:#cddac2;background:#ffffff09;font-size:10px;line-height:1.35;text-align:center}.adventure-region-progress span.complete{color:#ffe4a0;border-color:#f4cb704a;background:#f4cb7016}.adventure-next-step{display:flex;align-items:flex-start;gap:8px;margin:9px 0 10px;padding:8px 9px;border-radius:9px;color:#fff5d6;background:#f2bd5b18;font-size:11px;line-height:1.5}.adventure-next-step>span{flex:none;color:#f4c76d;font-weight:800}.adventure-next-step strong{font-weight:600}#adventure-task-panel .adventure-progress-track{height:5px;margin-top:5px;background:#ffffff1c}#adventure-progress{background:linear-gradient(90deg,#f0b957,#ffe59a)}#adventure-task-panel .task-toggle{min-height:32px;margin-top:8px;color:#ffe4a2;border-color:#ffffff2b;background:#ffffff0d;font-size:11px}#adventure-task-panel .character-stats{display:none}#adventure-task-panel.boss-active{width:268px;padding:11px 14px}#adventure-task-panel.boss-active #adventure-objective{font-size:15px}#status-card{top:20px;right:22px;gap:12px;padding:10px 12px;color:#fff8e6;background:#203f34e8;border:1px solid #ffffff2b;border-radius:15px;box-shadow:0 9px 24px #18372a40;backdrop-filter:blur(12px)}#status-card button{width:32px;height:32px;color:#31513d}#status-card.rpg #hearts,#status-card.rpg .status-divider{display:none}.status-vitals{width:152px}.status-vitals-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:11px}#player-level{color:#ffda88;font-weight:900}#player-hp-text{font-size:11px;font-variant-numeric:tabular-nums}.player-hp-track,.player-xp-track{height:6px;overflow:hidden;border-radius:8px;background:#ffffff1d}.player-xp-track{height:3px;margin-top:5px}.player-hp-track span,.player-xp-track span{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e9806c,#ffc37c);transition:width .22s ease}.player-xp-track span{background:#f5d66f}#timer{color:#d9e3cd;font-size:11px}.map-wrap{top:98px;right:22px;background:#203f34df;border-color:#ffffff2c;box-shadow:0 9px 24px #18372a35}.map-wrap>span{color:#e5edcf;font-size:10px}.map-wrap b{font-size:9px}.notebook-button{right:26px;color:#fff6df;background:#203f34df;border-color:#ffffff2b}.notebook-button span{font-size:11px}.notebook-button kbd{color:#e8efd9;background:#ffffff16}.explore-nearby{position:absolute;top:380px;right:24px;max-width:210px;padding:9px 12px;border:1px solid #f7d78755;border-radius:12px;color:#fff0bc;background:#203f34df;box-shadow:0 8px 20px #18372a30;font-size:11px;line-height:1.45;pointer-events:none}.explore-nearby.orange{color:#ffd091}.explore-nearby.hidden{color:#e4c9ff;border-color:#d6b5ef66}.toast{top:20%;padding:11px 18px;color:#fff8df;background:#1d3b30e8;border:1px solid #ffffff26;border-radius:12px;box-shadow:0 10px 30px #152f2740;font-size:13px;line-height:1.55;text-shadow:none;backdrop-filter:blur(10px)}.interaction{padding:11px 17px;color:#fff8df;background:#203f34ed;border:1px solid #f5d17b66;border-radius:13px;font-size:12px;text-shadow:none;box-shadow:0 8px 22px #18372a40}.desktop-controls{bottom:20px;left:22px;gap:11px;padding:8px 10px;color:#ecf1dc;background:#203f34c9;border:1px solid #ffffff1c;border-radius:10px;font-size:10px;text-shadow:none;backdrop-filter:blur(8px)}.loadout{left:22px;bottom:76px}.loadout-label{color:#fff6db;font-size:11px}.loadout button,.camera-mode{min-height:44px;font-size:12px}.inventory-label{font-size:10px}.boss-status{top:18px;width:min(520px,48vw);padding:12px 15px;color:#fff6e5;background:#2b3c32ed;border-color:#ffffff2e;border-radius:16px;box-shadow:0 12px 34px #301f1750}.boss-status>div:first-child{font-size:13px}#boss-name{color:#fff2d5;font-size:16px}#boss-phase{color:#e8d8bd}.boss-status meter{height:12px;accent-color:#ed9861}#boss-hp-text{color:#ffd2a6}.boss-status small{color:#e6dbc8;font-size:11px;line-height:1.45}.boss-counter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.boss-counter-row small{flex:1}.boss-counter-open{flex:none;min-width:148px;min-height:44px;padding:8px 12px;border:1px solid #ffe09988;border-radius:11px;color:#3c432d;background:linear-gradient(180deg,#ffe9a6,#efbd5f);font-size:12px;font-weight:900;box-shadow:0 4px 16px #f3bd4d25}.boss-counter-open:disabled{color:#d7d7c4;background:#ffffff10;border-color:#ffffff1c;box-shadow:none;opacity:.72}.boss-status.boss-exposed{border-color:#f1c769;box-shadow:0 0 0 2px #f1c76935,0 12px 34px #301f1750}.boss-status.qte-used .boss-counter-open{opacity:.58}.spell-paper{width:min(650px,94vw)}#spell-choice-dialog .spell-paper{width:min(830px,96vw)}.paper h2{line-height:1.3}.close-button{width:36px;height:36px}.spell-choice-progress{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:13px 0 10px}.spell-choice-progress span{height:6px;border-radius:6px;background:#e2e6d8}.spell-choice-progress span.ready{background:#efc36e}.spell-choice-progress span.complete{background:#7ba36c}.spell-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:45vh;padding:2px}.spell-choice{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:2px 10px;min-height:82px;padding:10px 12px;text-align:left;align-items:center}.spell-choice-region{grid-column:1 / -1;color:#8a967e;font-size:10px;letter-spacing:.05em}.spell-choice b{grid-column:1;grid-row:2;font-size:21px;letter-spacing:.08em}.spell-choice-meaning{grid-column:2;grid-row:2;color:#6e7e61;font-size:12px}.spell-choice small{grid-column:1 / -1;grid-row:3;font-size:10px}.spell-choice.ready{border-color:#deb15b;background:linear-gradient(145deg,#fff9e9,#f9efd4);box-shadow:0 3px 12px #b78b3420}.spell-choice.ready:after{content:"可拼";position:absolute;top:9px;right:9px;color:#b37d2f;font-size:9px;font-weight:900}.spell-choice.locked{opacity:.64}.spell-slots{gap:9px;margin:8px 0 20px}.spell-slot{width:54px;height:60px;color:#34573c;background:#f0f3e7;font-size:28px;transition:transform .15s ease,border-color .15s ease,background .15s ease}.spell-slot.filled{border-color:#b3c18f;background:#fffdf4}.spell-slot.just-filled{animation:letter-pop .17s ease-out}.spell-slot.correct{border-color:#7ba56d;background:#e7f1dc;color:#417043}.spell-slot.wrong{border-color:#dd9a79;background:#fff0e5;color:#a85e43}.spell-pool{gap:8px}.pool-letter{width:45px;height:47px;font-size:21px}.pool-letter:disabled{opacity:.42}.feedback{font-size:13px!important;line-height:1.55}.feedback.active{color:#9b6837!important}.dialog-actions .primary,.dialog-actions .secondary{min-height:44px;font-size:13px}#spell-submit{min-width:150px}#spell-submit.ready{box-shadow:0 0 0 3px #e6ba5740,0 7px 20px #b9893830}.spell-qte{margin:10px 0 12px;padding:11px 13px;border:1px solid #e2b55870;border-radius:13px;background:linear-gradient(135deg,#fff2c9,#f7e5b0);text-align:left}.spell-qte-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.spell-qte-heading strong{color:#9c672d;font-size:13px}.spell-qte-heading span{color:#8d744f;font-size:10px}.spell-qte-track{height:6px;margin:8px 0 6px;overflow:hidden;border-radius:8px;background:#d8c28d66}.spell-qte-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#df9860,#f6d777);transition:width .1s linear}.spell-qte small{color:#806c4c;font-size:10px;line-height:1.45}#spell-dialog.counter-mode .paper{border-color:#f2ce7b;box-shadow:0 25px 90px #61472250,0 0 0 3px #f2ce7b25}#spell-dialog.counter-mode .spell-meaning{color:#a66d2f}@keyframes letter-pop{0%{transform:scale(.72)}75%{transform:scale(1.08)}to{transform:scale(1)}}.ultimate-overlay{position:fixed;inset:0;z-index:18;overflow:hidden;pointer-events:none;color:#fff8d9;background:radial-gradient(circle at 55% 52%,transparent 18%,#142e2460 68%,#101f1bb0 100%)}.ultimate-rays{position:absolute;left:50%;top:50%;width:130vmax;height:130vmax;transform:translate(-50%,-50%);opacity:.32;background:repeating-conic-gradient(from 0deg,#ffe29700 0deg 9deg,#ffe29755 10deg 12deg,#ffe29700 13deg 22deg);animation:ultimate-turn 5s linear infinite}.ultimate-copy{position:absolute;left:6vw;top:27%;text-shadow:0 4px 24px #14291c}.ultimate-copy .eyebrow{color:#ffe3a1;font-size:12px;letter-spacing:.22em}#ultimate-word{display:block;margin:8px 0 0;color:#fff3bd;font-family:Georgia,serif;font-size:clamp(64px,9vw,132px);line-height:.95;letter-spacing:.04em}#ultimate-name{margin:13px 0 0;color:#fff6dc;font-size:clamp(22px,3vw,40px);font-weight:900}#ultimate-damage{position:fixed;right:10vw;top:39%;color:#ffda7d;font-family:Georgia,serif;font-size:clamp(64px,9vw,126px);font-weight:900;text-shadow:0 5px 30px #6f361c;opacity:0;transform:scale(.6)}.ultimate-overlay.impact #ultimate-damage{animation:ultimate-damage .75s ease-out forwards}#ultimate-stage{display:block;margin-top:14px;color:#e9e6cb;font-size:13px}body.ultimate-active #hud{opacity:.22}body.ultimate-active .global-actions,body.ultimate-active .brand{opacity:0;pointer-events:none}@keyframes ultimate-turn{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ultimate-damage{0%{opacity:0;transform:scale(.55)}35%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}.celebration-banner{position:fixed;left:50%;top:18%;z-index:16;min-width:min(360px,86vw);max-width:min(560px,90vw);padding:14px 22px;border:1px solid #ffe09470;border-radius:16px;color:#fff8dc;background:linear-gradient(140deg,#234639f2,#35583df0);box-shadow:0 16px 44px #142c2455;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,-12px);transition:opacity .2s ease,transform .2s ease}.celebration-banner.visible{opacity:1;transform:translate(-50%)}#celebration-kicker{display:block;color:#f2c976;font-size:10px;letter-spacing:.13em}#celebration-title{display:block;margin:5px 0;color:#fff3c6;font-size:23px}#celebration-detail{display:block;color:#e3e8d2;font-size:11px;line-height:1.5}@media(max-height:650px)and (min-width:761px){#adventure-task-panel{top:64px;width:290px;padding:11px 13px}#adventure-objective{font-size:16px}.adventure-next-step{margin:6px 0;padding:6px 8px}.adventure-region-progress span{padding:3px 4px}.desktop-controls{display:none}.loadout{bottom:22px}.inventory-wrap{bottom:78px}}@media(max-width:1024px)and (min-width:761px){#adventure-task-panel{width:278px}.status-vitals{width:118px}.map-wrap canvas{width:108px;height:108px}.notebook-button{top:238px}.camera-mode{top:292px}.explore-nearby{top:344px}.desktop-controls{display:none}}body.touch #adventure-task-panel{top:8px;left:8px;width:min(244px,43vw);padding:8px 10px;border-radius:12px}body.touch #adventure-objective{margin:4px 0 3px;font-size:13px}body.touch .adventure-task-kicker{font-size:9px}body.touch #adventure-collection{margin:3px 0;font-size:10px}body.touch #adventure-word-slots,body.touch .adventure-region-progress,body.touch .adventure-next-step,body.touch #adventure-main-progress{display:none}body.touch #adventure-task-panel .task-toggle{min-height:36px;margin-top:3px;padding:4px 8px}body.touch #adventure-task-panel.boss-active{display:none}body.touch #status-card{top:8px;right:8px;gap:7px;padding:6px 8px;border-radius:12px}body.touch .status-vitals{width:94px}body.touch .status-vitals-row{margin-bottom:3px;font-size:9px}body.touch #player-hp-text{font-size:9px}body.touch .player-hp-track{height:5px}body.touch .player-xp-track{margin-top:3px}body.touch #status-card #timer,body.touch #status-card .status-divider{display:none}body.touch #status-card button{width:32px;height:32px}body.touch .map-wrap{top:62px;right:8px;padding:4px}body.touch .map-wrap canvas{width:86px;height:86px}body.touch .map-wrap>span{padding:3px 4px 1px;font-size:8px}body.touch .explore-nearby{top:166px;right:8px;max-width:152px;padding:6px 8px;font-size:9px}body.touch .toast{top:24%;max-width:58vw;padding:8px 12px;font-size:11px}body.touch .boss-status{top:8px;left:8px;right:164px;width:auto;padding:7px 9px;transform:none;border-radius:12px}body.touch #boss-name{font-size:13px}body.touch .boss-status>div:first-child{font-size:10px}body.touch .boss-status meter{height:8px;margin:4px 0 1px}body.touch .boss-status small{font-size:9px}body.touch .boss-counter-row{gap:7px;margin-top:4px}body.touch .boss-counter-open{min-width:116px;min-height:44px;padding:6px 8px;font-size:10px}body.touch #hud:has(#boss-status:not([hidden])) .map-wrap,body.touch #hud:has(#boss-status:not([hidden])) .notebook-button,body.touch #hud:has(#boss-status:not([hidden])) .explore-nearby{display:none}body.touch .paper{max-height:calc(100dvh - 16px);padding:16px 20px;border-radius:18px}body.touch .paper h2{margin:5px 0;font-size:20px}body.touch .paper>p{margin:5px 0;font-size:11px;line-height:1.5}body.touch .close-button{width:44px;height:44px;top:7px;right:8px}body.touch .spell-choice-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:40vh;gap:6px}body.touch .spell-choice{min-height:70px;padding:7px 8px}body.touch .spell-choice b{font-size:17px}body.touch .spell-choice-region,body.touch .spell-choice small{font-size:8px}body.touch .spell-choice-meaning{font-size:10px}body.touch .spell-choice-progress{margin:6px 0}body.touch .spell-paper .spell-meaning{margin:3px 0;font-size:17px}body.touch .spell-paper .listen-button{min-height:40px;margin-bottom:4px}body.touch .spell-slots{margin:4px 0 9px;gap:6px}body.touch .spell-slot{width:44px;height:44px;font-size:22px}body.touch .spell-pool{gap:6px;min-height:44px}body.touch .pool-letter{width:44px;height:44px;font-size:19px}body.touch .spell-qte{margin:4px 0 6px;padding:6px 9px}body.touch .spell-qte-track{margin:4px 0}body.touch .feedback{min-height:18px;margin:5px 0 2px;font-size:11px!important}body.touch .spell-paper .dialog-actions{position:sticky;bottom:-16px;z-index:2;margin:6px -8px -8px;padding:8px;background:#fffdf2f2}body.touch .spell-paper .dialog-actions button{min-height:44px}body.touch .ultimate-copy{left:5vw;top:22%}body.touch .ultimate-copy .eyebrow{font-size:9px}#ultimate-word{font-size:clamp(48px,12vw,88px)}#ultimate-name{margin-top:6px;font-size:23px}#ultimate-stage{margin-top:6px;font-size:10px}#ultimate-damage{right:8vw;top:36%;font-size:62px}body.touch .celebration-banner{top:22%;min-width:min(320px,70vw);padding:9px 14px}body.touch #celebration-title{font-size:18px}body.touch #celebration-detail{font-size:9px}@media(max-width:700px)and (orientation:landscape){body.touch .status-vitals{width:78px}body.touch #status-card{gap:5px}body.touch #status-card>span{font-size:10px}body.touch .boss-status{right:150px}body.touch .boss-counter-open{min-width:104px}body.touch .spell-choice-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.spell-slot.just-filled,.ultimate-rays,.ultimate-overlay.impact #ultimate-damage{animation:none}.ultimate-overlay.impact #ultimate-damage{opacity:1;transform:none}.ultimate-rays{opacity:.12}.celebration-banner,#hud,.player-hp-track span,.player-xp-track span{transition:none}}.spell-choice.locked{opacity:.78}.spell-choice small{font-size:11px}body.touch .spell-paper .listen-button,body.touch #adventure-task-panel .task-toggle{min-height:44px}body.touch .spell-choice small{font-size:9px}body.touch #status-card button{width:44px;height:44px}body.touch .boss-status{right:196px}body.touch .spell-slots{justify-content:flex-start;overflow-x:auto;padding:3px;touch-action:pan-x}body.touch .spell-slot{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px}body.touch #spell-dialog.counter-mode .spell-qte{grid-column:1 / -1;grid-row:5;margin:0;padding:5px 8px}body.touch #spell-dialog.counter-mode #spell-feedback{grid-row:6}body.touch #spell-dialog.counter-mode #spelling-hint{grid-row:7}body.touch #spell-dialog.counter-mode .dialog-actions{grid-row:8}body.touch .spell-paper .dialog-actions{bottom:0;margin:4px 0 0;padding:6px 0 0}body.touch #spell-choice-dialog .spell-paper{display:flex;flex-direction:column;gap:4px;overflow:hidden}body.touch #spell-choice-dialog .spell-choice-list{flex:1 1 auto;min-height:76px;overflow-y:auto;touch-action:pan-y}body.touch #spell-choice-dialog .dialog-actions{flex:none}@media(max-height:400px)and (orientation:landscape){body.touch #spell-dialog.counter-mode .spell-qte-heading strong,body.touch #spell-dialog.counter-mode .spell-qte-heading span{font-size:9px}body.touch #spell-dialog.counter-mode .spell-qte-track{height:4px;margin:3px 0 0}body.touch #spell-dialog.counter-mode #spell-qte-label{display:none}}@media(max-width:700px)and (orientation:landscape){body.touch .boss-status{right:196px}}.home-quick-start{display:none}body.touch .home-quick-start{position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));z-index:10;display:flex;align-items:center;justify-content:center;width:min(420px,72vw);min-height:48px;transform:translate(-50%);border-color:#ffe0a0;box-shadow:0 8px 24px #18372a55;font-size:14px}body.touch .home-copy{padding-bottom:64px}body.touch .global-actions .icon-button,body.touch .global-actions .pill-button,body.touch .region-option,body.touch .level-option,body.touch .text-button,body.touch #input-mode{min-height:44px}body.touch .global-actions .icon-button{min-width:44px}#status-card button,#adventure-task-panel .task-toggle,.notebook-button,.global-actions .icon-button,.global-actions .pill-button{min-width:44px;min-height:44px}#status-card button{width:44px;height:44px}#adventure-task-panel .task-toggle,.notebook-button{min-height:44px}body.touch .explore-nearby{top:138px;left:8px;right:auto;max-width:172px}body.touch .loadout{left:calc(var(--touch-left) + var(--stick-size) + 52px);right:calc(var(--touch-right) + 190px);max-width:260px}body.touch .loadout-label{display:none}body.touch .inventory-wrap{z-index:1}body.touch #adventure-task-panel:has(#adventure-task-toggle[aria-expanded=true]) #adventure-word-slots{display:flex}body.touch #adventure-task-panel:has(#adventure-task-toggle[aria-expanded=true]) .adventure-region-progress{display:grid}body.touch #adventure-task-panel:has(#adventure-task-toggle[aria-expanded=true]) .adventure-next-step{display:flex}body.touch #adventure-task-panel:has(#adventure-task-toggle[aria-expanded=true]) #adventure-main-progress{display:block}@media(max-width:700px)and (orientation:landscape){body.touch .loadout{right:calc(var(--touch-right) + 190px)}body.touch .home-quick-start{width:min(360px,66vw)}}@media(max-height:400px)and (orientation:landscape){body.touch .explore-nearby{top:134px}}#home-button,#restart-button{min-height:44px}body.touch .pause-paper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;max-height:calc(100dvh - 16px);padding:14px 18px;overflow-y:auto}body.touch .pause-paper>.eyebrow,body.touch .pause-paper>h2,body.touch .pause-paper>p,body.touch .pause-paper>.fullscreen-hint,body.touch .pause-paper>#resume-button,body.touch .pause-paper>#home-button{grid-column:1 / -1}body.touch .pause-paper>h2{margin:2px 30px 4px;font-size:20px}body.touch .pause-paper>p{margin:0 0 4px}body.touch .pause-paper button{min-height:44px;margin-top:0}body.touch .pause-paper>.text-button{margin-top:0}body.playing .brand,body.playing .version-tag{display:none}[data-icon]{font-size:0!important}#adventure-task-panel,#status-card,.boss-status,.map-wrap,.notebook-button,.camera-mode,.explore-nearby,.toast,.interaction,.desktop-controls,.celebration-banner{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}#adventure-task-panel{padding:0}#adventure-task-panel,#adventure-objective,.adventure-task-kicker,#adventure-detail,#adventure-collection,.adventure-region-progress span,.adventure-next-step,#status-card,#status-card #timer,.boss-status,.boss-status small,#boss-name,#boss-phase,#boss-hp-text,.notebook-button,.camera-mode,.explore-nearby,.toast,.interaction,.desktop-controls,.loadout-label,.inventory-label,.empty-inventory,.celebration-banner{color:#fff8df;text-shadow:0 2px 4px #10291ddd,0 0 9px #10291dcc}#adventure-task-panel .adventure-region-progress span{padding:2px 0;border:0;background:none}#adventure-task-panel .adventure-next-step{padding:0;border:0;background:none}#adventure-task-panel .adventure-next-step>span{color:#ffdb83}#adventure-task-panel .adventure-progress-track{background:#18372a55}#adventure-task-panel .task-toggle{padding:0;border:0;background:none;color:#ffe29a}#adventure-word-slots .word-slot,#adventure-word-slots .word-slot.have{border:0;border-bottom:2px solid #fff8df66;border-radius:0;background:none;color:#fff4c9}#adventure-word-slots .word-slot.have{border-bottom-color:#f5c76a;color:#ffe29a}#status-card{padding:0}#status-card button,.notebook-button,.camera-mode,.global-actions .icon-button,.global-actions .pill-button,.loadout button,.boss-counter-open,#hud button{background:transparent!important;border-color:#ffffff2e;box-shadow:none!important;backdrop-filter:none!important;color:#fff6d8;text-shadow:0 2px 4px #10291ddd,0 0 8px #10291dcc}#hud .loadout button[aria-pressed=true]{border-color:#f1c573;color:#ffe29a}.map-wrap{padding:0}.map-wrap canvas{opacity:.72}.boss-status{padding:0}.boss-status.boss-exposed{box-shadow:none}.boss-status meter{background:transparent}.boss-counter-open{min-width:44px;border:1px solid #ffe09966!important;border-radius:10px;color:#ffe39a!important}.boss-counter-open:disabled{border-color:#ffffff24!important;color:#e0dfc6!important}.inventory-chip{background:none;border:0;border-bottom:2px solid #fff8df77;border-radius:0;box-shadow:none;color:#fff8df;text-shadow:0 2px 4px #10291ddd,0 0 8px #10291dcc}.inventory-chip b{box-shadow:none}.celebration-banner{opacity:0}.celebration-banner.visible{opacity:1}#celebration-kicker{color:#ffdb83}#celebration-title{color:#fff3c6}#celebration-detail{color:#f0ead3}.ultimate-overlay{background:radial-gradient(circle at 55% 52%,transparent 52%,#142e2418 78%,transparent 100%)}.modal{background:#1c352a2e;backdrop-filter:none}.modal button,.modal .primary,.modal .secondary{background:transparent;border:1px solid #cbd5bd;box-shadow:none;color:#38593c;text-shadow:none}.modal .primary{border-color:#d8aa53}body.touch .spell-paper .dialog-actions,body.touch .spell-qte,body.touch .spell-choice,body.touch .spell-choice.ready{background:transparent}body.touch .loadout{right:calc(var(--touch-right) + 190px)}@media(max-width:700px)and (orientation:landscape){body.touch .loadout{right:calc(var(--touch-right) + 190px)}}@media(prefers-reduced-motion:reduce){.ultimate-rays{opacity:.08}}.home-quick-start,.campaign-paper .primary,.home-paper .primary{background:transparent!important;box-shadow:none!important;gap:10px;text-align:left}.campaign-paper .primary,.home-paper .primary{display:flex;align-items:center;justify-content:space-between;border:1px solid #b8c5a5!important;color:#294d37;text-shadow:none;padding-left:18px;padding-right:16px}body.touch .home-quick-start{display:flex;align-items:center;justify-content:space-between;border:1px solid #ffffff70!important;background:#2f5439d9!important;color:#fffdf1;text-shadow:0 1px 3px #10291d99;padding-left:18px;padding-right:16px}.cta-arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;opacity:.62}.cta-arrow svg{display:block;width:18px;height:18px}.celebration-banner{top:14%;min-width:min(430px,86vw);padding:18px 34px 16px;border:0;border-radius:0;background:none;box-shadow:none;color:#fff3c4;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,-8px)}.celebration-banner.visible{animation:completion-reveal .42s ease-out forwards}.celebration-banner:before,.celebration-banner:after{content:"";position:absolute;top:50%;width:34%;height:1px;background:linear-gradient(90deg,transparent,#f3cf76aa);box-shadow:0 0 8px #f3cf7640}.celebration-banner:before{right:calc(100% + 18px)}.celebration-banner:after{left:calc(100% + 18px);transform:scaleX(-1)}.completion-gem{display:block;margin-bottom:4px;color:#f6d37f;font-size:28px;line-height:1;text-shadow:0 0 12px #f6d37f88,0 2px 5px #10291d88}.celebration-banner.visible .completion-gem{animation:completion-gem 1.1s ease-out}#celebration-kicker{color:#f5d58a;font-size:10px;font-weight:600;letter-spacing:.24em;text-shadow:0 2px 5px #10291d88}#celebration-title{margin:5px 0 4px;color:#fff0b5;font-family:KaiTi,Microsoft YaHei,serif;font-size:clamp(25px,3.2vw,34px);font-weight:700;letter-spacing:.08em;text-shadow:0 0 14px #f4cf7650,0 2px 5px #10291daa}#celebration-detail{color:#f5ead0;font-size:11px;letter-spacing:.04em;text-shadow:0 2px 5px #10291daa}@keyframes completion-reveal{0%{opacity:0;transform:translate(-50%,-8px)}55%{opacity:1;transform:translate(-50%,1px)}to{opacity:1;transform:translate(-50%)}}@keyframes completion-gem{0%{opacity:0;transform:scale(.55) rotate(-25deg)}55%{opacity:1;transform:scale(1.18) rotate(5deg)}to{opacity:1;transform:scale(1) rotate(0)}}body.touch .celebration-banner{top:16%;padding:10px 22px}body.touch .completion-gem{font-size:22px}body.touch #celebration-title{font-size:23px}body.touch .celebration-banner:before,body.touch .celebration-banner:after{width:22%}@media(prefers-reduced-motion:reduce){.celebration-banner,.celebration-banner.visible,.celebration-banner.visible .completion-gem{animation:none}.celebration-banner.visible{opacity:1;transform:translate(-50%)}}.home-quick-start{border-color:#b8c5a5!important;color:#294d37;text-shadow:0 0 4px #fff8dfaa}#adventure-task-panel{display:flex;flex-direction:column;gap:3px;width:min(300px,32vw)}#adventure-task-panel .adventure-task-kicker{padding-right:38px;color:#e5d9b7;font-size:10px;letter-spacing:.12em;line-height:1.2}#adventure-objective{margin:0;color:#fff3c4;font-size:20px;line-height:1.24;letter-spacing:.01em}#adventure-word-slots{margin:1px 0 0}#adventure-collection{margin:0;color:#e8e2c9;font-size:11px;line-height:1.35}#adventure-next-step{gap:6px;margin:0;color:#ffdb83;font-size:12px;line-height:1.35}#adventure-next-step>span{font-size:0}#adventure-next-step>span:before{content:"→";font-size:16px;line-height:1}#adventure-task-panel .adventure-progress-track{height:3px;margin-top:3px}#adventure-task-panel .task-toggle{position:absolute;top:0;right:0;z-index:3;width:44px;height:44px;min-height:44px;padding:0}#adventure-task-panel:not(.expanded) .adventure-region-progress{display:none}#adventure-task-panel.expanded .adventure-region-progress{display:grid}#adventure-task-panel.expanded{gap:5px}#adventure-detail,#adventure-collection-long{color:#e8e2c9;font-size:11px;line-height:1.45}#weapon-status{display:none}.loadout.warning #weapon-status{display:block;color:#ffd19a}#tracked-letter{display:none}.loadout.has-tracked #tracked-letter{display:block}.inventory-label{display:none}.desktop-controls span:nth-child(n+3){display:none}body.touch #adventure-task-panel{width:min(244px,43vw);gap:2px}body.touch #adventure-objective{font-size:16px}body.touch #adventure-collection{font-size:10px}body.touch #adventure-next-step{font-size:11px}body.touch #adventure-task-panel .task-toggle{width:44px;height:44px}#adventure-task-panel{width:min(250px,29vw);max-height:220px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}#adventure-task-panel .adventure-task-kicker{font-size:9px}#adventure-objective{font-size:16px;line-height:1.25}#adventure-collection{font-size:10px}#adventure-next-step{font-size:11px}#adventure-word-slots .word-slot{width:22px;height:24px;font-size:14px}#adventure-detail,#adventure-collection-long{font-size:10px}#adventure-region-progress span{padding:0;font-size:9px;line-height:1.25}#boss-name{font-size:12px}.boss-status>div:first-child{font-size:11px}.boss-status small{font-size:10px}.toast{top:auto;bottom:108px;max-width:52vw;padding:0;font-size:11px;line-height:1.45;text-align:center}.desktop-controls{font-size:9px}#celebration-title{font-size:clamp(22px,2.5vw,28px)}#celebration-kicker{font-size:9px}#celebration-detail{font-size:10px}.completion-gem{font-size:24px}#ultimate-word{font-size:clamp(56px,7vw,96px)}#ultimate-name{font-size:clamp(18px,2.4vw,28px)}#ultimate-damage{font-size:clamp(52px,7vw,88px)}body.touch #adventure-task-panel{width:min(210px,40vw);max-height:112px}body.touch #adventure-task-panel .adventure-task-kicker{font-size:8px}body.touch #adventure-objective{font-size:12px;line-height:1.25}body.touch #adventure-collection{font-size:9px}body.touch #adventure-word-slots,body.touch #adventure-next-step,body.touch #adventure-collection-long,body.touch #adventure-hear{display:none!important}body.touch #adventure-detail{font-size:10px}body.touch #adventure-region-progress span{font-size:9px}body.touch #boss-name{font-size:11px}body.touch .toast{bottom:118px;max-width:46vw;padding:0;font-size:10px}body.touch .inventory-wrap{display:none}body.touch .explore-nearby{top:96px;left:50%;right:auto;max-width:170px;padding:0;transform:translate(-50%);font-size:9px}body.touch #celebration-title,body.touch .completion-gem{font-size:20px}body.touch #ultimate-word{font-size:clamp(42px,10vw,64px)}body.touch #ultimate-name{font-size:19px}body.touch #ultimate-damage{font-size:52px}#adventure-task-panel,#adventure-task-panel *{text-align:left}.adventure-task-kicker{justify-content:flex-start;gap:8px}.boss-status{left:22px;top:18px;width:min(340px,40vw);transform:none;text-align:left}.toast{inset:20% auto auto 22px;max-width:44vw;transform:none;text-align:left;text-shadow:0 1px 2px #10291ddd,0 0 7px #10291dcc}.explore-nearby,#adventure-collection,#adventure-detail,#adventure-collection-long{text-shadow:0 1px 2px #10291ddd,0 0 7px #10291dcc}#adventure-task-toggle:after{content:attr(data-count);font-size:10px;margin-left:2px}.celebration-banner{left:22px;right:auto;min-width:min(360px,70vw);text-align:left;transform:none}.celebration-banner.visible{animation:completion-reveal-left .42s ease-out forwards}.celebration-banner:before{display:none}.celebration-banner:after{left:calc(100% - 70px);width:70px;transform:none}#celebration-title{text-shadow:0 0 14px #f4cf7650,0 2px 4px #10291d}#celebration-detail,#celebration-kicker{text-shadow:0 1px 2px #10291ddd,0 0 7px #10291dcc}@keyframes completion-reveal-left{0%{opacity:0;transform:translateY(-8px)}55%{opacity:1;transform:translateY(1px)}to{opacity:1;transform:translateY(0)}}body.touch .celebration-banner{top:16%;left:8px;right:auto;min-width:min(300px,62vw);transform:none;text-align:left}body.touch .celebration-banner:after{left:calc(100% - 34px);width:34px}body.touch .toast{top:28%;bottom:auto;left:8px;max-width:42vw;transform:none;text-align:left}body.touch .boss-status{left:8px;right:auto;width:min(330px,58vw);transform:none}body.touch .explore-nearby{top:124px;left:8px;right:auto;max-width:160px;transform:none}@media(prefers-reduced-motion:reduce){.celebration-banner.visible{animation:none}}.bag-paper{width:min(1040px,96vw);padding:20px}.bag-layout{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);gap:18px;align-items:start}.bag-character-pane{position:sticky;top:0;min-width:0}.bag-preview-frame{position:relative;height:250px;overflow:hidden;border:1px solid #d7c693;border-radius:18px;background:linear-gradient(155deg,#dce9c9,#f4e5bb)}#bag-preview-canvas{display:block;width:100%;height:100%}.bag-preview-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#a98547;font-size:74px}.bag-stats-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:8px 0}.bag-stats-summary span{display:flex;flex-direction:column;align-items:center;padding:5px 2px;border-bottom:1px solid #dce3cf;color:#526b47}.bag-stats-summary small{color:#879475;font-size:9px}.bag-stats-summary b{font-size:12px;font-variant-numeric:tabular-nums}.bag-equipment{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.bag-slot{min-width:0;text-align:center}.bag-slot-label{display:block;margin-bottom:3px;color:#859271;font-size:9px}.bag-slot-button{width:100%;min-height:66px;padding:6px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px dashed #cbd6bb;border-radius:11px;background:#f8f9ef;color:#43563c}.bag-slot-button[aria-pressed=true]{border-style:solid;border-color:#dfad53;background:#fff5de}.bag-slot-icon{color:#a67a35;font-size:21px;line-height:1}.bag-slot-button b{max-width:100%;font-size:10px;line-height:1.2;overflow-wrap:anywhere}.bag-slot-button small{color:#8a9678;font-size:8px}.bag-inventory-pane{min-width:0}.bag-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.bag-filters{display:flex;gap:6px}.bag-filters button{min-width:44px;min-height:36px;padding:5px 10px;border:1px solid #d5ddc4;border-radius:10px;background:#f5f6ed;color:#526b47}.bag-filters button[aria-pressed=true]{border-color:#d9a64d;background:#fff3d9}.bag-capacity{color:#869474;font-size:10px;white-space:nowrap}.bag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;max-height:38vh;overflow-y:auto;padding:2px}.bag-item{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 6px;min-height:84px;padding:9px;border:1px solid #d5ddc4;border-radius:12px;background:#fbfcf4;color:#43563c;text-align:left}.bag-item-icon{grid-row:1 / 3;align-self:center;color:#a67a35;font-size:24px;text-align:center}.bag-item-quality{position:absolute;top:6px;right:6px;color:#a17e42;font-size:9px}.bag-item b{grid-column:2;font-size:12px;line-height:1.25;overflow-wrap:anywhere}.bag-item small{grid-column:2;color:#7d8a6c;font-size:10px;line-height:1.25}.bag-item[aria-pressed=true]{border-color:#d8a84f;box-shadow:0 0 0 2px #d8a84f33}.bag-item.locked{opacity:.58}.bag-item[data-quality=uncommon]{border-color:#80a67b}.bag-item[data-quality=rare]{border-color:#6c9fba}.bag-item[data-quality=epic]{border-color:#a383b9}.bag-selection{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;margin-top:10px;padding:10px 12px;border-top:1px solid #dde4d0}.bag-selection-icon{color:#b58638;font-size:32px;line-height:1;text-align:center}.bag-selection-copy strong{color:#38563a;font-size:14px}.bag-detail{margin:4px 0;font-size:11px;line-height:1.45}.bag-selection-stats{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.bag-selection-stats span{padding:3px 6px;border:1px solid #dce3cf;border-radius:6px;font-size:10px}.bag-selection-stats .positive{color:#4a8150}.bag-selection-stats .negative{color:#ad644f}.bag-compare-current{color:#8a9678}.bag-paper .dialog-actions{display:flex;flex-wrap:wrap;gap:8px}.bag-paper .dialog-actions button{min-height:44px}body.touch .bag-paper{max-height:calc(100dvh - 16px);padding:14px 16px;overflow-y:auto}body.touch .bag-layout{display:flex;flex-direction:column;gap:10px}body.touch .bag-character-pane{position:static}body.touch .bag-preview-frame{height:168px}body.touch .bag-stats-summary{margin:5px 0}body.touch .bag-slot-button{min-height:58px}body.touch .bag-slot-icon{font-size:18px}body.touch .bag-slot-label{font-size:9px}body.touch .bag-grid{max-height:32vh;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body.touch .bag-item{min-height:76px;padding:7px}body.touch .bag-item b{font-size:11px}body.touch .bag-item small{font-size:9px}body.touch .bag-selection{margin-top:7px;padding:7px 8px}@media(max-width:700px)and (orientation:landscape){body.touch .bag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.map-expand-button{position:absolute;top:2px;right:2px;z-index:2;width:44px;height:44px;border:1px solid #ffffff40;border-radius:50%;background:transparent;color:#fff4cf;text-shadow:0 1px 3px #10291ddd}.map-paper{width:min(780px,94vw);padding:18px}.map-expanded-layout{display:grid;grid-template-columns:minmax(260px,1fr) 180px;gap:14px;align-items:center}#map-expanded{display:block;width:100%;height:auto;max-height:62vh;aspect-ratio:1;border:1px solid #d5ddc4;border-radius:50%;background:#e4edcf}.map-side{color:#526b47;font-size:12px}#map-expanded-region{display:block;color:#38563a;font-size:16px}#map-expanded-summary{margin:6px 0 12px;color:#819071;font-size:11px;line-height:1.5}.map-legend{display:grid;gap:8px}.map-legend span{display:flex;align-items:center;gap:8px}.map-legend i{display:inline-block;width:12px;height:12px;flex:none}.legend-region{border:2px solid #d4a74c;background:#f3d37a44}.legend-guard{background:#db7657;transform:rotate(45deg)}.legend-optional{background:#ae91c5;border-radius:50%}.legend-boss{background:#d7973e;clip-path:polygon(50% 0,100% 100%,0 100%)}.legend-letter{background:#ffe29a;border-radius:50%}.legend-altar{background:#e7f2ef;border:1px solid #6a9f94;border-radius:50%}.map-zoom-controls{display:flex;gap:8px;margin-top:14px}.map-zoom-controls button{width:44px;height:44px;border:1px solid #cbd5bd;border-radius:10px;background:#f7f8ef;color:#526b47}body.touch .map-paper{max-height:calc(100dvh - 16px);padding:14px 16px;overflow-y:auto}body.touch .map-expanded-layout{display:flex;flex-direction:column;gap:8px}body.touch #map-expanded{max-width:48vh;max-height:48vh}body.touch .map-side{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;align-items:center}body.touch .map-legend{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px 10px}body.touch .map-zoom-controls{grid-column:1 / -1;margin-top:4px}#adventure-task-panel .task-toggle{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:auto;min-width:64px;padding:0 5px}#adventure-task-panel .adventure-task-kicker{padding-right:64px}#adventure-objective{padding-right:44px}#adventure-task-toggle:before{font-size:16px}#adventure-task-toggle:after{font-size:10px;white-space:nowrap}.bag-filters button{min-height:44px}.bag-role{color:#6b815c}#map-dialog{background:transparent;backdrop-filter:none}#map-dialog .map-paper{all:unset;display:block}#map-dialog .map-expanded-layout{position:fixed;inset:0;display:grid;place-items:center;pointer-events:none}#map-dialog #map-expanded{display:block;width:min(78vmin,720px);height:auto;max-height:none;aspect-ratio:1;border:0;border-radius:0;background:transparent;pointer-events:auto}#map-dialog .map-paper>.eyebrow{display:none}#map-title{position:fixed;top:18px;left:22px;margin:0;color:#fff3c9;font-size:12px;font-weight:600;text-shadow:0 1px 3px #10291ddd,0 0 7px #10291dcc}.map-side{position:fixed;left:50%;bottom:22px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;max-width:92vw;transform:translate(-50%);color:#fff3c9;text-shadow:0 1px 3px #10291ddd,0 0 7px #10291dcc;pointer-events:auto}#map-expanded-region{font-size:14px}#map-expanded-summary{margin:0;font-size:10px}.map-legend{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:10px}.map-legend i{width:11px;height:11px}.map-zoom-controls{position:fixed;right:22px;bottom:22px;display:flex;gap:8px;pointer-events:auto}.map-zoom-controls button,#map-close{width:44px;height:44px;border:1px solid #fff3c955;border-radius:10px;background:transparent;color:#fff3c9;text-shadow:0 1px 3px #10291ddd}#map-close{position:fixed;top:14px;right:14px;z-index:2}body.touch #map-expanded{width:min(88vw,58vh)}body.touch .map-side{bottom:52px;gap:5px;max-width:96vw}body.touch .map-legend{gap:5px 8px;font-size:9px}body.touch .map-zoom-controls{right:8px;bottom:8px}body.touch #map-title{top:10px;left:10px;font-size:11px}.bag-paper{width:min(860px,94vw);padding:16px}.bag-layout{grid-template-columns:minmax(210px,.65fr) minmax(0,1.35fr);gap:14px}.bag-preview-frame{height:190px;border-radius:14px}.bag-preview-fallback{font-size:56px}.bag-intro{margin:2px 0 8px;font-size:11px}.bag-stats-summary{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0;padding:4px 0;border-bottom:1px solid #dde4d0}.bag-stats-summary span{flex-direction:row;gap:4px;padding:0;border:0}.bag-stats-summary small{font-size:9px}.bag-stats-summary b{font-size:11px}.bag-equipment{gap:5px}.bag-slot-button{min-height:52px;padding:4px 2px;border-radius:9px}.bag-slot-icon{font-size:18px}.bag-slot-button b{font-size:9px}.bag-slot-button small,.bag-slot-label{font-size:8px}.bag-grid-title{display:none}.bag-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;max-height:42vh}.bag-item{min-height:64px;padding:7px;grid-template-columns:23px minmax(0,1fr);border-radius:10px}.bag-item-icon{font-size:20px}.bag-item b{font-size:11px}.bag-item small{font-size:9px}.bag-item-quality{font-size:8px}.bag-selection{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:6px;padding:6px 0 0;border-top:1px solid #dde4d0}.bag-selection-icon{font-size:22px}.bag-selection-copy{display:flex;align-items:baseline;flex:1;flex-wrap:wrap;gap:7px}.bag-selection-copy strong{font-size:12px}.bag-detail{margin:0;font-size:10px}.bag-selection-stats{display:inline-flex;gap:4px;margin:0}.bag-selection-stats span{padding:1px 4px;font-size:9px}.bag-compare-current{font-size:9px}.bag-paper .dialog-actions{justify-content:flex-end;gap:6px;margin-top:6px}body.touch .bag-paper{padding:12px 14px}body.touch .bag-layout{gap:8px}body.touch .bag-preview-frame{height:122px}body.touch .bag-stats-summary{gap:7px}body.touch .bag-slot-button{min-height:48px}body.touch .bag-grid{max-height:30vh;gap:5px}body.touch .bag-item{min-height:62px;padding:6px}body.touch .bag-selection{margin-top:4px;padding-top:4px}#map-dialog .map-expanded-layout{display:flex;align-items:center;justify-content:flex-start;padding:70px 4vw}#map-dialog #map-expanded{width:min(72vmin,760px);max-height:78vh}.map-side{left:auto;right:24px;bottom:24px;display:grid;grid-template-columns:auto auto;justify-items:start;gap:6px 12px;max-width:34vw;transform:none}.map-zoom-controls{left:24px;right:auto;bottom:24px}body.touch #map-dialog .map-expanded-layout{justify-content:center;padding:54px 12px 74px}body.touch #map-dialog #map-expanded{width:min(86vw,88vh);max-width:88vw;max-height:88vh}body.touch .map-side{right:8px;bottom:52px;max-width:72vw;gap:4px 8px}body.touch .map-zoom-controls{left:8px;right:auto;bottom:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[data-icon]:before,[data-icon]:after{content:none!important}[data-icon] svg{display:block;flex:none;width:22px;height:22px;filter:drop-shadow(0 1px 2px #18271f8c)}[data-icon]>:not(.button-count):not(.sr-only):not(svg){display:none}.bag-slot-icon svg{width:18px;height:18px}.bag-item-icon svg{width:22px;height:22px}.bag-selection-icon svg{width:24px;height:24px}#adventure-task-panel{top:88px}body.touch #adventure-task-panel{top:44px}.map-wrap{pointer-events:auto;cursor:zoom-in}#minimap{outline-offset:3px}.home-copy h1{font-size:clamp(28px,3.4vw,44px)}.home-paper{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}body.touch .home-copy{margin-top:44px}body.touch .home-copy h1{font-size:clamp(18px,3.2vw,26px)}body.touch .home-description{font-size:10px;line-height:1.55}body.touch .home-paper{height:calc(var(--game-height, 100dvh) - 64px);max-height:calc(var(--game-height, 100dvh) - 64px);overflow-y:auto}body.touch .region-option,body.touch .level-option{min-height:44px}#hud #trial-panel{inset:8px auto auto 50%;transform:translate(-50%);width:auto;max-width:160px;padding:0;margin:0;border:0;background:transparent;box-shadow:none}#hud #trial-panel>.trial-top,#hud #trial-panel>#trial-save-note,#hud #trial-panel>#companion-toggle,#hud #trial-panel>#companion-controls,#hud #trial-panel #companion-listen{display:none}#hud #trial-panel .companion-tools{display:block}#hud #trial-panel #companion-help{display:block;min-width:76px;min-height:44px;margin:0;padding:8px 12px;border:1px solid #fff3cd66;border-radius:22px;font-size:11px;font-weight:700}body.playing .brand{display:none}#hud #adventure-task-panel{inset:18px auto auto 18px;width:min(280px,35vw);max-height:min(220px,42vh);margin:0;padding:0 44px 0 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}#hud .adventure-task-kicker{font-size:10px;opacity:.85}#hud #adventure-objective{font-size:clamp(13px,1.6vw,17px);line-height:1.35;margin:5px 0}#hud #adventure-task-panel .task-toggle{position:absolute;right:0;top:0;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;margin:0;padding:0}#hud #adventure-task-panel .task-toggle:after{content:none}#hud #adventure-next-step{margin:3px 0;font-size:11px;line-height:1.4}#hud #adventure-next-step>span{display:none}#hud #adventure-collection{font-size:10px;line-height:1.4;margin:3px 0}#hud #adventure-detail{font-size:11px;line-height:1.5}#hud #adventure-region-progress{gap:4px 8px}#hud #adventure-task-panel #adventure-region-progress span{font-size:10px}#hud #status-card{top:10px;right:14px;gap:8px;align-items:center}#hud .status-vitals{width:128px}#hud #player-hp-text,#hud #player-level{font-size:11px}#hud #pause-button{min-width:44px;min-height:44px}#hud .map-wrap{inset:70px 14px auto auto;width:100px;min-width:0;transform:none}#hud .map-wrap canvas{width:100px;height:100px;opacity:.86}#hud .toast{top:auto;bottom:max(112px,22vh);left:50%;right:auto;transform:translate(-50%);max-width:min(340px,42vw);font-size:12px;text-align:center}#hud .interaction{max-width:240px;font-size:12px}#hud .explore-nearby{font-size:10px;max-width:180px}#pause-dialog .paper,#companion-help-dialog .paper{width:min(540px,calc(100vw - 32px));max-height:calc(var(--game-height, 100dvh) - 32px);overflow-y:auto;overscroll-behavior:contain;border-radius:22px;padding:24px}#companion-help-close{min-width:44px;min-height:44px}#pause-dialog button[data-icon]{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px}#pause-dialog button[data-icon] .sr-only,.bag-paper .dialog-actions button[data-icon] .sr-only{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;font-size:13px;font-weight:700}.companion-help-session{display:flex;flex-wrap:wrap;gap:8px}.companion-help-session button{flex:1 1 100px;min-height:44px;font-size:12px}.companion-help-paper p{font-size:12px;line-height:1.65}.companion-help-paper h2{font-size:22px}.bag-slot-button b,.bag-item small{font-size:10px}#campaign-home .region-list{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:3px 0 7px;scrollbar-width:thin}#campaign-home .region-option{flex:0 0 118px;min-height:44px;font-size:11px}#campaign-home .level-option{min-height:48px}@media(max-height:520px),(max-width:700px){#hud #adventure-task-panel{top:12px;left:12px;width:min(224px,35vw);max-height:min(132px,40vh)}#hud #adventure-objective{font-size:13px}#hud #adventure-next-step{font-size:10px}#hud .status-vitals{width:98px}#hud #status-card{top:6px;right:8px;gap:5px}#hud .map-wrap{top:62px;right:10px;width:70px}#hud .map-wrap canvas{width:70px;height:70px}#hud .map-wrap>span{font-size:9px}#hud #trial-panel #companion-help{min-width:64px;font-size:10px;padding:6px 8px}#hud .toast{bottom:32%;max-width:36vw;font-size:11px}#hud .explore-nearby{max-width:140px;font-size:10px}#pause-dialog .paper,#companion-help-dialog .paper{padding:18px;max-height:calc(var(--game-height, 100dvh) - 16px)}}@media(max-height:420px){#hud #adventure-task-panel{max-height:112px}#hud .map-wrap canvas{width:62px;height:62px}#hud .map-wrap{width:62px}#hud .map-wrap>span,#hud .map-wrap>b{display:none}#hud .toast{bottom:34%;font-size:10px}.companion-help-paper h2{font-size:18px}}@media(orientation:portrait)and (max-width:700px){#hud #adventure-task-panel{top:68px;width:calc(100vw - 132px);max-width:250px}#hud #trial-panel{top:166px;left:auto;right:10px;transform:none}}body.touch #joystick{width:112px;height:112px;border:1px solid #fff7dc80;background:radial-gradient(circle,#ffffff12 35%,#142c2440 70%);box-shadow:inset 0 0 0 13px #ffffff08}body.touch #joystick-knob{width:42px;height:42px;background:#fff8dcaa;border:1px solid #fff8dc}body.touch #joystick>span{font-size:10px;letter-spacing:2px}body.touch #touch-controls .touch-button{width:52px;height:52px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:5px;border:1px solid #fff5d980!important;color:#fff8e4;background:#152c2438!important;box-shadow:inset 0 0 0 3px #ffffff08!important;backdrop-filter:none;-webkit-tap-highlight-color:transparent}body.touch #touch-controls [data-icon]:after{content:attr(data-touch-label)!important;display:block;font:600 10px/1.1 system-ui,sans-serif;color:inherit;text-shadow:0 1px 3px #10271f;white-space:nowrap}body.touch #touch-controls .touch-button svg{width:22px;height:22px}body.touch #touch-controls #touch-attack{width:76px;height:76px;border:2px solid #ffe2a6cc!important;background:#b780242e!important}body.touch #touch-controls #touch-attack svg{width:30px;height:30px}body.touch #touch-controls #touch-attack:after{font-size:12px}body.touch #touch-controls #touch-bag,body.touch #touch-controls #touch-sprint,body.touch #touch-controls #touch-throw{width:48px;height:48px}body.touch #touch-controls #touch-interact{width:72px;height:48px;border-radius:24px}body.touch #touch-controls .touch-button[aria-pressed=true],body.touch #touch-controls .touch-button:active{border-color:#ffda83!important;color:#ffe49d;background:#dab2643b!important}body.touch #touch-controls .touch-button:disabled{opacity:.42;border-style:solid}body.touch #hud #loadout{width:180px;height:48px;max-width:none;min-width:0;padding:0;margin:0}body.touch #hud #loadout .loadout-buttons{height:48px;gap:6px}body.touch #hud #loadout button{flex:1;min-width:44px;height:48px;min-height:48px;padding:6px;border-radius:8px;border:1px solid #fff9dc55}body.touch #hud #loadout button[aria-pressed=true]{border-bottom:3px solid #ffe3a1;background:#1e382938!important}body.touch #hud #loadout .loadout-label{display:none}body.touch #touch-look{inset:auto auto 78px 49%;transform:translate(-50%);width:190px;max-width:32vw;text-align:center;font-size:10px;opacity:.7}body.touch #hud .map-wrap{left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));right:auto;width:76px}body.touch #hud .map-wrap canvas{width:76px;height:76px;opacity:.92}body.touch #hud #adventure-task-panel{min-height:48px;left:calc(max(12px,env(safe-area-inset-left)) + 92px);top:12px;width:min(280px,calc(100vw - 365px));max-height:110px}body.touch #hud #adventure-objective{font-size:13px}body.touch #hud #trial-panel{left:auto;right:172px;top:12px;transform:none;max-width:44px}body.touch #hud #trial-panel #companion-help{min-width:44px;width:44px;padding:4px;font-size:10px;border:0}body.touch #hud .notebook-button{top:58px;right:68px;min-width:44px;width:44px;height:44px;padding:0}body.touch #hud .explore-nearby{left:49%;right:auto;top:128px;transform:translate(-50%);max-width:min(190px,30vw);font-size:10px}body.touch #hud .toast{bottom:46%;max-width:30vw;font-size:11px}#bag-dialog{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}#bag-dialog .bag-paper{--bag-line: #d8dfcf;width:min(1220px,100%);height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 16px);min-width:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);padding:18px;border-radius:16px;overflow:hidden;background:#f2f2e7f7;text-align:left;box-shadow:0 24px 90px #112d2550}#bag-dialog .bag-paper>h2{margin:4px 50px 4px 0;font-size:22px}#bag-dialog #bag-intro{margin:2px 0 12px;font-size:11px}#bag-dialog .bag-layout{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(190px,1fr) minmax(250px,1.45fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;align-items:stretch;min-height:0;min-width:0}#bag-dialog .bag-nearby-pane,#bag-dialog .bag-character-pane,#bag-dialog .bag-inventory-pane{position:static;min-width:0;min-height:0;height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}#bag-dialog .bag-nearby-pane,#bag-dialog .bag-character-pane{padding-right:10px;border-right:1px solid var(--bag-line)}#bag-dialog .bag-inventory-pane{display:flex;flex-direction:column;overflow:hidden}#bag-dialog .bag-pane-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;min-height:24px;margin-bottom:8px;font-size:13px;color:#345449}#bag-dialog .bag-pane-heading small{font-size:10px;color:#718173}#bag-dialog .bag-nearby-hint{font-size:10px;color:#718173;line-height:1.5;margin:0 0 8px}#bag-dialog .bag-nearby-list{display:grid;gap:6px}#bag-dialog .bag-empty{color:#7a887b;line-height:1.6;font-size:12px;margin:10px 2px}#bag-dialog .bag-preview-frame{height:180px;background:radial-gradient(ellipse at center,#dce5d3,#ebeee0);border:0;border-radius:10px}#bag-dialog .bag-stats-summary{display:flex;flex-wrap:wrap;margin:8px 0;gap:5px 10px;padding:5px 0}#bag-dialog .bag-stats-summary b{font-size:12px}#bag-dialog .bag-equipment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#bag-dialog .bag-slot:first-child{grid-column:1 / -1}#bag-dialog .bag-slot-label{display:block;font-size:10px;margin-bottom:3px}#bag-dialog .bag-slot-button{min-height:64px;padding:7px;border:1px solid #cfd9ca;background:#fffdf180;border-radius:8px}#bag-dialog .bag-slot-button b{font-size:11px;line-height:1.4;overflow-wrap:anywhere}#bag-dialog .bag-slot-button small{font-size:10px}#bag-dialog .bag-slot-icon svg{width:22px;height:22px}#bag-dialog .bag-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;align-items:center;margin:0}#bag-dialog .bag-filters{display:flex;gap:4px}#bag-dialog .bag-filters button{min-width:48px;min-height:44px;height:44px;border-radius:6px}#bag-dialog .bag-filters button[data-icon]{display:inline-flex;align-items:center;justify-content:center}#bag-dialog .bag-filters button[data-icon]{flex-direction:column;gap:2px;padding:3px}#bag-dialog .bag-filters button[data-icon] svg{width:18px;height:18px}#bag-dialog .bag-filters button[data-icon]:after{display:block;font:10px/1 system-ui}#bag-dialog #bag-filter-all:after{content:"全部"!important}#bag-dialog #bag-filter-equipment:after{content:"装备"!important}#bag-dialog #bag-filter-supplies:after{content:"补给"!important}body.touch #touch-controls #touch-bag .button-count{min-width:30px;top:-7px;right:-10px;font:700 8px/1.5 system-ui;padding:1px 4px;color:#fff8df;background:#1b382dce;border:1px solid #fff5c960;border-radius:8px}body.touch #touch-controls #touch-bag[data-full=true] .button-count{background:#a75b36}#bag-dialog .bag-capacity{font-size:11px;color:#3d654f;font-variant-numeric:tabular-nums}#bag-dialog .bag-capacity.overloaded{color:#b34f35;font-weight:700}#bag-dialog #bag-load-meter{display:block;flex:0 0 7px;width:100%;height:7px;margin:6px 0 10px;accent-color:#7e9863}#bag-dialog #bag-status{min-height:0;margin:0 0 4px;color:#566c4b;font-size:11px}#bag-dialog #bag-status:empty{display:none}#bag-dialog .bag-grid-wrap{display:flex;flex-direction:column;min-height:0;flex:1;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}#bag-dialog .bag-grid-title{display:block;margin-bottom:6px;color:#556d54;font-size:11px}#bag-dialog #bag-grid{display:flex;flex-direction:column;flex-shrink:0;max-height:none;overflow:visible;padding:0 4px 0 0;gap:6px}#bag-dialog .bag-item,#bag-dialog .bag-nearby-item{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 9px;align-items:center;min-height:64px;margin:0;padding:9px;border:1px solid #d2dacb;border-radius:7px;color:#345248;background:#fffdf4b8;text-align:left}#bag-dialog .bag-item[aria-pressed=true],#bag-dialog .bag-nearby-item[aria-pressed=true],#bag-dialog .bag-slot-button[aria-pressed=true]{background:#e3ebd7;border-color:#6f8c5e;box-shadow:inset 3px 0 #6f8c5e}#bag-dialog .bag-item.equipped{border-left:3px solid #9caa6d}#bag-dialog .bag-item.equipped:after{content:none}#bag-dialog .bag-item.locked{opacity:.5}#bag-dialog .bag-item-icon,#bag-dialog .bag-nearby-item>span{grid-row:1 / 3;grid-column:1;align-self:center}#bag-dialog .bag-item-icon svg,#bag-dialog .bag-nearby-item svg{width:26px;height:26px}#bag-dialog .bag-item b,#bag-dialog .bag-nearby-item b{grid-column:2;grid-row:1;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}#bag-dialog .bag-item small,#bag-dialog .bag-nearby-item small{grid-column:2;grid-row:2;font-size:10px;color:#7c8979}#bag-dialog .bag-item-quality{display:none}#bag-dialog .bag-item[data-quality=rare]{border-left:3px solid #6a97bc}#bag-dialog .bag-item[data-quality=epic]{border-left:3px solid #ae82b4}#bag-dialog .bag-footer{grid-column:1 / -1;min-width:0;border-top:1px solid var(--bag-line);padding-top:8px}#bag-dialog .bag-selection{display:flex;gap:8px;flex-wrap:nowrap;align-items:flex-start;padding:0;margin:0;border:0;max-height:92px;overflow-y:auto;scrollbar-width:thin}#bag-dialog .bag-selection-copy{display:flex;min-width:0;flex-wrap:wrap;gap:4px 12px}#bag-dialog .bag-selection-copy strong{color:#345248;font-size:13px}#bag-dialog .bag-detail{font-size:11px;line-height:1.5}#bag-dialog .bag-selection-stats{font-size:10px;gap:6px}#bag-dialog .bag-selection-stats span{font-size:10px}#bag-dialog .dialog-actions{display:flex;flex-wrap:wrap;align-items:center;margin:10px 0 0;gap:6px}#bag-dialog .dialog-actions button{min-width:60px;min-height:44px;margin:0;padding:8px 12px;border-radius:7px;font-size:12px}#bag-dialog .dialog-actions button[data-icon]{display:inline-flex;justify-content:center;align-items:center;gap:5px}#bag-dialog .dialog-actions button[data-icon]>.sr-only{position:static;width:auto;height:auto;overflow:visible;clip-path:none;clip:auto;white-space:normal;font-size:12px}#bag-dialog .dialog-actions button[data-icon] svg{width:18px;height:18px}#bag-dialog .bag-quantity{display:flex;align-items:center;gap:4px;margin-right:auto;font-size:11px}#bag-dialog #bag-quantity{width:52px;height:44px;min-height:44px;padding:4px;border:1px solid #becbb7;border-radius:6px;text-align:center;font-size:14px;background:#fffdf4;color:#345248}#bag-dialog .bag-quantity button{min-width:44px;padding:6px}#bag-dialog #bag-drop{color:#a34f36;border-color:#c99b86}#bag-dialog #bag-pickup{background:#547957;color:#fff8e5}#bag-dialog #bag-cancel{min-width:44px}#bag-dialog button:focus-visible,#bag-dialog input:focus-visible{outline:3px solid #c09442;outline-offset:1px}@media(max-height:500px)and (orientation:landscape){#bag-dialog .bag-paper{padding:10px 12px;grid-template-rows:26px minmax(0,1fr);border-radius:10px}#bag-dialog .bag-paper>.eyebrow,#bag-dialog #bag-intro{display:none}#bag-dialog .bag-paper>h2{font-size:17px;margin:0 50px 4px 0}#bag-dialog .bag-layout{grid-template-columns:minmax(100px,.7fr) minmax(145px,.9fr) minmax(205px,1.35fr);gap:8px}#bag-dialog .bag-pane-heading{font-size:11px;margin-bottom:4px}#bag-dialog .bag-nearby-hint{display:none}#bag-dialog .bag-preview-frame{height:92px}#bag-dialog .bag-stats-summary{gap:4px 8px;margin:4px 0}#bag-dialog .bag-stats-summary b{font-size:10px}#bag-dialog .bag-slot-button{min-height:54px;padding:4px}#bag-dialog .bag-slot-button b{font-size:10px}#bag-dialog .bag-item,#bag-dialog .bag-nearby-item{min-height:56px;padding:7px;gap:3px 5px}#bag-dialog .bag-item b,#bag-dialog .bag-nearby-item b{font-size:11px}#bag-dialog .bag-footer{padding-top:5px}#bag-dialog .bag-selection{max-height:54px}#bag-dialog .bag-detail,#bag-dialog .bag-selection-stats span{font-size:10px}#bag-dialog .dialog-actions{gap:5px;margin-top:6px}#bag-dialog .dialog-actions button{min-width:52px;padding:6px 9px;font-size:11px}#bag-dialog .bag-quantity label{display:none}#bag-dialog .bag-quantity button{min-width:44px;padding:4px}#bag-dialog #bag-cancel{font-size:0;min-width:44px;padding:4px}#bag-dialog #bag-cancel:after{content:"关闭";font-size:11px}}@media(max-width:620px)and (orientation:landscape){body.touch #joystick{width:104px;height:104px}#bag-dialog .bag-layout{grid-template-columns:100px 146px minmax(0,1fr)}#bag-dialog .bag-nearby-pane,#bag-dialog .bag-character-pane{padding-right:6px}#bag-dialog .bag-preview-frame{display:none}#bag-dialog .bag-stats-summary{gap:2px 6px;padding:2px 0}#bag-dialog .bag-selection-icon{display:none}#bag-dialog .bag-toolbar{gap:3px}#bag-dialog .bag-toolbar .bag-filters button{min-width:44px;width:44px}#bag-dialog #bag-load-meter{margin:4px 0 5px}#bag-dialog .dialog-actions button[data-icon]{gap:3px}#bag-dialog .dialog-actions button[data-icon] svg{display:none}}@media(orientation:portrait)and (max-width:620px){#bag-dialog .bag-paper{height:calc(100dvh - 24px);padding:12px}#bag-dialog .bag-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}#bag-dialog .bag-character-pane{display:none}#bag-dialog .bag-inventory-pane{grid-column:2}#bag-dialog .bag-quantity{flex-basis:100%}}
