:root {
  --color-accent-red: #ff3826;
  --color-accent-red-light: #ff5b4d;
  --color-accent-red-dark: #e63322;
  --color-accent-orange: #ff8126;
  --color-accent-orange-light: #ff974d;
  --color-accent-orange-dark: #e67422;
  --color-accent-yellow: #ffcc33;
  --color-accent-yellow-light: #ffdf80;
  --color-accent-yellow-dark: #f2b230;
  --color-accent-green: #baf249;
  --color-accent-green-light: #ccff66;
  --color-accent-green-dark: #aad94c;
  --color-accent-blue: #61b6f2;
  --color-accent-blue-light: #80caff;
  --color-accent-blue-dark: #57a3d9;
  --color-accent-pink: #f261aa;
  --color-accent-pink-light: #ff80c0;
  --color-accent-pink-dark: #d95798;
  --color-accent: var(--color-accent-orange);
  --color-accent-light: var(--color-accent-orange-light);
  --color-accent-dark: var(--color-accent-orange-dark);
  --accent-border: var(--color-accent-light);
  --accent-icon: var(--color-accent);
  --color-on-accent: #0d0c0c;
  --color-background-dark: #0d0c0c;
  --color-background: #262524;
  --color-background-light: #403f3d;
  --color-background-lighter: #595550;
  --color-text-primary: #ffffff;
  --color-text-secondary: #ccc7c2;
  --color-text-tertiary: #807d7a;
  --photo-frame: rgba(255, 255, 255, 0.15);
  --color-beginner: #5acd0a;
  --color-intermediate: #0096ff;
  --color-advanced: #595959;
  --color-red: #cc2929;
  --color-orange: #ff974d;
  --radius-container: 14px;
  --radius-control: 10px;
  --control-h: 46px;
  --shadow-1: 0 2px 4px rgba(0, 0, 0, 0.15);
  --shadow-2: 0 4px 8px rgba(0, 0, 0, 0.2);
  --header-shadow: rgba(0, 0, 0, 0.3);
  --scrim: rgba(0, 0, 0, 0.5);
  --header-divider: var(--color-background-light);
  --chrome-edge: var(--color-background-light);
  --accent-transition: 220ms ease;
  --press-transition: background-color var(--accent-transition), transform 120ms ease;
  --press-fill: var(--color-accent-light);
  --press-scale: 0.9;
  --space-5: 5px;
  --space-10: 10px;
  --space-15: 15px;
  --space-20: 20px;
  --space-30: 30px;
  --space-40: 40px;
  --space-60: 60px;
  --font-display: factoria, Rockwell, Georgia, serif;
  --font-body: akzidenz-grotesk-next-pro, "Helvetica Neue", Arial, sans-serif;
  --font-condensed: akzidenz-grotesk-next-conden, "Arial Narrow", sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --font-bump: 0px;
  --text-large: calc(19px + var(--font-bump));
  --text-medium: calc(17px + var(--font-bump));
  --text-small: calc(15px + var(--font-bump));
  --text-title: calc(26px + var(--font-bump));
  --text-title-card: calc(23px + var(--font-bump));
  --text-label: calc(15px + var(--font-bump));
  --icon-size: calc(18px + var(--font-bump));
}

:root[data-font=large] {
  --font-bump: 2px;
}

@supports (color: color(display-p3 1 1 1)) {
  :root {
    --color-accent-red: color(display-p3 1 0.22 0.149);
    --color-accent-red-light: color(display-p3 1 0.357 0.302);
    --color-accent-red-dark: color(display-p3 0.902 0.2 0.133);
    --color-accent-orange: color(display-p3 1 0.506 0.149);
    --color-accent-orange-light: color(display-p3 1 0.592 0.302);
    --color-accent-orange-dark: color(display-p3 0.902 0.455 0.133);
    --color-accent-yellow: color(display-p3 1 0.8 0.2);
    --color-accent-yellow-light: color(display-p3 1 0.875 0.502);
    --color-accent-yellow-dark: color(display-p3 0.949 0.698 0.188);
    --color-accent-green: color(display-p3 0.729 0.949 0.286);
    --color-accent-green-light: color(display-p3 0.8 1 0.4);
    --color-accent-green-dark: color(display-p3 0.667 0.851 0.298);
    --color-accent-blue: color(display-p3 0.38 0.714 0.949);
    --color-accent-blue-light: color(display-p3 0.502 0.792 1);
    --color-accent-blue-dark: color(display-p3 0.341 0.639 0.851);
    --color-accent-pink: color(display-p3 0.949 0.38 0.667);
    --color-accent-pink-light: color(display-p3 1 0.502 0.753);
    --color-accent-pink-dark: color(display-p3 0.851 0.341 0.596);
    --color-background-dark: color(display-p3 0.051 0.047 0.047);
    --color-background: color(display-p3 0.149 0.145 0.141);
    --color-background-light: color(display-p3 0.251 0.247 0.239);
    --color-background-lighter: color(display-p3 0.349 0.333 0.314);
    --color-beginner: color(display-p3 0.353 0.804 0.039);
    --color-intermediate: color(display-p3 0 0.588 1);
    --color-advanced: color(display-p3 0.349 0.349 0.349);
    --color-red: color(display-p3 0.8 0.161 0.161);
    --color-orange: color(display-p3 1 0.592 0.302);
    --color-text-primary: color(display-p3 1 1 1);
    --color-text-secondary: color(display-p3 0.8 0.78 0.761);
    --color-text-tertiary: color(display-p3 0.502 0.49 0.478);
  }
}
[data-theme=dark] {
  --color-background-dark: #0d0c0c;
  --color-background: #262524;
  --color-background-light: #403f3d;
  --color-background-lighter: #595550;
  --color-text-primary: #ffffff;
  --color-text-secondary: #ccc7c2;
  --color-text-tertiary: #807d7a;
  --photo-frame: rgba(255, 255, 255, 0.15);
}

[data-theme=light] {
  --color-background-dark: #e7e4e0;
  --color-background: #f5f3f0;
  --color-background-light: #ffffff;
  --color-background-lighter: #dcd7d1;
  --color-text-primary: #1a1817;
  --color-text-secondary: #57534e;
  --color-text-tertiary: #8a8682;
  --photo-frame: rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: light) {
  [data-theme=auto] {
    --color-background-dark: #e7e4e0;
    --color-background: #f5f3f0;
    --color-background-light: #ffffff;
    --color-background-lighter: #dcd7d1;
    --color-text-primary: #1a1817;
    --color-text-secondary: #57534e;
    --color-text-tertiary: #8a8682;
    --photo-frame: rgba(0, 0, 0, 0.05);
  }
}
:root[data-theme=light] {
  --shadow-1: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 4px 8px rgba(0, 0, 0, 0.1);
  --header-shadow: rgba(0, 0, 0, 0.05);
  --scrim: rgba(0, 0, 0, 0.2);
  --header-divider: var(--color-background-lighter);
  --chrome-edge: var(--color-background-dark);
  --accent-border: var(--color-accent-dark);
}

@media (prefers-color-scheme: light) {
  :root[data-theme=auto] {
    --shadow-1: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-2: 0 4px 8px rgba(0, 0, 0, 0.1);
    --header-shadow: rgba(0, 0, 0, 0.05);
    --scrim: rgba(0, 0, 0, 0.2);
    --header-divider: var(--color-background-lighter);
    --chrome-edge: var(--color-background-dark);
    --accent-border: var(--color-accent-dark);
  }
}
:root[data-theme=light][data-accent=green],
:root[data-theme=light][data-accent=yellow] {
  --accent-icon: var(--color-accent-dark);
}

