:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #100f0d;
  --panel: #171512;
  --raised: #1e1b17;
  --panel2: #221f1a;
  --hover: #2a2620;
  --input: #0c0b09;
  --hairline: #2e2a23;
  --border: #7a7160;
  --bright: #f6f1e4;
  --text: #ece8de;
  --muted: #a39c8c;
  --gold: #d9a227;
  --gold-hover: #e4b03c;
  --gold-press: #c08e1c;
  --gold-text: #d9a227;
  --on-gold: #100f0d;
  --focus: #d9a227;
  --caution: #e39a4b;
  --caution-bg: #2a1d10;
  --info: #8fb8d8;
  --info-bg: #141e27;
  --good: #8fcb6a;
  --good-bg: #16220f;
  --code: #d8d2c4;
  --code-bg: #0c0b09;
  --grid: rgba(122, 113, 96, 0.13);
  --contour: #3a342b;
  --glow: rgba(217, 162, 39, 0.07);
  --shot-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --chart: #b8871a;
  --chart-hover: #d9a227;
  --chart-track: #2a2620;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f4f1ea;
    --panel: #ffffff;
    --raised: #ffffff;
    --panel2: #ece7dc;
    --hover: #e4ded1;
    --input: #ffffff;
    --hairline: #ddd6c8;
    --border: #857d6d;
    --bright: #0f0e0b;
    --text: #1a1814;
    --muted: #5e574a;
    --gold: #d9a227;
    --gold-hover: #e4b03c;
    --gold-press: #c08e1c;
    --gold-text: #805300;
    --on-gold: #1a1814;
    --focus: #805300;
    --caution: #984a00;
    --caution-bg: #fbeada;
    --info: #2f5f86;
    --info-bg: #e3edf5;
    --good: #2b6e2f;
    --good-bg: #e4f0df;
    --code: #2b2822;
    --code-bg: #f0ece3;
    --grid: rgba(133, 125, 109, 0.16);
    --contour: #d3cab8;
    --glow: rgba(217, 162, 39, 0.10);
    --shot-shadow: 0 18px 44px rgba(26, 24, 20, 0.18);
    --chart: #a8790f;
    --chart-hover: #805300;
    --chart-track: #ece7dc;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1ea;
  --panel: #ffffff;
  --raised: #ffffff;
  --panel2: #ece7dc;
  --hover: #e4ded1;
  --input: #ffffff;
  --hairline: #ddd6c8;
  --border: #857d6d;
  --bright: #0f0e0b;
  --text: #1a1814;
  --muted: #5e574a;
  --gold: #d9a227;
  --gold-hover: #e4b03c;
  --gold-press: #c08e1c;
  --gold-text: #805300;
  --on-gold: #1a1814;
  --focus: #805300;
  --caution: #984a00;
  --caution-bg: #fbeada;
  --info: #2f5f86;
  --info-bg: #e3edf5;
  --good: #2b6e2f;
  --good-bg: #e4f0df;
  --code: #2b2822;
  --code-bg: #f0ece3;
  --grid: rgba(133, 125, 109, 0.16);
  --contour: #d3cab8;
  --glow: rgba(217, 162, 39, 0.10);
  --shot-shadow: 0 18px 44px rgba(26, 24, 20, 0.18);
  --chart: #a8790f;
  --chart-hover: #805300;
  --chart-track: #ece7dc;
}

:root {
  --f-display: "Oswald", "Bahnschrift", "Arial Narrow", sans-serif;
  --f-label: "Fira Sans Condensed", "Bahnschrift", "Segoe UI", sans-serif;
  --f-body: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Fira Mono", "Consolas", "Cascadia Mono", monospace;
  --gutter: 16px;
  --max: 1180px;
  --header-h: 60px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--f-mono);
  font-size: 0.9em;
  background: var(--code-bg);
  color: var(--code);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 0.05em 0.35em;
  overflow-wrap: anywhere;
}

strong {
  color: var(--bright);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--bright);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1100px) {
  :root {
    --gutter: 32px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--f-label);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 2px;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.sq {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--gold);
  flex: none;
}

.label {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--panel);
  border-bottom: 1px solid var(--hairline);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bright);
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px;
}

.wordmark:hover {
  color: var(--bright);
}

.nav-inline {
  display: none;
  margin-left: 18px;
}

