:root{color-scheme:light;--ink: #303a28;--muted: #626453;--moss: #3a4731;--terra: #a15437;--paper: #f8f2e4;--line: #d9cbb2;--serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;--sans: system-ui, "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;font-family:var(--sans);color:var(--ink);background:var(--paper);font-synthesis:none}*,*:before,*:after{box-sizing:border-box}body{margin:0;overscroll-behavior:none}button{color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid var(--terra);outline-offset:3px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon,.brand-mark svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.atlas{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100vh;height:100dvh;min-height:245px}.masthead,.game-footer{z-index:2;display:flex;align-items:center;padding-inline:clamp(18px,3.3vw,56px);background:var(--paper)}.masthead{justify-content:space-between;min-height:75px;gap:16px;padding-top:env(safe-area-inset-top,0px);border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:9px;background:var(--moss);color:#f6e8c6;box-shadow:inset 0 0 0 1px #f7e7c51a,inset 0 2px 4px #292d1b29}.brand-mark svg{width:29px;height:29px;stroke-width:1.45}.brand-title{display:flex;align-items:baseline;gap:12px}.brand-name{display:block;margin-top:-3px;font:400 clamp(26px,2.55vw,40px)/1.08 var(--serif);letter-spacing:-.064em}.brand-subtitle{color:var(--muted);font-size:13px;font-weight:600;letter-spacing:.035em}.brand-subtitle>span{display:inline-block}.header-actions{display:flex;align-items:center;gap:8px}.header-button,.camera-button,.close-button,.touch-pad button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:38px;padding:0 11px;border:1px solid transparent;border-radius:7px;background:transparent;font-size:13px;font-weight:650;line-height:1;white-space:nowrap;transition:color .16s,background-color .16s,border-color .16s,box-shadow .16s}.header-button:hover,.close-button:hover{border-color:var(--line);background-color:#efe3cb}.icon-button{width:39px;padding:0;border-color:var(--line)}.sound-button[aria-pressed=true]{color:#345032;background-color:#e6e9d7;border-color:#c8d0b5}.overview-button{padding-inline:12px;border-color:var(--moss);background-color:var(--moss);color:#fff6df}.overview-button:hover,.overview-button[aria-pressed=true]{background-color:#566447;border-color:#566447}.overview-button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #fffde247}.atlas-stage{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 46% 44%,#e7d6b9,#c9b391)}#world{position:absolute;inset:0;display:block;width:100%;height:100%;outline:0;touch-action:none;cursor:grab}#world:active{cursor:grabbing}.location-card,.map-card,.camera-actions,.error-card{position:absolute;border:1px solid rgba(143,116,72,.39);background-color:#fbf4e2f5;box-shadow:0 2px 5px #48351e1a,0 9px 26px #48351e17}.location-card{top:clamp(14px,2.7vw,33px);left:clamp(14px,2.75vw,44px);display:flex;align-items:center;gap:12px;padding:11px 20px 12px 11px;min-width:158px;border-radius:8px;pointer-events:none}.location-icon{display:grid;place-items:center;align-self:stretch;width:34px;flex:none;color:var(--terra);border-right:1px solid var(--line);padding-right:8px}.location-icon .icon{width:18px;height:18px;stroke-width:1.5}.location-text{min-width:0}.location-card h1{margin:0;font-family:var(--serif);font-weight:700;font-size:19px;line-height:1.35;letter-spacing:.085em}#coordinates{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1;letter-spacing:.05em;font-variant-numeric:tabular-nums}.coordinate-divider{margin:0 3px;color:#96836a}.coordinate-axis{color:#4e5942;font-size:.9em;font-weight:750}.camera-actions{top:clamp(14px,2.7vw,33px);right:clamp(14px,2.75vw,44px);display:grid;padding:2px;border-radius:8px}.camera-button{width:39px;min-height:38px;padding:0;border-radius:5px}.camera-button .icon{width:20px;height:20px}.camera-button:hover{background:#eee1c5}.camera-button:active{background:#e8d7b6}.camera-reset{border-top:1px solid var(--line);border-radius:0 0 5px 5px}.camera-reset .icon{width:16px;height:16px}.map-card{right:clamp(14px,2.75vw,44px);bottom:clamp(14px,2.5vw,30px);display:grid;width:180px;gap:7px;padding:10px;border-radius:8px;pointer-events:none}.map-header,.map-footer{display:flex;align-items:center}.map-header{justify-content:space-between;padding-inline:1px}.map-header h2{margin:0;font-size:12px;line-height:1;font-weight:750;letter-spacing:.08em}.map-north{display:flex;gap:3px;align-items:center;color:var(--muted);font:700 11px/1 var(--serif)}.map-north .icon{width:12px;height:12px;stroke-width:1.25}#mini-map{display:block;width:100%;height:106px;border:1px solid var(--line);border-radius:4px;background-color:#ede1c7}.map-footer{gap:5px;padding-inline:1px;color:var(--muted);font-size:11px;line-height:1.1}.map-traveler{width:7px;height:7px;border-radius:50%;background:#af5a37}.map-divider{width:1px;height:8px;margin-inline:2px;background:var(--line)}.map-bridge{width:9px;height:5px;border:1px solid #a88154;border-radius:1px;background:#d5aa76}.game-footer{position:relative;min-height:47px;gap:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.exploration,.control-hints,.control-hint,.keys{display:inline-flex;align-items:center}.exploration{gap:7px;white-space:nowrap}.exploration .icon{width:15px;height:15px;color:var(--terra)}.exploration strong{min-width:18px;color:var(--ink);font-variant-numeric:tabular-nums}.control-hints{margin-inline:auto;gap:clamp(14px,2.8vw,40px);padding-right:95px}.control-hint{gap:6px;white-space:nowrap}.control-hint .icon{width:16px;height:16px;color:#6c725a}.keys{gap:2px}kbd{display:inline-grid;min-width:17px;height:17px;place-items:center;padding-inline:2px;border:1px solid #cdbb98;border-bottom-width:2px;border-radius:3px;background-color:#fffaee;color:#525740;font:650 10px/1 var(--sans)}.touch-pad{display:none}.guide{width:min(506px,calc(100vw - 28px));max-height:calc(100dvh - 30px);padding:0;border:1px solid #bbaa89;border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 18px 72px #2a211554}.guide::backdrop{background-color:#2c241878;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.guide-inner{padding:clamp(18px,5vw,32px);overflow:auto}.guide-header{position:relative;display:flex;align-items:center;gap:12px;padding:0 28px 20px 0;border-bottom:1px solid var(--line)}.guide-mark{display:grid;flex:none;width:43px;height:43px;place-items:center;border-radius:8px;background-color:var(--moss);color:#f8eacb}.guide-mark .icon{width:29px;height:29px;stroke-width:1.4}.guide-header h2{margin:0 0 4px;font:700 23px/1.2 var(--serif);letter-spacing:.04em}.guide-header p{margin:0;color:var(--muted);font-size:13px}.close-button{position:absolute;top:-3px;right:-8px;width:33px;min-height:33px;padding:0}.guide-audio{min-width:0;margin:16px 0 0;padding:5px 0 13px;border:0;border-bottom:1px solid var(--line)}.guide-audio legend{padding:0;font-size:14px;font-weight:720}.volume-option{display:grid;grid-template-columns:4em minmax(0,1fr) 3.2em;gap:8px;align-items:center;font-size:13px}.volume-option label{font-weight:650}.volume-option input{width:100%;min-width:0;height:34px;margin:0;accent-color:var(--moss);cursor:pointer}.volume-option input:focus-visible{outline:2px solid var(--terra);outline-offset:-2px;border-radius:4px}.volume-option output{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.guide-audio p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.guide-list{margin:0 0 22px}.guide-list>div{display:grid;grid-template-columns:87px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.guide-list dt{display:flex;align-items:baseline;gap:7px;padding-top:2px;font-size:14px;font-weight:720}.guide-list dt .icon{width:17px;height:17px;align-self:flex-start;color:var(--terra)}.guide-list dd{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.dialog-action{padding:9px 16px;border:1px solid var(--moss);border-radius:6px;background-color:var(--moss);color:#fff7e3;font-size:14px;font-weight:650}.dialog-action:hover{background-color:#566447}.guide form{display:flex;justify-content:flex-end;margin:0}.error-card{top:45%;left:50%;width:min(390px,calc(100% - 28px));padding:24px;transform:translate(-50%,-50%);border-radius:10px;text-align:center}.error-card .icon{width:35px;height:35px;color:var(--terra)}.error-card h2{margin:9px 0;font:700 22px var(--serif)}.error-card p{color:var(--muted);font-size:14px;line-height:1.5}@media(max-width:930px){.brand-title{flex-direction:column;gap:2px}.control-hints{flex-wrap:wrap;gap:4px 14px;padding-right:0}}@media(max-width:660px),(pointer:coarse){.masthead{min-height:calc(62px + env(safe-area-inset-top,0px));padding-inline:13px;gap:8px}.wordmark{gap:8px}.brand-mark{width:33px;height:33px;border-radius:7px}.brand-mark svg{width:24px;height:24px}.brand-name{margin-top:-2px;font-size:clamp(22px,5.7vw,31px)}.brand-subtitle{white-space:normal;font-size:10px;letter-spacing:0;line-height:1.25}.header-actions{gap:5px}.header-button{width:42px;min-height:42px;padding:0}.header-button span{display:none}.game-footer{min-height:calc(32px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);font-size:12px}.control-hints{display:none}.location-card{gap:8px;min-width:124px;padding:8px 12px 9px 8px}.location-card h1{font-size:15px}.location-icon{width:25px;padding-right:5px}.location-icon .icon{width:15px;height:15px}#coordinates{font-size:11px}.camera-button{width:40px;min-height:39px}.map-card{width:126px;gap:5px;padding:7px}.map-header h2{font-size:11px}#mini-map{height:78px}.map-footer{display:none}}@media(max-width:660px),(pointer:coarse){.touch-pad{--touch-size: clamp(32px, 9.6vw, 43px);position:absolute;left:max(12px,env(safe-area-inset-left,0px));bottom:13px;display:grid;grid-template-columns:repeat(3,var(--touch-size));grid-template-rows:repeat(3,var(--touch-size));touch-action:none;-webkit-user-select:none;user-select:none}.touch-pad button,.touch-center{min-height:0;padding:0;border:1px solid rgba(143,116,72,.52);border-radius:7px;background-color:#fbf4e2e6;box-shadow:0 2px 6px #4331181f;touch-action:none}.touch-pad button[data-pressed]{background-color:#3a4731;color:#fff8e9;border-color:#3a4731}.touch-pad button .icon{width:23px;height:23px}.touch-up{grid-area:1/2}.touch-left{grid-area:2/1}.touch-right{grid-area:2/3}.touch-down{grid-area:3/2}.touch-left .icon{transform:rotate(-90deg)}.touch-right .icon{transform:rotate(90deg)}.touch-down .icon{transform:rotate(180deg)}.touch-center{grid-area:2/2;border-color:#8f744852;border-radius:8px;background-color:#fcf4e18c}.touch-center:after{content:"";position:absolute;top:50%;left:50%;width:6px;height:6px;border:1px solid rgba(77,72,48,.56);border-radius:50%;transform:translate(-50%,-50%)}}@media(max-height:480px)and (orientation:landscape){.masthead{min-height:47px}.brand-mark{width:30px;height:30px}.brand-mark svg{width:23px;height:23px}.brand-name{font-size:25px}.header-button{min-height:34px}.game-footer{min-height:29px}.map-card{width:112px}#mini-map{height:65px}.map-footer{display:none}.touch-pad{--touch-size: 34px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important}}#world.world-preview{background:#c4ae91 url(/preview.webp) center / cover no-repeat}.quest-card{position:absolute;top:calc(clamp(14px,2.7vw,33px) + 78px);left:clamp(14px,2.75vw,44px);width:min(275px,calc(100% - 84px));padding:10px 13px 11px;border:1px solid #aa9065;border-radius:7px;background:#fbf4e4;box-shadow:0 4px 14px #48351e24;pointer-events:none}.quest-heading{display:flex;justify-content:space-between;gap:9px;font-size:14px}.quest-heading>span{color:#7f4a31;font-variant-numeric:tabular-nums;white-space:nowrap}#quest-objective{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.48}.map-quest{width:7px;height:7px;transform:rotate(45deg);background:#27656b}.map-quest[data-kind=dog]{background:#b18522}.map-quest[data-kind=stranger]{background:#6d405e}.map-footer [hidden]{display:none}.quest-interact{position:absolute;z-index:3;left:50%;bottom:27px;transform:translate(-50%);min-height:43px;padding:7px 14px;border:1px solid #506049;border-radius:7px;background:#394832;color:#fff5db;box-shadow:0 4px 12px #332b1d55;font-size:14px;font-weight:700;white-space:nowrap}.quest-interact kbd{margin-right:7px}.atlas-stage:after{position:absolute;inset:0;z-index:1;content:"";opacity:0;background:radial-gradient(ellipse at 50% 44%,transparent 47%,#451c2891 100%);pointer-events:none;transition:opacity .35s}.atlas-stage[data-quest-stage=falling]:after{opacity:1}.location-card,.quest-card,.map-card,.camera-actions,.touch-pad,.error-card{z-index:2}.quest-dialog{width:min(500px,calc(100vw - 30px));max-height:min(400px,calc(100dvh - 36px));margin:auto auto clamp(32px,11vh,110px);padding:20px 21px 18px;border:5px double #f6e7bc;border-radius:8px;background:#20251e;color:#f9efd5;box-shadow:0 7px 23px #17170bbb;font-family:Osaka-mono,MS Gothic,Noto Sans Mono CJK JP,monospace}.quest-dialog::backdrop{background:#2c271d50}.quest-dialog[data-ominous]{background:#28202a;border-color:#e3cbbb}.quest-dialog[data-result]{margin:auto}.quest-dialog h2{margin:0 0 9px;color:#e6c981;font-size:15px;font-weight:750;letter-spacing:.11em}.quest-dialog p{margin:0 0 16px;white-space:pre-line;font-size:15px;line-height:1.7;letter-spacing:.035em}.quest-dialog button{display:block;min-height:40px;margin-left:auto;padding:5px 13px;border:1px solid #d9c990;border-radius:4px;background:#f1e0af;color:#2d2c22;font-weight:750;font-size:13px}@media(max-width:660px),(pointer:coarse){.overview-button{width:auto;min-width:47px;padding:0 5px;gap:3px}.overview-button span{display:inline;font-size:10px}.overview-button .icon{width:14px;height:14px}.quest-card{top:calc(clamp(14px,2.7vw,33px) + 59px);padding:8px 10px;width:min(215px,calc(100% - 80px))}.quest-heading,#quest-objective{font-size:12px}.quest-interact{bottom:calc(25px + clamp(96px,28.8vw,129px))}.quest-interact kbd{display:none}}@media(max-width:345px){.overview-button .icon{display:none}}.dash-control{position:absolute;z-index:3;left:clamp(14px,2.75vw,44px);bottom:26px;display:inline-flex;align-items:center;gap:7px;min-height:39px;padding:7px 11px;border:1px solid #a58d65;border-radius:7px;background:#fbf2df;box-shadow:0 3px 9px #312c2140;font-size:13px;font-weight:750;touch-action:manipulation}.dash-control[aria-pressed=true]{border-color:#6b483a;background:#7c4e34;color:#fff6db}.dash-control .icon{width:18px;height:18px}.dash-control kbd{padding-inline:4px}.quest-inventory{display:flex;align-items:center;gap:6px;margin-top:7px;padding-top:7px;border-top:1px solid #d9cbb2;color:#6c4b1e;font-size:13px;font-weight:750}.quest-inventory[hidden]{display:none}.quest-inventory .icon{width:17px;height:17px}.quest-inventory strong{margin-left:auto}.atlas-stage[data-quest-stage=transforming]:after{opacity:.98}.atlas-stage[data-quest-stage=won] .quest-card{border-color:#a48442}@media(max-width:660px),(pointer:coarse){.dash-control{left:12px;bottom:calc(19px + clamp(96px,28.8vw,129px));min-height:40px}.dash-control kbd{display:none}.quest-interact{bottom:calc(70px + clamp(96px,28.8vw,129px))}}@media(max-height:480px)and (orientation:landscape){.dash-control{bottom:119px}.quest-interact{bottom:20px}}.quest-timers{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px}.quest-timers>span{display:inline-grid;place-items:center;padding:3px;border-radius:50%;background:#eee0c6}@property --timer-left{syntax: "<percentage>"; inherits: false; initial-value: 100%;}.quest-timer-pie{width:19px;height:19px;flex:none;border-radius:50%;border:1px solid #705e42;background:conic-gradient(var(--pie-ink, #736746) var(--timer-left, 100%),#fffaeb 0);transition:--timer-left .13s linear}.quest-timers>[data-countdown=dog]{--pie-ink: #9d6b15}.quest-timers>[data-countdown=girl]{--pie-ink: #266971}.quest-timers>[data-countdown=monster]{--pie-ink: #823341}.quest-timers[hidden],.quest-timers>span[hidden]{display:none}.quest-timers>[data-countdown=monster]{background:#e9d4cb;color:#703a49}.atlas-stage[data-threat]:after{opacity:1}.atlas-stage[data-threat] .quest-card{border-color:#773e51;border-left-width:4px}
