.page-home {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ========== 首屏框景 ========== */
.page-home .hero {
  position: relative;
  padding: clamp(84px, 12vw, 126px) 0 clamp(44px, 6vw, 76px);
  overflow: hidden;
}
.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.62) contrast(1.08);
}
.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 92% at 26% 0%, rgba(18, 20, 19, 0.35) 0%, rgba(11, 31, 23, 0.92) 68%, var(--ink) 100%);
}

.page-home .hero-inner.container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: clamp(14px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(18, 20, 19, 0.58);
}
.page-home .hero-inner::before,
.page-home .hero-inner::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--lime);
  pointer-events: none;
}
.page-home .hero-inner::before {
  top: -1px;
  left: -1px;
  border-right-color: transparent;
  border-bottom-color: transparent;
}
.page-home .hero-inner::after {
  right: -1px;
  bottom: -1px;
  border-left-color: transparent;
  border-top-color: transparent;
}

/* 左侧竖向锚点 */
.page-home .hero-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.page-home .hero-rail::-webkit-scrollbar {
  display: none;
}
.page-home .rail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.page-home .rail-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
}
.page-home .rail-link:hover,
.page-home .rail-link:focus-visible,
.page-home .rail-link[aria-current="true"] {
  color: var(--white);
  border-color: rgba(200, 255, 61, 0.55);
  background: var(--lime-soft);
}

/* 中部主视觉 */
.page-home .hero-stage {
  min-width: 0;
}
.page-home .hero-stage .eyebrow {
  color: var(--lime);
}
.page-home h1 {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.2vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}
.page-home .hero-lead {
  max-width: 48ch;
  color: var(--text-dim);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
}

/* 入口卡 */
.page-home .entry-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(245, 247, 242, 0.04);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.page-home .entry--main {
  border-color: rgba(200, 255, 61, 0.42);
  background: linear-gradient(158deg, rgba(200, 255, 61, 0.11), rgba(18, 20, 19, 0.22) 58%);
}
.page-home .entry::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-3px);
  border-color: var(--lime);
}
.page-home .entry:hover::after,
.page-home .entry:focus-visible::after {
  opacity: 1;
}
.page-home .entry-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.page-home .entry-badge--yellow {
  background: var(--yellow);
}
.page-home .entry-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.2;
}
.page-home .entry-title--sm {
  font-size: clamp(18px, 2.2vw, 22px);
}
.page-home .entry-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.78;
}
.page-home .entry-fig {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.page-home .entry-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-home .entry-go {
  margin-top: auto;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.page-home .entry--side .entry-go {
  color: var(--white);
}

/* 右侧滚动战报 */
.page-home .ticker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--charcoal);
}
.page-home .ticker-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .ticker-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.page-home .ticker > *:not(.ticker-bg) {
  position: relative;
  z-index: 1;
}
.page-home .ticker-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.page-home .ticker-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.16);
}
.page-home .ticker-window {
  overflow: hidden;
  height: 176px;
}
.page-home .ticker-track {
  display: flex;
  flex-direction: column;
  animation: ph-ticker 26s linear infinite;
}
.page-home .ticker-window:hover .ticker-track,
.page-home .ticker-window:focus-within .ticker-track {
  animation-play-state: paused;
}
@keyframes ph-ticker {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.page-home .ticker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}
.page-home .ticker-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-tile);
  background: rgba(245, 247, 242, 0.05);
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-home .ticker-item a:hover {
  border-color: var(--lime);
  background: var(--lime-soft);
}
.page-home .tick-round {
  flex: 1 1 100%;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}
