.page-home {
  --home-rail: 208px;
  background: var(--ink);
  color: var(--text);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  padding: 22px 0 52px;
  background:
    radial-gradient(1180px 520px at 76% -12%, rgba(23, 50, 76, 0.9), transparent 72%),
    var(--ink);
}

.page-home .hero__frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 30px 20px 34px;
  background: linear-gradient(180deg, rgba(23, 50, 76, 0.44), rgba(8, 18, 31, 0) 60%), var(--hull);
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 11px);
  opacity: 0.9;
  pointer-events: none;
}
.page-home .hero__frame::before { top: 8px; }
.page-home .hero__frame::after { bottom: 8px; }

.page-home .hero__corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--green);
  background: var(--ink);
  pointer-events: none;
}
.page-home .hero__corner--tl { top: -5px; left: -5px; }
.page-home .hero__corner--tr { top: -5px; right: -5px; }
.page-home .hero__corner--bl { bottom: -5px; left: -5px; }
.page-home .hero__corner--br { bottom: -5px; right: -5px; }

.page-home .hero__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .hero__copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(29px, 5.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #ffffff;
  max-width: 20ch;
}

.page-home .hero__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 58ch;
}

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

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .hero__stat {
  background: var(--ink);
  padding: 13px 14px 15px;
}
.page-home .hero__stat dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.page-home .hero__stat dd {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--green);
}

.page-home .hero__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 16 / 10;
}
.page-home .hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.page-home .hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 18, 31, 0), rgba(8, 18, 31, 0.94));
}

@media (min-width: 1024px) {
  .page-home .hero { padding: 30px 0 64px; }
  .page-home .hero__frame { padding: 44px 40px 46px; }
  .page-home .hero__cols {
    grid-template-columns: 7fr 5fr;
    gap: 46px;
    align-items: stretch;
  }
  .page-home .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .hero__stat dd { font-size: 20px; }
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-home .eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  background: var(--green);
}

/* ---------- 章节与索引栏 ---------- */
.page-home .shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 20px;
}

.page-home .rail {
  border-left: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}
.page-home .rail__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 4px;
  overflow-x: auto;
}
.page-home .rail-link {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--slate);
  text-decoration: none;
  transition: color var(--t) ease, border-color var(--t) ease;
}
.page-home .rail-link:hover,
.page-home .rail-link.is-active {
  color: var(--green);
  border-color: var(--green);
}

@media (min-width: 1100px) {
  .page-home .shell {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    gap: 52px;
  }
  .page-home .rail {
    border-left: 1px solid var(--line);
    border-bottom: 0;
    padding: 0 0 0 16px;
    position: sticky;
    top: 112px;
  }
  .page-home .rail__list {
    display: block;
    overflow: visible;
    padding: 0;
  }
  .page-home .rail__list li + li { margin-top: 8px; }
  .page-home .rail-link {
    display: block;
    border: 0;
    border-left: 2px solid transparent;
    padding: 4px 0 4px 10px;
    font-size: 13px;
    color: var(--slate);
  }
  .page-home .rail-link:hover,
  .page-home .rail-link.is-active {
    border-left-color: var(--green);
    color: var(--green);
    background: rgba(185, 255, 60, 0.05);
  }
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: 52px 0;
}
.page-home .section + .section {
  border-top: 1px solid rgba(42, 74, 102, 0.55);
}
.page-home .section__head {
  max-width: 800px;
}
.page-home .section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.page-home .section__title {
  margin: 12px 0 14px;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
}
.page-home .section__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--slate);
}

@media (min-width: 900px) {
  .page-home .section { padding: 68px 0; }
  .page-home .section__head--split {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: end;
  }
}

/* ---------- 对比切换与面板 ---------- */
.page-home .compare-switch {
  margin: 26px 0 22px;
}
.page-home .compare-body {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.page-home .compare-panel { display: none; }
.page-home .compare-panel.is-on { display: block; }
.page-home .compare-panel__title {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.page-home .bar { margin: 0 0 16px; }
.page-home .bar:last-of-type { margin-bottom: 0; }
.page-home .bar__label { font-size: 13px; letter-spacing: 0.03em; }
.page-home .bar__value { font-size: 13px; }

.page-home .compare-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .compare-facts li {
  background: var(--panel);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--slate);
}
.page-home .compare-facts .mono {
  color: var(--text);
  font-size: 14px;
  margin-right: 6px;
}
.page-home .compare-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--pulse);
  background: var(--panel);
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}
.page-home .compare-note .mono { color: var(--pulse); }

/* ---------- 图与使用场景 ---------- */
.page-home .compare-figure {
  margin: 30px 0 0;
}
.page-home .compare-figure .media {
  border: 1px solid var(--line);
  background: var(--panel);
}
.page-home .compare-figure .media__cap {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.page-home .usage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 34px;
  align-items: center;
}
.page-home .usage__media {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.page-home .usage__media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .usage__copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}
.page-home .usage__copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

