/* ============ 首页：赛事总台 ============ */
.page-home {
  --home-line: 1px solid var(--line-strong);
  --home-soft-line: 1px solid var(--line);
  position: relative;
}

.page-home .page-home__crumbs {
  padding-top: 18px;
}

/* ---------- 01 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding-top: 22px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -8% -18% auto -18%;
  height: 62%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 74% 0%, rgba(255, 176, 32, 0.1), transparent 70%),
    radial-gradient(52% 54% at 10% 14%, rgba(47, 224, 200, 0.09), transparent 72%);
}

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

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .home-hero__eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 224, 200, 0.16);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 8.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-hero__text {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(242, 245, 243, 0.76);
}

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

.page-home .home-hero__media img,
.page-home .home-schedule__media img,
.page-home .home-moves__media img,
.page-home .home-diff__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* 值班台数据条 */
.page-home .home-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-board__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px 16px;
  background: var(--ink-2);
}

.page-home .home-board__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.page-home .home-board__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.page-home .home-board__value--cyan {
  color: var(--cyan);
}

.page-home .home-board__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--grey);
}

/* 重点场次 */
.page-home .home-featured {
  margin-top: 34px;
}

.page-home .home-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: var(--home-line);
}

.page-home .home-featured__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-featured__more {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-featured__more:hover {
  color: var(--amber);
}

.page-home .home-featured__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-featured__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  padding: 14px 4px;
  border-bottom: var(--home-soft-line);
  transition: background-color 180ms ease;
}

.page-home .home-featured__row:hover {
  background: rgba(47, 224, 200, 0.06);
}

.page-home .home-featured__time {
  align-self: start;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .home-featured__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .home-featured__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .home-featured__sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey);
}

.page-home .home-featured__row .tag {
  grid-column: 2;
  justify-self: start;
}

/* ---------- 02 四条路线 ---------- */
.page-home .home-routes {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  background: var(--line);
  border: var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-routes__link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 20px 18px;
  background: var(--ink-2);
  text-decoration: none;
  transition: background-color 200ms ease;
}

.page-home .home-routes__link:hover {
  background: var(--ink-4);
}

.page-home .home-routes__no {
  flex: none;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
}

.page-home .home-routes__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.page-home .home-routes__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-routes__desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--grey);
}

.page-home .home-routes__go {
  flex: none;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
  transition: transform 200ms ease;
}

.page-home .home-routes__link:hover .home-routes__go {
  transform: translateX(4px);
}

/* ---------- 03 赛程时间轴 ---------- */
.page-home .home-schedule {
  margin-top: 24px;
}

.page-home .home-schedule__media {
  margin: 0 0 26px;
}

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

.page-home .home-schedule__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cyan-2);
}

.page-home .home-schedule__day-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-schedule__day-count {
  font-size: 13px;
  color: var(--grey);
}

.page-home .home-schedule__day-count .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 700;
  color: var(--amber);
}

.page-home .home-schedule__slots {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-schedule__slot {
  display: grid;
  gap: 4px;
  padding: 13px 4px;
  border-bottom: var(--home-soft-line);
}

.page-home .home-schedule__slot-time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .home-schedule__slot-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .home-schedule__slot-state {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--grey);
}

/* ---------- 04 租借变动 ---------- */
.page-home .home-moves {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.page-home .home-moves__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-soft-line);
}

.page-home .home-moves__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 4px;
  border-bottom: var(--home-soft-line);
  transition: background-color 200ms ease;
}

.page-home .home-moves__row:hover {
  background: rgba(47, 224, 200, 0.06);
}

.page-home .home-moves__who {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.page-home .home-moves__club {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .home-moves__role {
  font-size: 13px;
  color: var(--grey);
}

.page-home .home-moves__flow {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.page-home .home-moves__arrow {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  transition: transform 600ms ease;
}

.page-home .home-moves__row:hover .home-moves__arrow {
  transform: translateX(5px);
}

.page-home .home-moves__dir {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-home .home-moves__note {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--amber);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--grey);
}

.page-home .home-moves__panel .btn {
  margin-top: 18px;
}

/* ---------- 05 净胜球差值 ---------- */
.page-home .home-diff {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.page-home .home-diff__panel {
  min-width: 0;
}

.page-home .home-diff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-soft-line);
}

.page-home .home-diff__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 0;
  border-bottom: var(--home-soft-line);
}

.page-home .home-diff__team {
  font-size: 14px;
  color: var(--paper);
}

.page-home .home-diff__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  color: var(--amber);
}

.page-home .home-diff__val--neg {
  color: var(--cyan);
}

.page-home .home-diff__track {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(154, 166, 162, 0.16);
  overflow: hidden;
}

.page-home .home-diff__bar {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.32), var(--amber));
  transition: width 400ms ease;
}

.page-home .home-diff__bar--p4 { width: 90%; }
.page-home .home-diff__bar--p2 { width: 70%; }
.page-home .home-diff__bar--p0 { width: 50%; background: linear-gradient(90deg, rgba(154, 166, 162, 0.3), var(--grey)); }

.page-home .home-diff__bar--n1,
.page-home .home-diff__bar--n3 {
  background: linear-gradient(90deg, rgba(47, 224, 200, 0.24), var(--cyan));
}

.page-home .home-diff__bar--n1 { width: 40%; }
.page-home .home-diff__bar--n3 { width: 20%; }

.page-home .home-diff__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.page-home .home-diff__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--grey);
}

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

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

/* ---------- 06 勘误通道 ---------- */
.page-home .home-help {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.page-home .home-help__steps {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-help__step {
  display: flex;
  gap: 16px;
  padding: 18px 18px;
  background: var(--ink-2);
}

.page-home .home-help__no {
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  padding-top: 3px;
}

.page-home .home-help__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--paper);
}

.page-home .home-help__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: var(--home-line);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.page-home .home-help__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.page-home .home-help__link {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(16px, 4.6vw, 21px);
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  word-break: break-all;
}

.page-home .home-help__link:hover {
  color: var(--amber);
}

.page-home .home-help__note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .home-help__more {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-decoration: none;
}

.page-home .home-help__more:hover {
  color: var(--amber-2);
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-home .home-featured__row {
    grid-template-columns: 78px minmax(0, 1fr) auto;
  }

  .page-home .home-featured__row .tag {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .page-home .home-schedule__slot {
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }

  .page-home .home-schedule__slot-state {
    text-align: right;
  }

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

  .page-home .home-board__cell {
    padding: 18px 20px 20px;
  }

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

  .page-home .home-help__contact {
    padding: 26px 24px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: end;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-featured__row,
  .page-home .home-routes__link,
  .page-home .home-routes__go,
  .page-home .home-moves__row,
  .page-home .home-moves__arrow,
  .page-home .home-diff__bar {
    transition: none;
  }
}
</main>
