.page-home {
  display: block;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}

/* ---------- 当前位置提示 ---------- */
.page-home .home-crumb {
  padding: clamp(14px, 2.2vw, 20px) 0 0;
}
.page-home .home-crumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--steel);
}
.page-home .crumb-sep { opacity: .5; }
.page-home .crumb-here { color: var(--gold); }

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(24px, 4vw, 52px) 0 clamp(48px, 8vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(115% 78% at 84% 6%, rgba(240, 78, 35, .20), transparent 58%),
    radial-gradient(90% 70% at 4% 96%, rgba(27, 39, 64, .92), transparent 62%),
    var(--ink);
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 78, 35, .72) 20%, rgba(232, 176, 75, .72) 62%, transparent);
  pointer-events: none;
}
.page-home .hero-cut {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -4%;
  height: clamp(200px, 38vh, 400px);
  background: linear-gradient(104deg,
      rgba(16, 24, 43, 0) 0%,
      rgba(16, 24, 43, .88) 28%,
      rgba(27, 39, 64, .94) 60%,
      rgba(240, 78, 35, .26) 100%);
  clip-path: polygon(0 36%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}
.page-home .hero-box {
  position: relative;
  z-index: 2;
}
.page-home .hero-heading {
  max-width: 700px;
}
.page-home .hero-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--flame-hi);
  text-transform: uppercase;
}
.page-home .hero-heading h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.14;
  letter-spacing: .02em;
  color: var(--cream);
}
.page-home .hero-lead {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.78;
  color: rgba(243, 237, 228, .76);
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏舞台：左窄右宽错位 */
.page-home .hero-stage {
  display: grid;
  gap: 18px;
  margin-top: clamp(32px, 6vw, 64px);
  position: relative;
  z-index: 2;
}
.page-home .hero-watch {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(162deg, rgba(27, 39, 64, .94), rgba(16, 24, 43, .88));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.page-home .watch-cover {
  height: clamp(96px, 20vw, 132px);
  overflow: hidden;
  position: relative;
}
.page-home .watch-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  display: block;
}
.page-home .watch-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, .1), rgba(16, 24, 43, .96));
}
.page-home .watch-meta {
  padding: 16px 20px 4px;
}
.page-home .watch-count {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
}
.page-home .watch-list {
  position: relative;
  margin: 14px 0 0;
  padding: 0 20px 20px 40px;
  list-style: none;
}
.page-home .watch-list::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 6px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, rgba(240, 78, 35, .78), rgba(154, 166, 188, .14));
}
.page-home .watch-item {
  position: relative;
  padding: 0 0 18px;
}
.page-home .watch-item:last-child { padding-bottom: 0; }
.page-home .watch-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--flame);
  box-shadow: 0 0 0 4px rgba(240, 78, 35, .08);
}
.page-home .watch-item--live::before {
  background: var(--flame);
  box-shadow: 0 0 0 6px rgba(240, 78, 35, .18);
}
.page-home .watch-time {
  margin: 0 0 3px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--flame-hi);
}
.page-home .watch-team {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}
.page-home .watch-team em,
.page-home .fx-match em {
  font-style: normal;
  color: var(--steel);
  padding: 0 4px;
  font-size: .88em;
}
.page-home .watch-note {
  margin: 0;
  font-size: 13px;
  color: var(--steel);
}

/* 赛程矩阵 */
.page-home .hero-matrix {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.page-home .matrix-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.72) brightness(.62);
  display: block;
}
.page-home .hero-matrix::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(16, 24, 43, .82) 0%, rgba(16, 24, 43, .64) 52%, rgba(240, 78, 35, .16) 100%);
  pointer-events: none;
}
.page-home .matrix-inner {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 3vw, 26px);
}
.page-home .matrix-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-home .matrix-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: .06em;
}
.page-home .matrix-tabs li {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--steel);
}
.page-home .matrix-tabs li.is-active {
  border-color: rgba(240, 78, 35, .5);
  color: var(--flame-hi);
  background: rgba(240, 78, 35, .1);
}
.page-home .fixture-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .fixture-row {
  display: grid;
  grid-template-columns: 84px 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.page-home .fixture-row:last-child { border-bottom: 0; }
.page-home .fx-time {
  font-size: 12.5px;
  color: var(--steel);
  letter-spacing: .02em;
}
.page-home .fx-league {
  font-size: 12px;
  color: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 3px 0;
  text-align: center;
}
.page-home .fx-match {
  color: var(--cream);
  min-width: 0;
}
.page-home .fixture-row .tag {
  grid-column: 3;
  justify-self: start;
  margin-top: 6px;
}
.page-home .fixture-row.is-watched .fx-match {
  color: var(--gold);
  font-weight: 600;
}
.page-home .matrix-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 02 收藏保留 ---------- */
.page-home .home-keep {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 24, 43, .55), rgba(11, 14, 20, 0) 78%);
}
.page-home .section-num {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--flame);
  opacity: .55;
  line-height: 1;
}
.page-home .section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.24;
  letter-spacing: .02em;
  color: var(--cream);
}
.page-home .section-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(243, 237, 228, .72);
}
.page-home .keep-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 36px);
}
.page-home .keep-card {
  position: relative;
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(27, 39, 64, .48);
  overflow: hidden;
}
.page-home .keep-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--flame), rgba(232, 176, 75, .2));
}
.page-home .keep-tag {
  margin: 0 0 10px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gold);
}
.page-home .keep-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
}
.page-home .keep-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(243, 237, 228, .68);
}

