.page-home {
  --home-section: clamp(2.8rem, 7vw, 5.2rem);
  --home-gap: clamp(1.1rem, 2.6vw, 2rem);
  --home-radius: 0;
  --trail: rgba(198, 255, 61, .5);
  color: var(--paper);
  background: var(--ink-3);
  overflow: hidden;
}

.page-home .home-h2 {
  margin-top: .55rem;
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper-strong);
}

.page-home .home-p {
  margin-top: .9rem;
  max-width: 46ch;
  font-size: clamp(.94rem, 1.4vw, 1.02rem);
  line-height: 1.8;
  color: rgba(216, 228, 220, .78);
}

.page-home .section-kicker {
  color: var(--lime);
  letter-spacing: .16em;
}

.page-home .trail {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.page-home .trail--lime { stroke: var(--lime); }
.page-home .trail--amber { stroke: var(--amber); }

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(2.4rem, 7vw, 4rem) 0 clamp(2.2rem, 6vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(88% 66% at 82% 2%, rgba(198, 255, 61, .13), transparent 62%),
    radial-gradient(70% 62% at 4% 100%, rgba(184, 107, 75, .16), transparent 66%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(216, 228, 220, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(216, 228, 220, .07) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
  pointer-events: none;
}

.page-home .hero-trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .22;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.6rem);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-hero__kicker {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss);
}

.page-home .home-hero__title {
  margin-top: .8rem;
  font-size: clamp(1.95rem, 7.2vw, 4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--paper-strong);
}

.page-home .home-hero__lede {
  margin-top: 1.05rem;
  max-width: 38ch;
  font-size: clamp(.96rem, 1.6vw, 1.1rem);
  line-height: 1.78;
  color: rgba(216, 228, 220, .82);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.page-home .home-entry {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.9rem;
}

.page-home .home-entry__tag {
  display: inline-block;
  padding: .16rem .42rem;
  font-size: .68rem;
  letter-spacing: .08em;
  background: rgba(7, 17, 14, .42);
  color: var(--paper-strong);
  border-radius: 2px;
}

.page-home .home-entry__txt {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.page-home .home-index {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.8rem;
}

.page-home .home-index__label {
  flex: 0 0 100%;
  margin-bottom: .15rem;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--stone);
}

.page-home .home-index__item {
  --dot: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .46rem .78rem;
  font-size: .85rem;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(22, 43, 36, .72);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}

.page-home .home-index__item::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--dot);
  flex: 0 0 auto;
}

.page-home .home-index__item--clay { --dot: var(--clay); }
.page-home .home-index__item--moss { --dot: var(--moss); }
.page-home .home-index__item--band { --dot: var(--band); border-color: var(--line-strong); }
.page-home .home-index__item--amber { --dot: var(--amber); }

.page-home .home-index__item:hover,
.page-home .home-index__item:focus-visible {
  border-color: var(--lime);
  background: rgba(198, 255, 61, .1);
  color: var(--paper-strong);
  outline: none;
}

/* ---------- 首屏右侧看板 ---------- */
.page-home .home-hero__board {
  position: relative;
  display: grid;
  gap: .7rem;
  align-content: start;
  padding: clamp(.8rem, 2vw, 1.1rem);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(165deg, rgba(15, 31, 26, .94), rgba(7, 17, 14, .97));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  isolation: isolate;
}

.page-home .board-atmos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: saturate(.75);
  z-index: -2;
  pointer-events: none;
}

.page-home .board-trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .35;
  z-index: -1;
  pointer-events: none;
}

.page-home .board-caption {
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--stone);
}

.page-home .board {
  --accent: var(--clay);
  border: 1px solid var(--line);
  background: rgba(11, 26, 21, .82);
  padding: .6rem .7rem .55rem;
  scroll-margin-top: 4.4rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.page-home .board:target {
  border-color: var(--accent);
  background: rgba(22, 43, 36, .92);
  box-shadow: inset 3px 0 0 var(--accent);
}

.page-home .board--clay { --accent: var(--clay); }
.page-home .board--moss { --accent: var(--moss); }
.page-home .board--band { --accent: var(--band); }

.page-home .board__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--line);
}

.page-home .board__bar {
  width: 4px;
  align-self: stretch;
  min-height: 1rem;
  background: var(--accent);
}

.page-home .board__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--paper-strong);
}

.page-home .board__round {
  margin-left: auto;
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--stone);
}

.page-home .board__rows {
  list-style: none;
  margin: .3rem 0 0;
  padding: 0;
}

