.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home {
  --hf-rail-w: 96px;
  display: block;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

/* ===== 封面 ===== */
.page-home .hf-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 0 44px;
  border-bottom: 1px solid var(--line);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(92% 120% at 88% -12%, rgba(124, 77, 255, .20), transparent 62%),
    radial-gradient(70% 90% at 2% 112%, rgba(62, 232, 255, .09), transparent 60%),
    repeating-linear-gradient(90deg, rgba(30, 47, 92, .34) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(30, 47, 92, .22) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}

.page-home .hf-cover-trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  z-index: 0;
  pointer-events: none;
}

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

.page-home .hf-cover-main { order: 1; }
.page-home .hf-cover-card { order: 2; }
.page-home .hf-rail { order: 3; }

.page-home .hf-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 21, 51, .72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-dim);
}

.page-home .hf-context::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(62, 232, 255, .16);
  flex: none;
}

.page-home .hf-title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(32px, 7.4vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hf-title-em {
  background: linear-gradient(180deg, transparent 62%, rgba(124, 77, 255, .48) 62%);
  padding: 0 2px;
}

.page-home .hf-lede {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .hf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

/* 收藏追踪卡 */
.page-home .hf-cover-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 21, 51, .95) 0%, rgba(5, 11, 31, .97) 100%);
  box-shadow: var(--shadow-plate);
}

.page-home .hf-cover-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.page-home .hf-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.8) brightness(.7);
}

.page-home .hf-cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 31, .2) 0%, rgba(11, 21, 51, .96) 100%);
}

.page-home .hf-cover-card-body {
  padding: 16px 20px 20px;
}

.page-home .hf-card-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--violet);
}

.page-home .hf-collect-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 4px;
  font-family: var(--font-mono);
}

.page-home .hf-collect-count strong {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.page-home .hf-collect-count span {
  font-size: 14px;
  color: var(--text-faint);
}

.page-home .hf-card-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .hf-collect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hf-collect-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(20, 34, 71, .5);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .hf-collect-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 201, 120, .55);
  flex: none;
}

/* 左侧编号索引 */
.page-home .hf-rail-list {
  list-style: none;
  margin: 0;
  padding: 2px 0 6px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .hf-rail-list::-webkit-scrollbar { display: none; }

.page-home .hf-rail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 21, 51, .6);
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.page-home .hf-rail-link:hover,
.page-home .hf-rail-link:focus-visible {
  border-color: var(--violet);
  color: var(--text);
}

.page-home .hf-rail-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--violet);
}

/* ===== 章节骨架 ===== */
.page-home .hf-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .section-index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--violet);
}

.page-home .section-title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .lede {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .hf-section .section-head {
  margin-bottom: 28px;
}

/* ===== Bento 网格 ===== */
.page-home .bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-s);
}

.page-home .bento > * {
  grid-column: span 12;
}

/* ===== 今日看点数据板 ===== */
.page-home .hf-section--stats {
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(62, 232, 255, .07), transparent 58%),
    var(--ink-900);
}

.page-home .hf-stat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 21, 51, .92) 0%, rgba(5, 11, 31, .92) 100%);
  box-shadow: var(--shadow-plate);
  transition: border-color var(--dur-fast) var(--ease);
}

.page-home .hf-stat:hover {
  border-color: rgba(124, 77, 255, .5);
}

.page-home .hf-stat--hero {
  border-color: rgba(124, 77, 255, .42);
}

.page-home .hf-stat-media {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-home .hf-stat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.75) brightness(.78);
}

.page-home .hf-stat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}

.page-home .hf-stat-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .hf-stat--gold .hf-stat-num { color: var(--gold); }
.page-home .hf-stat--violet .hf-stat-num { color: var(--violet); }

.page-home .hf-stat-label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.page-home .hf-stat-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ===== 三条路径 ===== */
.page-home .hf-section--paths {
  background: var(--ink-900);
}

.page-home .hf-path {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 21, 51, .92) 0%, rgba(5, 11, 31, .92) 100%);
  box-shadow: var(--shadow-plate);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.page-home .hf-path:hover {
  border-color: rgba(124, 77, 255, .55);
  transform: translateY(-2px);
}

.page-home .hf-path-media {
  height: 132px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-home .hf-path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.8) brightness(.78);
}

.page-home .hf-path-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.page-home .hf-path-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--violet);
}

.page-home .hf-path-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.page-home .hf-path-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .hf-path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  border-bottom: 1px solid transparent;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease);
}

