.rokeby-tempest-weather {
  --tempest-blue: var(--fl-global-color-1, #2b7cff);
  --tempest-blue-deep: var(--fl-global-color-2, #1f3d7a);
  --tempest-blue-brand: #1d4ed8;
  --tempest-blue-brand-deep: #0c39b6;
  --tempest-panel: #eef5ff;
  --tempest-purple: #1d4ed8;
  --tempest-purple-deep: #0c39b6;
  --tempest-text: #153160;
  --tempest-muted: rgba(255, 255, 255, 0.78);
  color: var(--tempest-text);
}

.rokeby-tempest-weather *,
.rokeby-tempest-weather *::before,
.rokeby-tempest-weather *::after {
  box-sizing: border-box;
}

.rokeby-tempest-weather__card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(12, 57, 182, 0.98), rgba(29, 78, 216, 0.98));
  color: #fff;
  box-shadow: 0 20px 44px rgba(34, 18, 41, 0.18);
}

.rokeby-tempest-weather__primary {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px;
  align-items: start;
  padding: 16px 24px 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.rokeby-tempest-weather__temperature,
.rokeby-tempest-weather__feels-like,
.rokeby-tempest-weather__title,
.rokeby-tempest-weather__updated,
.rokeby-tempest-weather__condition-text,
.rokeby-tempest-weather__stat-label,
.rokeby-tempest-weather__stat-value,
.rokeby-tempest-weather__toggle-label,
.rokeby-tempest-weather__section-label,
.rokeby-tempest-weather__today-condition,
.rokeby-tempest-weather__hour-time,
.rokeby-tempest-weather__hour-temp,
.rokeby-tempest-weather__hour-meta,
.rokeby-tempest-weather__day-label,
.rokeby-tempest-weather__day-condition,
.rokeby-tempest-weather__day-precip,
.rokeby-tempest-weather__day-temps {
  margin: 0;
}

.rokeby-tempest-weather__main {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.rokeby-tempest-weather__temperature {
  font-size: clamp(3.6rem, 6vw, 5.8rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: 0em;
}

.rokeby-tempest-weather__feels-like {
  margin-top: 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.1;
}

.rokeby-tempest-weather__summary {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  min-width: 160px;
}

.rokeby-tempest-weather__condition {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.rokeby-tempest-weather__condition-icon {
  display: inline-grid;
  place-items: center;
  width: 86px;
  height: 86px;
  font-size: 6.8rem;
  color: #ffc321;
}

.rokeby-tempest-weather__condition-icon i {
  --fa-primary-color: #ffc321;
  --fa-secondary-color: rgba(255, 255, 255, 0.42);
  --fa-secondary-opacity: 1;
}

.rokeby-tempest-weather__hour-icon i,
.rokeby-tempest-weather__day-icon i {
  --fa-primary-color: #2b7cff !important;
  --fa-secondary-color: #2b7cff !important;
}

.rokeby-tempest-weather__condition-text {
  font-size: 1.2rem;
}

.rokeby-tempest-weather__station-meta {
  display: grid;
  gap: 6px;
}

.rokeby-tempest-weather__title {
  font-size: 1.18rem;
  font-weight: 700;
}

.rokeby-tempest-weather__updated {
  color: var(--tempest-muted);
  font-size: 0.88rem;
}

.rokeby-tempest-weather__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 0 24px 14px;
}

.rokeby-tempest-weather__stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rokeby-tempest-weather__stat-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 2.25rem;
  color: #fff;
}

.rokeby-tempest-weather__stat-content {
  display: grid;
  gap: 1px;
}

.rokeby-tempest-weather__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.rokeby-tempest-weather__stat-label {
  color: var(--tempest-muted);
  font-size: 1.2rem;
}

.rokeby-tempest-weather__toggle {
  display: grid;
  justify-items: center;
  width: 100%;
  gap: 0px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 5px 0px;
}

.rokeby-tempest-weather__toggle:hover {
  border: none;
}

.rokeby-tempest-weather__toggle-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
}

.rokeby-tempest-weather__toggle-icon {
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.rokeby-tempest-weather.is-expanded .rokeby-tempest-weather__toggle-icon {
  transform: rotate(180deg);
}

.rokeby-tempest-weather__details {
  margin-top: -20px;
  padding: 38px 16px 16px;
  border-radius: 0px 0px 28px 28px;
  background:
    linear-gradient(180deg, rgba(234, 243, 255, 0.98), rgba(245, 249, 255, 0.98));
}

.rokeby-tempest-weather__today {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.rokeby-tempest-weather__section-label,
.rokeby-tempest-weather__day-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tempest-purple);
}

.rokeby-tempest-weather__today-condition,
.rokeby-tempest-weather__day-condition {
  margin-top: 4px;
  color: rgba(21, 49, 96, 0.82);
  font-size: 1.2rem;
}

.rokeby-tempest-weather__today-meta,
.rokeby-tempest-weather__day-temps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.rokeby-tempest-weather__today-meta span,
.rokeby-tempest-weather__day-precip,
.rokeby-tempest-weather__day-temps span,
.rokeby-tempest-weather__hour-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tempest-purple);
  font-weight: 600;
}

