:root {
  --dirt: #5b3a29;
  --dirt-dark: #3d2619;
  --dirt-light: #7a5238;
  --stone: #7a7a7a;
  --stone-dark: #4a4a4a;
  --stone-light: #a8a8a8;
  --grass: #5a8c3a;
  --grass-light: #7cb342;
  --emerald: #2ecc71;
  --emerald-dark: #1e8449;
  --nether: #6c3483;
  --gold: #f1c40f;
  --danger: #e74c3c;
  --panel: #c6c6c6;
  --panel-inset: #8b8b8b;
  --ink: #1a1a1a;
  --muted: #3d3d3d;
  --sky-top: #1a2a3a;
  --sky-bottom: #2d4a2d;
  --font-ui: "Rubik", sans-serif;
  --font-brand: "Press Start 2P", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 7px,
      rgba(0, 0, 0, 0.04) 7px,
      rgba(0, 0, 0, 0.04) 8px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 7px,
      rgba(0, 0, 0, 0.04) 7px,
      rgba(0, 0, 0, 0.04) 8px
    ),
    linear-gradient(180deg, var(--sky-top) 0%, #3a5a3a 55%, var(--dirt-dark) 100%);
  background-attachment: fixed;
  line-height: 1.5;
}

a {
  color: var(--emerald-dark);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--grass-light);
  text-decoration: underline;
}

.screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.panel {
  position: relative;
  width: min(100%, 420px);
  background: var(--panel);
  border: 4px solid #373737;
  box-shadow:
    inset 3px 3px 0 var(--stone-light),
    inset -3px -3px 0 var(--panel-inset),
    0 0 0 4px rgba(0, 0, 0, 0.35),
    0 12px 0 rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.25rem 1.35rem;
}

.lang-switch {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  display: inline-flex;
  gap: 0.25rem;
  z-index: 2;
}

.lang-switch__btn {
  appearance: none;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  min-width: 2.1rem;
  padding: 0.4rem 0.35rem;
  border: 2px solid #373737;
  background: #9e9e9e;
  color: #1a1a1a;
  cursor: pointer;
  box-shadow:
    inset 1px 1px 0 #cfcfcf,
    inset -1px -1px 0 #5a5a5a;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  filter: brightness(1.08);
}

.lang-switch__btn--active {
  background: linear-gradient(180deg, var(--grass-light) 0%, var(--grass) 100%);
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.panel--hero {
  text-align: center;
}

.panel--dashboard {
  width: min(100%, 480px);
}

.panel--trader {
  width: min(100%, 480px);
}

.panel--award {
  text-align: center;
}

.award-state .page-title {
  padding-inline-end: 0;
}

.award-icon {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1.1rem;
}

.award-icon--spin svg {
  animation: award-spin 1.1s linear infinite;
}

@keyframes award-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.award-state .btn {
  margin-top: 0.5rem;
}

.award-state .message {
  margin: 0 0 1rem;
}

.btn--danger {
  background: linear-gradient(180deg, #ef6b5a 0%, var(--danger) 45%, #922b21 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.25),
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    0 4px 0 #5a1610;
}

.show-code-btn {
  margin-top: 0.75rem;
}

.scan-card {
  margin: 0 0 1.25rem;
  text-align: center;
}

.scan-hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.modal__dialog--qr {
  width: min(100%, 340px);
  text-align: center;
}

.qr-frame {
  display: grid;
  place-items: center;
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.75rem;
  background: #fff;
  border: 3px solid #373737;
  box-shadow:
    inset 2px 2px 0 #ddd,
    inset -2px -2px 0 #bbb;
}

.qr-canvas {
  display: block;
  width: 240px;
  height: 240px;
  background: #fff;
  image-rendering: pixelated;
}

.qr-code-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: #fff;
  color: #1a1a1a;
}

.qr-code-text[hidden],
.qr-canvas[hidden] {
  display: none !important;
}

.trader-tools {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.qr-reader {
  width: 100%;
  overflow: hidden;
  border: 3px solid #373737;
  background: #1a1a1a;
  box-shadow:
    inset 2px 2px 0 #000,
    inset -2px -2px 0 #555;
}

.qr-reader video,
.qr-reader canvas {
  width: 100% !important;
  max-height: 280px;
  object-fit: cover;
}

.participant-card {
  margin: 1.25rem 0 0;
  padding: 0.9rem;
  background: #8b8b8b;
  border: 3px solid #373737;
  box-shadow:
    inset 2px 2px 0 #5a5a5a,
    inset -2px -2px 0 #bdbdbd;
  text-align: center;
}

.participant-card .section-title {
  margin-top: 0;
  text-align: start;
}

.participant-card .hotbar {
  margin-bottom: 0;
}

.card-module {
  margin-top: 0.9rem;
  padding: 0.75rem;
  text-align: start;
  background: #7a7a7a;
  border: 3px solid #373737;
  box-shadow:
    inset 2px 2px 0 #5a5a5a,
    inset -2px -2px 0 #a8a8a8;
}

.card-module--exchange {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  background: #707870;
  border-color: #2f4a2f;
  box-shadow:
    inset 2px 2px 0 #4a5a4a,
    inset -2px -2px 0 #9aaa9a;
}

.section-title--spaced {
  margin-top: 1rem;
}

.card-module--resources .affordability-board {
  margin-bottom: 0.85rem;
}

.card-module--resources .reset-btn {
  margin-top: 0.35rem;
}

.card-module--resources .message {
  margin-bottom: 0.65rem;
}

.affordability-board {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.afford-gap {
  height: 0.85rem;
}

.afford-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  background: #6e6e6e;
  border: 2px solid #2b2b2b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.afford-row--none {
  opacity: 0.45;
}

.afford-row__name {
  text-align: start;
}

.afford-row__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.afford-row__count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.afford-row__change {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
}

.convert-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.convert-form .field input,
.convert-form .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 0.75rem;
  border: 3px solid #373737;
  background: #e0e0e0;
  color: var(--ink);
  box-shadow:
    inset 2px 2px 0 var(--panel-inset),
    inset -1px -1px 0 #fff;
  outline: none;
  width: 100%;
}

.convert-form .field select {
  cursor: pointer;
}

.convert-form .field input:focus,
.convert-form .field select:focus {
  background: #f2f2f2;
  box-shadow:
    inset 2px 2px 0 var(--panel-inset),
    inset -1px -1px 0 #fff,
    0 0 0 3px rgba(46, 204, 113, 0.45);
}

.convert-result {
  margin: 0;
  padding: 0.65rem 0.5rem;
  border: 2px solid #373737;
  background: #d5f5e3;
  color: #145a32;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.trader-logout {
  margin-top: 1.15rem;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  background: var(--panel);
  border: 4px solid #373737;
  box-shadow:
    inset 3px 3px 0 var(--stone-light),
    inset -3px -3px 0 var(--panel-inset),
    0 0 0 4px rgba(0, 0, 0, 0.35),
    0 12px 0 rgba(0, 0, 0, 0.25);
  padding: 1.25rem;
}

.modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dirt-dark);
}

