:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --bg: #071011;
  --panel: rgba(13, 29, 32, .88);
  --panel-2: rgba(18, 43, 47, .78);
  --ink: #eefdf8;
  --muted: #88a8a3;
  --line: rgba(113, 255, 222, .18);
  --line-2: rgba(255,255,255,.08);
  --cyan: #55f4d2;
  --blue: #5fa8ff;
  --lime: #c7ff6b;
  --hot: #ff5f86;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(85,244,210,.06) 1px, transparent 1px 74px),
    linear-gradient(0deg, rgba(85,244,210,.045) 1px, transparent 1px 74px),
    radial-gradient(circle at 18% 12%, rgba(85,244,210,.22), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(95,168,255,.16), transparent 24%),
    linear-gradient(140deg, #071011 0%, #091719 44%, #05090c 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
  opacity: .7;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
button, select { font: inherit; }

.site-shell {
  width: min(1720px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 28px);
}
.side-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: auto;
  height: auto;
  display: grid;
  grid-template-columns: minmax(170px, .35fr) minmax(0, 1fr) minmax(230px, .42fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(5, 12, 14, .86);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand strong {
  color: var(--cyan);
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: 0;
}
.brand span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.side-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 2px;
}
.side-nav nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-2);
  font-weight: 850;
}
.side-nav nav a.active,
.side-nav nav a:hover {
  color: #041112;
  background: var(--cyan);
  border-color: var(--cyan);
}
.side-nav p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: .82rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .46fr);
  grid-template-areas:
    "copy poster"
    "ticker poster";
  gap: 16px;
}
.hero-copy,
.ticker,
.feature-poster,
.score-board,
.page-title,
.filters,
.detail-copy,
.poster-card,
.strip-card,
.detail-poster {
  background: linear-gradient(145deg, rgba(16, 37, 40, .9), rgba(8, 18, 20, .9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-copy {
  grid-area: copy;
  min-height: 388px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 76px);
}
.hero-copy::before {
  content: "ONLINE INDEX";
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: rgba(85,244,210,.07);
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 950;
  line-height: .82;
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--lime);
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1 {
  max-width: 980px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.25vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 2.1rem);
  line-height: 1.12;
}
.hero-copy p,
.page-title p,
.poster-card p,
.strip-card p,
.footer p,
.detail-copy p,
.ledger-row small {
  color: var(--muted);
  line-height: 1.74;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.action,
.ghost {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--cyan);
  font-weight: 950;
}
.action { color: #041112; background: var(--cyan); }
.ghost { color: var(--cyan); background: transparent; }

.feature-poster {
  grid-area: poster;
  min-height: 636px;
  padding: 10px;
  overflow: hidden;
}
.feature-poster a {
  position: relative;
  display: block;
  height: 100%;
}
.feature-poster img {
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}
.feature-poster span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  color: #041112;
  background: var(--lime);
  font-weight: 950;
}

.ticker {
  grid-area: ticker;
  min-height: 232px;
  padding: 16px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
#tickerList {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 12px;
}
.ledger-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-2);
}
.ledger-row b { color: var(--hot); font-size: .82rem; }
.ledger-row span {
  min-width: 0;
  display: grid;
  gap: 2px;
  font-weight: 900;
}
.ledger-row small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .74rem;
}
.ledger-row i {
  justify-self: end;
  color: var(--cyan);
  font-style: normal;
  font-weight: 950;
}

.type-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.type-rail a {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 24, 27, .86);
}
.type-rail img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: .64;
}
.type-rail a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,10,12,.08), rgba(4,10,12,.86));
}
.type-rail strong,
.type-rail span {
  position: relative;
  z-index: 1;
}
.type-rail strong { color: var(--cyan); font-size: 1.02rem; }
.type-rail span { color: var(--muted); font-size: .8rem; }

