html, body {
  height: 100%;
  margin: 0;
  /*font-family: Arial, sans-serif;*/
	/*font-family: "IBM Plex Mono", monospace;*/
	/*font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";*/
	font-family: "Sora", sans-serif;
}

body {
  overflow: hidden;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
}

.timeline-toggle {
  position: absolute;
  right: 16px;
  bottom: 64px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #111;
 /* box-shadow: 0 4px 14px rgba(0,0,0,0.2);*/
  cursor: pointer;
  font-size: 20px;
  padding: 6px;
}
.timeline-toggle::after {
	width: 12px;
	height: 8px;
	position:absolute;
	background: #111;
	top:-6px;
	left:21px;
	margin-left: -6px;
	content: "";
	
}

.timeline-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 80px;
  z-index: 1000;
  /*background: rgba(255,255,255,0.97);*/
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 14px 16px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  max-width: 980px;
  margin: 0 auto;
}

.timeline-slider-bg {
	padding: 2px 0;
	background: url("../img/timeline-osa.svg");
	
	
}

.timeline-panel.hidden,
.detail-panel.hidden {
  display: none;
}

.timeline-top,
.timeline-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-top {
  margin-bottom: 12px;
}

.timeline-bottom {
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.timeline-btn {
  border: none;
  background: #111;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}

.timeline-current-label {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
	padding-right: 90px;
}

.timeline-slider {
  width: 100%;
	border: none;
	background: #000;
	height: 2px;
}

.transport-filter-wrap,
.type-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 13px;
}

.type-filter-wrap {
  padding-top: 10px;
  border-top: 1px solid #e7e7e7;
}

.transport-filter-wrap label,
.type-filter-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.legend-box {
  line-height: 1.35;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  font-size: 13px;
}

.legend-marker-wrap {
  position: relative;
  width: 28px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
}

.legend-dot,
.legend-dot-imprecise {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  box-sizing: border-box;
}

.legend-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  box-sizing: border-box;
  white-space: nowrap;
}

.legend-dot.walk,
.legend-dot-imprecise.walk {
  background: #d14b4b;
}

.legend-dot.train,
.legend-dot-imprecise.train {
  background: #3b82f6;
}

.legend-dot.vehicle,
.legend-dot-imprecise.vehicle {
  background: #f59e0b;
}

.legend-dot-imprecise {
  opacity: 0.55;
  border-style: dashed;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}

.legend-grave {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  box-sizing: border-box;
  white-space: nowrap;
}

.legend-line {
  width: 20px;
  height: 0;
  border-top: 3px solid #444;
  opacity: 0.7;
}

.legend-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(17,17,17,0.6);
  background: transparent;
  box-sizing: border-box;
}

.transport-marker-wrap {
  position: relative;
  width: 34px;
  height: 34px;
}

.transport-marker {
  position: absolute;
  left: 8px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  box-sizing: border-box;
}

.transport-marker.imprecise {
  opacity: 0.6;
  border-style: dashed;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}

.transport-marker-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: red;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  box-sizing: border-box;
  white-space: nowrap;
}

.marker-walk {
  background: #d14b4b url(../img/ico-walk-white.svg) no-repeat;
}


.marker-train {
  background: #3b82f6 url(../img/ico-train-white.svg) no-repeat;
}

.marker-vehicle {
  background: #f59e0b;
}

.grave-marker {
  position: relative;
  min-width: 22px;
  height: 28px;
  padding: 4px 6px 0;
  border-radius: 14px 14px 2px 2px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  white-space: nowrap;
  box-sizing: border-box;
}
/*
.grave-marker::before,
.grave-marker::after {
  content: "";
  position: absolute;
  background: #000;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  pointer-events: none;
}

.grave-marker::before {
  width: 4px;
  height: 10px;
}

.grave-marker::after {
  width: 10px;
  height: 4px;
  top: -5px;
}*/
.grave-marker.imprecise {
  opacity: 0.7;
  /*border-style: dashed;*/
  background: #555;
}

.active-transport-wrapper {
  pointer-events: none !important;
}

.active-transport-wrapper {
  pointer-events: none !important;
}

.active-transport-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid red;
  background: rgba(255,255,255,0.08);
  box-sizing: border-box;
  pointer-events: none !important;
  animation: activeTransportPulse 1.4s ease-out infinite;
}

@keyframes activeTransportPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.95;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.leaflet-popup-content {
  line-height: 1.45;
}

.detail-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 360px;
  max-width: min(360px, calc(100% - 32px));
  z-index: 1001;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 16px;
  backdrop-filter: blur(6px);
  overflow-y: auto;
  border-radius: 0 16px 16px 0;
}

