.weather-wheel-storybook {
  overflow: hidden;
  padding: 82px clamp(18px, 6vw, 90px);
  background: linear-gradient(145deg, #ccefff, #eee0ff 48%, #fff0a8);
  color: #173b72;
}

.weather-wheel-storybook .moonlight-heading h2 {
  color: #173b72;
}

.weather-wheel-storybook .moonlight-heading p:not(.eyebrow) {
  color: #244d72;
}

.weather-wheel-storybook .moonlight-heading a {
  background: #ffdf4f;
  color: #173b72;
  box-shadow: 0 6px 0 #d39512;
}

.weather-wheel-shell {
  max-width: 780px;
  padding: 26px;
  border: 4px solid #173b72;
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 0 #173b72;
}

.weather-wheel-sparkles {
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.8rem;
}

.weather-wheel-flipbook {
  min-height: 820px;
}

.weather-book-page {
  width: min(100%, 620px);
  aspect-ratio: 612 / 792;
  background: #fff;
  box-shadow: 15px 16px 0 #173b72, 0 24px 48px rgba(23, 59, 114, .28);
}

.weather-page-art,
.weather-page-art img {
  width: 100%;
  height: 100%;
}

.weather-page-art img {
  object-fit: contain;
  background: #fff;
}

.weather-book-page.reading-page {
  display: flex;
  aspect-ratio: auto;
  flex-direction: column;
}

.weather-book-page.reading-page .weather-page-art {
  height: auto;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
}

.weather-book-page.reading-page .weather-page-art img {
  object-fit: cover;
  object-position: top center;
}

.weather-page-copy,
.weather-dialog-copy {
  box-sizing: border-box;
  width: 100%;
  padding: 22px 24px 24px;
  border-top: 3px solid #d7ad45;
  background: #fffaf0;
  color: #263343;
  text-align: left;
}

.weather-page-copy h3,
.weather-dialog-copy h3 {
  margin: 0 0 10px;
  color: #57316f;
  font: 800 1.55rem/1.15 'Baloo 2', sans-serif;
  letter-spacing: normal;
  word-spacing: normal;
}

.weather-page-copy p,
.weather-dialog-copy p {
  margin: 0;
  font: 700 1rem/1.55 Nunito, sans-serif;
  letter-spacing: normal;
  overflow-wrap: break-word;
  word-spacing: normal;
}

.weather-book-page.promise-page .weather-page-art,
.weather-page-dialog.promise-page .weather-dialog-art {
  display: none;
}

.weather-book-page.promise-page .weather-page-copy {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
}

.weather-season-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.weather-season-list div {
  padding: 12px;
  border-radius: 12px;
  background: #edf8ff;
  font: 700 .95rem/1.45 Nunito, sans-serif;
}

.weather-enlarge {
  display: block;
  margin: 20px auto 4px;
  padding: 11px 17px;
  border: 2px solid #173b72;
  border-radius: 14px;
  background: #fff;
  color: #173b72;
  font-weight: 900;
}

.weather-wheel-storybook .storybook-controls > button {
  border-color: #173b72;
}

.weather-wheel-progress {
  background: #c7daf0;
}

.weather-wheel-progress span {
  background: linear-gradient(90deg, #159ed1, #8a48c5, #f5b91a);
}

.weather-wheel-dots button {
  border-color: #173b72;
}

.weather-wheel-dots button.active {
  border-color: #e83f7c;
  background: #e83f7c;
}

.weather-wheel-storybook .swipe-note {
  color: #244d72;
}

.weather-page-dialog {
  width: min(94vw, 850px);
  max-height: 94vh;
  padding: 48px 12px 12px;
  overflow: auto;
  border: 4px solid #173b72;
  border-radius: 22px;
  background: #fff;
}

.weather-page-dialog::backdrop {
  background: rgba(10, 24, 52, .82);
}

.weather-dialog-art {
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
}

.weather-dialog-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.weather-page-dialog.cover-page .weather-dialog-art {
  aspect-ratio: auto;
}

.weather-page-dialog.cover-page .weather-dialog-art img {
  height: auto;
  object-fit: contain;
}

.weather-dialog-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #173b72;
  color: #fff;
  font: 900 1.7rem/1 sans-serif;
}

@media (max-width: 760px) {
  .weather-wheel-storybook {
    padding: 58px 14px;
  }

  .weather-wheel-shell {
    padding: 16px 10px;
  }

  .weather-wheel-flipbook {
    min-height: auto;
  }

  .weather-wheel-sparkles {
    font-size: 1.2rem;
  }

  .weather-page-copy {
    padding: 16px;
  }

  .weather-page-copy h3 {
    font-size: 1.25rem;
  }

  .weather-page-copy p {
    font-size: .94rem;
    line-height: 1.5;
  }

  .weather-book-page.promise-page .weather-page-copy {
    min-height: 500px;
  }

  .weather-season-list {
    grid-template-columns: 1fr;
  }
}
