@charset "UTF-8";
:root{--ink:#343c33;--muted:#748071;--paper:#f5f3e9;--line:#7a82673b;--accent:#9c523d;--serif:"XieyiDisplay",serif;--text:"XieyiText","XieyiLatin",serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:var(--text);color:var(--ink);background:#dfe5d8;font-size:13px}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,canvas:focus-visible{outline:2px solid #9c523d;outline-offset:5px}button{border:0;background:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#experience{position:relative;width:100%;height:100%;height:100dvh}#world{display:block;width:100%;height:100%;touch-action:none;outline:none;cursor:grab}#world.dragging{cursor:grabbing}.vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#f3f2e69e 0%,transparent 20%,transparent 65%,#f0eee1b5 100%),linear-gradient(90deg,#e9e9dc99,transparent 40%);transition:background 1s}.masthead{position:absolute;top:0;left:0;right:0;height:102px;padding:26px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}.identity{display:flex;gap:13px;text-align:left;align-items:center;padding:0}.seal{background:#9b503e;color:#f9edda;font-family:var(--serif);font-size:17px;line-height:19px;padding:5px 7px;border-radius:3px 1px 3px 1px;box-shadow:inset 0 0 0 2px #d09b8060;transform:rotate(-2deg)}.identity strong{display:block;font-family:var(--serif);font-size:23px;letter-spacing:5px;font-weight:600}.identity small{font-size:8px;letter-spacing:3.6px;display:block;margin-top:7px;color:#697160}.navigation{display:flex;gap:28px;margin-left:70px}.nav-item{padding:10px 0;position:relative;font-size:12px;letter-spacing:2px;color:#72806b;white-space:nowrap}.nav-item.active{color:#35492f}.nav-item.active:after{content:"";position:absolute;width:16px;height:2px;background:#8b6244;left:calc(50% - 8px);bottom:0}.settings{display:flex;align-items:center;gap:15px}.utility{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;padding:8px 0}.utility svg{width:17px;height:17px}.hairline{height:15px;width:1px;background:var(--line)}.icon-button{padding:6px;display:flex}.icon-button svg{width:17px;height:17px}.introduction{position:absolute;left:4.1%;top:23%;pointer-events:none}.eyebrow{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:4px;color:#6a775e}.eyebrow>span{width:24px;height:1px;background:#8a957d}h1{font-family:var(--serif);font-size:clamp(33px,3.25vw,53px);font-weight:400;line-height:1.65;letter-spacing:5px;margin:22px 0 17px;text-shadow:0 2px 20px #f3f2e8b3}.intro-copy{font-size:12px;line-height:2.2;color:#728064;letter-spacing:2px}.intro-foot{margin-top:37px;display:flex;align-items:center;gap:11px;font-size:9px;letter-spacing:2px;color:#838a73}.vertical-rule{height:23px;width:1px;background:#a2aa94}.landmark{position:absolute;left:0;top:0;background:#f5f3e5e3;box-shadow:0 3px 16px #4c5a3712;backdrop-filter:blur(10px);border:1px solid #ffffff6b;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:2px;padding:9px 11px;border-radius:3px;transform:translate(-50%,-50%);transition:background .2s,opacity .3s;white-space:nowrap}.landmark:hover{background:#fffbee}.landmark svg{width:12px;height:12px}.landmark-dot{width:4px;height:4px;border:1px solid #82906c;transform:rotate(45deg)}.visit-state{position:absolute;bottom:155px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;font-size:10px;letter-spacing:1px;color:#5e6b53;white-space:nowrap;background:#f2f1e598;padding:7px 12px;border-radius:20px}.breathing-dot{height:5px;width:5px;border-radius:50%;background:#7c8e60;box-shadow:0 0 0 3px #82976418;animation:breathe 4s infinite}.state-separator{opacity:.35}.action-bar{position:absolute;bottom:57px;left:50%;transform:translateX(-50%);display:flex;align-items:center;background:#f7f5e9eb;border:1px solid #fffaf0dd;border-radius:9px;box-shadow:0 8px 40px #39452712,0 1px 4px #3945270d;padding:13px 17px;backdrop-filter:blur(18px)}.action{min-width:98px;position:relative;padding:0 15px;display:grid;grid-template-columns:25px 1fr;column-gap:9px;row-gap:5px;align-items:center;text-align:left;transition:color .2s}.action:hover,.action.selected{color:#9b503e}.action svg{width:26px;height:26px;grid-row:1/3;stroke-width:1.3}.action>span{font-family:var(--serif);font-size:16px;letter-spacing:3px;white-space:nowrap}.action small{font-size:8px;letter-spacing:1px;color:#8c927f;white-space:nowrap}.action-divider{height:30px;width:1px;background:var(--line);margin:0 6px}.map-panel{position:absolute;right:39px;bottom:85px;width:185px;background:#f6f3e6ba;border:1px solid #f8f7eea6;backdrop-filter:blur(16px);border-radius:5px;padding:12px 14px}.map-heading{display:flex;width:100%;padding:0;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:2px}.map-heading>span{display:flex;gap:7px;align-items:center}.map-heading svg{width:13px;height:13px}.map-chevron{opacity:.5}.map-body p{font-family:var(--serif);font-size:10px;letter-spacing:2px;color:#89907b;text-align:center;margin:0 0 3px}.mini-map{width:100%;height:119px;stroke-width:1;stroke:#939b83}.map-wall{fill:none;stroke-dasharray:2 3;opacity:.45}.map-path{stroke:#b0b49c;stroke-width:7;opacity:.6}.map-hall,.map-building{fill:#c0b7a1;stroke:none}.map-roof{fill:#7c8771;stroke:none}.map-pond{fill:#a5bcb0;stroke:none}.mini-map text{font-size:8px;stroke:none;fill:#6b755f;text-anchor:middle;letter-spacing:1px}#map-player{fill:#a05e46;stroke:#faf7eb;stroke-width:2}.view-controls{position:absolute;right:41px;top:125px;display:flex;flex-direction:column;background:#f7f5e3c4;backdrop-filter:blur(10px);border:1px solid #fff8e966;border-radius:5px;padding:3px}.view-controls button{display:flex;align-items:center;justify-content:center;width:30px;height:31px;font-size:20px;font-weight:300}.view-controls button+button{border-top:1px solid #afb39d36}.view-controls svg{width:14px;height:14px}.footer{position:absolute;bottom:18px;left:42px;right:42px;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px;color:#7f8875}.footer>span{display:flex;align-items:center;gap:7px}.footer svg{width:13px;height:13px;opacity:.7}.hint-dot{margin:0 8px}.mobile-hint{display:none}.footer button{font-size:9px;letter-spacing:2px;padding:4px}.footer button span{font-size:8px;margin-left:12px;letter-spacing:1px;opacity:.65}.toast{position:absolute;bottom:199px;left:50%;transform:translate(-50%,8px);pointer-events:none;opacity:0;background:#394333e6;color:#f8f5e9;font-size:12px;letter-spacing:2px;padding:12px 22px;border-radius:5px;transition:opacity .3s,transform .3s;white-space:nowrap;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.loading{position:absolute;inset:0;background:#edece2;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:10;transition:opacity .9s}.loading.loaded{opacity:0;pointer-events:none}.loading-seal{font-family:var(--serif);font-size:27px;letter-spacing:7px;color:#9b503e;border:1px solid #9b503e;padding:12px 7px 12px 14px}.loading p{font-family:var(--serif);font-size:13px;letter-spacing:4px;color:#7b826f;margin-top:26px}.loading-line{width:80px;height:1px;background:#c4c7b4;position:relative;overflow:hidden;margin-top:12px}.loading-line:after{content:"";position:absolute;inset:0;background:#879176;animation:loading 2s infinite}#retry{margin-top:20px;text-decoration:underline}dialog{border:1px solid #d7d6c7;border-radius:8px;background:#f8f6ed;color:#3e4838;width:min(440px,calc(100vw - 36px));padding:36px;box-shadow:0 25px 100px #26371f33}dialog::backdrop{background:#2d382a52;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:17px;top:10px;font-size:25px;font-weight:300}.dialog-eyebrow{font-size:10px;letter-spacing:3px;color:#939981}dialog h2{font-family:var(--serif);font-size:29px;letter-spacing:5px;font-weight:400;margin:12px 0 20px}dialog p{font-size:12px;line-height:2;color:#77816b;letter-spacing:.5px}.help-row{display:flex;gap:15px;margin:24px 0;font-size:11px;line-height:1.9;color:#77816b}.help-row svg{flex:none;width:26px;height:26px;color:#637057}.help-row strong{display:block;font-size:12px;font-weight:500;color:#46533c;margin-bottom:2px}.dialog-note{font-size:10px!important;border-top:1px solid #dadccc;padding-top:18px}.dialog-primary{width:100%;padding:13px;background:#647154;color:#f8f5e7;margin-top:12px;font-size:12px;letter-spacing:3px;border-radius:3px}.svg-library{position:absolute;width:0;height:0;overflow:hidden}body.evening{--ink:#ede2c6;--muted:#b3b69d;--line:#d1cfad42}body.evening .vignette{background:linear-gradient(180deg,#2d393c6b,transparent 25%,transparent 70%,#313d3a9c),linear-gradient(90deg,#27373752,transparent 40%)}body.evening .identity small,body.evening .nav-item,body.evening .eyebrow,body.evening .intro-copy,body.evening .intro-foot,body.evening .footer{color:#c2c7ac}body.evening .nav-item.active{color:#f3e9cd}body.evening .landmark,body.evening .action-bar,body.evening .map-panel,body.evening .view-controls,body.evening .visit-state{background:#38483ddb;border-color:#91a38e40;color:#e7e4cb}body.evening .action small{color:#bbc0a5}body.evening .action:hover,body.evening .action.selected{color:#efbc7d}body.evening .map-body p{color:#c4c8ae}body.evening .mini-map text{fill:#d8dbc2}body.evening h1{text-shadow:0 2px 20px #17261d44}body.immersed .introduction{opacity:0;transform:translateY(12px);pointer-events:none}.introduction{transition:opacity .8s,transform .8s}@keyframes breathe{50%{opacity:.5;box-shadow:0 0 0 5px #8297640a}}@keyframes loading{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media(min-width:1700px){.introduction{left:5%}.masthead{padding-left:5%;padding-right:5%}}@media(max-width:1100px){.navigation{gap:19px;margin-left:0}.masthead{padding:23px 27px}.identity strong{font-size:21px}.settings{gap:12px}.introduction{top:23%;left:4%}h1{font-size:35px;letter-spacing:3px}.map-panel{right:25px;width:155px;padding:11px;bottom:110px}.map-body .mini-map{height:95px}.footer{left:27px;right:27px}.action-bar{padding:13px 10px}.action{min-width:87px;padding:0 10px}.action small{font-size:7px}.view-controls{right:27px}}@media(max-width:760px){.masthead{height:85px;padding:18px 20px;gap:8px}.identity{gap:9px}.identity strong{font-size:20px;letter-spacing:3px}.identity small{font-size:6px;letter-spacing:2.3px}.seal{font-size:14px;line-height:16px;padding:4px 6px}.navigation{position:absolute;left:20px;top:91px;gap:22px}.nav-item{font-size:10px;letter-spacing:1px}.settings{gap:13px}.settings .hairline{display:none}.utility span{display:none}.utility svg,.icon-button svg{width:18px;height:18px}.utility{padding:5px}.icon-button{padding:4px}.introduction{top:20%;left:22px}.eyebrow{font-size:8px;letter-spacing:3px;gap:8px}h1{font-size:29px;line-height:1.65;letter-spacing:3px;margin:16px 0 10px}.intro-copy{font-size:10px;letter-spacing:1px;line-height:2}.intro-foot{display:none}.map-panel{right:18px;bottom:154px;width:114px;padding:10px}.map-heading{font-size:8px;letter-spacing:1px}.map-heading svg{width:11px;height:11px}.map-heading>span{gap:5px}.map-body .mini-map{height:83px}.map-body p{font-size:8px;letter-spacing:0}.view-controls{right:19px;top:105px}.view-controls button{width:27px;height:28px}.landmark{font-size:9px;padding:7px 8px;gap:6px;letter-spacing:1px}.action-bar{bottom:53px;padding:13px 6px;border-radius:8px;max-width:calc(100vw - 30px);width:390px;justify-content:space-around}.action{min-width:0;padding:0 9px;display:flex;flex-direction:column;gap:6px;text-align:center}.action svg{width:23px;height:23px}.action>span{font-size:14px;letter-spacing:2px}.action small{display:none}.action-divider{height:27px;margin:0 3px}.visit-state{bottom:141px;font-size:9px;gap:8px;left:20px;transform:none;padding:7px 10px;letter-spacing:0}.visit-state #visit-time,.visit-state .state-separator{display:none}.footer{bottom:18px;left:20px;right:20px;font-size:8px;letter-spacing:.5px}.desktop-hint{display:none}.mobile-hint{display:inline}.footer>span svg{display:none}.footer button{font-size:8px;letter-spacing:1px}.footer button span{display:none}.toast{bottom:188px;font-size:11px;letter-spacing:1px;white-space:normal;width:max-content}.vignette{background:linear-gradient(180deg,#f3f2e6b0,transparent 25%,transparent 65%,#f0eee1c9),linear-gradient(90deg,#e9e9dc5e,transparent 50%)}.map-body.collapsed{display:none}}@media(max-width:380px){.identity strong{font-size:18px}.settings{gap:8px}.action{padding:0 6px}h1{font-size:25px}.map-panel{bottom:151px;width:104px}.footer button{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.introduction,.loading,.toast{transition:none}}

/* Free game offerings: a dismissible panel beside the permanent action rail. */
.offerings-panel[hidden]{display:none!important}
.offerings-panel{position:fixed;z-index:18;left:calc(var(--action-rail-right,168px) + 12px);top:50%;transform:translateY(-50%);width:342px;max-width:calc(100vw - var(--action-rail-right,168px) - 30px);max-height:calc(100dvh - 76px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8d5c4;border-radius:13px;background:#f7f5ecef;box-shadow:0 16px 48px #28392e24;backdrop-filter:blur(20px);color:#3e493b}
.offerings-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 18px 10px;border-bottom:1px solid #d5d6c673}
.offerings-heading>div>span{font-size:10px;color:#818c73;letter-spacing:1px}
.offerings-heading h2{font:24px var(--serif);letter-spacing:4px;font-weight:400;margin:5px 0 2px}
.offerings-heading>button{font:27px var(--text);line-height:1;width:38px;height:38px;border:0;background:transparent;border-radius:50%}
.offerings-heading>button:hover{background:#e5e5d6}
.offerings-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:13px 14px 0;min-height:0}
.offering-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.offering-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;position:relative;border:1px solid #d5d7c7;background:#f8f7efbd;border-radius:8px;padding:7px 9px 9px;color:#45523e}
.offering-card:hover{border-color:#9ea58c;background:#fffdf5}
.offering-card.selected{border-color:#a76c50;box-shadow:inset 0 0 0 1px #a76c5059;background:#f0e8d8a6}
.offering-card.selected:after{content:'✓';position:absolute;top:7px;right:8px;font-size:12px;color:#975c42}
.offering-art{display:block;min-height:57px;height:57px;max-width:100%;margin-bottom:2px}
.offering-art svg{display:block;width:100%;height:100%;stroke:none}
.offering-card>strong{font:14px var(--serif);letter-spacing:1px;font-weight:400;margin:2px 0 4px}
.offering-card>span:not(.offering-art){font-size:10px;line-height:1.55;color:#818970;min-height:31px}
.offering-card>small{font:11px var(--text);color:#a06448;margin-top:6px}
.offering-placement{padding:16px 0 12px;border-bottom:1px solid #d5d6c6}
.offering-placement>label{display:block;font-size:11px;color:#77836a;margin-bottom:7px}
.offering-destination{display:flex;gap:8px;align-items:stretch}
.offering-destination select{font:12px var(--text);min-width:0;flex:1;border:1px solid #cbd0bd;border-radius:5px;color:#44563c;background:#fffdf5;padding:8px}
.offering-destination button{font:10px var(--text);white-space:nowrap;padding:8px;border:1px solid #cbd0bd;border-radius:5px;background:transparent}
.offering-quantity-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:12px}
.offering-quantity-row>label{display:flex;align-items:center;gap:7px;font-size:11px;color:#7a846f}
.offering-quantity-row input{width:54px;font:13px var(--text);padding:6px 4px;text-align:center;border:1px solid #cbd0bd;border-radius:5px;background:#fffdf5;color:#44563c}
.offering-limit{margin:8px 0 0;font-size:10px;line-height:1.6;color:#858d79}
.offering-journal{padding:12px 0 13px}
.offering-journal-title{display:flex;justify-content:space-between;align-items:center;gap:8px}
.offering-journal-title h3{font:14px var(--serif);font-weight:400;letter-spacing:1px;margin:0}
.offering-journal-title>span{font-size:10px;color:#839077}
#offering-history{max-height:144px;overflow:auto;scrollbar-width:thin}
#offering-history article{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:9px 0;border-bottom:1px solid #d5d6c659;font-size:10px}
#offering-history article>strong{font-size:11px;font-weight:400}
#offering-history article>span{grid-column:1;color:#818c75}
#offering-history article>time{grid-column:2;grid-row:1/3;align-self:center;color:#89927c}
.offering-empty{font-size:11px;color:#87917c;line-height:1.8;margin:9px 0 0}
.offering-checkout{position:static;flex:none;padding:10px 14px 13px;background:#eeefdf;border-top:1px solid #d3d7c4}
#offering-status{font-size:10px;line-height:1.6;margin:0 0 8px;color:#748168;min-height:16px}
#offering-status.is-error{color:#a14e38}
.offering-checkout>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.offering-checkout>div>span{font-size:11px;color:#75836b;white-space:nowrap}
.offering-checkout strong{font:20px var(--text);color:#996044;margin-left:4px}
#offering-submit{font:12px var(--text);padding:11px 13px;background:#667758;border:1px solid #667758;border-radius:5px;color:#fbf9ed;letter-spacing:1px;flex:1;max-width:215px;min-height:39px}
#offering-submit:disabled{opacity:.55;cursor:wait}
.offering-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}
body.evening .offerings-panel{background:#34483eed;color:#e9e3cf;border-color:#61745b}
body.evening .offerings-heading,body.evening .offering-placement{border-color:#77906b50}
body.evening .offering-card{background:#405245;color:#e9e3cf;border-color:#6d7f65}
body.evening .offering-card.selected{background:#59634b;border-color:#c09a6d}
body.evening .offering-card>small,body.evening .offering-checkout strong{color:#edc596}
body.evening .offering-card>span:not(.offering-art),body.evening .offering-heading>div>span,body.evening #offering-status,body.evening .offering-empty,body.evening .offering-limit{color:#b6c2a9}
body.evening .offering-checkout{background:#304036;border-color:#6d7f65}
@media(max-width:760px),(pointer:coarse) and (max-width:1180px){
 .offerings-panel{left:calc(var(--action-rail-right,76px) + 8px);right:max(10px,env(safe-area-inset-right));top:auto;bottom:calc(env(safe-area-inset-bottom) + 14px);transform:none;width:auto;max-width:none;max-height:min(72dvh,640px);border-radius:11px}
 .offerings-heading{padding:12px 12px 8px}.offerings-heading h2{font-size:21px}.offerings-heading>div>span{font-size:9px;letter-spacing:0}
 .offerings-scroll{padding:9px 10px 0}.offering-catalog{gap:6px}.offering-card{padding:5px 7px 7px}.offering-art{height:45px;min-height:45px}.offering-card>strong{font-size:12px;letter-spacing:0}.offering-card>span:not(.offering-art){font-size:9px;min-height:28px}.offering-card>small{font-size:10px;margin-top:4px}
 .offering-checkout{padding:8px 10px 10px}#offering-submit{font-size:11px;letter-spacing:0;padding:9px 7px}.offering-checkout strong{font-size:18px}.offering-destination button{font-size:9px;padding:6px}.offering-destination select{font-size:11px;padding:7px 4px}
}
@media(max-width:360px){.offerings-panel{left:calc(var(--action-rail-right,76px) + 6px);right:7px}.offering-catalog{gap:5px}.offering-card>span:not(.offering-art){display:none}.offering-art{height:40px;min-height:40px}.offering-card>strong{font-size:11px}#offering-submit{font-size:10px}.offering-checkout>div{gap:5px}.offering-destination{gap:5px}}