.modal__text {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.modal__actions .btn {
  flex: 1 1 8rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  padding-inline-end: 4.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 4.5vw, 1.65rem);
  line-height: 1.35;
  color: var(--dirt-dark);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.page-title {
  margin: 0.35rem 0 1rem;
  padding-inline-end: 4.5rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dirt-dark);
}

.lede {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid #1b1b1b;
  padding: 0.85rem 1rem;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.05s ease, filter 0.1s ease;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}

.btn:active {
  transform: translateY(2px);
  filter: brightness(0.95);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--grass-light) 0%, var(--grass) 45%, #3d6b28 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.25),
    inset -2px -2px 0 rgba(0, 0, 0, 0.25),
    0 4px 0 #2a4a1c;
}

.btn--secondary {
  background: linear-gradient(180deg, var(--stone-light) 0%, var(--stone) 45%, var(--stone-dark) 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.25),
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    0 4px 0 #2f2f2f;
}

.btn--gold {
  background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 45%, #b8860b 100%);
  color: #4a3400;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 rgba(0, 0, 0, 0.25),
    0 4px 0 #8a6508;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  color: #4a3400;
}

.btn--block {
  width: 100%;
}

.mc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.field input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 0.75rem;
  border: 3px solid #373737;
  background: #e0e0e0;
  color: var(--ink);
  box-shadow:
    inset 2px 2px 0 var(--panel-inset),
    inset -1px -1px 0 #fff;
  outline: none;
}

.field input:focus {
  background: #f2f2f2;
  box-shadow:
    inset 2px 2px 0 var(--panel-inset),
    inset -1px -1px 0 #fff,
    0 0 0 3px rgba(46, 204, 113, 0.45);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.message {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.65rem 0.5rem;
  border: 2px solid #373737;
  background: #dcdcdc;
}

.message--error {
  color: #6b1008;
  background: #f5c6c0;
  border-color: var(--danger);
}

.message--ok {
  color: #145a32;
  background: #d5f5e3;
  border-color: var(--emerald);
}

.footer-link {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--muted);
}

.profile {
  margin: 0 0 1.25rem;
  padding: 0.9rem;
  background: #8b8b8b;
  border: 3px solid #373737;
  box-shadow:
    inset 2px 2px 0 #5a5a5a,
    inset -2px -2px 0 #bdbdbd;
  text-align: center;
}

.profile-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2b2b2b;
  text-transform: uppercase;
}

.profile-name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  word-break: break-all;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dirt-dark);
}

.hotbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.35rem 0.55rem;
  min-height: 110px;
  background: #8b8b8b;
  border: 3px solid #373737;
  box-shadow:
    inset 3px 3px 0 #5a5a5a,
    inset -3px -3px 0 #cfcfcf;
}

.slot-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #6e6e6e;
  border: 2px solid #2b2b2b;
  image-rendering: pixelated;
}

.slot-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: #222;
}

.slot-count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.slot--empty .slot-icon {
  opacity: 0.35;
  filter: grayscale(0.8);
}

