/* ===== 首页 · 赛场总览 ===== */
.page-home {
  display: block;
  position: relative;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding: clamp(26px, 4.4vw, 60px) 0 clamp(32px, 4vw, 56px);
  overflow: hidden;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(640px, 76%);
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

.page-home .hm-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-home .hm-hero__top {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}

.page-home .hm-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.page-home .hm-hero__meta-brand {
  color: var(--cyan);
}

.page-home .hm-hero__meta-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--line);
}

.page-home .hm-hero__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hm-hero__accent {
  color: var(--cyan);
  text-shadow: 0 0 32px rgba(34, 224, 214, 0.28);
}

.page-home .hm-hero__lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hm-hero__foot {
  margin: 20px 0 0;
  color: var(--dim);
}

.page-home .hm-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .hm-hero__figure::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  pointer-events: none;
}

.page-home .hm-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 轮次条带 ---------- */
.page-home .hm-strip {
  margin-top: clamp(30px, 4.4vw, 56px);
}

.page-home .hm-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 12px;
}

.page-home .hm-strip__head .eyebrow {
  margin: 0;
}

.page-home .hm-strip__note {
  margin: 0;
  color: var(--dim);
}

.page-home .hm-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-strip__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 16px 14px 18px;
  background: var(--ink);
  transition: background var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease);
}

.page-home .hm-strip__cell:hover,
.page-home .hm-strip__cell:focus-visible {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--cyan);
  outline: none;
}

.page-home .hm-strip__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.page-home .hm-strip__time {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.9;
  color: var(--text);
}

.page-home .hm-strip__day {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .hm-strip__ev {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.page-home .hm-strip__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 通用小标题 ---------- */
.page-home .hm-sec-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-home .hm-sec-head .eyebrow {
  margin: 0 0 12px;
}

.page-home .hm-sec-head .headline {
  margin: 0;
}

.page-home .hm-sec-head .lede {
  margin: 14px 0 0;
}

/* ---------- 当季速览 ---------- */
.page-home .hm-season {
  padding: clamp(52px, 7vw, 104px) 0;
  border-top: 1px solid var(--line-2);
}

.page-home .hm-season__grid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}

.page-home .hm-season__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hm-sea {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-1) var(--ease), background var(--t-1) var(--ease);
}

.page-home .hm-sea:hover {
  background: var(--panel);
  box-shadow: inset 2px 0 0 0 var(--cyan);
}

.page-home .hm-sea__no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: var(--dim);
  transition: color var(--t-1) var(--ease);
}

.page-home .hm-sea:hover .hm-sea__no {
  color: var(--cyan);
}

.page-home .hm-sea__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.page-home .hm-sea__meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-home .hm-season__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .hm-season__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .hm-season__figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
}

/* ---------- 订阅与复盘 ---------- */
.page-home .hm-plan {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.page-home .hm-plan__tracks {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-track {
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--ink);
}

.page-home .hm-track--cyan {
  box-shadow: inset 0 2px 0 0 var(--cyan);
}

.page-home .hm-track--orange {
  box-shadow: inset 0 2px 0 0 var(--orange);
}

.page-home .hm-track__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.page-home .hm-track__sub {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.page-home .hm-track__slots {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.page-home .hm-slot {
  padding: 16px 14px 18px;
  background: var(--panel-2);
  transition: background var(--t-1) var(--ease);
}

.page-home .hm-slot:hover {
  background: var(--panel);
}

.page-home .hm-slot__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.page-home .hm-track--cyan .hm-slot__tag {
  color: var(--cyan);
}

.page-home .hm-track--orange .hm-slot__tag {
  color: var(--orange);
}

.page-home .hm-slot__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .hm-plan__figure {
  margin: clamp(24px, 3vw, 40px) 0 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .hm-plan__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .hm-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.6vw, 32px);
}

/* ---------- 公告脉冲 ---------- */
.page-home .hm-pulse {
  padding: clamp(52px, 7vw, 104px) 0;
}

.page-home .hm-pulse__grid {
  display: grid;
  gap: clamp(28px, 3.4vw, 52px);
}

.page-home .hm-pulse__main .eyebrow {
  margin: 0 0 12px;
}

.page-home .hm-pulse__main .headline {
  margin: 0;
}

.page-home .hm-pulse__main .lede {
  margin: 14px 0 0;
  max-width: 56ch;
}

.page-home .hm-pulse__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hm-pulse__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-pulse__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .hm-pulse__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.page-home .hm-pulse__text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .hm-pulse__main .btn {
  margin-top: 26px;
}

.page-home .hm-pulse__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  align-self: start;
}

.page-home .hm-pulse__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---------- 设备覆盖 ---------- */
.page-home .hm-device .eyebrow {
  margin: 0 0 12px;
}

.page-home .hm-device .headline {
  margin: 0;
}

.page-home .hm-device .lede {
  margin: 14px 0 0;
  max-width: 58ch;
}

.page-home .hm-device__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(24px, 3vw, 38px);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-dev {
  padding: 22px 18px 24px;
  background: var(--ink);
  transition: box-shadow var(--t-1) var(--ease);
}

.page-home .hm-dev:hover {
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.page-home .hm-dev__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .hm-dev__v {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 0.95;
  color: var(--text);
}

.page-home .hm-dev__plus {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.page-home .hm-dev__d {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .hm-device__note {
  margin: 20px 0 0;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .hm-device__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 数据一览 ---------- */
.page-home .hm-stats {
  padding: clamp(52px, 7vw, 104px) 0;
  border-top: 1px solid var(--line-2);
}

.page-home .hm-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-stat {
  padding: 22px 18px 24px;
  background: var(--ink);
}

.page-home .hm-stat .stat__num {
  display: block;
  font-size: clamp(40px, 6vw, 64px);
}

.page-home .hm-stat .stat__label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .hm-stats__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.page-home .hm-stats__bar .mono {
  color: var(--dim);
}

/* ---------- 下一步 ---------- */
.page-home .hm-next {
  border-top: 1px solid var(--line-2);
}

.page-home .hm-next__inner {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
}

.page-home .hm-next__title {
  margin: 0;
}

.page-home .hm-next__links {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-next__link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 14px;
  padding: 16px 16px 18px;
  background: var(--ink);
  text-decoration: none;
  transition: background var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease);
}

.page-home .hm-next__link:hover,
.page-home .hm-next__link:focus-visible {
  background: var(--panel);
  box-shadow: inset 2px 0 0 0 var(--cyan);
  outline: none;
}

.page-home .hm-next__no {
  grid-row: span 2;
  align-self: start;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--dim);
}

.page-home .hm-next__link:hover .hm-next__no {
  color: var(--cyan);
}

.page-home .hm-next__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.page-home .hm-next__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

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

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

  .page-home .hm-pulse__item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px 20px;
  }
}

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

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

@media (min-width: 900px) {
  .page-home .hm-hero__top {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

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

  .page-home .hm-pulse__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }

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

@media (min-width: 980px) {
  .page-home .hm-season__grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
    align-items: start;
  }

  .page-home .hm-season__figure {
    position: sticky;
    top: 96px;
  }

  .page-home .hm-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-home .hm-device__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .page-home .hm-sea {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .page-home .hm-sea .tag {
    grid-column: 2;
    justify-self: start;
  }

  .page-home .hm-strip__cell {
    min-height: 132px;
    padding: 14px 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-strip__cell,
  .page-home .hm-sea,
  .page-home .hm-slot,
  .page-home .hm-dev,
  .page-home .hm-next__link {
    transition: none;
  }
}
