.page-home {
  --home-gap: clamp(72px, 9vw, 144px);
  --home-radius: 6px;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(111, 233, 255, 0.10), transparent 68%),
    radial-gradient(900px 520px at -6% 42%, rgba(185, 168, 255, 0.07), transparent 70%),
    var(--ink-deep);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.page-home .hero__visual .hero__svg .hp {
  animation: home-pulse 3.2s ease-in-out infinite;
}

/* ---------- 运行状态带 ---------- */
.page-home .status-band {
  background: linear-gradient(90deg, rgba(111, 233, 255, 0.10), rgba(255, 107, 44, 0.06) 58%, transparent);
  border-bottom: 1px solid var(--ink-line);
}

.page-home .status-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: clamp(12px, 2vw, 18px);
  padding-bottom: clamp(12px, 2vw, 18px);
}

.page-home .status-band__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .status-band__text strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .status-band__more {
  flex: 1 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.page-home .status-band__trigger {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(111, 233, 255, 0.35);
  border-radius: 999px;
  color: var(--cyan);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  cursor: pointer;
  transition: border-color 240ms var(--ease), color 240ms var(--ease), background 240ms var(--ease);
}

.page-home .status-band__trigger:hover {
  border-color: var(--cyan);
  color: var(--paper);
  background: rgba(111, 233, 255, 0.08);
}

.page-home .status-band__more .accordion__panel {
  flex: 1 1 100%;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 240ms var(--ease), opacity 240ms var(--ease);
}

.page-home .status-band__more .accordion__trigger[aria-expanded="true"] + .accordion__panel {
  max-height: 320px;
  opacity: 1;
}

.page-home .status-band__more .accordion__inner {
  padding: 14px 18px 16px;
  border: 1px solid rgba(111, 233, 255, 0.18);
  border-radius: var(--home-radius);
  background: var(--ink-base);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .status-band__more .accordion__inner p {
  margin: 0;
}

/* ---------- 分屏首屏 ---------- */
.page-home .hero {
  padding: clamp(32px, 5vw, 60px) 0 var(--home-gap);
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-home .hero .breadcrumbs {
  margin-bottom: 20px;
}

.page-home .hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin: 0 0 22px;
  max-width: 14em;
}

.page-home .hero__title em {
  font-style: normal;
  background: linear-gradient(94deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero__lead {
  margin: 0 0 30px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

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

.page-home .hero__stat {
  background: var(--ink-base);
  padding: 16px 18px;
}

.page-home .hero__stat-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .hero__stat-value {
  margin: 0;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
}

.page-home .hero__visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--ink-line);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--ink-base);
}

.page-home .hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.72) contrast(1.06);
}

.page-home .hero__gridlines {
  position: absolute;
  inset: -20%;
  z-index: 2;
  background-image:
    linear-gradient(to right, rgba(111, 233, 255, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111, 233, 255, 0.18) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 110% at 62% 34%, #000 28%, transparent 86%);
  mask-image: radial-gradient(120% 110% at 62% 34%, #000 28%, transparent 86%);
  animation: home-grid-drift 40s linear infinite;
}

.page-home .hero__svg {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.page-home .hero__svg .hp {
  transform-box: fill-box;
  transform-origin: center;
}

/* ---------- 通用章节 ---------- */
.page-home .section__head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--paper);
  margin: 12px 0 14px;
}

.page-home .section__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .coord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .coord__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(111, 233, 255, 0.15);
  animation: home-pulse 3.2s ease-in-out infinite;
}

/* ---------- 城市坐标赛况网格 ---------- */
.page-home .rounds {
  padding: 0 0 var(--home-gap);
}

.page-home .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .chip {
  appearance: none;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mist);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .chip:hover {
  color: var(--paper);
  border-color: rgba(111, 233, 255, 0.5);
}

.page-home .chip[aria-pressed="true"] {
  color: var(--ink-deep);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

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

.page-home .match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--ink-base);
  border: 1px solid var(--ink-line);
  border-radius: var(--home-radius);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.page-home .match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 233, 255, 0.6);
  box-shadow: 0 14px 32px -20px rgba(111, 233, 255, 0.6);
}

.page-home .match-card--focus {
  padding: clamp(20px, 3vw, 30px);
  border-color: rgba(255, 107, 44, 0.38);
  background:
    linear-gradient(158deg, rgba(255, 107, 44, 0.10), transparent 58%),
    var(--ink-base);
}

.page-home .match-card--focus::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--heat), var(--amber));
}

