:root {
  color-scheme: dark;
  --page-bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-2: #222;
  --surface-3: #2d2d2d;
  --line: #050505;
  --line-soft: #424242;
  --text: #e8e8e8;
  --muted: #aaa;
  --red: #d71818;
  --red-dark: #8f0808;
  --yellow: #f6e415;
  --green: #61cf6b;
  --orange: #ffb14a;
  --shadow: 0 18px 55px rgba(0, 0, 0, .46);
  font-family: Verdana, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 300px;
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 24px 14px 44px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(172, 0, 0, .26), transparent 42rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 8px),
    var(--page-bg);
  font-size: 13px;
  line-height: 1.55;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 4px;
  background: #151515;
  box-shadow: var(--shadow);
}

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 7px 12px;
  color: #bbb;
  background: #000;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .055em;
}

.archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ddd;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 207, 107, .13);
}

.status-dot.muted {
  background: #777;
  box-shadow: none;
}

.hero {
  position: relative;
  height: 161px;
  overflow: hidden;
  background: #060606;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(0, 0, 0, .8) 100%);
}

.hero img {
  display: block;
  width: 955px;
  max-width: none;
  height: 161px;
  object-fit: contain;
  object-position: left center;
}

.navigation-row {
  min-height: 38px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #171717;
  border-bottom: 1px solid #000;
  background: #000;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
}

.main-nav button,
.side-links button {
  border: 0;
  cursor: pointer;
  text-align: left;
}

.main-nav button {
  position: relative;
  padding: 10px 13px;
  color: #ddd;
  background: #000;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .045em;
}

.main-nav button:hover,
.main-nav button:focus-visible,
.main-nav button[aria-selected="true"] {
  outline: none;
  background: linear-gradient(#df1b1b, #a00606);
}

.main-nav button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
}

#local-clock {
  align-self: center;
  padding: 0 12px;
  color: #aaa;
  font-size: 10px;
  white-space: nowrap;
}

.content-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  gap: 8px;
  min-height: 560px;
  padding: 9px;
  background: #303030;
}

.sidebar,
#main-content {
  min-width: 0;
}

.panel,
.content-panel {
  overflow: hidden;
  border: 1px solid #050505;
  background: var(--surface-2);
}

.panel + .panel,
.content-panel + .content-panel {
  margin-top: 9px;
}

.panel > h2,
.content-panel > h1,
.content-panel > h2 {
  margin: 0;
  border-bottom: 1px solid #050505;
  color: #f1f1f1;
  background: #070707;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.panel > h2 {
  padding: 7px 9px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .055em;
}

.content-panel > h1,
.content-panel > h2 {
  padding: 9px 11px;
}

.panel-body {
  padding: 8px;
  background: linear-gradient(#292929, #1d1d1d 74px);
}

.side-links {
  display: grid;
  gap: 2px;
}

.side-links button {
  position: relative;
  width: 100%;
  padding: 7px 6px 7px 17px;
  color: #d6d6d6;
  background: transparent;
  font-size: 10px;
}

.side-links button::before {
  content: "›";
  position: absolute;
  left: 6px;
  color: var(--red);
  font-weight: 700;
}

.side-links button:hover,
.side-links button:focus-visible {
  color: var(--yellow);
  outline: 1px solid #4d4d4d;
  background: #171717;
}

.status-list p,
.privacy-copy p {
  margin: 0;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5c5c5;
  font-size: 10px;
}

.project-info p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #383838;
  font-size: 10px;
}

.project-info p:last-child {
  border-bottom: 0;
}

.project-info strong {
  color: #eee;
}

.project-info span {
  color: #a7a7a7;
}

.page[hidden] {
  display: none;
}

.content-body {
  padding: 14px;
  background: #202020;
}

.lead {
  max-width: 760px;
  margin: 0 0 14px;
  color: #e7e7e7;
  font-size: 15px;
  line-height: 1.65;
}

.lead.compact {
  font-size: 13px;
}

.notice {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid #777;
  background: #171717;
}

.notice strong {
  color: #fff;
}

.notice span {
  color: #bbb;
}

.notice.success {
  border-color: var(--green);
  background: rgba(45, 116, 53, .16);
}

.notice.warning {
  border-color: var(--orange);
  background: rgba(137, 77, 13, .17);
}

.notice.neutral {
  border-color: #8e8e8e;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-card {
  min-height: 125px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 15px;
  border: 1px solid #454545;
  color: #e8e8e8;
  background: linear-gradient(145deg, #303030, #181818);
  cursor: pointer;
  text-align: left;
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: #b91818;
  outline: 2px solid rgba(215, 24, 24, .25);
  transform: translateY(-1px);
}

.feature-card strong {
  color: #fff;
}

.feature-card > span:last-child {
  color: #aaa;
  font-size: 11px;
}

.card-icon {
  margin-bottom: 7px;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 700;
}

.function-table-wrap {
  overflow-x: auto;
}

.function-table {
  width: 100%;
  border-collapse: collapse;
}

.function-table th,
.function-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #3a3a3a;
  text-align: left;
}