@media (prefers-color-scheme: light) {
  :root[data-theme=auto][data-accent=green],
  :root[data-theme=auto][data-accent=yellow] {
    --accent-icon: var(--color-accent-dark);
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
}

html {
  background: var(--color-background-dark);
  touch-action: manipulation;
}

@media (max-width: 720px) {
  html {
    background: var(--color-background);
  }
}
main {
  max-width: 720px;
  min-width: 330px;
  margin-inline: auto;
  padding: 1rem;
  background: var(--color-background);
  min-height: 100vh;
  min-height: 100lvh;
  display: flex;
  flex-direction: column;
  box-shadow: -1px 0 0 var(--header-divider), 1px 0 0 var(--header-divider);
}

body {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-medium);
  font-weight: var(--weight-regular);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

body.overlay-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 720px) {
  @view-transition {
    navigation: auto;
  }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 350ms;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
    opacity: 1 !important;
    mix-blend-mode: normal;
  }
  ::view-transition-new(root) {
    animation-name: mtb-push-in;
  }
  ::view-transition-old(root) {
    animation-name: mtb-push-out;
  }
  :root[data-nav=back]::view-transition-old(root) {
    animation-name: mtb-pop-out;
    z-index: 2;
  }
  :root[data-nav=back]::view-transition-new(root) {
    animation-name: mtb-pop-in;
    z-index: 1;
  }
}
@keyframes mtb-push-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes mtb-push-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-22%);
  }
}
@keyframes mtb-pop-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes mtb-pop-in {
  from {
    transform: translateX(-35%);
  }
  to {
    transform: translateX(0);
  }
}
.t-home {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.t-home input {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

.t-home a {
  -webkit-touch-callout: none;
}

.t-home main {
  position: relative;
  --pad-bottom: calc(var(--space-5) + env(safe-area-inset-bottom));
  padding: 0 var(--space-15);
}

.app-header {
  position: relative;
  z-index: 5;
  isolation: isolate;
  margin-inline: calc(-1 * var(--space-15));
  padding: calc(var(--space-15) + env(safe-area-inset-top)) var(--space-15) var(--space-10);
  border-bottom: 1px solid var(--header-divider);
  background-color: var(--color-background);
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--chrome-edge) 35%, transparent 100%);
  -webkit-mask-image: url("../icons/bg_topo.svg");
  mask-image: url("../icons/bg_topo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
}

.app-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  height: var(--space-15);
  background: linear-gradient(to bottom, var(--header-shadow), transparent);
  pointer-events: none;
}

.brand {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: var(--control-h);
}

.brand .logo {
  display: block;
  height: 46px;
  width: auto;
}

.logo [fill="color(display-p3 1.000 0.504 0.150)" i] {
  fill: var(--accent-icon);
  transition: fill var(--accent-transition);
}

.logo [fill="color(display-p3 0.000 0.000 0.000)" i] {
  fill: var(--color-text-primary);
}

.toolbar {
  position: relative;
  display: flex;
  gap: var(--space-15);
  margin: var(--space-15) 0 0;
  padding-bottom: var(--space-10);
}

.toolbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background-color: var(--header-divider);
  -webkit-mask-image: url("../icons/line_dotted.svg");
  mask-image: url("../icons/line_dotted.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 8px 1px;
  mask-size: 8px 1px;
}

.search {
  flex: 1;
  min-width: 0;
  position: relative;
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
}

.search__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.toolbar #filter-search {
  width: 100%;
  height: var(--control-h);
  margin: 0;
  padding: 0 14px 0 37px;
  font-family: var(--font-body);
  font-size: max(16px, var(--text-medium));
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  background: var(--color-background-dark);
  border: 1px solid var(--header-divider);
  border-radius: var(--radius-control);
  -webkit-appearance: none;
  appearance: none;
}

.toolbar #filter-search:focus {
  outline: none;
  border-color: var(--color-background-lighter);
  box-shadow: inset 0 0 0 3px var(--color-background-lighter);
}

.toolbar #filter-search::placeholder {
  color: var(--color-text-tertiary);
  opacity: 1;
}

.icon-btn {
  flex: none;
  width: var(--control-h);
  height: var(--control-h);
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: var(--press-transition);
  will-change: transform;
}

.icon-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.toolbar #open-map {
  color: var(--color-background);
  background: var(--color-text-secondary);
  border: 1px solid var(--color-text-primary);
  box-shadow: var(--shadow-1);
}

.toolbar #open-map:active {
  background: var(--color-text-primary);
  transform: scale(var(--press-scale));
}

.search__icon svg :is(path, line, polyline, polygon, circle, rect, ellipse),
.icon-btn svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.filter-chips {
  display: flex;
  gap: var(--space-10);
  margin-inline: calc(-1 * var(--space-15));
  padding: var(--space-10) var(--space-15);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-10) var(--space-15);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-primary);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: var(--press-transition);
  will-change: transform;
}

.filter-chip.is-hidden {
  display: none;
}

.filter-chip.is-disabled {
  opacity: 0.35;
  box-shadow: none;
  pointer-events: none;
}

.filter-chip__icon {
  display: inline-flex;
  color: var(--accent-icon);
}

.filter-chip__icon svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.filter-chip__icon svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.filter-chip.is-selected {
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-color: var(--accent-border);
}

.filter-chip.is-selected .filter-chip__icon {
  color: var(--color-on-accent);
}

.filter-chip:active {
  background: var(--color-background-lighter);
  transform: scale(var(--press-scale));
}

.filter-chip.is-selected:active {
  background: var(--press-fill);
}

.filter-chips + .subbar {
  position: relative;
  padding-top: var(--space-10);
}

.filter-chips + .subbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background-color: var(--header-divider);
  -webkit-mask-image: url("../icons/line_dotted.svg");
  mask-image: url("../icons/line_dotted.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 8px 1px;
  mask-size: 8px 1px;
}

.subbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  margin: 0;
}

.subbar__filter {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0;
}

.subbar__sort {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.subbar__filter,
.subbar__sort {
  flex-shrink: 0;
}

.subbar__sort .select__value {
  padding-block: var(--space-10);
  padding-inline-start: var(--space-15);
  line-height: var(--icon-size);
}

.sort-dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  color: var(--color-text-primary);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: var(--press-transition);
  will-change: transform;
}

.sort-dir:active {
  background: var(--color-background-lighter);
  transform: scale(var(--press-scale));
}

.sort-dir svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  transition: transform 300ms ease-in-out;
}

.sort-dir svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  color: var(--color-text-primary);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: var(--press-transition), color var(--accent-transition);
  will-change: transform;
}

.filter-btn:active {
  background: var(--color-background-lighter);
  transform: scale(var(--press-scale));
}

.filter-btn svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.filter-btn svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.select {
  position: relative;
  display: inline-block;
}

.select__value {
  position: relative;
  z-index: 1;
  display: grid;
  padding-block: var(--space-5);
  padding-inline: var(--space-10) calc(var(--space-20) + var(--space-10));
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-primary);
  white-space: nowrap;
  border: 1px solid transparent;
  pointer-events: none;
}

.select__opt {
  grid-area: 1/1;
  visibility: hidden;
}

.select__opt.is-current {
  visibility: visible;
}

.select__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding-block: var(--space-5);
  padding-inline: var(--space-10) calc(var(--space-20) + var(--space-10));
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  color: transparent;
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
  cursor: pointer;
}

.select__field:focus {
  outline: none;
}

