.page-home {
  --home-gap: clamp(1rem, 2vw, 1.5rem);
  --home-radius: 18px;
  display: block;
}

.page-home .home-crumbs {
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

/* ---------- 首屏 Bento ---------- */
.page-home .home-hero {
  padding-top: clamp(.75rem, 2vw, 1.25rem);
}

.page-home .home-stage {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-stage__intro {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--edge);
  border-radius: var(--home-radius);
  background:
    radial-gradient(130% 130% at 0% 0%, rgba(79, 240, 208, .16), transparent 58%),
    radial-gradient(90% 120% at 100% 100%, rgba(255, 122, 26, .13), transparent 60%),
    var(--grass-panel);
  box-shadow: var(--shadow-paper);
}

.page-home .home-stage__intro::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -4.5rem;
  width: 12rem;
  height: 12rem;
  border: 2px dashed rgba(79, 240, 208, .26);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-stage__intro h1 {
  position: relative;
  margin: .75rem 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.85rem, 5.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--cream);
}

.page-home .home-lead {
  position: relative;
  margin: 1rem 0 0;
  max-width: 46ch;
  color: var(--body-text);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  line-height: 1.85;
}

.page-home .home-intro__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ---------- 青训竖排 ---------- */
.page-home .home-rail {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--edge);
  border-radius: var(--home-radius);
  background: var(--grass-panel-2);
}

.page-home .home-rail__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  color: var(--cream);
}

.page-home .home-rail__text {
  margin: 0;
  color: var(--body-text);
  font-size: .9375rem;
  line-height: 1.8;
}

.page-home .home-rail__list {
  margin: .25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.page-home .home-rail__list li {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  padding-bottom: .5rem;
  border-bottom: 1px dashed var(--edge);
  color: var(--body-text);
  font-size: .9375rem;
}

.page-home .home-rail__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-rail__list .num {
  color: var(--neon);
  font-weight: 700;
  font-size: 1.05rem;
}

.page-home .home-rail__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  color: var(--neon);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 240, 208, .45);
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  color: var(--neon-soft);
  border-bottom-color: var(--neon-soft);
}

/* ---------- 战报卡片流 ---------- */
.page-home .home-stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--edge);
  border-radius: var(--home-radius);
  background: var(--grass-panel);
}

.page-home .home-stream__title {
  margin: .5rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  color: var(--cream);
}

.page-home .home-stream__text {
  margin: .4rem 0 0;
  color: var(--body-text);
  font-size: .9375rem;
  line-height: 1.75;
}

.page-home .home-stream__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.page-home .home-stream__card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius-md);
  background: var(--grass-deep);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.page-home .home-stream__card:hover,
.page-home .home-stream__card:focus-within {
  transform: translateY(-3px);
  border-color: var(--edge-strong);
  background: var(--grass-panel-2);
}

.page-home .home-stream__card .card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .home-stream__card .card__body {
  margin: 0;
  color: var(--body-text);
  font-size: .875rem;
  line-height: 1.75;
}

.page-home .home-stream__card .card__foot {
  margin: auto 0 0;
  padding-top: .625rem;
}

.page-home .home-stream__link {
  color: var(--neon);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-stream__link:hover,
.page-home .home-stream__link:focus-visible {
  color: var(--neon-soft);
}

/* ---------- 订阅侧栏 ---------- */
.page-home .home-stage__side {
  display: flex;
  flex-direction: column;
  gap: var(--home-gap);
}

.page-home .media-frame {
  border: 1px solid var(--edge);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .home-side__media {
  border-radius: var(--home-radius);
}

.page-home .home-sub {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1.1rem, 2.5vw, 1.4rem);
  border-radius: var(--home-radius);
}

.page-home .home-sub .card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.35;
}

.page-home .home-sub .card__body {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.75;
}

.page-home .home-sub .btn {
  margin-top: .5rem;
}

.page-home .home-guide {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px dashed var(--edge);
  border-radius: var(--home-radius);
  background: rgba(6, 26, 19, .55);
}

.page-home .home-guide__title {
  margin: 0;
  color: var(--neon-soft);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .04em;
}

.page-home .home-guide__steps {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
  counter-reset: hg;
}

.page-home .home-guide__steps li {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--body-text);
  font-size: .9375rem;
  counter-increment: hg;
}

.page-home .home-guide__steps li::before {
  content: counter(hg);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--neon);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
}

.page-home .home-guide__link {
  display: inline-block;
  margin-top: .875rem;
  color: var(--ice);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-guide__link:hover,
.page-home .home-guide__link:focus-visible {
  color: var(--cream);
}

/* ---------- 通用小节头 ---------- */
.page-home .home-sec-head {
  max-width: 62ch;
}

.page-home .home-sec-head .section__eyebrow {
  margin: 0;
}

.page-home .home-sec-head .section__title {
  margin: .6rem 0 0;
}

.page-home .home-sec-head .section__lead {
  margin: .75rem 0 0;
  color: var(--body-text);
  line-height: 1.85;
}

/* ---------- 点球时间轴 ---------- */
.page-home .home-pens {
  padding-top: clamp(2.25rem, 6vw, 4rem);
}

.page-home .home-pens__top {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.page-home .home-pens__media {
  width: 100%;
  max-width: 320px;
  justify-self: start;
}

.page-home .pen-track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: .75rem;
  scrollbar-width: thin;
}

.page-home .pen-track:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.page-home .pen-track__list {
  display: flex;
  gap: .875rem;
  min-width: max-content;
  margin: 0;
  padding: .375rem .25rem .5rem;
  list-style: none;
}

.page-home .pen-node {
  position: relative;
  flex: 0 0 clamp(190px, 56vw, 240px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.15rem 1rem 1rem;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius-md);
  background: var(--grass-panel-2);
  transition: transform .18s ease, border-color .18s ease;
}

.page-home .pen-node::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.page-home .pen-node:hover,
.page-home .pen-node:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, .6);
}