.slot--owned {
  background: linear-gradient(180deg, #9e9e9e 0%, #7d7d7d 100%);
}

.slot--owned[data-item="emeralds"] {
  box-shadow:
    inset 3px 3px 0 #5a5a5a,
    inset -3px -3px 0 #cfcfcf,
    0 0 0 2px rgba(46, 204, 113, 0.35);
}

.slot--owned[data-item="ender_eye"] {
  box-shadow:
    inset 3px 3px 0 #5a5a5a,
    inset -3px -3px 0 #cfcfcf,
    0 0 0 2px rgba(142, 68, 173, 0.4);
}

.slot--owned[data-item="nether_star"] {
  box-shadow:
    inset 3px 3px 0 #5a5a5a,
    inset -3px -3px 0 #cfcfcf,
    0 0 0 2px rgba(236, 240, 241, 0.35);
}

@media (max-width: 420px) {
  .hotbar {
    grid-template-columns: 1fr;
  }

  .slot {
    flex-direction: row;
    justify-content: flex-start;
    min-height: auto;
    padding: 0.65rem 0.75rem;
    gap: 0.75rem;
  }

  .slot-name {
    flex: 1;
    text-align: start;
    font-size: 0.85rem;
  }

  .slot-count {
    position: static;
    margin-inline-start: auto;
  }
}

[dir="rtl"] .slot-count {
  right: auto;
  left: 6px;
}

.panel--hero .brand {
  padding-inline-end: 0;
}

.panel--hero .eyebrow {
  padding-inline-end: 4.5rem;
}

/* Admin panel */

.panel--admin {
  width: min(100%, 820px);
  min-width: 0;
  overflow: hidden;
  transition: width 0.15s ease;
}

.panel--admin.is-login {
  width: min(100%, 420px);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
}

.tab-btn {
  appearance: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
  border: 2px solid #373737;
  background: #9e9e9e;
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 1px 1px 0 #cfcfcf,
    inset -1px -1px 0 #5a5a5a;
}

.tab-btn:hover,
.tab-btn:focus-visible {
  filter: brightness(1.06);
}

.tab-btn--active {
  background: linear-gradient(180deg, var(--grass-light) 0%, var(--grass) 100%);
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.tab-btn--danger.tab-btn--active {
  background: linear-gradient(180deg, #ef6b5a 0%, var(--danger) 45%, #922b21 100%);
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 0.5rem;
  background: #8b8b8b;
  border: 3px solid #373737;
  box-shadow:
    inset 2px 2px 0 #5a5a5a,
    inset -2px -2px 0 #bdbdbd;
  text-align: center;
}

.stat-card__value {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.top-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.top-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: #6e6e6e;
  border: 2px solid #2b2b2b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.top-list__value {
  color: var(--gold);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.admin-toolbar__input {
  flex: 1 1 10rem;
  min-width: 0;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.65rem;
  border: 3px solid #373737;
  background: #e0e0e0;
  color: var(--ink);
  box-shadow:
    inset 2px 2px 0 var(--panel-inset),
    inset -1px -1px 0 #fff;
  outline: none;
}

.admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.85rem;
  border: 3px solid #373737;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #e8e8e8;
}

.admin-table th,
.admin-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #b5b5b5;
  text-align: start;
  white-space: nowrap;
}

.admin-table th {
  background: #7a7a7a;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.admin-table th.is-sorted {
  background: var(--grass);
}

.admin-table th[data-sort-dir="asc"]::after {
  content: ' \25B2';
}

.admin-table th[data-sort-dir="desc"]::after {
  content: ' \25BC';
}

.admin-table__actions {
  display: flex;
  gap: 0.4rem;
}

.btn--sm {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
}

/* Below this width, tables reflow into stacked cards (one per row) instead of
   scrolling horizontally — each cell shows its own data-label. */
@media (max-width: 640px) {
  .admin-table-wrap {
    border: none;
    overflow: visible;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    margin-bottom: 0.65rem;
    background: #e8e8e8;
    border: 3px solid #373737;
    box-shadow:
      inset 2px 2px 0 #fff,
      inset -2px -2px 0 #bbb;
  }

  .admin-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    white-space: normal;
    word-break: break-word;
  }

  .admin-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    flex-shrink: 0;
  }

  .admin-table__actions {
    justify-content: flex-end;
  }

  .admin-table__actions::before {
    content: none !important;
  }

  .admin-table__actions .btn {
    flex: 1;
  }
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-pagination__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.field--checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.danger-box {
  padding: 1rem;
  border: 3px solid var(--danger);
  background: #f5c6c0;
}

.danger-box .lede {
  color: #6b1008;
}

.audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 420px;
  overflow-y: auto;
}

.audit-list__item {
  padding: 0.55rem 0.65rem;
  background: #dcdcdc;
  border: 2px solid #373737;
  font-size: 0.8rem;
}

.audit-list__line1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.audit-list__action {
  color: var(--dirt-dark);
}

.audit-list__line2 {
  color: var(--muted);
  word-break: break-all;
}