.select__field option {
  color: var(--color-text-primary);
}

.select__icon {
  position: absolute;
  right: var(--space-10);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  color: var(--color-text-primary);
  pointer-events: none;
}

.select__icon svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.select__icon svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.result-count {
  margin: var(--space-20) 0 var(--space-15);
  font-size: var(--text-large);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.results {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding-inline: 1px;
}

.loc-card {
  position: relative;
  display: block;
  padding: 0;
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-container);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-1);
}

.loc-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.loc-card__media {
  position: relative;
  margin: -1px -1px 0 -1px;
  width: calc(100% + 2px);
  aspect-ratio: 2/1;
  border-radius: var(--radius-container) var(--radius-container) 0 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 50%), var(--hero, none), url("../images/location_blank.png");
  background-size: cover;
  background-position: center, var(--focus, center), center;
  background-repeat: no-repeat;
}

.loc-card__overlay {
  position: absolute;
  inset: 0 0 -1px 0;
  border: 1px solid var(--photo-frame);
  border-radius: var(--radius-container) var(--radius-container) 0 0;
  pointer-events: none;
}

.loc-card__draft {
  position: absolute;
  top: var(--space-15);
  left: var(--space-15);
  z-index: 2;
  padding: var(--space-5) var(--space-10);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  color: #0d0c0c;
  background: var(--color-accent-yellow);
  border-radius: var(--radius-control);
}

.loc-card__draft--unlisted {
  background: var(--color-accent-blue);
}

.loc-card__distance {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-10) calc(var(--space-40) + var(--space-10));
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

.loc-card__distance.is-arriving {
  animation: loc-distance-rise 300ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes loc-distance-rise {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.loc-card__distance-clip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(-1 * var(--space-60));
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  border-radius: 0 0 var(--radius-control) var(--radius-control);
}

.loc-card__dir {
  position: relative;
  grid-column: 2;
}

.loc-card__dir--top {
  position: absolute;
  top: var(--space-15);
  right: var(--space-15);
  z-index: 2;
}

.loc-card__dir--top .loc-card__directions {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), var(--shadow-1);
}

.loc-card__dir--top .loc-card__distance {
  top: 0;
  bottom: 0;
  left: auto;
  right: 0;
  padding: 0 calc(var(--control-h) + var(--space-10)) 0 var(--space-10);
  border-radius: var(--radius-control);
}

.loc-card__dir--top .loc-card__distance-clip {
  top: 0;
  bottom: 0;
  right: 0;
  left: -50vw;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
}

.loc-card__dir--top .loc-card__distance.is-arriving {
  animation: loc-distance-slide 300ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes loc-distance-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.loc-card__header {
  position: absolute;
  right: var(--space-15);
  bottom: var(--space-15);
  left: var(--space-10);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: var(--space-5);
}

.loc-card__header > .loc-card__coords {
  grid-column: 1/-1;
}

.loc-card__titles {
  grid-column: 1;
  min-width: 0;
}

.loc-card__coords {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  line-height: calc(var(--text-label) + 0.1 * var(--text-title-card));
  color: color-mix(in srgb, var(--color-text-primary) 80%, transparent);
  text-shadow: 0 0 12px rgb(0, 0, 0);
}

.loc-card__coords-icon {
  flex: none;
  display: inline-flex;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.9));
}

.loc-card__coords-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.loc-card__coords-icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-card__coords-icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-title-card);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  color: var(--color-text-primary);
  text-shadow: 0 0 12px rgb(0, 0, 0);
}

.loc-card__city {
  display: block;
  font-size: var(--text-large);
  line-height: calc(var(--text-large) + 0.1 * var(--text-title-card));
  color: color-mix(in srgb, var(--color-text-primary) 80%, transparent);
  text-shadow: 0 0 12px rgb(0, 0, 0);
}

.loc-card__directions {
  position: relative;
  z-index: 2;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-10) var(--space-15);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-on-accent);
  background: var(--color-accent);
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: var(--press-transition);
  will-change: transform;
}

.loc-card__directions:active {
  background: var(--press-fill);
  transform: scale(var(--press-scale));
}

.loc-card__dir-icon {
  display: inline-flex;
  flex: none;
}

.loc-card__dir-icon svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
}

.loc-card__dir-icon svg :is(circle, line, path, polyline, polygon, rect, ellipse) {
  stroke: currentColor;
}

.loc-card__directions--icon {
  width: var(--control-h);
  height: var(--control-h);
  padding: 0;
  justify-content: center;
}

.loc-card__directions--icon .loc-card__dir-icon svg {
  width: 20px;
  height: 20px;
}

.loc-card__meta,
.loc-card__stats {
  overflow: hidden;
  container-type: inline-size;
  padding-block: var(--space-5);
}

.loc-card__stats {
  border-top: 1px solid var(--color-background-lighter);
}

.loc-card__row {
  display: flex;
  align-items: center;
  width: max-content;
  padding-inline: var(--space-10);
  animation: loc-card-row-peek 7s ease-in-out infinite alternate;
}

@keyframes loc-card-row-peek {
  0%, 20% {
    transform: translateX(0);
  }
  80%, 100% {
    transform: translateX(min(0px, 100cqw - 100%));
  }
}
@media (prefers-reduced-motion: reduce) {
  .loc-card__meta,
  .loc-card__stats {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .loc-card__meta::-webkit-scrollbar,
  .loc-card__stats::-webkit-scrollbar {
    display: none;
  }
  .loc-card__row {
    animation: none;
  }
}
.loc-card__cell {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}
.loc-card__cell + .loc-card__cell {
  margin-left: var(--space-10);
  padding-left: var(--space-10);
  border-left: 1px solid var(--color-background-lighter);
}

.loc-card__cell-label {
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  white-space: nowrap;
}

.loc-card__cell-icon {
  display: inline-flex;
  flex: none;
}

.loc-card__cell-icon svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.loc-card__cell-icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-card__cell-icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-card__cat .loc-card__cell-icon {
  color: var(--accent-icon);
  transition: color var(--accent-transition);
}

.loc-card__cat .loc-card__cell-label {
  color: var(--color-text-primary);
}

.loc-card__stat .loc-card__cell-icon {
  color: var(--color-text-tertiary);
}

.loc-card__stat .loc-card__cell-label {
  color: var(--color-text-primary);
}

.loc-card__stat .loc-card__cell-label--na {
  color: var(--color-text-secondary);
}

.loc-card__diff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  border-radius: 4px;
}

.loc-card__diff svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.loc-card__diff svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.loc-card__diff--beginner {
  color: var(--color-beginner);
}

.loc-card__diff--intermediate {
  color: var(--color-intermediate);
}

.loc-card__diff--advanced {
  color: var(--color-advanced);
}