.detail-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.detail-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-right: 38px;
}

.detail-meta {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.detail-meta .label {
  color: #666;
}

.detail-description {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

.detail-note {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #e8e8e8;
  padding-top: 10px;
}

@media (max-width: 860px) {
  .detail-panel {
    width: auto;
    right: 16px;
  }
}

@media (max-width: 700px) {
  .timeline-panel {
    left: 10px;
    right: 10px;
    bottom: 128px;
    padding: 12px;
  }

  .timeline-current-label {
    font-size: 13px;
  }


}

@media (max-width: 700px) {
  .detail-panel {
    position: fixed;
    inset: 12px;
    width: auto;
    max-width: none;
    z-index: 3000;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.28);
    overflow-y: auto;
  }
}

.interactive-legend {
  position: relative;
  background: transparent;
  box-shadow: none;
  border: 0;
  width: 42px;
  min-height: 42px;
  overflow: visible;
}

.legend-title-row,
.legend-title-row-compact {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  z-index: 2;
}

.legend-body {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
  padding: 12px;
/*  padding-top: 54px;*/
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 2201;
}

.legend-title {
  font-weight: 700;
}

.legend-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 13px;
  cursor: pointer;
}

.legend-check-row input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.legend-separator {
  height: 1px;
  background: #e7e7e7;
  margin: 8px 0;
}

/* Mapa -------------------------------------------------------------------*/
.leaflet-tile {
  filter: grayscale(100%) contrast(1) brightness(1);
}
/*-------------------------------------------------------------------*/

.grave-marker-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.grave-crosses {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.9;
  font-size: 8px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.grave-cross-row {
  line-height: 0.85;
  letter-spacing: -0.5px;
}

/* Hamburger ----*/
.hidden {
  display: none !important;
}

/* legenda toggle */
.legend-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.legend-toggle {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  /*background: #111;*/
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
background: #111 url("../img/ico-filtr-point.svg");
  gap: 4px;
}

.legend-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.legend-toggle.expanded span:nth-child(1),
.legend-toggle.expanded span:nth-child(2),
.legend-toggle.expanded span:nth-child(3) {
  transform: none;
  opacity: 1;
}


/* timeline skládací filtr */
.timeline-filter-box {
  width: 100%;
  margin-top: 12px;
  border-top: 1px solid #e7e7e7;
  padding-top: 10px;
}

.timeline-filter-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.timeline-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.timeline-filter-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}

.timeline-filter-toggle.expanded .timeline-filter-arrow {
  transform: rotate(-135deg);
}

.timeline-filter-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 13px;
}

.timeline-filter-body label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* searchbox ------------------------*/
.place-search {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  width: min(420px, calc(100vw - 32px));
}

.place-search-panel {
  width: 100%;
}

.place-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 16px 16px;
  backdrop-filter: blur(6px);
}

.place-search-icon {
  /*flex: 0 0 auto;*/
  font-size: 16px;
  line-height: 1;
  opacity: 0.75;
	position: absolute;
}

.place-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 1.2;
  min-width: 0;
  padding: 8px 8px 8px 24px;
  border-bottom: 1px #999 solid;
}
.place-search-box img {
	width: 16px;
	height: 16px;
}
.place-search-box input:focus {
  border-bottom: 1px #000 solid;
	color:#000;
}

.place-search-results {
  position: relative;
  margin-top: 8px;
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  backdrop-filter: blur(6px);
  max-height: 320px;
  overflow-y: auto;
  padding-top: 42px;
}

.place-search-results-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

.place-search-result {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.place-search-result:last-child {
  border-bottom: none;
}

.place-search-result:hover {
  background: #f4f4f4;
}

.place-search-result-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.place-search-result-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}

.place-search-empty {
  padding: 12px;
  font-size: 13px;
  color: #666;
}

.place-search-mobile-toggle {
  display: none;
}

@media (max-width: 700px) {
  .place-search {
    top: 10px;
    left: auto;
    right: 62px;
    transform: none;
    width: auto;
  }

  .place-search-mobile-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: none;
	  padding: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
  }

  .place-search-panel {
    display: none;
    position: absolute;
    top: 52px;
    right: 0;
    width: min(320px, calc(100vw - 20px));
  }

  .place-search.mobile-open .place-search-panel {
    display: block;
  }
}
/* end: searchbox ------------------------*/

/* arrow ---------------------------------*/
.route-arrow-icon {
  background: transparent !important;
  border: 0 !important;
}

