/* Bottom-of-screen pop-up notices (partials/notices). */
.site-notices {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}
.site-notices:empty { display: none; }

.site-notice {
  pointer-events: auto;
  background: var(--ink, #16181B);
  color: #fff;
  border-top: 4px solid var(--yellow, #F6BE00);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  animation: site-notice-in .25s ease-out;
}
.site-notice + .site-notice { border-top-width: 2px; box-shadow: none; }

.site-notice__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.site-notice__body {
  flex: 1;
  max-height: 40vh;
  overflow-y: auto;
  font-size: .9375rem;
  line-height: 1.5;
}
.site-notice__title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow, #F6BE00);
}
.site-notice__text p { margin: 0 0 .5rem; }
.site-notice__text p:last-child { margin-bottom: 0; }
.site-notice__text a,
.site-notice__link a { color: var(--yellow, #F6BE00); text-decoration: underline; }
.site-notice__link { margin: .5rem 0 0; }

.site-notice__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.site-notice__close:hover { background: #fff; color: var(--ink, #16181B); }
.site-notice__close:focus-visible { outline: 3px solid var(--yellow, #F6BE00); outline-offset: 2px; }
.site-notice__x { font-size: 1.25rem; line-height: 1; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 40rem) {
  .site-notice__inner { flex-direction: column; gap: .75rem; padding: .9rem 1rem; }
  .site-notice__body { max-height: 45vh; font-size: .875rem; }
  .site-notice__close { align-self: stretch; justify-content: center; }
}

@keyframes site-notice-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-notice { animation: none; } }