.function-table th {
  color: #aaa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tag {
  display: inline-flex;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tag.available {
  color: var(--green);
}

.tag.unavailable {
  color: #a9a9a9;
}

.server-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #414141;
  background: linear-gradient(135deg, #2d2d2d, #151515);
}

.server-symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid #c60d0d;
  border-radius: 50%;
  color: var(--yellow);
  background: #0b0b0b;
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset 0 0 20px rgba(215, 24, 24, .25);
}

.server-card h2,
.eyebrow,
.server-card p {
  margin: 0;
}

.server-card h2 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
}

.server-card p:not(.eyebrow) {
  color: #aaa;
  font-size: 11px;
}

.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.server-state {
  padding: 6px 8px;
  border: 1px solid #777;
  color: #bbb;
  background: #111;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #424242;
}

.history-grid div {
  display: grid;
  gap: 3px;
  padding: 13px;
  background: #1d1d1d;
}

.history-grid strong {
  color: #eee;
}

.history-grid span {
  color: #999;
  font-size: 11px;
}

.archive-source {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #414141;
  color: #aaa;
  background: #181818;
  font-size: 11px;
}

code {
  padding: .12em .32em;
  color: #ffed55;
  background: #080808;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .94em;
}

.rules-content > ol {
  margin: 0;
  padding-left: 34px;
}

.rules-content > ol li {
  padding: 8px 8px 8px 4px;
  border-bottom: 1px solid #333;
}

.rules-content > ol li::marker {
  color: var(--red);
  font-weight: 700;
}

.rule-callout {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #454545;
  background: #181818;
}

.rule-callout h2 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 14px;
}

.rule-callout ul {
  margin: 0;
  padding-left: 20px;
}

.rule-callout li {
  padding: 4px 0;
}

.final-warning {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #8f1919;
  color: #ffd2d2;
  background: rgba(143, 25, 25, .2);
  text-align: center;
  font-weight: 700;
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 9px;
}

.map-toolbar button,
.map-toolbar output {
  min-width: 38px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #484848;
  color: #eee;
  background: #111;
}

.map-toolbar button {
  cursor: pointer;
  font-weight: 700;
}

.map-toolbar button:hover,
.map-toolbar button:focus-visible {
  border-color: var(--red);
  outline: none;
  background: #2c0c0c;
}

.map-toolbar output {
  min-width: 68px;
  color: #bbb;
  font-size: 11px;
}

.map-viewport {
  max-height: min(72vh, 750px);
  overflow: auto;
  border: 1px solid #000;
  background: #101010;
  scrollbar-color: #555 #181818;
}

.map-stage {
  width: min(710px, 100%);
  min-width: 320px;
  margin: 0 auto;
}

.archive-map {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  image-rendering: auto;
}

.about-copy h2 {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 14px;
}

.check-list,
.missing-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.missing-list li {
  position: relative;
  padding: 6px 8px 6px 27px;
  border-bottom: 1px solid #333;
}

.check-list li::before,
.missing-list li::before {
  position: absolute;
  left: 7px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
}

.missing-list li::before {
  content: "–";
  color: var(--orange);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  border-top: 1px solid #000;
  color: #878787;
  background: #050505;
  font-size: 9px;
}

.noscript {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--orange);
  color: #fff;
  background: #221405;
  text-align: center;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .sidebar-right {
    display: none;
  }

  .hero::after {
    background: linear-gradient(90deg, transparent 70%, rgba(0, 0, 0, .82));
  }
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .site-shell {
    border: 0;
    border-radius: 0;
  }

  .topbar {
    justify-content: space-between;
  }

  .topbar-note {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 112px;
  }

  .hero img {
    width: 100%;
    height: auto;
    min-height: 112px;
    object-fit: cover;
    object-position: left center;
  }

  .hero::after {
    display: none;
  }

  .navigation-row {
    display: block;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .main-nav button {
    padding: 10px 5px;
    text-align: center;
    font-size: 9px;
  }

  #local-clock {
    display: block;
    padding: 7px 10px;
    border-top: 1px solid #1d1d1d;
    text-align: center;
  }

  .content-grid {
    display: block;
    padding: 7px;
  }

  .sidebar-left {
    display: none;
  }

  .card-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .server-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .server-symbol {
    width: 52px;
    height: 52px;
  }

  .server-state {
    grid-column: 1 / -1;
    justify-self: start;
  }

  footer {
    display: grid;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .main-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav button:nth-child(4),
  .main-nav button:nth-child(5) {
    border-top: 1px solid #1d1d1d;
  }

  .content-body {
    padding: 11px;
  }

  .lead {
    font-size: 13px;
  }

  .rules-content > ol {
    padding-left: 26px;
  }
}

@media print {
  body {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .site-shell {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .topbar,
  .navigation-row,
  .sidebar,
  footer,
  .map-toolbar {
    display: none !important;
  }

  .content-grid {
    display: block;
    padding: 0;
    background: #fff;
  }

  .content-panel,
  .content-body,
  .rules-content > ol li {
    border-color: #bbb;
    color: #000;
    background: #fff;
  }

  .content-panel > h1,
  .content-panel > h2 {
    color: #fff;
    background: #222;
  }
}
