.page-home {
  --home-grid-line: rgba(34, 58, 105, 0.34);
  --home-major-line: rgba(37, 224, 208, 0.09);
  --home-surface: rgba(21, 37, 71, 0.72);
  background-color: var(--ink-900);
  color: var(--fog-200);
  font-family: var(--font-sans);
}

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

/* ---------- 首屏封面 ---------- */
.page-home .cover {
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
  background-image:
    linear-gradient(to right, var(--home-grid-line) 0 1px, transparent 1px 24px),
    linear-gradient(to bottom, var(--home-grid-line) 0 1px, transparent 1px 24px),
    linear-gradient(to right, var(--home-major-line) 0 1px, transparent 1px 120px),
    linear-gradient(to bottom, var(--home-major-line) 0 1px, transparent 1px 120px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
}

.page-home .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 64% at 82% 26%, rgba(37, 224, 208, 0.16), transparent 72%),
    radial-gradient(48% 52% at 8% 88%, rgba(63, 92, 144, 0.26), transparent 76%);
  pointer-events: none;
}

.page-home .cover__grid {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .cover__crumb {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-500);
}

.page-home .cover__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.2rem, 7.2vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--snow-050);
}

.page-home .cover__lede {
  margin: 0 0 0.9rem;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fog-200);
}

.page-home .cover__lede--quiet {
  max-width: 42ch;
  font-size: 0.92rem;
  color: var(--fog-quiet);
}

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

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

.page-home .cover__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-600);
  box-shadow: var(--shadow-card);
}

.page-home .cover__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.page-home .cover__cross {
  position: absolute;
  width: 18px;
  height: 18px;
}

.page-home .cover__cross::before,
.page-home .cover__cross::after {
  content: "";
  position: absolute;
  background: var(--cyan-400);
  opacity: 0.85;
}

.page-home .cover__cross::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.page-home .cover__cross::after {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  transform: translateY(-50%);
}

.page-home .cover__cross--tl { top: 14px; left: 14px; }
.page-home .cover__cross--br { right: 14px; bottom: 14px; }

.page-home .cover__trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  background:
    repeating-linear-gradient(90deg, rgba(37, 224, 208, 0.55) 0 2px, transparent 2px 14px);
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .cover__caption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--steel-500);
}

.page-home .cover__statusbar {
  position: relative;
  border-top: 1px solid var(--line-soft);
  background: rgba(12, 23, 48, 0.78);
}

.page-home .statusbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-block: 0.95rem;
}

.page-home .statusbar__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fog-quiet);
}

.page-home .statusbar__num {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cyan-400);
}

/* ---------- 章节标题 ---------- */
.page-home .section-head {
  display: grid;
  gap: 0.6rem;
  max-width: 62ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.page-home .section-head--tight {
  margin-bottom: 1.4rem;
}

.page-home .section-index {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan-400);
}

.page-home .section-index::after {
  content: "";
  width: clamp(2rem, 8vw, 4.5rem);
  height: 1px;
  background: var(--cyan-400);
  opacity: 0.6;
}

.page-home .section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--snow-050);
}

.page-home .section-head .lede {
  margin: 0;
  max-width: 56ch;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--fog-200);
}

/* ---------- 我的关注 ---------- */
.page-home .focus__layout {
  display: grid;
  gap: 1rem;
}

.page-home .countdown {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37, 224, 208, 0.14), transparent 62%),
    var(--ink-700);
  box-shadow: var(--shadow-card);
}

.page-home .countdown__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog-quiet);
}

.page-home .countdown__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16);
}

.page-home .countdown__time {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 3.8rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--snow-050);
}

.page-home .countdown__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--cyan-200);
}

.page-home .countdown__note {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fog-200);
}

.page-home .countdown .btn {
  justify-self: start;
}

.page-home .focus__side {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--home-surface);
}

.page-home .focus__thumb {
  overflow: hidden;
  border-radius: var(--radius-m);
}

.page-home .focus__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .focus__tags-label {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-500);
}

.page-home .focus__chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.page-home .focus__chips .chip {
  flex: 0 0 auto;
  text-decoration: none;
}