/* ---------- 03 双端 ---------- */
.page-home .home-devices {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(27, 39, 64, .9), transparent 60%),
    var(--ink);
}
.page-home .devices-head {
  max-width: 760px;
}
.page-home .devices-grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 40px);
}
.page-home .devices-media {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.page-home .devices-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .88;
}
.page-home .devices-media figcaption {
  padding: 12px 18px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
  border-top: 1px solid var(--line);
}
.page-home .devices-cards {
  display: grid;
  gap: 14px;
}
.page-home .device-card {
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(27, 39, 64, .78), rgba(16, 24, 43, .6));
}
.page-home .device-card:first-child {
  border-color: rgba(240, 78, 35, .34);
}
.page-home .device-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--flame-hi);
}
.page-home .device-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--cream);
}
.page-home .device-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: rgba(243, 237, 228, .7);
}

/* ---------- 04 路径 ---------- */
.page-home .home-track {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--ink) 0%, var(--navy) 54%, rgba(240, 78, 35, .12) 100%);
}
.page-home .track-band {
  position: absolute;
  inset: 0 -10% auto -10%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(154, 166, 188, .05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(154, 166, 188, .04) 0 1px, transparent 1px 96px);
  pointer-events: none;
}
.page-home .track-inner {
  position: relative;
  z-index: 2;
}
.page-home .track-head {
  max-width: 700px;
}
.page-home .track-steps {
  display: flex;
  gap: 14px;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 2px 2px 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.page-home .track-step {
  flex: 0 0 min(272px, 76vw);
  scroll-snap-align: start;
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(11, 14, 20, .62);
}
.page-home .step-idx {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--flame-hi);
}
.page-home .track-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
}
.page-home .track-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(243, 237, 228, .66);
}
.page-home .track-note {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3.4vw, 30px);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(16, 24, 43, .74);
}
.page-home .track-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: rgba(243, 237, 228, .74);
}
.page-home .track-note .btn { justify-self: start; }

/* ---------- 05 常用入口 ---------- */
.page-home .entries-head {
  margin-bottom: clamp(18px, 3vw, 26px);
}
.page-home .entry-grid {
  display: grid;
  gap: 12px;
}
.page-home .entry-card {
  position: relative;
  display: block;
  padding: 20px 46px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(27, 39, 64, .42);
  text-decoration: none;
  color: inherit;
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease);
}
.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  border-color: rgba(240, 78, 35, .46);
  background: rgba(27, 39, 64, .72);
  transform: translateY(-2px);
}
.page-home .entry-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  letter-spacing: .02em;
}
.page-home .entry-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(243, 237, 228, .64);
}
.page-home .entry-go {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--flame);
}

/* ---------- 06 开始使用 ---------- */
.page-home .start-panel {
  position: relative;
  padding: clamp(26px, 4.6vw, 46px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 78, 35, .34);
  background: linear-gradient(128deg, var(--navy-2) 0%, var(--navy) 46%, rgba(240, 78, 35, .3) 100%);
  overflow: hidden;
}
.page-home .start-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, .34), transparent 68%);
  pointer-events: none;
}
.page-home .start-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.page-home .start-copy .section-title { margin-bottom: 12px; }
.page-home .start-copy > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(243, 237, 228, .78);
}
.page-home .start-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

/* ---------- 卷末留白 ---------- */
.page-home .home-rest {
  height: clamp(56px, 10vw, 130px);
  background: var(--ink);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .keep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .fixture-row {
    grid-template-columns: 96px 56px minmax(0, 1fr) auto;
    gap: 14px;
  }
  .page-home .fixture-row .tag {
    grid-column: 4;
    margin-top: 0;
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .page-home .hero-stage {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
  }
  .page-home .hero-watch { margin-top: clamp(28px, 5vw, 74px); }
  .page-home .devices-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px;
    align-items: start;
  }
  .page-home .track-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    padding: 0;
  }
  .page-home .track-step { flex: 1 1 auto; }
  .page-home .track-note {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }
  .page-home .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .start-actions {
    position: absolute;
    right: clamp(26px, 4.6vw, 46px);
    bottom: clamp(26px, 4.6vw, 46px);
    margin-top: 0;
  }
  .page-home .start-panel { padding-bottom: clamp(90px, 9vw, 110px); }
}

@media (min-width: 1120px) {
  .page-home .keep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .entry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .page-home .entry-grid .entry-card { padding: 22px 20px 54px; }
  .page-home .entry-go {
    top: auto;
    bottom: 20px;
    right: 20px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card {
    transition: none;
  }
  .page-home .entry-card:hover,
  .page-home .entry-card:focus-visible {
    transform: none;
  }
  .page-home .track-steps { scroll-behavior: auto; }
}
