.page-home {
  --home-panel: #0B2036;
  --home-grid-line: rgba(143, 166, 189, .07);
  position: relative;
  overflow-x: hidden;
  color: var(--paper);
  background-color: var(--ink-900);
  font-family: var(--font-body);
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1180px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), transparent 78%);
}

.page-home > section {
  position: relative;
  z-index: 1;
}

.page-home .section {
  padding: clamp(48px, 8vw, 92px) 0;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 8px 0 16px;
  color: var(--paper);
  max-width: 20em;
}

.page-home .prose {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(238, 243, 247, .78);
  max-width: 34em;
  margin: 0 0 14px;
}

/* ---------- 首屏海报 ---------- */
.page-home .hero-poster {
  padding: 22px 0 52px;
  background:
    radial-gradient(760px 420px at 88% -6%, rgba(53, 230, 210, .18), transparent 64%),
    radial-gradient(620px 380px at 4% 34%, rgba(255, 138, 61, .1), transparent 66%);
}

.page-home .hero-poster__inner {
  display: grid;
  gap: 30px;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 13px 5px 10px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: var(--glass-white);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan-200);
}

.page-home .hero-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 9px var(--cyan-400);
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 7vw, 46px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  color: var(--paper);
}

.page-home .hero-num {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 16px;
}

.page-home .hero-num__value {
  font-family: var(--font-mono);
  font-size: clamp(66px, 17vw, 112px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.04em;
  color: var(--cyan-400);
}

.page-home .hero-num__unit {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 28px);
  color: var(--cyan-200);
}

.page-home .hero-num__note {
  flex-basis: 100%;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate-400);
}

.page-home .hero-lede {
  font-size: clamp(15px, 2.4vw, 17px);
  color: rgba(238, 243, 247, .82);
  margin: 0;
}

/* 拼贴卡 */
.page-home .hero-collage {
  display: grid;
  gap: 14px;
}

.page-home .tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 176px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-cyan);
  background: var(--ink-700);
  color: var(--paper);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .tile:hover,
.page-home .tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(53, 230, 210, .62);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .95);
}

.page-home .tile:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

.page-home .tile__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-home .tile--panel::after,
.page-home .tile--mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 20, 34, .18) 0%, rgba(6, 20, 34, .74) 56%, rgba(6, 20, 34, .96) 100%);
}

.page-home .tile__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .tile__tag {
  display: inline-flex;
  align-self: flex-start;
}

.page-home .tile__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.42;
  color: var(--paper);
}

.page-home .tile__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate-400);
}

.page-home .tile__arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.page-home .tile:hover .tile__arrow {
  transform: translateX(4px);
}

.page-home .tile--panel {
  min-height: 300px;
}

.page-home .tile--shelf {
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  background:
    radial-gradient(130% 110% at 100% 0%, rgba(53, 230, 210, .26), transparent 62%),
    var(--ink-700);
}

.page-home .tile--shelf .tile__big {
  font-family: var(--font-mono);
  font-size: clamp(46px, 11vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--cyan-400);
}

.page-home .tile--shelf .tile__label {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(238, 243, 247, .8);
}

/* ---------- 01 刷新节奏 ---------- */
.page-home .section--pace {
  position: relative;
  overflow: hidden;
}

.page-home .pace__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .pace__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
}

.page-home .pace__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink-900) 2%, rgba(6, 20, 34, .56) 50%, var(--ink-900) 98%);
}

.page-home .pace {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-home .board {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: 0 34px 64px -34px rgba(0, 0, 0, .9);
}

.page-home .board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(6, 20, 34, .14);
}

.page-home .board__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #0B6E62;
}

.page-home .pulse-ring {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0FA795;
  animation: homePulse 2.4s var(--ease) infinite;
}

@keyframes homePulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 167, 149, .55); }
  70% { box-shadow: 0 0 0 14px rgba(15, 167, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 167, 149, 0); }
}

.page-home .board__meta {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(6, 20, 34, .55);
}

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

.page-home .board-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "sport score"
    "state score";
  align-items: center;
  gap: 2px 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(6, 20, 34, .1);
}

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

.page-home .board-row__sport {
  grid-area: sport;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
}

.page-home .board-row__state {
  grid-area: state;
  font-size: 12px;
  color: rgba(6, 20, 34, .55);
}

