.ml-graficni-module, .ml-graficni-module {
  height: 100%;
  margin: 0;
  background: #07111f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}.ml-graficni-module #toolbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #07111f;
  box-sizing: border-box;
  overflow-x: auto;
  white-space: nowrap;
}.ml-graficni-module #daySelect {
  border: 1px solid rgba(255,255,255,0.25);
  background: #fff;
  color: #000;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}.ml-graficni-module .layer-btn {
  border: 1px solid rgba(255,255,255,0.25);
  background: #132033;
  color: #e5e7eb;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 13px;
  cursor: pointer;
}.ml-graficni-module .layer-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}.ml-graficni-module #map {
  height: calc(100% - 50px);
}.ml-graficni-module .station-label {
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid #000;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}.ml-graficni-module .wind-marker {
  background: #fff;
  border: 1px solid #000;
  border-radius: 7px;
  padding: 4px 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}.ml-graficni-module .wind-arrow {
  width: 30px;
  height: 30px;
  margin: 0 auto 3px auto;
  transform-origin: center center;
}.ml-graficni-module .wind-arrow svg {
  width: 30px;
  height: 30px;
  display: block;
}.ml-graficni-module .wind-values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
}.ml-graficni-module .wind-ff { color: #0050c8; }.ml-graficni-module .wind-gust { color: #c00000; }.ml-graficni-module .layer-title-box {
  background: rgba(255,255,255,0.97);
  color: #111;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  min-width: 250px;
}.ml-graficni-module .layer-title-main {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}.ml-graficni-module .layer-title-time {
  margin-top: 4px;
  font-size: 12px;
  color: #444;
  line-height: 1.25;
}.ml-graficni-module .timeline-box {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1050px, calc(100% - 28px));
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.30);
  padding: 10px 14px 9px 14px;
  box-sizing: border-box;
}.ml-graficni-module .time-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #111;
}.ml-graficni-module #timeSlider {
  width: 100%;
  margin: 0;
}.ml-graficni-module .hour-scale {
  position: relative;
  height: 26px;
  margin-top: 3px;
  font-size: 10px;
  color: #333;
}.ml-graficni-module .hour-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  font-weight: 600;
}.ml-graficni-module .hour-tick::before {
  content: "";
  display: block;
  width: 1px;
  height: 7px;
  background: #777;
  margin: 0 auto 2px auto;
}.ml-graficni-module .hour-tick.major {
  font-size: 11px;
  font-weight: 900;
}.ml-graficni-module .hour-tick.major::before {
  height: 11px;
  width: 2px;
  background: #000;
}.ml-graficni-module .legend-box {
  background: rgba(255,255,255,0.96);
  color: #111;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 9px;
  padding: 7px 9px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  font-size: 11px;
}.ml-graficni-module .legend-title {
  font-weight: 800;
  margin-bottom: 5px;
}.ml-graficni-module .legend-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0;
}.ml-graficni-module .legend-color {
  width: 18px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.25);
}.ml-graficni-module .popup h3 {
  margin: 0 0 4px 0;
  font-size: 15px;
}.ml-graficni-module .popup-meta {
  font-size: 12px;
  color: #444;
}.ml-graficni-module .popup-main {
  font-size: 13px;
  margin-top: 5px;
}

@media (max-width: 700px) {.ml-graficni-module #toolbar {
    height: 46px;
    padding: 5px 7px;
  }.ml-graficni-module #map {
    height: calc(100% - 46px);
  }.ml-graficni-module #daySelect, .ml-graficni-module .layer-btn {
    font-size: 12px;
    padding: 6px 9px;
  }.ml-graficni-module .station-label {
    font-size: 12px;
    padding: 2px 5px;
  }.ml-graficni-module .layer-title-box {
    min-width: 210px;
    max-width: 78vw;
    padding: 7px 9px;
  }.ml-graficni-module .layer-title-main {
    font-size: 13px;
  }.ml-graficni-module .layer-title-time {
    font-size: 11px;
  }.ml-graficni-module .timeline-box {
    bottom: 9px;
    width: calc(100% - 18px);
    padding: 8px 9px 7px 9px;
  }.ml-graficni-module .time-label {
    font-size: 12px;
  }.ml-graficni-module .hour-tick {
    display: block;
    font-size: 9px;
    font-weight: 650;
  }.ml-graficni-module .hour-tick.major {
    display: block;
    font-size: 10px;
    font-weight: 900;
  }
}

.ml-graficni-module {
  position: relative;
  width: 100%;
}
.ml-graficni-map-card {
  padding: 0;
  overflow: hidden;
}
.ml-graficni-module #toolbar {
  height: auto;
  min-height: 50px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.ml-graficni-module #daySelect,
.ml-graficni-module .layer-btn {
  border: 1px solid rgba(21,130,199,.22);
  background: #eaf5fc;
  color: #0d5f9c;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 750;
}
.ml-graficni-module .layer-btn.active {
  background: #002050;
  border-color: #002050;
  color: #fff;
}
.ml-graficni-module #map {
  height: 720px;
  min-height: 560px;
}
.ml-graficni-module .timeline-box {
  bottom: 18px;
}
.ml-graficni-note {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .ml-graficni-module #toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .ml-graficni-module #map {
    height: 72vh;
    min-height: 520px;
  }
}


/* ==========================================================
   Mobile layout: title, time and slider below the map
   ========================================================== */
.ml-graficni-module .mobile-layer-title {
  display: none;
}

@media (max-width: 700px) {
  /* Desktop title control is replaced by the panel below the map. */
  .ml-graficni-module #layerTitleBox,
  .ml-graficni-module .layer-title-box {
    display: none !important;
  }

  .ml-graficni-module #map {
    height: 72vh;
    min-height: 520px;
  }

  .ml-graficni-module .timeline-box {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 11px 12px 9px !important;
    border: 0 !important;
    border-top: 1px solid rgba(15,23,42,.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .ml-graficni-module .mobile-layer-title {
    display: block;
    margin: 0 0 3px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
  }

  .ml-graficni-module .time-label {
    margin-bottom: 8px;
    color: #334155;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
  }

  .ml-graficni-module #timeSlider {
    display: block;
    width: 100%;
  }

  .ml-graficni-module .hour-scale {
    height: 24px;
  }
}

/* Keep all Leaflet UI below the opened mobile navigation. */
@media (max-width: 900px) {
  body:has(.ml-menu-toggle[aria-expanded="true"])
  .ml-graficni-module .leaflet-control-container,
  body:has(.ml-menu-toggle[aria-expanded="true"])
  .ml-graficni-module .timeline-box {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