.page-home .pen-node__round {
  margin: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: .9375rem;
}

.page-home .pen-node__match {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}

.page-home .pen-node__note {
  margin: 0;
  color: var(--body-text);
  font-size: .875rem;
  line-height: 1.7;
}

/* ---------- 角球公告 ---------- */
.page-home .home-corners {
  padding-top: clamp(2.25rem, 6vw, 4rem);
}

.page-home .home-corners__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.page-home .home-corners__img {
  border-radius: var(--home-radius);
}

.page-home .corner-banner {
  display: flex;
  align-items: stretch;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  overflow: hidden;
  background: var(--ice);
  color: var(--ink);
  border-top: 1px solid rgba(6, 26, 19, .3);
  border-bottom: 1px solid rgba(6, 26, 19, .3);
}

.page-home .corner-banner__label {
  flex: none;
  display: flex;
  align-items: center;
  padding: .6rem clamp(.875rem, 2vw, 1.25rem);
  background: var(--ink);
  color: var(--ice);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(.75rem, 1.6vw, .875rem);
  letter-spacing: .1em;
  white-space: nowrap;
}

.page-home .corner-banner__viewport {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-home .corner-banner__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  animation: home-corner-scroll 36s linear infinite;
}

.page-home .corner-banner__viewport:hover .corner-banner__track,
.page-home .corner-banner__viewport:focus-within .corner-banner__track {
  animation-play-state: paused;
}

.page-home .corner-banner__item {
  padding-right: 2.5rem;
  color: var(--ink);
  font-size: clamp(.8125rem, 1.6vw, .9375rem);
  font-weight: 600;
}

@keyframes home-corner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 补时中心 ---------- */
.page-home .home-stoppage {
  padding-top: clamp(2.25rem, 6vw, 4rem);
}

.page-home .home-stoppage__panel {
  display: grid;
  gap: var(--home-gap);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 194, 71, .45);
  border-radius: var(--home-radius);
  background:
    linear-gradient(150deg, rgba(255, 194, 71, .16), rgba(255, 122, 26, .07) 55%),
    var(--grass-panel);
  box-shadow: var(--shadow-paper);
}

.page-home .home-stoppage__num {
  margin: .875rem 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--amber);
}

.page-home .home-stoppage__clock .section__title {
  margin: .5rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--cream);
}

.page-home .home-stoppage__hint {
  margin: .75rem 0 0;
  max-width: 44ch;
  color: var(--body-text);
  font-size: .9375rem;
  line-height: 1.85;
}

.page-home .home-stoppage__facts {
  display: grid;
  gap: .875rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.page-home .home-stoppage__facts .stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .875rem 1rem;
  border: 1px solid rgba(255, 194, 71, .28);
  border-radius: var(--radius-md);
  background: rgba(6, 26, 19, .5);
}

.page-home .home-stoppage__facts .stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--amber);
}

.page-home .home-stoppage__facts .stat__label {
  color: var(--body-text);
  font-size: .8125rem;
  line-height: 1.6;
}

/* ---------- 家庭看球 ---------- */
.page-home .home-family {
  padding-top: clamp(2.25rem, 6vw, 4rem);
}

.page-home .home-family__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.page-home .home-family__body .section__title {
  margin: .6rem 0 0;
}

.page-home .home-family__body .section__lead {
  margin: .75rem 0 0;
  color: var(--body-text);
  line-height: 1.85;
}

.page-home .home-family__feats {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .625rem;
}

.page-home .home-family__feats li {
  position: relative;
  padding-left: 1.375rem;
  color: var(--body-text);
  font-size: .9375rem;
  line-height: 1.75;
}

.page-home .home-family__feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--neon);
}

.page-home .home-family__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ---------- 规模数据条 ---------- */
.page-home .home-trust {
  padding-top: clamp(2.25rem, 6vw, 4rem);
}

.page-home .home-trust__head {
  max-width: 58ch;
}

.page-home .home-trust__grid {
  display: grid;
  gap: .875rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-home .home-trust__item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.125rem 1rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius-md);
  background: var(--grass-panel-2);
}

.page-home .home-trust__item .stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--neon);
  letter-spacing: -.01em;
}

.page-home .home-trust__item .stat__label {
  color: var(--body-text);
  font-size: .8125rem;
  line-height: 1.6;
}

.page-home .home-trust__note {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.85;
}

.page-home .home-trust__note a {
  color: var(--ice);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 216, 255, .45);
}

.page-home .home-trust__note a:hover,
.page-home .home-trust__note a:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 900px) {
  .page-home .home-stage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-content: start;
  }

  .page-home .home-stage__intro {
    grid-column: 1 / 9;
    grid-row: 1;
  }

  .page-home .home-rail {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .page-home .home-stream {
    grid-column: 4 / 9;
    grid-row: 2;
  }

  .page-home .home-stage__side {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
  }
}

@media (min-width: 820px) {
  .page-home .home-pens__top {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr);
  }

  .page-home .home-stoppage__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .page-home .home-family__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
}

/* ---------- 窄屏收敛 ---------- */
@media (max-width: 480px) {
  .page-home .home-stage__intro::after {
    display: none;
  }

  .page-home .home-intro__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .home-family__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .corner-banner__label {
    letter-spacing: .04em;
  }
}

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

  .page-home .home-stream__card,
  .page-home .pen-node {
    transition: none;
  }
}
