.page-home {
  --home-gap: clamp(20px, 4vw, 56px);
  --home-block: clamp(56px, 8vw, 112px);
  --home-line: rgba(61, 74, 92, 0.55);
  background: var(--ink);
  color: var(--ice);
  overflow-x: hidden;
}

/* ============ 首屏 ============ */
.page-home .hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(255, 210, 0, 0.09), transparent 58%),
    radial-gradient(80% 70% at 6% 88%, rgba(55, 245, 160, 0.05), transparent 60%),
    var(--ink);
  border-bottom: 1px solid var(--slate);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 88px);
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: start;
}

.page-home .hero__left,
.page-home .hero__right {
  min-width: 0;
}

.page-home .hero__title {
  margin: 16px 0 0;
  font-family: var(--font-narrow);
  font-weight: 300;
  font-size: clamp(38px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .hero__title-line {
  display: block;
}

.page-home .hero__title-line--accent {
  color: var(--yellow);
}

.page-home .hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
}

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

.page-home .hero__watch {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.page-home .hero__watch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}

.page-home .hero__watch-more {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}

.page-home .hero__watch-more:hover {
  border-bottom-color: var(--yellow);
}

.page-home .hero__watch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .watch-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--slate);
  border-radius: var(--radius-pill);
  background: var(--graphite);
  font-size: 13px;
}

.page-home .watch-mini__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  flex: none;
}

.page-home .watch-mini__dot--live {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(55, 245, 160, 0.18);
}

.page-home .watch-mini__team {
  color: var(--ice);
}

.page-home .watch-mini__time {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .hero__screen {
  position: relative;
  margin: 0;
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--graphite);
}

.page-home .hero__screen img {
  display: block;
  width: 100%;
  height: clamp(170px, 24vw, 280px);
  object-fit: cover;
  filter: saturate(0.5) brightness(0.7);
}

.page-home .hero__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 18, 0.2) 0%, rgba(11, 14, 18, 0.88) 100%);
}

.page-home .hero__screen-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: var(--yellow);
}

.page-home .hero__feed {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .feed-row {
  padding: 14px 16px;
  background: var(--graphite);
  border: 1px solid var(--slate);
  border-left: 3px solid var(--slate);
  border-radius: var(--radius-sm);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.page-home .feed-row:hover {
  border-left-color: var(--yellow);
  background: #161E29;
}

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

.page-home .feed-row__state {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  border: 1px solid var(--slate);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}

.page-home .feed-row__state--live {
  color: var(--green);
  border-color: rgba(55, 245, 160, 0.5);
  background: rgba(14, 59, 46, 0.5);
}

.page-home .feed-row__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.page-home .feed-row__team {
  margin: 0;
  font-size: 15px;
  color: var(--ice);
  min-width: 0;
}

.page-home .feed-row__vs {
  color: var(--mist);
  font-size: 12px;
  padding: 0 4px;
}

.page-home .feed-row__score {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.page-home .feed-row__next {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  font-family: var(--font-mono);
}

/* ============ 关注列表 ============ */
.page-home .watch {
  padding: var(--home-block) 0;
  background: var(--ink);
  border-bottom: 1px solid var(--slate);
}

.page-home .watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .watch__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.page-home .watch-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--graphite);
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

.page-home .watch-item:hover {
  border-color: var(--yellow);
  transform: translateX(4px);
}

.page-home .watch-item__body {
  min-width: 0;
}

.page-home .watch-item__name {
  margin: 0;
  font-size: 17px;
  color: var(--ice);
  font-weight: 600;
}

.page-home .watch-item__league {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
  border: 1px solid var(--slate);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-weight: 400;
}

.page-home .watch-item__meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--mist);
}

.page-home .watch-item__next {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--green);
  white-space: nowrap;
}

.page-home .watch__side {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.page-home .watch__panel {
  padding: 18px;
}

.page-home .watch__panel-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ============ 战报时间线 ============ */
.page-home .feedline {
  padding: var(--home-block) 0;
  background: var(--graphite);
  border-bottom: 1px solid var(--slate);
}

.page-home .feedline__banner {
  position: relative;
  margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .feedline__banner img {
  display: block;
  width: 100%;
  height: clamp(130px, 18vw, 220px);
  object-fit: cover;
  filter: saturate(0.45) brightness(0.62);
}

.page-home .feedline__list {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.page-home .feedline__list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.page-home .feed-node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 22px;
}

.page-home .feed-node:last-child {
  padding-bottom: 0;
}

.page-home .feed-node::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 14px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--slate);
  background: var(--ink);
  box-sizing: border-box;
}

