.page-home {
  --home-gap: 20px;
  --home-shadow: 0 22px 50px rgba(4, 18, 15, .6);
  --home-tint: rgba(53, 232, 198, .12);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 36px 0 30px;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 90% at 84% 4%, rgba(53, 232, 198, .16), transparent 58%),
    radial-gradient(90% 70% at 4% 96%, rgba(154, 107, 255, .13), transparent 60%),
    linear-gradient(rgba(216, 207, 186, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 207, 186, .05) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 232, 198, .5), rgba(154, 107, 255, .35), transparent);
}

.page-home .home-hero__board {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-hero__lead {
  min-width: 0;
}

.page-home .home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-home .home-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(53, 232, 198, .8);
  flex: none;
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .home-hero__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--paper);
  max-width: 44ch;
}

.page-home .home-hero__sub {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 2px solid rgba(233, 180, 76, .7);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 46ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .home-hero__art {
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--home-shadow);
  background: var(--ink-soft);
}

.page-home .home-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-hero__art figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(to top, rgba(4, 18, 15, .94), rgba(4, 18, 15, 0));
}

/* ---------- 入口岛 ---------- */
.page-home .entry-islands {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .entry-island {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 18px;
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(14, 46, 40, .96), rgba(8, 32, 28, .98));
  border: 1px solid var(--line-soft);
  box-shadow: var(--home-shadow);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.page-home .entry-island::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: linear-gradient(90deg, var(--cyan), rgba(53, 232, 198, 0));
}

.page-home .entry-island:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 26px 54px rgba(4, 18, 15, .72), 0 0 24px rgba(53, 232, 198, .22);
}

.page-home .entry-island__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--amber);
}

.page-home .entry-island__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .entry-island__text {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .entry-island__go {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 232, 198, .45);
  transition: color .2s ease, border-color .2s ease;
}

.page-home .entry-island__go::after {
  content: " →";
}

.page-home .entry-island__go:hover {
  color: var(--paper);
  border-bottom-color: var(--violet);
}

.page-home .entry-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.page-home .entry-visual__frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  box-shadow: var(--home-shadow);
}

.page-home .entry-visual__frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .entry-visual__cap {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 正文外壳与侧栏目录 ---------- */
.page-home .home-body {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 46px var(--shell-x) 56px;
  display: grid;
  gap: 34px;
}

.page-home .home-toc {
  min-width: 0;
}

.page-home .home-toc__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--teal);
}

.page-home .home-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-toc__list li {
  flex: none;
}

.page-home .home-toc__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-home .home-toc__list a span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
}

.page-home .home-toc__list a:hover {
  color: var(--paper);
  border-color: var(--violet);
  background: rgba(154, 107, 255, .1);
}

.page-home .home-body__main {
  min-width: 0;
}

.page-home .home-section {
  min-width: 0;
  scroll-margin-top: 112px;
}

.page-home .home-section + .home-section {
  margin-top: 60px;
  padding-top: 52px;
  border-top: 1px dashed var(--line);
}

.page-home .chapter-head {
  margin-bottom: 26px;
}

/* ---------- 四条主线 ---------- */
.page-home .lane-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .lane {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 20px 20px 24px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(26, 158, 140, .8);
  background: linear-gradient(100deg, rgba(14, 46, 40, .88), rgba(8, 32, 28, .5));
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.page-home .lane:hover {
  border-color: var(--cyan);
  border-left-color: var(--cyan);
  background: linear-gradient(100deg, rgba(14, 46, 40, .96), rgba(8, 32, 28, .6));
  transform: translateY(-3px);
}

.page-home .lane__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: rgba(53, 232, 198, .42);
}

.page-home .lane__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .lane__title a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .lane__title a:hover {
  color: var(--cyan);
  border-bottom-color: var(--violet);
}

.page-home .lane__text {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .lane__who {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 2px solid rgba(233, 180, 76, .55);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--amber);
}

/* ---------- 榜单速览 ---------- */
.page-home .board-panel {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  box-shadow: var(--home-shadow);
}

.page-home .board-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .13;
  pointer-events: none;
}

.page-home .board-panel__inner {
  position: relative;
  z-index: 1;
  padding: 22px 18px 18px;
}

.page-home .board-panel__scroll {
  overflow-x: auto;
  margin: 0 -18px;
  padding: 0 18px;
}

.page-home .board-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-home .board-table caption {
  padding: 0 0 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--mist);
}

.page-home .board-table th,
.page-home .board-table td {
  padding: 12px 12px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.page-home .board-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--mist);
}