.nav-inline ul {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-inline a,
.menu-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 9px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-radius: 2px;
}

.nav-inline a:hover,
.menu-panel a:hover {
  color: var(--text);
  background: var(--panel2);
}

.nav-inline a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.seg a:first-child {
  border-radius: 1px 0 0 1px;
}

.seg a:last-child {
  border-radius: 0 1px 1px 0;
}

.seg a:focus-visible {
  outline: 2px solid var(--bright);
  outline-offset: -4px;
  border-radius: 1px;
}

.seg a[aria-current="true"]:focus-visible {
  outline-color: var(--on-gold);
}

.seg a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
}

.seg a:hover {
  color: var(--text);
  background: var(--panel2);
}

.seg a[aria-current="true"] {
  background: var(--gold);
  color: var(--on-gold);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
  background: var(--panel2);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.theme-btn .i-sun {
  display: none;
}

:root[data-theme="dark"] .theme-btn .i-sun {
  display: block;
}

:root[data-theme="dark"] .theme-btn .i-moon {
  display: none;
}

:root:not([data-theme]) .theme-btn .i-sun {
  display: block;
}

:root:not([data-theme]) .theme-btn .i-moon {
  display: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-btn .i-sun {
    display: none;
  }

  :root:not([data-theme]) .theme-btn .i-moon {
    display: block;
  }
}

:root[data-theme="light"] .theme-btn .i-sun {
  display: none;
}

:root[data-theme="light"] .theme-btn .i-moon {
  display: block;
}

.btn.header-dl {
  display: none;
}

.menu {
  position: static;
}

.menu > summary {
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu .i-close {
  display: none;
}

.menu[open] .i-close {
  display: block;
}

.menu[open] .i-menu {
  display: none;
}

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--panel);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  padding: 8px var(--gutter) 16px;
}

.menu-panel ul {
  list-style: none;
  display: grid;
  gap: 2px;
}

.menu-panel a {
  display: flex;
  min-height: 44px;
}

.menu-panel .menu-dl {
  margin-top: 8px;
  justify-content: center;
  background: var(--gold);
  color: var(--on-gold);
}

.menu-panel .menu-dl:hover {
  background: var(--gold-hover);
  color: var(--on-gold);
}

@media (min-width: 600px) {
  .btn.header-dl {
    display: inline-flex;
  }
}

@media (max-width: 399px) {
  .header-row {
    gap: 8px;
  }

  .wordmark {
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    gap: 8px;
  }

  .header-tools {
    gap: 4px;
  }

  .seg a {
    min-width: 32px;
    padding: 0 6px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1100px) {
  .nav-inline {
    display: block;
  }

  .menu {
    display: none;
  }
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 8px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-meta {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
}

.btn-primary {
  background: var(--gold);
  color: var(--on-gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--on-gold);
}

.btn-primary:active {
  background: var(--gold-press);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--panel2);
  color: var(--text);
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.74rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 2px 8px no-repeat,
    var(--raised);
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--info);
  background: var(--info-bg);
  vertical-align: middle;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker .sq {
  width: 7px;
  height: 7px;
}

.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
  min-width: 24px;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 960px) {
  .section {
    padding: 84px 0;
  }
}

.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin-bottom: 18px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 62ch;
  margin-bottom: 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 22% 30%, var(--glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 56px;
}

.hero-art {
  position: absolute;
  z-index: 0;
  top: -150px;
  left: calc(100% - 120px);
  width: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.7;
}

.hero-art .cross-group {
  display: none;
}