.page-home .feed-node.is-live::before {
  border-color: var(--yellow);
  background: var(--yellow);
  animation: home-node-pulse 1.8s ease-in-out infinite;
}

.page-home .feed-node__clock {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .feed-node__card {
  padding: 16px 18px;
  background: var(--ink);
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  transition: border-color 200ms var(--ease);
}

.page-home .feed-node__card:hover {
  border-color: var(--yellow);
}

.page-home .feed-node__score {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(40px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}

.page-home .feed-node.is-live .feed-node__score {
  color: var(--yellow);
}

.page-home .feed-node__desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

@keyframes home-node-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 210, 0, 0);
  }
}

/* ============ 更新公告 ============ */
.page-home .notice {
  background: var(--graphite);
  border-bottom: 1px solid var(--slate);
}

.page-home .notice__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding-top: clamp(26px, 4vw, 40px);
  padding-bottom: clamp(26px, 4vw, 40px);
  border-left: 3px solid var(--yellow);
  padding-left: clamp(18px, 3vw, 32px);
}

.page-home .notice__label {
  margin: 0;
}

.page-home .notice__text {
  margin: 0;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ice);
}

.page-home .notice__link {
  justify-self: start;
  align-self: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 210, 0, 0.4);
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease);
}

.page-home .notice__link:hover {
  border-bottom-color: var(--yellow);
}

/* ============ 陕西速度 ============ */
.page-home .speed {
  padding: var(--home-block) 0;
  background: var(--ink);
  border-bottom: 1px solid var(--slate);
}

.page-home .speed__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}

.page-home .speed__text {
  min-width: 0;
}

.page-home .speed__text .section__lead {
  margin-top: 16px;
}

.page-home .speed__nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .speed-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 104px;
  padding: 14px 18px;
  background: var(--pine);
  border: 1px solid rgba(55, 245, 160, 0.28);
  border-radius: var(--radius-md);
}

.page-home .speed-node__name {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ice);
}

.page-home .speed-node__val {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.page-home .speed__footnote {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--yellow);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .speed__figure {
  margin: 0;
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--graphite);
  min-width: 0;
}

.page-home .speed__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.68);
}

/* ============ 三步路径 ============ */
.page-home .steps {
  padding: var(--home-block) 0;
  background:
    radial-gradient(90% 80% at 10% 20%, rgba(255, 210, 0, 0.06), transparent 60%),
    var(--ink);
}

.page-home .steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}

.page-home .steps__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--graphite);
  min-width: 0;
}

.page-home .steps__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.66);
}

.page-home .steps__body {
  min-width: 0;
}

.page-home .steps__list {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.page-home .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--slate);
}

.page-home .step__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.page-home .step__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ice);
}

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

.page-home .steps__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ============ 响应式 ============ */
@media (min-width: 760px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .hero__right {
    padding-top: 34px;
  }

  .page-home .watch__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .page-home .feedline__list {
    padding-left: 40px;
  }

  .page-home .feedline__list::before {
    left: 9px;
  }

  .page-home .feed-node {
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .feed-node::before {
    left: -40px;
    top: 16px;
  }

  .page-home .feed-node__clock {
    padding-top: 18px;
    text-align: right;
  }

  .page-home .notice__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
  }

  .page-home .speed__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .steps__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (min-width: 1100px) {
  .page-home .hero__feed {
    gap: 12px;
  }

  .page-home .hero__screen img {
    height: clamp(220px, 22vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .watch-mini__dot--live,
  .page-home .feed-node.is-live::before {
    animation: none;
  }

  .page-home .feed-row,
  .page-home .watch-item,
  .page-home .feed-node__card,
  .page-home .hero__watch-more,
  .page-home .notice__link {
    transition: none;
  }

  .page-home .watch-item:hover {
    transform: none;
  }
}
