.page-home {
  --home-radius: 24px;
  position: relative;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home .home-h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
}

.page-home .home-head {
  max-width: 44rem;
}

.page-home .lead {
  color: var(--silver);
  margin-top: 14px;
  line-height: 1.8;
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  padding-bottom: clamp(30px, 5vw, 56px);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  opacity: 0.5;
  z-index: -2;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 80% 8%, rgba(255, 90, 40, 0.24), transparent 62%),
    linear-gradient(180deg, rgba(7, 19, 34, 0.5) 0%, rgba(10, 26, 47, 0.88) 58%, var(--navy) 100%);
}

.page-home .hero-frame {
  position: relative;
  margin-top: clamp(14px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) var(--r-md) var(--r-md);
  background: rgba(7, 19, 34, 0.42);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 16px);
  opacity: 0.65;
  pointer-events: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.page-home .hero-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--silver);
  opacity: 0.5;
}

.page-home .hero-corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.page-home .hero-corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.page-home .hero-corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.page-home .hero-corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.page-home .hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 20px;
}

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

.page-home .hero-body {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(26px, 4.5vw, 60px) 0 clamp(24px, 4vw, 44px);
}

.page-home .hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 6.6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  max-width: 16em;
}

.page-home .hero .lead {
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

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

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

.page-home .lane {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s var(--spring), background 0.2s var(--spring), transform 0.2s var(--spring);
}

.page-home .lane:hover,
.page-home .lane:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 90, 40, 0.16);
  transform: translateY(-1px);
}

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

.page-home .lanes-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--mist);
}

.page-home .hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 15px 0;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 242, 164, 0.16);
  animation: home-pulse 2s var(--spring) infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.page-home .hero-stairs {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--silver);
  opacity: 0.32;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-dot { animation: none; opacity: 1; transform: none; }
  .page-home .lane { transition: none; }
}

/* ---------- 看台过渡带 ---------- */
.page-home .stage-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--teal) 100%);
  padding-block: clamp(40px, 6vw, 76px);
}

.page-home .stage-layout {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.page-home .stage-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--graphite);
}

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

.page-home .stage-media figcaption {
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--mist);
}

.page-home .stage-facts {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 24px 0 0;
  padding: 0;
}

.page-home .stage-fact {
  border-left: 2px solid var(--orange);
  padding-left: 12px;
}

.page-home .stage-fact b {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--green);
  letter-spacing: 0.02em;
}

.page-home .stage-fact span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--silver);
}

/* ---------- 费用公示 ---------- */
.page-home .fees {
  background: var(--wine);
  padding-block: clamp(50px, 8vw, 96px);
}

.page-home .fees .lead {
  color: rgba(244, 247, 250, 0.82);
}

.page-home .fee-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .fee-card {
  background: rgba(7, 19, 34, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
}

.page-home .fee-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .fee-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 0;
}

.page-home .fee-num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.01em;
}

.page-home .fee-unit {
  font-size: 13px;
  color: var(--silver);
}

.page-home .fee-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 247, 250, 0.86);
}

.page-home .fee-list li {
  position: relative;
  padding-left: 18px;
}

.page-home .fee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}

.page-home .fee-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 20px clamp(18px, 3vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(10, 26, 47, 0.5);
}

.page-home .fee-side-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.page-home .fee-side-text {
  margin: 8px 0 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .fee-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(244, 247, 250, 0.72);
}

/* ---------- 积分榜 ---------- */
.page-home .standings {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-block: clamp(50px, 8vw, 100px);
}

.page-home .standings-inner {
  position: relative;
}

.page-home .standings-tex {
  position: absolute;
  top: -30px;
  right: -50px;
  width: min(460px, 58%);
  height: auto;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.page-home .standings-head,
.page-home .standings-layout,
.page-home .standings-actions {
  position: relative;
  z-index: 1;
}

.page-home .standings-layout {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .standings-cards {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .mini-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: transform 0.2s var(--spring), border-color 0.2s var(--spring);
}

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

.page-home .mini-num {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--green);
}

.page-home .mini-num span {
  font-size: 13px;
  color: var(--silver);
  margin-left: 4px;
}

.page-home .mini-text {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--mist);
}

.page-home .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(19, 39, 63, 0.78);
}

.page-home .standings-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .standings-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .standings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(169, 183, 198, 0.12);
  color: var(--white);
  white-space: nowrap;
}

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

.page-home .standings-table td.num {
  font-family: var(--font-mono);
}

.page-home .rank {
  color: var(--green);
}

.page-home .up { color: var(--green); }
.page-home .down { color: var(--orange); }
.page-home .flat { color: var(--mist); }

.page-home .table-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

.page-home .standings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

/* ---------- 战报时间轴 ---------- */
.page-home .reports {
  background: var(--teal);
  padding-block: clamp(50px, 8vw, 96px);
}

.page-home .report-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .report-list > .report:first-child {
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .report {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.page-home .report-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-home .report-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.page-home .report-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  color: var(--white);
}

.page-home .report-text {
  margin: 8px 0 0;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(244, 247, 250, 0.76);
}

.page-home .reports-actions {
  margin-top: clamp(18px, 3vw, 28px);
}

/* ---------- 数据工具 ---------- */
.page-home .tools {
  background: var(--navy-deep);
  padding-block: clamp(50px, 8vw, 100px);
}

.page-home .tools-layout {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .tool-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .tool-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(19, 39, 63, 0.55);
  transition: transform 0.2s var(--spring), border-color 0.2s var(--spring);
}

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

.page-home .tool-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .tool-name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--white);
}

.page-home .tool-desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .tool-price {
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
}

.page-home .tool-price-label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--silver);
}

.page-home .price-row b {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--green);
  white-space: nowrap;
}

.page-home .tool-price-note {
  margin: 16px 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 城市覆盖 ---------- */
.page-home .city {
  background: var(--navy);
  padding-block: clamp(50px, 8vw, 100px);
}

.page-home .city-layout {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.page-home .stat {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(19, 39, 63, 0.6);
}

.page-home .stat dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .stat dd {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--silver);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: 23px;
  line-height: 1;
  color: var(--green);
  margin-right: 3px;
}

.page-home .city-link {
  margin: 22px 0 0;
  font-size: 14px;
}

.page-home .city-link a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 40, 0.45);
  padding-bottom: 2px;
}

.page-home .city-link a:hover,
.page-home .city-link a:focus-visible {
  border-bottom-color: var(--orange);
}

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

.page-home .city-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--graphite);
}

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

.page-home .city-figure figcaption {
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  background: linear-gradient(105deg, var(--wine) 0%, var(--navy-deep) 76%);
  border-top: 1px solid var(--line);
  padding-block: clamp(38px, 6vw, 70px);
}

.page-home .closing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.page-home .closing .lead {
  max-width: 38em;
}

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

/* ---------- 栅格升级 ---------- */
@media (min-width: 720px) {
  .page-home .report {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px 26px;
    align-items: start;
  }

  .page-home .report-body {
    grid-column: 2;
  }

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

@media (min-width: 900px) {
  .page-home .stage-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

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

  .page-home .fee-card--featured {
    transform: translateY(-16px);
    border-color: var(--orange);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  }

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

  .page-home .city-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }
}

@media (min-width: 960px) {
  .page-home .hero-body {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    align-items: end;
  }

  .page-home .hero-lanes {
    justify-self: end;
    text-align: right;
  }

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

  .page-home .tools-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .mini-card,
  .page-home .tool-item {
    transition: none;
  }

  .page-home .mini-card:hover,
  .page-home .tool-item:hover {
    transform: none;
  }
}
