.page-home {
  --fx-cut: 20px;
}

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

/* ---------- 首屏 ---------- */

.page-home .home-open {
  padding: clamp(22px, 5vw, 56px) 0 clamp(18px, 3vw, 34px);
}

.page-home .home-context {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .open-grid {
  display: grid;
  gap: 24px;
}

.page-home h1 {
  margin: 0 0 16px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(26px, 6.6vw, 50px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--white);
}

.page-home .open-text {
  max-width: 62ch;
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .open-text--sub {
  margin-bottom: 22px;
  color: rgba(143, 163, 196, 0.85);
}

.page-home .open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.page-home .open-facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.page-home .open-facts b {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .open-facts span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 订阅浮层 ---------- */

.page-home .sub-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(34, 224, 208, 0.2), transparent 62%),
    var(--bg-panel);
}

.page-home .sub-panel::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -62px;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 45, 0.3), transparent 68%);
  pointer-events: none;
}

.page-home .sub-panel > * {
  position: relative;
  z-index: 1;
}

.page-home .sub-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--flame);
}

.page-home .sub-title {
  margin: 0 0 10px;
  font-family: var(--font-narrow);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .sub-body {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 01 赛况 ---------- */

.page-home .home-schedule {
  position: relative;
  overflow: hidden;
}

.page-home .home-schedule-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-schedule-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.8);
}

.page-home .home-schedule-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 26, 0.85), rgba(7, 13, 26, 0.96) 55%, var(--bg-deep));
}

.page-home .home-schedule .container {
  position: relative;
  z-index: 1;
}

.page-home .daystrip {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .daystrip::-webkit-scrollbar {
  display: none;
}

.page-home .day-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 3px;
  min-width: 96px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(15, 27, 51, 0.72);
}

.page-home .day-chip b {
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .day-chip i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.page-home .day-chip.is-now {
  border-color: rgba(34, 224, 208, 0.55);
  background: rgba(34, 224, 208, 0.1);
}

.page-home .day-chip.is-now i {
  color: var(--cyan);
}

.page-home .fixture-wall {
  display: grid;
  gap: 14px;
}

.page-home .fixture {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(15, 27, 51, 0.96), rgba(7, 13, 26, 0.96));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fx-cut)), calc(100% - var(--fx-cut)) 100%, 0 100%);
  transition: transform 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .fixture--live {
  border-color: rgba(255, 90, 45, 0.45);
}

.page-home .fixture--live::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--flame);
}

.page-home .fx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .fx-sport {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .fx-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .fx-vs {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .fx-score {
  margin: 6px 0 8px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-home .fixture--live .fx-score {
  color: var(--flame);
}

.page-home .fx-score span {
  opacity: 0.5;
}

.page-home .fx-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  transition: color 160ms var(--ease);
}

/* ---------- 02 订阅 ---------- */

.page-home .sub-grid {
  display: grid;
  gap: 24px;
}

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

.page-home .node-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0 12px 14px;
  border-left: 2px solid var(--line);
}

.page-home .node-item:first-child {
  border-left-color: var(--cyan);
}

.page-home .node-item:last-child {
  border-left-color: rgba(255, 90, 45, 0.55);
}

.page-home .node-no {
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .node-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .node-text strong {
  color: var(--white);
  font-weight: 600;
}

.page-home .sub-note {
  margin: 0 0 18px;
  max-width: 58ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .sub-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .sub-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- 03 入口 ---------- */

.page-home .entry-grid {
  display: grid;
  gap: 14px;
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(15, 27, 51, 0.6);
}

.page-home .entry-card h3 {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--white);
}

.page-home .entry-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .entry-link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .entry-link:hover {
  color: var(--flame);
}

.page-home .entry-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .entry-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 04 复盘 ---------- */

.page-home .recap-grid {
  display: grid;
  gap: 16px;
}

.page-home .recap-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-panel);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .recap-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .recap-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.page-home .recap-body h3 {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--white);
}

.page-home .recap-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .recap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 4px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .recap-meta li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .recap-meta li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: middle;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .recap-foot {
  margin: 18px 0 18px;
  max-width: 66ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 05 速度 ---------- */

.page-home .speed-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .stat-card {
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: linear-gradient(180deg, rgba(34, 224, 208, 0.09), transparent 72%);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-home .stat-unit {
  display: block;
  margin: 6px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .stat-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

.page-home .speed-note {
  max-width: 68ch;
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 收尾 ---------- */

.page-home .next-strip {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(34, 224, 208, 0.12), transparent 58%),
    rgba(15, 27, 51, 0.7);
}

.page-home .next-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .next-strip p b {
  color: var(--white);
  font-weight: 600;
}

.page-home .next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 悬停增强 ---------- */

@media (hover: hover) {
  .page-home .fixture:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 224, 208, 0.45);
  }

  .page-home .fixture:hover .fx-note {
    color: var(--white);
  }

  .page-home .recap-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 224, 208, 0.4);
  }
}

/* ---------- 响应式 ---------- */

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

  .page-home .recap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .next-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

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

  .page-home .open-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.95fr);
    gap: 42px;
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-home .sub-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
  }
}

@media (min-width: 1120px) {
  .page-home .fixture-wall {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .fixture {
    grid-column: span 6;
  }

  .page-home .fx-c {
    grid-column: span 4;
  }

  .page-home .fx-d {
    grid-column: span 8;
  }

  .page-home .recap-grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fixture,
  .page-home .recap-card,
  .page-home .fx-note {
    transition: none;
  }

  .page-home .fixture:hover,
  .page-home .recap-card:hover {
    transform: none;
  }
}
