*{box-sizing:border-box}body{margin:0;background:#f0f2e9;color:#263f36;font-family:system-ui,-apple-system,"PingFang SC",sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #cbd2c2;background:#fffdf5;border-radius:10px;padding:10px 16px;min-height:44px}button:hover{background:#e9efde}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #d2983a;outline-offset:3px}header{height:84px;max-width:1480px;margin:auto;padding:14px 28px;display:flex;align-items:center;gap:16px}.back{color:inherit;text-decoration:none;font-size:26px}.heading{margin-right:auto}.heading>span,.eyebrow{font-size:13px;letter-spacing:2px;color:#658070}h1{font-size:23px;line-height:1.2;margin:4px 0}kbd{font:12px system-ui;background:#e8ecdf;padding:3px 6px;border-radius:4px;color:#4c6558}.vitals{display:flex;gap:26px;align-items:center}.vitals label{font-size:14px}.vitals label b{margin-left:36px}.vitals i{display:block;width:116px;height:6px;margin-top:6px;border-radius:5px;background:#d8dfd2;overflow:hidden}.vitals em{display:block;height:100%;background:#cb6b55;width:100%}.wallet{color:#8a652a;font-size:14px}.wallet b{font-size:22px;margin-left:6px}main{max-width:1480px;margin:auto;padding:0 28px}.objective{display:flex;gap:16px;align-items:center;margin:8px 0 16px}.chapter{font:italic 44px Georgia,serif;color:#8ba393}.objective h2{font-size:20px;margin:0 0 4px}.objective p{font-size:14px;margin:0;color:#6b7b6b}.room-label{margin-left:auto;border:1px solid #d4dbc9;border-radius:22px;padding:8px 14px;font-size:13px}.stage{position:relative;border:7px solid #40584c;border-radius:16px;background:#203d3a;box-shadow:0 10px 30px #27433320;overflow:hidden;height:calc(100dvh - 250px);min-height:300px;max-height:760px}canvas{width:100%;height:100%;display:block;touch-action:none}.map-label{position:absolute;left:18px;bottom:12px;font-size:12px;color:#e5e8ce;background:#1a332dbe;padding:6px 10px;border-radius:8px;pointer-events:none}#notice{position:absolute;left:50%;bottom:50px;transform:translateX(-50%);background:#fff8e2;color:#364838;border:1px solid #d5ba77;border-radius:12px;padding:12px 18px;width:max-content;max-width:90%;font-size:15px;box-shadow:0 5px 15px #0002}footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 10px}.movement,.actions{display:flex;gap:8px;align-items:center}.movement span{font-size:13px;margin-right:10px;color:#617364}.primary{background:#2e6955;color:#fffdf1;border-color:#2e6955}.primary:hover{background:#235541}.primary kbd{background:#ffffff20;color:inherit}.footnote{display:flex;justify-content:space-between;font-size:12px;color:#788574;padding-bottom:12px}.touch-move{display:none}dialog{border:1px solid #d0d5c3;border-radius:20px;padding:30px;background:#fcfbf0;color:#2d4437;max-width:650px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 24px 100px #061f3055}dialog::backdrop{background:#102f30a8;backdrop-filter:blur(3px)}dialog h2{font-size:27px;margin:12px 0}dialog p{font-size:16px;line-height:1.7;color:#65705b;white-space:pre-line}#dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.tabs{display:flex;border-bottom:1px solid #d7deca;gap:10px;margin-bottom:16px;padding-bottom:12px}.tabs button[aria-pressed=true]{background:#e2eacb;border-color:#8fa278}.goods{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.good{border:1px solid #dfe1cc;background:#fffef8;border-radius:12px;padding:16px;display:flex;flex-direction:column}.good h3{font-size:17px;margin:0}.good p{font-size:14px;margin:8px 0 14px;flex:1}.good button{width:100%}.bag-list{padding-left:22px;line-height:2;color:#546653}.shop-wallet{font-size:15px;color:#8a6425;margin-bottom:14px}@media(max-width:760px){header{height:76px;padding:12px 16px;gap:10px}.heading>span{font-size:12px;letter-spacing:0}h1{font-size:20px}.vitals{gap:10px}.vitals label b{margin-left:10px}.vitals i{width:75px}header button{padding:7px 10px}header kbd{display:none}.wallet b{font-size:18px}main{padding:0 12px}.room-label{display:none}.objective h2{font-size:17px}.objective p{font-size:13px}.stage{height:calc(100dvh - 246px);min-height:300px}.movement{display:none}.touch-move{display:flex;gap:3px}.touch-move button{padding:7px 10px}.actions{gap:4px}.actions button{padding:9px 10px}.actions kbd{display:none}.map-label{font-size:12px;left:8px;bottom:6px}dialog{padding:22px}.goods{gap:8px}.good{padding:12px}}@media(max-height:560px) and (min-width:761px){header{height:64px}.objective{margin:0 0 8px}.chapter{font-size:30px}.stage{height:calc(100dvh - 203px);min-height:240px}footer{padding:8px 0}}@media(max-width:450px){.vitals{gap:6px}.wallet{font-size:12px}.wallet b{font-size:16px}.heading>span{font-size:11px}header{gap:7px;padding:10px}header button{font-size:13px}.actions button{font-size:13px;padding:8px}.touch-move button{padding:7px 8px}.objective p{max-width:285px}.stage{min-height:310px}}

[hidden]{display:none!important}
.wall-inscription{padding:20px;border:2px solid #839080;border-radius:12px;background:#e4e9d8;box-shadow:inset 0 2px 8px #3a574c18}.wall-inscription>span{font-size:14px;letter-spacing:2px;color:#65765f}.wall-inscription p{margin:10px 0 0;font-size:22px;font-weight:650;line-height:1.5;color:#334c3f;overflow-wrap:anywhere}.wall-complete{display:block;margin-top:12px;color:#267452}.wall-clue{padding:12px 14px;background:#f3ecd2;border-left:3px solid #bc9b59;border-radius:5px}.wall-answer-label{display:block;margin:16px 0 6px;font-weight:650}#wall-answer{font:20px system-ui;color:#263f36;background:#fffef8;border:1px solid #97aa90;border-radius:9px;padding:12px;width:100%;min-height:48px}#wall-answer:focus-visible{outline:3px solid #d2983a;outline-offset:2px}#wall-answer[aria-invalid=true]{border-color:#9f5439}#wall-feedback{font-size:14px;color:#755332;min-height:24px;margin:8px 0}.wall-notes{border-top:1px solid #d4d8c6;margin-top:18px;padding-top:8px}.wall-notes h3{font-size:16px}.wall-notes p{display:flex;gap:16px;justify-content:space-between;margin:8px 0;padding:8px 12px;border-radius:7px;background:#f2ecd7;font-size:15px}.wall-notes p span{white-space:nowrap}@media(max-width:450px){.wall-inscription{padding:14px}.wall-inscription p{font-size:19px}.wall-notes p{gap:8px;font-size:14px}}

.wall-inscription.wall-logic p{font-size:18px;line-height:1.6}

.completion-seal{display:grid;gap:8px;margin:24px 0;padding:24px;border:1px solid #b4c69c;border-radius:16px;background:linear-gradient(135deg,#e8eed5,#d3e5d8);text-align:center}.completion-seal b{font:italic 44px Georgia,serif;color:#52725a}.completion-seal span{color:#697c59}.completion-seal strong{font-size:17px;color:#345a48}.wall-notes p{flex-wrap:wrap}.wall-notes p span{white-space:normal}
