.split-wide {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.split-wide > section {
  min-width: 0;
}
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.leisure-card,
.fuel-station {
  display: flex;
  flex-direction: column;
  padding: 15px;
  background: #f3f7f5;
  border-top: 4px solid var(--green);
}
.leisure-title {
  display: flex;
  gap: 10px;
  align-items: start;
}
.leisure-title > span {
  font-size: 29px;
}
.leisure-card h3 {
  margin: 1px 0;
  font-size: 17px;
}
.leisure-card p {
  margin: 10px 0;
}
.status {
  padding: 8px;
  background: #e2eee8;
  font-size: 12px;
}
.status.closed {
  background: #f1e7dd;
  color: #704727;
}
.temps {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.temps span {
  padding: 5px;
  background: #fff;
  font-size: 12px;
}
.address {
  display: block;
  margin-top: auto;
  color: #66746f;
}
.card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.card-actions a {
  padding: 7px 9px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.card-actions a:first-child {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.fuel-station {
  margin-top: 12px;
}
.fuel-place {
  display: flex;
  flex-direction: column;
}
.fuel-prices {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.fuel-prices div {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: #fff;
}
.fuel-prices strong {
  font-size: 18px;
}
.directory-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.directory-row > span {
  font-size: 23px;
}
.directory-row small {
  display: block;
  color: #66746f;
}
.directory-row > strong {
  font-size: 12px;
  color: var(--green);
}
.open-pill {
  padding: 6px 8px;
  background: #e4f1e9;
}
.open-pill.is-closed {
  background: #f1e7dd;
  color: #704727;
}
@media (max-width: 1000px) {
  .split-wide {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .leisure-grid {
    grid-template-columns: 1fr;
  }
  .directory-row {
    grid-template-columns: auto 1fr;
  }
  .directory-row > strong {
    grid-column: 2;
  }
}
.camera-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}
.camera-card {
  position: relative;
  min-height: 80px;
  overflow: hidden;
  background: #dce5e1;
  color: #fff;
}
.camera-card.camera-main {
  grid-row: 1/3;
}
.camera-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
}
.camera-card.camera-main img {
  min-height: 165px;
}
.camera-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 10px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.camera-card b,
.camera-card small {
  display: block;
}
@media (max-width: 760px) {
  .camera-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .camera-card.camera-main {
    grid-row: auto;
  }
  .camera-card.camera-main img {
    min-height: 105px;
  }
}
.camera-card.unavailable {
  min-height: 329px;
  background: #31534b;
}
.camera-card.unavailable:before {
  content: "Kamera je ve zdroji momentálně nedostupná";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 25px;
  text-align: center;
  color: #dbe8e3;
  font-weight: 700;
}
.forecast-days {
  margin-top: 15px;
}
.forecast-day {
  margin-top: 9px;
}
.forecast-day > .forecast {
  display: grid;
  grid-template-columns: repeat(6, minmax(58px, 1fr));
  gap: 4px;
  margin-top: 5px;
  overflow: visible;
}
.forecast-day > .forecast div {
  min-width: 0;
  padding: 7px 3px;
  font-size: 12px;
}
.forecast-day > .forecast small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #d8ebe4;
}
@media (max-width: 760px) {
  .forecast-day > .forecast {
    grid-template-columns: repeat(3, 1fr);
  }
}
.event-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.event-row time {
  padding: 8px;
  background: #e7f0ec;
  text-align: center;
}
.event-row time b,
.event-row time span,
.event-row small {
  display: block;
}
.event-row p {
  margin: 6px 0 0;
  color: #53635d;
  font-size: 13px;
}
@media (max-width: 560px) {
  .event-row {
    grid-template-columns: 1fr;
  }
  .event-row time {
    text-align: left;
  }
}
.tennis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.tennis-grid article {
  padding: 12px;
  background: #f2f6f4;
}
.tennis-grid article > b,
.tennis-grid span {
  display: block;
}
.tennis-grid span {
  margin-top: 5px;
  padding: 5px;
  font-size: 12px;
}
.tennis-grid .busy {
  background: #f1dfd5;
  color: #713b22;
}
.tennis-grid .free {
  background: #dfeee6;
  color: #195c48;
}
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.cinema-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 13px;
  background: #f2f6f4;
  color: var(--ink);
  text-decoration: none;
}
.cinema-grid time {
  font-size: 12px;
}
.cinema-grid time b,
.cinema-grid time span,
.cinema-grid small {
  display: block;
}
@media (max-width: 760px) {
  .tennis-grid,
  .cinema-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 440px) {
  .tennis-grid,
  .cinema-grid {
    grid-template-columns: 1fr;
  }
}
.civic-card {
  padding: 4px 0;
}
.civic-card h3 {
  margin: 12px 0 4px;
}
.civic-card p {
  line-height: 1.55;
}
.civic-card details {
  margin: 10px 0;
  padding: 9px;
  background: #f2f6f4;
}
.civic-card summary {
  cursor: pointer;
  font-weight: 700;
}
.civic-card > .open-pill {
  display: inline-block;
}
.civic-card > small {
  display: block;
  margin-top: 12px;
}
.emergency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.emergency-grid article {
  padding: 16px;
  background: #f2f6f4;
  border-top: 4px solid #b83b35;
}
.emergency-title {
  display: flex;
  align-items: start;
  gap: 10px;
}
.emergency-title > span {
  font-size: 28px;
}
.emergency-title h3 {
  margin: 0 0 7px;
}
.emergency-grid p {
  font-weight: 700;
  line-height: 1.45;
}
.emergency-grid small {
  line-height: 1.5;
}
.emergency-note a {
  color: #b3261e;
}
@media (max-width: 760px) {
  .emergency-grid {
    grid-template-columns: 1fr;
  }
}
.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.restaurant-row {
  border: 1px solid #d9e2dd;
  border-left: 4px solid #b46d38;
  background: #f7faf8;
}
.restaurant-row > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.restaurant-row > summary::-webkit-details-marker { display: none; }
.restaurant-row > summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 800; color: var(--green); }
.restaurant-row[open] > summary::after { content: "−"; }
.restaurant-row > summary > span { flex: 1; min-width: 0; }
.restaurant-row > summary small,
.restaurant-row > summary b { display: block; }
.restaurant-row > summary small { color: #8a4b27; font-size: 11px; font-weight: 800; }
.restaurant-detail { padding: 2px 14px 14px; border-top: 1px solid #e1e8e4; }
.restaurant-detail > a { display: inline-block; margin-top: 7px; color: var(--green); font-weight: 800; }
.restaurant-grid > article {
  padding: 16px;
  background: #f2f6f4;
  border-top: 4px solid #b46d38;
}
.restaurant-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
}
.restaurant-heading h3 {
  margin: 3px 0;
}
.restaurant-heading > div > small {
  color: #8a4b27;
  font-weight: 800;
}
.menu-detail {
  margin-top: 12px;
  background: #fff;
}
.menu-detail summary {
  padding: 10px;
  cursor: pointer;
  font-weight: 800;
}
.menu-detail > div {
  padding: 0 10px 8px;
}
.menu-detail p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.menu-detail p span {
  min-width: 0;
}
.menu-detail p b {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .restaurant-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .restaurant-grid {
    grid-template-columns: 1fr;
  }
}
.parcel-row {
  color: var(--ink);
}
.parcel-links {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}
.parcel-links a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.parcel-links a:hover {
  text-decoration: underline;
}
.hostyn {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr !important;
  align-items: stretch !important;
}
.hostyn-camera img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #31534b;
}
.hostyn-camera small {
  display: block;
  margin-top: 7px;
}
.hostyn-content {
  align-self: center;
}
.hostyn-day {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}
.hostyn-day span {
  color: #53635d;
}
.mass-times {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.mass-times strong {
  padding: 9px 13px;
  background: #fff;
  border-left: 3px solid var(--green);
  font-size: 19px;
}
@media (max-width: 760px) {
  .hostyn {
    grid-template-columns: 1fr !important;
  }
  .hostyn-camera img {
    height: 190px;
  }
}
.hostyn-buses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}
.hostyn-buses > div {
  padding: 11px;
  background: #fff;
}
.hostyn-buses > div > b,
.hostyn-buses span,
.hostyn-buses span small {
  display: block;
}
.hostyn-buses span {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.hostyn-buses span > b {
  font-size: 17px;
}
.hostyn-buses span small {
  color: #66746f;
}
@media (max-width: 580px) {
  .hostyn-buses {
    grid-template-columns: 1fr;
  }
}
.hostyn-stalls-title {
  margin: 18px 0 8px;
}
.hostyn-stalls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hostyn-stalls a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-top: 3px solid #b46d38;
}
.hostyn-stalls span,
.hostyn-stalls small {
  font-size: 12px;
}
.hostyn-stalls small {
  color: #66746f;
}
@media (max-width: 760px) {
  .hostyn-stalls {
    grid-template-columns: 1fr;
  }
}
.mushroom-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  margin-top: 14px;
  padding: 16px;
  background: #eef4f0;
  border-left: 6px solid #718074;
}
.mushroom-panel.good {
  border-color: #26834f;
}
.mushroom-panel.fair {
  border-color: #77a340;
}
.mushroom-panel.limited {
  border-color: #d49a2e;
}
.mushroom-panel.poor {
  border-color: #a76748;
}
.mushroom-score {
  display: flex;
  flex-direction: column;
}
.mushroom-score > span {
  font-size: 36px;
}
.mushroom-score > strong {
  font-size: 20px;
}
.mushroom-score small {
  color: #66746f;
}
.mushroom-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.mushroom-values span {
  padding: 8px;
  background: #fff;
}
.mushroom-panel > p {
  grid-column: 1/-1;
  margin: 0;
}
@media (max-width: 650px) {
  .mushroom-panel {
    grid-template-columns: 1fr;
  }
  .mushroom-values {
    grid-template-columns: 1fr 1fr;
  }
  .mushroom-panel > p {
    grid-column: auto;
  }
}
.ski-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.ski-card {
  padding: 16px;
  background: #f2f6f4;
  border-left: 5px solid #7d8984;
  color: var(--ink);
}
.ski-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}
.ski-info > span {
  font-size: 32px;
}
.ski-card h3 {
  margin: 2px 0;
}
.ski-card small {
  font-weight: 800;
  color: #66746f;
}
.ski-card p {
  margin: 6px 0;
}
.ski-card.ski-open {
  border-color: #26834f;
}
.ski-card.ski-open .ski-info strong {
  color: #176b42;
}
.ski-card.ski-closed {
  border-color: #a76748;
}
.ski-card.ski-closed .ski-info strong {
  color: #7a3f2b;
}
.ski-camera {
  position: relative;
  display: block;
  margin-top: 12px;
  overflow: hidden;
  color: #fff;
}
.ski-camera img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #31534b;
}
.ski-camera span {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 10px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-weight: 800;
}
@media (max-width: 650px) {
  .ski-grid {
    grid-template-columns: 1fr;
  }
}
.subheading {
  margin: 20px 0 8px;
}
.pool-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  margin-top: 14px;
}
.pool-layout .leisure-grid {
  grid-template-columns: 1fr;
  margin: 0;
}
.pool-camera {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  background: #31534b;
  color: #fff;
}
.pool-camera img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}
.pool-camera span {
  position: absolute;
  inset: auto 0 0;
  padding: 25px 14px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
.pool-camera b,
.pool-camera small {
  display: block;
}
.camera-grid:empty:before {
  content: "Načítám kamery…";
  padding: 20px;
  color: #66746f;
}
@media (max-width: 760px) {
  .pool-layout {
    grid-template-columns: 1fr;
  }
  .pool-camera,
  .pool-camera img {
    min-height: 190px;
  }
}
.satellite-panel {
  padding: 0;
  overflow: hidden;
}
.satellite-panel .head {
  padding: 16px 20px;
}
.satellite-panel img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.weather-panel {
  padding: 0;
  overflow: hidden;
}
.weather-panel .weather {
  min-height: 0;
}
.weather-panel .forecast-day > .forecast {
  grid-template-columns: repeat(6, minmax(70px, 1fr));
}
@media (max-width: 760px) {
  .weather-panel .forecast-day > .forecast {
    grid-template-columns: repeat(3, 1fr);
  }
}
.satellite-map {
  position: relative;
}
.bph-marker {
  position: absolute;
  left: 60.24%;
  top: 53.06%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translate(-8px, -50%);
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #18302b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 5px #0007;
}
.bph-marker i {
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #d32027;
  box-shadow: 0 0 0 2px #8b1015;
}
.traffic-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.traffic-row > span {
  font-size: 25px;
}
.traffic-row small {
  display: block;
  color: #66746f;
}
.traffic-row time {
  font-size: 12px;
  font-weight: 800;
}
.mpv-panel,
.construction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.mpv-panel > div,
.construction-grid article {
  padding: 15px;
  background: #f2f6f4;
}
.mpv-panel a {
  display: inline-block;
  padding: 8px 10px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.construction-grid {
  grid-template-columns: repeat(3, 1fr);
}
.construction-grid h3 {
  margin: 9px 0 3px;
}
.build-status {
  display: inline-block;
  padding: 5px 7px;
  font-size: 11px;
}
.build-status.active {
  background: #f5dccd;
  color: #79351f;
}
.build-status.planned {
  background: #dfe9ee;
  color: #27566b;
}
.build-status.approved {
  background: #f4e7b9;
  color: #664b00;
}
@media (max-width: 760px) {
  .bph-marker {
    font-size: 10px;
  }
  .traffic-row {
    grid-template-columns: auto 1fr;
  }
  .traffic-row time {
    grid-column: 2;
  }
  .mpv-panel,
  .construction-grid {
    grid-template-columns: 1fr;
  }
}
.mpv-map {
  position: relative;
  margin-top: 10px;
  min-height: 520px;
  background: #e4ebe7;
}
.mpv-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.mpv-map-card {
  min-width: 0;
  border: 1px solid #d9e2dd;
  background: #f7faf8;
}
.mpv-map-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
}
.mpv-map-heading b {
  font-size: 17px;
}
.mpv-map-heading span {
  color: #66746f;
  font-size: 13px;
}
.mpv-map-card .mpv-map {
  margin-top: 0;
}
.mpv-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}
.mpv-fallback {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.mpv-fallback a {
  display: inline-block;
  padding: 9px 11px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 1px 4px #0005;
}
@media (max-width: 760px) {
  .mpv-map-grid {
    grid-template-columns: 1fr;
  }
  .mpv-map,
  .mpv-map iframe {
    height: 430px;
    min-height: 430px;
  }
}
#construction-map {
  height: 390px;
  margin-top: 12px;
  background: #e4ebe7;
  z-index: 0;
}
#nature-trails-map,
#hostyn-paths-map {
  height: 520px;
  margin-top: 12px;
  background: #e4ebe7;
  z-index: 0;
}
#hostyn-paths-map { height: 430px; }
.trail-controls,
.trail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.trail-controls label,
.trail-list a {
  padding: 11px 12px;
  border: 1px solid #d9e2dd;
  background: #f7faf8;
}
.trail-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
}
.trail-controls i { width: 20px; height: 5px; flex: 0 0 20px; }
.trail-list a { color: inherit; text-decoration: none; }
.trail-list b,
.trail-list small { display: block; }
.trail-list small { margin-top: 4px; color: #66746f; }
.rymice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.rymice-grid article { padding: 16px; background: #f2f6f4; }
.rymice-grid h3 { margin: 5px 0 8px; }
.rymice-grid strong { display: block; margin-bottom: 7px; color: var(--green); }
.rymice-grid a { display: inline-block; margin: 5px 10px 0 0; font-weight: 800; color: var(--green); }
.hostyn-food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 12px;
}
.hostyn-food-grid article { padding: 16px; background: #f2f6f4; }
.hostyn-food-grid h3 { margin: 5px 0 8px; }
.hostyn-food-grid strong { display: block; margin-bottom: 7px; color: var(--green); }
.hostyn-food-grid a { color: var(--green); font-weight: 800; }
.dashboard-subsection {
  margin: 28px 0;
  padding: 18px;
  border: 2px solid #d7e1dc;
  background: #edf3ef;
}
.dashboard-subsection > section { margin-left: 0; margin-right: 0; }
.subsection-title { margin-bottom: 14px; padding: 0 4px; }
.subsection-title h2 { margin: 2px 0 0; font-size: 28px; }
.subsection-title small { color: #66746f; font-weight: 800; }
.subsection-icon { display: inline-block; margin-right: 9px; font-size: 22px; vertical-align: 2px; }
@media (max-width: 760px) {
  #nature-trails-map,
  #hostyn-paths-map { height: 430px; }
  .trail-controls,
  .trail-list { grid-template-columns: 1fr 1fr; }
  .rymice-grid { grid-template-columns: 1fr; }
  .hostyn-food-grid { grid-template-columns: 1fr; }
}
.waste-map-controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) 1.4fr;
  gap: 12px;
  margin: 14px 0;
}
.waste-map-controls label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.waste-map-controls select {
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
#waste-street-detail {
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  background: #f2f6f4;
}
#waste-street-detail span,
#waste-street-detail small {
  display: block;
}
#waste-map {
  height: 480px;
  background: #e4ebe7;
  z-index: 0;
}
.waste-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.waste-map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: #f2f6f4;
}
.waste-map-legend i {
  width: 18px;
  height: 7px;
}
.waste-mon {
  background: #4f79b8;
}
.waste-tue {
  background: #c65b46;
}
.waste-wed {
  background: #4f915c;
}
.waste-thu {
  background: #9a63a8;
}
.waste-fri {
  background: #d09332;
}
.waste-mixed {
  background: #343f3c;
}
.separated-waste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.separated-waste > b {
  width: 100%;
}
.separated-waste span {
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border-left: 5px solid;
}
.separated-waste .paper {
  border-color: #315aa8;
  background: #e8eef9;
}
.separated-waste .plastic {
  border-color: #dfca25;
  background: #fffbea;
}
.river-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.river-levels article {
  padding: 16px;
  border-top: 4px solid #477f98;
  background: #eef4f5;
}
.river-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.river-heading h3 {
  margin: 3px 0;
}
.river-heading span {
  color: var(--muted);
}
.river-heading > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  color: #24546a;
  white-space: nowrap;
}
.river-heading > strong small {
  font: 700 14px Arial;
}
.river-levels svg {
  width: 100%;
  height: 82px;
  margin: 9px 0 4px;
}
.river-levels svg path {
  stroke: #c4d6dc;
  stroke-width: 1;
  fill: none;
}
.river-levels svg polyline {
  stroke: #2c718e;
  stroke-width: 3;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.river-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.river-foot > a {
  margin-left: auto;
  color: var(--forest);
  font-weight: 800;
}
.river-trend {
  font-weight: 900;
}
.river-trend.rising {
  color: #a3442d;
}
.river-trend.falling {
  color: #28704a;
}
.river-trend.steady {
  color: #53625e;
}
.sports-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0;
}
.sports-map-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #f2f6f4;
  font-weight: 800;
}
.sports-map-filters input {
  width: 18px;
  height: 18px;
}
#sports-map {
  height: 500px;
  background: #e4ebe7;
  z-index: 0;
}
.sports-place-icon {
  background: transparent;
  border: 0;
}
.sports-place-icon span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px #0007;
  font-size: 17px;
}
.sports-map-summary {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.sports-map-summary span {
  display: grid;
  gap: 2px;
  flex: 1;
  padding: 10px;
  background: #f2f6f4;
}
@media (max-width: 760px) {
  #sports-map {
    height: 410px;
  }
  .sports-map-filters {
    display: grid;
    grid-template-columns: 1fr;
  }
  .sports-map-summary {
    display: grid;
  }
}
@media (max-width: 760px) {
  .river-levels {
    grid-template-columns: 1fr;
  }
  .river-heading > strong {
    font-size: 32px;
  }
  .river-foot {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .waste-map-controls {
    grid-template-columns: 1fr;
  }
  #waste-map {
    height: 390px;
  }
}
.leaflet-popup-content {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.4;
}
@media (max-width: 760px) {
  #construction-map {
    height: 330px;
  }
}