.page-home .hf-path-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .hf-path-link:hover,
.page-home .hf-path-link:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ===== 入口与登录 ===== */
.page-home .hf-restore {
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(124, 77, 255, .15), transparent 60%),
    var(--ink-800);
}

.page-home .hf-restore-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .hf-restore-main .lede {
  margin-bottom: 22px;
}

.page-home .hf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .hf-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 11, 31, .62);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .hf-step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet);
}

/* ===== 赛季索引 ===== */
.page-home .hf-section--index {
  background: var(--ink-900);
}

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

.page-home .hf-news-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .hf-news-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hf-news-index {
  grid-row: 1 / span 2;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet);
}

.page-home .hf-news-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.page-home .hf-news-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .hf-index-more {
  margin: 20px 0 0;
}

.page-home .hf-index-aside {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 21, 51, .92) 0%, rgba(5, 11, 31, .92) 100%);
  box-shadow: var(--shadow-plate);
}

.page-home .hf-index-media {
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-home .hf-index-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.8) brightness(.78);
}

.page-home .hf-index-aside-body {
  padding: 18px 20px 22px;
}

.page-home .hf-aside-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.page-home .hf-aside-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-dim);
}

/* ===== 支持与联系 ===== */
.page-home .hf-support {
  border-bottom: 0;
  background:
    radial-gradient(70% 120% at 0% 100%, rgba(62, 232, 255, .08), transparent 62%),
    var(--ink-800);
}

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

.page-home .hf-support-side {
  display: grid;
  gap: 14px;
}

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

.page-home .hf-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 11, 31, .6);
}

.page-home .hf-contact-key {
  min-width: 72px;
  font-size: 13px;
  color: var(--text-faint);
}

.page-home .hf-contact-val {
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}

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

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* ===== 响应式 ===== */
@media (min-width: 720px) {
  .page-home .hf-cover {
    padding: 40px 0 56px;
  }

  .page-home .bento {
    gap: var(--gap);
  }

  .page-home .bento > .span-3,
  .page-home .bento > .span-4,
  .page-home .bento > .span-6 {
    grid-column: span 6;
  }

  .page-home .bento > .span-8,
  .page-home .bento > .span-12 {
    grid-column: span 12;
  }

  .page-home .hf-section {
    padding: 64px 0;
  }

  .page-home .hf-cover-media { height: 180px; }
  .page-home .hf-stat-media { height: 190px; }

  .page-home .hf-restore-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .page-home .hf-cover {
    padding: 48px 0 64px;
  }

  .page-home .hf-cover-inner {
    grid-template-columns: var(--hf-rail-w) minmax(0, 1fr) minmax(300px, 370px);
    gap: 32px;
    align-items: start;
  }

  .page-home .hf-rail {
    order: 1;
    padding-top: 6px;
  }

  .page-home .hf-cover-main { order: 2; }
  .page-home .hf-cover-card { order: 3; }

  .page-home .hf-rail-list {
    flex-direction: column;
    gap: 18px;
    padding: 0;
    overflow: visible;
  }

  .page-home .hf-rail-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    white-space: normal;
  }

  .page-home .hf-rail-link:hover,
  .page-home .hf-rail-link:focus-visible {
    border-left-color: var(--violet);
    color: var(--text);
  }

  .page-home .hf-rail-label {
    font-size: 12px;
    line-height: 1.35;
    color: var(--text-dim);
  }

  .page-home .bento > .span-3 { grid-column: span 3; }
  .page-home .bento > .span-4 { grid-column: span 4; }
  .page-home .bento > .span-6 { grid-column: span 6; }
  .page-home .bento > .span-8 { grid-column: span 8; }

  .page-home .hf-section {
    padding: 80px 0;
  }

  .page-home .hf-section--stats { padding-top: 72px; }

  .page-home .hf-section .section-head {
    margin-bottom: 36px;
  }

  .page-home .hf-cover-media { height: 196px; }
  .page-home .hf-stat-media { height: 210px; }

  .page-home .hf-index-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    gap: 48px;
  }

  .page-home .hf-support-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }

  .page-home .hf-restore-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 56px;
  }
}

@media (min-width: 1280px) {
  .page-home .hf-cover-inner {
    grid-template-columns: var(--hf-rail-w) minmax(0, 1fr) 380px;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hf-path:hover {
    transform: none;
  }
  .page-home .hf-rail-link,
  .page-home .hf-path,
  .page-home .hf-stat,
  .page-home .hf-path-link {
    transition: none;
  }
}
