.page-home {
  --home-dawn-glow: rgba(255, 122, 47, .20);
  --home-cyan-glow: rgba(61, 224, 208, .10);
  --home-violet-wash: rgba(36, 28, 58, .55);
  --home-rail-line: rgba(30, 42, 66, .95);

  position: relative;
  font-family: var(--font-body);
  line-height: 1.75;
  color: var(--c-body);
  background:
    radial-gradient(1100px 620px at 84% -120px, var(--home-dawn-glow), rgba(255, 122, 47, 0) 68%),
    radial-gradient(900px 520px at 4% -80px, var(--home-cyan-glow), rgba(61, 224, 208, 0) 70%),
    var(--c-night);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 基础重置与公用文本 ---------- */
.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home dl,
.page-home dd,
.page-home figure,
.page-home ol,
.page-home ul {
  margin: 0;
}

.page-home ol,
.page-home ul {
  padding: 0;
  list-style: none;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a {
  color: inherit;
}

.page-home .container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--c-dawn-soft);
  margin-bottom: 10px;
}

.page-home .text-mute {
  color: var(--c-mute);
}

.page-home .lede {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
  color: var(--c-body);
  max-width: 52ch;
  margin-bottom: 18px;
}

.page-home .stitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--c-fog);
  max-width: 24ch;
}

.page-home .shead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-home .shead__hint {
  font-size: .78rem;
  color: var(--c-mute);
}

.page-home .section {
  padding-block: clamp(44px, 7vw, 96px);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  text-decoration: none;
  transition: transform .28s var(--ease), background-color .28s var(--ease), color .28s var(--ease);
}

.page-home .btn--primary {
  background: linear-gradient(120deg, var(--c-dawn), var(--c-dawn-soft));
  color: #12100C;
  font-weight: 600;
}

.page-home .btn--primary:hover {
  transform: translateY(-2px);
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}

/* ---------- 框景首屏 ---------- */
.page-home .hero {
  padding-block: clamp(20px, 4vw, 56px) clamp(28px, 5vw, 72px);
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .hero__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 24px 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(13, 22, 38, .94) 0%, rgba(6, 10, 18, .58) 100%);
}

.page-home .hero__rail::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 15px;
  width: 1px;
  background-image: repeating-linear-gradient(180deg, var(--c-line) 0 2px, transparent 2px 8px);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-fog);
  text-wrap: balance;
}

.page-home .hero__lead {
  font-size: .95rem;
  line-height: 1.78;
  color: var(--c-mute);
  max-width: 34ch;
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .76rem;
}

.page-home .hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hero__meta dt {
  color: var(--c-mute);
}

.page-home .hero__meta dd {
  color: var(--c-pulse);
}

.page-home .hero__scale {
  display: none;
}

.page-home .hero__feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-home .hero__media {
  position: relative;
  height: clamp(170px, 30vw, 268px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.page-home .hero__media figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-family: var(--font-mono);
  color: var(--c-fog);
  background: rgba(6, 10, 18, .66);
  backdrop-filter: blur(6px);
}

.page-home .hero__stream {
  display: flex;
  flex-direction: column;
}

.page-home .report {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 12px 16px 0;
  border-top: 1px solid var(--c-line);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}

.page-home .report:first-child {
  border-top-color: rgba(255, 122, 47, .52);
}

.page-home .report:hover {
  transform: translateX(4px);
  background-color: var(--home-violet-wash);
}

.page-home .report__time {
  padding-top: 3px;
  font-size: .8rem;
  color: var(--c-dawn);
}

.page-home .report__kicker {
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--c-mute);
  margin-bottom: 4px;
}

.page-home .report__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.42;
  color: var(--c-fog);
  margin-bottom: 6px;
}

.page-home .report__note {
  font-size: .88rem;
  line-height: 1.72;
  color: var(--c-mute);
  max-width: 46ch;
  margin-bottom: 10px;
}

.page-home .report__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .report__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
}

.page-home .report__tag--dawn {
  color: var(--c-dawn-soft);
  background: rgba(255, 122, 47, .12);
  border-color: rgba(255, 122, 47, .32);
}

.page-home .report__tag--cyan {
  color: var(--c-cyan);
  background: rgba(61, 224, 208, .10);
  border-color: rgba(61, 224, 208, .30);
}

.page-home .report__tag--pulse {
  color: var(--c-pulse);
  background: rgba(200, 244, 91, .10);
  border-color: rgba(200, 244, 91, .28);
}

/* ---------- 版本与同步 ---------- */
.page-home .sync {
  background: linear-gradient(180deg, rgba(36, 28, 58, .34) 0%, rgba(6, 10, 18, 0) 78%);
  border-top: 1px solid var(--c-line);
}

