@font-face {
  font-family: Space;
  src: local("Space Grotesk");
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: local("IBM Plex Mono");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080b10;
  --panel: #10151d;
  --panel2: #141a24;
  --line: #252d38;
  --text: #edf1f6;
  --muted: #929dac;
  --accent: #aaa7f4;
  --cyan: #8dd7cd;
  --bad: #f38c9f;
  --good: #8ed5b9;
  --warn: #e3bf81;
  --display: "Space Grotesk", Space, "Arial", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Plex, "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
body:before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 10% 0%, #1d3f3e20, transparent 45%);
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 8px;
  padding: 8px 12px;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: #636d80;
  background: #202733;
}
button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #11121d;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
}
h2 {
  font-size: 22px;
  font-weight: 500;
}
h3 {
  font-size: 17px;
  font-weight: 500;
}
small,
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.good {
  color: var(--good) !important;
}
.bad {
  color: var(--bad) !important;
}
.warn {
  color: var(--warn) !important;
}
.accent {
  color: var(--accent);
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--panel);
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.topbar {
  height: 80px;
  max-width: 1504px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand b {
  font: 700 24px var(--display);
  letter-spacing: -1.1px;
}
.brand .dot {
  color: var(--cyan);
}
.brand .wave {
  display: block;
  width: 56px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 5px;
}
.product {
  font: 12px var(--mono);
  color: var(--muted);
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  font-size: 13px;
  color: var(--muted);
}
nav a:hover,
nav a.current {
  color: var(--text);
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  margin-right: 8px;
  box-shadow: 0 0 0 4px #8ed5b910;
}
#main {
  max-width: 1408px;
  margin: auto;
  padding: 0 0 max(64px, env(safe-area-inset-bottom));
  min-height: 75vh;
}
.eyebrow {
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.archive-hero {
  padding: 76px 0 54px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.archive-hero h1 {
  font-size: clamp(46px, 5.3vw, 78px);
  line-height: 1.06;
  font-weight: 500;
  margin: 20px 0 22px;
  letter-spacing: -4px;
}
.archive-hero h1 span {
  color: var(--cyan);
}
.archive-hero p {
  max-width: 530px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.archive-count {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  margin-bottom: 6px;
  min-width: 210px;
}
.archive-count strong {
  font: 500 55px var(--display);
  display: block;
  letter-spacing: -3px;
}
.archive-count span {
  font-size: 13px;
  color: var(--muted);
}
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.section-line h2 {
  font-size: 16px;
  letter-spacing: 0;
}
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 352px;
  background: linear-gradient(120deg, #181c2c, #10141e);
  border: 1px solid #34364c;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.featured:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.featured-content {
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: start;
  z-index: 1;
}
.pills {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff04;
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.pill.violet {
  background: #aaa7f412;
  border-color: #aaa7f440;
  color: #c1bef7;
}
.featured h2 {
  font-size: 44px;
  letter-spacing: -2px;
  margin: 27px 0 5px;
}
.featured p {
  color: var(--muted);
}
.event-summary {
  display: flex;
  gap: 36px;
  margin: 25px 0;
}
.event-summary b {
  display: block;
  font: 22px var(--display);
  letter-spacing: -0.5px;
}
.event-summary small {
  font-size: 11px;
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 13px;
  background: #ffffff09;
}
.featured .button-link {
  margin-top: auto;
}
.event-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #ffffff08;
  background: radial-gradient(ellipse at 55% 50%, #6568ca28, transparent 65%);
}
.event-art svg {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.65;
}
.event-art .go-mark {
  font: bold 128px var(--display);
  letter-spacing: -14px;
  transform: skew(-8deg);
  color: #c9c8ff;
  z-index: 1;
  text-shadow: 0 8px 60px #7772dd35;
}
.go-mark small {
  display: block;
  font: 11px var(--mono);
  letter-spacing: 8px;
  text-align: center;
  transform: skew(8deg);
  margin-top: -15px;
  color: #aaa8d2;
}
.art-caption {
  position: absolute;
  bottom: 24px;
  right: 28px;
  color: #8d90b3;
  font: 10px var(--mono);
  letter-spacing: 1px;
}
.archive-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.archive-bottom h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.archive-bottom p {
  color: var(--muted);
  max-width: 560px;
  font-size: 13px;
}
.breadcrumb {
  padding: 28px 0 18px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
}
.event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.event-header h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -2px;
  margin: 8px 0;
}
.event-header p {
  color: var(--muted);
  font-size: 13px;
}
.event-mark {
  font: 700 62px var(--display);
  letter-spacing: -5px;
  color: var(--accent);
  padding: 0 28px;
  border-left: 1px solid var(--line);
  transform: skew(-6deg);
}
[data-theme="fsp-orel"] {
  --bg: #0d0913;
  --panel: #17101f;
  --panel2: #21162c;
  --line: #392943;
  --text: #f8effb;
  --muted: #bcadca;
  --accent: #d69aef;
  --cyan: #eea0c3;
  --fsp-pink: #ec8fb7;
  --fsp-art: url("/assets/fsp-orel-puzzle.jpg");
}
:root[data-theme="fsp-orel"] body {
  background: radial-gradient(ellipse at 85% 0%, #251337 0%, transparent 45rem), var(--bg);
}
.featured[data-theme="fsp-orel"] {
  grid-template-columns: minmax(0, 56%) minmax(0, 1fr);
  color: var(--text);
  border-color: #50325d;
  background: radial-gradient(ellipse at 79% 54%, #311c47, transparent 49%), #181020;
}
.featured[data-theme="fsp-orel"]:hover { border-color: var(--accent); }
.featured[data-theme="fsp-orel"] h2 {
  max-width: 19ch;
  font: 700 clamp(34px, 4vw, 53px)/1.07 var(--body);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.fsp-artwork {
  position: relative;
  align-self: stretch;
  pointer-events: none;
}
.fsp-artwork::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 340 / 308;
  transform: translate(-50%, -50%);
  background: var(--fsp-art) center / contain no-repeat;
  mask-image: radial-gradient(ellipse closest-side, #000 47%, #000e 68%, transparent 100%);
}
.fsp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 40%);
  position: relative;
  min-height: 270px;
  gap: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 54%, #321d49, transparent 44%), #181020;
  border: 1px solid #513362;
  border-radius: 20px;
}
.fsp-hero-content { position: relative; z-index: 1; padding: 36px 40px; }
.fsp-hero .eyebrow { color: #edacd4; }
.fsp-hero h1 {
  font: 750 clamp(37px, 5vw, 68px)/1.06 var(--body);
  letter-spacing: -.055em;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.fsp-hero .button-link { margin-top: 24px; }
[data-theme="fsp-orel"] .pill.violet,
[data-theme="fsp-orel"] .tabs button.active {
  background: #a86ed426;
  border-color: #a86ed460;
  color: #f3d2ff;
}
:root[data-theme="fsp-orel"] .statusbar { background: var(--panel); }
:root[data-theme="fsp-orel"] .stat.highlight { border-color: #9365ad; }
@media (max-width: 700px) {
  .featured[data-theme="fsp-orel"] {
    grid-template-columns: minmax(0, 1fr);
    background: radial-gradient(ellipse at 50% 16%, #311c47, transparent 49%), #181020;
  }
  .featured[data-theme="fsp-orel"] h2 { font-size: clamp(29px, 8vw, 40px); }
  .fsp-card-art { grid-row: 1; height: clamp(168px, 48vw, 230px); }
  .event-header.fsp-hero {
    grid-template-columns: minmax(0, 1fr);
    background: radial-gradient(ellipse at 50% 14%, #321d49, transparent 55%), #181020;
  }
  .fsp-hero .fsp-hero-content { padding: 24px 20px; }
  .fsp-hero-art { grid-row: 1; height: clamp(140px, 41vw, 200px); }
  .event-header.fsp-hero h1 { font-size: clamp(32px, 9vw, 45px); }
}
[data-theme="mctf"] {
  --bg: #111820;
  --panel: #1c252a;
  --panel2: #24323b;
  --line: #354750;
  --text: #f1f7f8;
  --muted: #afc2c9;
  --accent: #84cfdd;
  --cyan: #84cfdd;
}
.featured[data-theme="mctf"] {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 34%);
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}
.featured[data-theme="mctf"]:hover { border-color: var(--accent); }
.featured[data-theme="mctf"] h2 {
  max-width: 20ch;
  font: 700 clamp(30px, 4.2vw, 54px)/1.06 var(--display);
  letter-spacing: -.045em;
}
.mctf-card-mark {
  display: grid;
  place-items: center;
  padding: 28px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, #35475070 1px, transparent 1px) center / 36px 36px,
    linear-gradient(#35475070 1px, transparent 1px) center / 36px 36px,
    radial-gradient(ellipse at center, #29565c, #14232a 74%);
}
.mctf-logo {
  display: block;
  object-fit: contain;
  width: min(100%, 206px);
  height: auto;
  aspect-ratio: 1;
}
.event-header.mctf-header {
  padding: clamp(18px, 3vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  flex-wrap: wrap;
}
.mctf-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-width: 0;
}
.mctf-title .mctf-logo { width: clamp(54px, 8vw, 105px); flex: none; }
.mctf-header h1 {
  font: 700 clamp(29px, 4.5vw, 60px)/1.05 var(--display);
  letter-spacing: -.045em;
  margin: 8px 0 0;
}
.telemetry-frame {
  display: block;
  width: 100%;
  height: clamp(420px, 80vh, 1100px);
  border: 0;
  border-top: 1px solid var(--line);
}
[data-theme="mctf"] .pill.violet,
[data-theme="mctf"] .tabs button.active {
  background: #84cfdd16;
  border-color: #84cfdd55;
  color: #bdeaf0;
}
:root[data-theme="mctf"] body,
:root[data-theme="mctf"] .statusbar { background: var(--bg); }
:root[data-theme="mctf"] .stat.highlight {
  border-color: #84cfdd55;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}
[data-theme="mctf"] .matrix td[data-status] {
  background: color-mix(in srgb, var(--service-status, var(--line)) 38%, var(--panel));
}
[data-theme="mctf"] .matrix td[data-status="UP"] { --service-status: #36787b; }
[data-theme="mctf"] .matrix td[data-status="MUMBLE"] { --service-status: #a58132; }
[data-theme="mctf"] .matrix td[data-status="CORRUPT"] { --service-status: #ad5931; }
[data-theme="mctf"] .matrix td[data-status="DOWN"] { --service-status: #a22d58; }
.archive-notes { padding: 12px 0 0 20px; color: var(--muted); }
.archive-notes li + li { margin-top: 6px; }
@media (max-width: 700px) {
  .featured[data-theme="mctf"] { grid-template-columns: minmax(0, 1fr); }
  .mctf-card-mark {
    grid-row: 1;
    padding: 20px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .mctf-card-mark .mctf-logo { width: 112px; }
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #111820;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--muted);
}
.statusbar b {
  font-weight: 500;
  color: var(--text);
}
.statusbar.stale {
  border-color: #e3bf8170;
  background: #e3bf8109;
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: max-content;
  margin-bottom: 24px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 9px 22px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 13px;
}
.tabs button.active {
  background: #2b3042;
  color: #e6e4ff;
  box-shadow: inset 0 0 0 1px #c5bcff20;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  padding: 21px 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.stat .value {
  font: 500 34px var(--display);
  letter-spacing: -1.4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.stat .detail {
  color: var(--muted);
  font-size: 11px;
  margin-top: 9px;
}
.stat.highlight {
  border-color: #aaa7f44a;
  background: linear-gradient(120deg, #aaa7f40e, var(--panel));
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 20px;
  overflow: hidden;
}
.panel-head {
  padding: 22px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 18px;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.panel-body {
  padding: 22px 24px;
}
.chart {
  height: 340px;
  width: 100%;
}
.chart.small {
  height: 170px;
}
.chart.medium {
  height: 260px;
}
.chart-caption {
  padding: 0 24px 18px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.seg button {
  padding: 5px 10px;
  font-size: 11px;
  background: none;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
}
.seg button.active {
  background: #303345;
  color: #e0ddff;
}
select {
  font-size: 12px;
  padding: 7px 28px 7px 10px;
  max-width: 280px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 20px;
}
.equal-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.table-wrap {
  overflow: auto;
  scrollbar-color: #384255 transparent;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 500;
  text-align: right;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  text-align: right;
  padding: 12px 18px;
  border-bottom: 1px solid #ffffff05;
}
th:first-child,
td:first-child {
  text-align: left;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #ffffff03;
}
tr.ours {
  background: #aaa7f40b;
}
tr.ours td:first-child {
  box-shadow: inset 2px 0 var(--accent);
}
.team-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.rank {
  font: 11px var(--mono);
  color: var(--muted);
  width: 18px;
}
.team-name .our-tag {
  font-size: 9px;
  color: var(--accent);
  background: #aaa7f413;
  padding: 2px 5px;
  border-radius: 4px;
}
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  font-size: 12px;
}
.text-btn:hover {
  background: none;
  color: var(--accent);
}
.pressure {
  display: flex;
  flex-direction: column;
}
.pressure-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: none;
  border: 0;
  border-bottom: 1px solid #ffffff06;
  border-radius: 0;
  padding: 13px 24px;
  text-align: left;
  font-size: 12px;
}
.pressure-row .delta {
  width: 66px;
  text-align: right;
  font: 11px var(--mono);
}
.pressure-row .gap {
  font: 12px var(--mono);
}
.panel-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.alert-strip {
  border: 1px solid #e3bf8140;
  border-radius: 10px;
  background: #e3bf8106;
  margin-bottom: 22px;
}
.alert-strip summary {
  padding: 13px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.alert-strip summary:after {
  content: "↗";
  margin-left: auto;
}
.alert-strip .count {
  background: #e3bf811a;
  color: var(--warn);
  border-radius: 5px;
  padding: 1px 7px;
  font: 11px var(--mono);
}
.alert-strip.archive {
  border-color: var(--line);
  background: var(--panel);
}
.alert-list {
  padding: 0 18px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.alert {
  border: 1px solid var(--line);
  border-left: 2px solid var(--warn);
  border-radius: 7px;
  padding: 14px 16px;
  background: #10151c;
}
.alert.critical {
  border-left-color: var(--bad);
}
.alert.info {
  border-left-color: var(--cyan);
}
.alert b {
  font-size: 12px;
  font-weight: 600;
}
.alert p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.alert small {
  font-size: 10px;
}
.action {
  padding: 15px 18px;
  border-left: 2px solid var(--warn);
  background: #e3bf8105;
  border-radius: 8px;
  margin-bottom: 12px;
}
.action.critical {
  border-color: var(--bad);
}
.action .action-step {
  color: var(--text);
  font-size: 12px;
  margin-top: 10px;
}
.action p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.action h3 {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 600;
}
.neighbor {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.neighbor:last-child {
  border-bottom: 0;
}
.neighbor strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.neighbor small {
  font-size: 11px;
}
.neighbor .numbers {
  text-align: right;
}
.neighbor b {
  font: 18px var(--mono);
}
.compare-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  padding: 22px 24px;
}
.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-head h3 {
  text-transform: capitalize;
  font-size: 19px;
}
.service-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-values strong {
  display: block;
  font: 22px var(--display);
  letter-spacing: -0.6px;
}
.service-values small {
  font-size: 10px;
}
.status {
  font: 10px var(--mono);
  padding: 4px 7px;
  border-radius: 4px;
  background: #8ed5b910;
  color: var(--good);
}
.status.problem {
  background: #f38c9f12;
  color: var(--bad);
}
.service-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.checker-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.checker-facts strong { display: block; font: 19px var(--display); }
.checker-facts small { display: block; color: var(--muted); font-size: 10px; }
.checker-incidents { margin: 12px 0 18px; font-size: 11px; }
.checker-incidents summary { cursor: pointer; color: var(--accent); }
.checker-incidents p { display: flex; gap: 8px; margin: 8px 0; color: var(--muted); }
.checker-incidents b { color: var(--bad); white-space: nowrap; }
.checker-incidents span { margin-left: auto; white-space: nowrap; }
.matrix td {
  padding: 13px 18px;
}
.matrix .cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}
.cell b {
  font-weight: 500;
}
.cell small {
  font-size: 10px;
}
.feed-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid #ffffff05;
  font-size: 12px;
}
.feed-row .route small {
  display: block;
  font-size: 10px;
}
.empty {
  padding: 32px 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.loading {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--accent);
  animation: pulse 1s infinite alternate;
}
.download {
  font-size: 11px;
  color: var(--muted);
}
.download:hover {
  color: var(--text);
}
.replay {
  padding: 12px 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
}
.replay input {
  flex: 1;
  accent-color: var(--accent);
  min-width: 0;
}
.replay output {
  font: 11px var(--mono);
  min-width: 56px;
}
.legend-help {
  padding: 14px 24px;
  color: var(--muted);
  font-size: 11px;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.coverage-item {
  padding: 14px;
  background: var(--panel2);
  border-radius: 7px;
  font-size: 12px;
}
.coverage-item small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
footer {
  max-width: 1408px;
  border-top: 1px solid var(--line);
  margin: auto;
  padding: 24px 0 32px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
footer > span:first-child {
  font-family: var(--mono);
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #202633;
  border: 1px solid var(--accent);
  box-shadow: 0 12px 40px #0008;
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 360px;
  font-size: 13px;
  display: none;
  z-index: 20;
}
.view[hidden] {
  display: none;
}
.formula {
  font: 12px/1.8 var(--mono);
  color: var(--muted);
  padding: 18px 24px;
  background: #ffffff02;
}
.archive-list {
  display: grid;
  gap: 24px;
}
.archive-list .featured:not(:first-child) {
  min-height: 280px;
}
.attribution {
  font-size: 10px;
  color: var(--muted);
}
@keyframes pulse {
  to {
    opacity: 0.3;
  }
}
@media (min-width: 1600px) {
  #main,
  footer {
    max-width: 1408px;
  }
}
@media (max-width: 1504px) {
  #main,
  footer {
    margin-left: 48px;
    margin-right: 48px;
  }
}
@media (max-width: 1000px) {
  #main,
  footer {
    margin-left: 28px;
    margin-right: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .archive-hero {
    padding-top: 48px;
  }
  .event-art .go-mark {
    font-size: 104px;
  }
  .featured-content {
    padding: 28px;
  }
  .featured h2 {
    font-size: 38px;
  }
  .stat {
    padding: 18px;
  }
  .stat .value {
    font-size: 29px;
  }
  .service-card {
    padding: 18px;
  }
}
@media (max-width: 700px) {
  #main,
  footer {
    margin-left: 16px;
    margin-right: 16px;
  }
  .topbar {
    padding: 0 16px;
    min-height: 66px;
    height: auto;
    gap: 12px;
  }
  .brand {
    gap: 8px;
    flex-shrink: 0;
  }
  .brand .wave {
    width: 48px;
    height: 24px;
  }
  .brand b {
    font-size: 21px;
  }
  .product,
  .brand-divider,
  .team-link {
    display: none;
  }
  nav {
    gap: 0 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  nav a:not([hidden]):not(.team-link) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
  }
  .archive-hero {
    grid-template-columns: 1fr;
    padding: 32px 0;
    gap: 0;
  }
  .archive-hero h1 {
    font-size: clamp(37px, 12.5vw, 50px);
    letter-spacing: -2.4px;
    line-height: 1.08;
    margin: 18px 0;
  }
  .archive-count {
    display: none;
  }
  .archive-hero p {
    font-size: 14px;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured-content {
    min-width: 0;
    padding: 22px 20px;
  }
  .event-art {
    height: 210px;
    grid-row: 1;
    display: grid;
    grid-template-rows: 1fr auto;
    justify-items: center;
    padding: 18px 20px 16px;
    gap: 16px;
    border-left: 0;
    border-bottom: 1px solid #ffffff08;
  }
  .event-art .go-mark {
    font-size: 88px;
    line-height: 1;
    letter-spacing: -9px;
    align-self: center;
  }
  .go-mark small {
    margin-top: 14px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 5px;
  }
  .art-caption {
    position: static;
    z-index: 1;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
  }
  .section-line { gap: 8px; }
  .section-line h2 { font-size: 15px; }
  .section-line .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .featured .pills { gap: 6px; }
  .featured .pill { font-size: 10px; }
  .event-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
    margin: 22px 0;
  }
  .event-summary b { font-size: 21px; white-space: nowrap; }
  .event-summary small { font-size: 10px; }
  .featured .button-link { width: 100%; justify-content: space-between; min-height: 44px; }
  .featured:hover { transform: none; }

  .featured h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.15;
    letter-spacing: -1.4px;
    margin-top: 20px;
  }
  .archive-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .event-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .event-header h1 {
    font-size: 32px;
  }
  .event-mark {
    display: none;
  }
  .header-actions {
    margin-left: 0;
  }
  .statusbar {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .tabs {
    width: 100%;
    gap: 0;
  }
  .tabs button {
    flex: 1;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat .value {
    font-size: 28px;
  }
  .equal-col,
  .service-grid,
  .compare-stats {
    grid-template-columns: 1fr;
  }
  .chart {
    height: 300px;
  }
  .panel-head {
    padding: 18px 16px 0;
  }
  .panel-body {
    padding: 18px 16px;
  }
  .panel-head h2 {
    font-size: 17px;
  }
  .chart-caption {
    padding-left: 16px;
    padding-right: 16px;
    display: block;
  }
  .alert-list {
    grid-template-columns: 1fr;
  }
  .alert-strip summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    padding: 14px 16px;
  }
  .alert-strip summary > .muted {
    grid-row: 2;
    grid-column: 1 / -1;
    line-height: 1.5;
  }
  .alert-strip summary:after { grid-column: 3; grid-row: 1; }

  .coverage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .controls select {
    max-width: 220px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .pressure-row {
    padding: 12px 16px;
    gap: 10px;
  }
  .replay {
    padding-left: 16px;
    padding-right: 16px;
  }
  .feed-row {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .breadcrumb {
    padding-top: 20px;
  }
  .chart-caption span {
    display: block;
    margin-top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.featured {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--accent) 11%, #10151d),
    #10141e
  );
}
.event-art {
  background: radial-gradient(
    ellipse at 55% 50%,
    color-mix(in srgb, var(--accent) 12%, transparent),
    transparent 65%
  );
}
.event-art .go-mark {
  color: color-mix(in srgb, var(--accent) 80%, white);
}
.two-col > *,
.equal-col > *,
.service-grid > * {
  min-width: 0;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}
.screenshot-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--panel2);
  border-radius: 10px;
}
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  background: #222b38;
}
.screenshot-card figcaption {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 12px;
}
dialog {
  width: min(1400px, 94vw);
  max-width: 94vw;
  max-height: 92vh;
  padding: 0;
  border: 1px solid #465067;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #03050ad9;
  backdrop-filter: blur(6px);
}
.image-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.image-toolbar strong {
  font-size: 13px;
  font-weight: 500;
}
.image-scroll {
  max-height: calc(92vh - 72px);
  overflow: auto;
}
.image-scroll img {
  display: block;
  width: 100%;
  height: auto;
}
.image-toolbar .button-link {
  margin-left: auto;
  white-space: nowrap;
}
.image-toolbar button {
  padding: 8px 12px;
}
@media (max-width: 700px) {
  .screenshot-grid {
    padding: 16px;
  }
  .image-toolbar {
    flex-wrap: wrap;
  }
  .image-toolbar strong {
    flex-basis: 100%;
  }
}

.screenshot-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; cursor: zoom-in; }
.shot-actions { display: flex; gap: 10px; align-items: center; }
.tabs { max-width: 100%; overflow-x: auto; }
.tabs button { white-space: nowrap; }

@media (max-width: 360px) {
  .stat { padding: 14px; }
  .stat .value { font-size: 24px; letter-spacing: -1px; }
}

/* Observed round analytics */
.tempo-grid { margin-bottom: 10px; }
.tempo-grid .stat { padding: 16px 20px; }
.tempo-grid .value { font-size: 26px; }
.analytics-note { color: var(--muted); font-size: 11px; margin: 0 0 24px; line-height: 1.6; }
.round-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 24px; gap: 12px; }
.round-summary .stat { background: var(--panel2); border: 0; padding: 14px 16px; }
.round-summary .value { font-size: 26px; }
.round-summary .loss-highlight { box-shadow: inset 2px 0 var(--bad); }
.round-details { border-top: 1px solid var(--line); }
.round-details summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; font-size: 12px; cursor: pointer; }
.round-details summary span { color: var(--muted); white-space: nowrap; }
.analytics-panels { align-items: stretch; }
.analytics-panels > .panel { min-width: 0; }
.records { display: grid; gap: 14px; padding: 24px; }
.record-card { display: flex; flex-direction: column; text-align: left; gap: 12px; padding: 20px; background: var(--panel2); }
.record-card .label { font-size: 12px; color: var(--muted); }
.record-card strong { font: 500 25px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.record-card > .muted { font-size: 11px; }
.loss-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.loss-note span { color: var(--muted); }
.loss-note strong { font-weight: 500; }
@media (max-width: 700px) {
  .tempo-grid .stat { padding: 14px; }
  .tempo-grid .value { font-size: 23px; }
  .round-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 10px; }
  .round-summary .stat { padding: 12px; }
  .round-summary .value { font-size: 24px; }
  .round-details summary { padding: 14px 16px; flex-wrap: wrap; }
  .records { padding: 16px; }
  .record-card { padding: 16px; min-height: 120px; }
}
