/* Generated from resolved VentoVia theme context. */
:root {
  --ventovia-color-background: #f4f1e8;
  --ventovia-color-surface: #f4f1e8;
  --ventovia-color-text: #243029;
  --ventovia-color-accent: #2f5c4c;
  --ventovia-color-border: #d8d1c0;
  --ventovia-font-body: Inter, system-ui, -apple-system, sans-serif;
  --ventovia-font-display: Georgia, serif;
  --ventovia-radius-control: 8px;
  --ventovia-radius-card: 10px;
  --ventovia-radius-panel: 12px;
  --ventovia-radius-pill: 999px;
}

html[data-theme="dark"] {
  --ventovia-color-background: #171b18;
  --ventovia-color-text: #e6e2d5;
  --ventovia-color-accent: #d8b36e;
}

/* @override 
	https://www.trstenickastezka.cz/style.css
	http://127.0.0.1:3000/style.css?v=20260721-12 */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: var(--ventovia-font-body, Inter, system-ui, -apple-system, sans-serif);
  color: var(--ventovia-color-text, #243029);
  background: var(--ventovia-color-background, #f4f1e8);
}
body { display: flex; flex-direction: column; }

button,
a,
input,
.place-card,
.leaflet-control a,
.leaflet-control button {
  -webkit-tap-highlight-color: rgba(47, 92, 76, .16);
}

html[data-theme="dark"] button,
html[data-theme="dark"] a,
html[data-theme="dark"] input,
html[data-theme="dark"] .place-card,
html[data-theme="dark"] .leaflet-control a,
html[data-theme="dark"] .leaflet-control button {
  -webkit-tap-highlight-color: rgba(216, 179, 110, .22);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.place-card:focus-visible,
.leaflet-control a:focus-visible,
.leaflet-control button:focus-visible {
  outline: 3px solid rgba(47, 92, 76, .3);
  outline-offset: 2px;
}

html[data-theme="dark"] button:focus-visible,
html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] input:focus-visible,
html[data-theme="dark"] .place-card:focus-visible,
html[data-theme="dark"] .leaflet-control a:focus-visible,
html[data-theme="dark"] .leaflet-control button:focus-visible {
  outline-color: rgba(216, 179, 110, .34);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  color: var(--ventovia-color-text, #e6e2d5);
  background: var(--ventovia-color-background, #171b18);
}

html[data-theme="dark"] {
  scrollbar-color: rgba(216,179,110,.42) rgba(23,27,24,.68);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .control-panel,
html[data-theme="dark"] .control-panel-scroll,
html[data-theme="dark"] .detail,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .image-modal {
  scrollbar-width: thin;
  scrollbar-color: rgba(216,179,110,.42) rgba(23,27,24,.68);
}

html[data-theme="dark"] body::-webkit-scrollbar,
html[data-theme="dark"] .control-panel::-webkit-scrollbar,
html[data-theme="dark"] .control-panel-scroll::-webkit-scrollbar,
html[data-theme="dark"] .detail::-webkit-scrollbar,
html[data-theme="dark"] .modal-card::-webkit-scrollbar,
html[data-theme="dark"] .mobile-menu::-webkit-scrollbar,
html[data-theme="dark"] .image-modal::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-theme="dark"] body::-webkit-scrollbar-track,
html[data-theme="dark"] .control-panel::-webkit-scrollbar-track,
html[data-theme="dark"] .control-panel-scroll::-webkit-scrollbar-track,
html[data-theme="dark"] .detail::-webkit-scrollbar-track,
html[data-theme="dark"] .modal-card::-webkit-scrollbar-track,
html[data-theme="dark"] .mobile-menu::-webkit-scrollbar-track,
html[data-theme="dark"] .image-modal::-webkit-scrollbar-track {
  background: rgba(23,27,24,.68);
}

html[data-theme="dark"] body::-webkit-scrollbar-thumb,
html[data-theme="dark"] .control-panel::-webkit-scrollbar-thumb,
html[data-theme="dark"] .control-panel-scroll::-webkit-scrollbar-thumb,
html[data-theme="dark"] .detail::-webkit-scrollbar-thumb,
html[data-theme="dark"] .modal-card::-webkit-scrollbar-thumb,
html[data-theme="dark"] .mobile-menu::-webkit-scrollbar-thumb,
html[data-theme="dark"] .image-modal::-webkit-scrollbar-thumb {
  background: rgba(216,179,110,.42);
  border: 2px solid rgba(23,27,24,.68);
  border-radius: 999px;
}

html[data-theme="dark"] body::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .control-panel::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .control-panel-scroll::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .detail::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .modal-card::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .mobile-menu::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] .image-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(216,179,110,.68);
}

html[data-theme="dark"] body::-webkit-scrollbar-corner,
html[data-theme="dark"] .control-panel::-webkit-scrollbar-corner,
html[data-theme="dark"] .control-panel-scroll::-webkit-scrollbar-corner,
html[data-theme="dark"] .detail::-webkit-scrollbar-corner,
html[data-theme="dark"] .modal-card::-webkit-scrollbar-corner,
html[data-theme="dark"] .mobile-menu::-webkit-scrollbar-corner,
html[data-theme="dark"] .image-modal::-webkit-scrollbar-corner {
  background: rgba(23,27,24,.68);
}


.leaflet-container {
    filter:
        saturate(0.78)
		brightness(1.03)
        contrast(0.94)
        sepia(0.06);
}

html[data-theme="dark"] .leaflet-container {
  filter:
    saturate(0.68)
    brightness(0.82)
    contrast(1.02)
    sepia(0.1);
}


#map::before{

    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.05;
    background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,.12) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.15) 0 1px, transparent 1px);
    background-size:4px 4px;
}



header {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  background: #f4f1e8;
  border-bottom: 1px solid #d8d1c0;
  z-index: 1300;
}

