.page-home {
  --sd-main-top: 0;
  --hp-pad: clamp(20px, 4vw, 56px);
  --hp-radius: 0;
}

/* ---------- 首屏 ---------- */
.page-home .hp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 88% at 84% 6%, rgba(53, 214, 232, .16), transparent 58%),
    radial-gradient(90% 70% at 6% 94%, rgba(255, 106, 26, .16), transparent 62%),
    var(--sd-night);
  padding-top: calc(var(--sd-header-h) + clamp(26px, 6vw, 76px));
  padding-bottom: clamp(44px, 8vw, 104px);
}

.page-home .hp-hero__beam {
  position: absolute;
  top: -10%;
  right: -6%;
  width: 46%;
  height: 130%;
  background: linear-gradient(180deg, rgba(53, 214, 232, .1), rgba(255, 106, 26, .04) 60%, transparent);
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.page-home .hp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.page-home .hp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sd-lime);
  box-shadow: 0 0 0 0 rgba(182, 255, 60, .6);
  animation: hp-pulse 2.2s var(--sd-ease) infinite;
}

@keyframes hp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(182, 255, 60, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(182, 255, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 255, 60, 0); }
}

.page-home .hp-hero__title {
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  font-size: clamp(34px, 5.6vw, 70px);
  line-height: 1.06;
  letter-spacing: -.01em;
}

.page-home .hp-hero__title strong {
  font-weight: 800;
  color: var(--sd-orange);
}

.page-home .hp-hero__lead {
  max-width: 46ch;
  margin: 0 0 clamp(20px, 3vw, 30px);
}

.page-home .hp-hero__actions {
  margin-bottom: clamp(26px, 4vw, 40px);
}

/* 比分牌 */
.page-home .hp-board {
  position: relative;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(20, 42, 76, .92), rgba(11, 27, 52, .92));
  border-left: 2px solid var(--sd-orange);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .hp-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--sd-line);
}

.page-home .hp-score + .hp-score {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--sd-line);
}

.page-home .hp-score__meta {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--sd-index);
  text-transform: uppercase;
}

.page-home .hp-score__line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.page-home .hp-score__team {
  flex: 1 1 0;
  min-width: 0;
  font-size: 15px;
  color: var(--sd-mist);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .hp-score__team--right {
  text-align: right;
}

.page-home .hp-score__num {
  flex: 0 0 auto;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--sd-orange);
  letter-spacing: .02em;
}

.page-home .hp-score__sep {
  padding: 0 2px;
  color: var(--sd-index);
}

.page-home .hp-board__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--sd-line);
  font-size: 13px;
  color: var(--sd-index);
}

.page-home .hp-board__foot b {
  font-family: var(--sd-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--sd-lime);
}

.page-home .hp-arrow {
  color: var(--sd-lime);
  font-size: 15px;
}

/* 首屏视觉 */
.page-home .hp-hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--sd-room);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

.page-home .hp-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-home .hp-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 27, 52, .3) 0%, rgba(11, 27, 52, .05) 42%, rgba(5, 11, 22, .88) 100%),
    linear-gradient(90deg, rgba(255, 106, 26, .14), transparent 55%);
  pointer-events: none;
}

.page-home .hp-trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  width: 100%;
  height: 42%;
  opacity: .9;
}

.page-home .hp-hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(5, 11, 22, .72);
  border-left: 2px solid var(--sd-lime);
}

.page-home .hp-hero__badge strong {
  font-family: var(--sd-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--sd-lime);
  line-height: 1;
}

.page-home .hp-hero__badge-unit {
  font-size: 13px;
  color: var(--sd-index);
}

/* ---------- 此刻与回看 ---------- */
.page-home .hp-viewswitch {
  background: var(--sd-night);
  border-top: 1px solid var(--sd-line);
  border-bottom: 1px solid var(--sd-line);
  padding: clamp(34px, 6vw, 66px) 0;
}

.page-home .hp-viewswitch__title {
  margin: 10px 0 clamp(20px, 3vw, 30px);
}

