.page-home {
  --home-gold-line: rgba(212, 175, 55, .32);
  --home-grid-line: rgba(244, 239, 230, .1);
  --home-tick-line: rgba(212, 175, 55, .18);
  --home-card-line: rgba(12, 59, 46, .2);
  --home-cream-dark: #EFE7DA;
  --home-ink-soft: #151F1A;
  background: var(--moss);
  min-height: 100vh;
}
.page-home .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.page-home .section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.page-home .section-heading__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.page-home .section-heading__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
.page-home .folding {
  margin: 16px 0 8px;
  border-top: 1px solid transparent;
}
.page-home .folding__summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  padding: 10px 0;
  border-bottom: 1px solid var(--home-card-line);
  transition: color var(--duration) var(--ease-out);
}
.page-home .folding__summary::-webkit-details-marker {
  display: none;
}
.page-home .folding__summary::after {
  content: "+";
  float: right;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}
.page-home details[open] .folding__summary::after {
  content: "–";
}
.page-home .folding__body {
  padding: 12px 2px 4px;
  font-size: 14px;
  line-height: 1.7;
}
.page-home .folding__body ul {
  margin: 0;
  padding-left: 18px;
}
.page-home .folding__body li + li {
  margin-top: 6px;
}
.page-home .btn--sm {
  margin-top: 12px;
}

/* 01 首屏区 */
.page-home .hero-frame {
  position: relative;
  padding: 48px 0 64px;
  background: var(--moss);
  color: var(--cream);
  overflow: hidden;
}
.page-home .hero-frame__ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--home-tick-line) calc(12.5% - 1px) 12.5%),
    repeating-linear-gradient(180deg, transparent 0 calc(20% - 1px), var(--home-tick-line) calc(20% - 1px) 20%);
  opacity: .6;
}
.page-home .hero-frame__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.page-home .scoreboard {
  border: 1px solid var(--gold);
  background: var(--moss-deep);
  padding: 18px;
  position: relative;
}
.page-home .scoreboard::before,
.page-home .scoreboard::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-style: solid;
}
.page-home .scoreboard::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.page-home .scoreboard::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}
.page-home .scoreboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.page-home .scoreboard__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--gold);
}
.page-home .scoreboard__dot {
  width: 9px;
  height: 9px;
  background: var(--crimson-bright);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .page-home .scoreboard__dot {
    animation: homePulse 2s var(--ease-out) infinite;
  }
}
@keyframes homePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}
.page-home .scoreboard__week {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}
.page-home .scoreboard__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .scoreboard__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: baseline;
  padding: 12px;
  background: rgba(244, 239, 230, .04);
  border-left: 2px solid transparent;
}
.page-home .scoreboard__row.is-live {
  border-left-color: var(--crimson-bright);
  background: rgba(110, 20, 35, .14);
}
.page-home .scoreboard__round {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--rock);
}
.page-home .scoreboard__teams {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
}
.page-home .scoreboard__score {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.page-home .scoreboard__state {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--clay);
  text-align: right;
  letter-spacing: .04em;
}
.page-home .scoreboard__figure {
  margin: 0;
  border: 1px solid var(--home-gold-line);
}
.page-home .scoreboard__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .hero-frame__content {
  position: relative;
  padding-right: 6px;
}
.page-home .hero-frame__crumb {
  margin-bottom: 20px;
}
.page-home .hero-frame__content h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--cream);
  max-width: 16em;
  text-wrap: balance;
}
.page-home .hero-frame__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0 0 28px;
  max-width: 40em;
}
.page-home .hero-frame__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  border-top: 1px solid var(--home-gold-line);
  border-bottom: 1px solid var(--home-gold-line);
  padding: 16px 0;
}
.page-home .hero-frame__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}
.page-home .hero-frame__stat + .hero-frame__stat {
  border-left: 1px solid var(--home-gold-line);
  padding-left: 14px;
}
.page-home .hero-frame__stat-label {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--rock);
}
.page-home .hero-frame__stat strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .hero-frame__scale {
  display: none;
}

/* 02 三条捷径 */
.page-home .routes-section {
  background: var(--cream);
  color: var(--moss);
  padding: 72px 0;
}
.page-home .routes-section__heading {
  margin-bottom: 16px;
}
.page-home .routes-section__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 700px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--home-card-line);
}
.page-home .routes-section__intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rock);
}
.page-home .routes-section__intro a {
  color: var(--crimson);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration) var(--ease-out);
}
.page-home .routes-section__intro a:hover {
  color: var(--clay);
}
.page-home .routes-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-home .routes-layout__figure {
  margin: 0;
  border: 1px solid var(--home-card-line);
  background: #fff;
}
.page-home .routes-layout__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-home .routes-layout__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .route-card {
  background: #fff;
  border: 1px solid var(--home-card-line);
  padding: 24px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.page-home .route-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.page-home .route-card__index {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--clay);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-home .route-card__body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--moss);
}
.page-home .route-card__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rock);
}
.page-home .routes-layout__board {
  order: 2;
}

