/* ==========================================================================
   亚博竞技 · /assets/site.css
   深夜数据作战室 · 堆叠切角画板 · 冷暖对撞色系
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
dl { margin: 0; }

/* ---------- tokens ---------- */
:root {
  --ink: #0A1220;
  --ink-2: #12203A;
  --steel: #7C8DA6;
  --mist: #E8EDF5;
  --orange: #FF6A2B;
  --pulse: #FF3B2F;
  --cyan: #21E6C1;
  --paper: #F2EDE4;

  --line: rgba(124, 141, 166, .26);
  --line-strong: rgba(124, 141, 166, .5);
  --grid: rgba(124, 141, 166, .075);

  --cut: 18px;
  --rail-w: 84px;
  --wrap: 1240px;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(900px 520px at 78% -12%, rgba(33, 230, 193, .10), transparent 62%),
    radial-gradient(760px 460px at 6% 2%, rgba(255, 106, 43, .10), transparent 60%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--mist);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  padding-left: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

strong, b { font-weight: 700; color: var(--mist); }
::selection { background: var(--orange); color: #1a0a02; }

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

/* ---------- utilities ---------- */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.measure { max-width: 66ch; }
.flow > * + * { margin-top: 24px; }
.micro {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 130;
  padding: 10px 16px;
  background: var(--cyan);
  color: #04211b;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: top .16s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .98), rgba(10, 18, 32, .92)),
    repeating-linear-gradient(-45deg, rgba(124, 141, 166, .08) 0 1px, transparent 1px 11px);
  border-bottom: 1px solid var(--line-strong);
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(124, 141, 166, .16);
  z-index: 70;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

.masthead {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 0 14px;
}
.masthead__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.masthead__side { color: var(--steel); }
.masthead__side--left { justify-self: start; }
.masthead__side--right {
  justify-self: end;
  color: var(--mist);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.masthead__side--right:hover { color: var(--orange); border-color: var(--orange); }
.masthead__tagline { color: var(--steel); }

.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__glyph {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  letter-spacing: .06em;
  color: #1a0a02;
  background: var(--orange);
  padding: 3px 9px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--mist);
}
.brand--footer .brand__name { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.brand:hover .brand__name { color: var(--cyan); }

.header-rule {
  height: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(-45deg, rgba(124, 141, 166, .3) 0 1px, transparent 1px 9px);
  opacity: .85;
}

.nav-bar {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transition: transform .16s var(--ease), opacity .16s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.site-nav__link:hover { color: var(--mist); border-bottom-color: var(--steel); }
.site-nav__link[aria-current="page"] { color: var(--mist); border-bottom-color: var(--orange); }

.utility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
}
.utility__label { color: var(--steel); margin-right: 2px; }

.chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.chip:hover { border-color: var(--cyan); color: var(--mist); }
.chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: #04211b; }
.chip--note[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: #211f1a; }

/* ---------- league rail ---------- */
.league-rail {
  width: min(100% - 32px, var(--wrap));
  margin: 0 auto 12px;
  padding: 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.league-rail::-webkit-scrollbar { display: none; }
.league-rail__title { color: var(--cyan); flex: 0 0 auto; }
.league-rail__hint { color: var(--steel); flex: 0 0 auto; }
.league-rail__list { display: flex; gap: 6px; flex: 0 0 auto; }

.league-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.league-key:hover { border-color: var(--orange); transform: translateY(-2px); }
.league-key__code { font-weight: 700; letter-spacing: .1em; color: var(--mist); }
.league-key__status { color: inherit; }
.league-key__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel);
  opacity: .55;
}
.league-key--pending .league-key__dot { background: var(--orange); opacity: .9; }
.league-key[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(33, 230, 193, .12);
  color: var(--mist);
}
.league-key[aria-pressed="true"] .league-key__dot {
  background: var(--cyan);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(33, 230, 193, .18);
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, rgba(18, 32, 58, .92), rgba(10, 18, 32, 1));
  border-top: 1px solid var(--line-strong);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, rgba(124, 141, 166, .3) 0 1px, transparent 1px 9px);
}
.footer-grid {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(32px, 5vw, 56px) 0 clamp(22px, 3vw, 32px);
}
.footer-col { min-width: 0; }
.footer-col--brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.footer-index { display: grid; gap: 2px; }
.footer-index a {
  display: inline-block;
  padding: 6px 0;
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.footer-index a:hover { color: var(--orange); border-bottom-color: var(--orange); transform: translateY(-1px); }

.footer-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 14px;
}
.footer-contact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--steel);
  padding-top: 3px;
}
.footer-contact dd { color: var(--mist); word-break: break-word; }

.footer-note { color: var(--steel); font-size: 14px; line-height: 1.7; }
.footer-note--small { font-size: 13px; margin-top: 10px; }
.footer-meta {
  color: var(--steel);
  border-left: 2px solid var(--orange);
  padding-left: 10px;
  text-transform: none;
  letter-spacing: .02em;
}