.page-home .hp-tabs .sd-tabs__list {
  border-bottom: 1px solid var(--sd-line);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-home .hp-tabs .sd-tab {
  font-family: var(--sd-mono);
  font-size: 13px;
  letter-spacing: .14em;
  padding: 12px 4px;
  margin-right: 26px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--sd-index);
  cursor: pointer;
  transition: color .2s var(--sd-ease), border-color .2s var(--sd-ease);
}

.page-home .hp-tabs .sd-tab[aria-selected="true"] {
  color: var(--sd-mist);
  border-bottom-color: var(--sd-orange);
}

.page-home .hp-tabs .sd-tab:focus-visible {
  outline: 2px solid var(--sd-cyan);
  outline-offset: 2px;
}

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

.page-home .hp-feed__item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--sd-line);
}

.page-home .hp-feed__item:last-child {
  border-bottom: 0;
}

.page-home .hp-feed__time {
  grid-row: 1 / span 2;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sd-cyan);
  padding-top: 3px;
}

.page-home .hp-feed__scene {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sd-index);
}

.page-home .hp-feed__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sd-mist);
}

.page-home .hp-feed__item .sd-tag {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 赛季变更 ---------- */
.page-home .hp-changes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sd-ink);
}

.page-home .hp-changes__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .24;
  z-index: -2;
}

.page-home .hp-changes__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 22, .94), rgba(11, 27, 52, .9) 46%, rgba(5, 11, 22, .96));
}

.page-home .hp-changes__grid {
  row-gap: clamp(26px, 4vw, 44px);
}

.page-home .hp-changes__rail .sd-note {
  margin: 16px 0 24px;
}

.page-home .hp-log {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(18px, 3vw, 30px);
  border-left: 1px solid var(--sd-line-strong);
}

.page-home .hp-log__item {
  position: relative;
  padding: 0 0 clamp(24px, 3.4vw, 36px);
}

.page-home .hp-log__item--last {
  padding-bottom: 0;
}

.page-home .hp-log__item::before {
  content: "";
  position: absolute;
  left: calc(clamp(18px, 3vw, 30px) * -1 - 4.5px);
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--sd-lime);
  transform: rotate(45deg);
}

.page-home .hp-log__time {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--sd-cyan);
}

.page-home .hp-log__title {
  margin: 0 0 6px;
}

.page-home .hp-log__desc {
  margin: 0 0 8px;
  max-width: 62ch;
}

.page-home .hp-log__src {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sd-gold);
}

/* ---------- 两条业务线 ---------- */
.page-home .hp-lines__title {
  margin: 10px 0 clamp(24px, 4vw, 40px);
}

.page-home .hp-lines__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 40px);
}

.page-home .hp-line {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background: var(--sd-room);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .hp-line--life {
  background: linear-gradient(180deg, rgba(20, 42, 76, .92), rgba(11, 27, 52, .96));
  border-left: 2px solid var(--sd-gold);
}

.page-home .hp-line--data {
  border-left: 2px solid var(--sd-orange);
}

.page-home .hp-line__index {
  margin: 0 0 10px;
  color: var(--sd-gold);
}

.page-home .hp-line__name {
  margin: 0 0 16px;
}

.page-home .hp-line__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  margin: 0 0 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .hp-line__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .hp-line__list li {
  position: relative;
  padding: 0 0 12px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sd-mist);
}

.page-home .hp-line__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 1px;
  background: var(--sd-orange);
}

.page-home .hp-line--life .hp-line__list li::before {
  background: var(--sd-gold);
}

/* ---------- 收录维度 ---------- */
.page-home .hp-dims__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.page-home .hp-dims__intro {
  margin: 14px 0 22px;
  max-width: 42ch;
}

.page-home .hp-dims__head img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: .85;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

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

.page-home .hp-index-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-top: 1px solid var(--sd-line);
}

.page-home .hp-index-list__item:last-child {
  border-bottom: 1px solid var(--sd-line);
}

.page-home .hp-index-list__num {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sd-orange);
  padding-top: 5px;
}

.page-home .hp-index-list__item h3 {
  margin: 0 0 6px;
}

