/* ========================================
  one-time announcement
   ======================================== */
.nv-notice-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 2300;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 12, 15, .55);
}


.nv-notice-dismissed .nv-notice-overlay {
  display: none;
}

.nv-notice-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--cf-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.nv-notice-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--cf-text-muted);
  cursor: pointer;
}

.nv-notice-close:hover {
  color: var(--cf-text-dark);
}

.nv-notice-modal h2 {
  margin: 0 0 12px;
  padding-right: 28px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.nv-notice-modal p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cf-text-secondary);
}

.nv-notice-modal p:last-of-type {
  margin-bottom: 0;
}

.nv-notice-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.nv-notice-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid var(--cf-primary-main);
  background: var(--cf-primary-main);
  color: var(--cf-white);
  transition: background .15s ease, border-color .15s ease;
}

.nv-notice-btn:hover {
  background: var(--cf-primary-dark);
  border-color: var(--cf-primary-dark);
}

@media (max-width: 480px) {
  .nv-notice-modal {
    padding: 24px;
  }

  .nv-notice-footer {
    justify-content: stretch;
  }

  .nv-notice-btn {
    width: 100%;
    text-align: center;
  }
}