.map-preview {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.map-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.map-preview:active::after {
  opacity: 0.3;
}

.map__snapshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map {
  position: relative;
}

.zoom-hint {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.zoom-hint svg {
  display: block;
  width: 20px;
  height: 20px;
}

.zoom-hint svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.map-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #403f3d;
  --shadow-1: 0 2px 4px rgba(0, 0, 0, 0.15);
  --shadow-2: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-fullscreen {
  opacity: 0;
  transition: opacity 220ms ease;
}

.map-fullscreen.is-open {
  opacity: 1;
}

@media (max-width: 720px) {
  .map-fullscreen {
    opacity: 1;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .map-fullscreen.is-open {
    transform: none;
  }
}
.map-fullscreen-map {
  position: absolute;
  inset: 0;
  transition: opacity 300ms ease;
}

.map-fullscreen.is-loading .map-fullscreen-map {
  opacity: 0;
}

.map-fullscreen .maplibregl-popup {
  z-index: 5;
}

.map-fullscreen .maplibregl-ctrl-top-left,
.map-fullscreen .maplibregl-ctrl-top-right,
.map-fullscreen .maplibregl-ctrl-bottom-left,
.map-fullscreen .maplibregl-ctrl-bottom-right {
  z-index: 6;
}

.map-return-poster {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.map-return-poster.is-hidden {
  opacity: 0;
}

.map-fullscreen-close {
  position: absolute;
  top: calc(var(--space-15) + env(safe-area-inset-top));
  left: var(--space-15);
  z-index: 10;
  border: none;
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.map-fullscreen-close:active {
  transform: scale(var(--press-scale));
}

.map-filter-btn {
  position: absolute;
  bottom: calc(var(--space-15) + env(safe-area-inset-bottom));
  left: var(--space-15);
  z-index: 10;
  border: 1px solid var(--color-text-primary);
  color: var(--color-background);
  background: #fff;
  box-shadow: var(--shadow-2);
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .map-filter-btn {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}
.map-filter-btn:active {
  transform: scale(var(--press-scale));
}

.map-filters-active .map-filter-btn {
  color: var(--color-accent);
}

.map-filters-clear-slot {
  position: absolute;
  bottom: calc(var(--space-15) + env(safe-area-inset-bottom));
  left: calc(var(--space-15) + var(--control-h));
  z-index: 9;
  display: inline-flex;
  overflow: hidden;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
}

.map-filters-clear {
  display: none;
  align-items: center;
  height: var(--control-h);
  padding: 0 var(--space-15);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-background);
  background: #fff;
  border: 1px solid #fff;
  border-left: 1px solid rgba(26, 24, 23, 0.15);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  cursor: pointer;
  will-change: transform;
  transform: translateX(-100%);
  transition: transform 220ms ease, display 220ms;
  transition-behavior: allow-discrete;
}

.map-filters-clear:active {
  background: #fff;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .map-filters-clear {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}
.map-filters-active:not(.map-filters-open) .map-filters-clear {
  display: inline-flex;
  transform: translateX(0);
}
@starting-style {
  .map-filters-active:not(.map-filters-open) .map-filters-clear {
    transform: translateX(-100%);
  }
}

.map-filters-active:not(.map-filters-open) .map-filter-btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right-color: transparent;
}

.map-filters {
  position: absolute;
  left: var(--space-15);
  bottom: calc(var(--space-15) + env(safe-area-inset-bottom) + var(--control-h) - 2px);
  z-index: 9;
  width: calc(100% - 2 * var(--space-15));
  max-height: 55vh;
  overflow-y: auto;
  padding: var(--space-15);
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius-container) var(--radius-container) var(--radius-container) 0;
  box-shadow: var(--shadow-2);
  transform-origin: bottom left;
  transform: scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 140ms ease, opacity 110ms ease, visibility 0s linear 140ms;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .map-filters {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.85) 90%, #fff 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}
.map-filters-open .map-filter-btn {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: #fff;
}

.map-filters-open .map-filters {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 240ms ease, visibility 0s;
}

.map-filters .filter-chip {
  box-shadow: none;
}

.map-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-block: var(--space-10) var(--space-15);
}

.map-filters__chips:last-child {
  margin-bottom: 0;
}

.map-fullscreen .maplibregl-ctrl-top-right {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 0;
}

.map-fullscreen .maplibregl-ctrl-top-left {
  padding: env(safe-area-inset-top) 0 0 env(safe-area-inset-left);
}

.map-fullscreen .maplibregl-ctrl-bottom-right {
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) 0;
}

.map-fullscreen .maplibregl-ctrl-bottom-left {
  padding: 0 0 env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.map-fullscreen .maplibregl-ctrl-group button {
  width: 36px;
  height: 36px;
}

.map-fullscreen .maplibregl-ctrl button .maplibregl-ctrl-icon {
  background-size: 100%;
}

.loc-marker {
  position: relative;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 50%;
  background: linear-gradient(var(--color-accent), var(--color-accent-dark));
  border: 1px solid var(--color-accent-light);
  box-shadow: 0 0 0 2px var(--color-background), 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transform: scale(1);
  transition: width 200ms ease, height 200ms ease, transform 120ms ease-in;
}

.loc-marker.is-selected {
  transform: scale(1.3);
  transition: transform 300ms cubic-bezier(0.34, 1.85, 0.64, 1);
}

.loc-marker--sm {
  width: 8px;
  height: 8px;
}

.loc-marker--md {
  width: 18px;
  height: 18px;
}

.loc-marker--lg {
  width: 28px;
  height: 28px;
}

.loc-marker__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  color: #000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.loc-marker--lg .loc-marker__icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.loc-marker__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loc-marker__icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-marker__icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-marker::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.poi-marker {
  position: relative;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  background: linear-gradient(var(--poi-top), var(--poi-bottom));
  border: 1px solid var(--poi-edge);
  box-shadow: 0 0 0 1px var(--color-background), 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: width 200ms ease, height 200ms ease, transform 120ms ease-in, opacity 400ms ease-in-out, visibility 0s;
}

.poi-marker::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.poi-marker--sm {
  width: 4px;
  height: 4px;
  pointer-events: none;
}

.poi-marker--md {
  width: 14px;
  height: 14px;
}

.poi-marker--lg {
  width: 24px;
  height: 24px;
}

.poi-marker__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  color: #000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.poi-marker--lg .poi-marker__icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poi-marker__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.poi-marker__icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.poi-marker__icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.poi-marker.is-selected {
  transform: scale(1.3);
  transition: transform 300ms cubic-bezier(0.34, 1.85, 0.64, 1);
}

.poi-marker.is-dimmed {
  opacity: 0;
  transform: scale(0);
  visibility: hidden;
  transition: transform 500ms ease-in-out, opacity 400ms ease-in-out, visibility 0s 500ms;
}

.pois-hidden .poi-marker {
  opacity: 0;
  transform: scale(0);
  visibility: hidden;
  transition: transform 500ms ease-in-out, opacity 400ms ease-in-out, visibility 0s 500ms;
}

.loc-popup-wrap {
  --loc-popup-bg: #fff;
}

.loc-popup-wrap .maplibregl-popup-content {
  min-width: 200px;
  padding: var(--space-10);
  border-radius: 12px;
  border: 1px solid var(--color-text-primary);
  background: var(--loc-popup-bg);
  box-shadow: var(--shadow-2);
}

.loc-popup-wrap .maplibregl-popup-tip {
  display: none;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .loc-popup-wrap {
    --loc-popup-bg: rgba(255, 255, 255, 0.85);
  }
  .loc-popup-wrap:not(.is-moving) .maplibregl-popup-content {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .loc-popup-wrap {
    --loc-popup-bg: #fff;
  }
  .loc-popup-wrap:not(.is-moving) .maplibregl-popup-content {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.loc-popup__name {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-medium);
  color: var(--color-background);
}

.loc-popup__city {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-small);
  color: var(--color-text-tertiary);
}

.loc-popup {
  width: 230px;
}

.loc-popup__media {
  position: relative;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-10);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-text-secondary);
}

.loc-popup__media .loading-dots {
  color: var(--color-background);
}

.loc-popup__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease;
}

.loc-popup__img.is-loaded {
  opacity: 1;
}

