:root {
  --paper: #F4EDE3;
  --paper-dark: #EAE0D2;
  --ink: #1C1917;
  --muted: #756B5F;
  --accent: #C23A2A;
  --accent-deep: #9E2B1E;
  --deep: #0D0B09;
  --desk: #12100D;
  --desk-2: #1B1713;
  --line: #D8CBB9;
  --highlight: #D9822B;
  --positive: #246A56;
  --silver: #C6CACF;
  --neon: #2DE2E6;
  --maxw: 1200px;
  --radius: 2px;
  --font-display: 'Arial Black', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Roboto', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 86px; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

body {
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(28, 25, 23, .028) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--ink);
}
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }
h4 { font-size: 15px; }

a { color: var(--accent); }
a:not([class]) { text-decoration-thickness: 2px; text-underline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-250%);
  background: var(--accent);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

.site-ticker {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: stretch;
  min-height: 38px;
  background: linear-gradient(180deg, #171310 0%, #0D0B09 100%);
  border-bottom: 1px solid rgba(198, 202, 207, .16);
  color: var(--paper-dark);
}

.site-ticker__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--neon);
  background: rgba(0, 0, 0, .32);
  border-right: 1px solid rgba(198, 202, 207, .18);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(194, 58, 42, .8);
}

.site-ticker__stage {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.site-ticker__run {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-ticker__run::-webkit-scrollbar { display: none; }

.js .site-ticker__run {
  width: max-content;
  overflow: visible;
  animation: ticker-scroll 52s linear infinite;
}
.js .site-ticker__run:hover {
  animation-play-state: paused;
}
.js .site-ticker__stage {
  overflow: hidden;
}

.site-ticker__list {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 22px;
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid rgba(198, 202, 207, .12);
}
.score__league {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--silver);
  text-transform: uppercase;
}
.score__teams {
  color: var(--paper);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.score__note {
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.site-ticker__dot {
  animation: ticker-pulse 2.4s infinite;
}

.site-header {
  position: relative;
  background: linear-gradient(180deg, #12100D 0%, #0D0B09 100%);
  border-bottom: 1px solid rgba(198, 202, 207, .12);
}

.site-header__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 0 20px;
}

.site-header__inner::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 3px;
  transform: skewX(-20deg);
  background: var(--accent);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--paper);
  text-decoration: none;
}

.brand__eyebrow {
  font-size: 10px;
  letter-spacing: .28em;
  color: rgba(198, 202, 207, .62);
  text-transform: uppercase;
  text-indent: .28em;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .04em;
  color: var(--paper);
}

.brand__sub {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--accent);
  text-transform: uppercase;
  text-indent: .32em;
  line-height: 1.6;
}

.brand__sub::before,
.brand__sub::after {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(198, 202, 207, .32);
  text-indent: 0;
}

.brand:hover .brand__name {
  color: #FFFFFF;
}
.brand:hover .brand__sub {
  color: #D64C3A;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(198, 202, 207, .3);
  border-radius: 2px;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle__line {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__line::before,
.nav-toggle__line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__line::before { top: -6px; }
.nav-toggle__line::after { top: 6px; }
.nav-toggle__label {
  font-size: 12px;
  letter-spacing: .16em;
}
.nav-toggle:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, .08);
}
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(194, 58, 42, .75);
  color: #FFF;
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(13, 11, 9, .97), rgba(13, 11, 9, .99));
  border-top: 1px solid rgba(198, 202, 207, .18);
  border-bottom: 1px solid rgba(198, 202, 207, .14);
  backdrop-filter: blur(8px);
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.nav-list__item {
  flex: 0 0 auto;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  color: var(--paper-dark);
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav-link__idx {
  font-size: 10px;
  font-style: normal;
  color: rgba(198, 202, 207, .48);
  letter-spacing: .08em;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.nav-link:hover {
  color: #FFFFFF;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link[aria-current="page"] {
  color: #FFFFFF;
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--neon);
  box-shadow: 0 0 8px rgba(45, 226, 230, .6);
}

.site-footer {
  background: linear-gradient(180deg, #0D0B09 0%, #12100D 45%, #1B1713 100%);
  color: #B7AE9F;
  border-top: 3px solid var(--accent);
}

.site-footer__ribbon {
  background: rgba(194, 58, 42, .12);
  border-bottom: 1px solid rgba(198, 202, 207, .15);
}

.site-footer__ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0;
}

.site-footer__ribbon-label {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--silver);
  text-transform: uppercase;
}

.site-footer__ribbon-link {
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 202, 207, .4);
  padding-bottom: 2px;
}
.site-footer__ribbon-link:hover {
  color: #FFF;
  border-bottom-color: var(--accent);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 44px 0 36px;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--paper);
  line-height: 1.2;
}

.site-footer__tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--accent);
}

