  @import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Space+Grotesk:wght@400;500;600&display=swap');

  .weather-widget,
  .weather-widget * {
    box-sizing: border-box;
  }

  .weather-widget {
    width: 300px;
    padding: 20px;
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 9999;
    overflow: hidden;
    color: #f7f5f0;
    border-radius: 18px;
    background: linear-gradient(160deg, #1b3a5c, #3d6e9e);
    box-shadow: 0 20px 40px -18px rgba(27, 58, 92, .65);
    font-family: 'Space Grotesk', sans-serif;
    transition: background .6s ease, transform .2s ease;
  }

  .weather-widget:hover {
    transform: translateY(-2px);
  }

  .weather-widget.is-night {
    background: linear-gradient(160deg, #0c1a2b, #1e3350);
  }

  .weather-widget::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
      circle,
      rgba(244, 184, 96, .35),
      transparent 70%
    );
  }

  .weather-widget__place,
  .weather-widget__date,
  .weather-widget__headline,
  .weather-widget__details,
  .weather-widget__forecast,
  .weather-widget__status {
    position: relative;
    z-index: 1;
  }

  .weather-widget__place {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 600;
  }

  .weather-widget__date {
    margin-bottom: 18px;
    color: rgba(247, 245, 240, .65);
    font-size: 12px;
  }

  .weather-widget__headline {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 6px;
  }

  .weather-widget__temp {
    font-family: 'Newsreader', serif;
    font-size: 54px;
    line-height: 1;
    font-weight: 500;
  }

  .weather-widget__condition {
    padding-bottom: 8px;
  }

  .weather-widget__icon {
    margin-bottom: 4px;
    font-size: 26px;
    line-height: 1;
  }

  .weather-widget__text {
    color: rgba(247, 245, 240, .85);
    font-size: 13.5px;
  }

  .weather-widget__details {
    display: flex;
    gap: 14px;
    margin: 14px 0 16px;
    color: rgba(247, 245, 240, .75);
    font-size: 12px;
  }

  .weather-widget__details span {
    white-space: nowrap;
  }

  .weather-widget__details b {
    display: block;
    margin-top: 2px;
    color: #f7f5f0;
    font-size: 14px;
    font-weight: 600;
  }

  .weather-widget__forecast {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .weather-widget__day {
    color: rgba(247, 245, 240, .7);
    font-size: 11.5px;
    text-align: center;
  }

  .weather-widget__day-icon {
    margin: 5px 0;
    font-size: 17px;
  }

  .weather-widget__day-temp {
    color: #f7f5f0;
    font-size: 12.5px;
    font-weight: 600;
  }

  .weather-widget__status {
    padding: 30px 0;
    color: rgba(247, 245, 240, .75);
    font-size: 12.5px;
    text-align: center;
  }

  .weather-widget .hidden {
    display: none;
  }

  @media (max-width: 360px) {
    .weather-widget {
      right: 10px;
      bottom: 10px;
      left: 10px;
      width: auto;
    }
  }