.page-home {
  --home-gap: clamp(14px, 1.8vw, 22px);
  --home-pad: clamp(18px, 3vw, 34px);
  --home-block-gap: clamp(46px, 7vw, 96px);
  color: var(--mist);
  padding-inline: clamp(0px, 1.2vw, 14px);
  padding-bottom: clamp(30px, 5vw, 70px);
}

/* ---------- 顶部上下文条 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .home-context__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 4px rgba(216, 240, 74, .14);
}

.page-home .home-context__text {
  flex: 1 1 auto;
  min-width: 0;
}

.page-home .home-context__link {
  flex: 0 0 auto;
  color: var(--signal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, .4);
  padding-bottom: 1px;
  transition: color .2s var(--ease);
}

.page-home .home-context__link:hover {
  color: var(--signal-soft);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-top: clamp(22px, 3.6vw, 44px);
}

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--steel);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  max-width: 16em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 6.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.5px;
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 33em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--steel);
}

.page-home .home-hero__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(24px, 3.4vw, 40px);
}

/* ---------- 拼贴块通用 ---------- */
.page-home .patch {
  position: relative;
  min-width: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--hair-soft);
  background: var(--indigo);
  overflow: hidden;
}

.page-home .patch__inner {
  position: relative;
  z-index: 2;
  padding: var(--home-pad);
}

.page-home .patch__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .patch__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-home .patch__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  animation: homePulse 30s var(--ease) infinite;
}

@keyframes homePulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 240, 74, .7); }
  5% { box-shadow: 0 0 0 10px rgba(216, 240, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 240, 74, 0); }
}

.page-home .patch__h {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -.3px;
}

/* ---------- 比分块 ---------- */
.page-home .patch--score {
  display: flex;
  min-height: 360px;
  background: var(--indigo-deep);
}

.page-home .patch--score .patch__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.page-home .patch__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
}

.page-home .patch--score::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 84% 8%, rgba(255, 90, 31, .3), transparent 58%),
    linear-gradient(180deg, rgba(10, 16, 38, .32) 0%, rgba(10, 16, 38, .9) 66%, var(--night) 100%);
}

.page-home .patch__sub {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--steel);
}

.page-home .score {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  margin: 2px 0 6px;
}

.page-home .score__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.page-home .score__goals {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(52px, 11vw, 96px);
  line-height: .92;
  letter-spacing: 1px;
  color: var(--mist);
  text-shadow: 0 0 42px rgba(255, 90, 31, .4);
}

.page-home .score__team {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--steel);
}

.page-home .score__colon {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5.6vw, 52px);
  line-height: 1;
  color: var(--signal);
  transform: translateY(-10px);
}

.page-home .overtime {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 176, 32, .07);
  border: 1px solid rgba(255, 176, 32, .24);
}

.page-home .overtime__ring {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}

.page-home .overtime__track {
  fill: none;
  stroke: rgba(255, 176, 32, .18);
  stroke-width: 8;
}

.page-home .overtime__prog {
  fill: none;
  stroke: var(--amber);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 118;
  filter: drop-shadow(0 0 6px rgba(255, 176, 32, .5));
  animation: homeRing 6s var(--ease) infinite alternate;
}

@keyframes homeRing {
  from { stroke-dashoffset: 132; }
  to { stroke-dashoffset: 96; }
}

.page-home .overtime__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.page-home .overtime__label {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--steel);
}

.page-home .overtime__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(24px, 4.4vw, 34px);
  letter-spacing: 1px;
  color: var(--amber);
  line-height: 1.1;
}

.page-home .overtime__hint {
  font-size: 11.5px;
  color: var(--steel);
}

.page-home .mini-strip {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .mini-strip li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .mini-strip__k {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--steel);
}

.page-home .mini-strip__v {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--mist);
}

/* ---------- 转会块 ---------- */
.page-home .patch--transfer {
  background: linear-gradient(168deg, var(--indigo) 0%, var(--indigo-deep) 60%, var(--night) 100%);
}

.page-home .patch--transfer .patch__inner {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.page-home .transfer__pic {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-md);
}

.page-home .transfer__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .transfer__meta {
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
}

.page-home .transfer__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .transfer__meta dt {
  color: var(--steel);
  white-space: nowrap;
}

.page-home .transfer__meta dd {
  margin: 0;
  text-align: right;
  color: var(--mist);
}

.page-home .patch__more {
  margin-top: auto;
  color: var(--signal);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .patch__more:hover {
  color: var(--signal-soft);
}

/* ---------- 青训索引块 ---------- */
.page-home .patch--youth {
  background: linear-gradient(180deg, var(--wine) 0%, #2A0D22 100%);
  border-color: rgba(255, 255, 255, .08);
}

.page-home .patch--youth .patch__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .patch__p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .youth-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .youth-mini a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--pill);
  background: rgba(20, 180, 140, .12);
  border: 1px solid rgba(20, 180, 140, .3);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.page-home .youth-mini a:hover {
  background: rgba(20, 180, 140, .26);
  color: var(--mist);
}

.page-home .patch__note {
  margin: auto 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  margin-top: var(--home-block-gap);
}

.page-home .home-lede {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  max-width: 42em;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.8;
  color: var(--steel);
}

.page-home .tag--teal {
  background: rgba(20, 180, 140, .14);
  border-color: rgba(20, 180, 140, .34);
  color: var(--teal);
}

/* ---------- 流转列表 ---------- */
.page-home .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair-soft);
}