.rokeby-tempest-weather__hourly {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.rokeby-tempest-weather__hour {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 102px;
  flex: 0 0 102px;
  padding: 12px 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 240, 255, 0.94));
  border: 1px solid rgba(29, 78, 216, 0.1);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.08);
  text-align: center;
  scroll-snap-align: start;
}

.rokeby-tempest-weather__hour-time {
  color: var(--tempest-purple);
  font-size: 0.96rem;
  font-weight: 700;
}

.rokeby-tempest-weather__hour-icon {
  font-size: 2.2rem;
  color: #ffbe1a;
}

.rokeby-tempest-weather__hour-temp {
  color: var(--tempest-purple);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
}

.rokeby-tempest-weather__hour-meta {
  font-size: 0.9rem;
}

.rokeby-tempest-weather__daily {
  display: grid;
  gap: 10px;
}

.rokeby-tempest-weather__day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 243, 255, 0.96));
  border: 1px solid rgba(29, 78, 216, 0.1);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.06);
}

.rokeby-tempest-weather__day-icon {
  font-size: 2.2rem;
  color: #ffbe1a;
}

.rokeby-tempest-weather__hourly::-webkit-scrollbar {
  height: 8px;
}

.rokeby-tempest-weather__hourly::-webkit-scrollbar-thumb {
  background: rgba(29, 78, 216, 0.22);
  border-radius: 999px;
}

.rokeby-tempest-weather__day-precip,
.rokeby-tempest-weather__day-temps {
  justify-content: flex-start;
}

.rokeby-tempest-weather__toggle:focus,
.rokeby-tempest-weather__toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: -3px;
}

@media (max-width: 860px) {
  .rokeby-tempest-weather__primary {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .rokeby-tempest-weather__summary {
    justify-items: start;
    text-align: left;
  }

  .rokeby-tempest-weather__condition {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
  }

  .rokeby-tempest-weather__condition-icon {
    width: 84px;
    height: 84px;
    font-size: 3.4rem;
  }
}

@media (max-width: 700px) {
  .rokeby-tempest-weather__card {
    border-radius: 26px;
  }

  .rokeby-tempest-weather__primary,
  .rokeby-tempest-weather__stats {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rokeby-tempest-weather__stats {
    grid-template-columns: 1fr;
  }

  .rokeby-tempest-weather__temperature {
    font-size: 4.5rem;
  }

  .rokeby-tempest-weather__details {
    padding: 22px 16px 16px;
  }

  .rokeby-tempest-weather__today,
  .rokeby-tempest-weather__day {
    grid-template-columns: 1fr;
  }

  .rokeby-tempest-weather__today-meta,
  .rokeby-tempest-weather__day-temps {
    justify-content: flex-start;
  }

  .rokeby-tempest-weather__hour {
    min-width: 96px;
    flex-basis: 96px;
  }
}