.loc-popup__icons {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.loc-popup__icon {
  display: block;
  width: 20px;
  height: 20px;
}

.loc-popup__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loc-popup__icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-popup__icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-popup__icon--cat {
  color: var(--accent-icon);
}

:root[data-accent=green] .loc-popup__icon--cat,
:root[data-accent=yellow] .loc-popup__icon--cat {
  color: var(--color-accent-dark);
}

.loc-popup__icon--beginner {
  color: var(--color-beginner);
}

.loc-popup__icon--intermediate {
  color: var(--color-intermediate);
}

.loc-popup__icon--advanced {
  color: var(--color-advanced);
}

.loc-popup__divider {
  align-self: stretch;
  width: 1px;
  background: var(--color-text-secondary);
}

.loc-popup__stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-5);
  color: var(--color-text-tertiary);
  font-family: var(--font-condensed);
  font-weight: var(--weight-medium);
  font-size: var(--text-label);
  text-transform: uppercase;
}

.loc-popup__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.loc-popup__stat-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
}

.loc-popup__stat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loc-popup__stat-icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-popup__stat-icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-popup__hr {
  height: 1px;
  background: var(--color-text-secondary);
  margin-block: var(--space-10);
}

.loc-popup__icons,
.loc-popup__stats {
  margin-top: 0;
  padding-left: var(--space-5);
}

.loc-popup__stats {
  margin-bottom: var(--space-5);
}

.loc-popup__head {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.loc-popup__titles {
  flex: 1;
  min-width: 0;
  padding-left: var(--space-5);
}

.loc-popup__actions {
  flex: none;
  margin-right: var(--space-5);
}

.loc-popup__dir-top {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), var(--shadow-1);
}

.poi-popup {
  width: 230px;
}

.poi-popup__media {
  position: relative;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-5);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-text-secondary);
}

.poi-popup__media .loading-dots {
  color: var(--color-background);
}

.poi-popup__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.poi-popup__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.poi-popup__count svg {
  display: block;
}

.poi-popup__body {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.poi-popup__info {
  flex: 1;
  min-width: 0;
  padding: var(--space-5);
}

.poi-popup__body:not(:has(.poi-popup__desc)) {
  align-items: center;
}

.poi-popup__name {
  font-family: var(--font-body);
  font-size: var(--text-medium);
  font-weight: var(--weight-medium);
  color: var(--color-background);
}

.poi-popup__desc {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-regular);
  color: var(--color-background-light);
}

.loc-popup__btn {
  flex: none;
  width: var(--control-h);
  height: var(--control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  text-decoration: none;
  box-shadow: var(--shadow-1);
}

.loc-popup__btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.loc-popup__btn svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.loc-popup__btn svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.loc-popup__btn--info {
  color: var(--color-background);
  background: var(--color-text-primary);
  border-color: var(--color-text-secondary);
}

.loc-popup__btn--dir {
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-color: var(--color-accent-light);
}

.loc-popup-wrap :focus,
.loc-popup-wrap :focus-visible {
  outline: none;
  box-shadow: none;
}

.poi-popup-wrap .maplibregl-popup-content {
  padding: var(--space-5);
  transform-origin: bottom center;
  animation: poi-popup-in 200ms cubic-bezier(0.34, 1.4, 0.64, 1);
  transition: transform 120ms ease-in, opacity 120ms ease-in;
}

.poi-popup-wrap[class*=anchor-top] .maplibregl-popup-content {
  transform-origin: top center;
}

.poi-popup-wrap.is-closing .maplibregl-popup-content {
  transform: scale(0.85);
  opacity: 0;
}

@keyframes poi-popup-in {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.95);
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 260ms ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox.is-closing {
  opacity: 0;
}

html:has(.lightbox),
html:has(.map-fullscreen.is-open),
html:has(.lightbox) body,
html:has(.map-fullscreen.is-open) body {
  overflow: hidden;
}

.lightbox-track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  transform: scale(0.94);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-track::-webkit-scrollbar {
  display: none;
}

.lightbox.is-open .lightbox-track {
  transform: scale(1);
}

.lightbox.is-closing .lightbox-track {
  transform: scale(0.96);
  transition-duration: 260ms;
}

.lightbox-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 300ms ease;
}

.lightbox-slide img.is-loaded {
  opacity: 1;
}

.lightbox-slide.is-zoomed {
  touch-action: none;
  z-index: 1;
}

.lightbox-slide.is-zoomed img {
  cursor: grab;
}

.lightbox-slide img.is-animating {
  transition: transform 220ms ease, opacity 300ms ease;
}

.lightbox-slide img {
  will-change: transform;
}

.lightbox--zoomed .lightbox-zone {
  display: none;
}

.lightbox--zoomed .lightbox-dots {
  transition: opacity 200ms ease;
  opacity: 0;
  pointer-events: none;
}

.lightbox--zoomed .lightbox-track {
  overflow-x: hidden;
}

.lightbox-slide .loading-dots {
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: calc(var(--space-15) + env(safe-area-inset-top));
  left: var(--space-15);
  z-index: 2;
  border: none;
  color: var(--color-text-primary);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.lightbox-close:active {
  transform: scale(var(--press-scale));
}

.lightbox-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--space-10) + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding-inline: var(--space-15);
  z-index: 2;
}

.lightbox-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.lightbox-dot::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1);
  transition: background 320ms ease, transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-dot.is-active::after {
  background: #fff;
  transform: scale(1.5);
}

.lightbox-zone {
  position: absolute;
  top: 110px;
  bottom: 110px;
  width: 44px;
  z-index: 1;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.lightbox-zone--prev {
  left: 0;
}

.lightbox-zone--next {
  right: 0;
}

.loading-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  pointer-events: none;
}

.loading-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  animation: loading-dot 900ms ease-in-out infinite;
}

.loading-dots i:nth-child(2) {
  animation-delay: 150ms;
}

.loading-dots i:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes loading-dot {
  0%, 60%, 100% {
    opacity: 0.25;
  }
  30% {
    opacity: 1;
  }
}
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: auto;
  margin-inline: calc(-1 * var(--space-15));
  padding-inline: var(--space-15);
  padding-top: 100px;
  padding-bottom: var(--pad-bottom, 0px);
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--chrome-edge) 35%, transparent 100%);
  -webkit-mask-image: url("../icons/bg_topo.svg");
  mask-image: url("../icons/bg_topo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
}

.site-footer__brand {
  display: inline-block;
}

.site-footer__brand svg {
  display: block;
  width: 40px;
  height: 40px;
}

.rm-logo__dot {
  fill: var(--accent-icon);
  transition: fill var(--accent-transition);
}

.rm-logo__ring {
  fill: var(--color-background-lighter);
}

.site-footer__copy {
  margin: var(--space-15) 0 0;
  font-size: var(--text-small);
  font-weight: var(--weight-regular);
  color: var(--color-text-tertiary);
}

.site-footer__info {
  position: absolute;
  top: 120px;
  right: var(--space-15);
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  background: var(--color-background-lighter);
  border: none;
}

.site-footer__info:active {
  transform: translateY(-50%) scale(var(--press-scale));
}

.site-footer__info svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: none;
}

.site-footer__info svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.site-footer__info svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.settings {
  position: absolute;
  z-index: 90;
  right: var(--space-15);
  top: calc(env(safe-area-inset-top) + var(--space-15) + var(--control-h) - 2px);
  padding: var(--space-15);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-container) 0 var(--radius-container) var(--radius-container);
  box-shadow: var(--shadow-2);
  transform-origin: top right;
  transform: scale(0.85);
  opacity: 0;
  visibility: hidden;
  transition: transform 140ms ease, opacity 110ms ease, visibility 0s linear 140ms;
}

