.page-home {
  --home-gap: 16px;
  --home-line: rgba(47, 227, 210, 0.16);
  --home-line-strong: rgba(47, 227, 210, 0.48);
  --home-panel: rgba(9, 32, 54, 0.78);
  --home-panel-deep: rgba(4, 16, 28, 0.88);
  --home-slant: 28px;
  --home-warn: rgba(255, 90, 43, 0.12);
}

@media (min-width: 720px) {
  .page-home {
    --home-gap: 20px;
    --home-slant: 36px;
  }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: calc(var(--header-h) + 26px) 0 44px;
  overflow: hidden;
}

.page-home .hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(92% 72% at 26% 34%, rgba(47, 227, 210, 0.18), transparent 64%),
    linear-gradient(180deg, rgba(7, 26, 46, 0.5) 0%, rgba(7, 26, 46, 0.9) 62%, var(--night) 100%);
}

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

.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .home-context .is-now {
  color: var(--cyan);
}

.page-home .home-context-sep {
  color: rgba(124, 143, 163, 0.6);
}

/* ---------- Bento 栅格 ---------- */
.page-home .home-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

@media (min-width: 900px) {
  .page-home .home-bento {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }

  .page-home .home-intro {
    grid-column: 8 / 13;
    grid-row: 1;
  }

  .page-home .home-map {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
  }

  .page-home .home-standings {
    grid-column: 8 / 13;
    grid-row: 2;
  }
}

/* ---------- 主题声明块 ---------- */
.page-home .home-intro {
  position: relative;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, rgba(13, 44, 71, 0.94), rgba(7, 26, 46, 0.9));
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, calc(100% - var(--home-slant)) 0, 100% var(--home-slant), 100% 100%, 0 100%);
}

.page-home .home-title {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.55rem, 5.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-lede {
  margin: 12px 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.76);
}

.page-home .home-toc {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

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

.page-home .home-toc-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px;
  text-decoration: none;
  color: var(--paper);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .home-toc-link:hover,
.page-home .home-toc-link:focus-visible {
  color: var(--cyan);
  padding-left: 8px;
}

.page-home .home-toc-idx {
  font-size: var(--fs-12);
  color: var(--orange);
  letter-spacing: 0.06em;
}

.page-home .home-toc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-home .home-toc-label {
  font-size: var(--fs-14);
  font-weight: 600;
}

.page-home .home-toc-note {
  font-size: var(--fs-12);
  color: var(--mist);
  line-height: 1.5;
}

/* ---------- 主场地图锚点 ---------- */
.page-home .home-map {
  position: relative;
  background: linear-gradient(158deg, rgba(20, 84, 63, 0.5), rgba(4, 16, 28, 0.94) 58%);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, calc(100% - var(--home-slant)) 0, 100% var(--home-slant), 100% 100%, 0 100%);
}

.page-home .map-stage {
  position: relative;
  aspect-ratio: 14 / 9;
  min-height: 200px;
  overflow: hidden;
}

.page-home .map-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 40% 50%, rgba(47, 227, 210, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(7, 26, 46, 0.08) 0%, rgba(7, 26, 46, 0.68) 100%);
}

.page-home .map-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.page-home .map-grid-frame {
  fill: none;
  stroke: var(--cyan);
  stroke-opacity: 0.3;
  stroke-width: 1;
}

.page-home .map-grid-link {
  fill: none;
  stroke: var(--cyan);
  stroke-opacity: 0.42;
  stroke-width: 1;
  stroke-dasharray: 5 7;
}

.page-home .map-grid-dot circle {
  fill: var(--cyan);
  transition: transform 0.24s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}

.page-home .map-grid-hot circle {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
}

.page-home .map-grid-hot circle:first-child {
  fill: var(--orange);
  stroke: none;
}

.page-home .map-tag {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 4px 10px;
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(4, 16, 28, 0.74);
  border: 1px solid var(--home-line-strong);
}

.page-home .map-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 18px 20px 22px;
}

.page-home .map-copy p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.74);
}

.page-home .map-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-12);
  color: var(--mist);
}

.page-home .map-keys li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-home .map-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .map-dot--hot {
  background: var(--orange);
}

.page-home .map-rule {
  width: 18px;
  height: 0;
  border-top: 1px dashed var(--cyan-dim);
}

/* ---------- 积分榜 ---------- */
.page-home .home-standings {
  padding: 20px 18px 18px;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
}

.page-home .home-sub-title {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: var(--fs-20);
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .round-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.page-home .round-line span {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-variant-numeric: tabular-nums;
  color: var(--mist);
  border: 1px solid var(--home-line);
}

.page-home .round-line .is-current {
  color: var(--orange);
  background: var(--home-warn);
  border-color: var(--orange);
}

.page-home .home-standings-hint {
  margin: 10px 0 0;
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--mist);
}

.page-home .table-scroll {
  margin-top: 12px;
  overflow-x: auto;
}

