/* ===== 趣体育 · 赛场首页 ===== */
.page-home {
  --home-rule: rgba(11, 33, 28, .16);
  --home-rule-dark: rgba(243, 235, 221, .2);
  --home-brown-soft: rgba(58, 47, 35, .76);
  --home-white-soft: rgba(255, 255, 255, .72);
  background: var(--paper);
  color: var(--brown);
  overflow-x: clip;
}

.page-home .is-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-bottom: var(--border);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 72% 58% at 88% 2%, rgba(43, 245, 200, .2), transparent 70%),
    radial-gradient(ellipse 62% 62% at 0% 98%, rgba(224, 73, 47, .18), transparent 68%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(243, 235, 221, .055) 0 1px, transparent 1px 72px);
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(26px, 5vw, 52px);
  padding-block: clamp(28px, 6vw, 64px);
}

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 18px 9px 14px;
  background: rgba(43, 245, 200, .14);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 82px);
  line-height: .94;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--lemon);
}

.page-home .home-hero__lead {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.78;
  color: var(--home-white-soft);
}

.page-home .home-hero__scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 2px;
  margin-bottom: 26px;
  border: 2px solid var(--home-rule-dark);
  background: var(--home-rule-dark);
}

.page-home .home-hero__score {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 16px 17px;
  background: var(--ink);
}

.page-home .home-hero__num {
  font-size: clamp(30px, 5.4vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--lemon);
}

.page-home .home-hero__num--sm {
  font-size: clamp(18px, 3.1vw, 24px);
  color: var(--cyan);
  letter-spacing: -.01em;
}

.page-home .home-hero__score-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .64);
}

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

.page-home .home-hero__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .home-hero__figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--cyan);
  background: var(--ink-soft);
  box-shadow: 9px 9px 0 rgba(43, 245, 200, .22);
}

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

.page-home .home-hero__toc {
  padding: 15px 16px 16px;
  border: 2px solid var(--home-rule-dark);
  background: rgba(243, 235, 221, .045);
}

.page-home .home-hero__toc-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss);
}

.page-home .home-hero__toc-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__toc-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 2px;
  color: var(--white);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.page-home .home-hero__toc-list li + li .home-hero__toc-link {
  border-top: 1px solid rgba(243, 235, 221, .12);
}

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

.page-home .home-hero__toc-num {
  min-width: 2.4em;
  font-size: 11.5px;
  color: var(--orange);
}

/* ---------- 章节预览条 ---------- */
.page-home .chapter-strip {
  background: var(--paper);
  border-bottom: var(--border);
}

.page-home .chapter-strip__inner {
  display: flex;
  gap: 10px;
  padding-block: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .chapter-strip__item {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  min-width: 168px;
  padding: 12px 16px 14px;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--home-rule);
  color: var(--brown);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.page-home .chapter-strip__item:hover,
.page-home .chapter-strip__item:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(11, 33, 28, .26);
  background: var(--cyan);
}

.page-home .chapter-strip__index {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--chilli);
}

.page-home .chapter-strip__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.page-home .chapter-strip__desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--home-brown-soft);
}

/* ---------- 关键数据条 ---------- */
.page-home .home-stats {
  background: var(--ink-soft);
  border-bottom: var(--border);
}

.page-home .home-stats__inner {
  display: grid;
  gap: 2px;
  background: var(--home-rule-dark);
}

.page-home .home-stats__cell {
  display: grid;
  gap: 7px;
  padding: 22px 22px 24px;
  background: var(--ink-soft);
  color: var(--white);
  text-decoration: none;
  transition: background .22s var(--ease);
}

.page-home .home-stats__cell:hover,
.page-home .home-stats__cell:focus-visible {
  background: var(--ink);
}

.page-home .home-stats__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-stats__value {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--lemon);
}

.page-home .home-stats__note {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--home-white-soft);
}

.page-home .home-stats__more {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  padding-block: clamp(44px, 8vw, 92px);
  border-bottom: var(--border);
  scroll-margin-top: 24px;
}

.page-home .home-section--paper {
  background: var(--paper);
  color: var(--brown);
}

.page-home .home-section--paper2 {
  background: var(--paper-2);
  color: var(--brown);
}

.page-home .home-section--ink {
  background: var(--ink);
  color: var(--white);
}

.page-home .home-head {
  display: grid;
  gap: 12px;
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .home-head__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--chilli);
}

.page-home .home-section--ink .home-head__index {
  color: var(--cyan);
}

.page-home .home-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.page-home .home-head__note {
  margin: 0;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.78;
  color: var(--home-brown-soft);
}

.page-home .home-section--ink .home-head__note {
  color: var(--home-white-soft);
}

/* ---------- 前瞻时间轴 ---------- */
.page-home .home-forward {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.page-home .home-timeline {
  margin: 0;
  padding: 0 0 0 clamp(20px, 3vw, 28px);
  list-style: none;
  border-left: 2px solid var(--home-rule);
}

.page-home .home-timeline__item {
  position: relative;
  padding: 0 0 clamp(22px, 3.4vw, 30px);
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(clamp(20px, 3vw, 28px) * -1 - 8px);
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 2px solid var(--paper);
  transform: rotate(45deg);
}

.page-home .home-timeline__time {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--chilli);
}

.page-home .home-timeline__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -.01em;
}

.page-home .home-timeline__text {
  margin: 0;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--home-brown-soft);
}

