:root {
  --bg: #17212b;
  --bg-panel: #223140;
  --bg-panel-strong: #293a4b;
  --line: rgba(196, 216, 228, 0.18);
  --text: #f2f7fa;
  --muted: #a6b6c2;
  --accent: #45c2da;
  --accent-2: #b8df61;
  --accent-3: #ee985d;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  --radius-card: 12px;
  --radius-control: 10px;
  --radius-panel: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #18232e 0%, #1b2834 48%, #17212b 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

a {
  color: inherit;
}

.site-shell,
.subpage {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  position: relative;
  padding: 28px 0 14px;
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hero__topline .hero__eyebrow {
  margin: 0;
}

.hero__methodology {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (min-width: 901px) {
  .hero__topline {
    display: block;
    padding-right: 160px;
  }

  .hero__methodology {
    position: absolute;
    top: 82px;
    right: 18px;
  }
}

.section-nav {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  gap: 6px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(196, 216, 228, 0.18);
  border-radius: var(--radius-card);
  background: rgba(30, 43, 57, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--text);
  background: rgba(69, 194, 218, 0.11);
  outline: none;
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font: 700 0.95rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  align-items: start;
}

.hero h1,
.subpage h1,
.section h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.92;
}

.hero__lede {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero__main {
  max-width: 760px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(36, 51, 66, 0.96), rgba(30, 43, 57, 0.98));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero__meta {
  width: min(100%, 380px);
  padding: 18px 20px;
  justify-self: end;
}

.hero__meta .stat {
  gap: 4px;
}

.hero__meta .stat__value {
  color: rgba(237, 245, 251, 0.86);
  font: 700 1.08rem/1.3 "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
}

.hero__meta .stat__label {
  font-size: 0.8rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat__value {
  font: 700 2rem/1 "Barlow Condensed", sans-serif;
}

.hero__method,
.section__copy,
.site-footer__copy,
.subpage .prose p,
.subpage .prose li {
  color: var(--muted);
  line-height: 1.65;
}

.hero__actions,
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero__actions {
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero__meta .button {
  padding: 10px 14px;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(41, 211, 242, 0.45);
  background: rgba(41, 211, 242, 0.08);
}

.button--accent {
  border-color: rgba(69, 194, 218, 0.45);
  background: rgba(69, 194, 218, 0.13);
}

.is-hidden {
  display: none;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 78px;
}

.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.section--split > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 78px;
}

.section--split .section__header {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.section--split .section__header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section__header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section__copy {
  max-width: 420px;
  margin: 0;
}

.section__copy--wide {
  max-width: 560px;
}

.section__copy p {
  margin: 0;
}

.section__copy p + p {
  margin-top: 10px;
}

.section__hint {
  color: rgba(152, 173, 186, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.explainer-card {
  padding: 16px 18px;
}

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

.explainer-item {
  padding: 12px 14px;
  border: 1px solid rgba(196, 216, 228, 0.12);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.025);
}

.explainer-disclosure summary,
.explainer-note-disclosure summary,
.goat-mobile-card__details summary {
  list-style: none;
}

.explainer-disclosure summary::-webkit-details-marker,
.explainer-note-disclosure summary::-webkit-details-marker,
.goat-mobile-card__details summary::-webkit-details-marker {
  display: none;
}

.explainer-disclosure summary {
  pointer-events: none;
  cursor: default;
}

.explainer-item h3 {
  margin: 0 0 6px;
  font: 700 1.18rem/1 "Barlow Condensed", sans-serif;
}

.explainer-item p,
.explainer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.explainer-note {
  margin-top: 10px;
}

.explainer-note-disclosure summary {
  display: none;
}

.table-card,
.timeline-card {
  padding: 18px;
}

.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -4px;
  padding: 0 4px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 211, 242, 0.35) rgba(255, 255, 255, 0.04);
}

.table-scroll::-webkit-scrollbar,
.timeline-scroll::-webkit-scrollbar {
  height: 10px;
}

.table-scroll::-webkit-scrollbar-track,
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-control);
}

.table-scroll::-webkit-scrollbar-thumb,
.timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(41, 211, 242, 0.28);
  border-radius: var(--radius-control);
}

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

.data-table {
  width: max-content;
  min-width: 100%;
}

.data-table--goat {
  width: 100%;
  table-layout: fixed;
  min-width: 820px;
}

.data-table--goat th:nth-child(1),
.data-table--goat td:nth-child(1) {
  width: 9%;
}

.data-table--goat th:nth-child(2),
.data-table--goat td:nth-child(2) {
  width: 27%;
}

.data-table--goat th:nth-child(3),
.data-table--goat td:nth-child(3),
.data-table--goat th:nth-child(4),
.data-table--goat td:nth-child(4) {
  width: 11%;
}

.data-table--goat th:nth-child(5),
.data-table--goat td:nth-child(5) {
  width: 15%;
}

.data-table--goat th:nth-child(6),
.data-table--goat td:nth-child(6) {
  width: 13%;
}

.data-table--goat th:nth-child(7),
.data-table--goat td:nth-child(7) {
  width: 14%;
}

.data-table--goat th:nth-child(n+3),
.data-table--goat td:nth-child(n+3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.goat-player-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: help;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.goat-player-trigger:hover,
.goat-player-trigger:focus-visible {
  color: #f2f7fb;
  text-shadow: 0 0 12px rgba(41, 211, 242, 0.12);
  outline: none;
}

.goat-player-trigger--mobile {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(183, 212, 227, 0.1);
  font-size: 0.95rem;
}

th {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(41, 211, 242, 0.04);
}

.rank-pill {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(185, 255, 79, 0.12);
  color: var(--accent-2);
  font: 700 0.95rem/1 "Barlow Condensed", sans-serif;
}

.metric-strong {
  color: var(--accent);
  font-weight: 700;
}

.title-points-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.title-points-trigger:hover,
.title-points-trigger:focus-visible {
  color: var(--accent-2);
  outline: none;
}

.goat-mobile-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: 100%;
}

.goat-mobile-card {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(196, 216, 228, 0.12);
  background: linear-gradient(180deg, rgba(36, 51, 66, 0.96), rgba(30, 43, 57, 0.98));
}

.goat-mobile-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.goat-mobile-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.goat-mobile-card__name {
  font: 700 1.45rem/1 "Barlow Condensed", sans-serif;
  word-break: break-word;
}

.goat-mobile-card__label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.goat-mobile-card__score {
  flex: 0 0 auto;
  color: var(--accent);
  font: 700 1.5rem/1 "Barlow Condensed", sans-serif;
  text-align: right;
}

.goat-mobile-card__details {
  border-top: 1px solid rgba(196, 216, 228, 0.1);
  padding-top: 10px;
}

.goat-mobile-card__details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.goat-mobile-card__details summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.goat-mobile-card__details[open] summary {
  margin-bottom: 10px;
}

.goat-mobile-card__details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.goat-mobile-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.goat-mobile-metric {
  padding: 10px 12px;
  border-radius: var(--radius-panel);
  border: 1px solid rgba(196, 216, 228, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.goat-mobile-metric__label,
.goat-mobile-metric__value {
  display: block;
}

.goat-mobile-metric__label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.goat-mobile-metric__value {
  font: 700 1.05rem/1 "Barlow Condensed", sans-serif;
}

.current-list {
  display: grid;
  gap: 0;
}

.current-list__header,
.current-list__row {
  display: grid;
  grid-template-columns: 86px minmax(150px, 1fr) 116px 116px;
  gap: 18px;
  align-items: center;
}

.current-list__header {
  min-height: 52px;
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(183, 212, 227, 0.12);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-items: start;
}

.current-list__header span:nth-child(3),
.current-list__header span:nth-child(4) {
  text-align: right;
}

.current-list__events-heading {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  justify-self: end;
  line-height: 1.2;
}

.current-list__row {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(183, 212, 227, 0.1);
  transition: background 180ms ease;
}

.current-list__row:last-child {
  border-bottom: 0;
}

.current-list__row:hover {
  background: rgba(41, 211, 242, 0.04);
}

.current-list__row--interactive {
  cursor: pointer;
}

.current-list__row--interactive:focus-visible {
  outline: 1px solid rgba(41, 211, 242, 0.45);
  outline-offset: 3px;
}

.current-list__player {
  min-width: 0;
  font-weight: 700;
}

.current-list__rating,
.current-list__events {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.current-list__rating strong {
  color: var(--accent);
}

.current-list__mobile-label {
  display: none;
}

.timeline-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.timeline-stat {
  padding: 16px 18px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(196, 216, 228, 0.14);
  background: linear-gradient(180deg, rgba(37, 53, 68, 0.96), rgba(30, 43, 57, 0.98));
}

.timeline-stat__label,
.timeline-stat__meta {
  display: block;
}

.timeline-stat__label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-stat__value {
  display: block;
  margin-bottom: 6px;
  font: 700 1.55rem/1 "Barlow Condensed", sans-serif;
}

.timeline-stat__meta {
  color: var(--accent-2);
  font-size: 0.92rem;
}

.timeline-ribbon-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.timeline-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 4px 6px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 211, 242, 0.35) rgba(255, 255, 255, 0.04);
}

.timeline-ribbon-stage {
  min-width: 100%;
  padding-top: 8px;
}

.timeline-ribbon {
  --ribbon-height: 84px;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: var(--ribbon-height);
  overflow: visible;
  border-radius: var(--radius-card);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-segment {
  position: relative;
  flex: var(--segment-weight, 1) 1 0;
  min-width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  height: calc(var(--ribbon-height) - 8px);
  padding: 10px 4px;
  border-right: 1px solid rgba(15, 23, 31, 0.52);
  background:
    linear-gradient(
      135deg,
      hsla(var(--player-hue), 42%, 58%, calc(0.07 - (var(--accent-index, 0) * 0.006))),
      hsla(var(--player-hue-2), 38%, 54%, calc(0.035 + (var(--accent-index, 0) * 0.004)))
    ),
    linear-gradient(180deg, rgba(38, 52, 66, 0.96), rgba(29, 41, 54, 0.99));
  box-shadow: inset 0 1px 0 hsla(var(--player-hue), 45%, 72%, 0.08);
  transition: transform 180ms ease, filter 180ms ease;
  outline: none;
}

.timeline-segment--compact {
  padding-left: 0;
  padding-right: 0;
}

.timeline-segment--dominant {
  height: var(--ribbon-height);
  box-shadow:
    inset 0 1px 0 hsla(var(--player-hue), 45%, 72%, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.12);
}

.timeline-segment:hover {
  z-index: 1;
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.timeline-segment:focus-visible {
  z-index: 2;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 hsla(var(--player-hue), 45%, 72%, 0.08),
    0 0 0 2px rgba(41, 211, 242, 0.34);
}

.timeline-segment:last-child {
  border-right: 0;
}

.timeline-segment__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 7px 6px 6px;
  border-radius: var(--radius-control);
  background: rgba(15, 23, 31, 0.34);
  border: 1px solid hsla(var(--player-hue), 40%, 68%, 0.08);
  color: var(--text);
  font: 700 clamp(0.72rem, 1.2vw, 1rem)/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-segment__label--initials {
  text-transform: uppercase;
}

.timeline-floating-tooltip {
  position: fixed;
  z-index: 40;
  display: none;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 15px 17px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(196, 216, 228, 0.18);
  background: linear-gradient(180deg, rgba(38, 53, 68, 0.99), rgba(29, 41, 54, 0.995));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.timeline-floating-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 14px;
  height: 14px;
  background: rgba(29, 41, 54, 0.99);
  border-right: 1px solid rgba(196, 216, 228, 0.14);
  border-bottom: 1px solid rgba(196, 216, 228, 0.14);
  transform: translateX(-50%) rotate(45deg);
}

.timeline-floating-tooltip__eyebrow {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-floating-tooltip__player {
  margin-bottom: 8px;
  font: 700 1.55rem/1 "Barlow Condensed", sans-serif;
}

.timeline-floating-tooltip__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-ribbon__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.title-floating-tooltip {
  position: fixed;
  z-index: 45;
  display: none;
  min-width: 260px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(196, 216, 228, 0.18);
  background: linear-gradient(180deg, rgba(38, 53, 68, 0.99), rgba(29, 41, 54, 0.995));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.title-floating-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(29, 41, 54, 0.99);
  border-right: 1px solid rgba(196, 216, 228, 0.14);
  border-bottom: 1px solid rgba(196, 216, 228, 0.14);
  transform: translateX(-50%) rotate(45deg);
}

.title-floating-tooltip[data-position="above"]::after {
  top: 100%;
}

.title-floating-tooltip[data-position="below"]::after {
  top: -8px;
  transform: translateX(-50%) rotate(225deg);
}

.title-floating-tooltip__eyebrow {
  margin-bottom: 8px;
  color: var(--accent-3);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.title-floating-tooltip__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.title-floating-tooltip__player {
  font: 700 1.45rem/1 "Barlow Condensed", sans-serif;
}

.title-floating-tooltip__list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.title-floating-tooltip__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 2px;
}

.title-floating-tooltip__item--group-start {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(196, 216, 228, 0.14);
}

.title-floating-tooltip__badge {
  display: inline-flex;
  min-width: 40px;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 999px;
  font: 700 0.82rem/1 "Barlow Condensed", sans-serif;
}

.title-floating-tooltip__badge--1 {
  background: rgba(185, 255, 79, 0.12);
  color: var(--accent-2);
}

.title-floating-tooltip__badge--2 {
  background: rgba(41, 211, 242, 0.12);
  color: var(--accent);
}

.title-floating-tooltip__badge--3 {
  background: rgba(255, 140, 66, 0.12);
  color: var(--accent-3);
}

.title-floating-tooltip__item-copy {
  min-width: 0;
}

.title-floating-tooltip__item-name {
  font-weight: 700;
  line-height: 1.35;
}

.title-floating-tooltip__item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.title-floating-tooltip__tag {
  color: var(--accent-2);
}

.goat-player-tooltip__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.goat-player-tooltip__stat {
  margin: 0;
}

.goat-player-tooltip__stat dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.goat-player-tooltip__stat dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.goat-player-tooltip__stat--wide {
  grid-column: 1 / -1;
}

.timeline-axis {
  position: relative;
  height: 34px;
  margin: 2px 4px 0;
  border-top: 1px solid rgba(183, 212, 227, 0.08);
}

.timeline-axis__tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.timeline-axis__line {
  width: 1px;
  height: 8px;
  background: rgba(183, 212, 227, 0.18);
}

.timeline-axis__label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.timeline-axis__tick--start {
  transform: none;
}

.timeline-axis__tick--end {
  transform: translateX(-100%);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.profile-card {
  padding: 20px;
}

.profile-card h3 {
  margin: 0 0 12px;
  font: 700 1.8rem/1 "Barlow Condensed", sans-serif;
}

.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(183, 212, 227, 0.08);
}

.mini-list__row--interactive {
  margin: 0 -8px;
  padding-inline: 8px;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mini-list__row--interactive:hover,
.mini-list__row--interactive:focus-visible {
  outline: none;
  background: rgba(41, 211, 242, 0.05);
  border-color: rgba(41, 211, 242, 0.16);
  transform: translateY(-1px);
}

.mini-list__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mini-rank-pill {
  display: inline-flex;
  min-width: 26px;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(185, 255, 79, 0.1);
  color: var(--accent-2);
  font: 700 0.8rem/1 "Barlow Condensed", sans-serif;
}

.mini-list__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-list__value {
  color: var(--accent);
  font-weight: 700;
}

.mini-list__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.mini-list__value-label {
  display: none;
}

.site-footer {
  margin-top: 32px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.site-footer__links {
  margin-top: 0;
  align-items: center;
  color: var(--muted);
}

.subpage-body {
  background: linear-gradient(180deg, #18232e 0%, #1b2834 52%, #17212b 100%);
}

.subpage {
  max-width: 860px;
}

.subpage__back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  text-decoration: none;
}

.prose {
  padding: 24px;
}

.prose h2 {
  margin-top: 26px;
  font-size: 1.9rem;
}

.prose ul {
  padding-left: 20px;
}

.notice {
  padding: 18px;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(255, 140, 66, 0.4);
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero__grid,
  .section--split,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section--split .section__header {
    display: flex;
  }

  .site-shell,
  .subpage {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 22px;
  }

  .explainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    gap: 12px;
  }

  .timeline-summary {
    grid-template-columns: 1fr;
  }

  .timeline-ribbon-stage {
    min-width: 640px;
    padding-top: 4px;
  }

  .timeline-ribbon {
    --ribbon-height: 72px;
  }

  .timeline-segment {
    height: calc(var(--ribbon-height) - 4px);
  }

  .timeline-tooltip {
    min-width: 190px;
    padding: 12px 14px;
  }

  th,
  td {
    padding: 10px 8px;
    font-size: 0.88rem;
  }

  th,
  td,
  .timeline-axis__label,
  .timeline-segment__label {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .subpage {
    width: calc(100% - 16px);
  }

  .section-nav {
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
    overflow-x: visible;
  }

  .section-nav a {
    flex: 1 1 calc(33.333% - 5px);
    padding: 7px 8px;
    text-align: center;
  }

  .section,
  .section--split > div {
    scroll-margin-top: 112px;
  }

  .explainer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .explainer-item {
    padding: 0;
  }

  .explainer-disclosure summary,
  .explainer-note-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    cursor: pointer;
    pointer-events: auto;
  }

  .explainer-disclosure summary::after,
  .explainer-note-disclosure summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    color: var(--muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
  }

  .explainer-disclosure[open] summary::after,
  .explainer-note-disclosure[open] summary::after {
    transform: translateY(2px) rotate(225deg);
  }

  .explainer-item h3 {
    margin: 0;
  }

  .explainer-disclosure p,
  .explainer-note {
    padding: 0 14px 14px;
  }

  .explainer-note-disclosure {
    margin-top: 8px;
    border: 1px solid rgba(196, 216, 228, 0.12);
    border-radius: var(--radius-panel);
    background: rgba(255, 255, 255, 0.025);
  }

  .explainer-note-disclosure summary {
    color: var(--accent-2);
    font: 700 1.15rem/1 "Barlow Condensed", sans-serif;
  }

  .explainer-note {
    margin-top: 0;
  }

  .hero__meta,
  .table-card,
  .timeline-card,
  .profile-card,
  .site-footer,
  .prose {
    padding: 16px;
  }

  .section__header h2 {
    font-size: clamp(2.2rem, 10vw, 2.7rem);
  }

  .section__copy,
  .hero__lede {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .rank-pill {
    min-width: 30px;
    padding: 5px 8px;
  }

  .goat-mobile-card__header {
    align-items: center;
  }

  .goat-mobile-card__score {
    font-size: 1.35rem;
  }

  .current-list {
    gap: 10px;
  }

  .current-list__header {
    display: none;
  }

  .current-list.current-list--titles .current-list__header {
    display: none;
  }

  .current-list__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "rank player rating"
      "rank player events";
    gap: 4px 12px;
    padding: 13px 14px;
    border: 1px solid rgba(196, 216, 228, 0.12);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.025);
  }

  .current-list__rank {
    grid-area: rank;
    align-self: center;
  }

  .current-list__player {
    grid-area: player;
    align-self: center;
    font: 700 1.25rem/1 "Barlow Condensed", sans-serif;
  }

  .current-list__rating {
    grid-area: rating;
  }

  .current-list__events {
    grid-area: events;
    color: var(--muted);
    font-size: 0.88rem;
  }

  .current-list__rating,
  .current-list__events {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
  }

  .current-list__mobile-label {
    display: inline;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .profile-card .mini-list {
    display: grid;
    gap: 10px;
  }

  .profile-card .mini-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(196, 216, 228, 0.12);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.025);
  }

  .profile-card .mini-list__row--interactive {
    margin: 0;
    padding: 13px 14px;
  }

  .profile-card .mini-list__identity {
    gap: 12px;
  }

  .profile-card .mini-rank-pill {
    min-width: 30px;
    padding: 5px 8px;
    font-size: 0.95rem;
  }

  .profile-card .mini-list__name {
    font: 700 1.25rem/1 "Barlow Condensed", sans-serif;
  }

  .profile-card .mini-list__score {
    justify-content: flex-end;
  }

  .profile-card .mini-list__value-label {
    display: inline;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .profile-card .mini-list__value {
    color: var(--accent);
  }

  .timeline-ribbon-stage {
    min-width: 700px;
    padding-top: 4px;
  }

  .timeline-axis {
    margin-left: 2px;
    margin-right: 2px;
  }

  .timeline-ribbon__hint {
    font-size: 0.86rem;
  }
}
