:root{color-scheme:dark;--gold: #e2c38c;--ink: #101b19;--paper: #f8f1dc;--line: #ece5ca43;font-family:Segoe UI,Microsoft YaHei UI,sans-serif;color:var(--paper);background:#172821}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #f4d8a2;outline-offset:3px}button:disabled{opacity:.48;cursor:default}button{border:0;background:none}button:hover{color:#fff4d2}[hidden]{display:none!important}#stage,#atlas,.shade,#world,#backdrop,#hud,#hitflash{position:absolute;inset:0;width:100%;height:100%}#world{display:block;outline:none;touch-action:none}#backdrop{background-size:cover;background-position:center}#atlas{padding:0 clamp(24px,5.3vw,100px);display:flex;flex-direction:column;isolation:isolate}.shade{z-index:-1;background:linear-gradient(90deg,rgba(12,24,22,.85),rgba(13,23,23,.64) 23%,rgba(14,23,23,.13) 62%,transparent),linear-gradient(0deg,#101a18f5,rgba(12,22,19,.65) 15%,transparent 42%,transparent 80%,#11201d78)}.mast{height:clamp(64px,9.4vh,100px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-family:STSong,SimSun,serif;font-size:23px;letter-spacing:.17em;font-weight:700}.brand img{height:39px}.brand small{display:block;font-family:Georgia,serif;font-size:8px;letter-spacing:.25em;font-weight:400;margin-top:3px;color:var(--gold)}.tools{display:flex;align-items:center;gap:clamp(12px,2.3vw,36px);height:100%;font-size:13px}.nav{height:100%;letter-spacing:.13em;position:relative}.nav.active:after{content:"";position:absolute;bottom:-1px;left:8%;right:8%;height:2px;background:var(--gold)}.icon{border:1px solid var(--line);border-radius:50%;width:34px;height:34px;font-size:20px;line-height:1}.place{margin:auto 0;max-width:545px;text-shadow:0 2px 18px #14231d8a}.folio,.chapter,.shelfHead,.edgeInfo,.hudPlace small,.dialogTop small{font-size:10px;letter-spacing:.23em;color:var(--gold)}.folio,.shelfHead{display:flex;align-items:center;gap:12px}.folio i{width:32px;height:1px;background:var(--gold)}.folio span{opacity:.5}.chapter{margin:clamp(18px,4.4vh,52px) 0 8px;letter-spacing:.29em}.place h1{font-family:STSong,Songti SC,SimSun,serif;line-height:1.12;font-size:clamp(56px,6.8vw,108px);letter-spacing:.09em;margin:0;font-weight:600}.english{font:italic clamp(19px,2.1vw,35px) Georgia,serif;color:#ead9b7;margin:5px 0 0;letter-spacing:.045em}.desc{font-size:clamp(13px,1.1vw,17px);line-height:1.95;color:#edeedecf;max-width:35ch;margin:clamp(13px,2.8vh,32px) 0 8px}.meta{display:flex;align-items:center;gap:9px;font-size:12px}.meta span,.meta b{color:#bcbca8;font-weight:400}.meta strong{font-weight:500}.enterrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px clamp(12px,2vw,24px);margin-top:clamp(16px,3vh,35px)}.primary{background:#e4c58f;color:#24271e;border:1px solid #f3d7a3;padding:12px 23px;font-weight:600;font-size:14px;letter-spacing:.1em;box-shadow:0 3px 16px #1113}.primary:hover{background:#f3daa9;color:#182019}.primary span{margin-left:23px}.quiet{font-size:13px;padding:8px 0;display:flex;gap:9px;align-items:center}.round{font-size:23px;color:var(--gold)}.atlasBottom{padding-bottom:clamp(18px,4.4vh,50px)}.shelfHead{letter-spacing:.16em;color:#e8e3cf;margin-bottom:12px}.shelfHead em{height:1px;background:var(--line);flex:1}.shelfHead small{font:10px Georgia,serif;color:#d8c9a9;letter-spacing:.17em}#regions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.region{isolation:isolate;position:relative;overflow:hidden;text-align:left;min-height:78px;height:clamp(83px,13vh,150px);border:1px solid #aeb6a653;padding:9px 15px 12px;display:flex;flex-direction:column;justify-content:flex-end;background:#2b3930;transition:border-color .18s}.region:before,.region:after{content:"";position:absolute;inset:0;z-index:-1}.region:before{background-image:var(--img);background-size:cover;background-position:center 48%;opacity:.83;transition:transform .4s}.region:after{background:linear-gradient(0deg,#101c19ec,transparent 105%)}.region:hover:before{transform:scale(1.04)}.region.selected{border-color:var(--gold);box-shadow:inset 0 0 0 1px #f4d19877}.region small{position:absolute;right:11px;top:8px;font:italic 12px Georgia,serif;color:#ffebc6}.region strong{font:600 clamp(16px,1.5vw,24px) "SimSun",serif;letter-spacing:.11em}.region em{font:italic 12px Georgia,serif;color:#d5d1bf;margin-top:2px}.edgeInfo{position:absolute;bottom:calc(100% - 9.4vh - 30px);right:5.3vw;color:#eee7cead;text-shadow:0 1px 4px #1119;pointer-events:none}#surveyHud{position:absolute;bottom:28px;left:50%;transform:translate(-50%);display:flex;gap:20px;align-items:center;white-space:nowrap}#surveyHud>span,.glass{font-size:13px;background:#17231ed9;padding:11px 16px;border:1px solid var(--line)}#hud{pointer-events:none;text-shadow:0 1px 5px #000,0 1px 15px #16271d}.compass,.hudPlace,.track,.vitals,#hotbar,.hudMenu,#prompt,#feedback{position:absolute}.compass{top:3%;left:50%;transform:translate(-50%);display:flex;gap:18px;align-items:center;border-bottom:1px solid #fcf5d273;padding:0 13px 7px;font-family:Georgia,serif}.compass small{opacity:.7}.compass strong{font-size:14px;color:#ffebbe}.hudPlace{left:3%;top:3%;display:grid;gap:5px}.hudPlace strong{font:600 24px SimSun,serif;letter-spacing:.14em}.hudPlace span,.vitals span{font:12px Georgia,Microsoft YaHei UI,serif}.track{right:3%;top:5%;max-width:25%;text-align:right;font-size:13px;color:#efe6ca}.track b{display:block;color:var(--gold);margin-bottom:5px}.vitals{bottom:5%;left:3%;width:clamp(106px,18vw,224px)}.vitals small{font-weight:650}.health,.energy{height:6px;background:#25312de8;margin:7px 0 4px;border:1px solid #ece0bd71}.energy{height:4px;margin-top:0}.health i,.energy i{display:block;width:100%;height:100%;background:#aa6958}.energy i{background:#d2b574}#hotbar{left:50%;transform:translate(-50%);bottom:4%;display:flex;gap:4px}.ability{min-width:49px;text-align:center;background:#182720ae;border:1px solid #d9cba870;padding:5px 7px;border-radius:2px;font-size:11px}.ability b{display:block;color:var(--gold);font:600 14px Georgia,serif}.hudMenu{right:3%;bottom:5%;display:flex;gap:6px;pointer-events:auto}.hudMenu button,.glass{background:#15241fd4;border:1px solid var(--line);padding:6px 9px;font-size:12px}#reticle{position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#f9f7db;box-shadow:0 0 2px 1px #171d19;transform:translate(-50%,-50%)}#prompt,#feedback{left:50%;transform:translate(-50%);text-align:center;width:max-content;max-width:78%;font-size:14px}#prompt{top:59%;color:#fbe2b2}#feedback{bottom:19%;line-height:1.65;background:#101d198a;padding:3px 12px;border-radius:2px}#feedback:empty{display:none}#hitflash{background:radial-gradient(ellipse,transparent 40%,#9d2e28a8);opacity:0}#loading{position:absolute;top:15px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;background:#14231eeb;border:1px solid var(--line);padding:10px 17px;font-size:13px;z-index:6}#loading i{width:12px;height:12px;border:1px solid #999;border-top-color:var(--gold);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#dialog{position:absolute;inset:0;display:grid;place-items:center;background:#081410a1;backdrop-filter:blur(6px);z-index:5;padding:16px}#dialog section{width:min(580px,100%);max-height:89dvh;overflow:auto;padding:23px 27px 27px;background:linear-gradient(135deg,#24342e,#17251f);border:1px solid #b99d6970;box-shadow:0 12px 70px #060e0a6b}.dialogTop{display:flex;align-items:center;justify-content:space-between}#dialog h2{font:600 30px SimSun,serif;letter-spacing:.11em;margin:8px 0 18px}#dialogBody{font-size:14px;color:#dfdfce;line-height:1.7}#dialogBody p{margin:9px 0}#dialogBody button:not(.icon),#dialogBody select{background:#35433b;border:1px solid #b2a78568;padding:7px 12px;color:#f0e9d6;margin:3px 5px 3px 0;text-align:left}#dialogBody button.chosen{border-color:var(--gold);color:var(--gold)}#dialogBody input{padding:8px;background:#16231e;color:var(--paper);max-width:100%;border:1px solid var(--line)}#dialogBody h3{font-size:15px;color:var(--gold);margin:17px 0 5px}.roleCard{display:block;width:100%;min-height:77px}.roleCard img{float:left;width:63px;height:70px;object-fit:contain;margin:-5px 12px -4px -4px}.roleCard small{display:block;color:#bfc9b7}.mapImg{width:100%;height:200px;object-fit:contain;background:#17291f}.muted{color:#b9c2b1;font-size:12px}@media(max-width:700px){#atlas{padding:0 16px}.brand{font-size:18px;gap:7px}.brand img{height:31px}.tools{gap:9px}.region{padding:6px;min-height:63px;height:8vh}.region em,.edgeInfo,.track,.hudMenu{display:none}.region strong{font-size:16px}#regions{gap:5px}.shelfHead{margin-bottom:6px}.atlasBottom{padding-bottom:15px}.place h1{font-size:55px}.place{max-width:90%}.desc{font-size:13px}.vitals{bottom:14%}#hotbar{bottom:3%}#surveyHud{gap:6px}.chapter{margin-top:16px}#dialog section{padding:15px}.hudPlace strong{font-size:19px}}@media(max-height:590px){.mast{height:45px}.chapter,.meta,.edgeInfo{display:none}.place h1{font-size:48px}.desc,.enterrow{margin:6px 0}.region{height:55px;min-height:55px}.atlasBottom{padding-bottom:9px}.primary{padding:7px 13px}}#touchpad,#touchActions{display:none}@media(pointer:coarse){#touchpad{position:absolute;left:4%;bottom:4%;width:84px;height:84px;display:grid;place-items:center;background:#17251f75;border:1px solid #d4c69888;border-radius:50%;pointer-events:auto;touch-action:none}#touchpad i{width:31px;height:31px;border-radius:50%;background:#e4dabe66;border:1px solid #fcf2d196}#touchActions{position:absolute;right:3%;bottom:5%;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;pointer-events:auto;touch-action:none}#touchActions button{padding:7px 8px;border-radius:4px;background:#19241ebc;border:1px solid #d6ccaa77;font-size:11px}.vitals{bottom:calc(6% + 87px)}#hotbar{pointer-events:auto;bottom:3%}.hudMenu{display:none}}@media(pointer:coarse)and (max-width:530px){#hotbar{bottom:19%;left:auto;right:3%;transform:none}.ability{min-width:34px;padding:3px}.hudPlace{top:6%}}#regions{grid-template-columns:repeat(5,minmax(0,1fr))}#survival{font-size:12px;color:#ece4c9;margin-top:4px}#caption{position:absolute;bottom:25%;left:50%;transform:translate(-50%);font-size:14px;color:#f1ead4;background:#0e1c1ad1;padding:4px 10px;border-left:2px solid #c6ae7c}#caption:empty{display:none}.fullMap{height:auto;max-height:43vh;aspect-ratio:760/460}#dialog section:has(.fullMap){width:min(760px,100%)}#dialog section:has(.expedition){width:min(740px,100%)}@media(max-width:650px){#regions{grid-template-columns:repeat(5,minmax(0,1fr))}.region strong{font-size:14px}.region{padding:5px 3px}#survival{max-width:160px}}#dialog section:has(.bookTabs){width:min(710px,100%)}.bookTabs{display:flex;flex-wrap:wrap;gap:.35rem;border-bottom:1px solid var(--line);padding-bottom:.7rem}#dialogBody .bookTabs button{border-radius:3px;margin:0}.bookRoute{display:grid;grid-template-columns:1fr auto;column-gap:.8rem;align-items:center;margin-top:.8rem;padding:.65rem .85rem;background:#35443c;border-left:3px solid var(--gold)}.bookRoute span{grid-column:1}.bookRoute button{grid-column:2;grid-row:1/3}.bookCards,.bookLocked[open]{margin-top:1rem}.bookCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.7rem}.bookCard{display:flex;flex-direction:column;align-items:flex-start;background:#1a2923;border:1px solid #536254;padding:.8rem 1rem}.bookCard small{color:#d1c4a2}#dialogBody .bookCard h3{margin:.12rem 0 0;color:#f7e9c9;font:600 1.17rem/1.45 SimSun,serif}#dialogBody .bookCard p{margin:.35rem 0 .7rem;flex:1}#dialogBody .bookCard button{margin:.55rem 0 0}.bookLocked summary{cursor:pointer;color:#d5ccba;padding:.6rem 0}.bookLocked .bookCard{margin:.35rem 0}.evidenceReply{color:#f1d295;min-height:1.6em}.routeBearing i{display:inline-block;font:700 1rem sans-serif;color:var(--gold);margin-right:.5rem}.skillLegend{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.skillLegend>div{display:grid;grid-template-columns:2.4rem 1fr;grid-template-rows:auto 1fr;column-gap:.55rem;padding:.45rem;background:#1a2923;align-content:start}.skillLegend svg{grid-row:span 2;width:2.4rem;height:2.4rem}.skillLegend span{font-size:.85rem;color:#e0ddcb}#hotbar{pointer-events:auto;gap:.32rem}.ability{position:relative;display:grid;justify-items:center;align-content:end;width:3.75rem;padding:.2rem .2rem .25rem;border-radius:4px;background:linear-gradient(160deg,#273a33f0,#15241ff5);border-color:var(--skill-ink)}.ability svg{width:2.4rem;height:2.4rem;display:block}.ability b{position:absolute;top:.13rem;left:.26rem;color:#fff0c8;font:600 .78rem Georgia,serif;z-index:1}.skillName{color:#fff2db;font-size:.78rem;line-height:1.25;white-space:nowrap}.skillState{position:absolute;top:.9rem;color:#fff;background:#152620e8;border-radius:2px;padding:0 .16em;font:700 .76rem/1.4 sans-serif}.skillState:empty{display:none}.ability.cooling svg{opacity:.52}.ability.primed{box-shadow:inset 0 0 0 1px #ffe49e,0 0 8px #ffdb7866}@media(max-width:600px){.skillLegend{grid-template-columns:1fr}.ability{width:2.8rem;min-width:0}.ability svg{width:1.9rem;height:1.9rem}.bookRoute{display:flex;flex-direction:column;align-items:flex-start}}.exp-pack{color:#ece8d6;min-width:0;font-variant-numeric:tabular-nums}#dialog section:has(.exp-pack){width:min(850px,100%)}.exp-inventory{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(175px,.85fr);gap:18px;align-items:start;padding:5px 0}.exp-collection,.exp-inspect{min-width:0}.exp-pack .exp-list:has(.exp-inventory){max-height:min(58vh,565px)}.exp-slots,.exp-grid{display:grid;gap:5px}.exp-slots{grid-template-columns:repeat(5,minmax(0,1fr))}.exp-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}:is(#dialogBody,.exp-pack) .exp-pack .exp-cell,.exp-pack button.exp-cell{display:flex;flex-direction:column;align-items:center;justify-content:end;position:relative;min-width:0;margin:0;padding:6px 2px 5px;border:1px solid #78816a79;border-radius:3px;color:#e8e3c7;text-align:center;background:radial-gradient(ellipse at 42% 33%,#46554a,#2e3e36 70%);overflow:hidden;cursor:pointer}:is(#dialogBody,.exp-pack) .exp-pack .exp-cell[aria-pressed=true],.exp-pack button.exp-cell[aria-pressed=true]{border-color:#ddbe81;box-shadow:inset 0 -2px #d6b87988;background:radial-gradient(ellipse at 42% 38%,#706942,#434837 72%)}.exp-cell:hover{filter:brightness(1.12)}.exp-cell img{display:block;height:45px;width:100%;max-width:64px;object-fit:contain}.exp-cell .exp-cell-name{font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap;padding:0 2px}.exp-cell .exp-count,.exp-cell .exp-pin{position:absolute;top:3px;right:4px;padding:0 3px;border-radius:2px;background:#202b24c9;color:#eadfbc;font:600 10px/1.4 sans-serif}.exp-cell .exp-pin{right:auto;left:3px;color:#b9d2a2}.exp-cell.exp-slot img{height:33px}.exp-cell.exp-slot>small{color:#bdbb9f;font-size:10px;line-height:1.4}.exp-cell.exp-vacant img,.exp-inspect .exp-ghost{filter:grayscale(1);opacity:.35}.exp-collection h3{margin:8px 0 5px!important;font-size:12px!important;letter-spacing:.06em}.exp-empty{color:#c8cab7;font-size:12px;padding:12px;border:1px dashed #8e977459}.exp-inspect{position:sticky;top:2px;background:linear-gradient(156deg,#3b473e,#29382f);border:1px solid #81937855;padding:12px}.exp-illustration{width:100%;height:85px;display:grid;place-items:center;margin-bottom:7px;background:radial-gradient(ellipse at center,#9db38d2b,transparent 72%)}.exp-illustration img{width:80px;height:80px}.exp-kind,.exp-source,.exp-per{display:block;color:#b8c3ad;font-size:11px;line-height:1.55}.exp-kind{color:#d1bb88}.exp-item-title{display:block;font:600 18px/1.5 SimSun,serif;color:#f1e9cb}.exp-facts{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0;font:600 12px/1.5 sans-serif;color:#e1d8b7}.exp-inspect p{font-size:12px;line-height:1.55}.exp-inspect p.exp-effect{color:#d1daae}.exp-pack .exp-detail-actions{margin-top:10px;justify-content:start;max-width:none}.exp-shop-icon{width:43px;height:43px;flex:none;object-fit:contain;background:#9aa58a18;border-radius:3px}.exp-line:has(.exp-shop-icon) .exp-line-text{flex:1}@media(max-width:640px){.exp-inventory{grid-template-columns:minmax(0,1fr);gap:10px}.exp-inspect{position:static;padding:10px;display:flow-root}.exp-inspect .exp-illustration{float:right;width:70px;height:70px;margin:0 0 4px 6px}.exp-inspect .exp-illustration img{width:65px;height:65px}.exp-grid{grid-template-columns:repeat(auto-fill,minmax(66px,1fr))}.exp-grid:has(.exp-cell:nth-child(9)){max-height:200px;overflow-y:auto}.exp-cell img{height:38px}}.exp-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.exp-meter>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px;align-items:baseline}.exp-meter span,.exp-line small{color:#c2c4ae;font-size:.78rem}.exp-meter b{font-size:.83rem;font-weight:600;color:#f1e8c7}.exp-meter progress{display:block;height:3px;width:100%;margin:6px 0 0;border:0;appearance:none;background:#435049;color:#c8b47d}.exp-meter progress::-webkit-progress-bar{background:#435049}.exp-meter progress::-webkit-progress-value{background:#c8b47d}.exp-meter .exp-food::-webkit-progress-value{background:#b5c394}.exp-meter .exp-water::-webkit-progress-value{background:#8bbdbf}.exp-meter progress::-moz-progress-bar{background:currentColor}.exp-stats{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:.76rem;color:#d3cebb;margin:14px 0}.exp-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #73755270}#dialogBody .exp-pack .exp-tabs button{border:0;border-radius:0;background:transparent;color:#bfbda7;padding:8px 12px;margin:0;border-bottom:2px solid transparent}#dialogBody .exp-pack .exp-tabs button[aria-pressed=true]{color:#f5deb0;border-bottom-color:#d7b678;background:#b9a97413}.exp-feedback{font-size:.8rem;margin:8px 0 2px;color:#cedda8}.exp-feedback:empty{margin:0}.exp-rations{display:block;padding-top:10px;color:#b9bdac;font-size:.73rem;line-height:1.5}.exp-ill{color:#eab7a0}.exp-list{max-height:min(47vh,440px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#857b5c transparent}.exp-line{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #bbc8a222;padding:9px 1px}.exp-line-text{display:grid;gap:3px;min-width:0}.exp-line-text b{font-size:.91rem;font-weight:600}.exp-line small{line-height:1.45}.exp-prices{padding:9px 0;font-size:.79rem;color:#c7c8ae}.exp-prices summary{cursor:pointer;color:#e2d6ad}.exp-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px;flex-shrink:0;max-width:52%}.exp-pack .exp-actions button{font-size:.76rem;padding:5px 9px;line-height:1.45;color:#f2e4bd;background:#394335;border:1px solid #a79c6e70;border-radius:3px}.exp-pack .exp-actions button:hover,.exp-pack button:focus-visible{outline:1px solid #e1c486;outline-offset:1px}.exp-pack .exp-actions .exp-minor{background:transparent;color:#c0bcaa}@media(max-width:560px){.exp-summary{gap:7px}.exp-actions{max-width:48%}.exp-line{gap:5px}.exp-stats{gap:4px 10px}}
