.report-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(8px);
}

.report-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 4px 16px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(204, 28, 57, 0.12) 0%, transparent 42%),
    #161618;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 1.1rem;
  overflow: hidden;
}

.report-modal__mark {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #cc1c39, #7f1024);
}

.report-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-eyebrow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-strong);
}

.report-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.report-modal__lead {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 36ch;
}

.report-modal__field {
  display: grid;
  gap: 0.45rem;
}

.report-modal__label {
  font-family: var(--font-eyebrow);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-modal__label em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.75;
}

.report-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.report-chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.report-chip:hover {
  border-color: rgba(204, 28, 57, 0.5);
  color: #fecdd3;
}

.report-chip.is-on {
  border-color: transparent;
  background: #cc1c39;
  color: #fff;
}

.report-modal__field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #101012;
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.85rem;
  resize: vertical;
  min-height: 5.5rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.report-modal__field textarea:focus {
  border-color: rgba(204, 28, 57, 0.55);
}

.report-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
}

.report-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  margin-right: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.report-btn:hover {
  color: #fca5a5;
}

.report-btn__icon {
  display: inline-grid;
  place-items: center;
}

.role-badge--admin {
  color: #fecdd3 !important;
  border-color: rgba(251, 113, 133, 0.45) !important;
  background: rgba(204, 28, 57, 0.22) !important;
}

.role-badge--mod {
  color: #bae6fd !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(14, 165, 233, 0.18) !important;
}

.role-badge--banned {
  color: #fecaca !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  background: rgba(127, 29, 29, 0.55) !important;
}
