.page-home {
  --home-panel: #0C1712;
  --home-panel-soft: #0A110E;
  --home-hair: rgba(201, 210, 208, 0.14);
  --home-hair-strong: rgba(201, 210, 208, 0.28);
  --home-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  display: block;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4vw, 48px) 0 0;
  background:
    radial-gradient(120% 95% at 82% 0%, rgba(43, 224, 122, 0.17), transparent 60%),
    radial-gradient(90% 70% at 4% 98%, rgba(255, 107, 26, 0.1), transparent 62%),
    linear-gradient(180deg, #0A0F0D 0%, #0B1512 58%, #0A0F0D 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201, 210, 208, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 210, 208, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 76%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
  align-items: end;
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .hero-context {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero-context span {
  color: var(--green-lamp);
  padding: 0 4px;
}

.page-home .hero-eyebrow {
  color: var(--green-lamp);
}

.page-home .hero-title {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 13vw, 146px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--warm);
}

.page-home .hero-title span {
  display: block;
}

.page-home .hero-title .hero-accent {
  color: var(--green-lamp);
  text-shadow: 0 0 34px rgba(43, 224, 122, 0.28);
}

.page-home .hero-lead {
  max-width: 56ch;
  margin: 0 0 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.62;
  color: var(--text-dim);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-home .hero-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--home-hair);
  background: var(--home-panel-soft);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  overflow: hidden;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.88);
}

.page-home .hero-figure-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  background: rgba(10, 15, 13, 0.82);
  border-top: 1px solid var(--home-hair);
  border-right: 1px solid var(--home-hair);
}

/* ---------- 入口节点 ---------- */
.page-home .gateway {
  position: relative;
  z-index: 1;
  margin-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.page-home .gateway-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 2px solid var(--green-lamp);
}

.page-home .gateway-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.01em;
  color: var(--warm);
}

.page-home .gateway-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-mute);
}

.page-home .gateway-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
}

.page-home .gateway-item {
  background: var(--home-panel-soft);
  display: flex;
}

.page-home .gateway-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 18px 16px 22px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border-top: 2px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .gateway-link:hover,
.page-home .gateway-link:focus-visible {
  background: var(--indigo);
  border-top-color: var(--orange);
}

.page-home .gateway-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.page-home .gateway-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}

.page-home .gateway-link:hover .gateway-num,
.page-home .gateway-link:focus-visible .gateway-num {
  color: var(--orange);
}

.page-home .gateway-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 21px);
  letter-spacing: 0.01em;
  color: var(--warm);
}

.page-home .gateway-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-mute);
}

/* ---------- 最近更新 ---------- */
.page-home .updates {
  position: relative;
  padding: clamp(44px, 7vw, 92px) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, #0A0F0D 0%, #0B120F 42%, #0A0F0D 100%);
}

.page-home .updates-head {
  max-width: 62ch;
}

.page-home .scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 3vw, 36px);
  background: var(--home-hair-strong);
  border: 1px solid var(--home-hair-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 100%);
}

.page-home .score-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 28px;
  background: var(--indigo);
}

.page-home .score-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .score-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.05;
  color: var(--green-lamp);
}

.page-home .score-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-mute);
}

.page-home .update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .update-figure {
  margin: 0;
  border: 1px solid var(--home-hair);
  background: var(--home-panel-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}

.page-home .update-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.92);
}

.page-home .update-item {
  border-bottom: 1px solid var(--home-hair);
}

.page-home .update-item:first-child {
  border-top: 1px solid var(--home-hair);
}

.page-home .update-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  grid-template-areas:
    "time toggle"
    "title toggle";
  gap: 3px 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.page-home .update-item summary::-webkit-details-marker {
  display: none;
}

.page-home .update-item summary:hover .update-title {
  color: var(--green-lamp);
}

.page-home .update-item summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.page-home .update-time {
  grid-area: time;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .update-title {
  grid-area: title;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--warm);
  transition: color var(--dur) var(--ease);
}

.page-home .update-toggle {
  grid-area: toggle;
  position: relative;
  width: 22px;
  height: 22px;
  align-self: center;
  border: 1px solid var(--home-hair-strong);
}

.page-home .update-toggle::before,
.page-home .update-toggle::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1.5px;
  background: var(--green-lamp);
  transform: translateY(-50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.page-home .update-toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.page-home .update-item[open] .update-toggle::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.page-home .update-body {
  padding: 0 0 18px;
  max-width: 62ch;
}

.page-home .update-body p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-dim);
}

.page-home .update-body p:last-child {
  margin-bottom: 0;
}

