@font-face{font-family:Field UI;src:url(../fonts/field-ui.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:100 900}:root{font-family:Field UI,Microsoft JhengHei,system-ui,sans-serif;color:#fff6df;font-synthesis:none;--cream:#fbf1d8;--ink:#354032;--gold:#efd084;--forest:#293d2a;--muted:#dbd7b8;--edge:29px;--bottom:25px;--cell:53px}*{box-sizing:border-box}html,body,#game{width:100%;height:100%;margin:0;overflow:hidden}body{background:#243d39;overscroll-behavior:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible{outline:2px solid #fbcc64;outline-offset:3px}button svg{flex-shrink:0}button,canvas{-webkit-tap-highlight-color:transparent}button:active:not(:disabled){filter:brightness(.92)}[hidden]{display:none!important}#game{position:relative;isolation:isolate;-webkit-user-select:none;user-select:none}#world,.vignette,#hurt{position:absolute;inset:0;width:100%;height:100%}#world{display:block;touch-action:none;outline:none;cursor:grab}#world.dragging{cursor:grabbing}.vignette,#hurt{pointer-events:none}.vignette{background:linear-gradient(0deg,rgba(20,32,22,.52),transparent 30%),radial-gradient(ellipse at center,transparent 59%,rgba(41,54,36,.12) 100%)}#hurt{box-shadow:inset 0 0 90px 34px #bd503b;opacity:0;transition:opacity 90ms}.dialog-open #world{filter:saturate(.86)}#hud{position:absolute;inset:0;pointer-events:none}#hud button,#hud input,#joystick{pointer-events:auto}.brand{position:absolute;top:max(23px,env(safe-area-inset-top));left:max(var(--edge),env(safe-area-inset-left));height:67px;display:flex;align-items:center;padding:8px 15px 8px 10px;gap:11px;color:var(--ink);background:linear-gradient(115deg,#fff5dc,#f2e7c5);border:1px solid rgba(255,251,234,.92);border-radius:14px;box-shadow:0 4px #5f62403d,0 8px 21px -12px #2d4733b9,inset 0 -2px #e1cfab80}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#e8e6c5;border:1px solid #c8c99c;box-shadow:inset 0 1px 2px #a1a57f4f}.brand img{width:34px;height:34px;filter:drop-shadow(0 2px 1px #4a543c55)}.brand-type{display:grid;gap:4px}.brand strong{font-size:25px;font-weight:950;line-height:1.05;letter-spacing:.11em;white-space:nowrap}.brand small{display:flex;align-items:center;gap:5px;font-family:system-ui,sans-serif;color:#64724d;font-size:8px;font-weight:800;letter-spacing:.135em;white-space:nowrap}.brand small i,.location small i{width:3px;height:3px;border-radius:50%;background:#b28758}.brand-flourish{color:#b08043;font-size:15px;margin-left:3px;align-self:flex-start;line-height:1.3}.mode-tag{position:absolute;left:max(var(--edge),env(safe-area-inset-left));top:107px;height:29px;display:flex;gap:8px;align-items:center;padding:0 10px;color:#f7edcd;border:1px solid #ede5b660;border-radius:7px;background:#3b5135d9;box-shadow:0 3px 10px #34514240;font-size:11px;letter-spacing:.09em}.mode-tag>span{width:6px;height:6px;border-radius:50%;background:#e8c769;box-shadow:0 0 0 2px #f3d17824}.mode-tag>i{width:1px;height:10px;background:#e8dfab44}.mode-tag small{font-family:system-ui,sans-serif;font-size:8px;font-weight:750;letter-spacing:.13em;color:#e7dab1}.compass{position:absolute;top:25px;left:50%;transform:translate(-50%);height:42px;width:247px;color:#fff8df;text-shadow:0 1px 3px #314b3a}.compass:after{content:"";position:absolute;bottom:12px;left:0;right:0;height:5px;opacity:.65;background:repeating-linear-gradient(90deg,#fff5d7 0 1px,transparent 1px 12.3px);-webkit-mask-image:linear-gradient(90deg,transparent,#000 22% 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22% 78%,transparent)}#compass-tape{display:grid;grid-template-columns:repeat(5,1fr);text-align:center;align-items:center;font:650 11px/1.6 system-ui,sans-serif;letter-spacing:.13em}#compass-tape span{opacity:.78}#compass-tape span.heading{color:#fff2b9;opacity:1;font-weight:850;font-size:13px}.compass-needle{position:absolute;left:50%;bottom:3px;width:0;height:0;transform:translate(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid #f7d782;filter:drop-shadow(0 1px 1px #546441)}.journal{position:absolute;width:221px;left:max(var(--edge),env(safe-area-inset-left));top:151px;color:#fcf3d7;background:linear-gradient(135deg,#263c2de8,#2b4229d6);border:1px solid #e4daa256;border-radius:12px;box-shadow:0 8px 21px -11px #1d2d1bd9,inset 0 1px #fff3d219;overflow:hidden;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.journal-head{display:flex;align-items:center;width:100%;background:transparent;border:0;border-bottom:1px solid #e1e4ac27;text-align:left;gap:9px;padding:11px 11px 10px 12px}.journal-icon{height:28px;width:28px;display:grid;place-items:center;color:#f1d88d;border:1px solid #ddc47d58;border-radius:7px;background:#dfc47319}.journal-heading{display:grid;gap:3px;margin-right:auto;font-size:13px;font-weight:830;line-height:1.17;letter-spacing:.09em}.journal-heading small{color:#d8d5b0;font:700 7.5px/1.2 system-ui,sans-serif;letter-spacing:.14em}.journal-head>svg{opacity:.7}.journal-head:hover{background:#fff2bf12}#journal-no{font:750 9px/1 system-ui,sans-serif;letter-spacing:.1em;color:#efd791;padding:4px 5px;border-radius:4px;background:#f4d98e20}.journal-body{position:relative;padding:11px 13px 13px 16px}.journal-body:before{content:"";position:absolute;background:linear-gradient(#e8c777,#a7ba7222);border-radius:2px;left:0;top:11px;bottom:13px;width:2px}.quest-kicker{display:flex;align-items:center;gap:6px;color:#dfcf9c;font-size:9px;font-weight:730;letter-spacing:.15em}.quest-kicker i{width:5px;height:5px;background:#e9cc7d;transform:rotate(45deg)}.journal-body>b{display:block;font-weight:850;letter-spacing:.045em;font-size:15px;margin:3px 0 8px}.objective{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:11px;color:#f5e8bd;font-weight:590}.objective strong{font:750 11px/1.2 system-ui,sans-serif;color:#f4d382}.objective strong i{font-style:normal;margin:0 3px;color:#ced3a2}.quest-progress{overflow:hidden;background:#e5e0b325;border-radius:4px;height:4px;margin:7px 0 8px}.quest-progress>span{display:block;height:100%;background:#e9c86d;border-radius:4px;transition:width .25s}.journal-body p{margin:0;color:#d9dbb5;font-size:10px;line-height:1.55;letter-spacing:.025em}.journal.collapsed .journal-body{display:none}.journal.collapsed .journal-head{border:0}.journal.collapsed .journal-head>svg{transform:rotate(-90deg)}.navigation{position:absolute;top:max(24px,env(safe-area-inset-top));right:max(var(--edge),env(safe-area-inset-right));display:grid;justify-items:end;gap:10px;width:155px}.nav-control{position:absolute;right:0;top:1px;transform:translate(-153px);width:41px;height:40px;display:grid;place-items:center;color:#48503a;background:#faf0d6;border:1px solid #fff7e1;border-radius:10px;box-shadow:0 3px #5d694b50,inset 0 -2px #dbcaa5a0,0 8px 20px -11px #294635}.nav-control:hover,.location:hover{background:#fff8df}.minimap{position:relative;margin-top:4px;margin-right:3px;display:grid;place-items:center;width:130px;height:130px;padding:5px;transform:none;background:#f6eaca;border:1px solid #fff3d6;border-radius:50%;box-shadow:0 0 0 1px #5f694b60,0 5px #63775468,0 7px 22px -8px #344a32b7}.minimap:hover{filter:brightness(1.07)}.minimap canvas{display:block;width:100%;height:100%;border-radius:50%;border:1px solid #56694b;box-shadow:0 0 0 1px #5a6c4b57}.minimap:after{content:"";position:absolute;inset:6px;border-radius:100%;box-shadow:inset 0 1px 10px #3647317f;pointer-events:none}.map-n{position:absolute;z-index:1;top:-8px;left:50%;transform:translate(-50%);background:#faf0d0;color:#536043;line-height:17px;width:18px;border-radius:50%;font:850 11px/17px system-ui,sans-serif;box-shadow:0 1px 2px #35432f65}.map-line{position:absolute;background:#f2e2b8;z-index:1;height:1px;width:7px;top:50%;box-shadow:0 1px 1px #3d503565}.map-line.east{right:2px}.map-line.west{left:2px}.map-line.south{top:auto;bottom:4px;left:calc(50% - 1px);width:1px;height:7px}.location{width:145px;display:flex;align-items:center;gap:7px;text-align:left;padding:7px 8px;background:linear-gradient(135deg,#fbf1d7,#f2e7c8);color:#475239;border:1px solid #fef6de;border-radius:9px;box-shadow:0 3px #66714f45,0 6px 17px -10px #344a32a0}.location-pin{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:#e4e4c2;color:#687951}.location-copy{display:grid;gap:4px;margin-right:auto;white-space:nowrap}.location b{line-height:1.12;font-weight:840;font-size:13px;letter-spacing:.06em}.location small{display:flex;align-items:center;gap:4px;color:#656e50;font-size:8.5px;font-weight:680;line-height:1.1;font-variant-numeric:tabular-nums}.location small svg{color:#a57848}.location>svg{opacity:.7}.cross{position:absolute;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);opacity:.9;filter:drop-shadow(0 1px 2px #2d3b27)}.cross i{position:absolute;background:#fff8dd;border-radius:1px}.cross i:first-child{height:2px;width:14px;left:1px;top:7px}.cross i:last-child{height:14px;width:2px;left:7px;top:1px}.dialog-open .cross,.dialog-open .target-prompt,.dialog-open .mine-meter{visibility:hidden}.mine-meter,.target-prompt{position:absolute;left:50%;top:calc(50% + 30px);transform:translate(-50%);border-radius:5px}.target-prompt{background:#293a2ce0;color:#fcf1ce;font-size:11px;padding:3px 8px;border:1px solid #fff1bc3d;white-space:nowrap}.mine-meter{top:calc(50% + 17px);width:70px;height:4px;border-radius:9px;background:#293a2cc9;overflow:hidden;box-shadow:0 1px 2px #252c2680}.mine-meter span{display:block;height:100%;background:#f5d47a}.legend{position:absolute;bottom:max(var(--bottom),env(safe-area-inset-bottom));left:max(var(--edge),env(safe-area-inset-left));min-width:175px;padding:9px 10px 10px;border:1px solid #eee3b64d;border-radius:11px;background:linear-gradient(135deg,#273b2ce6,#283c2ad8);box-shadow:0 5px 14px -8px #263527f5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#f5eed1}.legend-title{display:flex;align-items:center;padding:1px 0 7px;width:100%;gap:6px;background:none;border:0;border-bottom:1px solid #f2e3af36;text-align:left;color:#f5e8bd}.legend-title b{font-size:10px;letter-spacing:.09em}.legend-title small{margin-left:auto;color:#d6d0a4;font:750 7px/1 system-ui,sans-serif;letter-spacing:.12em}.legend-title>svg:first-child{color:#f0d07c}.legend-title>svg:last-child{opacity:.66}.legend-title:hover{color:#fff}.legend-row{display:flex;align-items:center;gap:4px;margin-top:6px;white-space:nowrap;font-size:9px;color:#eee4c2;font-weight:580}.legend-row span{margin-left:3px}.legend-row>i{width:1px;height:10px;background:#ded4a23d;display:inline-block;margin:0 3px}.legend kbd,kbd{font:650 9px/1.1 system-ui,sans-serif;border:1px solid #e2ddab55;background:#f2e5b723;min-width:16px;padding:3px 4px;border-radius:4px;text-align:center;color:#fff1c4}.mouse-row span{margin-left:0;display:flex;gap:5px;align-items:center}.mouse{position:relative;width:8px;height:12px;border:1px solid #e9deb18c;border-radius:4px}.mouse:before{content:"";position:absolute;top:1px;width:2px;height:3px;border-radius:1px;background:#efd081}.mouse.left:before{left:1px}.mouse.right:before{right:1px}.dock{position:absolute;bottom:max(var(--bottom),env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:grid;justify-items:center;gap:5px}.equipment{display:flex;align-items:center;gap:8px;font-size:11px;color:#fff4d2;letter-spacing:.14em;text-shadow:0 2px 4px #273226;font-weight:760;margin-bottom:1px}.equipment i{width:17px;height:1px;background:linear-gradient(90deg,transparent,#f4e8b9bb)}.equipment i:last-child{transform:scaleX(-1)}.status-line{width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 5px;gap:7px}.stat{display:flex;gap:1px;line-height:0;filter:drop-shadow(0 1.5px 0 #3b3328b0);min-width:0}.stat span{display:grid;place-items:center;transition:opacity .16s}.stat.health{color:#ed775f}.stat.stamina{color:#f0bf59}.stat.stamina span{margin-left:1px}.star{display:flex;align-items:center;justify-content:center;gap:4px;min-width:42px;height:22px;padding:0 5px;border-radius:6px;background:#38432dcf;border:1px solid #f4dda75e;color:#f0c974;box-shadow:0 2px 7px #26362740;font:800 11px/1 system-ui,sans-serif}.xp-bar{height:3px;background:#eee4b744;border:1px solid #d7dab24f;border-radius:4px;width:calc(100% - 10px);overflow:hidden;box-shadow:0 1px 3px #24362375}.xp-bar span{display:block;height:100%;border-radius:3px;background:#c2e57c;box-shadow:0 0 5px #e5f194;transition:width .25s}.hotbar{display:flex;align-items:center;gap:6px;padding:5px;border-radius:12px;background:#323f2acf;border:1px solid #f4e8b85c;box-shadow:0 4px #1d2d29a3,0 7px 22px -5px #172c21a3,inset 0 1px #fef5ce30;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#slots,.inventory-slots{display:flex;gap:4px}.slot{position:relative;display:grid;place-items:center;width:var(--cell);height:var(--cell);padding:4px;background:linear-gradient(155deg,#5d684ac7,#454c38cf);border:1px solid #e5dbad55;border-radius:7px;box-shadow:inset 0 1px #f7e8ae26,inset 0 -3px #202a2365;color:#f8ebbf;isolation:isolate}.slot:hover:not(.selected){background:#6e7955}.slot.selected{background:linear-gradient(155deg,#a39660,#77694a);border:2px solid #ffe5a0;padding:3px;box-shadow:0 0 0 1px #ffe6a451,0 1px 7px #fada8060,inset 0 -3px #574d3c78}.slot.selected:before{content:"";position:absolute;width:6px;height:4px;top:-4px;left:calc(50% - 3px);background:#ffe5a0;border-radius:2px 2px 0 0}.slot-key,.count{position:absolute;font:760 9px/1 system-ui,sans-serif;color:#f9edcd;text-shadow:0 1px 2px #283027;z-index:1}.slot-key{top:5px;left:5px;color:#dbd6ad}.count{bottom:4px;right:4px;min-width:9px;text-align:right;font-size:10px}.item-drawing{width:100%;height:100%;max-width:46px;max-height:46px;pointer-events:none;filter:drop-shadow(0 2px 1px #2d382b67)}.slot.empty-item .item-drawing{opacity:.34}.bag-button{border-color:#e9d39c90;background:linear-gradient(145deg,#d8bd79,#b2945d);color:#4f4f37;box-shadow:inset 0 1px #f7dfaaab,inset 0 -3px #8b754d86;margin-left:1px}.bag-button:hover:not(.selected){background:#e1c888}.bag-button .slot-key{color:#605132;text-shadow:none}.bag-button small{position:absolute;bottom:3px;font-size:7.5px;letter-spacing:.05em;font-weight:850;color:#463e2e}.bag-button>svg{margin-top:-4px}.air{display:flex;gap:5px;align-items:center;color:#c6f4ec}.air div{height:5px;width:88px;border:1px solid #def6ee82;background:#192e35;border-radius:5px;overflow:hidden}.air span{display:block;height:100%;background:#a0e7e3}.save{position:absolute;right:max(var(--edge),env(safe-area-inset-right));bottom:max(var(--bottom),env(safe-area-inset-bottom));display:flex;align-items:center;gap:6px;padding:5px 7px;color:#f5e7bf;background:#343d2c99;border:1px solid #dfe7b134;border-radius:6px;font-size:8px;letter-spacing:.09em}.save span{width:5px;height:5px;background:#bed681;border-radius:50%;box-shadow:0 0 5px #b3de8e}.toast{position:absolute;z-index:4;top:75px;left:50%;transform:translate(-50%,-7px);border:1px solid #f9efd2;background:linear-gradient(110deg,#fff4d8,#f4e9c4);color:#404a32;box-shadow:0 4px 12px #2c432e64;border-radius:10px;min-width:150px;max-width:min(360px,70vw);display:flex;align-items:center;padding:8px 12px;gap:9px;opacity:0;transition:opacity .17s,transform .17s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%)}.toast>span{display:grid;place-items:center;width:26px;height:26px;background:#d5ad56;color:#ffdb7f;border-radius:7px;flex-shrink:0}.toast b,.toast small{display:block}.toast b{font-size:12px;font-weight:850;letter-spacing:.035em}.toast small{font-size:10px;margin-top:2px;color:#616c4d}.touch{display:none}.touch-on .touch{display:block}.touch-on .legend,.touch-on .save{display:none}#joystick,.touch-btn{position:absolute;touch-action:none;background:#2d4a3a6e;border:1px solid #fff2bd9c;box-shadow:inset 0 0 0 2px #344e3e26,0 2px 7px #314d39c2;color:#fff1cb;border-radius:50%}#joystick{width:86px;height:86px;display:grid;place-items:center;bottom:max(108px,calc(env(safe-area-inset-bottom) + 95px));left:max(22px,env(safe-area-inset-left))}#joystick b{position:absolute;width:67%;height:67%;border:1px dashed #f4edc272;border-radius:50%}#joystick>span{width:42%;height:42%;border-radius:50%;background:#f7eac780;border:1px solid #fff2bdc9;box-shadow:0 2px 5px #344f3e;transform:translate(var(--joy-x,0),var(--joy-y,0))}#joystick>i{position:absolute;top:6px;width:5px;height:5px;border:1px solid #f5e8ba;border-width:1px 0 0 1px;transform:rotate(45deg)}.touch-btn{width:52px;height:52px;display:grid;place-content:center;justify-items:center;gap:1px}.touch-btn>svg{width:20px;height:20px}.touch-btn small{font-size:8px;line-height:1.2;font-weight:780;text-shadow:0 1px 3px #233329}#touch-jump{right:max(20px,env(safe-area-inset-right));bottom:max(103px,calc(env(safe-area-inset-bottom) + 92px))}#touch-use{right:max(20px,env(safe-area-inset-right));bottom:max(165px,calc(env(safe-area-inset-bottom) + 154px))}#touch-mine{right:max(79px,calc(env(safe-area-inset-right) + 59px));bottom:max(129px,calc(env(safe-area-inset-bottom) + 118px))}.modal-layer{position:absolute;z-index:3;inset:0;display:grid;place-items:center;padding:18px;pointer-events:auto;background:#1c322aa8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{display:flex;flex-direction:column;width:min(100%,540px);max-height:min(90dvh,740px);overflow:auto;color:#414b32;border-radius:17px;background:#faf3df;border:1px solid #fff7df;box-shadow:0 16px 55px #1428209e,0 5px #a58e62,inset 0 2px #fff8e6;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}.modal-head{display:flex;align-items:center;gap:11px;padding:15px 18px;border-bottom:1px solid #dccda7;background:linear-gradient(118deg,#f4edd0,#f8eccb);position:sticky;top:0;z-index:1}.modal-glyph{display:grid;place-items:center;width:43px;height:43px;background:#e4e6be;color:#688054;border:1px solid #ccd1a5;border-radius:10px;flex-shrink:0}.modal-head small{font:760 9px/1.1 system-ui,sans-serif;letter-spacing:.13em;color:#748057;display:block;margin-bottom:4px}.modal h1{font-size:23px;font-weight:870;letter-spacing:.07em;line-height:1.15;margin:0}.close-btn{display:grid;place-items:center;width:34px;height:34px;background:#ede6c9;border:1px solid #d8c9a0;border-radius:8px;margin-left:auto;color:#59634b}.close-btn:hover{background:#e6d9b1}.modal-body{padding:14px 18px}.modal-body p{margin:4px 0;font-size:13px;line-height:1.7;color:#637052}.modal-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 18px 15px;border-top:1px solid #e1d6b2;background:#f6edcf}.modal-foot>small{color:#667350;font:700 11px/1.4 system-ui,sans-serif;letter-spacing:.1em}.plain-btn,.primary-btn{display:inline-flex;justify-content:center;align-items:center;gap:5px;padding:7px 11px;border-radius:7px;border:1px solid #d6c9a2;background:#fdf6df;color:#4d583e;font-size:12px;font-weight:780;white-space:nowrap;box-shadow:0 1px 1px #7c774720}.plain-btn:hover:not(:disabled){background:#efe4c4}.plain-btn:disabled{opacity:.45}.primary-btn{border-color:#536c43;background:#657f4c;color:#fff4d4;box-shadow:inset 0 1px #e0eab34d,0 2px #455d3b}.primary-btn:hover{background:#768c56}.danger-link{color:#996250}.danger-btn{background:#a46152;border-color:#8e5144;box-shadow:inset 0 1px #f6c6a04d,0 2px #884a3f}.danger-btn:hover{background:#b36b5b}.mode-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}.mode-choice{display:flex;text-align:left;align-items:center;gap:8px;border:1px solid #ded0ad;border-radius:9px;background:#f2ead1;padding:9px;color:#5e694d}.mode-choice.active{background:#e4e9c7;border-color:#a1b47f;box-shadow:inset 0 0 0 1px #a6b68461}.mode-choice b,.mode-choice small{display:block}.mode-choice b{font-size:13px}.mode-choice small{font-size:9px;margin-top:2px}.setting-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e7dbb8;padding:9px 0;color:#556248;font-size:12px;font-weight:700}.setting-row label{margin-right:auto}.setting-row input{accent-color:#70874f}.setting-row input[type=range]{width:min(40%,135px)}.setting-row span{font:730 11px system-ui,sans-serif;min-width:37px;text-align:right}.menu-actions{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.modal-body p.disclaimer{font-size:10px;margin-top:13px}.guide-block+.guide-block{margin-top:12px}.guide-block h2{margin:0 0 5px;font-size:14px;letter-spacing:.05em}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.guide-grid div{display:flex;align-items:center;gap:4px;justify-content:space-between;padding:4px;border-bottom:1px solid #e7dab9;color:#59684c;font-size:10px}.guide-grid kbd{background:#eae4c5;color:#536247;border-color:#dbd0a9;font-size:9px}.modal-map{width:min(100%,540px)}.large-map{position:relative;overflow:hidden;border-radius:11px;border:1px solid #9ca27a;background:#828d61}.large-map canvas{display:block;width:100%;height:auto;max-height:54dvh;object-fit:cover}.large-n{position:absolute;top:8px;right:9px;font:840 10px/1.2 system-ui,sans-serif;text-align:center;color:#fbefc5;background:#3e5139ab;border:1px solid #f5e9b88f;padding:4px;border-radius:5px}.map-key{display:flex;justify-content:center;gap:16px;margin-top:8px;font-size:10px;color:#5d694d;font-weight:680}.map-key span{display:flex;align-items:center;gap:4px}.map-key i{display:block;width:7px;height:7px;transform:rotate(45deg);border:1px solid #806145;background:#f6e0a0}.map-key span:nth-child(2) i{background:#c48763}.map-key span:nth-child(3) i{background:#b5cb78}.modal-inventory{width:min(100%,624px)}.inventory-tabs{display:flex;gap:5px;margin-bottom:7px;border-bottom:1px solid #dfd4b1}.inventory-tabs button,.filters button{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 12px;border:1px solid transparent;border-radius:7px 7px 0 0;background:transparent;font-size:12px;font-weight:780;color:#646e53}.inventory-tabs button.active{background:#e6e9ca;border-color:#c7cf9e;color:#465b3c}.inventory-tools{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#687555;margin-bottom:7px;gap:5px}.filters{display:flex;gap:2px;flex-wrap:wrap}.filters button{border-radius:5px;font-size:10px;padding:3px 6px}.filters button.active{background:#eee4c3;border-color:#ded1a8}.inventory-layout{display:grid;grid-template-columns:1fr 146px;gap:9px}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(43px,1fr));align-content:start;gap:4px;border:1px solid #ded4b0;border-radius:8px;background:#eee8ce;padding:6px;max-height:280px;min-height:144px;overflow:auto}.item-cell{aspect-ratio:1;max-height:63px;min-width:0;display:grid;place-items:center;position:relative;padding:2px;border:1px solid #d5c7a1;border-radius:6px;background:#f7efd3;color:#546043;box-shadow:inset 0 -2px #b7a67b38}.item-cell:hover,.item-cell.selected{border-color:#9aa86e;background:#e7e9c3}.item-cell span{position:absolute;right:3px;bottom:2px;font:750 9px system-ui,sans-serif}.item-detail{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;background:#f4eacb;padding:9px;border:1px solid #ded4b0;border-radius:8px;color:#627254}.item-detail b{font-size:13px;color:#425439}.item-detail p{font-size:10px;line-height:1.5}.item-detail .plain-btn{padding:4px 6px;font-size:10px}.item-detail .item-drawing{width:45px;height:45px}.bag-empty{grid-column:1/-1;font-size:11px;color:#6a7455;padding:7px}.recipe-list{display:grid;gap:4px;max-height:300px;overflow:auto}.recipe{display:grid;grid-template-columns:minmax(118px,1fr) 1.2fr auto;align-items:center;gap:7px;background:#f5ebcc;border:1px solid #e4d8b0;border-radius:6px;padding:3px 6px;font-size:11px}.recipe>div{display:flex;align-items:center;gap:4px}.recipe .item-drawing{width:30px;height:30px;flex-shrink:0}.recipe>span{color:#687458;font-size:10px}.recipe .plain-btn{font-size:10px;padding:4px 7px}.modal-body .inventory-hint{font-size:11px;margin-bottom:7px}.inventory-foot{align-items:center;justify-content:flex-start;gap:8px}.inventory-foot .slot{height:43px;width:43px}#load{position:absolute;inset:0;z-index:7;pointer-events:auto;display:grid;place-content:center;justify-items:center;gap:9px;color:#f7ebc9;background:radial-gradient(ellipse at 50% 38%,#648355,#293e32 70%);transition:opacity .24s;text-align:center}#load img{width:73px;filter:drop-shadow(0 6px 5px #203629)}#load strong{font-size:30px;letter-spacing:.16em;font-weight:890}#load span{font-size:12px;letter-spacing:.07em;max-width:270px;line-height:1.65}#load i{width:125px;height:5px;background:#fff1be4d;border-radius:8px;overflow:hidden;margin-top:6px}#load i:before{content:"";display:block;height:100%;width:45%;border-radius:8px;background:#f0cc78;animation:loading 1.4s infinite ease-in-out}#load.done{opacity:0;pointer-events:none}#load.failed i{display:none}@keyframes loading{0%{transform:translate(-100%)}to{transform:translate(260%)}}@media(max-width:850px){:root{--edge:18px;--bottom:17px;--cell:47px}.legend{min-width:145px}.legend-title small{display:none}.legend-title>svg:last-child{margin-left:auto}.compass{width:194px}}@media(max-width:690px){:root{--edge:14px;--bottom:14px;--cell:clamp(30px,9.1vw,44px)}.legend,.save{display:none}.brand{top:max(14px,env(safe-area-inset-top));height:53px;padding:6px 11px 6px 7px;gap:7px;border-radius:10px}.brand-mark{width:33px;height:33px;border-radius:7px}.brand img{width:27px;height:27px}.brand strong{font-size:19px}.brand small{font-size:6.2px;gap:3px;letter-spacing:.08em}.brand-flourish{font-size:11px;margin-left:1px}.mode-tag{top:max(75px,calc(env(safe-area-inset-top) + 61px));height:23px;font-size:9px;gap:5px;padding:0 7px}.mode-tag small{font-size:7px}.journal{top:max(106px,calc(env(safe-area-inset-top) + 92px));width:166px;border-radius:9px}.journal-head{padding:6px 7px;gap:5px}.journal-icon{width:23px;height:23px}.journal-icon svg{width:14px;height:14px}.journal-heading{font-size:11px}.journal-heading small{font-size:6.2px}#journal-no{font-size:7px}.journal-body{padding:6px 8px 8px 9px}.journal-body>b{font-size:12px;margin-bottom:4px}.quest-kicker,.objective,.journal-body p{font-size:8px}.objective strong{font-size:9px}.quest-progress{margin:5px 0}.compass{display:none}.navigation{top:max(14px,env(safe-area-inset-top));width:106px;gap:6px}.nav-control{transform:translate(-95px);height:29px;width:30px;border-radius:7px}.nav-control svg{width:16px;height:16px}.minimap{width:80px;height:80px;padding:3px;margin-right:1px}.minimap:after{inset:4px}.map-n{font-size:8px;width:13px;line-height:13px;top:-6px}.map-line{width:4px}.map-line.south{height:4px;bottom:2px}.location{width:100%;gap:4px;padding:5px;border-radius:7px}.location-pin{width:21px;height:21px;border-radius:5px}.location-pin svg{width:13px;height:13px}.location-copy{gap:3px}.location b{font-size:9px}.location small{font-size:7px;gap:2px}.location>svg,.location small>svg{width:9px;height:9px}.equipment{font-size:9px}.status-line{padding:0 3px;gap:3px}.stat svg{width:clamp(9px,3.55vw,15px);height:clamp(9px,3.55vw,15px)}.stat{gap:0}.stat.stamina span{margin-left:0}.star{min-width:30px;height:17px;font-size:9px;gap:2px}.star svg{width:12px;height:12px}.hotbar{gap:3px;padding:3px;border-radius:8px}#slots,.inventory-slots{gap:2px}.slot{border-radius:5px;padding:2px}.slot.selected{padding:1px}.slot-key{font-size:7px;top:3px;left:3px}.count{font-size:8px;bottom:3px;right:3px}.bag-button svg{width:19px;height:19px}.bag-button small{font-size:6px}.toast{top:58px}.inventory-foot .slot{width:clamp(25px,7.7vw,43px);height:clamp(25px,7.7vw,43px)}}@media(max-height:500px)and (min-width:520px){:root{--bottom:10px;--cell:37px}.brand{top:10px;height:46px;padding:4px 8px;gap:6px}.brand-mark{width:30px;height:30px}.brand img{width:24px;height:24px}.brand strong{font-size:16px}.brand small{font-size:6px}.mode-tag{top:62px;height:22px}.journal{top:90px;width:159px}.journal-head{padding:5px 7px}.journal-body{padding:6px 8px}.journal-body>b{font-size:12px;margin-bottom:4px}.journal-body p{display:none}.quest-kicker,.objective{font-size:8px}.journal-icon{width:22px;height:22px}.navigation{top:10px;width:102px}.minimap{width:80px;height:80px}.nav-control{width:30px;height:30px;transform:translate(-94px)}.location{width:100%;padding:4px 5px;gap:3px}.location b{font-size:9px}.location-pin{width:20px;height:20px}.location-pin svg{width:13px}.location small{font-size:7px}.toast{top:46px}.modal-layer{padding:10px}#joystick{bottom:24px;width:73px;height:73px}#touch-jump{bottom:24px}#touch-mine{bottom:50px}#touch-use{bottom:84px}.modal{max-height:94dvh}}@media(max-width:430px){.modal-layer{padding:9px}.modal-head{padding:12px}.modal-body,.modal-foot{padding:10px 12px}.inventory-layout{grid-template-columns:1fr 110px;gap:5px}.item-grid{grid-template-columns:repeat(auto-fill,minmax(35px,1fr));min-height:128px}.item-detail{padding:6px}.recipe{grid-template-columns:minmax(89px,1fr) 1fr auto;gap:3px}.recipe>div{gap:3px}.recipe>span{font-size:9px}.inventory-foot>small{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important}}#touch-descend{right:max(83px,calc(env(safe-area-inset-right) + 63px));bottom:max(73px,calc(env(safe-area-inset-bottom) + 57px));width:43px;height:43px}@media(max-height:500px)and (min-width:520px){#touch-descend{bottom:5px;right:82px}}