.page-home .hp-index-list__item p {
  margin: 0;
  max-width: 58ch;
}

/* ---------- 规模 ---------- */
.page-home .hp-scale {
  border-top: 1px solid var(--sd-line);
}

.page-home .hp-scale__title {
  margin: 10px 0 clamp(24px, 4vw, 42px);
}

.page-home .hp-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--sd-line);
  border: 1px solid var(--sd-line);
}

.page-home .hp-stat {
  padding: clamp(20px, 3vw, 30px);
  background: var(--sd-night);
}

.page-home .hp-stat__num {
  margin: 0 0 4px;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 600;
  line-height: 1;
  color: var(--sd-orange);
}

.page-home .hp-stat__label {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--sd-gold);
}

.page-home .hp-stat__desc {
  margin: 0;
  font-size: 14px;
  color: var(--sd-index);
}

/* ---------- 下一步 ---------- */
.page-home .hp-next {
  background: var(--sd-ink);
}

.page-home .hp-next__title {
  margin: 10px 0 clamp(22px, 3.4vw, 36px);
}

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

.page-home .hp-routes__item {
  border-bottom: 1px solid var(--sd-line);
}

.page-home .hp-routes__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 26px) 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color .2s var(--sd-ease), padding-left .2s var(--sd-ease);
}

.page-home .hp-routes__link:hover,
.page-home .hp-routes__link:focus-visible {
  background: rgba(20, 42, 76, .7);
  padding-left: 14px;
}

.page-home .hp-routes__link:focus-visible {
  outline: 2px solid var(--sd-cyan);
  outline-offset: -2px;
}

.page-home .hp-routes__num {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sd-orange);
}

.page-home .hp-routes__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hp-routes__body strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--sd-mist);
}

.page-home .hp-routes__body span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sd-index);
}

.page-home .hp-routes__arrow {
  color: var(--sd-lime);
  font-size: 20px;
  transition: transform .2s var(--sd-ease);
}

.page-home .hp-routes__link:hover .hp-routes__arrow {
  transform: translateX(5px);
}

.page-home .hp-next__more {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  color: var(--sd-index);
}

/* ---------- 悬浮数据条 ---------- */
.page-home .hp-dock {
  display: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hp-feed__item {
    grid-template-columns: 96px 120px 1fr auto;
    align-items: baseline;
    gap: 4px 18px;
  }

  .page-home .hp-feed__time {
    grid-row: auto;
    padding-top: 0;
  }

  .page-home .hp-feed__item .sd-tag {
    grid-column: auto;
    margin-top: 0;
    justify-self: end;
  }

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

@media (min-width: 940px) {
  .page-home .hp-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(36px, 5vw, 78px);
  }

  .page-home .hp-hero__visual {
    aspect-ratio: 6 / 7;
  }

  .page-home .hp-lines__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .hp-line--life {
    margin-top: clamp(28px, 5vw, 64px);
  }

  .page-home .hp-dims__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .hp-dims__head {
    position: sticky;
    top: calc(var(--sd-header-h) + 24px);
  }

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

@media (min-width: 1140px) {
  .page-home .hp-dock {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 5;
    display: block;
    width: 186px;
    padding: 14px 16px;
    background: rgba(5, 11, 22, .9);
    border-left: 2px solid var(--sd-lime);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  }

  .page-home .hp-dock__label {
    margin: 0 0 6px;
    color: var(--sd-index);
  }

  .page-home .hp-dock__time {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
    color: var(--sd-mist);
  }

  .page-home .hp-dock__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    color: var(--sd-index);
  }

  .page-home .hp-dock__row + .hp-dock__row {
    margin-top: 6px;
  }

  .page-home .hp-dock__num {
    font-size: 16px;
    font-weight: 600;
    color: var(--sd-orange);
  }

  .page-home .hp-dock__num--live {
    color: var(--sd-lime);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-dot,
  .page-home .hp-trace,
  .page-home .hp-routes__arrow,
  .page-home .hp-routes__link {
    animation: none;
    transition: none;
  }
}
</main>