.page-home .board-row__score {
  grid-area: score;
  font-family: var(--font-mono);
  font-size: clamp(17px, 4vw, 21px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-800);
  white-space: nowrap;
}

.page-home .board__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(6, 20, 34, .14);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(6, 20, 34, .6);
}

/* ---------- 02 收藏导航 ---------- */
.page-home .shelf {
  display: grid;
  gap: 28px;
}

.page-home .shelf-panel {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-cyan);
  background: var(--glass-white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.page-home .shelf-panel__title {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan-200);
}

.page-home .shelf-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .shelf-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: rgba(238, 243, 247, .74);
}

.page-home .shelf-list__item.is-active {
  border-left-color: var(--cyan-400);
  background: rgba(53, 230, 210, .1);
  color: var(--paper);
}

.page-home .shelf-list__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan-200);
}

.page-home .shelf-panel__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-400);
}

.page-home .shelf-figure {
  margin: 22px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-800);
}

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

/* ---------- 03 关注列表 ---------- */
.page-home .section--watch {
  background: linear-gradient(180deg, transparent, rgba(11, 32, 54, .72) 46%, transparent);
}

.page-home .signal-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 138, 61, .32);
  background: linear-gradient(100deg, rgba(255, 138, 61, .16), rgba(11, 32, 54, .58) 58%);
}

.page-home .signal-bar__num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--orange);
  flex: none;
}

.page-home .signal-bar__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(238, 243, 247, .84);
}

.page-home .watch-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.page-home .watch-link {
  margin: 18px 0 0;
}

.page-home .watch-link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 210, .4);
  padding-bottom: 3px;
}

.page-home .watch-link a:hover {
  color: var(--cyan-200);
  border-bottom-color: var(--cyan-200);
}

.page-home .watch-list-wrap {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--ink-800);
}

.page-home .watch-list__head {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--slate-400);
}

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

.page-home .watch-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.page-home .watch-list li:first-child {
  border-top: 0;
}

.page-home .watch-list__time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan-200);
}

.page-home .watch-list__name {
  color: rgba(238, 243, 247, .82);
  overflow-wrap: anywhere;
}

/* ---------- 04 留白 ---------- */
.page-home .quiet {
  display: grid;
  gap: 26px;
}

.page-home .quiet__facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .quiet-fact {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(18, 48, 76, .78), rgba(11, 32, 54, .5));
}

.page-home .quiet-fact dt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-400);
}

.page-home .quiet-fact dd {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(28px, 5.4vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan-200);
}

/* ---------- 05 下一步 ---------- */
.page-home .next-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .next-list li {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .next-list a {
  display: grid;
  gap: 6px;
  padding: 18px 6px;
  text-decoration: none;
  color: var(--paper);
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.page-home .next-list a:hover {
  background: rgba(53, 230, 210, .07);
  padding-left: 16px;
}

.page-home .next-list a:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: -2px;
}

.page-home .next-list__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--cyan-200);
}

.page-home .next-list__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-400);
}

.page-home .next-more {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(238, 243, 247, .72);
}

.page-home .next-more a {
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 210, .4);
}

.page-home .next-more a:hover {
  color: var(--cyan-200);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero-collage {
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 400px;
  }

  .page-home .tile--panel {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .page-home .tile--mobile {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .tile--shelf {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .watch-list li {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@media (min-width: 860px) {
  .page-home .hero-poster {
    padding: 40px 0 88px;
  }

  .page-home .hero-poster__inner {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 44px;
    align-items: center;
  }

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

  .page-home .board-row {
    grid-template-columns: 90px minmax(0, 1fr) auto;
    grid-template-areas: "sport state score";
    gap: 16px;
  }

  .page-home .board-row__state {
    justify-self: start;
  }

  .page-home .shelf {
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .watch-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .quiet {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .quiet__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .page-home .next-list a {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: baseline;
    gap: 28px;
    padding: 20px 6px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .pulse-ring {
    animation: none;
    box-shadow: 0 0 0 3px rgba(15, 167, 149, .28);
  }

  .page-home .tile,
  .page-home .tile__arrow,
  .page-home .next-list a {
    transition: none;
  }

  .page-home .tile:hover {
    transform: none;
  }
}
