@font-face{font-family:Inter;src:url(/assets/inter-cyr.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url(/assets/inter-latin.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#17251f;--muted:#516258;--line:#d7dfd5;--bg:#fcfcf9;font:16px/1.5 Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}[hidden]{display:none!important}body,h1,h2,p,figure{margin:0}a,button,input{font:inherit;color:inherit}a,button{touch-action:manipulation}a{text-underline-offset:.2em}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #689610;outline-offset:3px}
.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}header{background:#fff;border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}.bar{height:66px;display:flex;align-items:center;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:1.6rem;letter-spacing:-.075em;font-weight:850}.back,.sources a,figcaption a{font-size:.88rem}.back{padding:10px 0}
main{padding-block:clamp(22px,4vw,52px) max(36px,env(safe-area-inset-bottom))}
h1,h2{line-height:1.05;letter-spacing:-.055em;text-wrap:balance}h1{font-size:clamp(2.5rem,6.5vw,4.75rem);font-weight:720}h1 span{color:#73972f}h2{font-size:clamp(1.65rem,3.2vw,2.45rem);font-weight:680}
.places{display:flex;flex-wrap:wrap;gap:7px;margin-block:clamp(17px,2.8vw,28px)}
.places a,.tools button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:9px;text-decoration:none;font-size:.93rem;font-weight:620}
.places a,.tools button{background:white;border:1px solid var(--line);padding:8px 16px}.places a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:white}.places a:not([aria-current]):hover,.tools button:hover{background:#eff4ec}
.point{display:grid;grid-template-columns:minmax(235px,.82fr) minmax(0,1.48fr);gap:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:white}
.directions{padding:clamp(18px,2.7vw,32px);align-self:center}#station{font-size:.88rem;color:var(--muted);margin-bottom:6px}#address{font-size:.95rem;color:var(--muted);margin-top:9px}#walk{margin-block:18px}
.sources{display:flex;flex-wrap:wrap;gap:3px 13px;margin-top:12px}.sources a{display:inline-flex;align-items:center;min-height:34px;color:var(--muted)}
figure{min-width:0;background:#f1f4ee;border-left:1px solid var(--line);display:flex;flex-direction:column}iframe{display:block;border:0;width:100%;height:clamp(270px,33vw,405px);flex:1;min-height:270px;background:#eaf0e5}
figcaption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;min-height:43px;padding:5px 14px;font-size:.86rem;color:var(--muted);font-variant-numeric:tabular-nums}figcaption a{display:inline-flex;align-items:center;gap:4px;min-height:32px}
.tools{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding:12px clamp(14px,2.5vw,24px)}.tools button{font-weight:540;min-height:42px}.tools span{font-size:.88rem;color:var(--muted)}#manual{min-width:0;width:min(100%,400px);padding:6px;border:1px solid var(--line);border-radius:4px}
@media(max-width:700px){.wrap{width:calc(100% - 28px)}.bar{height:56px}main{padding-top:20px}.point{grid-template-columns:minmax(0,1fr);border-radius:13px}.places{margin-block:15px;gap:5px}.places a{padding:7px 10px}.directions{padding:17px}#walk{margin-block:12px}.sources{margin-top:6px}.sources a{min-height:32px}figure{border-left:0;border-top:1px solid var(--line)}iframe{height:280px;min-height:280px;flex:none}.tools{gap:7px}.tools button{padding:7px 10px}}
@media(max-width:355px){.wrap{width:calc(100% - 20px)}.places a{font-size:.85rem;padding-inline:8px}.tools{display:grid;grid-template-columns:1fr}.tools span:empty{display:none}}
#retry{margin-top:10px;background:white;border:1px solid var(--line);border-radius:9px;padding:8px 16px;min-height:44px}
.directions{overflow-wrap:anywhere}
#walk {white-space:pre-line}
.place-photos {grid-column:1/-1; padding:clamp(16px,2.4vw,28px); border-top:1px solid var(--line)}
.place-photos h3 {margin:0 0 12px; font-size:1.12rem; line-height:1.2}
#photo-list {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,152px),1fr)); gap:10px}
#photo-list button {display:grid; place-items:center; padding:0; width:100%; max-width:420px; aspect-ratio:4/3; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:#f1f4ee; cursor:zoom-in}
#photo-list img {width:100%; height:100%; min-height:0; object-fit:contain}
#photo-viewer {width:min(960px,calc(100vw - 24px)); max-width:100%; max-height:calc(100dvh - 24px); padding:12px; overflow:auto; border:0; border-radius:14px; color:#fff; background:#17251f; box-shadow:0 14px 64px #0006}
#photo-viewer::backdrop {background:#101a16d9}
.viewer-bar,#viewer-nav {display:flex; align-items:center; justify-content:space-between; gap:8px}
.viewer-bar {margin-bottom:8px}
#viewer-nav {justify-content:center; margin-top:8px}
#photo-viewer button {min-width:44px; min-height:44px; padding:6px 12px; border:1px solid #71877a; border-radius:8px; background:transparent}
#photo-viewer button:hover {background:#33483c}
#viewer-stage {display:grid; place-items:center; height:min(68vh,680px); height:min(68dvh,calc(100dvh - 152px),680px); border-radius:6px; overflow:hidden; background:#101913; touch-action:pan-y pinch-zoom}
#viewer-stage img {display:block; width:100%; height:100%; min-height:0; object-fit:contain}
@media (max-width:420px) {
  #photo-list {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
  #photo-list button:only-child {grid-column:1/-1}
}
