.page-home {
  --home-edge: rgba(247, 245, 239, .18);
  background: var(--paper);
  color: var(--ink);
}

/* ---------- 首屏：主题声明 + 索引同屏 ---------- */
.page-home .open-stage {
  padding: 40px 0 56px;
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 84% 6%, rgba(180, 255, 61, .16), transparent 58%),
    linear-gradient(160deg, var(--flesh), #1c0a31 72%);
  overflow: hidden;
}

.page-home .open-stage__grid {
  display: grid;
  gap: 30px;
  grid-template-areas: "main" "fig" "rail";
}

.page-home .open-stage__main { grid-area: main; }
.page-home .open-stage__figure { grid-area: fig; margin: 0; }
.page-home .index-rail { grid-area: rail; }

.page-home .open-stage__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7.8vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 14px 0 18px;
}

.page-home .hl {
  display: inline-block;
  background: var(--kiwi);
  color: var(--ink);
  padding: 0 .12em .05em;
  border-radius: 6px;
  transform: skewX(-3deg);
}

.page-home .open-stage__lede {
  font-size: clamp(1rem, 2.3vw, 1.12rem);
  line-height: 1.75;
  max-width: 34rem;
  color: rgba(247, 245, 239, .84);
  margin: 0 0 26px;
}

.page-home .open-stage__facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-edge);
  display: grid;
  gap: 18px 16px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.page-home .open-stage__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .fact-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--kiwi);
}

.page-home .fact-label {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, .72);
}

.page-home .open-stage__cta { align-self: flex-start; }

.page-home .open-stage__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 640px;
  object-fit: cover;
  border-radius: var(--r-l);
  border: 1px solid var(--home-edge);
}

.page-home .open-stage__figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(247, 245, 239, .6);
}

.page-home .index-rail {
  display: grid;
  border-top: 1px solid var(--home-edge);
}

.page-home .index-rail__item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 2px;
  border-bottom: 1px solid var(--home-edge);
  color: rgba(247, 245, 239, .86);
  text-decoration: none;
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}

.page-home .index-rail__item::after {
  content: "→";
  font-size: .9rem;
  color: var(--kiwi);
}

.page-home .index-rail__item:hover,
.page-home .index-rail__item:focus-visible {
  color: var(--kiwi);
  padding-left: 8px;
}

.page-home .index-rail__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--kiwi);
}

.page-home .index-rail__label { font-size: .95rem; line-height: 1.5; }

/* ---------- 矩阵棋盘 ---------- */
.page-home .board { padding: 64px 0 56px; }

.page-home .board__head {
  max-width: 60ch;
  margin-bottom: 30px;
}

.page-home .board__head .display-lg { margin: 10px 0 14px; }

.page-home .board__grid { gap: 14px; }

.page-home .tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r-l);
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .tile:hover,
.page-home .tile:focus-visible {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
  z-index: 2;
}

.page-home .tile__num {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .78;
}

.page-home .tile__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
}

.page-home .tile__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  opacity: .86;
  max-width: 34ch;
}

.page-home .tile__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
}

.page-home .tile--lines {
  background:
    radial-gradient(110% 120% at 92% 0%, rgba(180, 255, 61, .22), transparent 55%),
    linear-gradient(155deg, var(--indigo), var(--flesh));
  border-color: var(--line-dark);
  color: var(--paper);
}

.page-home .tile--lines .tile__num { color: var(--kiwi); opacity: 1; }
.page-home .tile--lines .tile__go { color: var(--kiwi); }

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

.page-home .line-list li {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border-radius: var(--r-s);
  background: rgba(247, 245, 239, .08);
  border: 1px solid rgba(247, 245, 239, .14);
}

.page-home .line-list strong {
  font-weight: 700;
  font-size: .94rem;
}

.page-home .line-list span {
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, .78);
}

.page-home .tile--live {
  background: linear-gradient(160deg, var(--wine), #4b1024);
  border-color: var(--line-dark);
  color: var(--paper);
}

.page-home .tile--live .tile__num,
.page-home .tile--live .tile__go { color: var(--kiwi); opacity: 1; }
.page-home .tile--live .tile__text { color: rgba(247, 245, 239, .82); }

.page-home .tile--help {
  background: var(--moss);
  border-color: var(--line-light);
}

.page-home .tile--help .tile__go { color: var(--teal); }

.page-home .tile--history {
  background: var(--night);
  border-color: var(--line-dark);
  color: var(--paper);
}

.page-home .tile--history .tile__num,
.page-home .tile--history .tile__go { color: var(--kiwi); opacity: 1; }
.page-home .tile--history .tile__text { color: rgba(247, 245, 239, .78); }

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

/* ---------- 版本差异条带 ---------- */
.page-home .check { padding: 60px 0 64px; }

.page-home .check__head {
  max-width: 58ch;
  margin-bottom: 26px;
}

.page-home .check__head .display-lg { margin: 10px 0 14px; }

.page-home .check__table-wrap {
  overflow-x: auto;
  border-radius: var(--r-l);
  background: var(--paper);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-lift);
}

.page-home .check-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .94rem;
}

.page-home .check-table__caption {
  text-align: left;
  padding: 16px 18px 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mossink);
}

.page-home .check-table th,
.page-home .check-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-light);
}

.page-home .check-table thead th {
  background: var(--night);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: none;
}

.page-home .check-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.page-home .check-table tbody tr {
  transition: background .22s var(--ease);
}