.footer-legal { color: var(--mist); font-size: 14px; }
.footer-legal__links { display: grid; gap: 2px; margin-top: 10px; }
.footer-legal__links a {
  display: inline-block;
  padding: 5px 0;
  color: var(--steel);
  transition: color .16s var(--ease);
}
.footer-legal__links a:hover { color: var(--cyan); }

.footer-base {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line);
}

/* ---------- shared content components ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 32, 58, .96), rgba(10, 18, 32, .96));
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}
.panel--cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.panel--flat { clip-path: none; }
.panel:hover { transform: translateY(-2px); border-color: var(--orange); }

.panel__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #04211b;
  background: var(--cyan);
  padding: 2px 8px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}
.panel__title { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }

.rule-diagonal {
  height: 14px;
  margin-block: clamp(20px, 3vw, 40px);
  background: repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 8px);
}

.layout-3col { display: grid; grid-template-columns: 1fr; gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }

.stat { display: flex; flex-direction: column; gap: 3px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--mist);
}
.stat__value--orange { color: var(--orange); }
.stat__value--cyan { color: var(--cyan); }
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  background: var(--ink-2);
  border-left: 4px solid var(--orange);
  color: var(--mist);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.2;
}
.score--live { border-left-color: var(--pulse); color: var(--pulse); }
.score__sep { color: var(--steel); font-weight: 400; }

@keyframes score-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 47, .55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 59, 47, 0); }
}
.is-pulse { animation: score-pulse 1.2s var(--ease) 3; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--cyan { background: var(--cyan); border-color: var(--cyan); color: #04211b; }
.tag--orange { background: var(--orange); border-color: var(--orange); color: #1a0a02; }
.tag--pulse { background: var(--pulse); border-color: var(--pulse); color: #fff; }

.field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.field__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.field__value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--mist); }

.marginalia {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(10, 18, 32, .18);
  color: #211f1a;
  font-size: 13px;
  line-height: 1.7;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.marginalia__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6a6357;
  margin-bottom: 6px;
}
.marginalia a { border-bottom: 1px solid #6a6357; }

/* ---------- media / figure base ---------- */
.figure {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 141, 166, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 141, 166, .12) 1px, transparent 1px),
    repeating-linear-gradient(-45deg, rgba(124, 141, 166, .07) 0 1px, transparent 1px 12px);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  z-index: 0;
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.62) contrast(1.08) brightness(.84);
  z-index: 1;
}
.figure__badge {
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 2;
  padding: 3px 9px;
  background: var(--ink);
  border-left: 3px solid var(--orange);
  color: var(--mist);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.figure__tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: var(--cyan);
  color: #04211b;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}
.figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--steel);
}
.figure--hover .figure__media { transition: transform .16s var(--ease); }
.figure--hover:hover .figure__media { transform: scale(1.02); }

/* ---------- buttons / breadcrumb ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 32, 58, .7);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: transform .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--orange); color: var(--orange); }
.btn--solid { background: var(--orange); border-color: var(--orange); color: #1a0a02; font-weight: 700; }
.btn--solid:hover { background: var(--cyan); border-color: var(--cyan); color: #04211b; }
.btn--ghost { background: transparent; }

.breadcrumb { margin-block: 18px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--steel);
}
.breadcrumb__list li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(8px); }
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav__list { gap: 14px; }
  .utility { flex: 1 1 100%; overflow-x: auto; }
  .utility::-webkit-scrollbar { display: none; }
}

@media (max-width: 880px) {
  .masthead { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 16px 0 12px; }
  .masthead__center { order: -1; }
  .masthead__side--left, .masthead__side--right { justify-self: center; }

  .nav-toggle { display: inline-flex; }
  .nav-bar { align-items: flex-start; }
  .site-nav { display: none; flex: 1 1 100%; order: 3; }
  .site-nav[data-open="true"],
  .site-header[data-open="true"] .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; overflow: visible; padding: 6px 0 0; }
  .site-nav__link {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__link[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }
  .utility { order: 2; flex: 1 1 auto; }
  .utility__label { display: none; }
}

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

@media (min-width: 900px) {
  .layout-3col { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  body { padding-left: var(--rail-w); }

  .league-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--rail-w);
    margin: 0;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border-top: 0;
    border-right: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(18, 32, 58, .96), rgba(10, 18, 32, .98));
    overflow: visible;
    z-index: 50;
  }
  .league-rail__list { flex-direction: column; gap: 8px; }
  .league-rail__title, .league-rail__hint {
    writing-mode: vertical-rl;
    letter-spacing: .24em;
  }
  .league-key {
    flex-direction: column;
    gap: 5px;
    width: 58px;
    padding: 9px 4px;
    text-align: center;
  }
  .league-key__status { font-size: 9px; letter-spacing: 0; }

  .layout-3col { grid-template-columns: 210px minmax(0, 1fr) 300px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal, .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
  .panel:hover, .league-key:hover, .btn:hover, .footer-index a:hover { transform: none; }
}