.page-home .board__row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto 2.6rem;
  align-items: center;
  gap: .45rem;
  padding: .3rem .2rem;
  border-left: 3px solid transparent;
  transition: background .12s var(--ease), border-color .12s var(--ease);
}

.page-home .board__row:hover,
.page-home .board__row:focus-within {
  background: rgba(198, 255, 61, .09);
  border-left-color: var(--lime);
}

.page-home .board__rank {
  font-size: .82rem;
  color: var(--stone);
}

.page-home .board__team {
  font-size: .88rem;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .board__meta {
  font-size: .72rem;
  color: var(--stone);
}

.page-home .board__pts {
  text-align: right;
  font-size: .92rem;
  font-weight: 700;
  color: var(--paper-strong);
}

.page-home .board__row--lead .board__rank { color: var(--lime); }
.page-home .board__row--lead .board__pts { color: var(--amber); }

/* ---------- 分区识别 ---------- */
.page-home .home-zones {
  padding: var(--home-section) 0;
  background: linear-gradient(180deg, var(--ink-3), var(--ink));
}

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

.page-home .home-zones__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  overflow: hidden;
}

.page-home .home-zones__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  max-width: 100%;
}

.page-home .home-zones__figure .media-caption {
  padding: .6rem .8rem .7rem;
  font-size: .72rem;
  line-height: 1.6;
  color: var(--stone);
}

.page-home .zone-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.page-home .zone-list__item {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  grid-template-areas:
    "bar title"
    "bar desc";
  column-gap: .75rem;
  row-gap: .15rem;
  padding: .6rem .7rem;
  background: rgba(22, 43, 36, .6);
  border: 1px solid var(--line);
}

.page-home .zone-list__bar {
  grid-area: bar;
  width: 4px;
  border-radius: 2px;
}

.page-home .zone-list__bar--clay { background: var(--clay); }
.page-home .zone-list__bar--moss { background: var(--moss); }
.page-home .zone-list__bar--band { background: var(--band); }

.page-home .zone-list__title {
  grid-area: title;
  font-size: .9rem;
  font-weight: 700;
  color: var(--paper-strong);
}

.page-home .zone-list__desc {
  grid-area: desc;
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(216, 228, 220, .7);
}

.page-home .home-zones__body .btn {
  margin-top: 1.4rem;
}

/* ---------- 战报速览 ---------- */
.page-home .home-reports {
  padding: var(--home-section) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-reports__head {
  max-width: 56ch;
}

.page-home .reports-band {
  margin: 1.6rem 0 1.4rem;
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}

.page-home .reports-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  max-width: 100%;
}

.page-home .reports-band__note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .7rem;
  padding: .65rem .85rem .75rem;
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(216, 228, 220, .72);
  border-top: 1px solid var(--line);
}

.page-home .reports-band__note .num {
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--lime);
}

.page-home .report-list {
  display: grid;
  gap: .5rem;
}

.page-home .report {
  border: 1px solid var(--line);
  border-left: 3px solid var(--band);
  background: rgba(22, 43, 36, .62);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.page-home .report[open] {
  border-left-color: var(--lime);
  background: rgba(22, 43, 36, .9);
}

.page-home .report__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .7rem;
  padding: .8rem .85rem;
  cursor: pointer;
  list-style: none;
}

.page-home .report__summary::-webkit-details-marker { display: none; }

.page-home .report__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--lime);
  line-height: 1;
}

.page-home .report[open] .report__summary::after {
  content: "–";
}

.page-home .report__summary:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: -2px;
}

.page-home .report__round {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-home .report__title {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper-strong);
}

.page-home .report__tag {
  font-size: .68rem;
}

.page-home .report__body {
  padding: 0 .85rem .9rem;
}

.page-home .report__body p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(216, 228, 220, .78);
}

.page-home .report__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: .8rem 0 0;
  padding-top: .7rem;
  border-top: 1px dashed var(--line);
}

.page-home .report__stats div {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}

.page-home .report__stats dt {
  font-size: .72rem;
  color: var(--stone);
}

.page-home .report__stats dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--amber);
}

.page-home .link-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.3rem;
  padding-bottom: .15rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, .45);
}

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

.page-home .link-more:hover,
.page-home .link-more:focus-visible {
  color: var(--paper-strong);
  border-bottom-color: var(--paper-strong);
}

/* ---------- 内地赛事 ---------- */
.page-home .home-mainland {
  padding: var(--home-section) 0;
  background:
    linear-gradient(120deg, rgba(184, 107, 75, .12), transparent 46%),
    var(--ink);
}

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

