/* ============================================================
   K1赛场 · 首页 page-home
   左右分屏骨架 + 手册式章节序号 + 转播台深蓝夜场
   ============================================================ */

.page-home {
  display: block;
  position: relative;
  background-color: var(--ink-deep);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ---------- 通用分栏骨架 ---------- */
.page-home .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
}

.page-home .chapter-num {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--orange);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--signal);
}

.page-home .split__aside .prose,
.page-home .split__main .prose {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

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

.page-home .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .media-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ============================================================
   01 首屏
   ============================================================ */
.page-home .home-hero {
  position: relative;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(32px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(27, 58, 87, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 58, 87, 0.3) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-home .home-hero > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
}

/* 首屏左栏 */
.page-home .home-sign {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-stretch: 87%;
  font-size: clamp(30px, 5.6vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-sign span {
  color: var(--cyan);
  margin-left: 0.14em;
}

.page-home .home-hero__note {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .home-ticker {
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-ticker > div {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-ticker dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .home-ticker dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
}

.page-home .home-hero__hint {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

/* 首屏右栏 */
.page-home .home-hero__main h1 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-stretch: 90%;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-hero__main .lede {
  max-width: 48ch;
  margin: 0 0 clamp(24px, 3.4vw, 38px);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.78;
  color: var(--steel);
}

/* 四条路径卡 */
.page-home .home-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .home-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background-color: var(--deck);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--ease), background-color var(--ease);
}

.page-home .home-path::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: -1px;
  width: 2px;
  background-color: var(--cyan);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--ease);
}

.page-home .home-path:hover,
.page-home .home-path:focus-within {
  border-color: var(--cyan);
  background-color: rgba(14, 33, 53, 0.92);
}

.page-home .home-path:hover::before,
.page-home .home-path:focus-within::before {
  transform: scaleY(1);
}

.page-home .home-path__title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.page-home .home-path__title a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--ease);
}

.page-home .home-path__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.page-home .home-path:hover .home-path__title a,
.page-home .home-path:focus-within .home-path__title a {
  color: var(--cyan);
}

.page-home .home-path .card-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .home-path .card-meta {
  margin: auto 0 0;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
  opacity: 0.72;
  transition: opacity var(--ease), color var(--ease);
}

.page-home .home-path:hover .card-meta,
.page-home .home-path:focus-within .card-meta {
  opacity: 1;
  color: var(--cyan);
}

/* ============================================================
   02 主场图（大留白）
   ============================================================ */
.page-home .home-billboard {
  padding-top: clamp(44px, 9vw, 120px);
  padding-bottom: clamp(44px, 9vw, 120px);
}

.page-home .home-billboard__figure {
  max-width: 1120px;
  margin: 0 auto;
}

.page-home .home-billboard__figure .media-caption {
  text-align: right;
}

/* ============================================================
   03 直达带
   ============================================================ */
.page-home .home-direct__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .home-direct__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 44px;
  padding: 20px 18px;
  background-color: var(--deck);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: border-color var(--ease), background-color var(--ease);
}

.page-home .home-direct__item strong {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
  transition: color var(--ease);
}

.page-home .home-direct__desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .home-direct__item:hover,
.page-home .home-direct__item:focus-visible {
  border-color: var(--cyan);
  border-left-color: var(--orange);
  background-color: rgba(14, 33, 53, 0.95);
}

.page-home .home-direct__item:hover strong,
.page-home .home-direct__item:focus-visible strong {
  color: var(--cyan);
}

/* ============================================================
   04 赛前前瞻
   ============================================================ */
.page-home .home-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-facts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-facts b {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .home-facts span {
  font-size: 15px;
  line-height: 1.75;
  color: var(--steel);
}

/* ============================================================
   05 赛后战报
   ============================================================ */
.page-home .home-recap__tablewrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.page-home .home-recap__table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.page-home .home-recap__table th,
.page-home .home-recap__table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.page-home .home-recap__table th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background-color: var(--deck);
  white-space: nowrap;
}

.page-home .home-recap__table td:first-child {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.page-home .home-recap__table tbody tr:hover td {
  background-color: rgba(47, 227, 210, 0.06);
}

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

/* ============================================================
   06 回看与轮次筛选
   ============================================================ */
.page-home .round-entry {
  margin-top: 22px;
  padding: 18px;
  background-color: var(--deck);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .round-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.page-home .round-chip {
  min-height: 44px;
  padding: 0 16px;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}

.page-home .round-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

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

.page-home .round-note {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
}

/* ============================================================
   07 导出四步
   ============================================================ */
.page-home .home-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-step {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--ease);
}

.page-home .home-step:hover {
  background-color: rgba(14, 33, 53, 0.7);
}

.page-home .home-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .home-step__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-step__body strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--white);
}

.page-home .home-step__body span {
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .home-step--go {
  background-color: rgba(255, 106, 43, 0.07);
}

.page-home .home-step--go .home-step__num {
  color: var(--orange);
}

.page-home .home-step--go .home-step__body strong {
  color: var(--cyan);
}

/* ============================================================
   08 规模与时效
   ============================================================ */
.page-home .stat-grid {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 16px;
  background-color: var(--deck);
}

.page-home .stat-value {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .stat-unit {
  margin-left: 3px;
  font-size: 0.48em;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .home-proof__note {
  margin: 0 0 18px;
}

.page-home .home-proof__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 18px;
}

.page-home .home-proof__legal {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

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

  .page-home .home-path--wide {
    grid-column: span 2;
  }

  .page-home .home-facts li {
    grid-template-columns: 5.5em minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }

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

@media (min-width: 900px) {
  .page-home .split {
    grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }

  .page-home .home-hero__aside {
    position: sticky;
    top: 88px;
  }
}

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

@media (max-width: 639px) {
  .page-home .round-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .round-chip {
    flex: 0 0 auto;
  }

  .page-home .home-billboard__figure .media-caption {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-path,
  .page-home .home-path::before,
  .page-home .home-path__title a,
  .page-home .home-direct__item,
  .page-home .home-step,
  .page-home .round-chip,
  .page-home .home-path .card-meta {
    transition: none;
  }
}
</main>
