.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-modal.hidden {
  display: none;
}

.notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.notice-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  color: #f5f5f5;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.notice-title {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.notice-body {
  margin: 0 0 20px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.notice-list {
  margin: 0 0 14px 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.notice-list li {
  margin: 0;
}

.notice-footnote {
  margin: 0 0 18px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.notice-primary {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notice-primary:hover {
  background: #f40612;
}

.notice-secondary {
  background: #5865f2;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notice-secondary:hover {
  background: #4f5bd5;
}

.notice-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.notice-tertiary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.notice-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
}

.notice-close:hover {
  color: #fff;
}