.page-home .standings-table {
  width: 100%;
  min-width: 240px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.page-home .standings-table th,
.page-home .standings-table td {
  padding: 9px 6px;
  text-align: left;
  font-size: var(--fs-14);
  color: rgba(244, 239, 230, 0.86);
  border-bottom: 1px solid rgba(124, 143, 163, 0.16);
}

.page-home .standings-table thead th {
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mist);
  border-bottom-color: var(--home-line);
}

.page-home .standings-table .col-rank {
  width: 46px;
  font-family: var(--font-mono);
  color: var(--mist);
}

.page-home .standings-table .col-num {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
}

.page-home .standings-table tbody tr:last-child th,
.page-home .standings-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .standings-table tbody tr.is-top th,
.page-home .standings-table tbody tr.is-top td {
  color: var(--orange);
  font-weight: 700;
  background: rgba(255, 90, 43, 0.07);
}

.page-home .data-strip {
  margin: 14px 0 0;
  padding-top: 12px;
  font-size: var(--fs-12);
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px dashed rgba(124, 143, 163, 0.28);
}

/* ---------- 战报 ---------- */
.page-home .section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-home .home-section-title {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.4rem, 4.6vw, 2rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-section-note {
  margin: 12px 0 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .report-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 900px) {
  .page-home .report-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }
}

.page-home .report-aside {
  margin: 0;
}

.page-home .report-aside img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border: 1px solid var(--home-line);
  filter: saturate(0.5) contrast(1.05);
}

.page-home .report-aside figcaption {
  margin-top: 10px;
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--mist);
}

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

@media (min-width: 760px) {
  .page-home .report-deck {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .report-card--b {
    margin-top: 38px;
  }

  .page-home .report-card--c {
    margin-top: 16px;
  }
}

.page-home .report-card {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--home-panel-deep);
  border: 1px solid var(--home-line);
  border-top: 2px solid rgba(47, 227, 210, 0.4);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .report-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-line-strong);
}

.page-home .report-card--a {
  border-top-color: var(--orange);
}

.page-home .report-round {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .report-score {
  margin: 10px 0 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .report-card--a .report-score {
  color: var(--orange);
}

.page-home .report-score-sep {
  padding: 0 4px;
  color: var(--mist);
}

.page-home .report-name {
  margin: 12px 0 0;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .report-text {
  margin: 10px 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.7);
}

.page-home .report-tail {
  margin: 14px 0 0;
  padding-top: 12px;
  font-size: var(--fs-12);
  color: var(--mist);
  border-top: 1px dashed rgba(124, 143, 163, 0.28);
}

.page-home .home-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

/* ---------- 刷新节奏 ---------- */
.page-home .home-cadence {
  position: relative;
}

.page-home .home-cadence::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 100% at 90% 0%, rgba(47, 227, 210, 0.09), transparent 62%);
}

.page-home .cadence-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 900px) {
  .page-home .cadence-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }
}

.page-home .cadence-copy p {
  margin: 14px 0 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(244, 239, 230, 0.76);
}

.page-home .cadence-note {
  padding-left: 14px;
  font-size: var(--fs-12) !important;
  color: var(--mist) !important;
  border-left: 2px solid var(--home-line-strong);
}

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

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

.page-home .cadence-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 14px 20px;
  background: rgba(4, 16, 28, 0.9);
}

.page-home .cadence-num {
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-home .cadence-unit {
  font-size: var(--fs-12);
  color: var(--mist);
}

.page-home .cadence-label {
  margin-top: 8px;
  font-size: var(--fs-12);
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.72);
}

.page-home .cadence-item--hot .cadence-num {
  color: var(--orange);
}

/* ---------- APP PLUS 入口 ---------- */
.page-home .plus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 900px) {
  .page-home .plus-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
  }
}

.page-home .plus-panel {
  padding: 26px 20px 24px;
  background: linear-gradient(200deg, rgba(20, 84, 63, 0.42), rgba(4, 16, 28, 0.92) 62%);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, calc(100% - var(--home-slant)) 0, 100% var(--home-slant), 100% 100%, 0 100%);
}

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

.page-home .plus-list li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(47, 227, 210, 0.34);
}

.page-home .plus-list strong {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--cyan);
}

.page-home .plus-list span {
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.74);
}

.page-home .plus-note {
  margin: 16px 0 0;
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--mist);
}

.page-home .plus-media {
  margin: 0;
}

.page-home .plus-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--home-line);
}

.page-home .plus-media figcaption {
  margin-top: 10px;
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 底部信息带 ---------- */
.page-home .home-meta {
  padding-bottom: 56px;
}

.page-home .meta-strip {
  display: grid;
  gap: 12px;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-line);
}

@media (min-width: 900px) {
  .page-home .meta-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
  }
}

.page-home .meta-title {
  margin: 0;
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mist);
}

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

.page-home .meta-links a {
  font-size: var(--fs-12);
  color: rgba(244, 239, 230, 0.74);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .meta-links a:hover,
.page-home .meta-links a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .meta-region {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-toc-link,
  .page-home .report-card,
  .page-home .meta-links a,
  .page-home .map-grid-dot circle {
    transition: none;
  }

  .page-home .report-card:hover {
    transform: none;
  }
}
