.page-home {
  --home-hair: rgba(139, 154, 168, .26);
  --home-gap: clamp(20px, 4vw, 44px);
  --home-w: min(calc(100% - var(--pad-x) * 2), var(--shell-max));
  display: block;
  overflow: hidden;
}

.page-home p {
  margin: 0;
}

.page-home .sec-title {
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 10px 0 12px;
  color: var(--paper);
}

.page-home .sec-title--sm {
  font-size: clamp(20px, 2.6vw, 26px);
}

/* 上下文提示 */
.home-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px var(--pad-x);
  border-bottom: 1px solid var(--grid-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}

.home-context__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 210, 123, .16);
  flex: none;
}

/* 首屏拼贴 */
.home-hero {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(18px, 4vw, 44px) 0 clamp(10px, 2vw, 20px);
  display: grid;
  gap: var(--home-gap);
  position: relative;
  background-image: var(--grid-pattern);
}

.hero-visual {
  position: relative;
  margin: 0 0 20px;
  border: 1px solid var(--grid-line);
  background: var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.85) contrast(1.08) brightness(.78);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(53, 240, 223, .09) 0 1px, transparent 1px 26px);
}

.hero-visual__label {
  position: absolute;
  left: 0;
  bottom: 9%;
  z-index: 2;
  padding: 6px 14px 6px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.hero-lead h1 {
  font-size: clamp(32px, 7.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 8px 0 14px;
  color: var(--paper);
}

.hero-lead .lede {
  max-width: 46ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--grid-line);
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.hero-stats dd {
  margin: 7px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(19px, 3vw, 25px);
  color: var(--cyan);
}

/* 赛程流 */
.hero-feed {
  position: relative;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--grid-line);
}

.hero-feed::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 46px;
  height: 3px;
  background: var(--cyan);
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.page-home .feed-head__title {
  margin: 0;
  font-size: 15px;
  letter-spacing: .03em;
  color: var(--paper);
}

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

.feed-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--home-hair);
  transition: background-color .16s var(--ease);
}

.feed-row::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: transparent;
  transition: background-color .16s var(--ease);
}

.feed-row:hover {
  background: rgba(53, 240, 223, .05);
}

.feed-row:hover::before {
  background: var(--cyan);
}

.feed-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.feed-comp {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--paper);
}

.feed-comp em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}

.feed-row--warn .feed-time {
  color: var(--orange);
}

.feed-foot {
  margin-top: 14px;
  font-size: 13px;
}

.feed-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 223, .4);
  padding-bottom: 1px;
}

.feed-foot a:hover {
  border-bottom-color: var(--cyan);
}

/* 排名速查面板 */
.hero-rank {
  position: relative;
  min-height: 360px;
  background: var(--ink-2);
  border: 1px solid var(--grid-line);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 26px));
}

.hero-rank__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: contrast(1.1) brightness(.9);
}

.hero-rank__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 42px;
}

.rank-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.hero-rank .sec-title {
  margin: 0;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(6, 21, 37, .74);
  border-left: 3px solid var(--green);
}

.rank-row__zone {
  padding: 4px 10px;
  background: var(--green);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.rank-row__num {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--paper);
}

.rank-row__delta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
}

.rank-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank-tag {
  padding: 5px 10px;
  border: 1px solid var(--home-hair);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.rank-tag--top {
  border-color: var(--green);
  color: var(--green);
}

.rank-tag--up {
  border-color: var(--cyan);
  color: var(--cyan);
}

.rank-tag--down {
  border-color: var(--orange);
  color: var(--orange);
}

.rank-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-rank__cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* V4 短路径 */
.v4-strip {
  width: var(--home-w);
  margin: clamp(30px, 5vw, 60px) auto 0;
  padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 36px);
  display: grid;
  gap: 26px;
  background: linear-gradient(118deg, rgba(16, 48, 79, .9), rgba(6, 21, 37, .96));
  border: 1px solid var(--grid-line);
  border-left: 4px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.v4-copy__text {
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px !important;
}

.v4-track {
  display: grid;
  gap: 18px;
}

.v4-path {
  padding: 14px 16px;
  border: 1px dashed var(--home-hair);
}

.v4-path--new {
  border-style: solid;
  border-color: rgba(53, 240, 223, .5);
  background: rgba(53, 240, 223, .05);
}

.v4-path__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--muted);
}

.v4-path--new .v4-path__label {
  color: var(--cyan);
}

.v4-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v4-steps li {
  position: relative;
  padding: 6px 11px;
  border: 1px solid var(--home-hair);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
}

.v4-path--old .v4-steps li {
  border-style: dashed;
  color: var(--muted);
}

.v4-path--new .v4-steps li {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* 今日赛程目录 */
.so-schedule {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 66px) 0 clamp(10px, 2vw, 20px);
  display: grid;
  gap: var(--home-gap);
}

.so-schedule__text {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.schedule-figure {
  margin: 22px 0 0;
  border: 1px solid var(--grid-line);
}

.schedule-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.05) brightness(.82);
}

.so-schedule__slots {
  display: grid;
  gap: 20px;
}

.slot {
  padding-top: 12px;
  border-top: 2px solid var(--grid-line);
}

.slot--warn {
  border-top-color: var(--orange);
}

.slot__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

.slot__time {
  font-size: 16px;
  color: var(--paper);
}

.slot__range {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

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

.slot__list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--home-hair);
  font-size: 13px;
  color: var(--paper);
}

