.wrapper[data-archive-season="2026-spring"] {
  --archive-notice-height: 96px;
  --header-sp-height: calc(
    var(--navbar-sp-height) + var(--alert-height) + var(--archive-notice-height)
  );
  --header-pc-height: calc(
    var(--navbar-pc-height) + var(--alert-height) + var(--archive-notice-height)
  );
}

.archive-notice {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--archive-notice-height);
  padding: 16px;
  color: #fff;
  font-family: "Murecho Variable", "Murecho", sans-serif;
  font-weight: 700;
  background: #f0206e;
}

.archive-notice__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.64px;
  white-space: nowrap;
}

.archive-notice__link {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px 4px 12px;
  color: #f0206e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  letter-spacing: 0.8px;
  background: #fff;
  border-radius: 8px;
}

.archive-notice__link:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.archive-notice__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

@media (width < 320px) {
  .wrapper[data-archive-season="2026-spring"] {
    --archive-notice-height: 160px;
  }

  .archive-notice__text {
    white-space: normal;
  }

  .archive-notice__link {
    max-width: 100%;
    text-align: center;
  }
}

@media (width >= 1024px) {
  .wrapper[data-archive-season="2026-spring"] {
    --archive-notice-height: 90px;
  }

  .archive-notice {
    flex-direction: row;
    gap: 8px;
    padding: 24px 40px;
  }

  .archive-notice__text,
  .archive-notice__link {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: 0.96px;
  }
}

@media (forced-colors: active) {
  .archive-notice {
    border-block: 1px solid CanvasText;
  }

  .archive-notice__link {
    border: 1px solid LinkText;
  }
}
