.hf-site-maintenance-notice {
  position: fixed;
  inset: 0;
  z-index: 22000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hf-site-maintenance-notice.is-open {
  display: flex;
}

.hf-site-maintenance-notice__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 18, 24, 0.55);
  backdrop-filter: blur(3px);
}

.hf-site-maintenance-notice__card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 27px;
  border: 1px solid var(--hf-color-line, #dce5ea);
  border-radius: 18px;
  background: var(--hf-color-surface, #fff);
  color: var(--hf-color-text, #17232b);
  box-shadow: 0 24px 70px rgba(9, 35, 49, 0.2);
}

.hf-site-maintenance-notice__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hf-site-maintenance-notice__close span::before,
.hf-site-maintenance-notice__close span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--hf-color-muted, #81909a);
}

.hf-site-maintenance-notice__close span::before { transform: rotate(45deg); }
.hf-site-maintenance-notice__close span::after { transform: rotate(-45deg); }

.hf-site-maintenance-notice__label {
  display: block;
  margin-bottom: 8px;
  color: var(--hf-color-primary, #08a8e4);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.hf-site-maintenance-notice h2 {
  margin: 0;
  padding-right: 28px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.hf-site-maintenance-notice__card > p {
  margin: 11px 0 0;
  color: var(--hf-color-muted, #6f808b);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

.hf-site-maintenance-notice__time {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 11px;
  background: var(--hf-color-surface-soft, #f4f8fa);
}

.hf-site-maintenance-notice__time span {
  display: block;
  margin-bottom: 4px;
  color: var(--hf-color-muted, #81909a);
  font-size: 10px;
  font-weight: 650;
}

.hf-site-maintenance-notice__time strong {
  font-size: 13px;
  line-height: 1.5;
}

.hf-site-maintenance-notice__confirm {
  width: 100%;
  min-height: 44px;
  margin-top: 17px;
  border: 0;
  border-radius: 10px;
  background: var(--hf-color-primary, #08a8e4);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 560px) {
  .hf-site-maintenance-notice {
    align-items: flex-end;
    padding: 12px;
  }
  .hf-site-maintenance-notice__card {
    padding: 24px 21px 20px;
    border-radius: 18px;
  }
}
