.weather-page-alerts-pogodynka .main-shell {
  padding-top: 28px;
  position: relative;
}

.weather-page-alerts-pogodynka .site-header {
  z-index: 2200;
  background: rgba(247, 242, 234, 0.96);
  box-shadow: 0 1px 0 rgba(31, 42, 48, 0.08);
}

.weather-page-alerts-pogodynka .o-mapCard {
  isolation: isolate;
  z-index: 0;
}

.weather-page-alerts-pogodynka .o-map {
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.weather-page-alerts-pogodynka .o-map .leaflet-popup,
.weather-page-alerts-pogodynka .o-map .leaflet-tooltip {
  z-index: 20;
}


.weather-page-alerts-pogodynka .o-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

.weather-page-alerts-pogodynka .o-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(7, 16, 28, 0.14);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 16, 27, 0.9), rgba(13, 24, 40, 0.78));
  box-shadow: 0 20px 46px rgba(14, 19, 27, 0.18);
}

.weather-page-alerts-pogodynka .o-copy {
  min-width: 0;
}

.weather-page-alerts-pogodynka .o-title {
  margin: 0 0 8px;
  color: #f8fbff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: 0.2px;
}

.weather-page-alerts-pogodynka .o-sub,
.weather-page-alerts-pogodynka .o-note {
  max-width: 820px;
  margin: 0;
  color: rgba(232, 240, 250, 0.94);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.weather-page-alerts-pogodynka .o-sub {
  opacity: 1;
}

.weather-page-alerts-pogodynka .o-note {
  margin-top: 12px;
  color: rgba(214, 227, 246, 0.9);
  font-size: 13px;
}

.weather-page-alerts-pogodynka .o-updated {
  min-width: 280px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(15, 20, 28, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.weather-page-alerts-pogodynka .o-updated__label {
  color: rgba(226, 235, 248, 0.86);
  opacity: 0.76;
  font-size: 12px;
}

.weather-page-alerts-pogodynka .o-updated__time {
  margin-top: 4px;
  color: #f8fbff;
  font-size: 16px;
  font-weight: 700;
}

.weather-page-alerts-pogodynka .o-updated__meta {
  margin-top: 6px;
  color: rgba(214, 226, 244, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.weather-page-alerts-pogodynka .o-mapCard {
  position: relative;
  margin-top: 6px;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10, 14, 20, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.weather-page-alerts-pogodynka .o-map {
  flex: 1;
  min-width: 0;
  height: 640px;
  overflow: hidden;
}

.weather-page-alerts-pogodynka .o-map .leaflet-container {
  width: 100%;
  height: 100%;
}

.weather-page-alerts-pogodynka .o-map .leaflet-top,
.weather-page-alerts-pogodynka .o-map .leaflet-bottom {
  z-index: 12;
}

.weather-page-alerts-pogodynka .o-map .leaflet-pane,
.weather-page-alerts-pogodynka .o-map .leaflet-control {
  z-index: 8;
}

.weather-page-alerts-pogodynka .o-legend {
  position: relative;
  width: 280px;
  flex: 0 0 280px;
  padding: 14px 14px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 20, 28, 0.72);
}

.weather-page-alerts-pogodynka .o-legend__title {
  margin: 0 0 10px;
  color: #f8fbff;
  font-size: 14px;
  opacity: 0.95;
}

.weather-page-alerts-pogodynka .o-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: rgba(232, 239, 248, 0.96);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.weather-page-alerts-pogodynka .sw {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.weather-page-alerts-pogodynka .sw-0 { background: #1db954; }
.weather-page-alerts-pogodynka .sw-1 { background: #ffd400; }
.weather-page-alerts-pogodynka .sw-2 { background: #ff8c00; }
.weather-page-alerts-pogodynka .sw-3 { background: #ff2b2b; }
.weather-page-alerts-pogodynka .sw-nd { background: #7f8a9b; }

.weather-page-alerts-pogodynka .o-legend__hint {
  margin-top: 10px;
  color: rgba(226, 235, 248, 0.84);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.78;
}

.weather-page-alerts-pogodynka .o-legend__summary {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(224, 234, 248, 0.92);
  font-size: 12px;
  line-height: 1.55;
}

.weather-page-alerts-pogodynka .o-summaryRow + .o-summaryRow {
  margin-top: 4px;
}

.weather-page-alerts-pogodynka .o-summaryMeta {
  margin-top: 8px;
  color: rgba(196, 211, 234, 0.78);
}

.weather-page-alerts-pogodynka .leaflet-tooltip.o-tip {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(15, 20, 28, 0.9);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.weather-page-alerts-pogodynka .leaflet-tooltip.o-tip:before {
  border-top-color: rgba(15, 20, 28, 0.9);
}

.weather-page-alerts-pogodynka .o-popup .leaflet-popup-content-wrapper,
.weather-page-alerts-pogodynka .o-popup .leaflet-popup-tip {
  background: rgba(12, 18, 27, 0.96);
  color: #f6f8ff;
}

.weather-page-alerts-pogodynka .o-popup .leaflet-popup-content-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  max-width: min(320px, calc(100vw - 44px));
}

.weather-page-alerts-pogodynka .leaflet-popup-content {
  margin: 14px 16px;
}

.weather-page-alerts-pogodynka .o-pop h3 {
  margin: 0 0 8px;
  color: #f6f8ff;
  font-size: 16px;
  line-height: 1.2;
}

.weather-page-alerts-pogodynka .o-pop__line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 5px 0;
  color: rgba(235, 241, 249, 0.96);
  font-size: 13px;
  line-height: 1.45;
}

.weather-page-alerts-pogodynka .o-pop__title {
  margin-top: 8px;
  color: #f6f8ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.weather-page-alerts-pogodynka .o-pop__desc {
  margin-top: 8px;
  color: rgba(227, 235, 247, 0.88);
  font-size: 13px;
  line-height: 1.58;
}

.weather-page-alerts-pogodynka .o-pop__meta {
  margin-top: 10px;
  color: rgba(206, 219, 239, 0.8);
  font-size: 12px;
  line-height: 1.55;
}

.weather-page-alerts-pogodynka .o-pop__status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 247, 255, 0.94);
  font-size: 11px;
  font-weight: 700;
}

.weather-page-alerts-pogodynka .o-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.weather-page-alerts-pogodynka .o-b0 { background: #1db954; color: #08140d; }
.weather-page-alerts-pogodynka .o-b1 { background: #ffd400; color: #2a2200; }
.weather-page-alerts-pogodynka .o-b2 { background: #ff8c00; color: #2a1200; }
.weather-page-alerts-pogodynka .o-b3 { background: #ff2b2b; color: #2a0000; }
.weather-page-alerts-pogodynka .o-bnd { background: #7f8a9b; color: #091018; }

@media (max-width: 980px) {
  .weather-page-alerts-pogodynka .o-head { flex-wrap: wrap; padding: 20px; }
  .weather-page-alerts-pogodynka .o-updated { width: 100%; min-width: 0; }
  .weather-page-alerts-pogodynka .o-mapCard { display: flex; flex-direction: column; }
  .weather-page-alerts-pogodynka .o-mapCard > .o-map {
    width: 100%;
    min-height: 58vh;
  }
  .weather-page-alerts-pogodynka .o-mapCard > .o-legend {
    width: 100%;
    flex: 0 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 760px) {
   .weather-page-alerts-pogodynka .o-wrap { padding: 10px 12px 36px; }
  .weather-page-alerts-pogodynka .o-title { font-size: 28px; }
  .weather-page-alerts-pogodynka .o-sub,
  .weather-page-alerts-pogodynka .o-note { font-size: 14px; }
  .weather-page-alerts-pogodynka .o-map {
    min-height: clamp(340px, 52dvh, 520px);
    height: clamp(340px, 52dvh, 520px);
  }
}

@media (max-width: 520px) {
   .weather-page-alerts-pogodynka .o-wrap { padding: 8px 10px 28px; }
  .weather-page-alerts-pogodynka .o-title { font-size: 24px; }
  .weather-page-alerts-pogodynka .o-map {
    min-height: 320px;
    height: 48dvh;
  }
  .weather-page-alerts-pogodynka .leaflet-popup-content {
    margin: 12px 13px;
  }
}
