:root {
  color-scheme: light dark;
  --bg: #0f1216;
  --bg-card: #171b21;
  --text: #e7eaee;
  --muted: #a7adb6;
  --accent: #5b9dff;
  --border: #272c34;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9;
    --bg-card: #ffffff;
    --text: #1b1f24;
    --muted: #5b6270;
    --accent: #1a56c4;
    --border: #e2e5ea;
  }
}

* {
  box-sizing: border-box;
}

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

header.site a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

nav.site a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}

.pending {
  background: rgba(255, 193, 7, 0.12);
  border: 1px dashed #d4a017;
  border-radius: 8px;
  padding: 0.15rem 0.4rem;
  font-weight: 600;
  white-space: normal;
}

footer.site {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site a {
  color: var(--accent);
}

ul {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.4rem;
}
