:root {
  --page: #e8e4d8;
  --surface: #f4f1e8;
  --ink: #101826;
  --ink-2: #46536a;
  --muted: #57657a;
  --line: #d3d6d1;
  --accent: #1f66bd;
  --accent-2: #174f94;
  --accent-deep: #0d366b;
  --accent-ink: #ffffff;
  --badge-bg: #fdeee7;
  --badge-ink: #a33f1c;
  --shadow: 0 1px 2px rgba(16, 38, 74, 0.06), 0 6px 20px rgba(16, 38, 74, 0.07);
  --link: var(--accent-2);
  --operator: #875923;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #142019;
  --surface: #213028;
  --ink: #e9f2ec;
  --ink-2: #aec2b5;
  --muted: #a4b7aa;
  --line: #354b3d;
  --accent: #2fb178;
  --accent-2: #1c7a52;
  --accent-deep: #0a2a1c;
  --accent-ink: #04170f;
  --badge-bg: #33220f;
  --badge-ink: #eeb277;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.16);
  --link: var(--accent);
  --operator: #d9ac72;
  color-scheme: dark;
}
body {
  background-color: var(--page);
}
:root[data-size="l"] {
  font-size: 112.5%;
  line-height: 1.68;
}
:root[data-size="xl"] {
  font-size: 125%;
  line-height: 1.68;
}
.reading-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 12px 0;
}
.reading-tools button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.reading-tools svg {
  width: 20px;
  height: 20px;
  display: block;
}
.theme-toggle .i-moon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .i-moon {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .i-sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .i-moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .i-sun {
  display: block;
}
.tagline {
  color: var(--muted);
  font-size: 1rem;
  margin: 0.5rem 0 0;
}
.brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 0.3em;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0.2em 0 0.1em;
  text-decoration: none;
  color: var(--ink);
}
.brand code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--link);
  font-weight: 700;
}
.brand .branch code {
  color: var(--operator);
}
.brand .w {
  font-size: 1.35em;
  letter-spacing: 0.02em;
}
.brand .branch {
  white-space: nowrap;
}
.brand .win {
  font-weight: 700;
}
.brand .off {
  color: var(--muted);
}