.page-home .focus__tags-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--fog-quiet);
}

.page-home .team-strip {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.page-home .team-card {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.15rem 1.25rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--cyan-400);
  border-radius: var(--radius-m);
  background: var(--ink-800);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .team-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-400);
}

.page-home .team-card__index {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--steel-500);
}

.page-home .team-card__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--snow-050);
}

.page-home .team-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--cyan-200);
}

.page-home .team-card__stats {
  display: flex;
  gap: 1.4rem;
  margin: 0.3rem 0 0.2rem;
}

.page-home .team-card__stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fog-quiet);
}

.page-home .team-card__stats dd {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--snow-050);
}

.page-home .team-card__link {
  justify-self: start;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 224, 208, 0.4);
}

.page-home .team-card__link:hover {
  color: var(--cyan-200);
}

/* ---------- 联赛档案卡流 ---------- */
.page-home .league-switch {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.page-home .league-switch .chip {
  flex: 0 0 auto;
  cursor: pointer;
}

.page-home .league-switch .chip[aria-pressed="true"] {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

.page-home .flow__grid {
  gap: 0.9rem;
}

.page-home .flow-card {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--ink-700);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-400);
}

.page-home .flow-card__media {
  overflow: hidden;
  border-radius: var(--radius-s);
  margin-bottom: 0.5rem;
}

.page-home .flow-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .flow-card .card__label {
  justify-self: start;
}

.page-home .flow-card .card__index {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--steel-500);
}

.page-home .flow-card .card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--snow-050);
}

.page-home .flow-card .card__title a {
  color: inherit;
  text-decoration: none;
}

.page-home .flow-card .card__title a:hover {
  color: var(--cyan-200);
}

.page-home .flow-card .card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--fog-200);
}

.page-home .flow-card .card__foot {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line-soft);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--fog-quiet);
}

.page-home .flow__more {
  margin: 1.4rem 0 0;
}

/* ---------- 资料库与专栏 ---------- */
.page-home .archive__layout {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

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

.page-home .archive__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-600);
  box-shadow: var(--shadow-card);
}

.page-home .archive__caption {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--steel-500);
}

.page-home .archive__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.page-home .archive__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--ink-800);
}

.page-home .archive__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--ink-600);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(37, 224, 208, 0.08);
}

.page-home .archive__step h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--snow-050);
}

.page-home .archive__step p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.68;
  color: var(--fog-200);
}

.page-home .archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

/* ---------- 规模 ---------- */
.page-home .scale__grid {
  display: grid;
  gap: 0.9rem;
}

.page-home .scale__stat {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--ink-600);
  background:
    linear-gradient(160deg, rgba(37, 224, 208, 0.1), transparent 58%),
    var(--ink-700);
}

.page-home .scale__stat .stat__num {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan-400);
}

.page-home .scale__stat .stat__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--snow-050);
}

.page-home .scale__stat p {
  margin: 0.35rem 0 0;
  font-size: 0.87rem;
  line-height: 1.68;
  color: var(--fog-200);
}

.page-home .scale__more {
  margin: 1.3rem 0 0;
}

/* ---------- 结尾 ---------- */
.page-home .closing {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(37, 224, 208, 0.14), transparent 70%),
    var(--ink-900);
}

.page-home .closing__inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.page-home .closing__text h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--snow-050);
}

.page-home .closing__text p {
  margin: 0;
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--fog-200);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

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

@media (min-width: 900px) {
  .page-home .focus__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch;
  }

  .page-home .focus__side {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
  }

  .page-home .focus__chips {
    flex-wrap: wrap;
    overflow: visible;
  }

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

  .page-home .flow__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .scale__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .closing__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
  }

  .page-home .closing__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .page-home .cover__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    column-gap: clamp(2rem, 4vw, 3.75rem);
  }

  .page-home .cover__frame img {
    aspect-ratio: 4 / 3.4;
  }

  .page-home .archive__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .archive__figure {
    position: sticky;
    top: calc(var(--topbar-h) + 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .team-card,
  .page-home .flow-card {
    transition: none;
  }

  .page-home .team-card:hover,
  .page-home .flow-card:hover {
    transform: none;
  }
}
