.page-home {
  --home-radius: 20px 20px 20px 4px;
  --home-gutter: clamp(1rem, 2.6vw, 1.75rem);
  --home-block-pad: clamp(2.5rem, 6vw, 5rem);
  color: var(--paper);
  overflow-x: clip;
}

.page-home .home-crumbs {
  padding-top: clamp(.9rem, 2.5vw, 1.5rem);
  padding-bottom: .25rem;
}

.page-home .home-crumbs .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--mist);
  letter-spacing: .04em;
}

.page-home .home-crumbs .crumbs__current {
  color: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 6vw, 4.25rem) clamp(2.25rem, 5vw, 3.25rem);
  background:
    radial-gradient(115% 85% at 8% 0%, #10332b 0%, rgba(16, 51, 43, 0) 62%),
    linear-gradient(158deg, var(--ink) 0%, var(--ink-2) 58%, #07201b 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.65) contrast(1.08);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(6, 17, 14, .95) 0%, rgba(6, 17, 14, .82) 46%, rgba(6, 17, 14, .45) 100%);
}

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

.page-home .home-hero__round-label {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 .35rem;
}

.page-home .home-hero__round {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(5rem, 21vw, 10.5rem);
  line-height: .8;
  letter-spacing: -.07em;
  color: var(--cyan);
  text-shadow: 0 0 70px rgba(61, 245, 208, .28);
}

.page-home .home-hero__round-note {
  margin: .75rem 0 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--yellow);
  letter-spacing: .02em;
}

.page-home .home-hero__copy h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 6.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .85rem;
  max-width: 22ch;
}

.page-home .home-hero__copy .lede {
  color: var(--mist);
  font-size: clamp(.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.85;
  max-width: 40ch;
  margin: 0;
}

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

.page-home .home-rounds {
  display: flex;
  gap: .5rem;
  margin-top: 1.75rem;
  padding-bottom: .35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-rounds__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .home-rounds__no {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--paper);
}

.page-home .home-rounds__item.is-current {
  border-color: var(--orange);
  background: rgba(255, 122, 26, .12);
  color: var(--paper);
}

.page-home .home-rounds__item.is-current .home-rounds__no {
  color: var(--orange);
}

.page-home .home-hero__crest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  max-width: 260px;
}

.page-home .home-hero__crest span {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 3px;
  background: linear-gradient(152deg, rgba(17, 51, 44, .9), rgba(6, 17, 14, .6));
}

.page-home .home-hero__crest span::before {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(61, 245, 208, .78), rgba(61, 245, 208, .06));
  transform: rotate(var(--crest-rot, 0deg));
}

.page-home .home-hero__crest span:nth-child(3n)::before {
  border-radius: 22% 22% 22% 6%;
  --crest-rot: 24deg;
  background: linear-gradient(140deg, rgba(61, 245, 208, .6), rgba(61, 245, 208, .05));
}

.page-home .home-hero__crest span:nth-child(4n+2)::before {
  background: linear-gradient(140deg, rgba(255, 122, 26, .8), rgba(255, 122, 26, .08));
}

.page-home .home-hero__crest span:nth-child(5n)::before {
  border-radius: 8% 40% 8% 40%;
  background: linear-gradient(140deg, rgba(255, 209, 102, .72), rgba(255, 209, 102, .06));
}

/* ---------- 数据带 ---------- */
.page-home .home-band {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.page-home .home-band .data-band__item {
  flex: 0 0 auto;
  min-width: 9.5rem;
  padding: .85rem 1.1rem;
  border-right: 1px solid var(--line);
}

.page-home .home-band .data-band__item:last-child {
  border-right: 0;
}

.page-home .home-band .data-band__label {
  display: block;
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: .3rem;
}

.page-home .home-band .data-band__value {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .home-band .status-lamp {
  display: inline-flex;
  align-items: center;
}

.page-home .home-band .status-lamp__dot {
  box-shadow: 0 0 0 4px rgba(61, 245, 208, .16);
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding-block: var(--home-block-pad);
}

.page-home .home-head {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.page-home .home-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: .45rem 0 .7rem;
  color: var(--paper);
}

.page-home .home-head__note {
  margin: 0;
  max-width: 38rem;
  color: var(--mist);
  font-size: .9375rem;
  line-height: 1.85;
}

.page-home .home-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}

/* ---------- 三条主入口 ---------- */
.page-home .home-doors {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(17, 51, 44, .92) 0%, rgba(6, 17, 14, 0) 62%),
    var(--ink);
}

.page-home .home-doors__banner {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  max-height: 15rem;
}

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

.page-home .home-doors__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gutter);
}

.page-home .home-door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1.15rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(162deg, rgba(17, 51, 44, .88), rgba(11, 36, 31, .5));
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-door::after {
  content: "";
  position: absolute;
  left: clamp(1.15rem, 2.6vw, 1.6rem);
  right: clamp(1.15rem, 2.6vw, 1.6rem);
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.page-home .home-door--orange::after { background: var(--orange); }
.page-home .home-door--yellow::after { background: var(--yellow); }

.page-home .home-door:hover,
.page-home .home-door:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: linear-gradient(162deg, rgba(22, 62, 53, .95), rgba(11, 36, 31, .62));
}

.page-home .home-door--orange:hover,
.page-home .home-door--orange:focus-visible { border-color: var(--orange); }

.page-home .home-door--yellow:hover,
.page-home .home-door--yellow:focus-visible { border-color: var(--yellow); }

.page-home .home-door:hover::after,
.page-home .home-door:focus-visible::after { opacity: 1; }

.page-home .home-door__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.15;
  margin: 0;
  color: var(--paper);
}