@media (min-width: 860px) {
  .page-home .usage {
    grid-template-columns: 5fr 7fr;
    gap: 34px;
  }
}

/* ---------- 分类标签棋盘 ---------- */
.page-home .taxonomy__art {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.page-home .taxonomy__art img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .taxo {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .taxo__cell {
  background: var(--panel);
  padding: 16px 14px 18px;
  transition: background var(--t) ease, box-shadow var(--t) ease;
}
.page-home .taxo__cell:nth-child(2n) {
  background: var(--checker);
}
@media (hover: hover) {
  .page-home .taxo__cell:hover {
    background: var(--hull);
    box-shadow: inset 0 0 0 1px var(--green);
  }
  .page-home .taxo__cell:hover .taxo__subs { max-height: 190px; }
}
.page-home .taxo__no {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.page-home .taxo__name {
  margin: 6px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.page-home .taxo__subs {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 70px;
  overflow: hidden;
  transition: max-height var(--t-slow) ease;
}
.page-home .taxo__subs li {
  font-size: 12px;
  line-height: 1.9;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .taxo__foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate);
}
.page-home .taxo__foot a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 255, 60, 0.45);
}
.page-home .taxo__foot a:hover { border-bottom-color: var(--green); }

@media (min-width: 700px) {
  .page-home .taxo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .page-home .taxo { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .page-home .taxo__subs { max-height: 70px; }
}

/* ---------- 会员权益表 ---------- */
.page-home .table-scroll {
  margin-top: 28px;
  border: 1px solid var(--line);
  overflow-x: auto;
}
.page-home .table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}
.page-home .table th,
.page-home .table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.page-home .table thead th {
  background: var(--hull);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--slate);
}
.page-home .table tbody th {
  font-weight: 500;
  color: var(--text);
}
.page-home .table tbody tr:nth-child(even) {
  background: rgba(23, 50, 76, 0.38);
}
.page-home .table tbody tr:last-child th,
.page-home .table tbody tr:last-child td {
  border-bottom: 0;
}
.page-home .table__num {
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
}
.page-home .table tbody td:last-child {
  color: var(--green);
}

.page-home .membership__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.page-home .membership__foot p {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 观赛记录 ---------- */
.page-home .hist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--line);
}
.page-home .hist__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.page-home .hist__row:nth-child(odd) { background: var(--hull); }
.page-home .hist__row:last-child { border-bottom: 0; }
.page-home .hist__when {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.page-home .hist__what {
  font-size: 15px;
  color: var(--text);
}
.page-home .hist__go {
  justify-self: start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 255, 60, 0.5);
  padding-bottom: 2px;
}
.page-home .hist__go:hover { border-bottom-color: var(--green); }

.page-home .hist__foot {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}
.page-home .hist__foot a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 255, 60, 0.45);
}
.page-home .hist__foot a:hover { border-bottom-color: var(--green); }

@media (min-width: 760px) {
  .page-home .hist__row {
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
  }
  .page-home .hist__go { justify-self: end; }
}

/* ---------- 新手四步 ---------- */
.page-home .step-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .step {
  background: var(--panel);
  padding: 22px 18px 24px;
  border-top: 2px solid transparent;
  transition: border-color var(--t) ease, background var(--t) ease;
}
.page-home .step:hover {
  background: var(--hull);
  border-top-color: var(--green);
}
.page-home .step__no {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--green);
}
.page-home .step__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.page-home .step__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate);
}

@media (min-width: 700px) {
  .page-home .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .page-home .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  padding: 52px 0 76px;
  border-top: 1px solid rgba(42, 74, 102, 0.55);
}
.page-home .closing__inner {
  border: 1px solid var(--line);
  padding: 30px 22px;
  background: linear-gradient(135deg, rgba(23, 50, 76, 0.62), rgba(8, 18, 31, 0.92));
}
.page-home .closing h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 700;
  color: #ffffff;
}
.page-home .closing p {
  margin: 0 0 24px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}
.page-home .closing__acts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.page-home .closing__card {
  display: block;
  padding: 18px;
  background: var(--ink);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: background var(--t) ease, color var(--t) ease;
}
.page-home .closing__card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--green);
}
.page-home .closing__card:hover {
  background: var(--hull);
}

@media (min-width: 820px) {
  .page-home .closing__inner { padding: 40px 34px 34px; }
  .page-home .closing__acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .closing__card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .taxo__subs,
  .page-home .taxo__cell,
  .page-home .step,
  .page-home .closing__card,
  .page-home .rail-link {
    transition: none;
  }
  .page-home .taxo__subs { max-height: none; }
}