.route-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transform-origin: 50% 50%;
  pointer-events: none;
}

.route-arrow-head {
  width: 0;
  height: 0;
  background: transparent;
  box-shadow: none;
}
/* end:arrow ---------------------------------*/

/* 1945 map overlay --------------------------------------*/
.year-overlay-svg,
.year-overlay-svg * {
  pointer-events: none !important;
}

.year-overlay-svg text {
  font-family: Arial, sans-serif;
  mix-blend-mode: multiply;
  user-select: none;
	display: none; /* vypl jsem tady*/
}
/* End: 1945 --------------------------------------*/
/* menu - right button -----------------------------*/
.map-context-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.map-context-popup .leaflet-popup-content {
  margin: 0;
}

.map-context-popup .leaflet-popup-tip-container {
  margin-top: -1px;
}

.map-context-menu {
  min-width: 190px;
  background: #fff;
}

.map-context-menu-item {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
}

.map-context-menu-item:hover {
  background: #f3f3f3;
}

.map-context-menu-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}
/* end:menu - right button -----------------------------*/
.legend-dot.route,
.legend-dot-imprecise.route {
  background: #7a1f1f;
}


.map-popup-actions {
  margin-top: 10px;
}

.map-popup-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.map-popup-more-btn:hover {
  background: #333;
}
/* Legendy u KT a koridoru --------------------------*/
.legend-dot.camp,
.legend-dot-imprecise.camp {
  background: #111;
}

.marker-camp {
  background: #111 url(../img/ico-camp-white.svg) no-repeat;

  border: 2px solid #fff !important; /* vnější border */
 width: 40px;
	height: 40px;

}

.camp-label-icon,
.route-label-icon {
  background: transparent !important;
  border: 0 !important;
}

.camp-label-wrap,
.route-label-wrap {
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.camp-label-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  color: #eeeeee;
  background: rgba(0,0,0,0.75);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
	display: none;
	margin-top: 28px;
}

.route-label-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  color: #373737;
 background: rgba(239,239,239,0.92);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.route-label-icon {
  background: transparent !important;
  border: 0 !important;
}

.route-label-wrap {
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: 50% 50%;
}

.route-label-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  color: #373737;
  background: rgba(238,238,238,0.92);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}


.route-label-icon {
  display: none;
  background: transparent !important;
  border: 0 !important;
}

/*.leaflet-container.map-zoom-9 .route-label-icon,*/



.leaflet-container.map-zoom-10 .route-label-icon,
.leaflet-container.map-zoom-11 .route-label-icon,
.leaflet-container.map-zoom-12 .route-label-icon,
.leaflet-container.map-zoom-13 .route-label-icon,
.leaflet-container.map-zoom-14 .route-label-icon,
.leaflet-container.map-zoom-15 .route-label-icon,
.leaflet-container.map-zoom-16 .route-label-icon,
.leaflet-container.map-zoom-17 .route-label-icon,
.leaflet-container.map-zoom-18 .route-label-icon {
  display: block;
}


.leaflet-container.map-zoom-10 .camp-label-text,
.leaflet-container.map-zoom-11 .camp-label-text,
.leaflet-container.map-zoom-12 .camp-label-text,
.leaflet-container.map-zoom-13 .camp-label-text,
.leaflet-container.map-zoom-14 .camp-label-text,
.leaflet-container.map-zoom-15 .camp-label-text,
.leaflet-container.map-zoom-16 .camp-label-text,
.leaflet-container.map-zoom-17 .camp-label-text,
.leaflet-container.map-zoom-18 .camp-label-text {
  display: block;
}

.route-label-wrap {
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: 50% 50%;
}

.route-label-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: #111;
  background: rgba(255,255,255,0.82);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* End:Legendy u KT a koridoru --------------------------*/

/* Filtr transportů vpravo ----------------------------*/
.transport-filter-mobile-toggle {
  position: absolute;
  top: 58px;
  right: 10px;
  /*z-index: 1200; ish*/
  z-index: 500;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  /*background: rgba(255,255,255,0.94);*/
  box-shadow: 0 2px 10px rgba(0,0,0,0.16);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
	background: #111 url(../img/ico-filtr-route.svg);
}

.transport-filter-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.transport-filter-panel {
  position: absolute;
  top: 58px;
  right: 10px;
  z-index: 1200;
  width: min(360px, calc(100vw - 20px));
  max-height: min(70vh, 620px);
  background: rgba(255,255,255,0.97);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.transport-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
}

.transport-filter-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.transport-filter-panel-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: #111;
}




