.map-card {
  max-width: 1120px;
}

.measure-time {
  color: #eef1f4;
  font-size: 0.86rem;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 28px;
}

.pollutants-panel {
  padding: 22px;
  border: 2px solid rgba(0, 0, 0, 0.7);
  border-radius: 18px;
  background: #f5f6f7;
  color: #171717;
}

.pollutants-panel h3 {
  margin-bottom: 16px;
  text-align: center;
}

.pollutants-panel ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.pollutants-panel li {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  background: #fff;
}

.pollutants-panel li strong {
  white-space: nowrap;
}

.map-panel {
  min-width: 0;
}

.map-controls {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.8fr);
  gap: 12px;
  align-items: end;
}

.location-badge {
  padding: 11px 14px;
  display: grid;
  gap: 3px;
  border: 2px solid #1b1b1b;
  border-radius: 12px;
  background: #fff;
  color: #151515;
}

.location-badge span {
  color: #51555a;
  font-size: 0.82rem;
}

.map-controls label {
  color: #f5f5f5;
  font-size: 0.82rem;
}

.map-controls select {
  margin-top: 5px;
}

.real-map,
.map-fallback {
  width: 100%;
  height: 480px;
  border: 2px solid #161616;
  border-radius: 14px;
  background: #dfe4e8;
}

.real-map {
  overflow: hidden;
}

.map-fallback {
  display: none;
  object-fit: contain;
  background: #fff;
}

.map-note {
  margin-top: 10px;
  color: #e0e3e6;
  font-size: 0.78rem;
}

@media (max-width: 880px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .real-map,
  .map-fallback {
    height: 360px;
  }

  .pollutants-panel li {
    font-size: 0.9rem;
  }
}
