@import url('/fonts/fonts.css');

:root{
  color-scheme:dark;
  --ground:#171426;--surface:#211d35;--raised:#2c2743;--control:#4c4567;
  --text:#f7f5fb;--muted:#bbb5cd;--faint:#a49db9;--accent:#b5eb61;--accent-hover:#c8f486;
  --pink:#ec708c;--purple:#8a6adb;--map-ink:#262236;--border:#39324f;
  --radius:16px;--radius-small:8px;--font:'DM Sans','Pretendard Variable',sans-serif;
  --display:'Barlow Condensed','Pretendard Variable',sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:var(--control) var(--ground)}
body{margin:0;background:var(--ground);color:var(--text);font:15px/1.55 var(--font);-webkit-font-smoothing:antialiased}
button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}
button{border:0;color:inherit;background:none}a{color:inherit;text-decoration:none;text-underline-offset:3px}img{display:block;max-width:100%}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
::selection{background:var(--accent);color:var(--ground)}button,a,input{touch-action:manipulation}input{caret-color:var(--accent)}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15;text-wrap:balance}p{text-wrap:pretty}h1{font-weight:700;letter-spacing:-.025em}
.icon{flex:none;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.container{max-width:1320px;margin:auto;padding:0 40px}
.skip-link{position:fixed;z-index:9999;top:8px;left:8px;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;background:var(--accent);color:var(--ground)}.skip-link:focus{clip-path:none;width:auto;height:auto;overflow:visible;padding:12px}
.topbar{height:76px;background:#131020;border-bottom:1px solid #2e2841}.nav-inner{height:100%;max-width:1400px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:70px}
.brand{display:flex;align-items:center;gap:9px;flex:none}.brand>span{font:italic 800 28px/1 var(--display);letter-spacing:-.02em}.brand-and{color:var(--pink);font-size:24px;padding:0 2px}
.topbar nav{display:flex;align-items:stretch;gap:34px;height:100%}.topbar nav>a{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;padding-top:3px}
.topbar nav>a:hover,.topbar nav>a.active{color:var(--text)}.topbar nav>a.active{border-bottom-color:var(--pink)}.topbar nav .icon{width:18px;height:18px}
.saved-count{display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:6px;background:var(--raised);font-size:11px;color:var(--muted)}
.nav-tools{margin-left:auto;display:flex;align-items:center;gap:18px}.language{display:flex;align-items:center;gap:7px;min-height:44px;font-size:12px;font-weight:700}.language .icon{width:18px}
.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-small);color:var(--muted);flex:none}.icon-button:hover{background:var(--raised);color:var(--text)}.icon-button:disabled{color:#777087}.icon-button:disabled:hover{background:none}
.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:13px 22px;min-height:48px;font-size:14px;font-weight:700;border-radius:999px;transition:background .15s ease,transform .15s ease;white-space:nowrap}
.primary{background:var(--accent);color:#1d2c13}.primary:hover{background:var(--accent-hover);transform:translateY(-1px)}.primary:active{transform:translateY(0)}.primary:disabled{background:#4b465c;color:#e0dbe9;transform:none}.primary .icon{width:19px;height:19px}
.secondary{border:1px solid var(--control);background:var(--surface);color:var(--text)}.secondary:hover{background:var(--raised)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;min-height:44px;color:var(--muted);padding:0 2px}.text-button:hover{color:var(--text)}.text-button .icon{width:17px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 0 25px}.page-heading h1{font-size:32px}.page-heading p{font-size:14px;color:var(--muted);margin-top:9px}.location-label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);white-space:nowrap}.location-label .icon{width:15px}
/* 1240 px content = 812 px photograph + 24 px gap + 404 px map. */
.discovery-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:24px;align-items:stretch}
.featured{position:relative;border-radius:var(--radius);overflow:hidden;min-height:435px;isolation:isolate;background:var(--surface)}.featured-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 56%;z-index:-3}
.photo-scrim{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(10,9,18,.77) 0%,rgba(10,9,18,.3) 70%,rgba(10,9,18,.12)),linear-gradient(0deg,rgba(10,9,18,.4),transparent 65%)}
.featured-top{position:absolute;top:22px;left:26px;right:22px;display:flex;justify-content:space-between;align-items:center}.trail-badge{display:flex;align-items:center;gap:7px;background:#211d35;border:1px solid #615770;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:600}.trail-badge .icon{width:15px;height:15px;color:var(--accent)}
.photo-credit{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--surface);color:var(--text)}.photo-credit:hover{background:var(--raised)}
.featured-copy{padding:106px 32px 42px;max-width:510px}.featured-copy h2{font:700 60px/.98 var(--display);letter-spacing:-.015em;text-wrap:initial}.featured-copy p{font-size:14px;color:#eee9f4;line-height:1.6;max-width:350px;margin:18px 0 20px}.trail-meta{display:flex;gap:19px;flex-wrap:wrap;margin:0 0 23px;font-size:11px;color:#ece7f4}.trail-meta>span{display:flex;align-items:center;gap:6px}.trail-meta .icon{width:14px;height:14px}.start-button{padding:13px 23px;min-width:218px}.start-button>.icon:last-child{margin-left:auto}
.image-credit-inline{position:absolute;right:16px;bottom:10px;color:#fff;background:rgba(18,15,28,.75);font-size:11px;padding:2px 5px;border-radius:3px}
.neighborhood-panel{display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 18px}.panel-heading h2{font-size:17px;font-weight:600}.panel-heading p{margin-top:6px;color:var(--muted);font-size:12px}.panel-heading>.icon{color:var(--pink);width:23px;height:23px}.home-map{min-height:245px;flex:1;background:#eceade}
.neighborhood-bottom{display:flex;align-items:center;gap:12px;padding:18px}.neighborhood-bottom p{font-size:12px;line-height:1.5;color:var(--muted)}.neighborhood-bottom>.icon-button{margin-left:auto;width:32px}.place-stack{display:flex;padding-left:2px;flex:none}.place-stack img{border-radius:50%;object-fit:cover;border:3px solid var(--surface);margin-left:-5px;width:37px;height:37px}.place-stack img:first-child{margin-left:0}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0 12px}.section-heading h2{font-size:18px;font-weight:600}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.preview-card{padding:0;display:flex;align-items:center;background:var(--surface);border-radius:12px;overflow:hidden;text-align:left;min-width:0;transition:background .15s ease}.preview-card:hover{background:var(--raised)}.preview-card>img{width:108px;height:91px;object-fit:cover;flex:none}.preview-text{padding:14px;min-width:0;display:flex;flex-direction:column;gap:4px}.preview-text strong{font-size:14px;font-weight:600}.preview-text>span{font-size:11px;color:var(--muted)}.preview-card>.icon{margin-left:auto;margin-right:13px;width:15px;color:var(--muted)}
.footer{display:flex;justify-content:space-between;align-items:center;max-width:1320px;margin:24px auto 0;padding:18px 40px 24px;gap:20px;color:var(--faint);font-size:11px}.footer button{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);min-height:32px}.footer .icon{width:12px;height:12px}.footer button:hover{color:var(--text)}
/* The map keeps the map provider's original colors and attribution. */
.leaflet-container{font-family:var(--font);color:var(--map-ink);isolation:isolate}.leaflet-control-attribution{font-size:11px!important;line-height:1.6!important;background:#ffffffed!important;color:#444!important}.leaflet-control-attribution a{color:#335a7b!important}.leaflet-control-zoom{border:0!important;border-radius:8px!important;box-shadow:0 2px 6px #0002!important;overflow:hidden}.leaflet-control-zoom a{color:#333!important;background:#fff!important;font:500 20px/30px var(--font)!important}.leaflet-control-zoom a:hover{background:#f0eef5!important}.custom-pin{background:none;border:none}.map-pin{height:32px;width:32px;display:flex;align-items:center;justify-content:center;border:3px solid #fff;background:#6f4bc1;color:#fff;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);font-size:0;box-shadow:0 2px 5px #0003}.map-pin::after{content:attr(data-number)}.custom-pin .map-pin{font:700 13px var(--font)}
.custom-pin .map-pin{border-radius:50%;transform:none;position:relative}.map-pin:before{content:'';position:absolute;width:10px;height:10px;background:inherit;bottom:-5px;left:8px;transform:rotate(45deg);z-index:-1;border-bottom:2px solid white;border-right:2px solid white}.map-pin.answer{background:#477520}.map-pin.answer .icon{width:17px;height:17px}.leaflet-marker-icon:focus{outline:3px solid #1e153c;outline-offset:3px}.tile-notice{position:absolute;left:8px;right:8px;top:8px;z-index:500;background:#fff;color:#332b48;padding:7px 10px;font-size:11px;border-radius:6px;pointer-events:none}.map-fallback{display:grid;place-content:center;padding:20px;background:#ebe8f2;color:#332b48;height:100%;font-size:14px}.map-fallback button{color:#6043b2;text-decoration:underline;padding:15px}
.game-toolbar{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px;background:var(--ground)}.game-toolbar>.text-button{justify-content:flex-start;min-width:220px}.round-progress{display:flex;align-items:center;gap:22px;font-size:13px}.round-progress strong{font-size:18px;margin-left:5px}.progress-dots{display:flex;gap:6px}.progress-dots i{width:7px;height:7px;background:var(--control);border-radius:50%}.progress-dots i.current{background:var(--accent);width:22px;border-radius:8px}.progress-dots i.done{background:var(--pink)}.score-total{display:flex;gap:8px;align-items:center;justify-content:flex-end;min-width:220px;font-size:12px;color:var(--muted)}.score-total>.icon{color:var(--accent);width:17px}.score-total strong{font-size:18px;color:var(--text);font-variant-numeric:tabular-nums}
.game-stage{position:relative;isolation:isolate;min-height:640px;height:calc(100svh - 142px);overflow:hidden;background:var(--surface)}.photo-canvas{position:absolute;inset:0;overflow:hidden;z-index:-2;background:#302a3b}.photo-canvas>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;transition:transform .2s ease-out}.game-photo-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,9,18,.9) 0%,rgba(10,9,18,.12) 55%,transparent 75%)}
.photo-tools{position:absolute;left:26px;top:24px;display:flex;background:var(--ground);border:1px solid var(--control);border-radius:10px;padding:3px;gap:2px}.photo-tools .icon-button{width:35px;height:35px;color:var(--text)}
.scene-copy{position:absolute;bottom:77px;left:42px;width:calc(100% - 535px);max-width:580px}.scene-copy h1{font:700 56px/1.05 var(--display);letter-spacing:-.015em;max-width:560px}.scene-copy>p{font-size:15px;line-height:1.6;color:#f0ebf7;margin-top:16px;max-width:440px}.hint-button{display:inline-flex;align-items:center;gap:8px;font-size:13px;border:1px solid #81768f;background:#211d35;padding:10px 15px;border-radius:999px;margin-top:20px}.hint-button .icon{width:16px;height:16px;color:var(--accent)}.hint-button:hover{background:#393149}.hint-button.open{background:var(--raised);border-color:var(--accent)}.scene-copy .hint-copy{background:var(--ground);padding:14px 18px;border-radius:10px;color:var(--text);font-size:13px;margin-top:12px;max-width:430px}
.guess-panel{position:absolute;right:28px;bottom:50px;width:374px;overflow:hidden;background:var(--ground);border-radius:14px;box-shadow:0 6px 25px #0003}.guess-panel-header{padding:15px 17px 12px;display:flex;justify-content:space-between;gap:10px;align-items:center}.guess-panel-header strong{font-size:14px}.guess-panel-header>span{font-size:11px;color:var(--muted)}.guess-map{height:246px;background:#e9e7dc}.candidate-row{display:flex;gap:9px;padding:12px 16px 0}.candidate-row button{flex:1;height:37px;border-radius:7px;background:var(--raised);font-size:13px;color:var(--muted);border:1px solid var(--control)}.candidate-row button:hover,.candidate-row button.selected{border-color:var(--accent);color:var(--accent)}.guess-submit{width:calc(100% - 28px);margin:12px 14px 0;min-height:45px;font-size:14px}.skip-guess{width:100%;font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;min-height:39px;padding:7px}.skip-guess:hover{color:var(--text)}
.stage-credit{position:absolute;bottom:15px;left:26px;right:26px;display:flex;align-items:center;gap:8px;font-size:11px;color:#ece7f0}.stage-credit>.icon{width:13px;height:13px}.stage-credit>span{background:#151120c9;padding:2px 4px}.stage-credit button{text-decoration:underline;background:#151120c9;font-size:11px;padding:4px 7px;border-radius:4px}.reveal-mark{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:13px;font-weight:700;margin-bottom:14px}.reveal-mark>.icon{width:17px;height:17px}.scene-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}.round-link{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--text);min-height:44px}.round-link .icon{width:15px}.saved{color:var(--accent);border-color:var(--accent)}.result-stat{display:flex;gap:22px;justify-content:space-between;padding:16px 20px 0}.result-stat>div{display:flex;flex-direction:column;gap:2px}.result-stat strong{font-size:23px;font-variant-numeric:tabular-nums;line-height:1.2}.result-stat span{font-size:11px;color:var(--muted)}.result-stat>div:last-child{text-align:right}.revealed .guess-submit{margin-bottom:15px}.revealed .scene-copy h1{font-size:60px}
.saved-page .page-heading{padding-top:40px}.saved-actions{display:flex;gap:20px;align-items:center}.saved-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,1fr);gap:32px;align-items:start}.list-summary{display:flex;justify-content:space-between;align-items:center;padding:0 0 18px;font-size:13px}.list-summary span{font-size:12px;color:var(--muted)}.place-row{display:flex;gap:17px;align-items:center;padding:21px 0;border-top:1px solid var(--border)}.place-image{position:relative;padding:0;flex:none;width:126px;height:123px;border-radius:10px;overflow:hidden}.place-image img{width:100%;height:100%;object-fit:cover}.place-image>span{position:absolute;top:8px;left:8px;background:var(--ground);width:25px;height:25px;border-radius:50%;font-size:11px;display:grid;place-items:center}.place-info{flex:1;min-width:0}.place-kind{color:var(--muted);font-size:11px}.place-title{display:block;text-align:left;padding:5px 0}.place-title:hover{text-decoration:underline}.place-title h2{font-size:19px}.place-info p{color:var(--muted);font-size:12px;line-height:1.6;margin:3px 0 7px}.place-info>a{font-size:11px;display:inline-flex;align-items:center;gap:5px;min-height:26px}.place-info>a .icon{width:12px;height:12px}.place-actions{display:flex;flex-direction:column;gap:3px}.place-actions .icon-button{width:32px;height:32px}.place-actions .icon{width:16px;height:16px}.is-saved{color:var(--accent)!important}
.route-panel{background:var(--surface);border-radius:var(--radius);overflow:hidden;position:sticky;top:24px}.route-map{height:330px;background:#e9e7dc}.route-info{padding:24px}.route-info h2{font-size:22px}.route-info p{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 20px}.route-info .primary{width:100%;font-size:13px;margin-top:2px;white-space:normal;text-align:center;padding:12px 16px;gap:8px}.route-info .primary .icon{flex-shrink:0}.route-distance{display:flex;gap:8px;align-items:center;margin:0 0 20px;font-size:13px}.route-distance .icon{color:var(--pink);width:17px}.route-distance span{font-size:11px;color:var(--muted)}.route-info .route-note{margin:12px 0 0;font-size:11px}.empty-map{min-height:380px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:35px;gap:18px;background:var(--surface);border-radius:var(--radius)}.empty-map>.icon{width:38px;height:38px;color:var(--pink)}.empty-map h2{font-size:25px;max-width:300px}.empty-map p{font-size:14px;max-width:310px;color:var(--muted)}.empty-map .primary{margin-top:12px}.notice{padding:16px;border-radius:8px;background:var(--raised);margin-bottom:20px;font-size:14px}
.complete-page{padding-top:42px}.complete-heading{text-align:center}.complete-heading>.icon{width:40px;height:40px;color:var(--accent);margin-bottom:17px}.complete-heading h1{font-size:36px}.complete-heading>p{font-size:15px;color:var(--muted);margin:12px 0}.complete-score{display:flex;justify-content:center;align-items:baseline;gap:9px;margin:24px 0 36px;font-size:12px;color:var(--muted)}.complete-score>strong{font-size:27px;color:var(--text);font-variant-numeric:tabular-nums}.score-separator{height:22px;width:1px;background:var(--control);align-self:center;margin:0 12px}.discovered-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.discovered-card{background:var(--surface);border-radius:12px;overflow:hidden}.discovered-photo{width:100%;padding:0;position:relative}.discovered-photo img{width:100%;height:180px;object-fit:cover}.discovered-photo>span{position:absolute;bottom:10px;left:10px;border-radius:5px;background:var(--ground);padding:4px 8px;font-size:11px}.discovered-card>div{padding:17px}.discovered-card h2{font-size:17px;min-height:20px}.discovered-card p{color:var(--muted);font-size:11px;margin:7px 0 16px}.save-row{display:flex;align-items:center;gap:7px;padding:12px 0 0;border-top:1px solid var(--border);font-size:11px;color:var(--muted);width:100%;text-align:left;min-height:40px}.save-row>.icon{width:16px;height:16px}.complete-actions{display:flex;justify-content:center;align-items:center;gap:26px;margin-top:35px}
dialog{padding:0;border:1px solid var(--control);background:var(--surface);color:var(--text);border-radius:20px;width:min(560px,calc(100% - 32px));max-height:calc(100svh - 40px);box-shadow:0 16px 60px #0005;scrollbar-width:thin}dialog::backdrop{background:rgba(8,6,17,.78)}.dialog-close{position:absolute;right:14px;top:14px;z-index:5;background:var(--ground);color:var(--text);border-radius:50%}.dialog-copy{padding:38px}.dialog-copy h2{font-size:28px;padding-right:25px;margin-bottom:18px}.dialog-copy>p{font-size:14px;color:var(--muted);margin-bottom:22px}.dialog-copy .primary{margin-top:20px}.how-list{padding-left:22px;margin:25px 0}.how-list li{padding-left:6px;margin:0 0 24px}.how-list li::marker{color:var(--accent);font-weight:700}.how-list strong{font-size:16px}.how-list p{font-size:14px;color:var(--muted);margin-top:7px}.detail-photo{width:100%;height:260px;object-fit:cover}.detail-body{padding:29px 32px}.detail-body h2{font-size:28px;margin-bottom:14px}.detail-description{font-size:15px;line-height:1.65;color:var(--muted)}.detail-body h3{font-size:16px;margin:23px 0 9px}.detail-body>p:not(.detail-source){color:var(--muted);font-size:14px}.detail-korean{margin:22px 0;display:flex;flex-direction:column;gap:8px;background:var(--ground);padding:16px;border-radius:10px}.detail-korean>span{font-size:11px;color:var(--muted)}.detail-korean>strong{font-size:23px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.detail-actions .primary,.detail-actions .secondary{min-height:44px;font-size:13px;padding:12px 18px}.detail-source{font-size:11px;color:var(--faint);line-height:1.8;margin-top:24px}.detail-source a{text-decoration:underline}.credit-row{display:flex;align-items:center;gap:15px;padding:17px 0;border-top:1px solid var(--border)}.credit-row>img{width:70px;height:65px;object-fit:cover;border-radius:6px}.credit-row strong{font-size:14px}.credit-row p{font-size:11px;color:var(--muted);margin:4px 0}.credit-row a{font-size:11px;text-decoration:underline;color:var(--muted)}.share-label{font-size:12px;display:block;margin-bottom:8px;color:var(--muted)}.share-input{width:100%;border:1px solid var(--control);border-radius:8px;background:var(--ground);color:var(--text);padding:13px;font-size:13px}.dialog-copy>.small{font-size:11px;margin-top:18px}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:var(--text);color:var(--ground);box-shadow:0 6px 24px #0003;padding:12px 22px;border-radius:999px;z-index:2000;font-size:13px;font-weight:600;transition:opacity .2s,transform .2s;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.image-error{padding:12px;background:var(--raised);color:var(--text);font-size:12px;position:absolute;inset:0;display:grid;place-items:center}.failed{visibility:hidden}
[lang="ko"] .featured-copy h2{font-family:var(--font);font-size:43px;line-height:1.2;letter-spacing:-.03em}[lang="ko"] .scene-copy h1{font-family:var(--font);font-size:40px;line-height:1.2}[lang="ko"] .page-heading h1{font-size:29px}[lang="ko"] .guess-panel-header>span{font-size:11px}
@media(min-width:1600px){.game-stage .scene-copy{left:max(48px,calc((100vw - 1400px)/2));bottom:100px}.guess-panel{right:max(40px,calc((100vw - 1400px)/2));width:420px}.guess-map{height:285px}}
@media(max-width:1100px){.container{padding:0 28px}.nav-inner{padding:0 28px;gap:40px}.featured-copy{padding-left:25px;max-width:450px}.featured-copy h2{font-size:54px}.discovery-grid{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:18px}.preview-card>img{width:80px;height:86px}.preview-text{padding:11px}.preview-text strong{font-size:12px}.preview-card>.icon{display:none}.preview-grid{gap:12px}.footer{padding-left:28px;padding-right:28px}.scene-copy{left:27px;width:calc(100% - 435px);bottom:70px}.scene-copy h1,.revealed .scene-copy h1{font-size:47px}.guess-panel{right:20px;width:350px}.scene-actions{gap:6px}.game-toolbar{padding:0 24px}.game-toolbar>.text-button,.score-total{min-width:170px}.round-progress{gap:14px}.saved-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px}.place-image{width:90px;height:105px}.place-row{gap:12px}.place-info p{font-size:11px}.place-title h2{font-size:16px}.place-actions .icon-button{width:27px}.discovered-grid{gap:12px}.discovered-photo img{height:150px}.discovered-card>div{padding:12px}.discovered-card h2{font-size:14px}.route-info{padding:20px}}
@media(max-width:800px){.topbar{height:66px}.nav-inner{gap:28px;padding:0 24px}.topbar nav{gap:22px}.nav-tools{gap:9px}.brand>span{font-size:25px}.brand>img{width:30px;height:30px}.page-heading{padding-top:29px;align-items:flex-start}.page-heading h1{font-size:29px}.location-label{display:none}.discovery-grid{grid-template-columns:1fr 290px;gap:16px}.featured{min-height:425px}.featured-copy{padding-top:110px;padding-bottom:35px}.featured-copy h2{font-size:48px}.featured-copy p{font-size:13px}.trail-meta{gap:12px}.trail-meta>span:last-child{display:none}.featured-top{left:20px;right:17px}.featured-copy{padding-left:22px;padding-right:18px}.panel-heading{padding:21px 17px}.panel-heading h2{font-size:15px}.home-map{min-height:240px}.neighborhood-bottom{padding:16px 12px;gap:9px}.neighborhood-bottom p{font-size:11px}.place-stack img{width:30px;height:30px}.neighborhood-bottom>.icon-button{width:24px}.preview-card{flex-wrap:wrap}.preview-card>img{width:100%;height:130px}.preview-text{padding:13px}.preview-text strong{font-size:14px}.preview-text>span{font-size:11px}.preview-card>.icon{display:block;margin-right:13px}.game-toolbar{height:64px;padding:0 20px}.game-toolbar>.text-button{min-width:0;font-size:12px}.score-total{min-width:0}.score-total>span{display:none}.round-progress{flex-direction:column;gap:5px}.round-progress>span{font-size:11px}.round-progress strong{font-size:14px}.progress-dots i{height:5px;width:5px}.progress-dots i.current{width:15px}.game-stage{height:calc(100svh - 130px);min-height:680px}.guess-panel{width:310px;right:20px;bottom:50px}.guess-map{height:235px}.guess-panel-header{padding:13px}.guess-panel-header>span{font-size:11px}.guess-panel-header strong{font-size:13px}.scene-copy{left:24px;width:calc(100% - 385px);bottom:75px}.scene-copy>p{font-size:13px}.scene-copy h1,.revealed .scene-copy h1{font-size:42px}.hint-button{font-size:11px;padding:9px 12px}.scene-copy .hint-copy{font-size:12px;padding:12px}.scene-actions .primary,.scene-actions .secondary{font-size:12px;padding:12px 16px}.saved-page .page-heading{flex-direction:column;gap:16px}.saved-actions{justify-content:space-between;width:100%}.saved-layout{grid-template-columns:1fr}.route-panel{position:static;grid-row:1}.route-map{height:270px}.route-info{display:grid;grid-template-columns:1fr 220px;gap:12px 24px;align-items:center}.route-info>div:first-child{grid-row:span 2}.route-info h2{font-size:20px}.route-info p{margin-bottom:0}.route-info .route-distance{margin:0}.route-info .route-note{grid-column:1/-1}.place-image{width:126px;height:110px}.place-title h2{font-size:20px}.place-info p{font-size:13px}.place-actions .icon-button{width:40px;height:34px}.discovered-grid{grid-template-columns:repeat(3,1fr)}.discovered-photo img{height:180px}.discovered-card h2{font-size:17px}.complete-heading h1{font-size:31px}}
@media(max-width:600px){.topbar{height:64px}.nav-inner{padding:0 18px;gap:0;justify-content:space-between}.brand{gap:5px}.brand>span{font-size:23px}.brand>img{width:29px;height:29px}.brand-and{font-size:20px}.topbar nav{margin-left:auto;margin-right:17px;gap:18px}.topbar nav>a{font-size:0;gap:4px}.topbar nav>a>.icon{width:21px;height:21px}.topbar nav>a .saved-count{font-size:11px;min-width:16px;height:17px;padding:0 4px}.nav-tools{margin:0}.help-button{display:none}.language{gap:4px;font-size:11px}.language .icon{width:16px}.container{padding:0 18px}.page-heading{padding:27px 0 21px}.page-heading h1{font-size:27px;line-height:1.15}.page-heading p{font-size:12px;margin-top:9px;max-width:305px}.discovery-grid{display:flex;flex-direction:column;gap:18px}.featured{min-height:421px}.featured-copy{padding:110px 25px 45px;max-width:360px}.featured-copy h2{font-size:57px}.featured-copy p{font-size:13px;max-width:280px;margin:16px 0 18px}.featured-top{left:20px;top:19px}.trail-badge{font-size:11px;padding:6px 10px}.photo-credit{width:32px;height:32px}.trail-meta{font-size:11px;gap:18px;margin-bottom:22px}.trail-meta>span:last-child{display:flex}.trail-meta .icon{width:13px;height:13px}.start-button{min-width:205px;font-size:13px;min-height:47px}.image-credit-inline{font-size:11px;bottom:8px;right:10px}.neighborhood-panel{display:grid;grid-template-columns:1fr 136px;min-height:160px;position:relative}.panel-heading{padding:19px 16px 10px;grid-column:1;grid-row:1;align-items:start}.panel-heading h2{font-size:14px;max-width:135px}.panel-heading p{font-size:11px}.panel-heading>.icon{display:none}.home-map{grid-column:2;grid-row:1/3;min-height:160px;width:136px}.neighborhood-bottom{padding:8px 16px 17px;grid-column:1;grid-row:2;flex-wrap:wrap;gap:9px}.neighborhood-bottom p{font-size:11px;max-width:100px}.neighborhood-bottom .icon-button{display:none}.place-stack img{width:27px;height:27px;border-width:2px}.home-map .leaflet-control-zoom{display:none}.home-map .leaflet-control-attribution{font-size:9px!important}.section-heading{margin-top:26px;align-items:flex-start;gap:8px}.section-heading h2{font-size:16px;max-width:170px}.section-heading .text-button{font-size:11px;min-height:24px;gap:4px;white-space:nowrap}.section-heading .text-button .icon{width:13px}.preview-grid{grid-template-columns:1fr;gap:10px}.preview-card{flex-wrap:nowrap}.preview-card>img{width:90px;height:80px}.preview-text{padding:14px}.preview-card>.icon{width:15px;margin-right:17px}.footer{padding:20px 18px 24px;gap:10px;margin-top:9px;font-size:11px}.footer>span{max-width:190px}.footer button{font-size:11px;white-space:nowrap}.footer .icon{width:10px;height:10px}.game-toolbar{height:62px;gap:8px;padding:0 16px}.game-toolbar>.text-button{max-width:130px;font-size:11px;gap:6px}.game-toolbar>.text-button>span{max-width:105px}.game-toolbar>.text-button>.icon{width:15px}.round-progress{font-size:11px;gap:4px}.score-total{gap:5px}.score-total>.icon{width:13px}.score-total strong{font-size:14px}.game-stage{height:auto;min-height:0;overflow:visible;display:flex;flex-direction:column;padding-top:275px;background:var(--ground)}.photo-canvas{position:absolute;inset:0 0 auto;height:400px;z-index:0}.photo-canvas>img{object-position:center 50%}.game-photo-shade{background:linear-gradient(0deg,var(--ground),rgba(23,20,38,.3) 70%,transparent)}.photo-tools{top:16px;left:16px;z-index:2;padding:2px}.photo-tools .icon-button{height:30px;width:30px}.photo-tools .icon{height:17px;width:17px}.scene-copy{position:relative;left:auto;bottom:auto;width:auto;max-width:none;padding:0 22px 22px;z-index:2}.scene-copy h1,.revealed .scene-copy h1{font-size:39px;line-height:1.05}.scene-copy>p{font-size:13px;margin-top:12px;max-width:none}.hint-button{margin-top:14px;font-size:11px;min-height:40px}.scene-copy .hint-copy{font-size:12px;margin-top:10px;padding:12px;max-width:none;border:1px solid var(--border)}.guess-panel{position:relative;right:auto;bottom:auto;width:calc(100% - 32px);margin:0 16px 18px;box-shadow:none;border:1px solid var(--border);z-index:2;background:var(--surface)}.guess-panel-header{padding:14px 13px}.guess-panel-header>span{font-size:11px}.guess-panel-header strong{font-size:13px}.guess-map{height:220px}.candidate-row{padding:12px 12px 0;gap:7px}.candidate-row button{height:44px;background:var(--ground)}.guess-submit{min-height:46px;font-size:13px}.skip-guess{min-height:44px;font-size:11px}.stage-credit{position:relative;bottom:auto;left:auto;right:auto;font-size:11px;padding:0 18px 18px;gap:4px;z-index:2}.stage-credit>span{font-size:11px;background:none;padding:0}.stage-credit>.icon{width:11px;height:11px}.stage-credit button{margin-left:auto;min-height:32px;font-size:11px}.scene-actions{margin-top:17px;gap:12px}.scene-actions .primary,.scene-actions .secondary{font-size:12px;min-height:44px}.round-link{font-size:11px}.reveal-mark{font-size:11px;margin-bottom:11px}.result-stat{padding:15px 17px 2px}.result-stat strong{font-size:22px}.result-stat span{font-size:11px}.saved-page .page-heading{padding-top:27px}.saved-actions{gap:15px}.saved-actions .secondary{font-size:12px;min-height:42px;padding:10px 16px}.saved-actions .text-button{font-size:12px}.saved-layout{gap:23px}.route-map{height:275px}.route-info{display:block;padding:20px}.route-info h2{font-size:23px}.route-info p{margin:10px 0 16px;font-size:12px}.route-info .route-distance{margin:17px 0;font-size:13px}.route-info .primary{font-size:13px}.route-info .route-note{font-size:11px;margin:12px 0 0}.list-summary{font-size:12px;padding-bottom:12px}.list-summary>span{font-size:11px}.place-row{gap:12px;align-items:flex-start;padding:17px 0}.place-image{width:84px;height:104px}.place-info p{font-size:11px;line-height:1.55}.place-kind{font-size:11px}.place-title h2{font-size:17px}.place-info>a{font-size:11px;min-height:32px}.place-actions{gap:1px}.place-actions .icon-button{width:32px;height:34px}.place-actions .icon{width:15px;height:15px}.empty-map{padding:28px 20px;min-height:310px}.empty-map h2{font-size:23px}.complete-page{padding-top:30px}.complete-heading>.icon{width:32px;height:32px;margin-bottom:14px}.complete-heading h1{font-size:27px;max-width:320px;margin:auto}.complete-heading>p{font-size:13px}.complete-score{flex-wrap:wrap;gap:7px;margin:22px 0 27px;font-size:11px}.complete-score>strong{font-size:23px}.score-separator{margin:0 7px}.discovered-grid{grid-template-columns:repeat(2,1fr);gap:13px}.discovered-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.discovered-card:last-child .discovered-photo img{height:150px}.discovered-card:last-child>div{padding-top:24px}.discovered-photo img{height:150px}.discovered-card h2{font-size:16px}.discovered-card p{font-size:11px;min-height:16px;margin:7px 0 10px}.save-row{font-size:11px;gap:5px;min-height:42px}.save-row .icon{width:14px}.complete-actions{gap:15px;flex-direction:column;margin-top:28px}.complete-actions .primary{width:100%}.dialog-copy{padding:32px 25px}.dialog-copy h2{font-size:25px;padding-right:26px}.dialog-copy>p{font-size:13px}.detail-photo{height:225px}.detail-body{padding:25px}.detail-body h2{font-size:25px}.detail-body>p{font-size:13px}.detail-korean strong{font-size:20px}.detail-actions{display:flex;flex-direction:column}.detail-source{font-size:11px}.dialog-close{width:36px;height:36px;top:12px;right:12px}.credit-row{gap:12px}.credit-row>img{width:58px;height:64px}.credit-row strong{font-size:13px}.credit-row p,.credit-row a{font-size:11px}.toast{bottom:20px;font-size:12px;padding:11px 18px}[lang="ko"] .featured-copy h2{font-size:42px;line-height:1.2}[lang="ko"] .page-heading h1{font-size:25px}[lang="ko"] .scene-copy h1{font-size:30px}[lang="ko"] .trail-meta{gap:12px}[lang="ko"] .complete-heading h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Comfortable touch targets; desktop composition stays compact. */
@media(max-width:600px){.featured-copy h2{font-size:clamp(40px,12.3vw,48px)}}
@media(pointer:coarse){.icon-button,.photo-tools .icon-button,.photo-credit,.place-actions .icon-button{min-width:44px;min-height:44px}.place-actions{gap:2px}}

/* Review: descriptive course metadata follows the title; Korean has its own font. */
[lang="ko"]{--font:"Pretendard Variable","DM Sans",sans-serif}
[lang="ko"] h1,[lang="ko"] h2,[lang="ko"] h3{word-break:keep-all}
.featured-top{justify-content:flex-end}
.trail-location{display:flex;align-items:center;gap:7px;font-size:12px;color:#e6f5d1;margin-top:17px;font-weight:600}
.trail-location .icon{width:15px;height:15px;color:var(--accent)}
.featured-copy{padding-top:76px}
@media(max-width:800px){.featured-copy{padding-top:76px}}
@media(max-width:600px){.featured-copy{padding-top:76px}.section-heading{flex-wrap:wrap}.section-heading h2{max-width:none}.section-heading .text-button{margin-left:auto}}
@media(min-width:801px) and (hover:hover){.game-stage:not(.revealed) .guess-panel{width:200px;transition:width .28s ease,box-shadow .28s}.game-stage:not(.revealed) .guess-panel .guess-map{height:130px;transition:height .28s ease}.game-stage:not(.revealed) .guess-panel:hover,.game-stage:not(.revealed) .guess-panel:focus-within{width:420px;box-shadow:0 10px 34px #0005}.game-stage:not(.revealed) .guess-panel:hover .guess-map,.game-stage:not(.revealed) .guess-panel:focus-within .guess-map{height:300px}.game-stage:not(.revealed) .guess-panel:not(:hover):not(:focus-within) .guess-panel-header>span,.game-stage:not(.revealed) .guess-panel:not(:hover):not(:focus-within) .skip-guess{display:none}}
