.ban-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 8, 22, 0.72);
  backdrop-filter: blur(6px);
}

.ban-notice {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 24px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, #191a33 0%, #12132a 100%);
  color: #eef0ff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.ban-notice h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.ban-notice p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(238, 240, 255, 0.75);
}

.ban-notice .ban-notice-reason {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #eef0ff;
  overflow-wrap: anywhere;
}

.ban-notice-reason span {
  color: #fca5a5;
  font-weight: 700;
}

.ban-notice-contacts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ban-notice-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.14);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ban-notice-contact:hover,
.ban-notice-contact:focus-visible {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(99, 102, 241, 0.8);
}

.ban-notice-contact span {
  font-size: 0.8rem;
  color: rgba(238, 240, 255, 0.6);
}

.ban-notice-contact strong {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.ban-notice .ban-notice-note {
  font-size: 0.8rem;
  color: rgba(238, 240, 255, 0.5);
}

.ban-notice-close {
  display: block;
  margin: 4px 0 0 auto;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(238, 240, 255, 0.8);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.ban-notice-close:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
