/* ===== 赛场首页 ===== */
.page-home {
  --hm-line: rgba(169, 214, 255, .16);
  --hm-line-soft: rgba(169, 214, 255, .09);
  --hm-radius: 18px;
  --hm-radius-lg: 26px;
}

/* ---- 页面上下文 ---- */
.page-home .hm-context {
  padding-top: 6px;
  padding-bottom: 6px;
}

.page-home .hm-context__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ice);
  opacity: .88;
}

.page-home .hm-context__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-hot);
  background: rgba(47, 168, 255, .12);
  color: var(--c-blue);
  font-size: 12px;
  letter-spacing: .04em;
}

/* ---- 首屏拼贴 ---- */
.page-home .hm-hero {
  padding-top: 12px;
}

.page-home .hm-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .hm-hero__lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .hm-hero__titlerow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 14px;
}

.page-home .hm-hero__title {
  margin: 0;
  font-size: clamp(32px, 9.5vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.02em;
}

.page-home .hm-hero__title-main {
  display: inline-block;
  background-image: linear-gradient(98deg, #FFFFFF 4%, var(--c-blue) 48%, var(--c-green) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-hero__slant {
  display: none;
  padding-bottom: 10px;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--c-amber);
  white-space: nowrap;
}

.page-home .hm-hero__text {
  max-width: 48ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--c-ice);
}

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

.page-home .hm-hero__mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .hm-hero__mini li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hm-hero__mini .num {
  font-size: clamp(18px, 4.4vw, 25px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-white);
}

.page-home .hm-hero__mini small {
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-ice);
  opacity: .82;
}

.page-home .hm-hero__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .hm-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(47, 168, 255, .22), transparent 62%),
    linear-gradient(165deg, rgba(18, 59, 94, .82), rgba(7, 26, 47, .93));
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.page-home .hm-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-hot);
}

.page-home .hm-tile--away {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(57, 255, 154, .16), transparent 60%),
    linear-gradient(165deg, rgba(18, 59, 94, .82), rgba(7, 26, 47, .93));
}

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

.page-home .hm-tile__live {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--c-green);
  animation: hm-live 1.9s ease-in-out infinite;
}

@keyframes hm-live {
  0%, 100% { opacity: .42; }
  50% { opacity: 1; }
}

.page-home .hm-tile__big {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  font-size: clamp(40px, 11vw, 54px);
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
}

.page-home .hm-tile__unit {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-green);
}

.page-home .hm-tile__label {
  margin: 0;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--c-ice);
}

.page-home .hm-tile__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--c-ice);
  opacity: .84;
}

.page-home .hm-spark {
  width: 100%;
  height: 48px;
  margin-top: auto;
  color: var(--c-green);
  opacity: .9;
}

.page-home .hm-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
  margin: 8px 0 4px;
}

.page-home .hm-bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--c-blue), rgba(47, 168, 255, .12));
}

.page-home .hm-bars span:nth-child(1) { height: 34%; }
.page-home .hm-bars span:nth-child(2) { height: 58%; }
.page-home .hm-bars span:nth-child(3) { height: 46%; }
.page-home .hm-bars span:nth-child(4) {
  height: 78%;
  background: linear-gradient(180deg, var(--c-green), rgba(57, 255, 154, .12));
}
.page-home .hm-bars span:nth-child(5) { height: 62%; }

.page-home .hm-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background: var(--glass-deep);
}

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

.page-home .hm-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(47, 168, 255, .24), transparent 58%);
  pointer-events: none;
}

/* ---- 核心数据能力 ---- */
.page-home .hm-cap__head {
  max-width: 64ch;
}

.page-home .hm-cap__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
}

.page-home .hm-cap__block {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  padding: 22px 0;
}

.page-home .hm-cap__block:first-child {
  padding-top: 0;
}

.page-home .hm-cap__block + .hm-cap__block {
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .hm-cap__ord {
  grid-column: 1;
  grid-row: 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-green);
  opacity: .88;
}

.page-home .hm-cap__name {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(19px, 3.6vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-white);
}

.page-home .hm-cap__desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-ice);
}

.page-home .hm-cap__list {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-cap__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--c-ice);
  opacity: .9;
}

.page-home .hm-cap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
}

.page-home .hm-cap__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background: var(--glass);
}

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

.page-home .hm-cap__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border: 1px solid var(--hm-line);
  border-radius: var(--r-sm);
  background: rgba(7, 26, 47, .8);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-ice);
}

/* ---- 联赛筛选与赛季分段 ---- */
.page-home .hm-leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 26px;
}

.page-home .hm-league-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .hm-league-tag {
  padding: 8px 17px;
  border: 1px solid var(--line-hot);
  border-radius: var(--r-pill);
  background: rgba(47, 168, 255, .1);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-white);
}

.page-home .hm-league-tag:nth-child(1) {
  border-color: rgba(57, 255, 154, .5);
  background: rgba(57, 255, 154, .09);
  color: var(--c-green);
}