.page-home .flow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .flow__main {
  margin: 0;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .flow__when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
  white-space: nowrap;
}

/* ---------- 统计横带 ---------- */
.page-home .figure {
  margin: 0 0 clamp(20px, 3vw, 30px);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--indigo);
  border: 1px solid var(--hair-soft);
}

.page-home .figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .figure__cap {
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--steel);
}

.page-home .figure__cap strong {
  color: var(--amber);
  font-weight: 600;
}

.page-home .stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .stat {
  position: relative;
  min-width: 0;
  padding: 18px 18px 20px;
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(17, 40, 74, .95), rgba(10, 16, 38, .72));
  border: 1px solid var(--hair-soft);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.page-home .stat:hover,
.page-home .stat:focus-within {
  border-color: rgba(255, 90, 31, .45);
  transform: translateY(-3px);
}

.page-home .stat__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--signal);
}

.page-home .stat__h {
  margin: 8px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.2px;
}

.page-home .stat__d {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .stat__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--hair);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(147, 162, 190, .72);
  transition: color .25s var(--ease);
}

.page-home .stat:hover .stat__note,
.page-home .stat:focus-within .stat__note {
  color: var(--amber);
}

/* ---------- 青训时间轴 ---------- */
.page-home .home-block--youth {
  padding: clamp(26px, 4vw, 52px) clamp(16px, 3vw, 34px) clamp(30px, 4vw, 54px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(110% 80% at 10% 0%, rgba(59, 18, 48, .92), transparent 62%),
    linear-gradient(180deg, #2A0D22 0%, #180817 100%);
}

.page-home .youth-track {
  position: relative;
  padding-left: 22px;
}

.page-home .youth-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(20, 180, 140, .06) 100%);
}

.page-home .youth-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .youth-row:last-child {
  border-bottom: 0;
}

.page-home .youth-row::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--teal);
}

.page-home .youth-row__tag {
  flex: 0 0 auto;
}

.page-home .youth-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.page-home .youth-row__body h3 {
  margin: 0 0 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.2px;
}

.page-home .youth-row__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--steel);
}

.page-home .youth-row__go {
  flex: 0 0 auto;
  align-self: center;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}

.page-home .youth-row__go:hover {
  color: var(--mist);
}

/* ---------- 白皮书与栏目 ---------- */
.page-home .report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .report {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: var(--r-lg);
  background: rgba(17, 40, 74, .6);
  border: 1px solid var(--hair-soft);
}

.page-home .report__h {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -.3px;
}

.page-home .report__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .report__go {
  margin-top: auto;
  color: var(--signal);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .report__go:hover {
  color: var(--signal-soft);
}

/* ---------- 收尾 ---------- */
.page-home .home-closer {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: var(--home-block-gap);
  min-height: 280px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hair-soft);
  background: var(--night);
  overflow: hidden;
}

.page-home .home-closer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.page-home .home-closer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 38, .12) 0%, rgba(10, 16, 38, .86) 58%, var(--night) 100%);
}

.page-home .home-closer__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(22px, 3.4vw, 44px);
}

.page-home .home-closer__h {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: -.4px;
}

.page-home .home-closer__p {
  margin: 0 0 20px;
  max-width: 40em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

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

.page-home .home-closer__foot {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .btn--signal {
  background: var(--signal);
  border-color: var(--signal);
  color: #17060B;
  font-weight: 700;
}

.page-home .btn--signal:hover {
  background: var(--signal-soft);
  border-color: var(--signal-soft);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 639px) {
  .page-home .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .page-home .flow__when {
    white-space: normal;
  }

  .page-home .youth-row {
    flex-wrap: wrap;
  }

  .page-home .youth-row__go {
    align-self: flex-start;
  }

  .page-home .score {
    gap: 10px;
  }
}

/* ---------- 平板起：首屏拼贴 ---------- */
@media (min-width: 900px) {
  .page-home .home-hero__board {
    grid-template-columns: minmax(0, 1.68fr) minmax(0, 1.06fr) minmax(0, .64fr);
    align-items: start;
  }

  .page-home .patch--score {
    min-height: 480px;
  }
}

/* ---------- 统计卡片栅格 ---------- */
@media (min-width: 720px) {
  .page-home .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .patch__dot,
  .page-home .overtime__prog {
    animation: none;
  }

  .page-home .stat,
  .page-home .youth-mini a,
  .page-home .patch__more,
  .page-home .report__go,
  .page-home .home-context__link {
    transition: none;
  }

  .page-home .stat:hover,
  .page-home .stat:focus-within {
    transform: none;
  }
}
