.page-home {
  --hue-a: #3BE8E0;
  --hue-b: #4FD1C5;
  --hue-c: #7BD88F;
  --hue-d: #C3E05A;
  --hue-e: #FFD166;
  --hue-f: #FFA94D;
  --hue-g: #FF8A5B;
  --hue-h: #FF6B8A;
  --hue-i: #FF3D9A;
  --hue-j: #B47BFF;
  --hue-k: #6C8CFF;
  --home-hair: rgba(140, 151, 184, 0.2);
  --home-panel: #141B36;
  --home-cut: 12px;
  --home-soft: rgba(237, 241, 250, 0.78);
  background: var(--ink-800);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  display: block;
}

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.page-home .label--amber {
  color: var(--amber);
}

.page-home .label--amber::before,
.page-home .label--amber::after {
  background: var(--amber);
}

.page-home .inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 232, 224, 0.42);
  transition: color 0.18s ease-out, border-color 0.18s ease-out;
}

.page-home .inline-link:hover,
.page-home .inline-link:focus-visible {
  color: var(--cloud);
  border-bottom-color: var(--cloud);
}

.page-home .block {
  position: relative;
  padding: 52px 0 8px;
}

.page-home .block:last-of-type {
  padding-bottom: 64px;
}

.page-home .block-lead {
  margin: 14px 0 24px;
  max-width: 68ch;
  color: var(--home-soft);
  font-size: 16px;
  line-height: 1.82;
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(22px, 4.6vw, 30px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--cloud);
}

.page-home .divider-slash {
  height: 1px;
  margin: 44px 24px 0;
  background-image: linear-gradient(90deg, transparent 0 6px, var(--home-hair) 6px 12px);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  transform: skewY(-0.6deg);
  transform-origin: left center;
  opacity: 0.8;
}

/* ---------------- 首屏封面 ---------------- */

.page-home .cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 0 54px;
  border-bottom: 1px solid var(--home-hair);
}

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

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

.page-home .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(130% 100% at 8% 6%, rgba(11, 16, 36, 0.42), rgba(5, 7, 15, 0.94) 64%),
    linear-gradient(90deg, rgba(5, 7, 15, 0.96) 0%, rgba(11, 16, 36, 0.62) 58%, rgba(5, 7, 15, 0.92) 100%);
}

.page-home .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(237, 241, 250, 0.05) 0 1px, transparent 1px 6px);
  animation: home-scan 8s linear infinite;
}

@keyframes home-scan {
  from { background-position: 0 0; }
  to { background-position: 0 120px; }
}

.page-home .cover-grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 32px;
}

.page-home .cover-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 10.5vw, 76px);
  line-height: 1.04;
  letter-spacing: 0.015em;
  color: var(--cloud);
  text-shadow: 0 0 1px rgba(59, 232, 224, 0.9), 0 0 34px rgba(59, 232, 224, 0.2);
}

.page-home .cover-title-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--cyan);
  text-shadow: none;
}

.page-home .cover-lead {
  margin: 22px 0 0;
  max-width: 48ch;
  color: rgba(237, 241, 250, 0.84);
  font-size: 16px;
  line-height: 1.84;
}

.page-home .cover-index {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

.page-home .index-link {
  display: block;
  padding: 14px 16px 16px;
  text-decoration: none;
  color: var(--cloud);
  background: rgba(20, 27, 54, 0.74);
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
  transition: background-color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}

.page-home .index-link:hover,
.page-home .index-link:focus-visible {
  background: rgba(59, 232, 224, 0.12);
  border-color: rgba(59, 232, 224, 0.6);
  transform: translateY(-2px);
}

.page-home .index-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .index-name {
  display: block;
  margin-top: 6px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.page-home .index-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

/* 第 3 栏锚点 */

.page-home .anchor-card {
  padding: 20px 18px 22px;
  background:
    linear-gradient(155deg, rgba(255, 184, 77, 0.16), rgba(20, 27, 54, 0.92) 58%);
  border: 1px solid rgba(255, 184, 77, 0.42);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .anchor-title {
  margin: 10px 0 14px;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.45;
  color: var(--cloud);
}

.page-home .anchor-figure {
  margin: 0 0 14px;
  border: 1px solid rgba(255, 184, 77, 0.28);
  overflow: hidden;
}

.page-home .anchor-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
}

.page-home .anchor-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.76;
  color: rgba(237, 241, 250, 0.78);
}

.page-home .anchor-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
}

.page-home .anchor-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .anchor-list .mono {
  color: var(--amber);
  font-size: 13px;
  min-width: 62px;
}

/* ---------------- 九个固定分类 ---------------- */

.page-home .bento-cats {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.page-home .cat-card {
  position: relative;
  padding: 16px 16px 18px;
  background-color: var(--home-panel);
  background-image: linear-gradient(var(--cat-hue, var(--cyan)), var(--cat-hue, var(--cyan)));
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: top left;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
  transition: transform 0.18s ease-out, background-color 0.18s ease-out;
}

.page-home .cat-card:hover {
  transform: translateY(-3px);
  background-color: #182046;
}

.page-home .cat-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cat-hue, var(--cyan));
}

.page-home .cat-name {
  margin: 6px 0 6px;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--cloud);
}

.page-home .cat-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .cat-meta {
  margin: 0;
  font-size: 12.5px;
  color: rgba(237, 241, 250, 0.72);
}

.page-home .cat-meta .mono {
  color: var(--cloud);
}

.page-home .cat-meta .dot {
  margin: 0 6px;
  color: var(--slate);
}

/* ---------------- 厂商专区 ---------------- */