body.settings-open .settings {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 180ms ease, visibility 0s;
}

.settings__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-20);
}

.settings__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.settings__label {
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.settings__label::after {
  content: ":";
}

.settings__divider {
  height: 1px;
  margin: var(--space-15) 0 var(--space-10);
  background-color: var(--color-background-lighter);
  -webkit-mask-image: url("../icons/line_dotted.svg");
  mask-image: url("../icons/line_dotted.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 8px 1px;
  mask-size: 8px 1px;
}

.settings__chips {
  display: flex;
  gap: var(--space-5);
}

.settings__chip {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: var(--radius-control);
  cursor: pointer;
  background: var(--chip);
  border: 1px solid var(--chip-edge, color-mix(in srgb, var(--chip), #fff 22%));
  box-shadow: var(--shadow-1);
}

:root[data-theme=light] .settings__chip {
  border-color: var(--chip-edge-dark, var(--chip-edge));
}

@media (prefers-color-scheme: light) {
  :root[data-theme=auto] .settings__chip {
    border-color: var(--chip-edge-dark, var(--chip-edge));
  }
}
.settings__chip--split {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
}

.settings__chip-half {
  flex: 1;
  align-self: stretch;
  background: var(--chip);
  border: 1px solid var(--chip-edge, color-mix(in srgb, var(--chip), #fff 22%));
}

.settings__chip-half--top {
  border-bottom: none;
  border-radius: var(--radius-control) var(--radius-control) 0 0;
}

.settings__chip-half--bottom {
  border-radius: 0 0 var(--radius-control) var(--radius-control);
}

.settings__chip-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 140ms ease, opacity 110ms ease;
}

.settings__chip.is-selected .settings__chip-check {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 100ms ease;
}

.settings__chips:has(.settings__chip:not(.is-selected):active) .settings__chip.is-selected .settings__chip-check {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 140ms ease, opacity 110ms ease;
}

.settings__chip-check svg {
  display: block;
  width: 20px;
  height: 20px;
}

#open-settings {
  position: absolute;
  z-index: 91;
  top: calc(env(safe-area-inset-top) + var(--space-15));
  right: var(--space-15);
  color: var(--color-text-tertiary);
  background: var(--color-background);
  border: 1px solid var(--color-background);
  box-shadow: none;
  transition: var(--press-transition), color 120ms ease;
}

body.settings-open #open-settings {
  color: var(--accent-icon);
  background: var(--color-background-light);
  border-color: var(--color-background-lighter);
  box-shadow: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

body:not(.settings-open) #open-settings:active {
  transform: scale(var(--press-scale));
}

body.settings-open #open-settings:active {
  color: var(--color-text-secondary);
}

.filters {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  padding: var(--space-15);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: 0 var(--radius-container) var(--radius-container) var(--radius-container);
  box-shadow: var(--shadow-2);
  transform-origin: top left;
  transform: scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 140ms ease, opacity 110ms ease, visibility 0s linear 140ms;
}

body.filters-open .filters {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 240ms ease, visibility 0s;
}

.filters__label {
  display: block;
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.filters__label::after {
  content: ":";
}

.filters__chips {
  display: flex;
  gap: var(--space-10);
  padding-block: var(--space-10);
  margin-top: calc(var(--space-5) - var(--space-10));
  margin-bottom: calc(-1 * var(--space-10));
  margin-inline: calc(-1 * var(--space-15));
  padding-inline: var(--space-15);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filters__chips::-webkit-scrollbar {
  display: none;
}

.filters .filter-chip {
  box-shadow: none;
}

.filters .filter-chip:not(.is-selected) {
  background: var(--color-background-lighter);
  border-color: var(--color-background-lighter);
}

.filters .filter-chip:not(.is-selected):active {
  background: var(--color-text-tertiary);
  border-color: var(--color-text-tertiary);
}

.filters__divider {
  height: 1px;
  margin: var(--space-15) 0 var(--space-5);
  background-color: var(--color-background-lighter);
  -webkit-mask-image: url("../icons/line_dotted.svg");
  mask-image: url("../icons/line_dotted.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 8px 1px;
  mask-size: 8px 1px;
}

body.has-filters #open-filters {
  color: var(--accent-icon);
}

body.filters-open #open-filters {
  position: relative;
  z-index: 51;
  align-self: stretch;
  background: var(--color-background-light);
  border-color: var(--color-background-lighter);
  box-shadow: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

body.filters-open #open-filters:active {
  transform: none;
  background: var(--color-background-light);
  color: var(--color-text-secondary);
}

body.has-filters:not(.filters-open) #open-filters {
  position: relative;
  z-index: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.filters-clear-slot {
  display: inline-flex;
  overflow: hidden;
}

.filters-clear {
  align-items: center;
  padding: var(--space-10) var(--space-15);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: var(--icon-size);
  color: var(--color-text-primary);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-left: none;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  cursor: pointer;
  will-change: transform;
  display: none;
  transform: translateX(-100%);
  transition: transform 220ms ease, background-color var(--accent-transition), display 220ms;
  transition-behavior: allow-discrete;
}

body.has-filters:not(.filters-open) .filters-clear {
  display: inline-flex;
  transform: translateX(0);
  transition: transform 220ms ease, background-color var(--accent-transition), display 220ms;
  transition-behavior: allow-discrete;
}
@starting-style {
  body.has-filters:not(.filters-open) .filters-clear {
    transform: translateX(-100%);
  }
}

.filters-clear:active {
  background: var(--color-background-lighter);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 0s linear 140ms;
}

body.settings-open .scrim,
body.filters-open .scrim {
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 0s;
}

body.filters-open .scrim {
  transition: opacity 380ms ease, visibility 0s;
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.welcome.is-open {
  opacity: 1;
}

.welcome[hidden] {
  display: none;
}

.welcome [hidden] {
  display: none;
}

.welcome__card {
  position: relative;
  isolation: isolate;
  width: min(420px, 100%);
  max-height: calc(100dvh - 2 * var(--space-20));
  overflow-y: auto;
  padding: var(--space-30) var(--space-20) var(--space-10);
  background: var(--color-background);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-2);
  text-align: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.welcome__card.card-out {
  opacity: 0;
  transform: scale(0.96);
}

.welcome__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--chrome-edge);
  -webkit-mask-image: url("../icons/bg_topo.svg");
  mask-image: url("../icons/bg_topo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.welcome__logo {
  display: block;
  height: 52px;
  width: auto;
  margin: 0 auto var(--space-20);
}

.welcome__text {
  margin: 0 0 var(--space-15);
  font-family: var(--font-body);
  font-size: var(--text-medium);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.gate__form {
  display: flex;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.gate__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-10);
  font-family: var(--font-body);
  font-size: var(--text-medium);
  color: var(--color-text-primary);
  background: var(--color-background-light);
  border: 1px solid var(--color-background-lighter);
  border-radius: var(--radius-control);
}

.gate__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.gate__form .welcome__btn {
  margin-bottom: 0;
}

.gate__error {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-red);
}

.welcome__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-10);
  padding: var(--space-10) var(--space-20);
  font-family: var(--font-condensed);
  font-size: var(--text-medium);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-on-accent);
  background: var(--color-accent);
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: var(--press-transition);
}

.welcome__btn:active {
  background: var(--press-fill);
  transform: scale(var(--press-scale));
}

.welcome__steps {
  margin-bottom: var(--space-10);
  padding: var(--space-10);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--color-text-secondary);
  background: var(--color-background-light);
  border-radius: var(--radius-control);
}