.section { padding-top: 42px; }
.section.compact { padding-top: 18px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head a {
  color: var(--cyan);
  font-weight: 950;
}
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
  gap: 12px;
}
.library-grid { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }

.poster-card,
.strip-card {
  min-width: 0;
  overflow: hidden;
}
.poster-card a { display: grid; height: 100%; }
.poster-card figure,
.strip-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #081315;
}
.poster-card figure { aspect-ratio: 2 / 3; }
.poster-card img,
.strip-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.poster-card:hover img,
.strip-card:hover img { transform: scale(1.04); filter: saturate(1.18) contrast(1.06); }
figcaption {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 5px 7px;
  color: #041112;
  background: var(--cyan);
  font-weight: 950;
}
.poster-card div,
.strip-card div {
  display: grid;
  gap: 6px;
  padding: 11px;
}
.poster-card span,
.strip-card span {
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  color: #041112;
  background: var(--lime);
  font-size: .68rem;
  font-weight: 950;
}
.poster-card h3,
.strip-card h3 { margin-bottom: 0; font-size: .96rem; line-height: 1.3; }
.poster-card p,
.strip-card p { margin: 0; font-size: .78rem; }
.poster-card em,
.strip-card em { color: var(--blue); font-style: normal; font-size: .78rem; }

.dual-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .34fr);
  gap: 16px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.strip-card a {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 108px;
}
.strip-card figure { aspect-ratio: auto; height: 100%; }
.score-board { align-self: start; padding: 16px; }

.page-title {
  margin-top: 8px;
  padding: clamp(22px, 4vw, 54px);
}
.page-title h1 { margin-bottom: 12px; font-size: clamp(2.1rem, 3.8vw, 4rem); }
.filters {
  margin-top: 14px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.filters > div { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button,
.filters select,
.filters span {
  min-height: 38px;
  padding: 0 11px;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-weight: 850;
}
.filters button.active,
.filters button:hover {
  color: #041112;
  background: var(--cyan);
}
.filters select { color: var(--ink); background: #10262a; }
.filters option { color: #111; }

.detail {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(290px, .36fr) minmax(0, 1fr);
  gap: 16px;
}
.detail-poster { margin: 0; overflow: hidden; }
.detail-poster img { height: 100%; object-fit: cover; }
.detail-copy {
  padding: clamp(24px, 5vw, 70px);
  display: grid;
  align-content: center;
}
.detail-copy .sub {
  margin-top: -6px;
  color: var(--cyan);
  font-size: 1.05rem;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 18px;
}
.facts span {
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(95,168,255,.12);
  border: 1px solid rgba(95,168,255,.3);
  font-weight: 850;
}

.footer {
  width: min(1720px, 100%);
  margin: 50px auto 0;
  padding: 26px clamp(14px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, .5fr));
  gap: 20px;
  background: #030809;
  border-top: 1px solid var(--line);
}
.footer strong { color: var(--cyan); font-size: 1.16rem; }
.footer h3 { color: var(--lime); margin-bottom: 10px; font-size: .94rem; }
.footer a { display: block; color: var(--muted); margin: 7px 0; }

@media (max-width: 1180px) {
  .side-nav { grid-template-columns: 1fr; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
    grid-template-areas:
      "copy poster"
      "ticker ticker";
  }
  #tickerList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-shell { padding: 12px; }
  .hero, .dual-section, .detail { grid-template-columns: 1fr; }
  .hero { grid-template-areas: "copy" "poster" "ticker"; }
  .feature-poster { min-height: auto; height: min(560px, 112vw); }
  .ticker { grid-template-columns: 1fr; }
  .type-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 12vw, 3.35rem); }
}
@media (max-width: 520px) {
  .type-rail { grid-template-columns: 1fr; }
  #tickerList { grid-template-columns: 1fr; }
  .strip-card a { grid-template-columns: 112px minmax(0, 1fr); }
  .vault-grid, .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .poster-card div, .strip-card div { padding: 9px; }
}