.page-home .vendor-top {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.page-home .vendor-copy .block-lead {
  margin-top: 16px;
}

.page-home .vendor-figure {
  margin: 0;
  border: 1px solid var(--home-hair);
  overflow: hidden;
}

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

.page-home .hue-scale {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 0 0;
}

.page-home .hue-seg {
  display: block;
  padding: 0 0 10px;
  border-bottom: 6px solid var(--hue, var(--cyan));
  text-align: center;
  text-decoration: none;
  color: var(--slate);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: color 0.18s ease-out, transform 0.18s ease-out, border-bottom-width 0.18s ease-out;
}

.page-home .hue-seg:hover,
.page-home .hue-seg:focus-visible {
  color: var(--hue, var(--cyan));
  border-bottom-width: 10px;
  transform: translateY(-2px);
}

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

.page-home .zone-card {
  position: relative;
  padding: 14px 16px 14px 18px;
  background: rgba(20, 27, 54, 0.7);
  border-left: 6px solid var(--hue, var(--cyan));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color 0.18s ease-out, transform 0.18s ease-out;
}

.page-home .zone-card:target,
.page-home .zone-card:hover {
  background: rgba(29, 38, 80, 0.92);
  transform: translateX(3px);
}

.page-home .zone-code {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--hue, var(--cyan));
  border: 1px solid currentColor;
  padding: 1px 6px;
  margin-bottom: 8px;
}

.page-home .zone-name {
  margin: 0 0 4px;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 16px;
  color: var(--cloud);
}

.page-home .zone-desc {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--slate);
}

.page-home .zone-stats {
  margin: 0;
  font-size: 12.5px;
  color: rgba(237, 241, 250, 0.78);
}

.page-home .zone-stats .mono {
  color: var(--hue, var(--cyan));
}

/* ---------------- 牌路统计 ---------------- */

.page-home .block--tracks .container {
  position: relative;
}

.page-home .track-panel {
  margin-top: 24px;
  padding: 20px 18px 22px;
  background:
    linear-gradient(180deg, rgba(59, 232, 224, 0.07), rgba(20, 27, 54, 0.86) 42%);
  border: 1px solid rgba(59, 232, 224, 0.32);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .track-figure {
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--home-hair);
}

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

.page-home .track-chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 58%;
  display: block;
}

.page-home .track-line {
  fill: none;
  stroke: url(#homeTrackGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: home-trace 1.2s ease-out 0.15s forwards;
}

@keyframes home-trace {
  to { stroke-dashoffset: 0; }
}

.page-home .track-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .track-stats .stat {
  padding: 12px 0 12px 14px;
  border-left: 1px solid rgba(59, 232, 224, 0.4);
}

.page-home .track-stats .stat-value {
  display: block;
  font-size: clamp(22px, 5.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cloud);
  text-shadow: 0 0 18px rgba(59, 232, 224, 0.3);
}

.page-home .track-stats .stat-key {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--slate);
}

.page-home .track-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 232, 224, 0.2);
  font-size: 14px;
  line-height: 1.76;
  color: rgba(237, 241, 250, 0.78);
}

/* ---------------- 大厅分区 ---------------- */

.page-home .zone-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.page-home .strip-item {
  position: relative;
  padding: 12px 14px 13px;
  background: rgba(20, 27, 54, 0.68);
  border-top: 1px solid rgba(140, 151, 184, 0.24);
  transition: background-color 0.18s ease-out;
}

.page-home .strip-item:hover {
  background: rgba(29, 38, 80, 0.9);
}

.page-home .strip-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.page-home .strip-item h3 {
  margin: 4px 0 2px;
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: 15px;
  color: var(--cloud);
}

.page-home .strip-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .zone-notes {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.page-home .zone-notes p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(237, 241, 250, 0.78);
}

/* ---------------- 检索与专栏 ---------------- */

.page-home .find-grid {
  display: grid;
  gap: 26px;
}

.page-home .find-panel .section-head,
.page-home .columns-panel .section-head {
  margin-bottom: 4px;
}

.page-home .filter-tags {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .find-hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .find-hint .mono {
  color: var(--cyan);
  padding: 1px 5px;
  border: 1px solid rgba(59, 232, 224, 0.36);
}

.page-home .find-more {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(237, 241, 250, 0.78);
}

.page-home .columns-panel {
  padding: 20px 18px 22px;
  background: rgba(20, 27, 54, 0.6);
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .issue-list {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .issue {
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(140, 151, 184, 0.28);
}

.page-home .issue:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .issue-no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .issue-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .issue h3 {
  margin: 6px 0 0;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cloud);
}

.page-home .find-legal {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
}

/* ---------------- 响应式 ---------------- */

@media (min-width: 620px) {
  .page-home .cover-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .bento-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .track-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .page-home .zone-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .zone-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
  }
}

@media (min-width: 900px) {
  .page-home .cover {
    padding: 52px 0 66px;
  }

  .page-home .cover-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 44px;
  }

  .page-home .block {
    padding-top: 64px;
  }

  .page-home .vendor-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    align-items: end;
    gap: 32px;
  }

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

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

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

  .page-home .find-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .page-home .bento-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .cat-card--wide {
    grid-column: span 2;
  }

  .page-home .zone-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .page-home .zone-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 90ch;
  }
}

@media (max-width: 640px) {
  .page-home .hue-scale {
    grid-template-columns: repeat(11, 34px);
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .page-home .zone-grid {
    gap: 8px;
  }

  .page-home .cover-title {
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .cover::after,
  .page-home .track-line {
    animation: none;
  }

  .page-home .track-line {
    stroke-dashoffset: 0;
  }

  .page-home .index-link,
  .page-home .cat-card,
  .page-home .zone-card,
  .page-home .hue-seg {
    transition: none;
  }
}
</main>

.page-home {
  --cat-hue: transparent;
  --hue: currentColor;
}
