.page-home {
  --h-flag: 6px;
  --h-card: #ffffff;
  --h-gap-lg: clamp(28px, 5vw, 56px);
  --h-gap-md: clamp(18px, 3vw, 32px);
  overflow-x: hidden;
}

/* ---------- 页面上下文条 ---------- */
.page-home .h-context {
  padding: 18px 0 0;
}
.page-home .h-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ht-line);
}
.page-home .h-context__inner .ht-eyebrow {
  margin: 0;
}
.page-home .h-context__inner .ht-note {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .h-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) 0 clamp(30px, 5vw, 64px);
  background:
    linear-gradient(160deg, #eef4fb 0%, var(--ht-snow) 48%, #eaf0f8 100%);
}
.page-home .h-hero::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -26%;
  width: 70%;
  height: 128%;
  background: linear-gradient(148deg, var(--ht-blue) 0%, #0d63c4 46%, var(--ht-red) 100%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.12;
  pointer-events: none;
}
.page-home .h-hero::after {
  content: "";
  position: absolute;
  left: 32%;
  right: -12%;
  bottom: -34%;
  height: 62%;
  background: linear-gradient(90deg, rgba(215, 38, 61, 0.12), rgba(232, 163, 61, 0.16));
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .h-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--h-gap-lg);
  min-width: 0;
}
.page-home .h-hero__copy {
  min-width: 0;
}
.page-home .h-hero__title {
  margin: 14px 0 0;
  font-family: var(--ht-font-head);
  font-weight: 900;
  font-size: clamp(46px, 12.5vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ht-blue-deep);
}
.page-home .h-hero__title::after {
  content: "";
  display: block;
  width: 78px;
  height: 8px;
  margin-top: 18px;
  background: var(--ht-red);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.page-home .h-hero__lede {
  margin: 22px 0 0;
  max-width: 56ch;
  color: #35465c;
}
.page-home .h-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-home .h-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ht-line);
}
.page-home .h-stat {
  min-width: 0;
}
.page-home .h-stat dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ht-mist);
}
.page-home .h-stat dd {
  margin: 8px 0 0;
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 30px);
  color: var(--ht-blue);
  line-height: 1;
}

.page-home .h-hero__visual {
  position: relative;
  min-width: 0;
}
.page-home .h-hero__media {
  margin: 0;
}
.page-home .h-hero__media img {
  display: block;
  width: 100%;
  height: clamp(210px, 48vw, 420px);
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.page-home .h-board {
  position: relative;
  margin-top: -30px;
  margin-left: clamp(0px, 4vw, 34px);
  padding: 20px 22px 18px;
  background: var(--ht-blue-deep);
  color: var(--ht-snow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.page-home .h-board .ht-eyebrow {
  color: var(--ht-gold);
  margin: 0;
}
.page-home .h-board__meta {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(247, 249, 252, 0.7);
}
.page-home .h-board__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
}
.page-home .h-board__team {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ht-snow);
}
.page-home .h-board__num {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: clamp(38px, 11vw, 62px);
  line-height: 1;
  color: #ffffff;
  transition: transform 0.25s ease;
}
.page-home .h-board__num:hover {
  transform: translateY(-6px);
}
.page-home .h-board__sep {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 28px;
  color: var(--ht-gold);
}
.page-home .h-board .ht-note {
  margin: 0;
  color: rgba(247, 249, 252, 0.66);
}

/* ---------- 逐场核对表 ---------- */
.page-home .h-fixtures {
  background: var(--ht-snow);
}
.page-home .h-fixtures__head {
  max-width: 64ch;
}
.page-home .h-fixtures__lede {
  margin-top: 16px;
}
.page-home .h-fixtures__media {
  margin-top: var(--h-gap-md);
}
.page-home .h-fixtures__media img {
  display: block;
  width: 100%;
  height: clamp(170px, 36vw, 320px);
  object-fit: cover;
}
.page-home .h-fixtures__chips {
  margin-top: clamp(22px, 4vw, 34px);
}
.page-home .h-fixtures__empty {
  margin-top: 16px;
}

.page-home .h-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}
.page-home .h-race {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px 16px 16px 24px;
  background: var(--h-card);
  border: 1px solid var(--ht-line);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.page-home .h-race:hover {
  border-color: var(--ht-line-strong);
}
.page-home .h-race__flag {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--h-flag);
  background: var(--flag, var(--ht-blue));
  transform-origin: top center;
}
.page-home .h-race--blue { --flag: var(--ht-blue); }
.page-home .h-race--red { --flag: var(--ht-red); }
.page-home .h-race--gold { --flag: var(--ht-gold); }
.page-home .h-race--green { --flag: var(--ht-green); }
.page-home .h-race--sky { --flag: var(--ht-sky); }
.page-home .h-race--orange { --flag: var(--ht-orange); }
.page-home .h-race--deep { --flag: var(--ht-blue-deep); }