/* 03 关注列表 */
.page-home .follow-section {
  background: var(--ink);
  color: var(--cream);
  padding: 76px 0;
  position: relative;
}
.page-home .follow-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 40%, transparent 40% 100%);
  opacity: .8;
}
.page-home .follow-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.page-home .follow-layout__desc {
  margin: 12px 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 44em;
}
.page-home .follow-demo {
  border: 1px solid var(--gold);
  background: var(--moss-deep);
  padding: 18px;
  margin: 24px 0;
  position: relative;
}
.page-home .follow-demo::before,
.page-home .follow-demo::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-style: solid;
}
.page-home .follow-demo::before {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}
.page-home .follow-demo::after {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}
.page-home .follow-demo__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--home-gold-line);
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
}
.page-home .follow-demo__ready {
  font-size: 11px;
  color: var(--mist);
  border: 1px solid var(--home-gold-line);
  padding: 3px 8px;
  letter-spacing: .06em;
}
.page-home .follow-demo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-home .follow-demo__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: baseline;
  padding: 10px 12px;
  background: rgba(244, 239, 230, .04);
}
.page-home .follow-demo__team {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
}
.page-home .follow-demo__signal {
  font-size: 12px;
  color: var(--gold);
}
.page-home .follow-demo__time {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--rock);
}
.page-home .follow-layout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-home .follow-layout__actions .btn--ghost {
  color: var(--cream);
  border-color: var(--home-gold-line);
}
.page-home .follow-layout__figure {
  margin: 0;
  border: 1px solid var(--home-gold-line);
}
.page-home .follow-layout__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* 04 历史数据 */
.page-home .history-section {
  background: var(--cream);
  color: var(--moss);
  padding: 72px 0 84px;
}
.page-home .history-section__intro {
  margin: 16px 0 32px;
  max-width: 52em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rock);
}
.page-home .history-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.page-home .history-layout__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--home-card-line);
  padding-bottom: 16px;
}
.page-home .history-layout__tab {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  text-decoration: none;
  color: var(--moss);
  border: 1px solid var(--home-card-line);
  padding: 6px 14px;
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.page-home .history-layout__tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.page-home .history-layout__tab--more {
  color: var(--crimson);
  border-color: rgba(110, 20, 35, .35);
}
.page-home .history-round {
  border: 1px solid var(--home-card-line);
  background: #fff;
  margin-bottom: 14px;
  scroll-margin-top: 120px;
}
.page-home .history-round__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--moss);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .04em;
}
.page-home .history-round__bar span:last-child {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  color: var(--mist);
  letter-spacing: .05em;
}
.page-home .history-round__list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.page-home .history-round__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  border-top: 1px solid rgba(12, 59, 46, .06);
}
.page-home .history-round__list li:first-child {
  border-top: none;
}
.page-home .history-round__list li span:last-child {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--moss);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.page-home .history-layout__figure {
  margin: 0 0 18px;
  border: 1px solid var(--home-card-line);
  background: #fff;
}
.page-home .history-layout__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-home .history-layout__note {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--rock);
}

@media (min-width: 768px) {
  .page-home .scoreboard__row {
    grid-template-columns: 1fr auto auto;
  }
  .page-home .scoreboard__round {
    grid-column: 1;
    align-self: center;
  }
  .page-home .scoreboard__state {
    grid-column: auto;
    text-align: right;
  }
  .page-home .follow-demo__row {
    grid-template-columns: 1fr auto auto;
  }
  .page-home .follow-demo__time {
    grid-column: auto;
  }
  .page-home .history-layout {
    grid-template-columns: 1fr 320px;
    gap: 28px;
  }
}

@media (min-width: 1080px) {
  .page-home .hero-frame {
    padding: 72px 0 88px;
  }
  .page-home .hero-frame__grid {
    grid-template-columns: minmax(0, 55%) 1fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .scoreboard {
    padding: 24px;
  }
  .page-home .scoreboard__list {
    gap: 12px;
  }
  .page-home .scoreboard__row {
    padding: 14px 16px;
  }
  .page-home .hero-frame__scale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -6px;
    width: 22px;
    color: var(--gold);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 11px;
    letter-spacing: .06em;
    border-left: 1px solid var(--home-gold-line);
    padding: 8px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .page-home .hero-frame__scale span {
    line-height: 1;
  }
  .page-home .hero-frame__content {
    padding-right: 20px;
  }
  .page-home .routes-layout {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }
  .page-home .routes-layout__board {
    order: 1;
  }
  .page-home .routes-layout__cards {
    order: 2;
  }
  .page-home .follow-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
  }
  .page-home .history-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 48px;
  }
  .page-home .history-layout__aside {
    padding-top: 44px;
  }
  .page-home .folding__summary:hover {
    color: var(--clay);
  }
}
</<PAGE_CSS>>