.page-home .home-forward__figure {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper-3);
  box-shadow: 8px 8px 0 var(--home-rule);
}

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

.page-home .home-forward__figure figcaption {
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--home-brown-soft);
  border-top: 2px solid var(--ink);
}

/* ---------- 排名快查 ---------- */
.page-home .home-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px;
  margin: 0 0 clamp(24px, 4vw, 34px);
  padding: 0;
  list-style: none;
}

.page-home .home-metrics__item {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
  background: rgba(243, 235, 221, .06);
  border-left: 3px solid var(--cyan);
}

.page-home .home-metrics__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .home-metrics__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-white-soft);
}

.page-home .home-rank__foot {
  display: grid;
  gap: 16px;
  align-items: center;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 2px solid var(--home-rule-dark);
}

.page-home .home-rank__foot p {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--home-white-soft);
}

.page-home .home-rank__foot .btn {
  justify-self: start;
}

/* ---------- 版本对照 ---------- */
.page-home .home-versions {
  display: grid;
  gap: clamp(20px, 3.4vw, 32px);
  align-items: start;
}

.page-home .home-versions__figure {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper-3);
  box-shadow: 8px 8px 0 rgba(11, 33, 28, .2);
}

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

.page-home .home-versions__figure figcaption {
  padding: 12px 16px 14px;
  border-top: 2px solid var(--ink);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--home-brown-soft);
}

.page-home .home-versions__cards {
  display: grid;
  gap: 16px;
}

.page-home .home-version {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 26px);
  border: 3px solid var(--ink);
  background: var(--paper-3);
  box-shadow: 7px 7px 0 rgba(11, 33, 28, .18);
}

.page-home .home-version--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 7px 7px 0 var(--cyan);
}

.page-home .home-version__tag {
  justify-self: start;
  margin: 0;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  background: var(--paper-2);
  color: var(--brown);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-home .home-version__tag--cyan {
  background: var(--cyan);
  color: var(--ink);
}

.page-home .home-version__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.02em;
}

.page-home .home-version__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-brown-soft);
}

.page-home .home-version--dark .home-version__text {
  color: var(--home-white-soft);
}

.page-home .home-version__list {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-version__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--home-brown-soft);
}

.page-home .home-version--dark .home-version__list li {
  color: var(--home-white-soft);
}

.page-home .home-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-home .home-version--dark .home-version__list li::before {
  background: var(--cyan);
}

.page-home .home-versions__cta {
  justify-self: start;
}

/* ---------- 大屏观赛 ---------- */
.page-home .home-bigscreen {
  display: grid;
  gap: clamp(22px, 3.6vw, 38px);
  align-items: center;
}

.page-home .home-bigscreen__figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--cyan);
  background: var(--ink-soft);
  box-shadow: 9px 9px 0 rgba(43, 245, 200, .18);
}

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

.page-home .home-bigscreen__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-home .home-bigscreen__text {
  margin: 0 0 20px;
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--home-white-soft);
}

.page-home .home-bigscreen__specs {
  display: grid;
  gap: 2px;
  margin: 0 0 22px;
  background: var(--home-rule-dark);
  border: 2px solid var(--home-rule-dark);
}

.page-home .home-bigscreen__spec {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: var(--ink);
}

.page-home .home-bigscreen__spec dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .home-bigscreen__spec dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--white);
}

/* ---------- 收藏与提醒 ---------- */
.page-home .home-collect {
  display: grid;
  gap: 14px;
}

.page-home .home-collect__item {
  padding: 20px 20px 22px;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-top: 6px solid var(--orange);
  box-shadow: 6px 6px 0 rgba(11, 33, 28, .14);
}

.page-home .home-collect__num {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--chilli);
}

.page-home .home-collect__title {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.page-home .home-collect__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--home-brown-soft);
}

.page-home .home-collect__foot {
  margin: clamp(22px, 3.4vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-brown-soft);
}

.page-home .home-collect__link {
  color: var(--chilli);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.page-home .home-collect__link:hover,
.page-home .home-collect__link:focus-visible {
  color: var(--ink);
  background: var(--lemon);
}

/* ---------- 服务入口 ---------- */
.page-home .home-service__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-home .home-service__stub {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3.4vw, 32px);
  background: var(--paper);
  color: var(--brown);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .home-service__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--chilli);
}

.page-home .home-service__hours {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
}

.page-home .home-service__text {
  margin: 0;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--home-brown-soft);
}

.page-home .home-service__stub .btn {
  justify-self: start;
  margin-top: 4px;
}

.page-home .home-service__links {
  display: grid;
  gap: 2px;
  background: var(--home-rule-dark);
  border: 2px solid var(--home-rule-dark);
}

.page-home .home-service__link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}

.page-home .home-service__link:hover,
.page-home .home-service__link:focus-visible {
  background: var(--ink-soft);
  padding-left: 24px;
}

.page-home .home-service__link-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.page-home .home-service__link-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-white-soft);
}

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

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

  .page-home .home-rank__foot {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: stretch;
    padding-block: clamp(40px, 5.4vw, 70px);
  }

  .page-home .home-hero__board {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .home-forward {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-home .home-versions {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

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

  .page-home .home-service__inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
}

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

  .page-home .home-collect__item:nth-child(2) {
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__toc-link,
  .page-home .chapter-strip__item,
  .page-home .home-stats__cell,
  .page-home .home-service__link {
    transition: none;
  }

  .page-home .home-collect__item:nth-child(2) {
    transform: none;
  }
}