html[data-theme="dark"] header {
  background: #171b18;
  border-bottom-color: #34392f;
}
h1 {
  margin: 2px 0 0;
  font-family: var(--ventovia-font-display, Georgia, serif);
  font-size: 28px;
  font-weight: 500;
}
h1 a,
h1 a:visited,
h1 a:hover,
h1 a:focus {
  color: inherit;
  text-decoration: none;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b6848;
}
header p { margin: 4px 0; color: #667068; }
html[data-theme="dark"] header p { color: #b8bcae; }
button { font: inherit; }

.header-actions { display: flex; gap: 10px; }
.header-actions > button,
.header-actions > .lang-switch {
  flex-shrink: 0;
}

.header-actions > button {
  white-space: nowrap;
}

.menu-btn { display: none; }
header button {
  border: 2px solid #fff;
  color: #243029;
  border-radius: 999px;
  background: transparent;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 500;

}

html[data-theme="dark"] header button {
  border-color: #34392f;
  color: #e6e2d5;
}

header button:hover {
  background: #fff;
  cursor: pointer;
}

html[data-theme="dark"] header button:hover {
  background: #252b26;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 6px;
}

.lang-current {
  min-width: 78px;
  padding: 12px 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  text-transform: uppercase;
  background: transparent;
  color: #243029;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.theme-toggle {
  width: 52px;
  height: 48px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #243029;
}

.theme-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-moon {
  fill: none;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang-current {
  color: #e6e2d5;
}

.lang-current:hover {
  background: #fff;
}

.lang-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.lang-icon circle,
.lang-icon ellipse,
.lang-icon path {
  fill: none;
  stroke: #243029;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .lang-icon circle,
html[data-theme="dark"] .lang-icon ellipse,
html[data-theme="dark"] .lang-icon path {
  stroke: #e6e2d5;
}

.lang-icon circle {
  stroke-width: 1.8;
}

.lang-icon ellipse,
.lang-icon path {
  stroke-width: 1.4;
}

.lang-options {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  min-width: 76px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid #d8d1c0;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 24px rgba(30,40,34,.14);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 1600;
}

html[data-theme="dark"] .lang-options {
  border-color: #3d4439;
  background: rgba(31,36,32,.98);
  box-shadow: 0 10px 24px rgba(0,0,0,.34);
}

.lang-options button {
  min-width: 36px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4f5a53;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

html[data-theme="dark"] .lang-options button {
  color: #d7d2c2;
}

.lang-options button:hover {
  background: #f1ecdf;
}

html[data-theme="dark"] .lang-options button:hover {
  background: #2b332d;
}

.lang-options button.active {
  background: #2f5c4c;
  color: #fff;
}

.lang-switch.open .lang-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 801px) {
  .lang-switch:hover .lang-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

main {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 390px 1fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  height: calc(100vh - 116px);
}

.map-wrap {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  height: calc(100vh - 116px);
}
#map {
  height: calc(100vh - 116px);
  width: 100%;
}

.mobile-jump-to-filters {
  display: none;
}

.control-panel {
  grid-column: 1;
  grid-row: 1;
  overflow: auto;
  padding: 20px;
  background: #fbfaf6;
  border-right: 1px solid #d8d1c0;
  height: 100%;
}

html[data-theme="dark"] .control-panel {
  background: #1f241f;
  border-right-color: #34392f;
}
.panel-grip { display: none; }
.sheet-drag-zone { display: none; }
.control-panel-scroll { display: contents; }

.search { position: relative; }
.search input {
  width: 100%;
  padding: 13px 44px 13px 14px;
  border: 1px solid #cec6b3;
  border-radius: 9px;
  background: #fff;
  font-size: 15px;
  outline: none;
}

html[data-theme="dark"] .search input {
  background: #151916;
  border-color: #444b40;
  color: #e6e2d5;
}

html[data-theme="dark"] .search input::placeholder {
  color: #9ca397;
}

.search input:focus {
  border-color: #b7ad98;
  box-shadow: 0 0 0 2px rgba(183, 173, 152, .22);
}
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ebe7dc;
  color: #55605a;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.search-clear:hover { background: #ddd7c8; color: #243029; }

html[data-theme="dark"] .search-clear {
  background: #30372f;
  color: #d7d2c2;
}

html[data-theme="dark"] .search-clear:hover {
  background: #3a433a;
  color: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}
.filters button,
.route-controls button {
  border: 1px solid #cfc7b5;
  background: #fff;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="dark"] .filters button,
html[data-theme="dark"] .route-controls button {
  background: none;
}
.filters button {
  border-color: var(--filter-color, #cfc7b5);
  color: var(--filter-color, #2f5c4c);
}
.filters button.active {
  background: var(--filter-color, #2f5c4c);
  color: #fff;
  border-color: var(--filter-color, #2f5c4c);
}

.filters .filter-info {
  gap: 5px;
  border-color: var(--filter-color, #4d6b8f);
  color: var(--filter-color, #4d6b8f);
}

.filter-info-icon {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 700 9px/1 Georgia, serif;
  font-family: var(--ventovia-font-display, Georgia, serif);
}

html[data-theme="dark"] .filters button.active {
  background: var(--filter-color, #2f5c4c);
  color: #fff;
  border-color: var(--filter-color, #2f5c4c);
}

.route-controls h2 {
  font-family: var(--ventovia-font-display, Georgia, serif);
  font-weight: 500;
  font-size: 20px;
  margin: 19px 0 9px;
}
.route-controls > div {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.route-controls button.my-targets-entry {
  width: auto;
  min-width: 0;
  padding: 0 13px 0 11px;
  gap: 5px;
  color: #2f5c4c;
}

html[data-theme="dark"] .route-controls button.my-targets-entry {
  border-color: #3a6455;
  color: #3a6455;
}

.my-targets-entry svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.my-targets-entry-label {
  font: inherit;
}

.route-controls button.my-targets-entry.active {
  background: #93dac1;
  border-color: #93dac1;
  color: #3a6455;
}

.my-targets-panel {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #243029;
}

.my-targets-header {
  display: flex;
  position: static;
  align-items: center;
  gap: 8px;
  height: auto;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.my-targets-header h3 {
  margin: 0;
  font-family: var(--ventovia-font-display, Georgia, serif);
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.my-targets-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #93dac1;
  color: #3a6455;
  font-size: 12px;
  font-weight: 800;
}

.route-controls button.my-targets-close {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 22px;
}

.my-targets-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
}

.my-targets-empty {
  margin-top: 2px !important;
  font-size: 17px !important;
  font-weight: 750;
  text-align: center;
}

.my-targets-empty-detail {
  color: #737a74;
  font-size: 15px !important;
  text-align: center;
}

.my-targets-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 6px auto 16px;
  border-radius: 50%;
  background: #eaf0eb;
  color: #2f6d56;
}

.my-targets-empty-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.my-targets-count {
  color: #536057;
  font-size: 12px !important;
  font-weight: 700;
}

.my-targets-list {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.4;
}

.my-targets-edit-list {
  display: grid;
  gap: 7px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.my-targets-edit-list li {
  display: grid;
  position: relative;
  grid-template-columns: 20px 38px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  min-height: 52px;
  padding: 7px 8px;
  border: 1px solid #ebe5d9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(40, 50, 43, .06);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.my-targets-edit-thumbnail {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 7px;
  background: #edf1ec;
}

.my-targets-edit-thumbnail.is-empty {
  display: none;
}

.my-targets-edit-list li.has-no-thumbnail {
  grid-template-columns: 20px minmax(0, 1fr) auto;
}

.my-targets-edit-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.my-targets-edit-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.my-targets-edit-controls {
  display: flex;
  gap: 0;
}

.route-controls .my-targets-edit-controls button {
  position: relative;
  width: 30px;
  min-width: 30px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.route-controls .my-targets-edit-controls button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid #d4c8b7;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  color: #2f6d56;
  font-size: 13px;
  line-height: 1;
}

.route-controls .my-targets-edit-controls button[data-edit-action="up"]::before {
  content: "↑";
}

.route-controls .my-targets-edit-controls button[data-edit-action="down"]::before {
  content: "↓";
}

.route-controls .my-targets-edit-controls button[data-edit-action="remove"]::before {
  color: #8b352f;
  content: "×";
}

.route-controls .my-targets-edit-controls button:disabled {
  opacity: .35;
  cursor: default;
}

.route-controls button.my-targets-drag-handle {
  width: 20px;
  min-width: 20px;
  min-height: 40px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #527063;
  font-size: 18px;
  cursor: grab;
  touch-action: none;
}

.route-controls button.my-targets-drag-handle:active {
  cursor: grabbing;
}

.my-targets-edit-list li.is-dragging {
  z-index: 2;
  transform: scale(1.015);
  background: #fff;
  box-shadow: 0 12px 28px rgba(40, 50, 43, .18);
}

.my-targets-edit-list li.is-drag-target::before,
.my-targets-edit-list li.is-drag-target.is-drop-after::after {
  position: absolute;
  right: 8px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: #2f6d56;
  content: "";
}

.my-targets-edit-list li.is-drag-target::before {
  top: -4px;
}

.my-targets-edit-list li.is-drag-target.is-drop-after::before {
  display: none;
}

.my-targets-edit-list li.is-drag-target.is-drop-after::after {
  bottom: -4px;
}

.route-controls button.my-targets-clear-all {
  display: block;
  min-height: 24px;
  margin: 0 auto;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: rgba(85, 0, 0, .5);
  font-size: 11px;
  line-height: 1.2;
}

.route-controls button.my-targets-clear-all:hover,
.route-controls button.my-targets-clear-all:focus-visible {
  background: transparent;
  color: #550000;
}

.route-controls button.my-targets-clear-all:focus-visible {
  outline: 2px solid rgba(85, 0, 0, .35);
  outline-offset: 1px;
}

.my-targets-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-controls .my-targets-actions button {
  min-height: 28px;
  padding: 0 12px;
}

.route-controls .my-targets-actions button:not(.my-targets-primary) {
  border-color: #93dac1;
  color: #3a6455;
}

.route-controls .my-targets-actions button.my-targets-primary {
  background: #93dac1;
  border-color: #93dac1;
  color: #3a6455;
}

.my-targets-body:empty {
  display: none;
}

.my-targets-panel[data-state="EDIT"] .my-targets-body {
  padding-top: 10px;
}

.my-targets-panel[data-state="VIEW"] .my-targets-header,
.my-targets-panel[data-state="EMPTY"] .my-targets-header,
.my-targets-panel[data-state="SELECT"] .my-targets-header,
.my-targets-panel[data-state="EDIT"] .my-targets-header {
  margin: 0;
}

.my-targets-panel[data-state="VIEW"] .my-targets-actions,
.my-targets-panel[data-state="EMPTY"] .my-targets-actions,
.my-targets-panel[data-state="SELECT"] .my-targets-actions,
.my-targets-panel[data-state="EDIT"] .my-targets-actions {
  flex-wrap: nowrap;
  margin-left: auto;
}

.my-targets-panel[data-state="VIEW"] .my-targets-actions button,
.my-targets-panel[data-state="EMPTY"] .my-targets-actions button,
.my-targets-panel[data-state="SELECT"] .my-targets-actions button,
.my-targets-panel[data-state="EDIT"] .my-targets-actions button {
  padding-right: 10px;
  padding-left: 10px;
}

.my-targets-panel[data-state="EMPTY"] .my-targets-body,
.my-targets-body.is-empty {
  padding: 20px 4px 4px;
}

html[data-theme="dark"] .my-targets-panel {
  border-color: transparent;
  background: transparent;
  color: #e6e2d5;
}

html[data-theme="dark"] .my-targets-header {
  background: transparent;
  border-bottom-color: transparent;
}

html[data-theme="dark"] .my-targets-count {
  color: #b8c0b5;
}

html[data-theme="dark"] .my-targets-edit-list li {
  border-color: #444b40;
  background: rgba(10, 15, 11, .3);
}

html[data-theme="dark"] .my-targets-empty-icon,
html[data-theme="dark"] .my-targets-empty-icon {
  background: #36443b;
  color: #a9d4bd;
}

html[data-theme="dark"] .my-targets-edit-position {
  color: #b8c0b5;
}

html[data-theme="dark"] .route-controls .my-targets-edit-controls .my-targets-edit-remove {
  color: #f0aaa3;
}

html[data-theme="dark"] .route-controls .my-targets-edit-controls button::before {
  border-color: #596258;
  background: rgba(21, 27, 23, .72);
}

html[data-theme="dark"] .route-controls .my-targets-edit-controls button[data-edit-action="remove"]::before {
  color: #f0aaa3;
}

html[data-theme="dark"] .route-controls button.my-targets-entry.active,
html[data-theme="dark"] .route-controls .my-targets-actions button.my-targets-primary {
  background: #93dac1;
  border-color: #93dac1;
  color: #3a6455;
}

html[data-theme="dark"] .route-controls .my-targets-actions button:not(.my-targets-primary) {
  border-color: #93dac1;
  color: #93dac1;
}

@media (max-width: 760px) {
  .my-targets-panel {
    padding: 13px;
  }

  .my-targets-panel[data-state="VIEW"],
  .my-targets-panel[data-state="SELECT"] {
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .my-targets-panel[data-state="VIEW"] .my-targets-actions,
  .my-targets-panel[data-state="EMPTY"] .my-targets-actions,
  .my-targets-panel[data-state="SELECT"] .my-targets-actions,
  .my-targets-panel[data-state="EDIT"] .my-targets-actions {
    flex-wrap: nowrap;
    gap: 6px;
    margin-left: auto;
  }

  .my-targets-panel[data-state="VIEW"] .my-targets-header,
  .my-targets-panel[data-state="EMPTY"] .my-targets-header,
  .my-targets-panel[data-state="SELECT"] .my-targets-header,
  .my-targets-panel[data-state="EDIT"] .my-targets-header {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .route-controls .my-targets-actions button {
    min-height: 34px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
  }

  .route-controls .my-targets-edit-controls button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .route-controls .my-targets-edit-controls button::before {
    width: 26px;
    height: 26px;
  }

  .route-controls button.my-targets-clear-all {
    min-height: 36px;
  }

}

@media (max-width: 360px) {
  .my-targets-panel[data-state="VIEW"] .my-targets-header,
  .my-targets-panel[data-state="EMPTY"] .my-targets-header,
  .my-targets-panel[data-state="SELECT"] .my-targets-header,
  .my-targets-panel[data-state="EDIT"] .my-targets-header,
  .my-targets-panel .my-targets-actions {
    gap: 4px;
  }

  .my-targets-header h3 {
    font-size: 18px;
  }

  .my-targets-panel[data-state] .my-targets-actions button {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-targets-edit-list li {
    transition: none;
  }
}
.route-controls button {
  border-color: var(--route-color, #cfc7b5);
  color: var(--route-color, #2f5c4c);
}

.route-controls button.active {
  background: var(--route-color, #2f5c4c);
  color: #fff;
  border-color: var(--route-color, #2f5c4c);
}

html[data-theme="dark"] .route-controls button.active {
  background: var(--route-color, #2f5c4c);
  color: #fff;
  border-color: var(--route-color, #2f5c4c);
}
.filters .filter-reset {
    width: 22px;
    height: 22px;
    padding: 0px;
    border-radius: 999px;
    font-size: 18px;
    min-height: 20px;
    line-height: 0;
    background: #f4f1e8;
    color: #8b8b8b;
    border: 1px solid #eee;
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-self: center;
    justify-content: center;
    touch-action: manipulation;
    animation: filter-reset-in .18s ease-out both;
}

@keyframes filter-reset-in {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}

html[data-theme="dark"] .filters .filter-reset {
  background: #1a1f1b;
  border-color: #444b40;
}
.filters .filter-reset:hover { background: #fff;   border: 1px solid #eee;
 }

.route-active-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: -10px 0 8px;
  font-size: 14px;
}

.route-controls > .route-active-info {
  margin: -10px 0 8px;
}

.route-active-info.hidden {
  display: none;
}

.route-active-meta {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.route-active-meta strong {
  color: var(--route-color, #2f5c4c);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.route-active-meta span {
  flex-shrink: 0;
  color: #8b8f86;
}

.route-share-btn {
  flex-shrink: 0;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--route-color, #2f5c4c) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
  opacity: .4;
  cursor: pointer;
}

.route-share-btn:hover,
.route-share-btn:focus-visible {
  background: transparent !important;
  color: var(--route-color, #2f5c4c) !important;
  opacity: 1;
}

html[data-theme="dark"] .route-active-meta span {
  color: #9ca397;
}

.share-card {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #d8d1c0;
  border-radius: 10px;
  background: #f4f1e8;
}

.share-card strong {
  color: var(--route-color, #2f5c4c);
}

.share-card a {
  color: var(--route-color, #2f5c4c);
  overflow-wrap: anywhere;
}

.share-card button {
  justify-self: start;
  border: 1px solid var(--route-color, #2f5c4c);
  border-radius: 999px;
  background: transparent;
  color: var(--route-color, #2f5c4c);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.share-card button:hover,
.share-card button:focus-visible {
  background: var(--route-color, #2f5c4c);
  color: #fff;
}

html[data-theme="dark"] .share-card {
  background: #171b18;
  border-color: #3d4439;
}

.list { display: grid; gap: 8px; }
.list-empty {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e1dbcd;
  border-radius: 9px;
  color: #667068;
}

html[data-theme="dark"] .list-empty {
  background: #171b18;
  border-color: #393f36;
  color: #b8bda9;
}

.list-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.list-empty button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f5c4c;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

html[data-theme="dark"] .list-empty button {
  color: #d8b36e;
}
.place-card {
  content-visibility: auto;
  contain-intrinsic-size: 78px;
  background: #fff;
  border: 1px solid #e1dbcd;
  border-radius: 9px;
  cursor: pointer;
  overflow: hidden;
}

html[data-theme="dark"] .place-card {
  background: #171b18;
  border-color: #393f36;
}
.place-card.active {
  border-color: #2f5c4c;
  box-shadow: 0 0 0 2px rgba(47,92,76,.15);
}

@media (hover: hover) and (pointer: fine) {
  .place-card:hover {
    border-color: #2f5c4c;
    box-shadow: 0 0 0 1px rgba(47,92,76,.12);
  }

  html[data-theme="dark"] .place-card:hover {
    border-color: #87b96f;
    box-shadow: 0 0 0 1px rgba(135,185,111,.18);
  }
}

html[data-theme="dark"] .place-card.active {
  border-color: #87b96f;
  box-shadow: 0 0 0 2px rgba(135,185,111,.22);
}
.place-head {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 11px;
  padding: 8px;
}
.place-card.no-image .place-head {
  grid-template-columns: 1fr;
  padding: 12px;
}
.place-card img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #e6e1d5;
}

html[data-theme="dark"] .place-card img {
  background: #30372f;
}
.place-card img.place-audio-indicator {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: transparent;
  opacity: .2;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .18s ease;
}
.place-card.has-audio .place-main {
  padding-right: 19px;
}

.place-card.is-target-selecting .place-main {
  padding-right: 32px;
}

.my-targets-card-toggle,
.my-targets-gps-action {
  appearance: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid #b9c3bd;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #2f5c4c;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.my-targets-card-toggle {
  position: absolute;
  right: 7px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 17px;
  font-weight: normal;
  box-shadow: none;
}

.my-targets-card-toggle.is-selected,
.my-targets-gps-action.is-selected {
  border-color: #93dac1;
  background: #93dac1;
  color: #3a6455;
}

.my-targets-card-toggle:focus-visible,
.my-targets-gps-action:focus-visible {
  outline: 3px solid rgba(47, 92, 76, .3);
  outline-offset: 2px;
}

html[data-theme="dark"] .my-targets-card-toggle,
html[data-theme="dark"] .my-targets-gps-action {
  border-color: #59635a;
  background: #242b25;
  color: #bcd4c7;
}

html[data-theme="dark"] .my-targets-card-toggle.is-selected,
html[data-theme="dark"] .my-targets-gps-action.is-selected {
  border-color: #93dac1;
  background: #93dac1;
  color: #3a6455;
}

.place-card.has-audio:hover img.place-audio-indicator,
.place-card.has-audio:focus-within img.place-audio-indicator,
.place-card.has-audio.active img.place-audio-indicator {
  opacity: .6;
}
html[data-theme="dark"] .place-card img.place-audio-indicator {
  background: transparent;
  filter: invert(1);
}
.place-main h2 {
  font-size: 14px;
  margin: 5px 0 3px;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}
.place-main span {
  font-size: 11px;
  color: #7b6848;
  text-transform: uppercase;
  letter-spacing: .05em;
}

html[data-theme="dark"] .place-main span,
html[data-theme="dark"] #detailCategory {
  color: #c9a96a;
}
.place-accordion {
  border-top: 1px solid #eee6d4;
  padding: 0 12px 12px;
}

html[data-theme="dark"] .place-accordion {
  border-top-color: #34392f;
}
.place-accordion-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #4e5851;
}
.place-accordion-text p {
  margin: 0 0 .55em;
}
.place-accordion-text p:last-child {
  margin-bottom: 0;
}

html[data-theme="dark"] .place-accordion-text,
html[data-theme="dark"] #detailText,
html[data-theme="dark"] .trail-origin-text,
html[data-theme="dark"] .trail-origin-columns {
  color: #c6cbbd;
}
.place-accordion .meta {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #876d3f;
}
.place-accordion .go-link {
  display: inline-block;
  margin-top: 10px;
  background: trasnparent;
  color: #2f5c4c;
  border: 1px solid #2f5c4c;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.place-accordion .go-link:hover {
  background: #2f5c4c;
  color: #ffffff;
  border: 1px solid #2f5c4c;
}



.detail {
  position: absolute;
  z-index: 1000;
  right: 24px;
  top: 24px;
  width: min(390px, calc(100% - 48px));
  /* Keep tall details clear of the scale and the lower edge of the map. */
  max-height: var(--detail-safe-max-height, calc(100% - clamp(56px, 7vh, 88px)));
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #fbfaf6;
  border-radius: 14px;
  box-shadow: 0 15px 50px rgba(30,40,34,.25);
}

.detail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.modal-card::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.modal-card::-webkit-scrollbar-track,
html[data-theme="dark"] .modal-card::-webkit-scrollbar-track {
  /* About 98% visible height; the scrollable content still keeps its full range. */
  margin-block: clamp(7px, 1vh, 12px);
  background: transparent;
}

.modal-card::-webkit-scrollbar-thumb {
  min-height: 38px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(89, 98, 92, .48);
  background-clip: content-box;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(65, 76, 69, .68);
  background-clip: content-box;
}

html[data-theme="dark"] .modal-card {
  scrollbar-color: rgba(216, 179, 110, .52) transparent;
}

html[data-theme="dark"] .modal-card::-webkit-scrollbar-thumb {
  border-color: transparent;
  background: rgba(216, 179, 110, .52);
  background-clip: content-box;
}

.detail-scrollbar {
  position: absolute;
  z-index: 1002;
  width: 8px;
  pointer-events: none;
}

.detail-scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  min-height: 38px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(89, 98, 92, .52);
  background-clip: content-box;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transition: background-color .16s ease;
}

.detail-scrollbar-thumb:hover,
.detail-scrollbar-thumb:focus-visible,
.detail-scrollbar-thumb.is-dragging {
  background-color: rgba(65, 76, 69, .76);
}

.detail-scrollbar-thumb.is-dragging { cursor: grabbing; }

html[data-theme="dark"] .detail-scrollbar-thumb {
  background-color: rgba(216, 179, 110, .58);
}

html[data-theme="dark"] .detail,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .mobile-menu {
  background: #1f241f;
  color: #e6e2d5;
}
.hidden { display: none !important; }
.detail > button,
.modal-card > button,
.image-modal > button {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #243029;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
  transform: none;
  touch-action: manipulation;
}

.detail > button,
.modal-card > button {
  right: 12px;
  top: 10px;
}

.detail > button:hover,
.detail > button:focus,
.detail > button:focus-visible,
.detail > button:active,
.modal-card > button:hover,
.modal-card > button:focus,
.modal-card > button:focus-visible,
.modal-card > button:active,
.image-modal > button:hover,
.image-modal > button:focus,
.image-modal > button:focus-visible,
.image-modal > button:active {
  background: #eef0ed;
  color: #243029;
}

.detail > button:focus-visible,
.modal-card > button:focus-visible,
.image-modal > button:focus-visible {
  outline: 2px solid #6d7771;
  outline-offset: 2px;
}

html[data-theme="dark"] .detail > button,
html[data-theme="dark"] .modal-card > button,
html[data-theme="dark"] .image-modal > button {
  background: rgba(31,36,32,.92);
  color: #e6e2d5;
}

html[data-theme="dark"] .detail > button:hover,
html[data-theme="dark"] .detail > button:focus,
html[data-theme="dark"] .detail > button:focus-visible,
html[data-theme="dark"] .detail > button:active,
html[data-theme="dark"] .modal-card > button:hover,
html[data-theme="dark"] .modal-card > button:focus,
html[data-theme="dark"] .modal-card > button:focus-visible,
html[data-theme="dark"] .modal-card > button:active,
html[data-theme="dark"] .image-modal > button:hover,
html[data-theme="dark"] .image-modal > button:focus,
html[data-theme="dark"] .image-modal > button:focus-visible,
html[data-theme="dark"] .image-modal > button:active {
  background: rgba(255,255,255,.12);
  color: #f2f3ef;
}
.zoom-image-btn {
  right: 52px !important;
  font-size: 0 !important;
  line-height: 1;
}
.zoom-image-btn svg {
  width: 18px;
  height: 18px;
  stroke: #111;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .zoom-image-btn svg {
  stroke: #e6e2d5;
}
.detail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ded8c9;
}

html[data-theme="dark"] .detail img {
  background: #30372f;
}
.detail img.is-zoomable {
  cursor: zoom-in;
}
.detail-gallery-nav {
  position: absolute;
  z-index: 6;
  inset: 0 0 auto;
  width: 100%;
  height: 220px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 140ms ease;
}
.detail-gallery-nav button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent url("/assets/icons/gallery-arrow.svg") center / 12px 20px no-repeat;
  cursor: pointer;
  pointer-events: auto;
  opacity: .25;
  transition: opacity 120ms ease;
}
.detail-gallery-nav button:first-child {
  left: 8px;
  transform: translateY(-50%);
}
.detail-gallery-nav button:last-child {
  right: 8px;
  transform: translateY(-50%) rotate(180deg);
}
.detail img:hover + .detail-gallery-nav,
.detail-gallery-nav:hover,
.detail-gallery-nav:has(button:focus-visible) {
  opacity: 1;
}
.detail-gallery-nav button:hover,
.detail-gallery-nav button:focus-visible,
.place-accordion-gallery button:hover,
.place-accordion-gallery button:focus-visible {
  opacity: .5;
}
.detail-gallery-nav button:focus-visible,
.image-modal-gallery-nav button:focus-visible,
.place-accordion-gallery button:focus-visible {
  outline: 3px solid #2995e8;
  outline-offset: 2px;
}
.studio-content-editing .detail-gallery-nav { display: none; }

@media (hover: none) {
  .detail-gallery-nav { opacity: 1; }
  .detail-gallery-nav button,
  .place-accordion-gallery button { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-gallery-nav,
  .detail-gallery-nav button,
  .image-modal-gallery-nav button,
  .place-accordion-gallery button { transition: none; }
}
.detail.no-image img { display: none; }
.detail.no-image .detail-body { padding-top: 20px; }
.detail-body { padding: 20px; }
#detailCategory {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #876d3f;
}
.detail-body h2 {
  font-family: var(--ventovia-font-display, Georgia, serif);
  font-weight: 500;
  font-size: 26px;
  margin: 8px 0 12px;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}
#detailText {
  font-size: .9em;
  line-height: 1.6;
  color: #4e5851;
}
#detailText p {
  margin: 0 0 .55em;
}

#detailText p.description-spacer,
.place-accordion-text p.description-spacer {
  min-height: .85em;
  margin: 0 !important;
}
#detailText p:last-child {
  margin-bottom: 0;
}

#detailText small,
.place-accordion-text small,
#modalContent small {
  font-size: 85%;
  line-height: 1.4;
}

#detailText p:has(small),
.place-accordion-text p:has(small),
#modalContent p:has(small) {
  line-height: 1.4;
}

.story-audio {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(45, 78, 67, .28);
  border-radius: 24px;
  background: rgba(255, 255, 255, .5);
}
.story-audio-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #09634d;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(9, 99, 77, .2);
}
.story-audio-button:focus-visible,
.detail-navigate:focus-visible,
.place-accordion .go-link:focus-visible {
  outline: 3px solid #d79a38;
  outline-offset: 3px;
}
.story-audio-button:disabled { cursor: not-allowed; opacity: .55; }
.detail-body .story-audio-icon {
  color: #fff;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transform: translateX(1px);
}
.story-audio-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.detail-body .story-audio-copy,
.detail-body .story-audio-copy strong,
.detail-body .story-audio-status {
  color: var(--text, #17221e);
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.story-audio-copy strong { font-size: 14px; font-weight: 500; line-height: 1.2; }
.detail-body .story-audio-status { color: var(--muted, #66706c); font-size: 13px; }
.story-audio-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  padding: 0 2px;
  border-radius: 8px;
  cursor: pointer;
}
.story-audio-waveform:focus-visible {
  outline: 2px solid #d79a38;
  outline-offset: 3px;
}
.story-audio-waveform i {
  display: block;
  width: 2px;
  min-height: 5px;
  height: calc(var(--wave) * 1.15px);
  border-radius: 2px;
  background: #b5bbb8;
  transition: background-color .18s ease;
}
.story-audio-waveform i.is-seek-mark {
  min-height: 9px;
  height: max(9px, calc(var(--wave) * 1.3px));
}
.story-audio-waveform i.is-played { background: #168068; }
.story-audio-waveform i.is-preview { background: #78b8a8; }
.story-audio[data-state="playing"] .story-audio-waveform i,
.story-audio[data-state="loading"] .story-audio-waveform i {
  animation: story-wave 1s ease-in-out infinite alternate;
}
.story-audio[data-state="playing"] .story-audio-waveform i:nth-child(3n),
.story-audio[data-state="loading"] .story-audio-waveform i:nth-child(3n) { animation-delay: .2s; }
.story-audio[data-state="error"] { border-color: #a84b45; }
@keyframes story-wave { to { transform: scaleY(.72); } }

.detail-gps,
.place-accordion .meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-gps svg,
.place-accordion .meta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.detail-gps svg.gps-marker-icon,
.place-accordion .meta svg.gps-marker-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
  transform: translateY(-1px);
}
.detail-body .detail-gps,
.detail-body .detail-gps span {
  color: #17221e;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
}
.detail-body .detail-gps {
  margin-top: 18px;
}
html[data-theme="dark"] .detail-body .detail-gps,
html[data-theme="dark"] .detail-body .detail-gps span,
html[data-theme="dark"] .place-accordion .meta,
html[data-theme="dark"] .place-accordion .meta span {
  color: #c9a96a;
}
.place-accordion .meta {
  color: #17221e;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.gps-copy-button {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  padding: 3px;
  border: 0;
  color: #747c77;
  background: transparent;
  font: inherit;
  font-size: .98em;
  line-height: 1.25;
  cursor: pointer;
}
.detail-body .gps-copy-button,
.place-accordion .gps-copy-button {
  color: #747c77;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.gps-coordinate-link,
.detail a.gps-coordinate-link {
  display: inline-flex;
  margin-top: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #747c77;
  font: inherit;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}
.detail-body .gps-coordinate-link,
.detail-body .gps-coordinate-link span,
.place-accordion .gps-coordinate-link,
.place-accordion .gps-coordinate-link span { color: #747c77; }
.gps-coordinate-link:hover,
.gps-coordinate-link:focus-visible,
.detail a.gps-coordinate-link:hover,
.detail a.gps-coordinate-link:focus-visible {
  border: 0;
  background: transparent;
  color: #505853;
}
.gps-coordinate-link:focus-visible { outline: 2px solid #6d7771; outline-offset: 3px; }
.gps-copy-icon {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px;
  fill: #c3c7c5 !important;
  stroke: none !important;
  transition: fill .16s ease;
}
.gps-copy-button:hover { color: #505853; }
.gps-copy-button:hover .gps-copy-icon,
.gps-copy-button:focus-visible .gps-copy-icon,
.gps-copy-button.is-copied .gps-copy-icon {
  fill: #646b67 !important;
}
.gps-copy-button:focus-visible {
  outline: 2px solid #6d7771;
  outline-offset: 3px;
  border-radius: 3px;
}
.gps-copy-feedback {
  position: absolute;
  right: -5px;
  bottom: calc(100% + 5px);
  z-index: 3;
  display: block;
  padding: 3px 6px;
  border: 1px solid rgba(47, 92, 76, .16);
  border-radius: 5px;
  background: rgba(255, 254, 251, .96);
  color: #707873 !important;
  font-size: 10px !important;
  line-height: 1.15;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity .16s ease, transform .16s ease;
}
.gps-copy-feedback::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 100%;
  border: 3px solid transparent;
  border-top-color: rgba(255, 254, 251, .96);
}
html[data-theme="dark"] .gps-copy-feedback {
  border-color: rgba(147, 218, 193, .2);
  background: rgba(30, 36, 32, .97);
  color: #bdc6c0 !important;
}
html[data-theme="dark"] .gps-copy-feedback::after {
  border-top-color: rgba(30, 36, 32, .97);
}

.my-targets-gps-action {
  grid-template-columns: 15px auto;
  gap: 3px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px 0 8px;
  flex: 0 0 auto;
  font-size: 14px;
}

.my-targets-gps-action [data-my-target-symbol] {
  display: none;
}

.my-targets-gps-action.is-selected {
  padding: 0 10px 0 8px;
}

.my-targets-gps-action svg {
  width: 15px !important;
  height: 15px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-body .my-targets-gps-action span,
.place-accordion .my-targets-gps-action span {
  color: inherit;
  font-size: inherit;
  font-weight: 800;
}

.detail-body .my-targets-gps-action .my-targets-gps-label,
.place-accordion .my-targets-gps-action .my-targets-gps-label {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.gps-copy-button.is-feedback-visible .gps-copy-feedback {
  opacity: 1;
  transform: translateY(0);
}
.detail-navigate,
.place-accordion .go-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1.5px solid #09634d;
  border-radius: 999px;
  color: #09634d;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.detail-navigate svg,
.place-accordion .go-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.detail-body .detail-navigate,
.detail-body .detail-navigate span {
  color: #09634d;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
}
html[data-theme="dark"] .story-audio { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .story-audio-copy strong { color: #f5f1e7; }
html[data-theme="dark"] .story-audio-status { color: #d8c99f; }

@media (max-width: 520px) {
  .story-audio { grid-template-columns: 40px minmax(0, 1fr) auto; padding-right: 12px; }
  .story-audio-button { width: 40px; height: 40px; }
  .story-audio-waveform i:nth-child(n+13) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .story-audio-waveform i { animation: none !important; }
}

.detail a {
  display: inline-block;
  margin-top: 14px;
  background: trasnparent;
  color: #2f5c4c;
  border: 1px solid #2f5c4c;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 600;
}

.detail a:hover {
  background: trasnparent;
  color: #ffffff;
  background: #2f5c4c;
  border: 1px solid #2f5c4c;

}

#detailText a {
  display: inline;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2f5c4c;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#detailText a:hover,
#detailText a:focus-visible {
  border: 0;
  background: transparent;
  color: #1f4739;
}

html[data-theme="dark"] #detailText a {
  color: #d8b36e;
}

html[data-theme="dark"] #detailText a:hover,
html[data-theme="dark"] #detailText a:focus-visible {
  color: #f0d79d;
}

.detail a.detail-navigate,
.detail button.detail-navigate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1.5px solid #09634d;
}

.detail a.detail-navigate:hover,
.detail a.detail-navigate:hover span,
.detail a.detail-navigate:hover svg,
.detail button.detail-navigate:hover,
.detail button.detail-navigate:hover span,
.detail button.detail-navigate:hover svg {
  color: #fff;
  background: #2f5c4c;
}

.point-navigation {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 1500;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  width: min(680px, calc(100vw - 32px));
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  background: linear-gradient(135deg, #1769b7, #24599c);
  color: #fff;
  box-shadow: 0 12px 34px rgba(13,48,85,.3);
  transform: translateX(-50%);
}
.point-navigation.hidden { display: none; }
.point-navigation-direction {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 50%;
}
.point-navigation-direction svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  transform-origin: center;
  transition: transform 380ms cubic-bezier(.2,.75,.3,1);
}
.point-navigation.is-fallback .point-navigation-direction {
  border-style: dashed;
  opacity: .78;
}
.point-navigation.is-degraded { background: linear-gradient(135deg, #666f74, #4d565c); }
.point-navigation.is-arrived { background: linear-gradient(135deg, #18765c, #245f4e); }
.point-navigation-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.point-navigation-copy strong,
.point-navigation-copy span,
.point-navigation-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.point-navigation-copy strong { font-size: 16px; }
.point-navigation-copy span { font-size: 14px; }
.point-navigation-copy small { min-height: 14px; color: rgba(255,255,255,.78); font-size: 11px; }
.point-navigation-close {
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1762aa;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.point-navigation button:focus-visible { outline: 3px solid rgba(255,255,255,.75); outline-offset: 3px; }
html[data-theme="dark"] .point-navigation { border-color: rgba(216,179,110,.45); box-shadow: 0 12px 34px rgba(0,0,0,.48); }
html.navigation-active .detail-body { padding-bottom: 104px; }

@media (max-width: 800px) {
  .point-navigation {
    bottom: 0;
    width: 100%;
    min-height: calc(84px + env(safe-area-inset-bottom, 0px));
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
  }
  html.navigation-active .control-panel[data-sheet-state="default"] .control-panel-scroll,
  html.navigation-active .control-panel[data-sheet-state="expanded"] .control-panel-scroll {
    padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .point-navigation-direction svg { transition: none; }
}

.mobile-menu {
  position: fixed;
  right: 14px;
  top: 78px;
  z-index: 1400;
  display: grid;
  gap: 8px;
  background: #fbfaf6;
  border: 1px solid #ddd4c0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.mobile-menu button {
  border: 1px solid #cfc7b5;
  background: #fff;
  border-radius: 8px;
  color: #2f5c4c;
  padding: 8px 10px;
  text-align: left;
}

html[data-theme="dark"] .mobile-menu {
  border-color: #3d4439;
}

html[data-theme="dark"] .mobile-menu button {
  background: #171b18;
  border-color: #444b40;
  color: #d7d2c2;
}

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(25,33,28,.55);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: auto;
}

html[data-theme="dark"] .modal {
  background: rgba(5,7,6,.72);
}
.modal-card {
  position: relative;
  max-width: 760px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fbfaf6;
  border-radius: 14px;
  padding: 32px;
  line-height: 1.6;
}
.modal-content p { margin: 0 0 14px; }

.modal-content a {
  color: #2f5c4c;
  font-weight: 600;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.modal-content a:hover,
.modal-content a:focus-visible {
  color: #1f4739;
}

html[data-theme="dark"] .modal-content a {
  color: #d8b36e;
}

html[data-theme="dark"] .modal-content a:hover,
html[data-theme="dark"] .modal-content a:focus-visible {
  color: #f0d79d;
}

.install-hint {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d6cfbe;
  border-radius: 10px;
  background: #f5f1e6;
}

html[data-theme="dark"] .install-hint,
html[data-theme="dark"] .trail-item {
  background: #171b18;
  border-color: #3d4439;
}

html[data-theme="dark"] .install-hint p {
  color: #c6cbbd;
}

.install-hint p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #47544d;
}

.install-hint-link {
  display: inline-block;
  margin-top: 10px;
  border: 0;
    display: inline;
    margin-top: 0;
  border-radius: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.install-hint-link:visited {
  color: #2f5c4c;
}

.install-hint-link:hover {
  color: #1f4739;
}

.image-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(12, 14, 12, 0.9);
  display: grid;
  place-items: center;
  padding: 18px;
}

.image-modal > button {
  right: 16px;
  top: 14px;
  font-size: 26px;
}

.image-modal img {
  max-width: min(95vw, 1800px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  background: #4c4c4c;
}
.image-modal-gallery-nav {
  position: fixed;
  z-index: 10002;
  top: 14px;
  right: 58px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: transparent;
}

.image-modal-gallery-nav button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/icons/gallery-arrow.svg") center / 12px 20px no-repeat;
  cursor: pointer;
  filter: invert(1);
  opacity: .25;
  transition: opacity 120ms ease;
}

.image-modal-gallery-nav button:last-child {
  transform: rotate(180deg);
}

.image-modal-gallery-nav button:hover,
.image-modal-gallery-nav button:focus-visible {
  opacity: .5;
}

.place-accordion-gallery {
  position: relative;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 10px 0 16px;
  overflow: hidden;
  border-radius: 12px;
  background: #ded8c9;
}
.place-accordion-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.place-accordion-gallery button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent url("/assets/icons/gallery-arrow.svg") center / 12px 20px no-repeat;
  cursor: pointer;
  opacity: .25;
  transition: opacity 120ms ease;
}
.place-accordion-gallery button:first-of-type { left: 8px; transform: translateY(-50%); }
.place-accordion-gallery button:last-of-type { right: 8px; transform: translateY(-50%) rotate(180deg); }

.trail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 6px 0 16px;
}
.trail-item {
  background: #f3eee0;
  border: 1px solid #ddd4c0;
  border-radius: 10px;
  padding: 12px;
}
.trail-item h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--ventovia-font-display, Georgia, serif); }
.trail-item p { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }

.trail-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.trail-link-chip {
  border: 2px solid var(--trail, #2f5c4c);
  background: #fff;
  color: var(--trail, #2f5c4c);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: small;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

html[data-theme="dark"] .trail-link-chip {
  background: #171b18;
}
.trail-link-chip:hover,
.trail-link-chip:focus-visible {
  background: var(--trail, #2f5c4c);
  color: #fff;
}
.trail-link-chip:focus-visible {
  outline: 3px solid rgba(47,92,76,.25);
  outline-offset: 2px;
}
.trail-origin-text {
  font-size: 14px;
  line-height: 1.65;
  color: #425047;
  margin: 6px 0 0;
}

.trail-origin-columns {
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
  font-size: 15px;
  line-height: 1.65;
  color: #425047;
}

.trail-origin-columns p {
  margin: 0;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px;
}

.leaflet-popup {
  margin-bottom: -2px;
}

.leaflet-popup-tip {
  background: #fff;
}

.leaflet-tooltip.point-tooltip {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  padding: 0;
  background: #fff;
  color: #243029;
  font-size: 13px;
  line-height: 1.3;
  width: max-content;
  max-width: min(360px, calc(100vw - 96px));
  white-space: nowrap;
}

.leaflet-tooltip.point-tooltip.is-quick-hover-tooltip {
  animation: point-tooltip-card-in 80ms ease-out both;
}

.leaflet-tooltip.point-tooltip.is-quick-hover-tooltip.is-leaving-quick-hover-tooltip {
  animation: point-tooltip-card-out 70ms ease-in both;
}

@keyframes point-tooltip-card-in {
  from { opacity: .3; }
  to { opacity: 1; }
}

@keyframes point-tooltip-card-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .leaflet-tooltip.point-tooltip.is-quick-hover-tooltip {
    animation: none !important;
  }
}

html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip,
html[data-theme="dark"] .leaflet-tooltip.point-tooltip {
  background: #252b26;
  color: #ffffff;
}

.leaflet-tooltip.point-tooltip:before {
  border-color: transparent;
}

.leaflet-tooltip-top.point-tooltip:before {
  border-top-color: #fff;
}

.leaflet-tooltip-right.point-tooltip:before {
  border-right-color: #fff;
}

.leaflet-tooltip-bottom.point-tooltip:before {
  border-bottom-color: #fff;
}

.leaflet-tooltip-left.point-tooltip:before {
  border-left-color: #fff;
}

html[data-theme="dark"] .leaflet-tooltip-top.point-tooltip:before {
  border-top-color: #252b26;
}

html[data-theme="dark"] .leaflet-tooltip-right.point-tooltip:before {
  border-right-color: #252b26;
}

html[data-theme="dark"] .leaflet-tooltip-bottom.point-tooltip:before {
  border-bottom-color: #252b26;
}

html[data-theme="dark"] .leaflet-tooltip-left.point-tooltip:before {
  border-left-color: #252b26;
}

.leaflet-popup-content {
  margin: 10px 18px 9px 11px;
  width: max-content;
  min-width: 118px;
  max-width: min(360px, calc(100vw - 96px));
}

.leaflet-popup-content .popup {
  animation: point-popup-content-in 90ms ease-out both;
}

@keyframes point-popup-content-in {
  from { opacity: .28; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .leaflet-popup-content .popup {
    animation: none !important;
  }
}

.leaflet-popup-content .popup,
.leaflet-tooltip.point-tooltip .popup {
  padding-top: 2px;
}

.leaflet-tooltip.point-tooltip .popup {
  margin: 12px 28px 10px 12px;
  width: max-content;
  min-width: 118px;
  max-width: min(360px, calc(100vw - 96px));
  white-space: nowrap;
}

.leaflet-tooltip.point-tooltip.is-quick-hover-tooltip .popup {
  margin: 9px 14px 8px 10px;
  min-width: 100px;
}

.leaflet-tooltip.point-tooltip.is-quick-hover-tooltip .popup-cat {
  margin-bottom: 2px;
  font-size: 9px;
  letter-spacing: .11em;
}

.leaflet-tooltip.point-tooltip.is-quick-hover-tooltip h3 {
  font-size: 14.5px;
  line-height: 1.2;
}

.leaflet-popup-content h3,
.leaflet-tooltip.point-tooltip h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.leaflet-popup-content .popup h3 {
  font-size: 15px;
  line-height: 1.2;
}

.leaflet-popup-content .popup-cat {
  font-size: 9px;
}

html[data-theme="dark"] .leaflet-popup-content h3,
html[data-theme="dark"] .leaflet-tooltip.point-tooltip h3 {
  color: #ffffff;
}

.popup-cat {
  display: block;
  margin: 0 0 3px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #876d3f;
}

.popup h3 {
  margin: 0;
  font-family: var(--ventovia-font-display, Georgia, serif);
  font-size: 16px;
  line-height: 1.25;
  font-weight: normal;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  hyphens: auto;
}

.leaflet-control-attribution {
  display: none !important;
}

.leaflet-control-layers {
  position: relative;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ventovia-copyright-link {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 12px;
  margin-right: 0;
  padding-right: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7e7e7edb !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none !important;
  -webkit-user-select: none;
  user-select: none;
  opacity: 1;
  transition: color 120ms ease;
}

.ventovia-copyright-link::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 5px);
  bottom: auto;
  left: auto;
  width: max-content;
  max-width: min(250px, calc(100vw - 32px));
  padding: 1px 5px;
  border: 1px solid rgba(47, 92, 76, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  color: rgba(74, 80, 76, 0.82);
  content: attr(data-tooltip);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity 110ms ease, transform 110ms ease;
}

.ventovia-copyright-link:hover,
.ventovia-copyright-link:focus-visible {
  background: transparent;
  color: #2798e8 !important;
}

.ventovia-copyright-link:hover::after,
.ventovia-copyright-link:focus-visible::after,
.ventovia-copyright-link.is-touch-open::after {
  opacity: 1;
  transform: translate(0, -50%);
}

html[data-theme="dark"] .ventovia-copyright-link {
  background: transparent;
  color: rgba(246, 241, 226, 0.86) !important;
}

html[data-theme="dark"] .ventovia-copyright-link::after {
  border-color: rgba(246, 241, 226, 0.16);
  background: rgba(22, 27, 23, 0.96);
  color: rgba(246, 241, 226, 0.82);
}

.leaflet-control-layers.leaflet-control-layers-expanded,
.leaflet-control-layers.is-mobile-layer-open {
  padding: 6px 8px 6px 6px !important;
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
}

.leaflet-control-layers .leaflet-control-layers-toggle {
  width: 34px !important;
  height: 34px !important;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background-color: #fff !important;
  background-position: center !important;
  box-sizing: border-box;
}

.leaflet-touch .leaflet-control-layers-toggle {
  width: 32px;
  height: 32px;
}

.leaflet-control-layers .leaflet-control-layers-toggle,
.leaflet-retina .leaflet-control-layers-toggle {
  background-size: 19px 19px !important;
}

.leaflet-control-scale {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-right: 14px !important;
  margin-bottom: 14px !important;
  overflow: visible;
  -webkit-user-select: none;
  user-select: none;
}

.leaflet-control-scale-line {
  height: 18px !important;
  padding: 0 3px !important;
  border: 0 !important;
  border-left: 1px solid rgb(36 48 41 / 20%) !important;
  border-bottom: 1px solid rgb(36 48 41 / 20%) !important;
  border-right: 1px solid rgb(36 48 41 / 20%) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #7e7e7edb !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .leaflet-control-scale-line {
  border-color: rgba(246, 241, 226, 0.62) !important;
  color: rgba(246, 241, 226, 0.86) !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .leaflet-control-layers.leaflet-control-layers-expanded,
html[data-theme="dark"] .leaflet-control-layers.is-mobile-layer-open {
  border-color: rgba(246, 241, 226, 0.18) !important;
  background: rgba(22, 27, 23, 0.94) !important;
  color: #f6f1e2;
}

.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 27px !important;
  font-size: 22px !important;
  color: #888d88 !important;
}

.leaflet-control-zoom {
  display: grid;
  gap: 4px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.leaflet-bar a.leaflet-control-zoom-in,
.leaflet-bar a.leaflet-control-zoom-out {
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.geo-locate-control {
  clear: both;
  margin-top: 8px !important;
  display: grid;
  gap: 4px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.geo-locate-btn,
.geo-center-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  border-radius: 4px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
}

.geo-locate-btn:hover,
.geo-center-btn:hover {
  background: #f6f9ff;
}

.geo-locate-control .geo-locate-btn,
.geo-locate-control .geo-center-btn {
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.jump-to-filters-control {
  clear: both;
  margin-top: 8px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jump-to-filters-btn {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 4px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

.jump-to-filters-btn:hover {
  background: #f6f9ff;
}

.jump-to-filters-icon,
.mobile-jump-to-filters::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #7b7b7b;
  mask: url('/assets/icons/preferences.svg') center / contain no-repeat;
  -webkit-mask: url('/assets/icons/preferences.svg') center / contain no-repeat;
}

.geo-locate-arrow {
  width: 18px;
  height: 18px;
  display: block;
  background: #7f8984;
  clip-path: polygon(50% 4%, 88% 88%, 50% 70%, 12% 88%);
  transform: rotate(45deg) translate(1px, -1px);
  transform-origin: 50% 50%;
}

.geo-locate-btn.is-active .geo-locate-arrow {
  background: #0a84ff;
}

.geo-center-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #8e9691;
  box-shadow: 0 0 0 2px #8e9691;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  z-index: 2600;
  max-width: min(300px, calc(100vw - 32px));
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(36, 48, 41, .94);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
  transition: opacity 260ms ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.app-toast.is-anchored {
  left: min(var(--toast-left, 58px), calc(100vw - 18px));
  top: var(--toast-top, 118px);
  bottom: auto;
  transform: translate(0, -50%);
}

.app-toast.is-anchored.is-visible {
  transform: translate(0, -50%);
}

html[data-theme="dark"] .app-toast {
  background: rgba(216, 179, 110, .96);
  color: #171b18;
  box-shadow: none;
}

@media (max-width: 900px) {
  .trail-links,
  .trail-list { grid-template-columns: 1fr; }

  .trail-origin-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .app-toast:not(.is-anchored) {
    top: max(76px, calc(env(safe-area-inset-top, 0px) + 70px));
    bottom: auto;
    max-width: min(320px, calc(100vw - 28px));
  }

  header {
    position: fixed;
    top: 0px;
    left: 6px;
    right: 6px;
    height: auto;
    align-items: stretch;
    padding: 8px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .header-actions {
    align-self: flex-end;
    padding-bottom: 2px;
  }

  html[data-theme="dark"] header {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  h1 {
    display: block;
    font-size: 24px;
  }

h1 a{
    color: #412e0c;
    text-decoration: none;
}

html[data-theme="dark"] h1 a {
    color: #412e0c;
}

  .eyebrow { font-size: 10px; }
  html[data-theme="dark"] .eyebrow { color: #7b6848; }
  header p { display: none; }

  .route-controls h2 { display: none; }

  .filters button,
  .route-controls button {
    font-size: 11px;
    padding: 6px 9px;
  }

  .filters .filter-reset {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2f5c4c;
    box-shadow: none;
  }

  .lang-switch {
    order: 1;
    background: transparent;
  }

  .lang-current {
    min-width: 58px;
    padding: 9px 11px;
    font-size: 12px;
    border-color: #fff;
    text-transform: uppercase;
    background: transparent;
  }

  html[data-theme="dark"] .lang-current {
    color: #243029;
    border-color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.1);
  }

  html[data-theme="dark"] .lang-current:hover,
  html[data-theme="dark"] .lang-current:focus,
  html[data-theme="dark"] .lang-current:focus-visible,
  html[data-theme="dark"] .lang-current:active,
  html[data-theme="dark"] .theme-toggle:hover,
  html[data-theme="dark"] .theme-toggle:focus,
  html[data-theme="dark"] .theme-toggle:focus-visible,
  html[data-theme="dark"] .theme-toggle:active {
    background: rgba(255,255,255,.92);
    color: #243029;
    border-color: rgba(255,255,255,.72);
  }

  html[data-theme="dark"] .lang-icon circle,
  html[data-theme="dark"] .lang-icon ellipse,
  html[data-theme="dark"] .lang-icon path {
    stroke: #243029;
  }

  .theme-toggle {
    order: 1;
    width: 42px;
    height: 39px;
  }

  html[data-theme="dark"] .theme-toggle {
    background: rgba(255,255,255,.72);
    border-color: rgba(255,255,255,.58);
    color: #243029;
  }

  .lang-options {
    top: calc(100% + 2px);
    min-width: 68px;
    right: 0;
    padding: 5px;
  }

  .lang-options button {
    min-width: 30px;
    padding: 6px 6px;
    font-size: 11px;
  }

  .menu-btn {
    order: 2;
  }

  html[data-theme="dark"] .menu-btn {
    background: transparent;
    color: #2f5c4c;
  }

  html[data-theme="dark"] .menu-btn:hover,
  html[data-theme="dark"] .menu-btn:focus,
  html[data-theme="dark"] .menu-btn:focus-visible,
  html[data-theme="dark"] .menu-btn:active {
    background: rgba(255,255,255,.92);
    color: #243029;
  }

  #aboutBtn,
  #aboutPlaceBtn,
  #trailsBtn { display: none; }

  main { display: block; }

  .map-wrap,
  #map {
    height: 100vh;
    height: 100dvh;
    min-height: 380px;
  }

  .control-panel {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    bottom: auto;
    top: var(--sheet-top, 58vh);
    height: calc(100vh - var(--sheet-top, 58vh));
    height: calc(100dvh - var(--sheet-top, 58vh));
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 48px);
    border-right: 0;
    border-top: 1px solid #d8d1c0;
    border-radius: 16px 16px 0 0;
    padding: 0;
    box-shadow: 0 -4px 16px rgba(30,40,34,.08);
    z-index: 1200;
    background: rgba(251,250,246,.97);
    backdrop-filter: blur(3px);
    overflow: hidden;
    transform: translate3d(0, var(--sheet-offset, 0px), 0);
    touch-action: pan-y;
    contain: layout paint;
  }

  .control-panel.is-bottom-sheet {
    will-change: transform;
  }

  .control-panel.is-sheet-animating {
    transition: transform 430ms cubic-bezier(.2, 1.08, .28, 1);
  }

  .control-panel.is-sheet-dragging {
    transition: none;
  }

  .sheet-drag-zone {
    display: grid;
    place-items: center;
    width: 100%;
    height: 32px;
    padding: 8px 0 9px;
    border: 0;
    border-radius: 16px 16px 0 0;
    background: transparent;
    color: #7b6848;
    cursor: grab;
    touch-action: none;
  }

  .sheet-drag-zone:active {
    cursor: grabbing;
  }

  .sheet-drag-zone:focus-visible {
    outline: 2px solid #2f5c4c;
    outline-offset: -4px;
  }

  .sheet-handle {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: #b7ad98;
  }

  .control-panel-scroll {
    display: block;
    position: relative;
    height: max(0px, calc(var(--sheet-visible-height, calc(100dvh - var(--sheet-top, 58vh))) - 32px));
    overflow: hidden;
    padding: 0 14px calc(18px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .search input {
    font-size: 16px;
  }

  .control-panel[data-sheet-state="default"] .control-panel-scroll,
  .control-panel[data-sheet-state="expanded"] .control-panel-scroll {
    overflow-y: auto;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .control-panel[data-sheet-state="peek"] .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 0;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .control-panel[data-sheet-state="peek"] .filters::-webkit-scrollbar {
    display: none;
  }

  .control-panel[data-sheet-state="peek"] .filters button {
    flex: 0 0 auto;
  }

  .control-panel[data-sheet-state="peek"] .route-controls,
  .control-panel[data-sheet-state="bottom"] .list,
  .control-panel[data-sheet-state="peek"] .list {
    display: none;
  }

  .list {
    padding-top: 8px;
  }

  .place-card.active {
    border-color: #e1dbcd;
    box-shadow: none;
  }

  .panel-grip {
    display: block;
  }

  .detail { display: none !important; }

  .mobile-menu {
    right: 12px;
    top: 52px;
    background: rgba(255,255,255,.95);
    border: 1px solid #ddd4c0;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    padding: 6px;
    gap: 4px;
  }

  .mobile-menu button {
    border: 0;
    background: transparent;
    border-radius: 6px;
    color: #2f5c4c;
    text-align: right;
    padding: 6px 10px;
    font-size: 14px;
  }

  .leaflet-top.leaflet-left,
  .leaflet-top.leaflet-right {
    top: 66px;
  }

  .leaflet-touch .leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 25px !important;
    font-size: 22px !important;
  }

  .leaflet-touch .leaflet-control-zoom,
  .leaflet-touch .leaflet-control-zoom a.leaflet-control-zoom-in,
  .leaflet-touch .leaflet-control-zoom a.leaflet-control-zoom-out {
    width: 32px !important;
  }

  .leaflet-touch .leaflet-control-zoom {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: grid;
    gap: 4px;
  }

  .leaflet-touch .leaflet-bar a.leaflet-control-zoom-in,
  .leaflet-touch .leaflet-bar a.leaflet-control-zoom-out {
    height: 32px !important;
    line-height: 25px !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px !important;
    margin: 0 !important;
  }

  .leaflet-touch .geo-locate-btn,
  .leaflet-touch .geo-center-btn {
    width: 32px;
    height: 32px;
  }

  .leaflet-touch .jump-to-filters-icon {
    width: 19px;
    height: 19px;
  }

  .leaflet-touch .geo-locate-arrow {
    width: 17px;
    height: 17px;
    transform: rotate(45deg) translate(0, -1px);
  }

  .leaflet-touch .geo-center-dot {
    width: 12px;
    height: 12px;
  }

  .jump-to-filters-control {
    display: none;
  }

  .leaflet-bottom {
    bottom: calc(var(--sheet-visible-height, 0px) + env(safe-area-inset-bottom, 0px) + 10px);
    z-index: 1250;
  }

  :root[data-mobile-sheet-state="expanded"] .leaflet-control-layers,
  :root[data-mobile-sheet-state="default"] .leaflet-control-layers,
  :root.mobile-sheet-expanded .leaflet-control-layers,
  :root.mobile-sheet-default .leaflet-control-layers {
    display: none;
  }

  .leaflet-control-layers:not(.is-mobile-layer-open) .leaflet-control-layers-list {
    display: none !important;
  }

  .leaflet-control-layers:not(.is-mobile-layer-open).leaflet-control-layers-expanded .leaflet-control-layers-toggle {
    display: block;
  }

  .leaflet-control-layers:not(.is-mobile-layer-open).leaflet-control-layers-expanded {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .leaflet-control-layers .leaflet-control-layers-toggle {
    width: 32px !important;
    height: 32px !important;
    background-color: #fff !important;
    background-size: 18px 18px !important;
    background-position: center !important;
    border-radius: 4px;
  }

  .leaflet-control-layers .leaflet-control-layers-toggle:hover {
    background-color: #fff !important;
  }

  .leaflet-control-layers:hover .leaflet-control-layers-toggle {
    background-color: #fff !important;
  }

  .leaflet-control-layers {
    width: 32px;
    height: 32px;
    border: 0 !important;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .leaflet-control-layers.is-mobile-layer-open {
    width: max-content !important;
    height: auto !important;
    min-width: 32px;
    min-height: 32px;
    padding: 6px 8px 6px 6px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .leaflet-control-layers.is-mobile-layer-open .leaflet-control-layers-toggle {
    display: none !important;
  }

  .leaflet-control-layers.is-mobile-layer-open .leaflet-control-layers-list {
    display: block !important;
    width: max-content;
    margin: 0;
  }

  .mobile-jump-to-filters {
    display: grid;
    place-items: center;
    position: absolute;
    right: 15px;
    bottom: calc(4vh + env(safe-area-inset-bottom, 0px) + 20px);
    z-index: 1250;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 100%);
    color: #7b7b7b;
    line-height: 0;
    box-shadow: none;
    padding: 0;
  }

  .mobile-jump-to-filters svg {
    display: none;
  }

  .mobile-jump-to-filters::before {
    width: 18px;
    height: 18px;
    top: 2px;
  }

  .mobile-jump-to-filters:active {
    transform: translateY(1px);
  }

  .modal {
    align-items: start;
    padding: 10px 12px 12px;
    overflow: auto;
  }

  .modal-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 22px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 16px;
  }

  .image-modal {
    padding: 8px;
  }

  .image-modal > button {
    right: 10px;
    top: 10px;
  }

  .image-modal-gallery-nav {
    top: 10px;
    right: 52px;
  }

  .image-modal img {
    max-width: 98vw;
    max-height: 92dvh;
    border-radius: 8px;
  }
}

@media (max-width: 760px) {
  .my-targets-card-toggle {
    right: -1px;
    bottom: 2px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 15px;
    isolation: isolate;
  }

  .my-targets-card-toggle::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: -1;
    border: 1px solid #b9c3bd;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
  }

  .my-targets-card-toggle.is-selected {
    border-color: transparent;
    background: transparent;
  }

  .my-targets-card-toggle.is-selected::before {
    border-color: #93dac1;
    background: #93dac1;
  }

  html[data-theme="dark"] .my-targets-card-toggle {
    border-color: transparent;
    background: transparent;
  }

  html[data-theme="dark"] .my-targets-card-toggle::before {
    border-color: #59635a;
    background: #242b25;
  }

  html[data-theme="dark"] .my-targets-card-toggle.is-selected::before {
    border-color: #93dac1;
    background: #93dac1;
  }

  .place-card.is-target-selecting .place-main {
    padding-right: 42px;
  }

  .my-targets-gps-action {
    min-width: 44px;
    height: 44px;
  }
}