.page-home .h-race__day {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.page-home .h-race__day .ht-num {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ht-blue);
}
.page-home .h-race__cat {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ht-mist);
}
.page-home .h-race__match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .h-race__team {
  font-size: 16px;
  font-weight: 600;
  color: var(--ht-ink);
}
.page-home .h-race__score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  background: rgba(11, 79, 158, 0.07);
}
.page-home .h-race__score b {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ht-blue-deep);
}
.page-home .h-race__score i {
  font-style: normal;
  color: var(--ht-mist);
}
.page-home .h-race__score--vs {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ht-red);
  background: rgba(215, 38, 61, 0.08);
}
.page-home .h-race__state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .h-race__state .ht-note {
  font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .h-race:hover {
    transform: translateX(4px);
  }
  .page-home .h-race:hover .h-race__flag {
    animation: h-sway 1.1s ease-in-out;
  }
}
@keyframes h-sway {
  0%, 100% { transform: skewX(0deg); }
  50% { transform: skewX(-7deg); }
}

/* ---------- 安卓通道 ---------- */
.page-home .h-android {
  background: linear-gradient(178deg, var(--ht-snow) 0%, #e9f1fa 100%);
}
.page-home .h-android__grid {
  display: grid;
  gap: var(--h-gap-lg);
  min-width: 0;
}
.page-home .h-android__media {
  min-width: 0;
}
.page-home .h-android__photo {
  margin: 0;
}
.page-home .h-android__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.page-home .h-pool {
  margin-top: 18px;
  padding: 16px 16px 14px;
  background: var(--h-card);
  border: 1px solid var(--ht-line);
  border-top: 4px solid var(--ht-gold);
}
.page-home .h-pool .ht-eyebrow {
  margin: 0;
}
.page-home .h-pool__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 10px;
}
.page-home .h-pool__num {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 15px;
  padding: 4px 10px;
  color: var(--ht-blue-deep);
  background: rgba(232, 163, 61, 0.16);
  border: 1px solid rgba(232, 163, 61, 0.45);
}
.page-home .h-pool .ht-note {
  margin: 0;
}

.page-home .h-android__body {
  min-width: 0;
}
.page-home .h-android__body .ht-lede {
  margin-top: 16px;
  max-width: 58ch;
}
.page-home .h-steps {
  display: grid;
  gap: 3px;
  margin: 26px 0 26px;
}
.page-home .h-step {
  background: var(--h-card);
  border: 1px solid var(--ht-line);
}
.page-home .h-step .ht-disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--ht-font-body);
  color: var(--ht-ink);
}
.page-home .h-step .ht-disclosure__trigger:focus-visible {
  outline: 2px solid var(--ht-orange);
  outline-offset: -3px;
}
.page-home .h-step__no {
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ht-red);
}
.page-home .h-step__label {
  flex: 1 1 auto;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.page-home .h-step .ht-disclosure__body {
  padding: 0 16px 18px 50px;
}
.page-home .h-step .ht-disclosure__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: #3b4a5e;
}

