body[data-report-page] {
  margin: 0;
  background: #000000;
  color: #F6F6F6;
  font: 1rem/1.5 system-ui, sans-serif;
}

[data-report-page] main {
  max-width: 46rem;
  margin: auto;
  padding: clamp(2rem, 8vh, 6rem) 1rem 2rem;
}

[data-report-page] img {
  display: block;
  width: min(15rem, 100%);
  height: auto;
  margin-bottom: 2rem;
}

.bs-bug-report {
  box-sizing: border-box;
  width: min(32rem, calc(100% - 2rem));
  border: 1px solid #6C6D6E;
  border-radius: 12px;
  background: #101010;
  color: #F6F6F6;
  padding: 1.5rem;
}

.bs-bug-report::backdrop { background: rgb(0 0 0 / 0.75); }

.bs-bug-report h2 { margin-top: 0; }

.bs-report-form p { color: #C6C6C6; }

.bs-report-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.5rem;
  background: #000000;
  color: #F6F6F6;
  border: 1px solid #6C6D6E;
  border-radius: 6px;
  padding: 0.5rem;
  resize: vertical;
  font: inherit;
}

.bs-bug-report-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

[data-report-page] a { color: #73ED00; }

:is([data-report-page], .bs-bug-report) button {
  background: #73ED00;
  color: #000000;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bs-bug-report button[type="button"] {
  background: #101010;
  border-color: #6C6D6E;
  color: #F6F6F6;
}

:is([data-report-page], .bs-bug-report) button:disabled { opacity: 0.55; }

:is([data-report-page], .bs-bug-report) :focus-visible {
  outline: 3px solid #D400ED;
  outline-offset: 3px;
}

.bs-error-panel {
  padding: clamp(1rem, 4vw, 2rem);
  background: #101010;
  border: 1px solid #6C6D6E;
  border-radius: 12px;
}

.bs-error-panel h1 { margin: 0; line-height: 1.15; }

.bs-error-panel #error-details {
  color: #C6C6C6;
  overflow-wrap: anywhere;
}

.bs-error-panel .bs-report-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #6C6D6E;
}

.bs-report-form .bs-bug-report-actions { justify-content: flex-start; }

.bs-report-form button[value="support"] {
  background: #101010;
  border-color: #6C6D6E;
  color: #F6F6F6;
}

.bs-report-form [role="status"]:empty { display: none; }
.bs-help { margin: 1.5rem 0 0; }

@media (max-width: 32rem) {
  .bs-report-form button { width: 100%; }
}
