/* wow-site: dark, WoW-flavoured, system fonts only, no external resources. */
:root {
  --bg: #0d0b08;
  --panel: #1a1610;
  --border: #4a3b22;
  --text: #e8dcc0;
  --muted: #9a8c70;
  --gold: #f8b700;
  --up: #3fcf5a;
  --down: #ff6a5c;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
}

a { color: var(--gold); }
a:hover { color: #ffd65c; }

code {
  font-family: ui-monospace, Consolas, monospace;
  background: #000;
  padding: 0 .3em;
  border-radius: 3px;
}
code.cmd {
  display: inline-block;
  margin: .3em 0;
  padding: .2em .5em;
  font-size: 1.1em;
  white-space: nowrap;
  user-select: all;
}
code.hash { font-size: .8rem; word-break: break-all; }
.steps li { margin-bottom: .4rem; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  padding: .75rem 1rem;
  background: linear-gradient(#2a2114, #15110b);
  border-bottom: 2px solid var(--border);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: .03em;
}

nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { text-decoration: none; padding: .2rem .1rem; border-bottom: 2px solid transparent; }
nav a.active { border-bottom-color: var(--gold); }

main { max-width: 960px; margin: 0 auto; padding: 1rem; }

h1, h2 { font-family: Georgia, "Times New Roman", serif; color: var(--gold); font-weight: normal; }
h1 { font-size: 1.6rem; margin: .5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 0 0 .75rem; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid #2c2418; vertical-align: top; }
.kv th { width: 50%; color: var(--muted); font-weight: normal; }
.list th { color: var(--muted); font-weight: normal; white-space: nowrap; }
.scroll { overflow-x: auto; }

.state { font-weight: bold; text-transform: uppercase; }
.state.up { color: var(--up); }
.state.down { color: var(--down); }

.muted { color: var(--muted); font-size: .9rem; }
.error h1 { color: var(--down); }

footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 1.5rem 1rem; }

/* Forms */
input, select, button, .button {
  font: inherit;
  color: var(--text);
  background: #000;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .35rem .5rem;
}
button, .button { background: #2a2114; color: var(--gold); cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .button:hover { background: #3a2e1b; }
button:focus-visible, .button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
button.danger { color: #fff; background: #6b1a14; border-color: var(--down); }
.stack { display: flex; flex-direction: column; gap: .75rem; max-width: 22rem; }
.stack label { display: flex; flex-direction: column; gap: .25rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; align-items: center; }
.notice { color: #ffd65c; }
.ok { color: var(--up); font-weight: bold; }

@media (max-width: 600px) {
  main { padding: .5rem; }
  .kv th { width: auto; }
  th, td { padding: .3rem; font-size: .95rem; }
}
