:root {
  color-scheme: light dark;
  --fg: #1c1e21;
  --muted: #65676b;
  --link: #0969da;
  --bg: #f0f2f5;
  --card: #fff;
  --border: #dadde1;
  --soft: #f7f8fa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e4e6eb;
    --muted: #b0b3b8;
    --link: #58a6ff;
    --bg: #18191a;
    --card: #242526;
    --border: #3a3b3c;
    --soft: #1f2021;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 720px;
  padding: 32px 16px;
  font: 15px/1.6 system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

h1 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-size: 17px;
  line-height: 1.35;
  margin: 28px 0 8px;
}

p {
  margin: 8px 0;
  color: var(--muted);
}

main > p:first-of-type,
.lede {
  color: var(--fg);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 13px;
}

nav a,
footer a {
  color: inherit;
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--link);
  text-decoration: underline;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.meta a {
  color: inherit;
  text-decoration: none;
}

.meta a:hover {
  color: var(--link);
  text-decoration: underline;
}

.notice-list {
  list-style: none;
  margin: 12px 0;
  padding: 4px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.notice-item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.notice-item:last-child {
  border-bottom: 0;
}

.notice-item a {
  color: inherit;
  text-decoration: none;
}

.notice-item a:hover {
  color: var(--link);
  text-decoration: underline;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.hashes {
  list-style: none;
  margin: 12px 0;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.hashes li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.hashes li:last-child {
  border-bottom: 0;
}

.notice {
  margin: 12px 0;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.notice-text {
  margin: 0;
  padding: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--fg);
  background: var(--soft);
}

.muted {
  color: var(--muted);
}

.note {
  font-size: 8px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 640px) {
  body {
    padding-top: 24px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }
}