.site-footer__note {
  margin-top: 14px;
  max-width: 38em;
  font-size: 13px;
  line-height: 1.8;
  color: #A79D8E;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__col li {
  margin: 9px 0;
}
.site-footer__col a {
  color: #C9BFB0;
  font-size: 14px;
  text-decoration: none;
}
.site-footer__col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.site-footer__head {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(198, 202, 207, .16);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--silver);
  text-transform: uppercase;
}

.site-footer__contact li {
  font-size: 13px;
  line-height: 1.9;
  color: #A79D8E;
  font-variant-numeric: tabular-nums;
}

.site-footer__bar {
  border-top: 1px solid rgba(198, 202, 207, .14);
}

.site-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 0;
  font-size: 12px;
  color: #8A8174;
}

.site-footer__bar-time {
  letter-spacing: .06em;
}

#main-content {
  scroll-margin-top: 96px;
}

.page {
  padding: 32px 0 80px;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
}
.sec-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}
.sec-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.page-head {
  padding: 36px 0 10px;
}

.page-title {
  margin-top: 8px;
}

.page-sub {
  margin-top: 10px;
  max-width: 46em;
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb [aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover {
  background: rgba(28, 25, 23, .05);
}
.btn--primary {
  background: var(--accent);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--accent-deep);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(194, 58, 42, .28);
}
.btn--ghost {
  border-color: currentColor;
}
.btn--ghost:hover {
  background: var(--paper-dark);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-dark);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag--accent {
  background: rgba(194, 58, 42, .1);
  border-color: rgba(194, 58, 42, .3);
  color: var(--accent);
}
.tag--positive {
  background: rgba(36, 106, 86, .12);
  border-color: rgba(36, 106, 86, .3);
  color: var(--positive);
}

.panel {
  background: var(--paper-dark);
  border-left: 3px solid var(--accent);
  padding: 22px 24px;
}
.panel + .panel {
  margin-top: 18px;
}
.panel__index {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.panel__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.panel__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.data-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.data-num--accent {
  color: var(--accent);
}
.data-num--positive {
  color: var(--positive);
}

.toc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.toc__link {
  display: block;
  margin-left: -1px;
  padding: 8px 12px 8px 16px;
  border-left: 3px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.toc__link:hover {
  color: var(--ink);
}
.toc__link.is-active {
  border-left-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.content-side .toc {
  position: sticky;
  top: 84px;
}

.accordion {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.accordion + .accordion {
  border-top: none;
}
.accordion__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.accordion__head::-webkit-details-marker {
  display: none;
}
.accordion__head::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
.accordion[open] .accordion__head::after {
  content: '−';
}
.accordion[open] .accordion__head {
  color: var(--accent);
}
.accordion__body {
  padding: 0 6px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--deep);
  background-image:
    linear-gradient(rgba(198, 202, 207, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 202, 207, .07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 6px 12px;
  background: rgba(13, 11, 9, .85);
  border-left: 3px solid var(--accent);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .05em;
}

.prose {
  font-size: 15px;
  line-height: 1.8;
}
.prose h2 {
  margin: 1.8em 0 .5em;
}
.prose h3 {
  margin: 1.6em 0 .4em;
}
.prose p {
  margin-bottom: 1em;
}
.prose a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose ul {
  margin: 0 0 1em 1.2em;
}
.prose li {
  margin-bottom: .4em;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 18px;
  background: var(--paper-dark);
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.prose .media-frame {
  margin: 1.6em 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.8em 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.js [data-reveal="left"] {
  transform: translateX(-14px);
}
.js [data-reveal="right"] {
  transform: translateX(14px);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .content-side .toc {
    position: static;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .container {
    padding-inline: 16px;
  }

  .site-ticker__badge {
    padding: 0 12px;
  }
  .score {
    padding: 8px 16px;
    font-size: 12px;
  }

  .site-header__inner {
    padding: 18px 0 14px;
  }

  .brand {
    gap: 3px;
  }
  .brand__name {
    font-size: 26px;
  }
  .brand__eyebrow {
    font-size: 9px;
  }
  .brand__sub {
    font-size: 11px;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    position: static;
    max-height: 0;
    overflow: hidden;
    transition: max-height .24s ease;
  }
  .site-nav[data-open="true"] {
    max-height: calc(100vh - 120px);
    overflow: auto;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .nav-link {
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid rgba(198, 202, 207, .12);
    font-size: 15px;
  }
  .nav-link__idx {
    order: 2;
  }
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer__ribbon-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .page {
    padding: 24px 0 56px;
  }
  .score__league {
    font-size: 10px;
  }
  .score__note {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .nav-link::after {
    transition: transform .2s ease;
  }
  .nav-link {
    transition: color .18s ease;
  }
  .btn,
  .skip-link {
    transition-property: background, color, border-color, box-shadow, transform;
    transition-duration: .16s;
    transition-timing-function: ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html {
    scroll-behavior: auto;
  }
  .site-ticker__run {
    animation: none !important;
    width: auto !important;
    overflow-x: auto;
  }
  .site-ticker__dot {
    animation: none !important;
  }
  .site-nav {
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .skip-link {
    transition: none !important;
  }
}