.transport-filter-panel-body {
  padding: 12px 14px 14px;
  overflow: auto;
  max-height: calc(min(70vh, 620px) - 54px);
}

.transport-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transport-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
}

.transport-filter-item-all {
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #ececec;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .transport-filter-mobile-toggle {
   /* top: 10px;
    right: 58px;*/
  }

  .transport-filter-panel {
   /* position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;*/
    width: auto;
    max-height: calc(100vh - 24px);
    z-index: 3000;
    border-radius: 16px;
  }

  .transport-filter-panel-body {
    max-height: calc(100vh - 90px);
  }
}

.transport-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transport-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
}

.transport-filter-item-all {
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #ececec;
  font-weight: 700;
}

.legend-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ececec;
}

.legend-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.legend-panel-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: #111;
}
/* end:Filtr transportů vpravo ----------------------------*/
/* Ghosts --------------------------------------------------*/
.leaflet-container.mode-timeline .grave-marker.ghost-rise::after {
  content: "☠";
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  font-size: 18px;
  line-height: 1;
  /*color: rgba(255,255,255,0.95);*/
  color: rgba(0,0,0,0.95);
  /*text-shadow:
    0 1px 2px rgba(0,0,0,0.35),
    0 0 8px rgba(255,255,255,0.25);*/
  pointer-events: none;
  opacity: 0;
  animation: graveGhostRise 1.6s ease-out forwards;
}

@keyframes graveGhostRise {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.7);
    filter: blur(0px);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-34px) scale(1.15);
    filter: blur(1px);
  }
}
/* end: Ghosts --------------------------------------------------*/
/* intro --------------------------------------------------------*/
.intro-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.intro-modal.hidden {
  display: none !important;
}

.intro-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.intro-modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.intro-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.intro-modal-image {
  width: 100%;
  height: auto;
  background: #ddd;
  overflow: hidden;
}

.intro-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.intro-modal-content {
  padding: 24px 24px 32px;
  overflow-y: auto;
	background: #d8d9d2;
}

.intro-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 8px;
	border-bottom: 1px #111 solid;
}

.intro-tab-button {
  min-height: 48px;
  padding: 0 14px;
  /*border: 1px solid #d9d9d9;
  border-radius: 999px;*/
  background: #d8d9d2;
  color: #111;
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
	 border-top: 2px #d8d9d2 solid;
  border-bottom: 1px #111 solid;
border-left: none;
  border-right: none;
  color: #000;
	margin-bottom: -1px;
}

.intro-tab-button.active {
  
  border-top: 2px #111 solid;
  border-bottom: 1px #d8d9d2 solid !important;
border-left: none;
  border-right: none;
  color: #000;
	font-weight: bold !important;
}

.intro-tab-panels {
  margin-top: 8px;
}

.intro-tab-panel {
  display: none;
}

.intro-tab-panel.active {
  display: block;
}

.intro-modal-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
	letter-spacing:2px;
	display:none;
}

.intro-modal-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
  color: #111;
	display: none;
}

.intro-modal-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
	padding-right: 68px;
}


.intro-modal-section {
  margin-top: 14px;
	padding: 0 12px;
}

.intro-modal-section h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
}

.intro-modal-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
	font-weight: 400;
}

.intro-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.intro-guide-card {
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fafafa;
}

.intro-guide-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.intro-guide-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.intro-guide-visual {
  position: relative;
  height: 72px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f1f1f1 0%, #e7e7e7 100%);
  overflow: hidden;
}

