:root { color-scheme:light; --paper:#eee4ce; --ink:#302c24; --jade:#304940; --gold:#99672b; --serif:"KaiTi","STKaiti","Songti SC","SimSun",serif; }
*,*::before,*::after{box-sizing:border-box}
html {scroll-behavior:smooth;scrollbar-color:#a4987c #e8dfcd}
body {margin:0;background:#e8dfcd;color:var(--ink);font:15px/1.5 "Microsoft YaHei","PingFang SC",sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
button{border:0;padding:0;color:inherit;background:transparent;font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible{outline:2px solid #9d6c35;outline-offset:2px}
img{display:block}
[hidden]{display:none!important}
.page{max-width:1680px;position:relative;margin-inline:auto}
.page:not(.page-ending){
 --masthead-art-height:calc(38px * var(--page-scale,1));
 --masthead-height:max(48px,var(--masthead-art-height));
 --masthead-offset:calc(var(--masthead-height) - var(--masthead-art-height));
}
.scroll{position:absolute;top:0;left:0;width:809px;height:1942px;transform:scale(var(--page-scale,1));transform-origin:0 0;isolation:isolate;background:url("../assets/ink/page.webp") 0 0/809px 1942px no-repeat}
.scroll-opening{top:var(--masthead-offset);height:1228px}
.scroll-ending{height:442px;background-position:0 -1500px}
.live-exhibit{position:absolute}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.equipment-section{position:absolute;inset:478px 0 auto;height:309px}
.equipment-window{position:absolute;z-index:2;top:calc(var(--equipment-y) + var(--masthead-offset));left:var(--equipment-x);width:var(--equipment-width)}
.equipment{display:flex;align-items:flex-start;gap:9px;width:max-content}
.cluster{position:relative;display:grid;grid-template-columns:repeat(var(--columns,3),var(--slot-size));gap:var(--slot-gap)}
.cluster:nth-child(2){--columns:4}
.equipment-window:not([data-compact]){pointer-events:none}
.equipment-window:not([data-compact]) .cluster{position:absolute;left:var(--cluster-x);top:var(--cluster-y);pointer-events:auto}
.slot{position:relative;width:var(--slot-size);height:var(--slot-size);cursor:default;background:url("../assets/ink/slot.webp") center/100% 100% no-repeat}
.slot img{position:absolute;left:calc((var(--slot-size) - var(--icon-w)) / 2);top:calc((var(--slot-size) - var(--icon-h)) / 2);left:round(down,calc((var(--slot-size) - var(--icon-w)) / 2),1px);top:round(down,calc((var(--slot-size) - var(--icon-h)) / 2),1px);width:auto;height:auto;max-width:none;pointer-events:none}
.slot::after{content:"";position:absolute;inset:0;opacity:0;pointer-events:none;border:1px solid #fff0b8;border-radius:2px;background:radial-gradient(ellipse at 50% 88%,#f4c26664,transparent 69%);box-shadow:inset 0 0 7px 1px #ffd583b8,0 0 0 1px #b6762a,0 0 8px 2px #e8a43ce6,0 0 15px #ffe19cba;transition:opacity .16s ease-out}
.slot:is(:hover,:focus-visible,[data-active]){z-index:1}
.slot:is(:hover,:focus-visible,[data-active])::after{opacity:1}
.slot:focus-visible{outline:2px solid #f8d393;outline-offset:1px}
.equipment-window[data-compact]{padding:5px 6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a48252 #38352a;background:#262f2bf5;border-radius:4px;box-shadow:inset 0 0 0 1px #ad9168,0 3px 10px #26281e45}
.equipment-tooltip{z-index:15;position:fixed;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;background:#29241d;box-shadow:0 5px 20px #1d1716a0}
.equipment-tooltip img{width:auto;height:auto;max-width:none}
.equipment-tooltip[data-touch]{max-height:var(--touch-tooltip-height);overscroll-behavior:contain}
.world{position:absolute;inset:0 0 auto;height:340px}
.world-view{position:absolute;inset:42px 22px auto;width:765px;height:278px;display:grid;place-items:center;overflow:visible}
.world-view img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #48331a50)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.world-view{top:16px;left:94px;width:621px;height:361px}
@media(hover:hover) and (pointer:fine){.equipment-tooltip:not([data-touch]){pointer-events:none}}
.page{overflow:clip}