.page-home .match-card--focus:hover {
  border-color: var(--heat);
  box-shadow: 0 18px 44px -22px rgba(255, 107, 44, 0.7);
}

.page-home .match-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .match-card__score {
  margin: 0;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 38px;
  line-height: 1;
  color: var(--paper);
}

.page-home .match-card__score span {
  color: var(--heat);
  margin: 0 6px;
}

.page-home .match-card--focus .match-card__score {
  font-size: clamp(56px, 7vw, 84px);
}

.page-home .match-card__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .match-card__figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .match-card__figures li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 5px;
  font-size: 13px;
  color: var(--mist);
  border-bottom: 1px dashed rgba(16, 32, 58, 0.95);
}

.page-home .match-card__figures li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .match-card__figures strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .shot-panel {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(24px, 4vw, 40px);
  background: var(--ink-base);
  border: 1px solid var(--ink-line);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .shot-panel__media {
  margin: 0;
  position: relative;
  min-height: 200px;
}

.page-home .shot-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.page-home .shot-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
}

.page-home .shot-panel__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  color: var(--paper);
}

.page-home .shot-panel__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm {
  padding: 0 0 var(--home-gap);
}

.page-home .rhythm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink-line);
}

.page-home .rhythm__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-line);
}

.page-home .rhythm__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--cyan);
  transition: width 240ms var(--ease);
}

.page-home .rhythm__item:hover::before {
  width: 72px;
}

.page-home .rhythm__stamp {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .rhythm__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: var(--paper);
}

.page-home .rhythm__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 三条入口 ---------- */
.page-home .routes {
  padding: 0 0 var(--home-gap);
}

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

.page-home .routes__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .route-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  background: var(--ink-base);
  border: 1px solid var(--ink-line);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.page-home .route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 233, 255, 0.55);
}

.page-home .route-card__media {
  margin: 0;
  flex: 0 0 auto;
  height: clamp(200px, 32vw, 340px);
  overflow: hidden;
}

.page-home .route-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .route-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.page-home .route-card--list,
.page-home .route-card--slim {
  padding: 24px;
}

.page-home .route-card--list {
  background:
    linear-gradient(150deg, rgba(111, 233, 255, 0.09), transparent 62%),
    var(--ink-base);
}

.page-home .route-card--slim {
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .route-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  color: var(--paper);
}

.page-home .route-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .route-card__go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* ---------- 收束带 ---------- */
.page-home .closing {
  position: relative;
  margin-top: 0;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
  background: var(--ink-deep);
}

.page-home .closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, var(--cyan), var(--heat) 48%, var(--violet));
}

.page-home .closing__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.page-home .closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 24, 0.96), rgba(6, 11, 24, 0.66) 55%, rgba(6, 11, 24, 0.92)),
    linear-gradient(0deg, var(--ink-deep), transparent 62%);
}

.page-home .closing__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.page-home .closing__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 0 0 34px;
}

.page-home .closing__facts dt {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .closing__facts dd {
  margin: 0;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  line-height: 1.15;
  color: var(--paper);
}

.page-home .closing__contact {
  display: grid;
  gap: 10px;
  max-width: 74ch;
}

.page-home .closing__contact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .closing__contact strong {
  color: var(--paper);
  font-weight: 600;
}

.page-home .closing__contact a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 233, 255, 0.4);
  transition: border-color 200ms var(--ease);
}

.page-home .closing__contact a:hover {
  border-bottom-color: var(--cyan);
}

.page-home .closing__legal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(159, 176, 200, 0.88);
}

/* ---------- 动画 ---------- */
@keyframes home-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes home-grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(60px, 60px, 0);
  }
}

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

  .page-home .match-card {
    grid-column: span 3;
  }

  .page-home .match-card--focus {
    grid-column: span 6;
  }
}

@media (min-width: 820px) {
  .page-home .rhythm__item {
    grid-template-columns: 148px minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: baseline;
    gap: 28px;
    padding: 26px 0;
  }
}

@media (min-width: 860px) {
  .page-home .shot-panel {
    grid-template-columns: 5fr 7fr;
  }

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

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .routes__grid {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__gridlines,
  .page-home .hero__svg .hp,
  .page-home .coord__dot {
    animation: none;
  }

  .page-home .match-card,
  .page-home .route-card,
  .page-home .chip,
  .page-home .status-band__more .accordion__panel,
  .page-home .rhythm__item::before {
    transition: none;
  }
}
