.page-home {
  --home-pad: clamp(56px, 8vw, 104px);
  display: block;
  background: var(--ink-green);
  color: var(--mist);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
}

.page-home a:focus-visible {
  outline: 2px solid var(--data);
  outline-offset: 3px;
}

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

/* ---------------- 封面首屏 ---------------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(104px, 14vw, 164px);
  background:
    radial-gradient(90% 70% at 84% 4%, rgba(53, 224, 208, 0.14), transparent 62%),
    radial-gradient(60% 50% at 6% 96%, rgba(255, 106, 43, 0.08), transparent 66%),
    var(--ink-green);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
}

.page-home .home-hero .breadcrumbs__list {
  padding: 0;
  margin: 0 0 clamp(24px, 3.5vw, 42px);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .home-hero .breadcrumbs__item {
  color: rgba(127, 184, 174, 0.72);
}

.page-home .home-hero .breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-home .home-hero .breadcrumbs__item a {
  color: var(--mist);
  text-decoration: none;
}

.page-home .home-hero .breadcrumbs__item a:hover {
  color: var(--cyan);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 44px);
  align-items: end;
}

.page-home .home-hero__lead {
  grid-column: 1 / -1;
}

.page-home .home-hero__panel {
  grid-column: 1 / -1;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-hero__dek {
  margin: 0 0 30px;
  max-width: 60ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.78;
  color: var(--mist);
}

.page-home .home-hero__actions {
  margin-bottom: 22px;
}

.page-home .home-hero__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(127, 184, 174, 0.78);
}

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

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

.page-home .home-hero__chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  padding: 11px 16px;
  background: linear-gradient(to bottom, rgba(10, 20, 19, 0.9), rgba(10, 20, 19, 0));
}

.page-home .home-hero__chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.page-home .home-hero__chrome i:nth-child(1) {
  background: var(--flag);
}

.page-home .home-hero__chrome i:nth-child(2) {
  background: var(--data);
}

.page-home .home-hero__chrome i:nth-child(3) {
  background: var(--cyan);
}

.page-home .home-hero__readout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 19, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .home-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 0 4px rgba(242, 194, 48, 0.16);
}

/* ---------------- 首栏路径带 ---------------- */
.page-home .home-rail {
  margin-top: clamp(44px, 6vw, 80px);
  background: var(--arena-black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-rail__lead {
  margin: 0;
  padding: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-rail__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.page-home .home-rail__item {
  background: var(--arena-black);
}

.page-home .home-rail__link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "key name"
    "key desc";
  gap: 6px 16px;
  padding: 20px 18px 24px;
  text-decoration: none;
  color: var(--mist);
  background: var(--arena-black);
  transition: background 180ms var(--ease), color 180ms var(--ease);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  background: #103a33;
  color: var(--paper);
}

.page-home .home-rail__key {
  grid-area: key;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--data);
}

.page-home .home-rail__name {
  grid-area: name;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .home-rail__desc {
  grid-area: desc;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------------- 本季关注看板 ---------------- */
.page-home .home-board {
  position: relative;
  padding: var(--home-pad) 0;
  background: var(--arena-black);
}

.page-home .home-board__head {
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.page-home .home-board__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-home .home-board__fig {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

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

.page-home .home-board__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-board__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ink-green);
}

.page-home .home-board__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--data);
}

.page-home .home-board__unit {
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .home-board__label {
  font-size: 14px;
  line-height: 1.68;
  color: var(--mist);
}

/* ---------------- 分类栏目速览 ---------------- */
.page-home .home-index {
  position: relative;
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--brown-ink);
  isolation: isolate;
}

.page-home .home-index::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(36, 28, 20, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 28, 20, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-home .home-index .section-head__title,
.page-home .home-index .section-head__index {
  color: var(--brown-ink);
}

.page-home .home-index .section-head__note {
  color: rgba(36, 28, 20, 0.66);
}

.page-home .home-index__head {
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

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

.page-home .home-index__fig {
  margin: 0;
  min-height: 220px;
  border: 1px solid rgba(36, 28, 20, 0.2);
  overflow: hidden;
}

.page-home .home-index__fig img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .home-index__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  text-decoration: none;
  color: var(--brown-ink);
  background: rgba(36, 28, 20, 0.035);
  border: 1px solid rgba(36, 28, 20, 0.16);
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .home-index__card:hover,
.page-home .home-index__card:focus-visible {
  background: rgba(53, 224, 208, 0.16);
  border-color: var(--cyan-deep);
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan-deep);
}

.page-home .home-index__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--brown-ink);
}

.page-home .home-index__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(36, 28, 20, 0.78);
}

.page-home .home-index__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--flag);
}

/* ---------------- 本地化横条 ---------------- */
.page-home .home-local {
  position: relative;
  padding: var(--home-pad) 0;
  background: var(--ink-green);
  border-top: 1px solid var(--line);
}

.page-home .home-local__grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
}

.page-home .home-local__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-local__text p {
  margin: 0;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-local__fig {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

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

/* ---------------- 版本更新摘要 ---------------- */
.page-home .home-release {
  position: relative;
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--brown-ink);
  isolation: isolate;
}

.page-home .home-release::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    108deg,
    rgba(36, 28, 20, 0.05) 0 1px,
    transparent 1px 30px
  );
  pointer-events: none;
}

.page-home .home-release .section-head__title,
.page-home .home-release .section-head__index {
  color: var(--brown-ink);
}

.page-home .home-release .section-head__note {
  color: rgba(36, 28, 20, 0.66);
}

.page-home .home-release__head {
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.page-home .home-release__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 34px);
}

.page-home .home-release__col {
  padding-top: 20px;
  border-top: 3px solid var(--brown-ink);
}

.page-home .home-release__no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-deep);
}

.page-home .home-release__title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--brown-ink);
}

.page-home .home-release__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: rgba(36, 28, 20, 0.78);
}

.page-home .home-release__more {
  margin: clamp(30px, 4vw, 48px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 28, 20, 0.16);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(36, 28, 20, 0.82);
}

.page-home .home-release__more a {
  color: var(--cyan-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 111, 101, 0.35);
}

.page-home .home-release__more a:hover {
  color: var(--flag);
  border-bottom-color: rgba(255, 106, 43, 0.5);
}

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

  .page-home .home-rail__link {
    padding: 24px 22px 28px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__lead {
    grid-column: 1 / 8;
  }

  .page-home .home-hero__panel {
    grid-column: 8 / 13;
  }

  .page-home .home-board__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  .page-home .home-local__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .home-index__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .home-index__fig {
    grid-column: 1 / 5;
    grid-row: span 2;
  }

  .page-home .home-index__card {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) {
  .page-home .home-rail__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .page-home .home-board__stats {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero__readout {
    display: flex;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-rail__link,
  .page-home .home-index__card {
    transition: none;
  }
}
