.page-home {
  --home-edge: rgba(58, 107, 96, 0.55);
  --home-line: rgba(58, 107, 96, 0.35);
  --home-panel: rgba(18, 58, 47, 0.78);
  --home-deep: rgba(11, 42, 34, 0.95);
  display: block;
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .page-home__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.page-home .page-home__crumbs a {
  color: var(--sage);
  text-decoration: none;
}

.page-home .page-home__crumbs a:hover,
.page-home .page-home__crumbs a:focus-visible {
  color: var(--ice);
}

.page-home .page-home__crumbs [aria-current="page"] {
  color: var(--mist);
}

/* ---------- 框景首屏 ---------- */

.page-home .framehero {
  position: relative;
  padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 40px) clamp(22px, 3.4vw, 44px);
  background:
    radial-gradient(120% 150% at 8% -20%, rgba(44, 110, 136, 0.38), transparent 62%),
    linear-gradient(158deg, rgba(18, 58, 47, 0.94), rgba(11, 42, 34, 0.98));
  border: 1px solid var(--home-edge);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-home .framehero__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ice);
  opacity: 0.8;
  pointer-events: none;
}

.page-home .framehero__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.page-home .framehero__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.page-home .framehero__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.page-home .framehero__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.page-home .framehero__scale {
  height: 16px;
  margin-bottom: clamp(16px, 2.2vw, 26px);
  background-image: repeating-linear-gradient(90deg, var(--ice-deep) 0 1px, transparent 1px 26px);
  border-bottom: 1px solid rgba(127, 216, 255, 0.38);
  opacity: 0.85;
}

.page-home .framehero__top {
  align-items: end;
  gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(22px, 3vw, 36px);
}

.page-home .framehero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
}

.page-home .framehero__clock,
.page-home .framehero__season {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-home .framehero__season {
  color: var(--ice);
}

.page-home .framehero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mist);
  text-wrap: balance;
}

.page-home .framehero__para {
  max-width: 34ch;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .framehero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .framehero__window {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(58, 107, 96, 0.7);
  background: var(--pine-mid);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .framehero__window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 32%, rgba(127, 216, 255, 0.16) 49%, transparent 64%);
  pointer-events: none;
}

.page-home .framehero__window img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.84);
}

.page-home .framehero__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 42, 34, 0.94));
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .framehero__capidx {
  color: var(--ice);
  font-size: 12px;
}

/* ---------- 赛况条 ---------- */

.page-home .fixtures {
  list-style: none;
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.page-home .fixture {
  position: relative;
  padding: 15px clamp(14px, 2vw, 22px) 15px clamp(18px, 2.4vw, 28px);
  background: var(--home-deep);
  transition: background var(--speed) ease;
}

.page-home .fixture::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: var(--home-line);
  transition: background var(--speed) ease;
}

.page-home .fixture:hover,
.page-home .fixture:focus-within,
.page-home .fixture:focus {
  background: rgba(18, 58, 47, 0.96);
  outline: none;
}

.page-home .fixture:hover::before,
.page-home .fixture:focus-within::before,
.page-home .fixture:focus::before {
  background: var(--ice);
}

.page-home .fixture__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.page-home .fixture__sport {
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--pine);
  background: var(--ice);
}

.page-home .fixture__pair {
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .fixture__pair i {
  margin-inline: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sage);
}

.page-home .fixture__clock {
  font-size: 13px;
  color: var(--sage);
}

.page-home .fixture__caret {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--ice);
  transition: transform var(--speed) ease;
}

.page-home .fixture:hover .fixture__caret,
.page-home .fixture:focus-within .fixture__caret,
.page-home .fixture:focus .fixture__caret {
  transform: rotate(45deg);
}

.page-home .fixture__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sage);
  max-width: 60ch;
}

.page-home .fixture__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--speed) ease, opacity var(--speed) ease, margin-top var(--speed) ease;
}

.page-home .fixture:hover .fixture__metrics,
.page-home .fixture:focus-within .fixture__metrics,
.page-home .fixture:focus .fixture__metrics {
  max-height: 140px;
  margin-top: 14px;
  opacity: 1;
}

.page-home .fixture__metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--home-line);
  font-size: 12px;
  color: var(--sage);
}

.page-home .fixture__metrics b {
  font-size: 18px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .framehero__more {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--sage);
}

.page-home .framehero__more a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 216, 255, 0.4);
}

.page-home .framehero__more a:hover {
  border-bottom-color: var(--ice);
}

/* ---------- 对照数据条 ---------- */

