/* ===== 首页专属样式（作用域 .page-home） ===== */

.page-home {
  --home-hair: rgba(199, 208, 217, 0.22);
  --home-cream-soft: rgba(247, 243, 234, 0.72);
  --home-cream-dim: rgba(247, 243, 234, 0.54);
  display: block;
  overflow-x: clip;
}

/* ---------- 首屏拼贴 ---------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 54px;
  background:
    radial-gradient(760px 460px at 84% 4%, rgba(53, 224, 208, 0.15), transparent 64%),
    radial-gradient(560px 380px at 4% 98%, rgba(255, 90, 31, 0.13), transparent 68%),
    var(--deep);
  color: var(--warm);
}

.page-home .home-hero__rail {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 208, 0.5), rgba(255, 90, 31, 0.5), transparent);
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  gap: 22px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 11px;
  border: 1px solid rgba(53, 224, 208, 0.34);
  border-radius: 999px;
  background: rgba(53, 224, 208, 0.07);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-home .home-hero__lead h1 {
  margin: 0 0 20px;
  max-width: 15em;
  font-size: clamp(34px, 7.4vw, 80px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--paper);
}

.page-home .home-hero__lede {
  margin: 0 0 14px;
  max-width: 33em;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--home-cream-soft);
}

.page-home .home-hero__lede--sub {
  font-size: 15px;
  color: var(--home-cream-dim);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* 首屏图片 */
.page-home .home-hero__visual {
  margin: 0;
}

.page-home .home-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-home .home-hero__visual figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--home-cream-dim);
}

/* 入口快捷卡 */
.page-home .home-hero__shortcuts {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 22px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 42, 71, 0.92), rgba(7, 26, 47, 0.86));
  color: var(--warm);
  text-decoration: none;
  transition:
    transform var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}

.page-home .quick-card--hot {
  border-color: rgba(255, 90, 31, 0.5);
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.16), rgba(7, 26, 47, 0.9));
}

.page-home .quick-card__k {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .quick-card__v {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(199, 208, 217, 0.66);
}

.page-home .quick-card__go {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .quick-card__more {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--home-cream-dim);
  transition:
    max-height var(--t-mid) var(--ease),
    margin-top var(--t-mid) var(--ease),
    opacity var(--t-mid) var(--ease);
}

.page-home .quick-card:hover,
.page-home .quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 224, 208, 0.55);
}

.page-home .quick-card:hover .quick-card__more,
.page-home .quick-card:focus-visible .quick-card__more {
  max-height: 96px;
  margin-top: 8px;
  opacity: 1;
}

@media (hover: none) {
  .page-home .quick-card__more {
    max-height: 120px;
    margin-top: 8px;
    opacity: 1;
  }
}

/* 首屏数据带 */
.page-home .home-hero__tape {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: var(--home-hair);
}

.page-home .tape-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 18px;
  background: rgba(7, 26, 47, 0.78);
}

.page-home .tape-item__num {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .tape-item:nth-child(2n) .tape-item__num {
  color: var(--orange);
}

.page-home .tape-item__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(199, 208, 217, 0.7);
}

/* ---------- 赛程中心 ---------- */

.page-home .home-sched {
  position: relative;
}

.page-home .home-sched__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.page-home .home-sched__cta {
  align-self: flex-start;
}

.page-home .home-sched__layout {
  display: grid;
  gap: 26px;
}

.page-home .home-sched__filters {
  display: grid;
  gap: 12px;
}

.page-home .home-sched__filters .disclosure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.page-home .home-sched__filters .disclosure:hover {
  border-color: rgba(255, 90, 31, 0.5);
  box-shadow: 0 10px 26px -20px rgba(11, 11, 15, 0.5);
}

.page-home .home-sched__filters .disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.page-home .home-sched__filters .disclosure__index {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .home-sched__filters .disclosure__label {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .home-sched__filters .disclosure__hint {
  margin-left: auto;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(11, 11, 15, 0.5);
  text-align: right;
}

.page-home .home-sched__filters .disclosure__icon {
  flex: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  transition: transform var(--t-fast) var(--ease);
}

.page-home .home-sched__filters .disclosure[data-open="true"] .disclosure__icon {
  transform: rotate(45deg);
}

.page-home .home-sched__filters .disclosure__panel {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(11, 11, 15, 0.68);
}

.page-home .home-sched__filters .disclosure__panel p {
  margin: 0;
}

.page-home .home-sched__figure {
  margin: 0;
}

.page-home .home-sched__figure .media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.page-home .home-sched__figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(11, 11, 15, 0.5);
}

/* ---------- 战报与数据对照 ---------- */

.page-home .home-brief__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-brief__steps {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-hair);
}