.page-home .hm-league-tag:nth-child(2) {
  border-color: rgba(47, 168, 255, .5);
  background: rgba(47, 168, 255, .12);
  color: var(--c-blue);
}

.page-home .hm-league-tag:nth-child(3) {
  border-color: rgba(255, 200, 87, .5);
  background: rgba(255, 200, 87, .09);
  color: var(--c-amber);
}

.page-home .hm-league-tag:nth-child(4) {
  border-color: rgba(0, 229, 208, .5);
  background: rgba(0, 229, 208, .09);
  color: var(--c-cyan);
}

.page-home .hm-league-tag:nth-child(5) {
  border-color: rgba(169, 214, 255, .45);
  background: rgba(169, 214, 255, .09);
  color: var(--c-ice);
}

.page-home .hm-seasons {
  display: grid;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
  border-left: 1px solid var(--hm-line);
}

.page-home .hm-seasons li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 13px 0;
}

.page-home .hm-seasons li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(47, 168, 255, .16);
}

.page-home .hm-seasons .num {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}

.page-home .hm-seasons__note {
  font-size: 13px;
  color: var(--c-ice);
  opacity: .86;
}

.page-home .hm-leagues__figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background: linear-gradient(150deg, rgba(18, 59, 94, .72), rgba(7, 26, 47, .92));
}

.page-home .hm-leagues__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: var(--r-md);
}

.page-home .hm-leagues__caption {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .02em;
  text-align: center;
  color: var(--c-ice);
  opacity: .84;
}

/* ---- 球员与阵容 ---- */
.page-home .hm-players__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .hm-players__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background: var(--glass-deep);
}

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

.page-home .hm-players__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 26, 47, .78), transparent 58%);
  pointer-events: none;
}

.page-home .hm-players__intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ice);
}

.page-home .hm-pcards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.page-home .hm-pcard {
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--hm-line);
  border-left: 3px solid var(--c-blue);
  border-radius: var(--hm-radius);
  background: linear-gradient(140deg, rgba(18, 59, 94, .62), rgba(7, 26, 47, .88));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .hm-pcard:nth-child(2) { border-left-color: var(--c-green); }
.page-home .hm-pcard:nth-child(3) { border-left-color: var(--c-amber); }
.page-home .hm-pcard:nth-child(4) { border-left-color: var(--c-cyan); }

.page-home .hm-pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.page-home .hm-pcard__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}

.page-home .hm-pcard__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--c-ice);
  opacity: .9;
}

/* ---- 数据终端引导 ---- */
.page-home .hm-terminal__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 26px 22px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(47, 168, 255, .2), transparent 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(57, 255, 154, .14), transparent 60%),
    linear-gradient(160deg, rgba(18, 59, 94, .87), rgba(7, 26, 47, .95));
  box-shadow: var(--shadow-2);
}

.page-home .hm-terminal__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ice);
}

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

.page-home .hm-terminal__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-terminal__list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--hm-line-soft);
}

.page-home .hm-terminal__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .hm-terminal__list strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
}

.page-home .hm-terminal__list span {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--c-ice);
  opacity: .88;
}

/* ---- 信任与更新节奏 ---- */
.page-home .hm-trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.page-home .hm-stat {
  padding: 18px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: linear-gradient(150deg, rgba(18, 59, 94, .58), rgba(7, 26, 47, .85));
}

.page-home .hm-stat .stat__value {
  display: block;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
}

.page-home .hm-stat .stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--c-ice);
  opacity: .88;
}

.page-home .hm-trust__notes {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px dashed var(--hm-line);
  border-radius: var(--hm-radius);
  background: rgba(13, 42, 71, .52);
}

.page-home .hm-trust__notes p {
  margin: 0;
  font-size: 14px;
  line-height: 1.88;
  color: var(--c-ice);
}

.page-home .hm-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
}

.page-home .hm-trust__links a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(47, 168, 255, .35);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .hm-trust__links a:hover {
  color: var(--c-green);
  border-bottom-color: var(--c-green);
}

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

  .page-home .hm-hero__figure {
    grid-column: 1 / -1;
  }

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

@media (min-width: 900px) {
  .page-home .hm-hero__slant {
    display: inline-block;
  }

  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .hm-hero__figure img {
    aspect-ratio: 16 / 10;
  }

  .page-home .hm-cap__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 34px;
    align-items: start;
    margin-top: 34px;
  }

  .page-home .hm-leagues__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 34px;
    align-items: center;
    margin-top: 34px;
  }

  .page-home .hm-players__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 36px;
    align-items: center;
  }

  .page-home .hm-terminal__panel {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 36px;
    padding: 38px 34px;
    align-items: center;
  }

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

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

@media (min-width: 1180px) {
  .page-home .hm-hero__grid {
    gap: 46px;
  }

  .page-home .hm-pcards {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-tile__live {
    animation: none;
  }

  .page-home .hm-tile,
  .page-home .hm-pcard,
  .page-home .hm-trust__links a {
    transition: none;
  }
}
