.page-home {
  --cut: clamp(12px, 2.6vw, 32px);
  --grid-line: rgba(53, 225, 255, .07);
  --grid-line-2: rgba(53, 225, 255, .04);
  --tile: clamp(64px, 9vw, 120px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 84% 8%, rgba(53, 225, 255, .11), transparent 62%),
    radial-gradient(90% 70% at 8% 102%, rgba(255, 122, 26, .09), transparent 64%),
    var(--bg);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-2) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 46, 37, .72);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6.6vw, 3.9rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .hero__title-accent {
  color: var(--blue);
}

.page-home .hero__lede {
  margin: 0 0 26px;
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  opacity: .82;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .hero__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hero__visual {
  position: relative;
}

.page-home .hero__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel-deep);
  -webkit-clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}

.page-home .hero__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero__figure .media-frame__caption {
  padding: 10px 14px 12px;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .hero__badge {
  position: absolute;
  right: 10px;
  bottom: -18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 16px;
  background: var(--orange);
  color: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-line);
}

.page-home .hero__badge-num {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
}

.page-home .hero__badge-text {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--bg);
}

/* ---------- 章节通用 ---------- */
.page-home .section__head {
  margin-bottom: 30px;
}

.page-home .section__index {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue);
}

.page-home .section__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .section__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 赛程 ---------- */
.page-home .sched {
  display: grid;
  gap: 28px;
}

.page-home .sched__rail {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  position: relative;
}

.page-home .sched__rail-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .sched__ticks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .sched__tick {
  position: relative;
  display: gap;
  gap: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .sched__tick::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--blue);
  transform: rotate(45deg);
}

.page-home .sched__tick-time {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue);
}

.page-home .sched__tick-text {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}

.page-home .sched__rail-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .sched__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .sched__hint {
  margin: 0 0 22px;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-home .tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.page-home .tab:hover {
  color: var(--ink);
}

.page-home .tab[aria-selected="true"],
.page-home .tab.is-active {
  background: var(--blue);
  color: var(--bg);
}

.page-home .tab-panel {
  margin-top: 16px;
}

.page-home .sched__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .sched__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .18s var(--ease);
}

.page-home .sched__row:hover {
  background: rgba(10, 46, 37, .7);
}

.page-home .sched__time {
  flex: 0 0 74px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
}

.page-home .sched__league {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .sched__meta {
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .sched__state {
  margin-left: auto;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .sched__state--live {
  color: var(--orange);
  font-weight: 600;
}

.page-home .sched__state--soon {
  color: var(--amber);
}

.page-home .sched__foot {
  margin: 18px 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .sched__foot .link-arrow {
  margin-left: 6px;
}

/* ---------- 过渡带 ---------- */
.page-home .band {
  position: relative;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .band__img {
  display: block;
  width: 100%;
  height: clamp(150px, 22vw, 250px);
  object-fit: cover;
  opacity: .72;
}

.page-home .band__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 40px 24px 16px;
  background: linear-gradient(transparent, rgba(4, 33, 26, .94));
  font-size: .875rem;
  color: var(--ink);
}

/* ---------- 回看集锦 ---------- */
.page-home .replays {
  align-items: stretch;
}

.page-home .card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-line);
  overflow: hidden;
}

.page-home .replay {
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}

.page-home .replay:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 225, 255, .45);
}

.page-home .replay__thumb {
  position: relative;
  margin: 0;
  background: var(--panel-deep);
  border-bottom: 1px solid var(--line);
}

.page-home .replay__thumb .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .replay__len {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  background: rgba(4, 33, 26, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .75rem;
  color: var(--ink);
}

.page-home .card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 18px 18px;
}

.page-home .card__meta {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--blue);
}

.page-home .card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink);
}

.page-home .card__desc {
  margin: 0;
  font-size: .875rem;
  line-height: 1.62;
  color: var(--muted);
}

.page-home .card__foot {
  margin-top: auto;
  padding-top: 8px;
}

/* ---------- PC 端频道 ---------- */
.page-home .channel {
  display: grid;
  gap: 22px;
}

.page-home .channel__stage {
  display: grid;
  gap: 12px;
}

