:root{--ink:#f3eddc;--muted:#e6e3d0b3}*{box-sizing:border-box}body{margin:0;background:#748d85;color:var(--ink);overflow:hidden;font-family:Inter,'Apple SD Gothic Neo',sans-serif}button,a{color:inherit}button{font:inherit;border:0;background:none;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f3e5bd;outline-offset:5px}button:hover{color:#fff4d5}canvas{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(0deg,#173d3d88,transparent 50%),linear-gradient(90deg,#152b355e,transparent 72%),linear-gradient(180deg,#0f252e42,transparent 22%)}.scene-fade{position:fixed;inset:0;background:#d5d8c6;opacity:0;pointer-events:none;z-index:2}header{position:fixed;inset:30px 5% auto;display:flex;justify-content:space-between;align-items:center;z-index:4}.brand{font-size:11px;letter-spacing:3px;text-decoration:none;display:flex;align-items:center;gap:9px}.brand>span{font:24px Georgia}header nav{display:flex;align-items:center;gap:11px}header nav button{font-size:11px;color:#ecebd1a8;padding:8px 5px}header nav small{font-size:8px;margin-right:4px;color:#ded3aa}header nav i{width:22px;height:1px;background:#e9e6c64d}header nav button[aria-current=step]{color:#fff3d4}#sound{font-size:9px;display:flex;gap:6px;align-items:center;padding:8px 0}#sound svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.2}.intro{position:fixed;left:8%;top:24%;z-index:3}.eyebrow{font-size:8px;letter-spacing:2.5px;color:#dfd9b9}.intro h1{font:400 clamp(40px,4.7vw,69px)/1.35 'Gowun Batang',Georgia,serif;letter-spacing:-2.5px;margin:25px 0}.intro em{font-style:normal;color:#eee2b8}.intro>p:not(.eyebrow){font:13px/1.9 'Gowun Batang',serif;color:#f2edddc9}.intro #start{border:1px solid #ede7c67a;border-radius:4px;backdrop-filter:blur(9px);background:#e0dbc814;padding:15px 19px;font-size:12px;margin-top:23px;display:flex;gap:45px;align-items:center}.intro small{display:block;font-size:9px;margin-top:17px;color:#e6e6d3a1}.reader{position:fixed;left:5%;bottom:155px;max-width:590px;z-index:3;pointer-events:none;text-shadow:0 2px 30px #143936}.reader .chapter{font-size:9px;letter-spacing:1.5px;color:#e5d6ae;margin:0 0 12px}.reader h1{font:400 clamp(23px,2.4vw,34px)/1.5 'Gowun Batang',serif;margin:0 0 13px;letter-spacing:-.8px}.reader>p:not(.chapter){font:400 16px/1.95 'Gowun Batang',serif;white-space:pre-line;color:#f2ebd9;margin:0}.story-dots{display:flex;gap:9px;margin-top:19px;pointer-events:auto}.story-dots button{width:5px;height:5px;padding:0;border-radius:50%;background:#eff0d75c}.story-dots button[aria-current=true]{background:#fff0bf;box-shadow:0 0 0 3px #eadcb421}.scene-actions{position:fixed;right:5%;bottom:167px;display:flex;gap:7px;z-index:3}.scene-actions button{border:1px solid #e1e7cc4a;background:#173d3926;backdrop-filter:blur(12px);border-radius:22px;font-size:10px;padding:10px 14px}.scene-actions button[aria-pressed=true]{background:#b6c6a94d}.journey-bottom{position:fixed;left:5%;right:5%;bottom:57px;display:flex;align-items:flex-end;justify-content:space-between;border-top:1px solid #e7e5c73d;padding-top:18px;z-index:3}.place{display:flex;flex-direction:column;gap:9px}.place>span{font-size:8px;letter-spacing:2px}.place small{font-size:8px;color:#dde5d1b3}.travel-controls{display:flex;align-items:center;gap:19px;font-size:10px}.travel-controls .next{display:flex;gap:24px;align-items:center;border:1px solid #e7e4c659;border-radius:4px;padding:12px 15px;backdrop-filter:blur(10px);background:#173d3926}.travel-controls #stay{color:#e6e8d0b0}#stay[aria-pressed=true]{color:#fff0c1}.corner-tools{position:fixed;bottom:20px;left:5%;display:flex;gap:18px;font-size:8px;color:#e4e9d18a;z-index:3}.status{position:fixed;right:5%;bottom:21px;font-size:8px;color:#e5e9d599;z-index:3;margin:0}.walking{display:none}#restore{position:fixed;bottom:25px;right:5%;border:1px solid #e5e9d24a;padding:12px 16px;border-radius:4px;font-size:10px;background:#214a403b;backdrop-filter:blur(10px);z-index:4}body.clean header,body.clean .intro,body.clean .reader,body.clean .scene-actions,body.clean .journey-bottom,body.clean .corner-tools,body.clean .walking,body.clean .status{display:none}body:not(.started) .reader,body:not(.started) .scene-actions,body:not(.started) .journey-bottom,body:not(.started) .walking{display:none}body.started .intro{display:none}[hidden]{display:none!important}dialog{border:1px solid #d6d9c87a;background:#f1eee3;color:#45594b;border-radius:14px;padding:35px;width:min(430px,90vw);font-size:12px;line-height:1.9}dialog::backdrop{background:#223d3c65;backdrop-filter:blur(7px)}dialog .eyebrow{color:#8a9a82}dialog h2{font:400 26px 'Gowun Batang',serif}dialog label{display:flex;justify-content:space-between;font-size:11px}dialog input{width:100%;accent-color:#7f9477}dialog .credits{font-size:10px;color:#80917b}dialog a{color:inherit}dialog small{font-size:10px;color:#8b9a84}#closeCredits{position:absolute;right:13px;top:10px;font-size:23px}#error{position:fixed;inset:0;background:#58766c;display:grid;place-content:center;text-align:center;z-index:9}#error h2{font-size:22px}#error p{font-size:12px}
@media(max-width:700px){header{inset:20px 6% auto;flex-wrap:wrap;gap:18px}.brand{font-size:10px;letter-spacing:2px}.brand>span{font-size:20px}header nav{order:3;width:100%;justify-content:center;gap:8px}header nav button{font-size:10px;padding:6px}header nav i{width:22px}#sound{font-size:9px}.intro{top:27%;left:8%;right:8%}.intro h1{font-size:39px;letter-spacing:-1.8px}.intro>p:not(.eyebrow){font-size:12px}.intro .eyebrow{font-size:7px;letter-spacing:1.7px}.intro #start{font-size:11px;gap:36px}.intro small{font-size:8px}.reader{left:6%;right:6%;bottom:215px;max-width:none}.reader h1{font-size:24px;margin-bottom:10px}.reader>p:not(.chapter){font-size:14px;line-height:1.9}.reader .chapter{font-size:8px}.story-dots{margin-top:16px}.scene-actions{right:6%;left:6%;bottom:145px;justify-content:flex-end;gap:4px}.scene-actions button{font-size:9px;padding:9px 11px}.journey-bottom{left:6%;right:6%;bottom:57px;padding-top:12px}.place>span{font-size:6px;letter-spacing:1.5px}.place small{font-size:7px;max-width:120px;line-height:1.5}.travel-controls{gap:10px;flex-direction:column;align-items:flex-end;font-size:8px}.travel-controls .next{font-size:9px;padding:10px 12px;gap:12px}.corner-tools{left:6%;bottom:21px;font-size:7px;gap:10px}.status{right:6%;bottom:22px;max-width:48%;font-size:7px;text-align:right}.walking{position:fixed;bottom:123px;left:6%;grid-template-columns:repeat(3,32px);grid-template-rows:repeat(2,30px);gap:4px;z-index:4}.walking button{border:1px solid #e2e8ce49;border-radius:5px;background:#214a4040;backdrop-filter:blur(10px);font-size:16px;touch-action:none}.walking [data-move=forward]{grid-column:2}.walking [data-move=left]{grid-column:1;grid-row:2}.walking [data-move=back]{grid-column:2;grid-row:2}.walking [data-move=right]{grid-column:3;grid-row:2}body[data-chapter=forest] .walking,body[data-chapter=beach] .walking{display:grid}body[data-chapter=forest] .scene-actions,body[data-chapter=beach] .scene-actions{bottom:166px;max-width:235px;left:auto}body[data-chapter=forest] .reader,body[data-chapter=beach] .reader{bottom:230px}body.clean .walking{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:700px){body[data-chapter=forest] .reader,body[data-chapter=beach] .reader{top:137px;bottom:auto}.walking{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(2,36px);gap:5px}.corner-tools button{min-height:28px}.story-dots button{position:relative;width:15px;height:15px;background:transparent!important;box-shadow:none!important}.story-dots button:after{content:"";position:absolute;left:5px;top:5px;width:5px;height:5px;background:#eff0d75c;border-radius:50%}.story-dots button[aria-current=true]:after{background:#fff0bf}}