.page-home__comparewrap {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.page-home .compare-strip {
  display: flex;
  gap: 1px;
  padding: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.page-home .metric {
  flex: 0 0 clamp(184px, 60vw, 236px);
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
  padding: 18px 16px 20px;
  background: var(--home-deep);
}

.page-home .metric__name {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.page-home .metric__pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .metric__sep {
  flex: 0 0 auto;
  width: 14px;
  height: 1px;
  background: var(--ice-deep);
}

.page-home .metric__pair span:last-child {
  color: var(--ice);
}

.page-home .metric__bars {
  display: grid;
  gap: 5px;
}

.page-home .metric__bars span {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--ice) 0 var(--fill), rgba(58, 107, 96, 0.3) var(--fill) 100%);
}

.page-home .metric__bars span:last-child {
  background: linear-gradient(90deg, var(--ice-deep) 0 var(--fill), rgba(58, 107, 96, 0.3) var(--fill) 100%);
}

.page-home .metric__note {
  margin: 0;
  font-size: 12px;
  color: var(--sage);
}

.page-home .compare-strip__foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--sage);
}

/* ---------- 赛季时间轴 ---------- */

.page-home .seasonband {
  position: relative;
  margin-top: clamp(18px, 2.6vw, 30px);
  padding-block: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(11, 42, 34, 0.6), rgba(11, 42, 34, 0.95));
}

.page-home .seasonband__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.6) brightness(0.7);
}

.page-home .seasonband .wrap {
  position: relative;
}

.page-home .railstrip {
  display: flex;
  gap: 1px;
  padding: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  background: rgba(58, 107, 96, 0.45);
  list-style: none;
  margin: 0;
}

.page-home .season {
  flex: 0 0 clamp(150px, 42vw, 200px);
  scroll-snap-align: start;
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
  background: rgba(11, 42, 34, 0.9);
  text-decoration: none;
  transition: background var(--speed) ease;
}

.page-home .season:hover,
.page-home .season:focus-visible {
  background: rgba(18, 58, 47, 0.96);
  outline: none;
}

.page-home .season__id {
  font-size: 22px;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.page-home .season__name {
  font-size: 14px;
  color: var(--mist);
}

.page-home .season__meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-home .season.is-current {
  background: rgba(18, 58, 47, 0.98);
  box-shadow: inset 0 -3px 0 0 var(--ice);
}

.page-home .season.is-current .season__id {
  color: var(--ice);
}

/* ---------- 当季动态 ---------- */

.page-home .briefgrid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(18px, 2.6vw, 30px);
}

.page-home .briefgrid__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--pine-mid);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .briefgrid__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05) brightness(0.76);
}

.page-home .briefgrid__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(11, 42, 34, 0.94));
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .brieflist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .brief {
  position: relative;
  padding: 18px 0 18px 20px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .brief::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 10px;
  height: 2px;
  background: var(--ice);
}

.page-home .brief__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.page-home .brief__title {
  margin: 0 0 8px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--mist);
}

.page-home .brief__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sage);
  max-width: 56ch;
}

.page-home .brief__more {
  margin: 22px 0 0;
}

/* ---------- 跨设备续接 ---------- */

.page-home .syncgrid {
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  row-gap: clamp(24px, 3vw, 36px);
}

.page-home .syncbody__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-home .syncbody__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--sage);
  max-width: 44ch;
}

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

.page-home .kpi {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  background: var(--home-deep);
}

.page-home .kpi__value {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--mist);
}

.page-home .kpi__value--ice {
  color: var(--ice);
}

.page-home .kpi__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
}

.page-home .kpi__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--sage);
}

.page-home .syncfig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--pine-mid);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

.page-home .syncfig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.8);
}

.page-home .syncfig__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 42, 34, 0.94));
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 赛前三个动作 ---------- */

.page-home .actiongrid {
  display: grid;
  gap: 1px;
  margin-top: clamp(18px, 2.6vw, 30px);
  padding: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.page-home .action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px) clamp(18px, 2.6vw, 26px);
  background: var(--home-deep);
  text-decoration: none;
  transition: background var(--speed) ease;
}

.page-home .action:hover,
.page-home .action:focus-visible {
  background: rgba(18, 58, 47, 0.98);
  outline: none;
}

.page-home .action__idx {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ice-deep);
}

.page-home .action:hover .action__idx {
  color: var(--ice);
}

.page-home .action__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--mist);
}

.page-home .action__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .action__go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ice);
  border-top: 1px solid var(--home-line);
}

.page-home .actions__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sage);
}

.page-home .actions__foot a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 216, 255, 0.4);
}

.page-home .actions__foot a:hover {
  border-bottom-color: var(--ice);
}

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

@media (max-width: 640px) {
  .page-home .fixture__clock {
    width: 100%;
  }

  .page-home .fixture__caret {
    margin-left: 0;
  }

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

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

@media (min-width: 900px) {
  .page-home .briefgrid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .briefgrid__fig {
    margin-top: clamp(24px, 5vw, 64px);
  }

  .page-home .brief:nth-child(even) {
    margin-left: clamp(12px, 3vw, 42px);
  }

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

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

  .page-home .framehero__lede {
    padding-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fixture,
  .page-home .fixture::before,
  .page-home .fixture__caret,
  .page-home .fixture__metrics,
  .page-home .season,
  .page-home .action {
    transition: none;
  }
}

.page-home {
  --fill: transparent;
}