.slot__hh {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.slot--warn .slot__hh {
  color: var(--orange);
}

.slot__list em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

/* 排名区间 */
.rank-section {
  margin-top: clamp(34px, 5vw, 66px);
  padding: clamp(28px, 4.6vw, 56px) 0;
  background: var(--ink-2);
  border-block: 1px solid var(--grid-line);
}

.rank-section__inner {
  width: var(--home-w);
  margin-inline: auto;
}

.rank-section__text {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.zone-cards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.zone {
  position: relative;
  padding: 16px 18px 18px 22px;
  background: rgba(6, 21, 37, .66);
  border: 1px solid var(--grid-line);
}

.zone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--muted);
}

.zone--top::before {
  background: var(--green);
}

.zone--up::before {
  background: var(--cyan);
}

.zone--down::before {
  background: var(--orange);
}

.zone__name {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--paper);
}

.zone--top .zone__name {
  color: var(--green);
}

.zone--up .zone__name {
  color: var(--cyan);
}

.zone--down .zone__name {
  color: var(--orange);
}

.zone__range {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 8px !important;
}

.zone__desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.rank-section__cta {
  margin-top: 22px !important;
}

/* 场馆 */
.venue {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 66px) 0 clamp(10px, 2vw, 18px);
  display: grid;
  gap: var(--home-gap);
}

.venue__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--grid-line);
  overflow: hidden;
}

.venue__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: contrast(1.06) brightness(.82);
}

.venue__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 13px;
  background: var(--clay);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.venue__text {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.venue-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.venue-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--home-hair);
}

.venue-card__main {
  flex: 1 1 190px;
  min-width: 0;
}

.venue-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  color: var(--paper);
}

.venue-card__addr {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--cyan);
  margin-bottom: 4px !important;
  word-break: break-word;
}

.venue-card__meta {
  font-size: 12px;
  color: var(--muted);
}

.copy-status {
  min-height: 18px;
  margin-top: 10px !important;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--green);
}

.venue__body .btn {
  margin-top: 8px;
}

/* 订阅 */
.subscribe {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 66px) 0;
  display: grid;
  gap: var(--home-gap);
}

.subscribe__text {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.sub-points {
  list-style: none;
  margin: 18px 0 20px;
  padding: 0;
}

.sub-points li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 13px;
  color: var(--paper);
  border-bottom: 1px dashed var(--home-hair);
}

.sub-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 2px;
  background: var(--cyan);
}

.subscribe__panel {
  position: relative;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--grid-line);
}

.sub-panel__label {
  margin-bottom: 12px !important;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--muted);
}

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

.sub-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--home-hair);
}

.sub-row__name {
  font-size: 13.5px;
  color: var(--paper);
}

.sub-row__state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
}

.sub-row__state--off {
  color: var(--muted);
}

.sub-switch {
  position: relative;
  width: 46px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--grid-line);
  border-radius: 999px;
  background: var(--ink);
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}

.sub-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}

.sub-switch[aria-pressed="true"] {
  background: rgba(52, 210, 123, .16);
  border-color: var(--green);
}

.sub-switch[aria-pressed="true"] span {
  transform: translateX(22px);
  background: var(--green);
}

.sub-panel__note {
  margin-top: 14px !important;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* 通道告警 */
.alert-band {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(28px, 4.4vw, 52px) 0;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--grid-line);
}

.alert-band__text {
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px !important;
}

.alert-details {
  padding: 0 16px;
  background: rgba(255, 122, 46, .06);
  border: 1px solid rgba(255, 122, 46, .3);
}

.alert-details summary {
  position: relative;
  padding: 14px 26px 14px 0;
  font-size: 14px;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.alert-details summary::-webkit-details-marker {
  display: none;
}

.alert-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--orange);
}

.alert-details[open] summary::after {
  content: "−";
}

.alert-details__body {
  padding-bottom: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* 目录索引 */
.home-index {
  width: var(--home-w);
  margin-inline: auto;
  padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 80px);
}

.index-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--grid-line);
}

.index-list li {
  border-bottom: 1px solid var(--grid-line);
}

.index-list a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 6px;
  text-decoration: none;
  color: inherit;
  transition: background-color .16s var(--ease);
}

.index-list a:hover,
.index-list a:focus-visible {
  background: rgba(53, 240, 223, .06);
}

.index-list__num {
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.index-list__title {
  font-size: 16px;
  color: var(--paper);
}

.index-list__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 720px) {
  .so-schedule__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
  }

  .zone-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v4-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 960px) {
  .home-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
  }

  .hero-lead {
    grid-column: 1 / span 7;
  }

  .hero-feed {
    grid-column: 1 / span 6;
    grid-row: 2;
  }

  .hero-rank {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    margin-top: 36px;
  }

  .so-schedule {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(28px, 4vw, 54px);
  }

  .so-schedule__aside {
    position: sticky;
    top: 96px;
  }

  .venue {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(26px, 4vw, 52px);
  }

  .subscribe {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(26px, 4vw, 52px);
  }

  .v4-strip {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(26px, 4vw, 48px);
  }

  .alert-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    align-items: start;
    gap: 14px 34px;
  }

  .alert-band__head {
    grid-row: span 2;
  }

  .index-list a {
    grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
    padding: 18px 8px;
  }

  .index-list__num {
    grid-row: auto;
  }

  .index-list__desc {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .feed-row,
  .page-home .feed-row::before,
  .page-home .sub-switch,
  .page-home .sub-switch span,
  .page-home .index-list a {
    transition: none;
  }
}
