#incident-report-button {
  position: fixed;
  z-index: 8;
  top: 16px;
  right: 18px;
  width: 78px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(232, 230, 222, .48);
  border-radius: 4px;
  background: rgba(27, 30, 29, .78);
  color: #ece8dd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: 700 10px ui-monospace, Menlo, monospace;
  letter-spacing: 0;
}

#incident-report-button .incident-mark {
  width: 15px;
  height: 15px;
  border: 1px solid #d9b873;
  color: #f1d28f;
  line-height: 15px;
  text-align: center;
  font-size: 11px;
}

#incident-report-button:hover,
#incident-report-button:focus-visible,
#incident-report-button[data-pending="1"] {
  border-color: #d9b873;
  background: rgba(39, 43, 40, .94);
  outline: none;
}

#incident-report-button:disabled {
  opacity: .28;
  cursor: default;
}

#incident-report-status {
  position: fixed;
  z-index: 8;
  top: 56px;
  right: 18px;
  max-width: min(300px, calc(100vw - 36px));
  padding: 7px 9px;
  border-left: 2px solid #d9b873;
  background: rgba(25, 28, 27, .9);
  color: #ece8dd;
  font: 10px/1.35 ui-monospace, Menlo, monospace;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 120ms ease, transform 120ms ease;
  pointer-events: none;
}

#incident-report-status[data-visible="1"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  #incident-report-button {
    width: 34px;
    padding: 0;
  }

  #incident-report-button .incident-label {
    display: none;
  }
}