.page-home .sync__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .sync__items {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .sync__items li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: .92rem;
  color: var(--c-body);
}

.page-home .sync__idx {
  padding-top: 4px;
  font-size: .76rem;
  color: var(--c-cyan);
}

.page-home .sync__cta {
  margin: 0;
}

.page-home .sync__media {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .sync__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 订阅与更新 ---------- */
.page-home .subscribe__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .subscribe__flow {
  display: grid;
  counter-reset: flow;
}

.page-home .subscribe__flow li {
  position: relative;
  padding: 20px 0 20px 46px;
  border-top: 1px solid var(--c-line);
}

.page-home .subscribe__flow li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--c-dawn);
  letter-spacing: .06em;
}

.page-home .subscribe__flow h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-fog);
  margin-bottom: 6px;
}

.page-home .subscribe__flow p {
  font-size: .92rem;
  color: var(--c-mute);
  max-width: 46ch;
}

.page-home .subscribe__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 16px;
  align-content: start;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background: linear-gradient(152deg, rgba(36, 28, 58, .88), rgba(13, 22, 38, .55));
}

.page-home .metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .metric__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  line-height: 1;
  color: var(--c-pulse);
}

.page-home .metric__label {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--c-mute);
}

/* ---------- 赛程时间轴 ---------- */
.page-home .schedule__banner {
  height: clamp(140px, 26vw, 300px);
  margin-bottom: clamp(20px, 3vw, 34px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .schedule__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .schedule__track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.page-home .schedule__track:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.page-home .schedule__rounds {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 300px);
  gap: 16px;
}

.page-home .round {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 22px;
  scroll-snap-align: start;
  border-top: 2px solid var(--c-line);
  background: linear-gradient(180deg, rgba(36, 28, 58, .42) 0%, rgba(6, 10, 18, 0) 72%);
}

.page-home .round--current {
  border-top-color: var(--c-dawn);
}

.page-home .round__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .round__no {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-fog);
}

.page-home .round__state {
  font-size: .74rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: var(--c-mute);
  border: 1px solid var(--c-line);
}

.page-home .round__state--live {
  color: var(--c-pulse);
  border-color: rgba(200, 244, 91, .34);
  background: rgba(200, 244, 91, .08);
}

.page-home .round__list {
  display: grid;
  gap: 8px;
}

.page-home .round__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(30, 42, 66, .55);
  font-size: .86rem;
  color: var(--c-mute);
}

.page-home .round__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .round__list .mono {
  color: var(--c-fog);
  font-size: .8rem;
  white-space: nowrap;
}

.page-home .schedule__note {
  margin-top: 18px;
  font-size: .86rem;
  max-width: 58ch;
}

/* ---------- 本地访问 ---------- */
.page-home .local {
  border-top: 1px solid var(--c-line);
}

.page-home .local__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .local__media {
  height: clamp(180px, 32vw, 320px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .local__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 栏目索引 ---------- */
.page-home .directory {
  padding-bottom: clamp(56px, 8vw, 110px);
}

.page-home .directory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .directory__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 18px;
  border-top: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}

.page-home .directory__link:hover {
  transform: translateX(4px);
  background-color: var(--home-violet-wash);
}

.page-home .directory__link:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.page-home .directory__no {
  font-size: .72rem;
  color: var(--c-dawn);
}

.page-home .directory__link h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--c-fog);
}

.page-home .directory__link p {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--c-mute);
}

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

  .page-home .hero__grid {
    gap: 26px;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(240px, 1fr) 2.06fr;
    gap: clamp(26px, 3.2vw, 52px);
    align-items: start;
  }

  .page-home .hero__rail {
    position: sticky;
    top: 132px;
    gap: 20px;
    min-height: 470px;
    padding: 34px 26px 30px 38px;
  }

  .page-home .hero__title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: clamp(1.7rem, 2.1vw, 2.3rem);
    line-height: 1;
    letter-spacing: .12em;
    max-height: 440px;
  }

  .page-home .hero__scale {
    display: block;
    margin-top: auto;
    height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--home-rail-line) 0 3px, transparent 3px 11px);
  }

  .page-home .sync__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
  }

  .page-home .subscribe__body {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }

  .page-home .schedule__rounds {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
  }

  .page-home .schedule__track {
    overflow: visible;
  }

  .page-home .local__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .report,
  .page-home .directory__link,
  .page-home .btn {
    transition: none;
  }

  .page-home .report:hover,
  .page-home .directory__link:hover,
  .page-home .btn--primary:hover {
    transform: none;
  }
}