/* ---------- 青训批次 ---------- */
.page-home .h-youth {
  background: var(--ht-snow);
}
.page-home .h-youth__grid {
  display: grid;
  gap: var(--h-gap-lg);
  min-width: 0;
}
.page-home .h-youth__body {
  min-width: 0;
}
.page-home .h-youth__body .ht-lede {
  margin-top: 16px;
  max-width: 58ch;
}
.page-home .h-youth__facts {
  list-style: none;
  margin: 26px 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.page-home .h-youth__facts li {
  padding: 14px 12px 12px;
  background: var(--h-card);
  border-top: 3px solid var(--ht-green);
}
.page-home .h-youth__facts b {
  display: block;
  font-family: var(--ht-font-mono);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1;
  color: var(--ht-green);
}
.page-home .h-youth__facts span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ht-mist);
}
.page-home .h-youth__body .ht-note {
  margin: 0 0 22px;
}
.page-home .h-youth__media {
  min-width: 0;
}
.page-home .h-youth__media .ht-media {
  margin: 0;
}
.page-home .h-youth__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 14 / 9;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

/* ---------- 资讯带 ---------- */
.page-home .h-feed {
  background: linear-gradient(178deg, #eef3fa 0%, var(--ht-snow) 100%);
}
.page-home .h-feed__head {
  max-width: 62ch;
}
.page-home .h-feed__head .ht-lede {
  margin-top: 16px;
}
.page-home .h-feed__list {
  list-style: none;
  margin: 24px 0 26px;
  padding: 0;
}
.page-home .h-feed__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ht-line);
}
.page-home .h-feed__cat {
  flex: 0 0 auto;
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ht-red);
}
.page-home .h-feed__ttl {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ht-ink);
}

/* ---------- 栏目归档 ---------- */
.page-home .h-archive {
  background: linear-gradient(180deg, var(--ht-snow) 0%, #e9f0f9 100%);
}
.page-home .h-archive__lede {
  margin-top: 16px;
  max-width: 64ch;
}
.page-home .h-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: var(--h-gap-md);
}
.page-home .h-col {
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  background: var(--h-card);
  border: 1px solid var(--ht-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.24s ease, transform 0.24s ease;
}
.page-home .h-col:hover,
.page-home .h-col:focus-visible {
  border-color: var(--ht-orange);
  transform: translateY(-3px);
}
.page-home .h-col:focus-visible {
  outline: 2px solid var(--ht-orange);
  outline-offset: 2px;
}
.page-home .h-col__idx {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ht-mist);
}
.page-home .h-col__name {
  font-family: var(--ht-font-serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--ht-blue-deep);
}
.page-home .h-col__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ht-mist);
}
.page-home .h-archive__foot {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ht-mist);
}
.page-home .h-archive__foot a {
  color: var(--ht-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .h-archive__foot a:hover,
.page-home .h-archive__foot a:focus-visible {
  color: var(--ht-orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .h-race {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    padding: 15px 20px 15px 28px;
  }
  .page-home .h-race__state {
    grid-column: 2;
  }
  .page-home .h-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .h-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
    gap: clamp(34px, 4vw, 60px);
  }
  .page-home .h-hero__visual {
    padding-top: 14px;
  }
  .page-home .h-race {
    grid-template-columns: 168px minmax(0, 1fr) 178px;
  }
  .page-home .h-race__state {
    grid-column: 3;
    justify-content: flex-end;
  }
  .page-home .h-android__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
  }
  .page-home .h-youth__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
  }
  .page-home .h-archive__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .h-section,
  .page-home .ht-section {
    scroll-margin-top: 120px;
  }
}

@media (min-width: 1200px) {
  .page-home .h-hero__inner {
    gap: 72px;
  }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .h-race,
  .page-home .h-col,
  .page-home .h-board__num {
    transition: none;
  }
  .page-home .h-race:hover,
  .page-home .h-col:hover {
    transform: none;
  }
  .page-home .h-race:hover .h-race__flag {
    animation: none;
  }
}
</main>