@media (min-width: 960px) {
  .hero-grid {
    padding-top: 72px;
    padding-bottom: 92px;
  }

  .hero-art {
    top: 50%;
    left: calc(50% + clamp(220px, 25vw, 350px));
    width: 1000px;
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  .hero-art .cross-group {
    display: inline;
  }

  .hero-copy {
    max-width: 880px;
  }

  .hero-kicker {
    max-width: 700px;
  }

  .hero h1 {
    white-space: nowrap;
    font-size: clamp(4.4rem, 7.4vw, 7rem);
  }

  .hero-promise,
  .hero-lead,
  .hero .note {
    max-width: 600px;
  }
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-bottom: 14px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker .game {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker .tool {
  color: var(--gold-text);
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 12vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 26px;
  color: var(--muted);
}

.hero-promise {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--bright);
}

.hero-lead {
  color: var(--text);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-actions .btn {
  flex: 1 1 220px;
}

@media (min-width: 600px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

.sha-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.sha-line .mono {
  font-family: var(--f-mono);
  color: var(--text);
  font-size: 0.82rem;
}

.dots {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.dots li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dots li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  flex: none;
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--info);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 0.94rem;
  max-width: 70ch;
}

.note p {
  margin: 0;
}

.note svg {
  width: 18px;
  height: 18px;
  color: var(--info);
  flex: none;
  margin-top: 3px;
}

.note-caution {
  border-left-color: var(--caution);
}

.note-caution svg {
  color: var(--caution);
}

.hero-art svg,
.gate-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.contour {
  fill: none;
  stroke: var(--contour);
  stroke-width: 1.3;
}

.contour-major {
  stroke-width: 2.2;
}

.cross {
  stroke: var(--gold);
  stroke-width: 3;
  fill: none;
}

.cross-fill {
  fill: var(--gold);
}

.cross-label {
  fill: var(--gold-text);
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
}

.cross-coord {
  fill: var(--muted);
  font-family: var(--f-mono);
  font-size: 13px;
}

.shot {
  position: relative;
  margin: 0;
}

.shot-frame {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: var(--shot-shadow);
}

.shot-frame::before,
.shot-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.shot-frame::before {
  left: -7px;
  top: -7px;
  border-right: 0;
  border-bottom: 0;
}

.shot-frame::after {
  right: -7px;
  bottom: -7px;
  border-left: 0;
  border-top: 0;
}

.shot img {
  width: 100%;
  border-radius: 3px;
}

.shot figcaption {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

.screen {
  padding: 8px 0 72px;
}

.shot-hero {
  max-width: 960px;
  margin: 0 auto;
}

.shot.shot-small,
.release .shot.shot-small {
  max-width: 720px;
}

.gallery {
  list-style: none;
  display: grid;
  gap: 32px 24px;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
  }
}

.g-link {
  display: block;
  color: inherit;
  border-radius: 4px;
}

.g-link .shot-frame {
  display: block;
  overflow: visible;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.g-link:hover .shot-frame {
  border-color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .g-link:hover .shot-frame {
    transform: translateY(-3px);
  }
}

.g-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: rgba(16, 15, 13, 0.82);
  color: #f6f1e4;
  border: 1px solid rgba(217, 162, 39, 0.6);
}

.g-zoom svg {
  width: 16px;
  height: 16px;
}

.g-item figcaption {
  margin-top: 12px;
}

.lightbox {
  width: min(1320px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--panel);
  color: var(--text);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(8, 7, 6, 0.86);
}

.lb-figure {
  margin: 0;
  padding: 12px 12px 0;
}

.lb-scroll {
  overflow: auto;
  max-height: calc(100vh - 120px);
  border-radius: 2px;
  background: var(--input);
}

.lb-img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

@media (max-width: 759px) {
  .lb-scroll {
    overscroll-behavior: contain;
  }

  .lb-img {
    width: auto;
    max-width: none;
    max-height: none;
  }
}

.lb-cap {
  min-height: 48px;
  padding: 12px 164px 14px 4px;
  font-size: 0.92rem;
  color: var(--muted);
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.lb-btn:hover {
  background: var(--panel2);
  border-color: var(--gold);
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

.lb-close {
  right: 12px;
  bottom: 8px;
}

.lb-prev {
  right: 112px;
  bottom: 8px;
}

.lb-next {
  right: 62px;
  bottom: 8px;
}

.steps {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

.step {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
}

.step-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold-text);
  margin-bottom: 10px;
}

.step h3 {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--text);
}

.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
}

.feature + .feature {
  border-top: 1px dashed var(--hairline);
}

@media (min-width: 960px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    padding: 56px 0;
  }

  .feature:nth-of-type(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .feature:nth-of-type(even) .feature-text {
    order: 2;
  }
}

.feature h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.feature-text > p {
  color: var(--text);
}

.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.ticks li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.95rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.more-title {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 40px 0 18px;
}

.cards {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.card {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 18px 18px 16px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: var(--panel2);
  color: var(--gold-text);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 559px) {
  .card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .card-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .card-title {
    min-height: 36px;
  }
}

.card-title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
}

.promises {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.promise {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 18px;
}

.promise-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--panel2);
  border-radius: 4px;
  color: var(--gold-text);
}

.promise-icon svg {
  width: 22px;
  height: 22px;
}

.promise h3 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.promise p {
  margin: 0;
  font-size: 0.94rem;
}

.rows {
  margin: 0 0 24px;
  border-top: 1px dotted var(--border);
}

.rows > div {
  display: grid;
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--border);
}