.page-home .channel__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 240px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(152deg, rgba(14, 90, 120, .44), rgba(4, 33, 26, .94) 64%),
    var(--panel-deep);
  overflow: hidden;
}

.page-home .channel__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 225, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 225, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-home .channel__live {
  position: absolute;
  top: 16px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-home .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.page-home .status-dot--live {
  background: var(--orange);
  animation: home-pulse 2.4s ease-in-out infinite;
}

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

.page-home .channel__now {
  position: relative;
  margin: 0;
  font-size: clamp(1.0625rem, 2.4vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.page-home .channel__time {
  position: relative;
  font-size: .75rem;
  color: var(--muted);
}

.page-home .channel__scrub {
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: rgba(234, 246, 243, .16);
  overflow: hidden;
}

.page-home .channel__scrub span {
  display: block;
  height: 100%;
  width: 36%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.page-home .channel__note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .channel__side-title {
  margin: 0 0 12px;
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .channel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .channel__list li {
  background: var(--panel);
}

.page-home .channel__list a {
  display: block;
  padding: 11px 12px;
  font-size: .875rem;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.page-home .channel__list a:hover {
  background: var(--panel-deep);
  color: var(--blue);
}

/* ---------- 栏目索引 ---------- */
.page-home .matrix {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .matrix__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  background: var(--panel);
  transition: background .18s var(--ease);
}

.page-home .matrix__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .24s var(--ease);
}

.page-home .matrix__item:hover {
  background: var(--panel-deep);
}

.page-home .matrix__item:hover::before {
  transform: scaleY(1);
}

.page-home .matrix__no {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}

.page-home .matrix__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .matrix__desc {
  margin: 0;
  font-size: .875rem;
  line-height: 1.62;
  color: var(--muted);
}

.page-home .matrix__item .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- 焕新版注册 ---------- */
.page-home .register__lead .section__index {
  margin-bottom: 12px;
}

.page-home .register__title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .register__desc {
  margin: 0 0 24px;
  max-width: 44ch;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .register__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .register__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .register__list .mono {
  flex: none;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- 运营数据 ---------- */
.page-home .scale__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .scale__stat {
  padding: 18px 16px;
  background: var(--panel);
}

.page-home .scale__stat-num {
  display: block;
  font-size: clamp(1.375rem, 3.2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue);
}

.page-home .scale__stat-label {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.page-home .scale__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-deep);
}

.page-home .scale__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .scale__figure .media-frame__caption {
  padding: 10px 14px 12px;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .scale__foot {
  margin: 26px 0 0;
  max-width: 78ch;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .scale__foot .link-arrow {
  margin-left: 6px;
}

/* ---------- 收尾 ---------- */
.page-home .close-bar {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 122, 26, .10), transparent 66%),
    var(--panel-deep);
}

.page-home .close-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-home .close-bar__text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .close-bar__text .link-arrow {
  margin: 0 4px;
}

.page-home .close-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 侧边索引 ---------- */
.page-home .home-index {
  display: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .scale__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-home .hero {
    padding: 56px 0 64px;
  }
}

@media (min-width: 900px) {
  .page-home .channel {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 36px;
    align-items: start;
  }

  .page-home .channel__screen {
    min-height: 320px;
  }
}

@media (min-width: 920px) {
  .page-home .sched {
    grid-template-columns: 214px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
    gap: 56px;
  }
}

@media (min-width: 1100px) {
  .page-home .matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .band {
    margin-top: 76px;
  }
}

@media (min-width: 1440px) {
  .page-home .home-index {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
  }

  .page-home .home-index a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .04em;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s var(--ease);
  }

  .page-home .home-index a::before {
    content: "";
    width: 14px;
    height: 1px;
    background: var(--line);
    transition: width .18s var(--ease), background .18s var(--ease);
  }

  .page-home .home-index a:hover,
  .page-home .home-index a.is-active {
    color: var(--blue);
  }

  .page-home .home-index a:hover::before,
  .page-home .home-index a.is-active::before {
    width: 26px;
    background: var(--blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .status-dot--live {
    animation: none;
  }

  .page-home .replay,
  .page-home .matrix__item,
  .page-home .matrix__item::before,
  .page-home .tab,
  .page-home .sched__row {
    transition: none;
  }

  .page-home .replay:hover {
    transform: none;
  }
}