.intro-guide-visual--point,
.intro-guide-visual--grave {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-guide-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.intro-guide-marker--walk {
  background: #d14b4b url(../img/ico-walk-white.svg) no-repeat center center;
  background-size: 16px 16px;
}

.intro-guide-badge {
  position: absolute;
  top: 14px;
  left: calc(50% + 8px);
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
}

.intro-guide-visual--route,
.intro-guide-visual--corridor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-guide-line {
  width: 74%;
  height: 0;
  border-top: 4px solid #d14b4b;
  opacity: 0.9;
}

.intro-guide-arrow {
  position: absolute;
  right: 18%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #d14b4b;
}

.intintro-modal-contentro-guide-corridor {
  width: 78%;
  height: 16px;
  border-radius: 999px;
  background: rgba(17,17,17,0.18);
  border: 1px dashed rgba(17,17,17,0.45);
}

.intro-guide-grave {
  min-width: 30px;
  height: 36px;
  padding: 0 8px;
  border-radius: 16px 16px 4px 4px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.intro-sources-list {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.intro-source-item {
  padding: 4px 12px;
  border-left: 3px solid #111;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.45;
}
.intro-source-item a {
	color:#111;
	text-decoration: none;
}
.intro-source-item a:hover {
	color:#000;
}

.intro-modal-follow {
  margin-top: 32px;
  padding: 14px;
  border-radius: 14px;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-modal-follow-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-modal-follow-logo {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
  display: block;
  border-radius: 10px;
}

.intro-modal-follow-text {
  font-size: 14px;
  line-height: 1.5;
  color: #222;
	
	
}

.intro-modal-content strong {
	font-weight: 600;
}

.intro-modal-follow-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 4px;
 /* background: #d8d9d2;
  color: #0866ff;*/
	 background: #d8d9d2;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
	margin-top: 24px;
	margin-top: 8px;
	/*border: 2px #0866ff solid;*/
	border: 2px #111 solid;
}

.intro-modal-follow-btn:hover {
  /*background: #0866ff;*/
	background: #111;
	color:#d8d9d2;
}

.intro-modal-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.intro-modal-consent-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #5a5e5d;
}

.intro-modal-start {
  min-height: 42px;
  padding: 0 16px;
  border: none;
   border-radius: 4px;
  background: #111;
  color: #fff;
  color: #d8d9d2;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.intro-modal-start:hover {
  background: #333;
}

body.intro-open {
  overflow: hidden;
}

@media (max-width: 700px) {
	.intro-modal-lead {
		padding-right: 0;
  font-size: 13px;
  line-height: 1.3;
	}
	.intro-modal-follow-text {
  font-size: 13px;
  line-height: 1.3;
	}
  .intro-modal-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .intro-modal-image {
    height: auto;
  }

  .intro-modal-content {
    padding: 16px;
  }

  .intro-modal-title {
    font-size: 22px;
  }

  .intro-guide-grid {
    grid-template-columns: 1fr;
  }

  .intro-modal-follow-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-modal-follow-logo {
    width: 96px;
  }

  .intro-modal-actions {
    align-items: stretch;
  }

  .intro-modal-consent-note {
    font-size: 11px;
    line-height: 1.4;
  }
	
	.intro-modal-follow-brand {
		gap:0;
		
	}
	.intro-modal-follow-btn {
	margin-bottom: 0px;
		margin-top: 12px;
		
}
	
  .intro-modal-start
  {
    width: 100%;
    justify-content: center;
  }
}

.intro-modal-toggle {
  position: absolute;
  right: 16px;
  bottom: 122px; /* nad timeline-toggle */
  z-index: 1001;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.intro-modal-toggle:hover {
  background: #eee;
}

.intro-modal-toggle:hover::after {
  background: #eee;
}

@media (max-width: 700px) {
  .intro-modal-toggle {
    right: 64px;
    bottom: 64px
  }
}
/* end: intro ----------------------------------------------*/
/* logo --------------------------------------------------*/
.signatura-logo-link {
  position: absolute;
  left: 16px;
  bottom: 38px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  /*background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);*/
  text-decoration: none;
}

.signatura-logo-img {
  display: block;
  width: 180px;
  height: auto;
}

.signatura-logo-link:hover {
  /*background: rgba(255,255,255,0.9);*/
}

@media (max-width: 700px) {
  .signatura-logo-link {
	  display: none;
    left: 10px;
    bottom: 38px;
    padding: 6px 8px;
  }

  .signatura-logo-img {
    width: 140px;
  }
}
/* end:logo --------------------------------------------------*/





/* Body s rozšířeným detailem ------------------------------------------ */
.point-detail-badge {
  position: absolute;
  left: -5px;
  top: -6px;
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.28);
  pointer-events: none;
}

.grave-marker .point-detail-badge {
  left: -8px;
  top: -8px;
}

.point-detail-badge {
  left: 2px;
  top: 2px;
  background: #2f8f3a;
  border-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.grave-marker .point-detail-badge {
  left: -3px;
  top: -3px;
}

.detail-description:empty {
  display: none;
}

.detail-description > :first-child {
  margin-top: 0;
}

.detail-description > :last-child {
  margin-bottom: 0;
}

.detail-description p,
.detail-description ul,
.detail-description ol,
.detail-description blockquote {
  margin: 0 0 1em;
}

.detail-description img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: 8px;
}

.detail-description a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* end: Body s rozšířeným detailem ------------------------------------ */

.detail-loading,.detail-error{padding:16px 0;font-size:14px;color:#666}.detail-error{color:#8b1e1e}
