.weather-channel {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: linear-gradient(135deg, #082447, #0a3e70 65%, #0d5084);
  color: #fff6d8;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 1px #00152a;
  padding: clamp(12px, 2.4vw, 32px);
  box-sizing: border-box;
  gap: 12px;
}
.weather-channel [hidden] {
  display: none !important;
}
.weather-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 4px solid #eed995;
  padding-bottom: 14px;
}
.weather-brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.weather-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #eed995;
}
.weather-brand strong {
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 32px);
  letter-spacing: 1px;
}
.weather-location {
  font-weight: 800;
  font-size: clamp(20px, 3vw, 38px);
  flex: 1;
}
.weather-clock {
  font-size: clamp(12px, 1.5vw, 18px);
  text-align: right;
  max-width: 170px;
}
.weather-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.weather-channel button,
.weather-channel input {
  font: inherit;
}
.weather-channel button {
  cursor: pointer;
  border: 1px solid #85b6d8;
  border-radius: 3px;
  background: #11365a;
  color: #fff6d8;
  padding: 7px 11px;
  text-shadow: inherit;
}
.weather-channel button:hover,
.weather-channel button[aria-current="true"],
.weather-channel button[aria-pressed="true"] {
  background: #eed995;
  color: #082447;
  text-shadow: none;
  border-color: #eed995;
}
.weather-channel :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.weather-location-form {
  padding: 14px;
  background: #09203b;
  border: 1px solid #85b6d8;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-height: 45%;
  overflow: auto;
}
.weather-location-form input {
  background: #fff6d8;
  color: #082447;
  border: 2px solid #85b6d8;
  padding: 8px;
  min-width: 180px;
}
.weather-location-results {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.weather-message {
  padding: 12px;
  background: #09203b;
  margin: 0;
}
.weather-alert-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #853129;
  border-left: 5px solid #ffdb80;
}
.weather-alert-summary strong {
  font-size: clamp(16px, 2vw, 24px);
}
.weather-content {
  flex: 1;
  min-height: 100px;
  overflow: auto;
  scrollbar-color: #eed995 #082447;
}
.weather-panel h2 {
  font-size: clamp(24px, 3.2vw, 42px);
  margin: 3px 0 6px;
  font-style: italic;
}
.weather-freshness {
  font-size: 12px;
  color: #c5dbee;
  margin: 7px 0;
}
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.weather-observation,
.weather-period {
  padding: 15px;
  background: #092a4e;
  border-top: 3px solid #76b6d9;
  border-radius: 2px;
}
.weather-observation h3,
.weather-period h3 {
  margin: 0 0 7px;
  font-size: 20px;
  color: #eed995;
}
.weather-observation p,
.weather-period p {
  margin: 7px 0;
  line-height: 1.4;
}
.weather-temperature {
  font-size: 36px;
  font-weight: 800;
}
.weather-current {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 850px;
  margin: 15px auto;
}
.weather-current .weather-temperature {
  font-size: clamp(64px, 10vw, 124px);
  grid-row: 1/5;
  grid-column: 2;
  text-align: center;
}
.weather-hourly {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.weather-alert {
  padding: 16px;
  border-top: 3px solid #eed995;
  background: #092a4e;
  margin: 12px 0;
}
.weather-alert h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #ffdc85;
}
.weather-alert p {
  line-height: 1.5;
  white-space: pre-wrap;
}
.weather-panel-nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.weather-panel-nav button {
  font-size: 11px;
  padding: 6px 8px;
  flex: 1;
}
.weather-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  border-top: 1px solid #5a88aa;
  padding-top: 8px;
  color: #c5dbee;
  font-size: 11px;
}
.weather-footer span:first-child {
  flex: 1;
}
.weather-footer a {
  color: #eed995;
}
@media (max-width: 600px) {
  .weather-channel {
    gap: 8px;
    padding: 12px;
  }
  .weather-header {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 8px;
  }
  .weather-brand {
    flex-basis: 100%;
  }
  .weather-brand strong {
    font-size: 20px;
  }
  .weather-clock {
    font-size: 11px;
    max-width: 130px;
  }
  .weather-location {
    font-size: 24px;
  }
  .weather-controls button {
    font-size: 11px;
    padding: 6px 8px;
  }
  .weather-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .weather-hourly {
    grid-template-columns: repeat(2, 1fr);
  }
  .weather-current {
    display: block;
    margin: 0;
  }
  .weather-current .weather-temperature {
    text-align: left;
    font-size: 64px;
  }
  .weather-observation,
  .weather-period {
    padding: 12px;
  }
  .weather-panel-nav button {
    flex: 1 1 28%;
  }
  .weather-location-form {
    max-height: 55%;
    padding: 10px;
  }
  .weather-location-form label {
    width: 100%;
  }
  .weather-alert-summary {
    font-size: 12px;
    padding: 8px;
  }
  .weather-alert-summary button {
    font-size: 11px;
  }
  .weather-footer span:first-child {
    flex-basis: 100%;
  }
}

.weather-day {
  padding: 14px;
  background: #092a4e;
  border-top: 3px solid #76b6d9;
  min-width: 0;
}
.weather-day h3 {
  margin: 0 0 12px;
  color: #eed995;
  font-size: 18px;
}
.weather-day p {
  margin: 8px 0;
  line-height: 1.4;
}
.weather-high {
  font-size: 25px;
  font-weight: 800;
}
.weather-low {
  font-size: 20px;
  color: #c5dbee;
}
.weather-week {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 1000px) {
  .weather-week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .weather-week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .weather-day {
    padding: 12px;
  }
  .weather-day h3 {
    font-size: 16px;
  }
  .weather-high {
    font-size: 22px;
  }
}
@media (max-height: 500px) and (min-width: 601px) {
  .weather-channel { padding: 8px 12px; gap: 6px; }
  .weather-header { gap: 12px; padding-bottom: 6px; border-bottom-width: 2px; }
  .weather-kicker { display: none; }
  .weather-brand strong, .weather-location { font-size: 18px; }
  .weather-clock { font-size: 10px; }
  .weather-controls button { font-size: 10px; padding: 4px 8px; }
  .weather-panel h2 { font-size: 22px; }
  .weather-freshness { margin: 4px 0; font-size: 10px; }
  .weather-content { min-height: 65px; }
  .weather-panel-nav button { font-size: 9px; padding: 4px; }
  .weather-footer { padding-top: 4px; font-size: 9px; gap: 5px; }
}