.page-home .stage-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: .1rem;
  border-top: 1px solid var(--line);
}

.page-home .stage-list__item {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: baseline;
  gap: .7rem;
  padding: .65rem .1rem;
  border-bottom: 1px solid var(--line);
}

.page-home .stage-list__no {
  font-size: .74rem;
  color: var(--clay);
  letter-spacing: .08em;
}

.page-home .stage-list__txt {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(216, 228, 220, .74);
}

.page-home .stage-list__txt b {
  color: var(--paper-strong);
  font-weight: 700;
  margin-right: .5rem;
}

.page-home .home-mainland__body .btn {
  margin-top: 1.4rem;
}

.page-home .home-mainland__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  overflow: hidden;
}

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

.page-home .home-mainland__figure .media-caption {
  padding: .55rem .8rem .65rem;
  font-size: .72rem;
  line-height: 1.6;
  color: var(--stone);
}

/* ---------- 入口与节奏 ---------- */
.page-home .home-rhythm {
  padding: var(--home-section) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

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

.page-home .rhythm-note {
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  background: rgba(7, 17, 14, .72);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-home .rhythm-note__num {
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -.02em;
}

.page-home .rhythm-note__txt {
  margin-top: .7rem;
  font-size: .86rem;
  line-height: 1.75;
  color: rgba(216, 228, 220, .76);
}

.page-home .timeline {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0 0 0 1.1rem;
  position: relative;
  display: grid;
  gap: .9rem;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  bottom: .35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--band), var(--lime));
  opacity: .5;
}

.page-home .timeline__item {
  position: relative;
  display: grid;
  gap: .15rem;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: .5rem;
  width: 7px;
  height: 7px;
  transform: translateX(-2px);
  background: var(--band);
}

.page-home .timeline__item--now::before {
  background: var(--lime);
}

.page-home .timeline__year {
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--moss);
}

.page-home .timeline__item--now .timeline__year {
  color: var(--lime);
}

.page-home .timeline__txt {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(216, 228, 220, .78);
}

/* ---------- 信任 ---------- */
.page-home .home-trust {
  padding: var(--home-section) 0 calc(var(--home-section) + .6rem);
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(127, 168, 139, .12), transparent 62%),
    var(--ink-3);
  border-top: 1px solid var(--line);
}

.page-home .home-trust__head {
  max-width: 54ch;
}

.page-home .trust-stats {
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 1.6rem 0 0;
  padding: 0;
}

.page-home .trust-stats__item {
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  background: rgba(22, 43, 36, .55);
}

.page-home .trust-stats__item dt {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--stone);
}

.page-home .trust-stats__item dd {
  margin: .25rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper-strong);
}

.page-home .trust-links {
  display: grid;
  gap: .1rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line-strong);
}

.page-home .trust-link {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1.4rem;
  align-items: center;
  gap: .8rem;
  padding: .95rem .2rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .16s var(--ease), padding-left .16s var(--ease);
}

.page-home .trust-link:hover,
.page-home .trust-link:focus-visible {
  background: rgba(198, 255, 61, .07);
  padding-left: .7rem;
  outline: none;
}

.page-home .trust-link__no {
  font-size: .74rem;
  color: var(--stone);
}

.page-home .trust-link__body {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.page-home .trust-link__title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--paper-strong);
}

.page-home .trust-link__desc {
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(216, 228, 220, .68);
}

.page-home .trust-link__arrow {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--lime);
  text-align: right;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .page-home .zone-list {
    gap: .6rem;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
  }

  .page-home .home-hero__board {
    align-self: stretch;
    position: sticky;
    top: 1.5rem;
  }

  .page-home .home-zones__inner {
    grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
    gap: clamp(1.6rem, 4vw, 3.2rem);
  }

  .page-home .home-mainland__inner {
    grid-template-columns: minmax(0, .58fr) minmax(0, .42fr);
    gap: clamp(1.6rem, 4vw, 3rem);
  }

  .page-home .home-rhythm__inner {
    grid-template-columns: minmax(0, .34fr) minmax(0, .66fr);
    gap: clamp(1.6rem, 4vw, 3rem);
  }

  .page-home .trust-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .reports-band__note {
    justify-content: flex-start;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero__title {
    max-width: 15ch;
  }

  .page-home .home-hero__lede {
    max-width: 36ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-trails,
  .page-home .board-trails {
    opacity: .12;
  }

  .page-home .home-index__item,
  .page-home .board__row,
  .page-home .report,
  .page-home .trust-link {
    transition: none;
  }
}