.welcome__steps ol {
  margin: 0 0 0 calc(var(--icon-size) + var(--space-5));
  padding-left: var(--space-15);
}

.welcome__steps p {
  margin: 0;
}

.welcome__steps b {
  color: var(--color-text-primary);
}

.welcome__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.welcome__note:not(:last-child) {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-background-lighter);
}

.welcome__note-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 1lh;
  color: var(--color-beginner);
}

.welcome__note-icon svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.welcome__note-icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.welcome__note-icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.welcome__share {
  width: 1em;
  height: 1.3em;
  vertical-align: -0.25em;
  margin: 0 0.15em;
  color: var(--color-accent);
}

.welcome__skip {
  display: block;
  margin: var(--space-5) auto 0;
  padding: var(--space-10);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-bold);
  color: var(--color-text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.maintenance {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-20);
  padding: calc(var(--space-20) + env(safe-area-inset-top)) var(--space-15) calc(var(--space-20) + env(safe-area-inset-bottom));
}

.maintenance::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--color-background), var(--color-background-light), var(--color-background));
  -webkit-mask-image: url("../icons/bg_topo.svg");
  mask-image: url("../icons/bg_topo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.maintenance__logo {
  display: block;
  height: 52px;
  width: auto;
}

.maintenance__card {
  width: 100%;
  max-width: 480px;
  padding: var(--space-15);
  border-radius: var(--radius-container);
  background: var(--color-background-light);
  text-align: center;
}

.maintenance__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-title-card);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.maintenance__text {
  margin: var(--space-10) 0 0;
  font-size: var(--text-medium);
  color: var(--color-text-secondary);
}

.info-sheet {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--color-background);
}

.info-sheet {
  opacity: 0;
  transition: opacity 220ms ease;
}

.info-sheet.is-open {
  opacity: 1;
}

@media (max-width: 720px) {
  .info-sheet {
    opacity: 1;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .info-sheet.is-open {
    transform: none;
  }
}
.info-sheet__close {
  position: absolute;
  top: calc(var(--space-15) + env(safe-area-inset-top));
  left: var(--space-15);
  z-index: 10;
  border: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.info-sheet__close:active {
  transform: scale(var(--press-scale));
}

.info-sheet__views {
  position: absolute;
  inset: 0;
}

.info-sheet__view {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--space-15) + env(safe-area-inset-top) + var(--control-h) + var(--space-20)) var(--space-15) calc(var(--space-20) + env(safe-area-inset-bottom));
  background: var(--color-background);
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.info-sheet.is-instant .info-sheet__view {
  transition: none;
}

.info-sheet__view--main {
  transform: translateX(0);
}

.info-sheet.is-pushed .info-sheet__view--main {
  transform: translateX(-22%);
}

.info-sheet__view--detail {
  transform: translateX(100%);
  z-index: 2;
}

.info-sheet.is-pushed .info-sheet__view--detail {
  transform: translateX(0);
}

.info-sheet__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-title-card);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.info-sheet__hr {
  height: 1px;
  background: var(--color-background-lighter);
  margin-block: var(--space-15);
}

.info-sheet__text {
  font-size: var(--text-medium);
  color: var(--color-text-secondary);
}

.info-sheet__text > :first-child {
  margin-top: 0;
}

.info-sheet__text p,
.info-sheet__text ul,
.info-sheet__text ol {
  margin: var(--space-10) 0 0;
}

.info-sheet__text ul,
.info-sheet__text ol {
  padding-left: var(--space-20);
}

.info-sheet__text h1,
.info-sheet__text h2,
.info-sheet__text h3,
.info-sheet__text h4 {
  margin: var(--space-20) 0 0;
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.info-sheet__text > :is(h1, h2, h3, h4):first-child {
  margin-top: 0;
}

.info-sheet__text :is(h1, h2, h3, h4) + p {
  margin-top: var(--space-5);
}

.info-sheet__text a {
  color: var(--accent-icon);
  font-weight: var(--weight-medium);
}

.info-sheet__text img {
  display: block;
  max-width: 100%;
  margin-top: var(--space-10);
  border-radius: 12px;
}

.info-sheet__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin-top: var(--space-20);
}

.info-sheet__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: var(--space-15) calc(var(--space-15) + 19px) var(--space-15) var(--space-15);
  border: none;
  border-radius: 12px;
  background: var(--color-background-lighter);
  color: var(--color-text-secondary);
  text-align: left;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-medium);
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.info-sheet__btn:active {
  background: var(--color-text-tertiary);
  color: var(--color-text-primary);
}

.info-sheet__btn-icon {
  position: absolute;
  top: 50%;
  right: var(--space-15);
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--color-text-tertiary);
}

.info-sheet__btn-icon svg {
  display: block;
  height: var(--icon-size);
  width: auto;
}

.info-sheet__btn-icon svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.t-location {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.t-location main {
  --pad-bottom: calc(var(--space-15) + env(safe-area-inset-bottom));
  padding: 0 var(--space-15);
}

.t-location a {
  -webkit-touch-callout: none;
}

.loc-hero {
  position: relative;
  margin-inline: calc(-1 * var(--space-15));
  aspect-ratio: 3/2;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 50%), var(--hero, none), url("../images/location_blank.png");
  background-size: cover;
  background-position: center, var(--focus, center), center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--color-background-light);
}

.loc-hero__back,
.details-back {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  view-transition-name: back-button;
}

html[data-vt] .loc-hero__back,
html[data-vt] .details-back {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.details-back {
  position: sticky;
  top: calc(var(--space-15) + env(safe-area-inset-top));
  z-index: 10;
}

.loc-hero__back:active,
.details-back:active {
  transform: scale(var(--press-scale));
}

.loc-hero__back {
  position: fixed;
  z-index: 10;
  top: calc(var(--space-15) + env(safe-area-inset-top));
  left: max(var(--space-15), 50% - 360px + var(--space-15));
}

.loc-hero .loc-card__dir--top {
  top: calc(var(--space-15) + env(safe-area-inset-top));
}

.loc-hero[data-photo] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.loc-hero__bar {
  position: absolute;
  left: var(--space-15);
  right: var(--space-15);
  bottom: var(--space-15);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-15);
}

.loc-hero__title {
  margin: 0;
  font-size: var(--text-title);
}

.loc-hero__caption .loc-card__coords {
  line-height: calc(var(--text-label) + 0.1 * var(--text-title));
}

.loc-hero__caption .loc-card__city {
  line-height: calc(var(--text-large) + 0.1 * var(--text-title));
}

.loc-meta__row {
  display: flex;
  align-items: center;
  padding-block: var(--space-15);
  border-bottom: 1px solid var(--color-background-lighter);
}

.loc-meta__cats {
  overflow-x: auto;
  scrollbar-width: none;
}

.loc-meta__cats::-webkit-scrollbar {
  display: none;
}

.loc-meta__hours {
  gap: var(--space-5);
}

.loc-meta__hours .loc-card__cell-icon {
  color: var(--accent-icon);
}

.loc-meta__hours-text {
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.loc-meta__diff {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}

.loc-meta__diffs {
  gap: var(--space-10);
}

.loc-meta .loc-card__diff {
  background: var(--color-background-dark);
}

.t-location .map {
  height: auto;
  aspect-ratio: 2/1;
  margin: 0 0 var(--space-30);
  border: none;
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-1);
  transform: translateZ(0);
}

.t-location .map .maplibregl-canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.maplibregl-popup-content {
  color: #1a1a1a;
}

