.archive-notice {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 48px;
  padding: 0.6rem 1rem;
  color: #17130a;
  background: #e6c976;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  font-size: 0.9rem;
}

.archive-notice p {
  display: flex;
  gap: 0.8rem;
  margin: 0;
}

.archive-notice a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.archive-notice + #splash,
.archive-notice ~ #container .navbar {
  margin-top: 48px;
}

@media (max-width: 767px) {
  .archive-notice {
    align-items: flex-start;
    justify-content: space-between;
    min-height: 72px;
    font-size: 0.76rem;
  }

  .archive-notice p {
    flex-direction: column;
    gap: 0.1rem;
  }

  .archive-notice + #splash,
  .archive-notice ~ #container .navbar {
    margin-top: 72px;
  }
}