.page-home .tick-main {
  flex: 1 1 auto;
  font-weight: 600;
}
.page-home .tick-tag {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.page-home .tick-tag--lime {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.page-home .tick-tag--red {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}
.page-home .tick-tag--yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}
.page-home .ticker-more {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.page-home .ticker-more:hover {
  text-decoration: underline;
}

/* ========== 通用章节 ========== */
.page-home .section {
  position: relative;
  padding: clamp(54px, 9vw, 104px) 0;
}
.page-home .section-title {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
.page-home .section-lead {
  max-width: 60ch;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.82;
}

/* ========== 路径对照 ========== */
.page-home .shortcut {
  background: var(--charcoal);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .shortcut::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(107, 124, 114, 0.16) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(to bottom, rgba(107, 124, 114, 0.16) 0 1px, transparent 1px 76px);
  pointer-events: none;
}
.page-home .shortcut .container {
  position: relative;
  z-index: 1;
}
.page-home .path-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.page-home .path-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(245, 247, 242, 0.03);
}
.page-home .path-card--old {
  border-style: dashed;
  color: var(--text-dim);
}
.page-home .path-card--new {
  border-color: rgba(200, 255, 61, 0.5);
  background: rgba(200, 255, 61, 0.07);
}
.page-home .path-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.page-home .path-card .tag {
  align-self: flex-start;
}
.page-home .path-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .path-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.page-home .path-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
}
.page-home .path-steps--new li {
  color: var(--white);
}
.page-home .path-steps--new li::before {
  border-color: var(--lime);
  color: var(--lime);
}
.page-home .path-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.page-home .path-connector svg {
  width: 78px;
  height: 24px;
  transform: rotate(90deg);
}
.page-home .path-go {
  margin-top: auto;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.page-home .path-go:hover {
  text-decoration: underline;
}

/* ========== 资料库 ========== */
.page-home .library-grid {
  display: grid;
  gap: 26px;
}
.page-home .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.page-home .filter-row li {
  padding: 6px 14px;
  border: 1px solid rgba(200, 255, 61, 0.4);
  border-radius: var(--radius-pill);
  background: var(--lime-soft);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.page-home .stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.page-home .stat-strip > div {
  padding-top: 10px;
  border-top: 2px solid var(--lime);
}
.page-home .stat-strip dt {
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.page-home .stat-strip dd {
  margin: 4px 0 0;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.3vw, 23px);
  font-weight: 700;
}
.page-home .library-fig {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.page-home .library-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.page-home .library-fig figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--brown);
  border-radius: 4px;
  background: var(--cream);
  color: var(--brown);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ========== 战报与订阅 ========== */
.page-home .reports {
  border-top: 1px solid var(--line-soft);
}
.page-home .reports-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.page-home .report-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(245, 247, 242, 0.03);
}
.page-home .report-card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--white);
}
.page-home .report-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.78;
}
.page-home .report-card .micro {
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.7;
}
.page-home .report-card--lime {
  border-color: var(--brown);
  background: var(--cream);
}
.page-home .report-card--lime h3 {
  color: var(--brown);
}
.page-home .report-card--lime p {
  color: rgba(42, 31, 25, 0.78);
}
.page-home .report-card--lime .micro {
  color: rgba(42, 31, 25, 0.6);
}
.page-home .chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .chip-list li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.page-home .chip-list--dark li {
  border-color: rgba(42, 31, 25, 0.35);
  color: var(--brown);
}
.page-home .report-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.page-home .btn--dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--brown);
  border-radius: var(--radius-pill);
  background: var(--brown);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.page-home .btn--dark:hover {
  background: transparent;
  color: var(--brown);
}
.page-home .report-card--lime .btn--dark:hover {
  background: transparent;
  color: var(--brown);
}

/* ========== 新手帮助 ========== */
.page-home .help-grid {
  display: grid;
  gap: 18px;
}
.page-home .help-paper {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--brown);
  border-radius: var(--radius-card);
  background: var(--cream);
  color: var(--brown);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.38);
}
.page-home .help-paper .section-title {
  color: var(--brown);
}
.page-home .eyebrow--dark {
  color: rgba(42, 31, 25, 0.6);
}
.page-home .help-lead {
  margin: 0 0 20px;
  color: rgba(42, 31, 25, 0.78);
  font-size: 15px;
  line-height: 1.82;
}
.page-home .help-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.page-home .help-list li {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(42, 31, 25, 0.22);
  color: var(--brown);
  font-size: 14px;
  line-height: 1.65;
}
.page-home .help-num {
  flex: 0 0 auto;
  color: rgba(42, 31, 25, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
  padding-top: 2px;
}
.page-home .help-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--charcoal);
}
.page-home .help-side h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.page-home .help-side p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.78;
}
.page-home .contact-line {
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-tile);
  color: var(--white) !important;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  word-break: break-all;
}
.page-home .quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.page-home .quick-links a {
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.page-home .quick-links a:hover {
  text-decoration: underline;
}

/* ========== 断点 ========== */
@media (min-width: 680px) {
  .page-home .entry-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
  .page-home .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .path-grid {
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    align-items: stretch;
  }
  .page-home .path-connector svg {
    transform: none;
    width: 84px;
  }
  .page-home .reports-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .page-home .library-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
  }
  .page-home .help-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-inner.container {
    grid-template-columns: 118px minmax(0, 1fr) 286px;
    align-items: start;
    gap: 30px;
  }
  .page-home .hero-rail {
    position: sticky;
    top: 104px;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-home .rail-link {
    width: 100%;
    padding: 10px 0 10px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: none;
  }
  .page-home .rail-link:hover,
  .page-home .rail-link:focus-visible {
    border-left-color: rgba(200, 255, 61, 0.55);
  }
  .page-home .rail-link[aria-current="true"] {
    border-left-color: var(--lime);
    background: linear-gradient(90deg, var(--lime-soft), transparent 85%);
  }
  .page-home .ticker-window {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker-track {
    animation: none;
  }
  .page-home .ticker-window {
    overflow-y: auto;
  }
  .page-home .entry {
    transition: none;
  }
  .page-home .entry:hover {
    transform: none;
  }
}
