.bug-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 7, 10, 0.78);
}

.bug-modal[hidden] { display: none !important; }

.bug-card {
  width: min(28rem, 100%);
  background: #0b1118;
  border: 1px solid rgba(79, 210, 255, 0.28);
  padding: 1.25rem 1.3rem 1.35rem;
  color: #d7e4ea;
  font-family: "IBM Plex Sans", "Source Sans 3", sans-serif;
}

.bug-kicker {
  margin: 0 0 0.35rem;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #4fd2ff;
}

.bug-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: inherit;
  color: #e8f6fb;
}

.bug-lead {
  margin: 0 0 0.85rem;
  color: #7f96a0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.bug-card textarea {
  width: 100%;
  resize: vertical;
  min-height: 7rem;
  padding: 0.65rem 0.7rem;
  background: #070b10;
  color: #d7e4ea;
  border: 1px solid rgba(79, 210, 255, 0.22);
  font: inherit;
}

.bug-status {
  margin: 0.6rem 0 0;
  color: #4fd2ff;
  font-size: 0.88rem;
}

.bug-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.bug-send, .bug-cancel, [data-open-bug] {
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border: 1px solid #4fd2ff;
}

.bug-send, .foot-bug {
  background: #4fd2ff;
  color: #05070a;
}

.bug-cancel, header [data-open-bug], .hud-actions [data-open-bug], .title-actions [data-open-bug] {
  background: transparent;
  color: inherit;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.foot-bug {
  text-decoration: none;
}

.bug-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bug-row {
  border: 1px solid rgba(79, 210, 255, 0.22);
  padding: 0.75rem 0.85rem;
  background: #070b10;
  font-size: 0.88rem;
}

.bug-row b { color: #4fd2ff; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.bug-row p { margin: 0.35rem 0 0; color: #d7e4ea; white-space: pre-wrap; word-break: break-word; }
.bug-row .muted { color: #7f96a0; font-size: 0.78rem; margin-top: 0.25rem; }