.page-home .home-door__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-door__hint {
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--mist);
  opacity: .62;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .home-door:hover .home-door__hint,
.page-home .home-door:focus-visible .home-door__hint {
  opacity: 1;
  color: var(--cyan);
}

.page-home .home-door__stats {
  margin-top: auto;
  padding-top: .75rem;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--yellow);
  letter-spacing: .02em;
}

.page-home .home-door__go {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--paper);
}

/* ---------- 本季改动 ---------- */
.page-home .home-upgrade {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.page-home .home-upgrade__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.page-home .home-upgrade__lede {
  margin: .2rem 0 0;
  max-width: 36rem;
  color: var(--mist);
  font-size: .9375rem;
  line-height: 1.85;
}

.page-home .home-upgrade__list {
  list-style: none;
  margin: clamp(1.25rem, 3vw, 1.85rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.page-home .home-upgrade__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed rgba(43, 75, 67, .95);
}

.page-home .home-upgrade__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-upgrade__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .875rem;
  color: var(--cyan);
  padding-top: .18rem;
}

.page-home .home-upgrade__list h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin: 0 0 .35rem;
  color: var(--paper);
}

.page-home .home-upgrade__list p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.85;
  color: var(--mist);
  max-width: 40rem;
}

.page-home .home-upgrade__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--ink);
}

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

.page-home .home-upgrade__figure figcaption {
  padding: .7rem 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

/* ---------- 怎么开始 ---------- */
.page-home .home-start {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-home .home-start__bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(42%, 26rem);
  opacity: .22;
  pointer-events: none;
  display: none;
}

.page-home .home-start__bg img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-start .wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.page-home .home-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .75rem 1rem;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(150deg, rgba(17, 51, 44, .7), rgba(6, 17, 14, .35));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-path:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.page-home .home-path__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
  line-height: 1;
  padding-top: .3rem;
}

.page-home .home-path__body h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.2;
  margin: 0 0 .35rem;
  color: var(--paper);
}

.page-home .home-path__body p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-path .btn {
  grid-column: 2;
  justify-self: start;
}

.page-home .home-start__aside {
  margin: 1.25rem 0 0;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-start__aside a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 公告速递 ---------- */
.page-home .home-news {
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(17, 51, 44, .85) 0%, rgba(6, 17, 14, 0) 65%),
    var(--ink);
}

.page-home .home-notices {
  border-top: 1px solid var(--line);
}

.page-home .home-notices .accordion__item {
  border-bottom: 1px solid var(--line);
}

.page-home .home-notices .accordion__trigger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .9rem;
  width: 100%;
  padding: .95rem 0;
  background: none;
  border: 0;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color var(--dur) var(--ease);
}

.page-home .home-notices .accordion__trigger:hover {
  color: var(--cyan);
}

.page-home .home-notices .accordion__trigger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  box-shadow: inset 0 0 0 1px var(--paper);
  border-radius: 6px;
}

.page-home .home-notices__title {
  flex: 1 1 12rem;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .home-notices__meta {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .03em;
  color: var(--mist);
}

.page-home .home-notices .accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
}

.page-home .home-notices .accordion__icon::before,
.page-home .home-notices .accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-notices .accordion__icon::before {
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
}

.page-home .home-notices .accordion__icon::after {
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
}

.page-home .home-notices .accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.page-home .home-notices .accordion__panel-inner {
  padding: .2rem 0 1.35rem;
  max-width: 46rem;
  color: var(--mist);
  font-size: .9125rem;
  line-height: 1.9;
  border-left: 2px solid var(--orange);
  padding-left: 1rem;
  margin-left: .1rem;
}

.page-home .home-notices .accordion__panel-inner p {
  margin: 0;
}

/* ---------- 收尾 ---------- */
.page-home .home-closer {
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 70%);
  border-top: 1px solid var(--line);
}

.page-home .home-closer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: end;
}

.page-home .home-closer__text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.4vw, 2.6rem);
  line-height: 1.1;
  margin: .45rem 0 .85rem;
  color: var(--paper);
  max-width: 24ch;
}

.page-home .home-closer__text p {
  margin: 0;
  max-width: 46rem;
  color: var(--mist);
  font-size: .9375rem;
  line-height: 1.9;
}

.page-home .home-closer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .home-hero__crest {
    max-width: 320px;
    gap: .6rem;
  }

  .page-home .home-path {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-path .btn {
    grid-column: 3;
    justify-self: end;
  }

  .page-home .home-upgrade__figure {
    max-width: 34rem;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas:
      "score crest"
      "copy  crest";
    align-items: start;
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .home-hero__score { grid-area: score; }
  .page-home .home-hero__copy { grid-area: copy; }
  .page-home .home-hero__crest {
    grid-area: crest;
    align-self: center;
    justify-self: end;
    max-width: none;
    gap: .7rem;
  }

  .page-home .home-doors__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-door:nth-child(2) {
    margin-top: -1.5rem;
  }

  .page-home .home-door:nth-child(3) {
    margin-top: .9rem;
  }

  .page-home .home-upgrade__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: center;
  }

  .page-home .home-start__bg {
    display: block;
  }

  .page-home .home-closer__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: center;
  }

  .page-home .home-closer__links {
    justify-content: flex-end;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__copy h1 {
    max-width: 20ch;
  }

  .page-home .home-doors__banner {
    max-height: 19rem;
  }

  .page-home .home-notices .accordion__trigger {
    padding: 1.15rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-door,
  .page-home .home-path,
  .page-home .home-door__hint,
  .page-home .home-notices .accordion__icon::before,
  .page-home .home-notices .accordion__icon::after {
    transition: none;
  }

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