.page-home .home-brief__step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-brief__step-time {
  padding-top: 2px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-home .home-brief__step--hot .home-brief__step-time {
  color: var(--orange);
}

.page-home .home-brief__step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-brief__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--home-cream-soft);
}

.page-home .home-brief__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-brief__figure {
  margin: 0;
}

.page-home .home-brief__figure .media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--home-hair);
  box-shadow: var(--shadow-soft);
}

.page-home .home-brief__figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--home-cream-dim);
}

/* ---------- 电脑版与下载 ---------- */

.page-home .home-desk__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-desk__figure {
  margin: 0;
}

.page-home .home-desk__figure .media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 48px -36px rgba(11, 11, 15, 0.6);
}

.page-home .home-desk__figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(11, 11, 15, 0.5);
}

.page-home .home-desk__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-desk__keys li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  color: rgba(11, 11, 15, 0.72);
}

.page-home .home-desk__keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid rgba(255, 90, 31, 0.5);
  border-radius: 5px;
  background: rgba(255, 90, 31, 0.09);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .home-desk__files {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-desk__files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
}

.page-home .home-desk__file-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-desk__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- 收藏常用页面 ---------- */

.page-home .home-pins__head {
  margin-bottom: 30px;
}

.page-home .home-pins__cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-pins__card {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(53, 224, 208, 0.06), rgba(14, 42, 71, 0.7));
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-home .home-pins__card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 224, 208, 0.5);
}

.page-home .home-pins__card-tag {
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-pins__card-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-pins__card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--home-cream-soft);
}

.page-home .home-pins__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: rgba(7, 26, 47, 0.72);
}

.page-home .home-pins__copy-label {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--home-cream-dim);
}

.page-home .home-pins__copy-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .home-pins__more {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--home-cream-dim);
}

.page-home .home-pins__more a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 版本与运营 ---------- */

.page-home .home-trust__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-trust__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

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

.page-home .home-trust__stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 18px;
  background: rgba(7, 26, 47, 0.78);
}

.page-home .home-trust__num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-trust__stats li:nth-child(3n) .home-trust__num {
  color: var(--amber);
}

.page-home .home-trust__cap {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(199, 208, 217, 0.72);
}

.page-home .home-trust__contact {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 90, 31, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 90, 31, 0.07);
}

.page-home .home-trust__contact .contact-block__label {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.page-home .home-trust__contact .contact-block__value {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--warm);
}

.page-home .home-trust__contact .contact-block__note {
  margin: 12px 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-cream-dim);
}

.page-home .home-trust__fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--home-hair);
  font-size: 12.5px;
  color: var(--home-cream-dim);
}

.page-home .home-trust__fine p {
  margin: 0;
}

.page-home .home-trust__fine-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .home-trust__fine-links a {
  color: rgba(247, 243, 234, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-trust__fine-links a:hover {
  color: var(--cyan);
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 620px) {
  .page-home .home-hero__shortcuts {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 46px 0 66px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px 28px;
    align-items: start;
  }

  .page-home .home-hero__lead {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .page-home .home-hero__visual {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
  }

  .page-home .home-hero__media {
    aspect-ratio: 5 / 6;
  }

  .page-home .home-hero__shortcuts {
    grid-column: 1 / span 7;
    grid-row: 2;
  }

  .page-home .home-hero__tape {
    grid-column: 1 / span 12;
    grid-row: 3;
  }

  .page-home .home-sched__intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
  }

  .page-home .home-sched__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .home-brief__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-desk__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
  }

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

  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__lead h1 {
    max-width: 12em;
  }

  .page-home .home-hero__lede {
    font-size: 17px;
  }

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

/* ---------- 无障碍与动效偏好 ---------- */

.page-home .home-hero__actions .btn:focus-visible,
.page-home .quick-card:focus-visible,
.page-home .home-pins__more a:focus-visible,
.page-home .home-trust__fine-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .quick-card,
  .page-home .quick-card__more,
  .page-home .home-pins__card,
  .page-home .home-sched__filters .disclosure,
  .page-home .home-sched__filters .disclosure__icon {
    transition: none;
  }

  .page-home .quick-card:hover,
  .page-home .home-pins__card:hover {
    transform: none;
  }
}