@media (min-width: 720px) {
  .rows > div {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

.rows dt {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.rows dd {
  margin: 0;
  color: var(--text);
}

.rows dd.mono,
.rows code.mono {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.status-cols {
  display: grid;
  gap: 16px;
}

@media (min-width: 960px) {
  .status-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.status-col {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--mark);
  border-radius: 4px;
  padding: 20px;
}

.status-col.verified {
  --mark: var(--good);
}

.status-col.checking {
  --mark: var(--caution);
}

.status-col.planned {
  --mark: var(--border);
}

.status-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.status-head h3 {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-sub {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 14px;
}

.mark {
  width: 12px;
  height: 12px;
  flex: none;
}

.status-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.status-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.94rem;
}

.status-list .mark {
  margin-top: 6px;
}

.mark-verified {
  fill: var(--good);
}

.mark-checking {
  fill: var(--caution);
}

.mark-planned {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.mark-untested {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.status-later {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 12px;
  padding-top: 16px;
  border-top: 1px dotted var(--border);
}

.status-list.later li {
  color: var(--muted);
}

.roadmap {
  margin-top: 48px;
}

.roadmap .more-title {
  margin-top: 0;
}

.road {
  list-style: none;
  display: grid;
  position: relative;
}

.road-node {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 22px;
}

.road-node::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: -2px;
  width: 2px;
  background: var(--gold);
}

.road-node.now::before {
  background: repeating-linear-gradient(var(--caution) 0 6px, transparent 6px 11px);
}

.road-node.next::before {
  display: none;
}

.road-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.road-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}

.road-node.current .road-dot::before {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--gold);
}

.road-node.now .road-dot::before {
  display: none;
}

.road-node.now .road-dot .mark {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 4px var(--bg);
  background: var(--bg);
}

.road-node.next .road-dot::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
}

.road-body p {
  margin: 0;
}

.road-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.road-ver {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--bright);
  letter-spacing: 0.02em;
}

.road-node.now .road-ver,
.road-node.next .road-ver {
  font-family: var(--f-label);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 2px;
}

.road-node.now .road-ver {
  color: var(--caution);
}

.road-node.next .road-ver {
  color: var(--muted);
}

.road-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.road-text {
  font-size: 0.9rem;
  margin-top: 4px;
  line-height: 1.45;
}

.road-text a {
  color: var(--text);
  text-decoration-color: var(--border);
}

.road-text a:hover {
  color: var(--gold-text);
  text-decoration-color: currentColor;
}

@media (min-width: 1100px) {
  .road {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0 18px;
  }

  .road-node {
    grid-template-columns: none;
    grid-template-rows: 22px auto;
    gap: 14px;
    padding-bottom: 0;
  }

  .road-node::before {
    left: 16px;
    right: -18px;
    top: 10px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .road-node.now::before {
    background: repeating-linear-gradient(90deg, var(--caution) 0 6px, transparent 6px 11px);
  }

  .road-dot {
    justify-content: start;
  }
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.faq-item {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
}

.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary h3 {
  flex: 1;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--bright);
}

.faq-item > summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--gold-text), var(--gold-text)) center / 14px 2px no-repeat,
    linear-gradient(var(--gold-text), var(--gold-text)) center / 2px 14px no-repeat;
}

.faq-item[open] > summary::after {
  background: linear-gradient(var(--gold-text), var(--gold-text)) center / 14px 2px no-repeat;
}

.faq-item > summary:hover {
  background: var(--panel2);
}

.faq-item:target {
  border-color: var(--gold);
}

.faq-body {
  padding: 0 18px 6px;
  max-width: 76ch;
}

.faq-body ul,
.faq-body ol {
  margin: 0 0 1em 1.2em;
  display: grid;
  gap: 6px;
}

