.gallery-main{max-width:1280px}.gallery-hero{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin:8px 0 18px;padding:20px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,var(--accent-soft),var(--blue-soft))}.gallery-hero-ico,.gallery-empty-ico{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--surface);color:var(--accent-ink);box-shadow:var(--shadow-sm)}.gallery-hero-ico svg,.gallery-empty-ico svg{width:28px;height:28px}.gallery-hero-text{flex:1 1 18rem;min-width:0}.gallery-page .gallery-hero h1{margin:0 0 4px;font-size:clamp(24px,4vw,32px);line-height:1.15;letter-spacing:-.01em}.gallery-page .gallery-lead{margin:0;color:var(--muted);max-width:60ch}.gallery-page .gallery-rights{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45;max-width:60ch}.gallery-page a.gallery-share{flex:0 1 auto;max-width:100%;min-height:46px;height:auto;padding:10px 20px;color:var(--on-accent);text-decoration:none;text-align:center;box-shadow:0 6px 18px var(--accent-soft)}@supports (color: color-mix(in srgb,red,blue)){.gallery-page a.gallery-share{box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 30%,transparent)}}.gallery-grid{--row: 128px;list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:6px}.gallery-grid:after{content:"";flex-grow:1000000}.gallery-tile{position:relative;flex-grow:var(--r, 1);flex-basis:calc(var(--r, 1) * var(--row));min-width:0}.gallery-open{position:relative;display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--surface-2);color:#fff;cursor:zoom-in;text-align:start}.gallery-open img{display:block;width:100%;height:auto;aspect-ratio:var(--r, 1);object-fit:cover;transition:transform .45s var(--ease)}.gallery-open:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.gallery-tile-words{position:absolute;inset:auto 0 0;display:grid;gap:2px;padding:26px 10px 8px;pointer-events:none;background:linear-gradient(180deg,#02061700,#0206178c 40%,#020617d9)}.gallery-tile-caption,.gallery-tile-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.5)}.gallery-tile-caption{font-size:14px;font-weight:700;line-height:1.3}.gallery-tile-meta{font-size:12px;line-height:1.3;color:#ffffffe6}@media(min-width:480px){.gallery-grid{--row: 160px;gap:8px}}@media(min-width:900px){.gallery-grid{--row: 200px;gap:10px}}@media(min-width:1400px){.gallery-grid{--row: 230px}}@media(hover:hover)and (pointer:fine){.gallery-tile-meta{max-height:0;opacity:0;transition:opacity .2s,max-height .2s}.gallery-open:hover .gallery-tile-meta,.gallery-open:focus-visible .gallery-tile-meta{max-height:2em;opacity:1}.gallery-tile-words.is-bare{opacity:0;transition:opacity .2s}.gallery-open:hover .gallery-tile-words.is-bare,.gallery-open:focus-visible .gallery-tile-words.is-bare{opacity:1}.gallery-open:hover img,.gallery-open:focus-visible img{transform:scale(1.05)}.gallery-open:hover{box-shadow:var(--shadow)}}.gallery-tabs{margin:0 0 12px}.gallery-tabs:empty{display:none}.gallery-open .route-badge{position:absolute;top:8px;inset-inline-start:8px;box-shadow:0 1px 4px #02061759;pointer-events:none}.gallery-page .gallery-none{margin:8px 0 20px;padding:20px;text-align:center;border:1px dashed var(--border-strong);border-radius:14px}.gallery-side .gallery-view-category{margin:0}.gallery-side .gallery-view-category[hidden]{display:none}.gallery-sort{display:inline-flex;flex-wrap:wrap;max-width:100%;gap:4px;margin:0 0 10px;padding:4px;border:1px solid var(--border);border-radius:25px;background:var(--surface)}.gallery-sort-button{min-height:40px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-weight:600;cursor:pointer}@media(hover:none),(pointer:coarse){.gallery-sort-button{min-height:44px}}.gallery-sort-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink)}.gallery-sort-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.gallery-tile-likes{position:absolute;top:8px;inset-inline-end:8px;padding:2px 8px;border-radius:999px;background:#02061799;color:#fff;font-size:12px;font-weight:700;pointer-events:none}.gallery-like-row{display:flex;align-items:center;gap:10px;margin:0}.gallery-like{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}.gallery-like[aria-pressed=true]{border-color:#e11d48;background:#e11d481a;color:#be123c}:root[data-theme=dark] .gallery-like[aria-pressed=true]{color:#fda4af}.gallery-like:disabled{cursor:progress;opacity:.7}.gallery-like:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.gallery-likes{color:var(--muted);font-size:14px}.gallery-place{margin:4px 0 0}.gallery-place[hidden]{display:none}.gallery-map{width:100%;height:180px;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:var(--surface-2)}.gallery-place figcaption{margin:4px 0 0}.gallery-side .gallery-route{margin:0;font-weight:600}.gallery-route[hidden]{display:none}.gallery-route a{color:var(--accent-ink)}.gallery-route-ask{margin:0}.gallery-route-ask[hidden]{display:none}@media(max-width:899px){.gallery-map{height:140px}}.gallery-empty{display:grid;justify-items:center;gap:6px;margin:8px 0 20px;padding:40px 20px;text-align:center;border:1px dashed var(--border-strong);border-radius:18px;background:var(--surface)}.gallery-empty-ico{width:72px;height:72px;border-radius:22px;background:var(--accent-soft);box-shadow:none}.gallery-empty-ico svg{width:36px;height:36px}.gallery-page .gallery-empty-title{margin:8px 0 0;font-size:18px;font-weight:700}.gallery-page .gallery-empty p{max-width:46ch}.gallery-empty .gallery-share{margin-top:8px}.gallery-more-row{display:flex;justify-content:center}.gallery-more-row .btn-secondary{padding:0 22px}.gallery-view{inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#05070d;color:#fff;overflow:hidden}.gallery-view[open]{display:grid;grid-template-columns:minmax(0,1fr) 360px}.gallery-view::backdrop{background:#020617eb}.gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:20px 72px;touch-action:pan-y pinch-zoom}.gallery-stage img{display:block;max-width:100%;max-height:calc(100dvh - 40px);width:auto;height:auto;border-radius:6px;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.gallery-nav,.gallery-close{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;background:#ffffff24;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s}.gallery-nav:hover,.gallery-close:hover{background:#ffffff47}.gallery-nav:focus-visible,.gallery-close:focus-visible{outline:3px solid #34d399;outline-offset:2px}.gallery-nav:disabled{cursor:progress;opacity:.6}.gallery-nav[hidden],.gallery-close[hidden]{display:none}.gallery-nav svg,.gallery-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.gallery-nav{position:absolute;top:50%;translate:0 -50%}.gallery-prev{inset-inline-start:14px}.gallery-next{inset-inline-end:14px}[dir=rtl] .gallery-nav svg{transform:scaleX(-1)}.gallery-close{position:absolute;top:12px;inset-inline-end:372px;z-index:2}.gallery-side{display:flex;flex-direction:column;gap:10px;min-height:0;padding:24px 20px;overflow:auto;background:var(--surface);color:var(--text)}.gallery-side .gallery-view-caption{margin:0;font-size:18px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.gallery-side .space-meta{margin:0}.gallery-actions{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;height:auto;margin-top:4px}.gallery-actions span{font-size:20px;line-height:1}.gallery-actions[aria-expanded=true]{color:var(--text);background:var(--surface-2)}.gallery-actions-menu{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.gallery-actions-menu[hidden]{display:none}.gallery-actions-menu .help-action{display:flex;align-items:center;gap:6px}.gallery-actions-menu .btn-secondary{flex:1 1 auto;min-height:44px;height:auto;white-space:normal;text-align:start}.gallery-actions-menu .btn-secondary[hidden]{display:none}@media(max-width:899px){.gallery-view[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.gallery-stage{padding:56px 8px 8px}.gallery-stage img{max-height:calc(66dvh - 64px)}.gallery-nav{width:44px;height:44px;background:#02061780}.gallery-prev{inset-inline-start:6px}.gallery-next{inset-inline-end:6px}.gallery-close{inset-inline-end:10px;top:8px}.gallery-side{max-height:34dvh;padding:14px 16px 18px;border-radius:16px 16px 0 0}.gallery-side .gallery-view-caption{font-size:16px}}@media(prefers-reduced-motion:reduce){.gallery-open:hover img,.gallery-open:focus-visible img{transform:none}}