.page-home .board-table thead th:first-child,
.page-home .board-table tbody th {
  text-align: left;
}

.page-home .board-table tbody th {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .board-table tbody td {
  font-family: var(--font-mono);
  color: rgba(244, 248, 246, .88);
}

.page-home .board-table tbody td:last-child {
  color: var(--amber);
  font-weight: 700;
}

.page-home .board-table tbody tr:hover th,
.page-home .board-table tbody tr:hover td {
  background: var(--home-tint);
}

.page-home .board-table tbody tr:hover th {
  color: var(--cyan);
}

.page-home .board-table tbody tr:last-child th,
.page-home .board-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .board-panel__foot {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .board-panel__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 232, 198, .42);
}

.page-home .board-panel__foot a:hover {
  color: var(--paper);
  border-bottom-color: var(--violet);
}

/* ---------- 新手三步 ---------- */
.page-home .start-flow {
  display: block;
  width: 100%;
  height: 8px;
  margin: 0 0 20px;
  color: rgba(154, 107, 255, .5);
}

.page-home .start-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .start-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(53, 232, 198, .55);
  background: linear-gradient(180deg, rgba(14, 46, 40, .82), rgba(8, 32, 28, .42));
}

.page-home .start-step__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: rgba(233, 180, 76, .55);
}

.page-home .start-step__title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .start-step__text {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .start-step__time {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--cyan);
}

/* ---------- 评测方法 ---------- */
.page-home .standard-visual {
  margin: 0 0 24px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.page-home .standard-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .standard-visual figcaption {
  padding: 11px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: rgba(4, 18, 15, .6);
}

.page-home .standard-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.page-home .standard-item {
  padding: 18px 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 46, 40, .62), rgba(8, 32, 28, .3));
  transition: border-color .25s ease, transform .25s ease;
}

.page-home .standard-item:hover {
  border-color: rgba(53, 232, 198, .45);
  transform: translateY(-3px);
}

.page-home .standard-item__name {
  margin: 0 0 6px;
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .standard-item__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .standard-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  border: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 服务与支持 ---------- */
.page-home .support-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .support-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--ink-soft);
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}

.page-home .support-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}

.page-home .support-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .support-card__text {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .support-card__go {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .support-card__go::after {
  content: " →";
}

.page-home .support-line {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .support-line a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 232, 198, .42);
}

.page-home .support-line a:hover {
  color: var(--paper);
  border-bottom-color: var(--violet);
}

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

@media (min-width: 780px) {
  .page-home .start-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .page-home .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .lane {
    grid-template-columns: 52px minmax(0, 1fr) 178px;
    column-gap: 22px;
    row-gap: 0;
    padding: 22px 24px;
    align-items: start;
  }
  .page-home .lane__num {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-top: 3px;
  }
  .page-home .lane__title {
    grid-column: 2;
    grid-row: 1;
  }
  .page-home .lane__text {
    grid-column: 2;
    grid-row: 2;
  }
  .page-home .lane__who {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    margin-top: 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 54px 0 40px;
  }
  .page-home .home-hero__board {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-areas:
      "lead art"
      "islands islands";
    column-gap: 44px;
    row-gap: 34px;
    align-items: start;
  }
  .page-home .home-hero__lead { grid-area: lead; }
  .page-home .home-hero__art { grid-area: art; }
  .page-home .entry-islands { grid-area: islands; }
}

@media (min-width: 1040px) {
  .page-home .entry-islands {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .page-home .entry-island:nth-child(2),
  .page-home .entry-visual {
    margin-top: 18px;
  }
  .page-home .standard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-body {
    grid-template-columns: 172px minmax(0, 1fr);
    column-gap: 52px;
    align-items: start;
  }
  .page-home .home-toc {
    position: sticky;
    top: 112px;
  }
  .page-home .home-toc__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-home .home-toc__list li {
    flex: none;
  }
  .page-home .home-toc__list a {
    border-radius: var(--radius-s);
    border-color: transparent;
    border-left: 2px solid var(--line);
    padding: 9px 12px;
    background: transparent;
  }
  .page-home .home-toc__list a:hover {
    border-color: transparent;
    border-left-color: var(--violet);
    background: rgba(154, 107, 255, .1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-island,
  .page-home .lane,
  .page-home .standard-item,
  .page-home .support-card {
    transition: none;
  }
  .page-home .entry-island:hover,
  .page-home .lane:hover,
  .page-home .standard-item:hover,
  .page-home .support-card:hover {
    transform: none;
  }
}
