:root {
  color-scheme: dark;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #090711;
  color: #f5edf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

a {
  color: #ffe47a;
}

button {
  border: 0;
  padding: 10px 14px;
  background: #ff5cb8;
  color: #160c18;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button.secondary {
  background: #31283d;
  color: #f5edf7;
}

button:disabled {
  opacity: 0.5;
}

.page-header,
.toolbar,
.grave-header,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kicker,
.address {
  color: #a99ab4;
}

.panel,
.grave-card {
  border: 1px solid #493a57;
  background: #130f1c;
  padding: 20px;
}

.status {
  min-height: 24px;
  color: #9fe8b4;
}

.status.error {
  color: #ff8c8c;
}

.queue {
  display: grid;
  gap: 14px;
}

.status-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 12px;
  overflow-x: auto;
}

.status-tab {
  background: #241b2e;
  color: #a99ab4;
  white-space: nowrap;
}

.status-tab span {
  margin-left: 6px;
  color: #f5edf7;
}

.status-tab.is-active {
  background: #ff5cb8;
  color: #160c18;
}

.queue-summary {
  color: #a99ab4;
}

.grave-card h2 {
  margin: 0;
  font-size: 18px;
}

.badge {
  padding: 4px 8px;
  background: #31283d;
  font-size: 12px;
}

.badge.pending {
  color: #ffe47a;
  border-color: #ffe47a;
}

.badge.approved {
  color: #9fe8b4;
  border-color: #9fe8b4;
}

.badge.hidden {
  color: #d9a6ff;
  border-color: #d9a6ff;
}

.badge.rejected {
  color: #ff8c8c;
  border-color: #ff8c8c;
}

.badge {
  border: 1px solid currentColor;
  text-transform: uppercase;
}

.grave-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 18px 0;
}

.grave-details dt {
  color: #81738e;
  font-size: 11px;
  text-transform: uppercase;
}

.grave-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 3px solid #ff5cb8;
}

@media (max-width: 640px) {
  .page-header,
  .toolbar,
  .grave-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .grave-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
