.meteo-map-wrap { border: 1px solid #e2e8f0; border-right: 0; border-radius: 14px 0 0 14px; overflow: hidden; background: #fff; }
.meteo-map-bar { display: flex; gap: 6px; padding: 8px; background: #f4f7fb; }
.meteo-map-bar button {
  border: 0; background: transparent; padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: 13px; cursor: pointer; color: #1b3a5a;
}
.meteo-map-bar button.is-on { background: #1e4b82; color: #fff; }
.meteo-map { height: 520px; width: 100%; }
.mmap-pin { background: none; border: 0; }
.mmap-pin span {
  display: block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(15,30,50,.35);
}
.mmap-pop { font: 13px/1.35 "Segoe UI", sans-serif; color: #12233a; min-width: 180px; }
.mmap-pop strong { display: block; margin-bottom: 8px; font-size: 15px; }
.mmap-day { border-top: 1px solid #e8eef4; padding: 8px 0; }
.mmap-date { font-weight: 700; font-size: 12px; color: #1e4b82; margin-bottom: 6px; }
.mmap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mmap-cols span { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.mmap-cols img { width: 26px; height: 26px; margin: 4px 0; }
.mmap-cols p { margin: 0; font-size: 12px; }
.mmap-time { color: #64748b; font-size: 12px; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.mmap-empty{padding:48px 20px;text-align:center;color:#5b6b7c;font-size:14px;}
.meteo-map-app { display:grid; grid-template-columns: minmax(0,1fr) var(--hp-side-width, 280px); min-height: 560px; border:1px solid #d7e2ee; border-radius:14px; overflow:hidden; background: var(--hp-side-bg, #1b2838); }
.meteo-map-side { background:#1b2838; color:#e8eef4; display:flex; flex-direction:column; min-height:560px; width: 100%; min-width: 0; box-sizing: border-box; position: relative; z-index: 2; }
.meteo-map-side h3 { margin:0; padding:14px 16px; font-size:14px; font-weight:700; color:#8ec5ff; border-bottom:1px solid #2a3b4f; }
.meteo-map-list { overflow:auto; flex:1; }
.meteo-map-item { display:flex; justify-content:space-between; gap:8px; width:100%; text-align:left; background:transparent; color:#e8eef4; border:0; border-bottom:1px solid #2a3b4f; padding:10px 16px; cursor:pointer; font:13px/1.3 inherit; }
.meteo-map-item:hover, .meteo-map-item.is-on { background:#243447; }
.meteo-map-item em { font-style:normal; color:#9fd0ff; }
.meteo-map-forecast { padding:12px 14px; background:#121c28; border-top:1px solid #2a3b4f; max-height:280px; overflow:auto; }
.meteo-map-forecast h4 { margin:0 0 8px; }
.mmap-chip { display:inline-flex; align-items:center; gap:6px; background:#1e4b82; color:#fff; border-radius:4px; padding:3px 8px 3px 5px; font:12px/1.2 "Segoe UI",sans-serif; font-weight:700; white-space:nowrap; box-shadow:0 2px 8px rgba(0,0,0,.25); }
.mmap-chip img { width:16px; height:16px; }
.mmap-chip--hydro { background:#0f766e; }
.mmap-now { display:grid; gap:4px; margin:0 0 8px; font-size:13px; }
.mmap-now b { font-size:22px; }
.mmap-fday { border-top:1px solid #2a3b4f; padding:8px 0; }
@media (max-width: 860px) { .meteo-map-app { grid-template-columns:1fr; } .meteo-map-side { min-height:240px; } }
.mmap-chip--off{background:#94a3b8;} .meteo-map-item.is-off,.meteo-map-item.is-off em{color:#7b8794;}
.meteo-map-app { height: 560px; min-height: 560px; }
.meteo-map-wrap { display:flex; flex-direction:column; min-height:0; height:100%; overflow:hidden; }
.meteo-map { flex:1; height:auto !important; min-height:0; }
.meteo-map-side { min-height:0; height:100%; max-height:560px; overflow:hidden; }
.meteo-map-list { overflow-y:auto; flex:1; min-height:0; -webkit-overflow-scrolling:touch; }
.meteo-map-side .meteo-map-bar { background:#121c28; padding:8px; gap:4px; }
.meteo-map-side .meteo-map-bar button { flex:1; color:#c9d6e4; font-size:12px; padding:8px 6px; }
.meteo-map-side .meteo-map-bar button.is-on { background:#2b6cb0; color:#fff; }
.mmap-center-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}
.mmap-center-card[hidden] { display: none !important; }
.mmap-center-card .mmap-pop,
.mmap-center-card > * {
  pointer-events: auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px 16px;
  width: min(360px, 86%);
  box-shadow: 0 18px 50px rgba(15,23,42,.28);
}
.mmap-forecast-screen {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #f4f7fb;
  overflow: auto;
}
.mmap-forecast-screen[hidden] { display: none !important; }
.mmap-forecast-inner { padding: 16px 18px 24px; }
.mmap-forecast-btn, .mmap-close, .mmap-back {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}
.mmap-forecast-btn { background: #1e4b82; color: #fff; }
.mmap-close, .mmap-back { background: #e8eef4; color: #12233a; }
.mmap-now { display: grid; gap: 4px; margin: 8px 0 12px; }
.mmap-now b { font-size: 28px; }
.mmap-now span { display: block; color: #5c6b7a; font-size: 13px; }
.meteo-map-wrap { position: relative; }
.meteo-map-wrap ymaps[class*="copyright"],
.meteo-map-wrap ymaps[class*="gototech"],
.meteo-map-wrap ymaps[class*="copyrights-pane"] {
  display: none !important;
}
.mmap-center-card {
  background: rgba(15, 23, 42, .18);
  pointer-events: auto;
}
.ios-sheet {
  pointer-events: auto;
  width: min(340px, 88%);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 48px rgba(15,23,42,.22), 0 0 0 1px rgba(255,255,255,.45);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #1c1c1e;
}
.ios-sheet h3 { margin: 0 28px 14px 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ios-x {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  border: 0; border-radius: 50%; background: rgba(120,120,128,.16); cursor: pointer;
}
.ios-x:before, .ios-x:after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: #3a3a3c;
}
.ios-x:before { transform: rotate(45deg); }
.ios-x:after { transform: rotate(-45deg); }
.ios-sheet { position: relative; }
.ios-rows { display: grid; gap: 0; }
.ios-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: .5px solid rgba(60,60,67,.18); font-size: 15px;
}
.ios-row:last-child { border-bottom: 0; }
.ios-row span { color: #6e6e73; }
.ios-row b { font-weight: 600; }
.ios-btn {
  margin-top: 14px; width: 100%; border: 0; border-radius: 12px; padding: 12px;
  background: #007aff; color: #fff; font-weight: 600; font-size: 16px; cursor: pointer;
}
.mmap-now { display: grid; gap: 6px; }
.mmap-now b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.mmap-now span { color: #6e6e73; font-size: 15px; }
.mmap-forecast-screen { background: #f2f2f7; }
.mmap-forecast-inner { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.mmap-fday {
  background: #fff; border-radius: 16px; padding: 14px; margin: 10px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

@media (max-width: 860px) {
  .meteo-map-app { display:block; height:auto !important; min-height:0 !important; }
  .meteo-map-wrap { display:none !important; }
  .meteo-map-side { height:auto !important; max-height:none !important; min-height:0 !important; border-radius:14px; }
  .meteo-map-list { max-height:none; overflow:visible; }
  .meteo-map-acc__pane { overflow:hidden; }
  .meteo-map-acc__pane .ios-sheet {
    width:auto; margin:8px 10px 12px; border-radius:16px;
    background:#fff; box-shadow:none;
  }
  .meteo-map-acc__pane[hidden] { display:none !important; }
}
.meteo-map-acc__pane {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .34s ease;
}
.meteo-map-acc__pane.is-open { grid-template-rows: 1fr; }
.meteo-map-acc__inner { overflow: hidden; min-height: 0; }

.mmap-center-card .ios-sheet {
  animation: iosPop .28s ease;
}
@keyframes iosPop {
  from { opacity: 0; transform: scale(.94) translateY(10px); }
  to { opacity: 1; transform: none; }
}

.mmap-forecast-screen { background: linear-gradient(180deg, #0b1c33 0%, #16345a 48%, #1d4b82 100%); }
.wx3-wrap {
  padding: 16px 16px 28px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  min-height: 100%;
}
.wx3-wrap h3 { margin: 8px 0 16px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: #fff !important; }
.wx3-back {
  border: 0; background: rgba(255,255,255,.14); color: #fff;
  border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer;
}
.wx3 { display: grid; gap: 12px; }
.wx3-day {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 14px 16px 16px;
}
.wx3-day header {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; opacity: .8; margin-bottom: 12px;
}
.wx3-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wx3-col { text-align: center; }
.wx3-col small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.wx3-col img { width: 52px; height: 52px; margin: 8px 0; }
.wx3-col strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.3; }
.wx3-wind, .wx3-phen { margin: 10px 0 0; font-size: 13px; opacity: .88; }
.wx3-phen { opacity: .75; }

@media (max-width: 860px) {
  .meteo-map-acc__pane .ios-sheet,
  .meteo-map-acc__pane .wx3-wrap {
    margin: 0 10px 12px;
  }
  .meteo-map-acc__pane .wx3-wrap {
    background: linear-gradient(180deg, #123056, #1e4b82);
    border-radius: 18px;
    padding: 14px;
  }
}
.ios-back {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: rgba(120,120,128,.16); color: #007aff;
  border-radius: 10px; padding: 7px 12px; font-weight: 600; font-size: 14px; cursor: pointer;
  margin: 0 0 12px;
}
.ios-sheet--forecast h3 { display: none; }
.ios-sheet--forecast .wx3 { gap: 8px; }
.ios-sheet--forecast .wx3-day {
  background: #f2f2f7;
  border: 0;
  color: #1c1c1e;
  backdrop-filter: none;
  padding: 12px;
}
.ios-sheet--forecast .wx3-day header { color: #6e6e73; opacity: 1; }
.ios-sheet--forecast .wx3-col strong { color: #1c1c1e; }
.ios-sheet--forecast .wx3-wind,
.ios-sheet--forecast .wx3-phen { color: #3a3a3c; opacity: 1; }
@media (max-width: 860px) {
  .meteo-map-acc__pane .wx3-wrap { display: none; }
  .meteo-map-acc__pane .ios-sheet { margin: 0 10px 12px; }
}
@media (max-width: 860px) {
  .meteo-map-acc__pane .ios-sheet {
    background: #152233;
    color: #e8eef4;
    box-shadow: none;
    border: 1px solid #2a3b4f;
    backdrop-filter: none;
  }
  .meteo-map-acc__pane .ios-sheet h3 { color: #8ec5ff !important; }
  .meteo-map-acc__pane .mmap-now b { color: #fff; }
  .meteo-map-acc__pane .mmap-now span { color: #9aa8b8; }
  .meteo-map-acc__pane .ios-btn { background: #2b6cb0; }
  .meteo-map-acc__pane .ios-back {
    background: #243447; color: #9fd0ff;
  }
  .meteo-map-acc__pane .ios-sheet--forecast .wx3-day {
    background: #1b2838;
    color: #e8eef4;
  }
  .meteo-map-acc__pane .ios-sheet--forecast .wx3-day header { color: #8ec5ff; }
  .meteo-map-acc__pane .ios-sheet--forecast .wx3-col strong { color: #fff; }
  .meteo-map-acc__pane .ios-sheet--forecast .wx3-wind,
  .meteo-map-acc__pane .ios-sheet--forecast .wx3-phen { color: #c9d6e4; }
}
.wx-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
}
.wx-strip-day {
  flex: 0 0 112px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 10px 8px 12px;
  text-align: center;
}
.wx-strip-date {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 8px;
}
.wx-strip-part { margin: 6px 0; }
.wx-strip-part small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .65; }
.wx-strip-part img { width: 34px; height: 34px; margin: 4px 0; }
.wx-strip-part b { display: block; font-size: 18px; font-weight: 700; }
.wx-strip-day em {
  display: block;
  font-style: normal;
  font-size: 11px;
  line-height: 1.25;
  opacity: .75;
  margin-top: 6px;
}
.ios-sheet--forecast .wx-strip-day {
  background: #1b2838;
  border-color: #2a3b4f;
  color: #e8eef4;
}

.meteo-map-app { height: var(--hp-map-height, 560px); min-height: var(--hp-map-height, 560px); }
.meteo-map-side { background: var(--hp-side-bg, #0f1a26); color: var(--hp-side-text, #e8eef4); }
.meteo-map-item em { color: var(--hp-side-muted, #8ec5ff); }
.meteo-map-item.is-off, .meteo-map-item.is-off em { color: var(--hp-side-off, #7b8794); }
.meteo-map-side .meteo-map-bar button.is-on { background: var(--hp-bar-on, #2b6cb0); }
.mmap-forecast-screen { background: var(--hp-forecast-bg, #0b1c33); color: var(--hp-forecast-text, #fff); }
.ios-sheet { background: var(--hp-sheet-bg, #fff); color: var(--hp-sheet-text, #1c1c1e); }
.ios-btn { background: var(--hp-btn-bg, #007aff); color: var(--hp-btn-text, #fff); }

.wx-pro { display:flex; flex-direction:column; gap:18px; min-height:100%; }
.wx-days {
  display:flex; gap:8px; overflow-x:auto; padding:2px 0 8px;
  -webkit-overflow-scrolling:touch;
}
.wx-day {
  flex:1 0 88px; max-width:120px;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  border:0; border-radius:16px; padding:12px 8px;
  background: var(--hp-day-bg, rgba(255,255,255,.10));
  color: inherit; cursor:pointer;
}
.wx-day.is-on { background: var(--hp-day-on, rgba(255,255,255,.22)); }
.wx-day-date { font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; opacity:.75; text-align:center; }
.wx-day img { width:36px; height:36px; }
.wx-day-hi { font-size:20px; font-weight:700; color: var(--hp-hi, #fff); line-height:1; }
.wx-day-lo { font-size:14px; font-weight:600; color: var(--hp-lo, #9fd0ff); line-height:1; }

.wx-detail {
  background: rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px 18px;
}
.wx-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.wx-detail-col { text-align:center; }
.wx-detail-col span { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; opacity:.65; }
.wx-detail-col img { width:48px; height:48px; margin:8px 0; }
.wx-detail-col b { display:block; font-size:28px; font-weight:700; }
.wx-detail-phen, .wx-detail-wind { margin:12px 0 0; font-size:14px; opacity:.85; text-align:center; }

.mmap-now b { font-size:42px; font-weight:700; letter-spacing:-.04em; line-height:1; }
.mmap-now-desc { display:block; margin:4px 0 12px; opacity:.7; }
.mmap-now-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.mmap-now-metrics div { background:rgba(120,120,128,.12); border-radius:12px; padding:8px 6px; text-align:center; }
.mmap-now-metrics small { display:block; font-size:10px; text-transform:uppercase; letter-spacing:.04em; opacity:.6; }
.mmap-now-metrics em { font-style:normal; font-weight:650; font-size:13px; }

@media (max-width: 860px) {
  .meteo-map-acc__pane .wx-pro { color:#e8eef4; }
  .meteo-map-acc__pane .wx-day { background:#1b2838; }
  .meteo-map-acc__pane .wx-day.is-on { background:#2b6cb0; }
  .meteo-map-acc__pane .wx-detail { background:#1b2838; }
}

.wx-cards { display:flex; gap:12px; overflow-x:auto; padding:4px 0 8px; align-items:stretch; }
.wx-card {
  flex:1 0 240px; max-width:320px;
  background:#fff; color:#1c2a3a; border-radius:14px; overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.wx-card header {
  background: var(--hp-date-bg, #2c558e);
  color: var(--hp-date-color, #fff);
  text-align:center; font-weight:700; letter-spacing:.04em;
  text-transform:uppercase; padding:10px 12px; font-size:13px;
}
.wx-card-cols { display:grid; grid-template-columns:1fr 1fr; }
.wx-card-col { padding:12px 10px; text-align:center; border-right:1px solid #e6edf5; }
.wx-card-col:last-child { border-right:0; }
.wx-card-col span { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#5b6b7c; }
.wx-card-col img { width:42px; height:42px; margin:6px 0; }
.wx-card-col p { margin:0; font-weight:700; font-size:15px; }
.wx-card-meta { background:#f4f7fb; padding:10px 12px; font-size:13px; }
.wx-card-meta p { margin:0 0 4px; }
.wx-card-meta b { margin-right:6px; }
@media (max-width:860px) {
  .wx-cards { flex-direction:column; }
  .wx-card { max-width:none; flex-basis:auto; }
}

.wx-pin-layer {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 8px));
}
.wx-pin-layer[hidden] { display: none !important; }
.wx-pin-layer .wx-pin-card {
  opacity: 0;
  transform: translateY(22px) scale(.88);
}
.wx-pin-layer.is-in .wx-pin-card {
  animation: wxPinPop .32s cubic-bezier(.2, 1.15, .32, 1) forwards;
}
@keyframes wxPinPop {
  from { opacity: 0; transform: translateY(22px) scale(.88); }
  to { opacity: 1; transform: none; }
}
.wx-pin-balloon { position: relative; }
.wx-pin-card {
  position: relative;
  min-width: 168px;
  max-width: 220px;
  padding: 12px 14px 14px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(22,34,52,.88) 0%, rgba(22,34,52,.42) 70%, rgba(22,34,52,.08) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 28px rgba(8,16,32,.28);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  text-align: center;
}
.wx-pin-card__name { font-size: 13px; font-weight: 650; letter-spacing: -.01em; opacity: .92; }
.wx-pin-card__temp { font-size: 36px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: 2px 0; }
.wx-pin-card__desc { font-size: 12px; opacity: .72; margin-bottom: 6px; }
.wx-pin-card__row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 11px; opacity: .82; }
.wx-pin-card__tail {
  position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px;
  margin-left: -7px;
  background: rgba(22,34,52,.35);
  transform: rotate(45deg);
  border-radius: 2px;
}
.ymaps-2-1-79-balloon__content, .ymaps-2-1-79-balloon__layout { background: transparent !important; box-shadow: none !important; }
.ymaps-2-1-79-balloon__tail { display: none !important; }
.ymaps-2-1-79-balloon { background: none !important; box-shadow: none !important; }

.wx-dock {
  position: absolute;
  left: 0; right: -1px; bottom: 0;
  z-index: 7;
  padding: 0;
  pointer-events: none;
}
.wx-dock[hidden] { display: none !important; }
.wx-dock-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  pointer-events: auto;
  color: #fff;
  background: linear-gradient(180deg, rgba(16,28,46,.10) 0%, rgba(16,28,46,.58) 42%, rgba(16,28,46,.88) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.wx-dock-day {
  min-width: 0;
  padding: 6px 10px 10px;
}
.wx-dock-day + .wx-dock-day {
  border-left: 1px solid rgba(255,255,255,.18);
}
.wx-dock-day header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  white-space: nowrap;
}
.wx-dock-day header i {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
  opacity: .8;
}
.wx-dock-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wx-dock-col { text-align: center; }
.wx-dock-col small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .62; }
.wx-dock-col img { width: 30px; height: 30px; margin: 2px 0; }
.wx-dock-col b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.wx-dock-day footer { margin-top: 4px; text-align: center; }
.wx-dock-day footer em { display: block; font-style: normal; font-size: 11px; font-weight: 600; opacity: .92; line-height: 1.3; }
.wx-dock-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #fff;
  padding: 16px;
  background: linear-gradient(180deg, rgba(16,28,46,.55), transparent);
  border-radius: 16px;
}
@media (max-width: 860px) {
  .wx-dock { display: block !important; }
}

.mmap-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 28, 42, .62);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  font: 600 12px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  white-space: nowrap;
  width: max-content;
  border: 1px solid var(--hp-chip-border, rgba(255,255,255,.22));
  box-shadow: 0 6px 16px rgba(8,16,32,.22);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.mmap-chip img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  padding: 1px;
  box-sizing: border-box;
}
.mmap-chip__warn:empty { display: none; }
.mmap-chip__warn { font-size: 12px; line-height: 1; }
.mmap-chip__name { color: #f4f7fb; }
.mmap-chip__temp {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0,0,0,.45), 0 1px 1px rgba(0,0,0,.35);
}
.mmap-chip--hydro {
  background: rgba(18, 72, 140, .72);
  border-color: rgba(160, 210, 255, .28);
}
.mmap-chip--off {
  background: rgba(80, 90, 102, .5);
  border-color: rgba(255,255,255,.12);
  color: #e8edf3;
}

.meteo-map-app {
  border-bottom-right-radius: 0;
}
.meteo-map-wrap,
.meteo-map-side,
.wx-dock-bar {
  border-bottom-right-radius: 0;
}

.meteo-map-side,
.meteo-map-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 197, 255, .35) transparent;
}
.meteo-map-list::-webkit-scrollbar {
  width: 6px;
}
.meteo-map-list::-webkit-scrollbar-track {
  background: transparent;
}
.meteo-map-list::-webkit-scrollbar-thumb {
  background: rgba(142, 197, 255, .28);
  border-radius: 99px;
}
.meteo-map-list::-webkit-scrollbar-thumb:hover {
  background: rgba(142, 197, 255, .5);
}
.meteo-map-list::-webkit-scrollbar-corner {
  background: transparent;
}

.mmap-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9;
  display: flex;
  gap: 6px;
}
.mmap-tool {
  min-width: 86px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #2b6cb0;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 40, 80, .35);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  padding: 0 12px;
}
.mmap-tool:hover { background: #3b7cc4; }
.mmap-tool.is-on {
  background: #16324f;
  min-width: 128px;
}
.meteo-map-app.is-side-off { grid-template-columns: 1fr; }
.meteo-map-app.is-side-off .meteo-map-side { display: none; }
.meteo-map-app:fullscreen,
.meteo-map-app:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  border: 0;
}
.meteo-map-app:fullscreen .meteo-map-side,
.meteo-map-app:-webkit-full-screen .meteo-map-side {
  max-height: none;
  height: 100%;
}

.wx-pin-card--hydro {
  background: linear-gradient(180deg, rgba(12,48,92,.9) 0%, rgba(12,48,92,.4) 70%, rgba(12,48,92,.08) 100%);
}
.hy-dock {
  pointer-events: auto;
  color: #fff;
  padding: 8px 14px 8px;
  background: linear-gradient(180deg, rgba(16,28,46,.10) 0%, rgba(16,28,46,.52) 42%, rgba(16,28,46,.84) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.hy-dock__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}
.hy-dock__head b {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.hy-dock__head span { font-size: 12px; opacity: .8; }
.hy-plot {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: stretch;
  gap: 4px;
}
.hy-ylabels {
  position: relative;
  text-align: right;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  opacity: .8;
  line-height: 1;
}
.hy-ylabels span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}
.hy-chart { width: 100%; height: 112px; display: block; overflow: visible; }
.hy-grid { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.hy-area { fill: url(#hyFill); }
.hy-dock.is-over .hy-flood,
.hy-dock.is-near .hy-flood { stroke-width: 3; }
.hy-line {
  fill: none;
  stroke: #6ec4ff;
  stroke-width: 3.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hy-dot { fill: #dff4ff; stroke: #1d7ad6; stroke-width: 2; pointer-events: none; }
.hy-hit { fill: transparent; stroke: none; cursor: pointer; }
.hy-dock { position: relative; }
.hy-tip {
  position: absolute;
  z-index: 8;
  display: flex;
  gap: 8px;
  align-items: baseline;
  background: rgba(12, 20, 32, .92);
  color: #fff;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  pointer-events: none;
  white-space: nowrap;
}
.hy-tip[hidden] { display: none !important; }
.hy-tip b { font-weight: 700; }
.hy-tip span { font-weight: 650; color: #9fd4ff; }
.hy-flood { stroke: #ff5a6a; stroke-width: 2.4; stroke-dasharray: 7 5; }
.hy-flood-label {
  fill: #ffd0d4;
  font-size: 11px;
  font-weight: 700;
  text-anchor: end;
}
.hy-axis {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  text-align: center;
  font-size: 9px;
  opacity: .9;
  padding-left: 40px;
}
.hy-axis em { display: block; font-style: normal; font-weight: 700; font-size: 11px; margin-top: 1px; }
.hy-axis .is-dim { opacity: 0; }

@media (max-width: 860px) {
  .meteo-map-app {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .mmap-tools { display: none !important; }
  .meteo-map-wrap { display: flex !important; }
  .wx-dock,
  .wx-pin-layer { display: block !important; }
  .meteo-map-side {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  .meteo-map-list { max-height: none; overflow: visible !important; }
  .m-wx {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 10px 14px;
  }
  .m-wx-now {
    color: #fff;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(8, 16, 28, .42);
    border: 1px solid rgba(210, 224, 240, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }
  .m-wx-now__kicker {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
  }
  .m-wx-now__temp { font-size: 42px; font-weight: 700; line-height: 1.05; }
  .m-wx-now__desc { opacity: .85; margin-bottom: 8px; }
  .m-wx-now__row { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; opacity: .9; }
  .m-wx .wx-dock-day,
  .m-wx-day {
    position: relative;
    background: rgba(8, 16, 28, .38);
    border-radius: 16px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(210, 224, 240, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }
  .m-wx .wx-dock-day + .wx-dock-day {
    border-left: 1px solid rgba(210, 224, 240, .28);
  }
  .m-wx .wx-dock-split { min-height: 86px; }
  .m-hy {
    margin: 8px 10px 12px;
    padding: 6px 4px;
    border-radius: 14px;
    background: rgba(16,28,46,.45);
    color: #e8eef4;
  }
  .m-hy__warn {
    padding: 8px 12px 4px;
    color: #ffb4b4;
    font-weight: 700;
    font-size: 13px;
  }
  .m-hy__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
  }
  .m-hy__row:first-child { border-top: 0; }
  .m-hy__row span { opacity: .72; }
  .m-hy__row b { font-weight: 700; }
}

.mmap-chip--wx {
  background: var(--hp-chip-fill, linear-gradient(180deg, rgba(18,28,42,.78), rgba(18,28,42,.28)));
  color: var(--hp-chip-text, #fff);
  border-color: var(--hp-chip-border, rgba(255,255,255,.22));
  border-width: var(--hp-chip-border-w, 1px);
  border-style: solid;
  border-radius: var(--hp-chip-radius, 999px);
  backdrop-filter: blur(var(--hp-glass-blur, 14px)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--hp-glass-blur, 14px)) saturate(160%);
}
.mmap-chip--hydro {
  background: var(--hp-chip-hy-fill, linear-gradient(180deg, rgba(18,40,63,.78), rgba(18,40,63,.28)));
  color: var(--hp-chip-hy-text, #fff);
  border-color: var(--hp-chip-hy-border, #7eb6ff);
  border-width: var(--hp-chip-hy-border-w, 1px);
  border-style: solid;
  border-radius: var(--hp-chip-hy-radius, 999px);
  backdrop-filter: blur(var(--hp-glass-blur, 14px)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--hp-glass-blur, 14px)) saturate(160%);
}
.wx-pin-card {
  background: var(--hp-pin-fill, linear-gradient(180deg, rgba(22,34,52,.88) 0%, rgba(22,34,52,.42) 70%, rgba(22,34,52,.08) 100%));
  color: var(--hp-pin-text, #fff);
  border-radius: var(--hp-pin-radius, 18px);
  border: 1px solid var(--hp-pin-border, transparent);
  backdrop-filter: blur(var(--hp-glass-blur, 18px)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--hp-glass-blur, 18px)) saturate(160%);
}
.wx-pin-card__name { font-size: var(--hp-pin-name, 13px); }
.wx-pin-card__temp { font-size: var(--hp-pin-temp, 40px); }


/* Side width from settings */
.meteo-map-app { grid-template-columns: minmax(0,1fr) var(--hp-side-width, 280px); }
.meteo-map-side { width: var(--hp-side-width, 280px); }

/* Keep pin card visible on narrow screens */
@media (max-width: 860px) {
  .meteo-map-app .wx-pin-layer { display: block !important; }
  .meteo-map-app .meteo-map-wrap { display: flex !important; }
  .wx-pin-layer.is-in { z-index: 40; }
}


/* No gap between map and side menu */
.meteo-map-app { background: var(--hp-side-bg, #1b2838); }
.meteo-map-side { width: 100%; margin-right: 0; }
.meteo-map-wrap { min-width: 0; }
.mmap-tools { display: none !important; }


/* Close the strip between map/dock and side menu */
.meteo-map-app { gap: 0; column-gap: 0; }
.meteo-map-wrap { border-right: 0 !important; margin-right: -1px; }
.meteo-map-side { margin-left: 0; border-left: 0; }
.wx-dock { right: -1px; }


/* Map top-right corner is square where it meets the side menu */
.meteo-map-wrap,
.meteo-map-wrap .meteo-map,
.meteo-map-wrap ymaps {
  border-top-right-radius: 0 !important;
}


/* Keep forecast dock visible on mobile */
@media (max-width: 860px) {
  .meteo-map-app .wx-dock { display: block !important; visibility: visible !important; }
  .meteo-map-app .wx-dock-bar { display: grid !important; }
}