.faq-group + .faq-group {
  margin-top: 40px;
}

.faq-group > h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.band {
  display: grid;
  gap: 24px;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 28px 20px;
}

@media (min-width: 860px) {
  .band {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    padding: 40px;
  }
}

.band h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.05;
  margin: 14px 0 12px;
}

.band .facts {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.page-head {
  padding: 48px 0 32px;
}

@media (min-width: 960px) {
  .page-head {
    padding: 72px 0 40px;
  }
}

.page-head h1 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1;
  margin-bottom: 16px;
}

.page-head .section-lead {
  margin-bottom: 0;
}

.page-body {
  padding-bottom: 80px;
}

.page-section {
  margin-top: 56px;
}

.page-section > h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.file-card {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 20px;
}

@media (min-width: 720px) {
  .file-card {
    padding: 28px 32px;
  }
}

.file-card .rows {
  margin-bottom: 20px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.copy-row .mono {
  min-width: 0;
  flex: 1 1 260px;
}

.page-section > .copy-row {
  margin-bottom: 14px;
}

.page-section > .copy-row .copy-status {
  margin: 0;
}

.release .ticks,
.num-steps,
.page-section > p {
  max-width: 900px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--panel2);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

.copy-status {
  font-size: 0.82rem;
  color: var(--good);
  min-height: 1.2em;
}

.copy-status.is-fail {
  color: var(--caution);
}

pre.cmd {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--code-bg);
  color: var(--code);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.num-steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 14px;
}

.num-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.num-steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--gold-text);
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.release {
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.release-head time {
  color: var(--muted);
  font-size: 0.9rem;
}

.release h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.release .shot {
  margin-top: 28px;
  max-width: 980px;
}

.current-tag {
  color: var(--good);
  background: var(--good-bg);
}

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-cols {
  display: grid;
  gap: 24px;
  padding: 28px 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.footer-cols h2 {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-cols ul {
  list-style: none;
  display: grid;
  gap: 2px;
}

.footer-cols a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.footer-cols a:hover {
  color: var(--gold-text);
  text-decoration: underline;
}

.footer-cols p {
  margin: 0 0 6px;
}

.footer-small {
  color: var(--muted);
  font-size: 0.84rem;
  max-width: 90ch;
  margin: 0 0 8px;
}

.gate {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.gate > * {
  position: relative;
  z-index: 1;
}

.gate > .gate-art {
  position: fixed;
  z-index: 0;
  top: 50%;
  left: calc(50% + clamp(200px, 26vw, 380px));
  width: 1000px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 959px) {
  .gate > .gate-art {
    left: 100%;
    top: 0;
    width: 760px;
    opacity: 0.6;
  }

  .gate-art .cross-group {
    display: none;
  }
}

body:has(.gate) {
  overflow-x: hidden;
}

.gate .gate-note {
  margin-bottom: 28px;
}

.gate .hero-kicker,
.gate .kicker {
  max-width: 700px;
}

.gate .kicker {
  max-width: 560px;
}

.gate .footer-small {
  max-width: 640px;
}

.gate h1 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: 0.95;
  margin: 18px 0 20px;
}

.gate-promise {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3.6vw, 1.8rem);
  color: var(--bright);
  margin: 0 0 4px;
}

.gate-promise-alt {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.gate-choices {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 16px;
}

@media (min-width: 600px) {
  .gate-choices {
    grid-template-columns: 1fr 1fr;
  }
}

.gate-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.nf-cols {
  display: grid;
  gap: 32px;
  margin-top: 8px;
}

@media (min-width: 860px) {
  .nf-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.nf-cols h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.nf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.nf-legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.stats li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stats li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex: none;
}

.file-card .stats {
  margin-top: 18px;
}

.privacy-updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0;
  border-top: 1px dotted var(--border);
  border-bottom: 1px dotted var(--border);
}

.privacy-toc a {
  color: var(--text);
}

.privacy-section > p,
.privacy-section > .ticks,
.privacy-section > .rows {
  max-width: 900px;
}

.privacy-section > p + p,
.privacy-section > .ticks + p,
.privacy-section > p + .ticks,
.privacy-section > pre + p {
  margin-top: 12px;
}

.privacy-section > .ticks {
  margin-top: 4px;
}

.privacy-rows-title {
  margin: 20px 0 8px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy-section .privacy-rows {
  margin-bottom: 16px;
}

.admin .page-head {
  padding-bottom: 24px;
}

.admin-lang button,
.admin-range button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}

.admin-lang button:hover,
.admin-range button:hover {
  color: var(--text);
  background: var(--panel2);
}

.admin-lang button[aria-pressed="true"],
.admin-range button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--on-gold);
}

