:root{--paper:#e9eee3;--ink:#344b3b;--muted:#71806b;--accent:#496647;--line:#cdd5c4;--surface:#f8faf3;--grass:#93b66e;--earth:#c98867;--heading:"AppleMyungjo","Batang","Noto Serif KR",Georgia,serif;--body:"Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif;--utility:ui-monospace,"SFMono-Regular",monospace}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:14px;overflow:hidden;transition:background 1.5s,color 1.5s}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,#world:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.site-header{height:110px;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;letter-spacing:-1.1px}.brand small{display:block;font-family:var(--utility);font-size:9px;letter-spacing:3px;margin-top:6px;font-weight:400}.brand-mark{position:relative;width:44px;height:48px;display:grid;place-items:center}.brand-mark svg{width:39px;height:39px;stroke-width:1.3}.brand-mark i{position:absolute;width:9px;height:5px;border-radius:100% 0;background:var(--accent);right:0;top:2px;transform:rotate(-28deg)}nav{display:flex;gap:8px;position:absolute;left:50%;transform:translateX(-50%);padding:5px;border:1px solid var(--line);border-radius:40px}.nav-button{padding:11px 22px;background:transparent;border-radius:30px;display:flex;gap:9px;align-items:center;font-size:13px}.nav-button.active{background:var(--surface);box-shadow:0 2px 6px #344b3b07}.nav-button svg{width:16px;height:16px}.live-dot{width:5px;height:5px;border-radius:50%;background:var(--accent)}.header-weather{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.header-weather svg{width:19px;height:19px;color:var(--accent)}.weather-divider{height:12px;width:1px;background:var(--line);margin:0 5px}main{height:calc(100svh - 170px);min-height:550px;position:relative}.introduction{position:absolute;top:13%;left:6%;z-index:2;pointer-events:none}.eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--muted);display:flex;align-items:center;gap:8px}.eyebrow>span{width:16px;height:1px;background:var(--muted)}h1{font-family:var(--heading);font-size:clamp(32px,3.2vw,52px);line-height:1.6;font-weight:500;letter-spacing:-2.6px;margin:20px 0 21px}.title-period{color:#90a675}.intro-copy{line-height:2.05;color:var(--muted);font-size:13px;letter-spacing:.1px;margin-bottom:28px}.walk-button{pointer-events:auto;padding:13px 19px;background:var(--accent);color:#f5f8ef;border-radius:5px;font-size:12px;display:inline-flex;align-items:center;gap:29px;transition:transform .2s,background .2s}.walk-button:hover{transform:translateY(-2px);background:#36563a}.walk-button svg{width:17px;height:17px}.village-coordinate{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-top:45px;letter-spacing:.2px}.village-coordinate svg{width:12px;height:12px}.coordinate-line{width:23px;height:1px;background:var(--line);margin-right:4px}#world{position:absolute;inset:-4% 0 5% 17%;outline:none;touch-action:none}#world canvas{display:block;width:100%;height:100%;cursor:grab}#world canvas:active{cursor:grabbing}.world-loading{position:absolute;inset:0;display:flex;gap:14px;justify-content:center;align-items:center;color:var(--muted);transition:opacity .6s;z-index:2;pointer-events:none}.world-loading.done{opacity:0}.loading-house{font-size:30px;animation:breathe 1.5s infinite}.markers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.marker{position:absolute;left:0;top:0;pointer-events:auto;display:flex;align-items:center;gap:7px;white-space:nowrap;transform:translate(-50%,-100%);background:#fbfdf4f2;border:1px solid #ffffffd9;box-shadow:0 3px 14px #273b2914;border-radius:30px;padding:8px 12px;font-size:10px;color:#43583f;transition:opacity .3s,background .2s;will-change:transform}.marker::after{content:"";position:absolute;bottom:-8px;left:50%;width:1px;height:8px;background:#fafcf0}.marker .marker-dot{width:5px;height:5px;border:1px solid #718560;border-radius:50%}.marker:hover,.marker.is-selected{background:#405c42;color:#fff}.marker:hover .marker-dot,.marker.is-selected .marker-dot{background:#d9e7b8;border-color:#d9e7b8}.marker svg{width:13px;height:13px}.location-card{position:absolute;bottom:15.5%;left:6%;width:312px;background:#f8faf1e8;border:1px solid #ffffffd0;box-shadow:0 6px 24px #52624805;border-radius:7px;padding:22px 17px;display:flex;align-items:center;gap:14px;z-index:3}.location-drawing{width:66px;height:64px;border-right:1px solid var(--line);padding-right:12px;display:flex;align-items:center;flex-shrink:0;color:#687c55}.location-drawing svg{width:65px;height:60px}.card-eyebrow{font-size:9px;letter-spacing:1.2px;color:var(--muted);margin:0 0 8px}.location-card h2{font-size:16px;letter-spacing:-.4px;margin:0 0 7px;font-family:var(--heading);font-weight:600}.location-card p:last-child{font-size:10px;margin:0;color:var(--muted);white-space:nowrap}.card-stamp{position:absolute;right:13px;top:14px;font-size:7px;color:#879875;text-align:center;line-height:1.6;border:1px solid #a1ad91a0;padding:2px 3px;border-radius:2px;transform:rotate(8deg)}.card-stamp b{font-family:var(--heading);font-size:13px;font-weight:400}.scene-toolbar{position:absolute;right:5.3%;bottom:10.5%;display:flex;gap:9px;align-items:center;z-index:4;border:1px solid #fff;background:#f8faf2df;backdrop-filter:blur(10px);box-shadow:0 4px 15px #405b3c08;border-radius:8px;padding:7px 9px}.time-control{display:flex;gap:2px}.time-button{display:flex;align-items:center;gap:6px;padding:9px 12px;border-radius:5px;background:transparent;font-size:11px;color:var(--muted)}.time-button svg{width:16px;height:16px}.time-button.selected{background:#e3ead9;color:var(--ink)}.tool-divider{height:20px;width:1px;background:var(--line);margin:0 3px}.icon-button{background:transparent;border-radius:5px;display:grid;place-items:center;width:33px;height:33px;color:#697d5d}.icon-button:hover{background:#e3ead9}.icon-button svg{width:17px;height:17px}.icon-button[aria-pressed=true]{background:#dce7cf;color:#344b3b}.scene-hint{position:absolute;left:52%;transform:translateX(-50%);bottom:4.5%;display:flex;align-items:center;gap:11px;color:#7c8973;white-space:nowrap;font-size:10px}.scene-hint>svg{width:15px;height:15px}.scene-hint i{width:2px;height:2px;border-radius:50%;background:#99a48f}.compass{position:absolute;right:5.3%;top:9%;width:62px;height:76px;display:flex;align-items:center;flex-direction:column;color:#7a8b70}.compass>span{font-family:var(--utility);font-size:9px;letter-spacing:1px}.compass svg{width:55px;height:55px;stroke-width:.6}.compass svg path{fill:#7c916d;stroke:none;transform-origin:30px 30px}footer{height:60px;display:flex;justify-content:space-between;align-items:center;margin:0 4.3%;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}footer>span{font-family:var(--utility);letter-spacing:2px;font-size:8px;color:#87947d}footer p{display:flex;align-items:center;gap:8px}.footer-sprout{font-size:17px;color:#859d6e}.footer-credit{font-size:9px;letter-spacing:.3px}.footer-credit svg{width:12px;height:12px}.place-card{position:absolute;left:6%;bottom:15.5%;z-index:4;width:312px;background:var(--surface);border:1px solid #fff;border-radius:7px;padding:25px;box-shadow:0 10px 40px #243b2a10}.place-kicker{font-size:9px;letter-spacing:2px;color:var(--muted)}.place-card h2{font-family:var(--heading);font-size:25px;letter-spacing:-1px;margin:14px 0}.place-card p{font-size:12px;line-height:1.95;color:var(--muted);word-break:keep-all}.close-button{position:absolute;right:12px;top:12px;padding:5px;background:transparent;display:grid;place-items:center;border-radius:3px}.close-button svg{width:16px;height:16px}.text-button{display:flex;align-items:center;gap:18px;background:transparent;font-size:11px;padding:9px 0 0}.text-button svg{width:15px;height:15px}.toast{position:fixed;left:50%;bottom:80px;transform:translate(-50%,10px);background:#344b3bf0;color:#f3f6ed;padding:13px 20px;border-radius:6px;opacity:0;transition:.3s;z-index:20;pointer-events:none;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.story-dialog{border:1px solid #fff;background:var(--surface);color:var(--ink);border-radius:12px;padding:49px 45px;max-width:480px;width:calc(100% - 36px);box-shadow:0 20px 100px #253d2629}.story-dialog::backdrop{background:#253d2648;backdrop-filter:blur(6px)}.story-dialog h2{font-family:var(--heading);font-size:37px;font-weight:400;line-height:1.5;letter-spacing:-1.5px}.story-dialog>p{color:var(--muted);font-size:13px;line-height:2;word-break:keep-all}.story-note{border-top:1px solid var(--line);margin:25px 0;padding-top:20px;display:flex;gap:12px;font-size:11px;line-height:1.8;color:var(--muted)}.story-note svg{width:18px;height:18px}.world-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:30px;border-radius:8px;background:var(--surface);z-index:10;min-width:280px}.world-error p{font-size:12px;color:var(--muted)}.world-error button{padding:9px 14px;background:var(--accent);color:white;border-radius:4px}body.evening{--paper:#d5dcd4;--ink:#3c4b43;--muted:#62746a;--line:#bfcbbf;--surface:#f0f3e9}body.touring .walk-button{background:#6b7e5d}@keyframes breathe{50%{transform:translateY(-5px);opacity:.5}}
@media(min-width:1700px){h1{font-size:57px}.introduction{top:17%}.intro-copy{font-size:15px}.location-card{width:340px;padding:26px 22px}.location-card p:last-child{font-size:11px}#world{inset:-3% 0 4% 18%}}
@media(max-height:780px) and (min-width:801px){.site-header{height:90px}main{height:calc(100svh - 145px);min-height:440px}.introduction{top:8%}h1{font-size:38px;margin:14px 0;line-height:1.45}.intro-copy{font-size:12px;margin-bottom:19px}.village-coordinate{margin-top:25px}.location-card,.place-card{bottom:12%}.scene-toolbar{bottom:9%}.scene-hint{bottom:1%}footer{height:55px}}
@media(max-width:1050px){.header-weather>span:last-child,.weather-divider{display:none}.site-header{padding:0 4%}.introduction{left:4%;top:11%}h1{font-size:36px}.location-card,.place-card{left:4%;width:285px}#world{left:16%;right:-9%}.scene-toolbar{right:4%}.scene-hint{left:58%;font-size:9px;gap:7px}.scene-hint span:last-child,.scene-hint i:last-of-type{display:none}.compass{right:3%;top:9%}.village-coordinate{font-size:9px}}
@media(max-width:700px){body{overflow:hidden}.site-header{height:84px;padding:0 6%}.brand{font-size:21px;gap:8px}.brand-mark{width:32px}.brand-mark svg{width:31px;height:31px}.brand small{font-size:7px;letter-spacing:2.5px}.brand-mark i{right:-3px;top:5px;width:7px;height:4px}nav{left:auto;right:6%;transform:none;border:none;padding:0}.nav-button{font-size:11px;padding:9px 12px}.nav-button.active{display:none}.header-weather{display:none}main{height:calc(100svh - 130px);min-height:0}.introduction{top:3%;left:7%;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:1px}h1{font-size:29px;line-height:1.45;letter-spacing:-1.5px;margin:12px 0}.intro-copy{font-size:11px;line-height:1.8;margin:0}.walk-button{font-size:10px;padding:10px 13px;gap:16px;margin-top:15px}.village-coordinate{display:none}#world{inset:19% -12% 11% -12%}.compass{top:7%;right:6%;transform:scale(.8);transform-origin:top right}.location-card{bottom:13%;left:7%;width:auto;max-width:220px;padding:12px;gap:9px}.location-drawing{width:40px;height:44px;padding-right:8px}.location-drawing svg{width:40px;height:43px}.location-card h2{font-size:14px;margin-bottom:4px}.card-eyebrow{font-size:8px;margin-bottom:4px;letter-spacing:.6px}.location-card p:last-child{font-size:8px}.card-stamp{display:none}.scene-toolbar{right:7%;left:7%;bottom:3%;justify-content:center;gap:8px;padding:6px 9px}.time-button{padding:9px 16px}.icon-button{width:36px}.scene-hint{bottom:-1.5%;left:50%;font-size:8px;gap:8px}.scene-hint>svg{width:12px;height:12px}.place-card{left:7%;bottom:13%;width:260px;padding:19px}.place-card h2{font-size:21px;margin:10px 0}.place-card p{font-size:11px;margin:8px 0}.place-kicker{font-size:8px}.text-button{font-size:10px}.marker{font-size:9px;padding:6px 9px;gap:5px}footer{height:46px;margin:0 7%;font-size:8px}footer>span{display:none}.footer-credit{font-size:8px}.footer-sprout{font-size:14px}.toast{bottom:115px;white-space:nowrap;font-size:11px}.story-dialog{padding:37px 28px}.story-dialog h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