/* ---------- 正文区与侧边直达 ---------- */
.page-home .home-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 84px);
}

.page-home .home-rail {
  border-top: 2px solid var(--green-lamp);
  padding-top: 12px;
}

.page-home .rail-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .rail-link {
  display: block;
  padding: 5px 12px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text-dim);
  border: 1px solid var(--home-hair);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .rail-link:hover,
.page-home .rail-link:focus-visible {
  color: var(--green-lamp);
  border-color: var(--green-lamp);
  background: rgba(43, 224, 122, 0.08);
}

.page-home .rail-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.page-home .home-flow {
  min-width: 0;
}

.page-home .para {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-dim);
}

/* ---------- 跟队工作台 ---------- */
.page-home .desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .desk-side {
  min-width: 0;
}

.page-home .feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.page-home .feature-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--warm);
}

.page-home .desk-figure {
  margin: 0 0 16px;
  border: 1px solid var(--home-hair);
  background: var(--home-panel-soft);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 20px));
}

.page-home .desk-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.page-home .desk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
}

.page-home .desk-stats > div {
  padding: 14px 12px;
  background: var(--home-panel);
}

.page-home .desk-stats dt {
  margin-bottom: 5px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .desk-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(17px, 2.3vw, 22px);
  color: var(--green-lamp);
}

/* ---------- 索引补全进度 ---------- */
.page-home .progress-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .progress-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .progress-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.6);
}

.page-home .progress-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.94) 0%, rgba(10, 15, 13, 0.82) 58%, rgba(10, 15, 13, 0.97) 100%);
}

.page-home .progress-copy {
  position: relative;
  max-width: 76ch;
}

.page-home .progress-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--home-hair);
}

.page-home .progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name state"
    "track track";
  gap: 8px 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .progress-name {
  grid-area: name;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

.page-home .progress-state {
  grid-area: state;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.page-home .progress-state--done {
  color: var(--green-lamp);
}

.page-home .progress-state--mid {
  color: var(--amber);
}

.page-home .progress-state--todo {
  color: var(--orange);
}

.page-home .progress-track {
  grid-area: track;
  display: block;
  height: 3px;
  background: rgba(201, 210, 208, 0.14);
}

.page-home .progress-fill {
  display: block;
  height: 100%;
  background: var(--green-lamp);
}

.page-home .progress-fill--done {
  width: 100%;
  background: var(--green-lamp);
}

.page-home .progress-fill--w72 {
  width: 72%;
  background: var(--amber);
}

.page-home .progress-fill--w60 {
  width: 60%;
  background: var(--amber);
}

.page-home .progress-fill--w35 {
  width: 35%;
  background: var(--orange);
}

/* ---------- 支持与反馈 ---------- */
.page-home .help {
  padding-top: clamp(32px, 5vw, 64px);
}

.page-home .help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
}

.page-home .help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .help-card {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--home-hair-strong);
  background: var(--home-panel);
  box-shadow: var(--home-shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%);
}

.page-home .help-card-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-lamp);
}

.page-home .help-card .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .help-card .contact-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .help-card .contact-label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .help-card .contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--warm);
  overflow-wrap: anywhere;
}

.page-home .help-card .copy-btn {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--home-hair-strong);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .help-card .copy-btn:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-home .help-card .copy-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.page-home .help-card .copy-btn.is-copied {
  color: var(--green-lamp);
  border-color: var(--green-lamp);
}

.page-home .help-card .contact-text {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mute);
}

.page-home .to-top-wrap {
  margin: clamp(22px, 3vw, 34px) 0 0;
  text-align: right;
}

.page-home .to-top {
  display: inline-block;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  border-bottom: 1px solid var(--home-hair-strong);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .to-top:hover,
.page-home .to-top:focus-visible {
  color: var(--green-lamp);
  border-bottom-color: var(--green-lamp);
}

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

@media (min-width: 900px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

  .page-home .update-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .desk {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

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

@media (min-width: 1040px) {
  .page-home .gateway-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .home-body {
    grid-template-columns: 152px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: clamp(88px, 12vh, 120px);
  }

  .page-home .rail-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
  }

  .page-home .rail-link {
    padding: 7px 10px;
    border: 0;
    border-left: 2px solid transparent;
  }

  .page-home .rail-link:hover,
  .page-home .rail-link:focus-visible {
    border-left-color: var(--orange);
    background: rgba(43, 224, 122, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .gateway-link,
  .page-home .rail-link,
  .page-home .update-toggle::before,
  .page-home .update-toggle::after,
  .page-home .to-top {
    transition: none;
  }
}
<<<END>>>