.location-intro {
  display: flex;
  align-items: center;
  padding-block: var(--space-30);
  font-size: var(--text-medium);
  font-weight: var(--weight-regular);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 120ms ease;
}

.location-intro:active {
  color: var(--color-text-primary);
}

.location-intro__text {
  flex: 1;
}

.location-intro__more {
  color: var(--color-text-primary);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
}

.location-intro__icon {
  flex: none;
  display: inline-flex;
  margin-left: var(--space-15);
  color: var(--color-text-tertiary);
}

.location-intro__icon svg {
  display: block;
  height: var(--icon-size);
  width: auto;
}

.location-intro__icon svg :is(path, line, polyline, polygon, circle, rect, ellipse) {
  stroke: currentColor;
}

.loc-box {
  margin-top: var(--space-5);
  margin-bottom: var(--space-30);
  padding: var(--space-10) var(--space-15);
  border: none;
  border-radius: 12px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  font-size: var(--text-medium);
  font-weight: var(--weight-regular);
}

.notice--warning {
  background: var(--color-red);
  color: var(--color-text-primary);
}

.notice--info {
  background: var(--color-background-light);
  color: var(--color-text-secondary);
}

.notice__msg {
  flex: 1;
  min-width: 0;
}

.notice__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 1lh;
}

.notice__icon svg {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
}

.notice__icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.notice__icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.notice--warning .notice__icon {
  color: var(--color-orange);
}

.notice--info .notice__icon {
  color: var(--color-beginner);
}

.notice a {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.loc-divider {
  height: 1px;
  background: var(--color-background-lighter);
  margin-block: var(--space-20);
}

.loc-section__title {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
  color: var(--accent-icon);
}

.rainfall,
.loc-section,
.loc-status {
  margin-top: var(--space-5);
  margin-bottom: var(--space-30);
}

.rainfall__grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-10);
}

.rainfall__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.rainfall__label {
  font-size: var(--text-label);
  font-weight: var(--weight-regular);
  color: var(--color-text-secondary);
}

.rainfall__value {
  font-size: var(--text-medium);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.rainfall__source {
  margin: var(--space-10) 0 0;
  font-size: var(--text-small);
  font-weight: var(--weight-regular);
  color: var(--color-text-tertiary);
}

.rainfall__source-label {
  font-weight: var(--weight-medium);
}

.loc-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
}

.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: var(--space-5) var(--space-10);
  border: none;
  border-radius: 8px;
  background: var(--color-background-light);
  color: var(--color-text-secondary);
  font: inherit;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.loc-chip:active {
  background: var(--color-background-lighter);
}

.parking-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  margin: 0;
  padding: var(--space-10);
  border: none;
  border-radius: 12px;
  background: var(--color-background-light);
  scroll-margin-top: var(--space-15);
}

.parking-detail + .parking-detail {
  margin-top: var(--space-10);
}

.parking-detail[data-map-poi] {
  cursor: pointer;
  transition: background-color 120ms ease;
}

.parking-detail[data-map-poi]:active:not(:has(.loc-card__directions:active, .parking-detail__photo:active)) {
  background: var(--color-background-lighter);
}

.parking-detail__photo {
  position: relative;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-background-lighter);
}

.parking-detail__photo[data-photos] {
  cursor: pointer;
}

.parking-detail__photo[data-photos]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.parking-detail__photo[data-photos]:active::after {
  opacity: 0.3;
}

.parking-detail__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parking-detail__info {
  flex: 1;
  min-width: 0;
}

.parking-detail__info:not(:has(.parking-detail__desc)) {
  align-self: center;
}

.parking-detail__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-large);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.parking-detail__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-medium);
  font-weight: var(--weight-regular);
  color: var(--color-text-secondary);
}

.parking-detail .loc-card__directions {
  border-color: var(--accent-border);
}

.loc-status__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.loc-status__link {
  padding: var(--space-10) var(--space-15);
  border-radius: 12px;
  background: var(--color-background-lighter);
  color: var(--color-text-secondary);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-medium);
  transition: background-color 120ms ease, color 120ms ease;
}

.loc-status__link:active {
  background: var(--color-text-tertiary);
  color: var(--color-text-primary);
}

.loc-orgs {
  margin-top: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  text-align: center;
}

.loc-orgs__label {
  font-family: var(--font-condensed);
  font-weight: var(--weight-medium);
  font-size: var(--text-label);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.loc-orgs__value {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-large);
  color: var(--color-text-primary);
  text-decoration: none;
}

.details {
  padding-top: calc(var(--space-15) + env(safe-area-inset-top));
}

.details-title {
  margin: var(--space-15) 0 0;
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.details-desc {
  margin-top: var(--space-10);
  font-size: var(--text-medium);
  color: var(--color-text-secondary);
}

.details-desc :is(p):first-child {
  margin-top: 0;
}

.details-desc p {
  margin: var(--space-10) 0 0;
}

.details-spots-title {
  margin-top: var(--space-20);
}

.spot-detail {
  position: relative;
  margin: 0;
  padding: var(--space-15);
  border: none;
  border-radius: var(--radius-container);
  background: var(--color-background-light);
  scroll-margin-top: var(--space-15);
}

.spot-detail + .spot-detail {
  margin-top: var(--space-20);
}

.spot-detail__map {
  position: absolute;
  top: var(--space-15);
  right: var(--space-15);
  background: var(--color-text-secondary);
  border-color: var(--color-text-primary);
  color: var(--color-background);
}

.spot-detail__map:active {
  background: var(--color-text-primary);
}

.spot-detail__top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  margin-bottom: var(--space-15);
}

.spot-detail__info {
  flex: 1;
  min-width: 0;
}

.spot-detail__thumb {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  border-radius: var(--radius-control);
  overflow: hidden;
  background: var(--color-background-lighter);
  cursor: pointer;
  transition: var(--press-transition);
}

.spot-detail__thumb:active {
  transform: scale(var(--press-scale));
}

.spot-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-detail__thumb-zoom {
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #fff;
}

.spot-detail__thumb-zoom svg {
  width: 11px;
  height: 11px;
}

.spot-detail__thumb-zoom svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.spot-detail__thumb-zoom svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.spot-detail__head {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-right: calc(var(--control-h) + var(--space-10));
  margin-bottom: var(--space-10);
}

.spot-detail__icon {
  display: inline-flex;
  flex: none;
  color: var(--accent-icon);
  transform: translateY(-0.09em);
}

.spot-detail__icon + .spot-detail__icon {
  padding-left: var(--space-5);
  border-left: 1px solid var(--color-background-lighter);
}

.spot-detail__icon svg {
  width: var(--text-title-card);
  height: var(--text-title-card);
}

.spot-detail__icon svg [stroke]:not([stroke=none]) {
  stroke: currentColor;
}

.spot-detail__icon svg [fill]:not([fill=none]) {
  fill: currentColor;
}

.spot-detail__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-title-card);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.spot-detail__meta {
  display: flex;
  align-items: center;
}

.spot-detail__desc {
  margin: 0;
  font-size: var(--text-medium);
  color: var(--color-text-secondary);
}

.spot-detail .loc-divider {
  margin-block: var(--space-15);
}

.spot-detail .loc-box {
  margin: var(--space-15) 0 0;
}

.spot-detail__label {
  display: block;
  margin-bottom: var(--space-5);
  font-family: var(--font-condensed);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.spot-detail__text {
  margin: 0;
  font-size: var(--text-medium);
  color: var(--color-text-secondary);
}

/*# sourceMappingURL=main.css.map */
