/* The mobile season banner keeps its wide ratio. On desktop, a compact card
   sits beside the activity heading and its total. */
.top-season {
  margin-top: 16px;
}

.top-season-now {
  width: calc(100% + 8px);
  max-width: none;
  height: auto;
  aspect-ratio: 4.9 / 1;
  margin-inline: -4px;
}

.top-season-now[hidden] {
  display: none;
}

.top-season-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 9px 16px;
  border-radius: 8px;
  background: #ece1d6;
  color: #2f2f2f;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.top-season-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.top-season-badge {
  color: #2f2f2f;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}

.top-season-name {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.top-season-period {
  color: rgb(47 47 47 / 85%);
  font: 400 11px/16px var(--font-num, inherit), var(--font-ja, sans-serif);
  font-variant-numeric: tabular-nums;
}

.top-season-period.is-countdown {
  font-family: var(--font-ja, sans-serif);
}

.top-season-period.is-countdown b {
  margin: 0 1px;
  color: #2f2f2f;
  font-size: 13px;
}

.top-season-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(86px, 24%);
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.top-season-now:has(.top-season-art) .top-season-copy {
  max-width: calc(76% - 20px);
}

.top-season-link:focus-visible {
  outline: 3px solid #2f2f2f;
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .top-season-link {
    padding: 4px 12px;
  }

  .top-season-badge {
    font-size: 10px;
    line-height: 12px;
  }

  .top-season-name {
    font-size: 16px;
    line-height: 20px;
  }

  .top-season-period {
    font-size: 10px;
    line-height: 14px;
  }
}

.ref-hero-copy > .ref-hero-lead {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  opacity: .95;
}

.ref-hero-copy > .ref-hero-lead span {
  display: block;
}

@media (min-width: 768px) {
  .top-season-now {
    width: 100%;
    max-width: 1200px;
    height: 80px;
    aspect-ratio: auto;
    margin-inline: 0;
  }

  .ref-hero-copy > .ref-hero-lead {
    font-size: 16px;
    line-height: 27px;
  }
}

@media (min-width: 1024px) {
  .ref-section-head.ref-experience-heading {
    position: relative;
    min-height: 120px;
    padding: 16px 460px 0 0;
    margin-bottom: 32px;
  }

  .ref-experience-feed > .ref-activity-overview {
    top: calc(var(--section-space) + 16px + var(--top-feature-line) + 8px);
    right: auto;
    left: 0;
  }

  .top-season {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    margin-top: 0;
  }

  .top-season-now {
    height: 120px;
  }

  .top-season-link {
    padding: 20px 24px;
    border-radius: 12px;
  }

  .top-season-badge {
    font-size: 12px;
    line-height: 18px;
  }

  .top-season-name {
    margin-top: 2px;
    font-size: 24px;
    line-height: 30px;
  }

  .top-season-period {
    margin-top: 3px;
    font-size: 13px;
    line-height: 20px;
  }

  .top-season-art {
    right: 8px;
    width: 132px;
    height: 120px;
  }

  .top-season-now:has(.top-season-art) .top-season-copy {
    max-width: calc(100% - 132px);
  }
}

@media (hover: hover) {
  .top-season-link:hover .top-season-name {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}