.admin-lang button:focus-visible,
.admin-range button:focus-visible {
  outline: 2px solid var(--bright);
  outline-offset: -4px;
}

.admin-login {
  max-width: 640px;
  margin-bottom: 80px;
}

.admin-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-login-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--input);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 0.9rem;
}

.admin-input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.admin-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-error {
  margin: 10px 0 0;
  color: var(--caution);
  font-size: 0.92rem;
}

.admin-error:empty {
  display: none;
}

.admin-board {
  padding-bottom: 80px;
  transition: opacity 0.2s;
}

.admin-board.is-busy {
  opacity: 0.55;
}

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 20px;
}

.admin-updated {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.kpi {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 14px 16px;
}

.kpi-hero {
  border-left: 3px solid var(--gold);
}

@media (min-width: 720px) {
  .kpi-hero {
    grid-column: span 2;
  }
}

.kpi-label {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.kpi-value {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--bright);
}

.kpi-hero .kpi-value {
  font-size: 3.2rem;
}

.kpi-sub {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 900px) {
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.admin-card {
  min-width: 0;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 16px;
}

.admin-wide {
  margin-top: 12px;
}

.admin-card-title {
  margin: 0 0 4px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.admin-card-sub {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-empty {
  margin: 8px 0 0;
  color: var(--muted);
}

.chart-holder {
  position: relative;
  margin-top: 8px;
}

.chart {
  display: block;
  overflow: visible;
}

.chart:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.ch-grid {
  stroke: var(--hairline);
  stroke-width: 1;
}

.ch-base {
  stroke: var(--border);
  stroke-width: 1;
}

.ch-tick {
  fill: var(--muted);
  font-family: var(--f-body);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ch-cap {
  fill: var(--text);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
}

.ch-bar {
  fill: var(--chart);
}

.ch-bar.is-hot {
  fill: var(--chart-hover);
}

.ch-hit {
  fill: transparent;
}

.chart-tip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
  pointer-events: none;
  white-space: nowrap;
}

.chart-tip-value {
  font-size: 1rem;
  color: var(--bright);
}

.chart-tip-day {
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-table-wrap {
  margin-top: 12px;
}

.admin-summary {
  cursor: pointer;
  color: var(--text);
  font-size: 0.92rem;
  padding: 8px 0;
}

.admin-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  font-weight: 600;
  color: var(--muted);
}

.admin-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.admin-table .mono,
.hbar-key {
  font-family: var(--f-mono);
  font-size: 0.82rem;
}

.hbar-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hbar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 7.5em;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.hbar-name {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hbar-key {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hbar-key-main {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dl .col-file {
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.admin-dl .dl-version {
  display: block;
}

.admin-dl .dl-sub {
  display: none;
}

@media (max-width: 600px) {
  .admin-dl .col-file {
    display: none;
  }

  .admin-dl .col-version {
    white-space: normal;
  }

  .admin-dl .dl-sub {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    overflow-wrap: anywhere;
  }
}

.hbar-track {
  display: block;
  height: 10px;
}

.hbar-fill {
  display: block;
  height: 10px;
  border-radius: 0 4px 4px 0;
  background: var(--chart);
}

.hbar-value {
  text-align: right;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.meter {
  margin-top: 12px;
}

.meter-label {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--text);
}

.meter-track {
  height: 10px;
  border-radius: 4px;
  background: var(--chart-track);
  overflow: hidden;
}

.meter-fill {
  height: 10px;
  border-radius: 4px;
  background: var(--chart);
}

.meter-fill.is-high {
  background: var(--caution);
}

.admin-config {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-config + .admin-config {
  margin-top: 4px;
}

.admin-config.is-late {
  color: var(--caution);
}

.admin-usage-note {
  margin: 12px 0 0;
}

.privacy-section pre.cmd {
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  overflow-x: auto;
}