.page-home .check-table tbody tr:hover { background: rgba(180, 255, 61, .32); }

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

.page-home .check__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.page-home .check__foot p {
  margin: 0;
  max-width: 46ch;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--mossink);
}

/* ---------- 赛事时间轴 ---------- */
.page-home .live {
  padding: 60px 0 64px;
  color: var(--paper);
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(75, 30, 122, .55), transparent 60%),
    linear-gradient(180deg, var(--night), #08102a);
}

.page-home .live__head {
  max-width: 58ch;
  margin-bottom: 26px;
}

.page-home .live__head .display-lg { margin: 10px 0 14px; }

.page-home .live__banner {
  margin: 0 0 22px;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

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

.page-home .live__tags {
  margin-bottom: 28px;
  gap: 8px;
}

.page-home .live__tags .pill {
  background: rgba(247, 245, 239, .1);
  color: var(--paper);
  border-color: var(--line-dark);
  font-size: .76rem;
}

.page-home .live__tags .pill--kiwi {
  background: var(--kiwi);
  color: var(--ink);
  border-color: transparent;
}

.page-home .live-rail {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  position: relative;
}

.page-home .live-rail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-dark);
}

.page-home .live-item {
  position: relative;
  padding: 0 0 28px 34px;
}

.page-home .live-item:last-child { padding-bottom: 0; }

.page-home .live-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--kiwi) 0 62%, rgba(180, 255, 61, .22) 62%);
  box-shadow: 0 0 0 4px rgba(180, 255, 61, .12);
}

.page-home .live-item--now::before {
  background: conic-gradient(from 210deg, var(--track) 0 78%, rgba(255, 106, 43, .22) 78%);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, .16);
  animation: home-pulse 2.4s var(--ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.page-home .live-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, .6);
}

.page-home .live-item__tag {
  color: var(--kiwi);
  border: 1px solid rgba(180, 255, 61, .45);
  border-radius: 999px;
  padding: 1px 9px;
  letter-spacing: .08em;
}

.page-home .live-item h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.3;
  margin: 8px 0 6px;
}

.page-home .live-item p {
  margin: 0;
  max-width: 52ch;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(247, 245, 239, .8);
}

.page-home .live__cta { margin-top: 4px; }

/* ---------- 评测方法 ---------- */
.page-home .method {
  padding: 60px 0 64px;
  color: var(--paper);
  background:
    radial-gradient(100% 80% at 88% 4%, rgba(255, 106, 43, .18), transparent 58%),
    linear-gradient(155deg, var(--teal), #07241f);
}

.page-home .method__grid {
  display: grid;
  gap: 30px;
}

.page-home .method__head .display-lg,
.page-home .method__main .display-lg { margin: 10px 0 14px; }

.page-home .method__main .lede { max-width: 36rem; }

.page-home .method__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .method__facts li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}

.page-home .method__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 2.9rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--kiwi);
}

.page-home .method__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, .68);
}

.page-home .method__facts p {
  margin: 4px 0 0;
  max-width: 44ch;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(247, 245, 239, .84);
}

.page-home .method__note {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(247, 245, 239, .78);
}

.page-home .method__note a {
  color: var(--kiwi);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 255, 61, .45);
}

.page-home .method__figure {
  margin: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.page-home .method__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 联系与服务 ---------- */
.page-home .reach { padding: 64px 0 72px; }

.page-home .reach__grid {
  display: grid;
  gap: 24px;
}

.page-home .reach__main .display-lg { margin: 10px 0 16px; }

.page-home .reach__text {
  margin: 0;
  max-width: 36rem;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--mossink);
}

.page-home .reach__list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .reach__list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.page-home .reach__key {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mossink);
  min-width: 6rem;
}

.page-home .reach__val {
  font-family: var(--font-mono);
  font-size: .96rem;
  color: var(--ink);
  word-break: break-word;
}

.page-home .reach__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--r-l);
  color: var(--paper);
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(180, 255, 61, .18), transparent 60%),
    linear-gradient(160deg, var(--wine), #49101f);
}

.page-home .reach__aside .eyebrow { color: rgba(247, 245, 239, .7); }

.page-home .reach__aside-big {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.page-home .reach__aside p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(247, 245, 239, .82);
}

.page-home .reach__aside-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--kiwi);
  font-size: .86rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(180, 255, 61, .45);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .line-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .page-home .open-stage { padding: 64px 0 72px; }

  .page-home .open-stage__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .72fr);
    grid-template-areas:
      "main fig"
      "rail fig";
    column-gap: 52px;
    row-gap: 36px;
    align-items: start;
  }

  .page-home .open-stage__figure { align-self: stretch; }

  .page-home .open-stage__figure img { max-height: none; }

  .page-home .board { padding: 84px 0 72px; }
  .page-home .check { padding: 78px 0 82px; }
  .page-home .live { padding: 78px 0 84px; }
  .page-home .method { padding: 78px 0 84px; }
  .page-home .reach { padding: 84px 0 92px; }

  .page-home .method__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .reach__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .78fr);
    align-items: stretch;
  }

  .page-home .live-rail { max-width: 62rem; }
}

@media (min-width: 1200px) {
  .page-home .open-stage__title { font-size: clamp(3.6rem, 5.2vw, 5.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tile,
  .page-home .index-rail__item,
  .page-home .check-table tbody tr {
    transition: none;
  }

  .page-home .tile:hover,
  .page-home .tile:focus-visible { transform: none; }

  .page-home .live-item--now::before { animation: none; }
}
