.page-home {
  --home-cut: 30px;
  --home-soft: rgba(16, 26, 22, 0.62);
  --home-line: rgba(16, 26, 22, 0.14);
  --home-glow-soft: rgba(53, 242, 200, 0.16);
  background: var(--ink-deep);
  color: var(--paper);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 72px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  left: -14%;
  top: -22%;
  width: 82%;
  height: 130%;
  background: linear-gradient(152deg, rgba(14, 59, 46, 0.95) 0%, rgba(6, 35, 28, 0.05) 78%);
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-hero__dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.page-home .home-hero__copy .h-display {
  margin: 14px 0 20px;
}

.page-home .home-hero__actions {
  margin-top: 26px;
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--hair);
  list-style: none;
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .home-hero__facts .data-num {
  font-size: 22px;
  color: var(--glow);
}

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

.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 24px -16px -24px 18px;
  background: var(--paper);
  opacity: 0.09;
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 86%);
  pointer-events: none;
}

.page-home .home-hero__visual .media-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--hair);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
}

.page-home .home-hero__visual .trace-line {
  position: absolute;
  left: -22%;
  top: 12%;
  width: 150%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow), transparent);
  transform: rotate(-1.6deg);
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 会员权益抽屉 ---------- */

.page-home .home-drawer__shell {
  position: relative;
  background: var(--ink-hull);
  border: 1px solid var(--hair);
  padding: 24px 20px 26px;
}

.page-home .home-drawer__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.page-home .home-drawer__intro .h-section {
  margin-top: 10px;
}

.page-home .home-drawer__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--glow);
  color: var(--glow);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.page-home .home-drawer__hint {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-drawer__panel {
  margin-top: 22px;
  border-top: 1px solid var(--hair);
  padding-top: 22px;
}

.page-home .home-drawer__body {
  display: grid;
  gap: 24px;
}

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

.page-home .home-tier {
  padding: 16px 0 16px 16px;
  border-left: 2px solid var(--line-moss);
}

.page-home .home-tier__no {
  margin: 0;
  font-size: 12px;
  color: var(--glow);
  letter-spacing: 0.16em;
}

.page-home .home-tier__name {
  margin: 6px 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-tier__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-drawer__shot {
  border: 1px solid var(--hair);
  background: var(--ink-deep);
}

.page-home .home-drawer__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--glow);
  text-decoration: none;
  border-bottom: 1px solid var(--home-glow-soft);
  padding-bottom: 3px;
}

.page-home .home-drawer__link:hover,
.page-home .home-drawer__link:focus-visible {
  border-bottom-color: var(--glow);
}

/* ---------- 赛程与战绩 ---------- */

.page-home .home-schedule__head {
  max-width: 68ch;
  margin-bottom: 40px;
}

.page-home .home-schedule__head .h-section {
  margin: 10px 0 16px;
  color: var(--ink-black);
}

.page-home .home-schedule .prose {
  color: var(--home-soft);
}

.page-home .home-schedule__rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-schedule__chips {
  gap: 8px;
}

.page-home .home-schedule__chips .chip {
  background: transparent;
  border: 1px solid rgba(16, 26, 22, 0.28);
  color: var(--ink-black);
  font-size: 13px;
  padding: 7px 14px;
  cursor: pointer;
}

.page-home .home-schedule__chips .chip.is-active {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--glow);
}

.page-home .home-schedule__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--home-soft);
}

.page-home .home-schedule__switch {
  display: inline-flex;
  border: 1px solid rgba(16, 26, 22, 0.28);
  margin-bottom: 22px;
}

.page-home .home-schedule__switch .switch__btn {
  background: transparent;
  border: 0;
  color: var(--home-soft);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  cursor: pointer;
}

.page-home .home-schedule__switch .switch__btn.is-active {
  background: var(--ink-deep);
  color: var(--glow);
}

.page-home .home-schedule__panels {
  display: grid;
  gap: 18px;
}

.page-home .home-panel {
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .home-panel__tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--home-soft);
}

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

.page-home .home-fixtures li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-fixtures li:last-child {
  border-bottom: 0;
}

.page-home .home-fixtures__time {
  font-size: 14px;
  color: var(--ink-black);
}

.page-home .home-fixtures__name {
  font-size: 14px;
  color: var(--ink-black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-fixtures__state {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--home-soft);
}

.page-home .home-fixtures__state.is-live {
  color: #B2521A;
}

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

.page-home .home-dist li {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) 2fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-black);
}

.page-home .home-dist__bar {
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--ink-hull), var(--glow));
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .home-dist .data-num {
  font-size: 13px;
  color: var(--ink-black);
  min-width: 42px;
  text-align: right;
}

/* ---------- 射手榜入口条 ---------- */

.page-home .home-board__row {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 34px 22px 32px;
  background: var(--ink-hull);
  border: 1px solid var(--line-moss);
  color: var(--paper);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%);
  transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.page-home .home-board__row:hover,
.page-home .home-board__row:focus-visible {
  border-color: var(--glow);
  transform: translateY(-3px);
}

.page-home .home-board__bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
}

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

.page-home .home-board__row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(6, 35, 28, 0.95) 26%, rgba(6, 35, 28, 0.62) 68%, rgba(6, 35, 28, 0.92) 100%);
  pointer-events: none;
}

.page-home .home-board__body {
  position: relative;
  z-index: 1;
  display: block;
}

.page-home .home-board__headline {
  display: block;
  margin: 14px 0 26px;
  max-width: 40ch;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-board__nums {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.page-home .home-board__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-board__cell .data-num {
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1;
  color: var(--paper);
}

.page-home .home-board__cap {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-board__cta {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 4px;
  font-size: 14px;
  color: var(--glow);
  border-bottom: 1px solid var(--home-glow-soft);
}

/* ---------- 跨设备续看 ---------- */

.page-home .home-continue__card {
  display: grid;
  gap: 26px;
  padding: 26px 20px 30px;
  background: var(--ink-hull);
  border: 1px solid var(--hair);
}

.page-home .home-continue__text .h-section {
  margin: 10px 0 16px;
}

.page-home .home-continue__steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .home-continue__steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .home-continue__steps .data-num {
  font-size: 15px;
  color: var(--glow);
}

.page-home .home-continue__shot {
  border: 1px solid var(--hair);
  background: var(--ink-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

/* ---------- 赛事专栏 ---------- */

.page-home .home-stories__head {
  max-width: 62ch;
  margin-bottom: 34px;
}

.page-home .home-stories__head .h-section {
  margin: 10px 0 16px;
  color: var(--ink-black);
}

.page-home .home-stories .prose {
  color: var(--home-soft);
}

.page-home .home-stories__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.page-home .home-stories__item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta arrow"
    "title arrow";
  gap: 6px 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-line);
  text-decoration: none;
  color: var(--ink-black);
  transition: background-color 200ms var(--ease-out);
}

.page-home .home-stories__item a:hover,
.page-home .home-stories__item a:focus-visible {
  background: rgba(16, 26, 22, 0.05);
}

.page-home .home-stories__meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--home-soft);
}

.page-home .home-stories__title {
  grid-area: title;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-stories__arrow {
  grid-area: arrow;
  font-size: 18px;
  color: var(--ink-hull);
}

.page-home .home-stories__actions {
  gap: 12px;
  margin-top: 30px;
}

.page-home .home-stories__ghost {
  border-color: rgba(16, 26, 22, 0.35);
  color: var(--ink-black);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-home .home-drawer__shell {
    padding: 34px 32px 36px;
  }

  .page-home .home-drawer__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .home-drawer__tiers {
    grid-template-columns: 1fr;
  }

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

  .page-home .home-panel--wide {
    grid-column: 1 / -1;
  }

  .page-home .home-board__row {
    padding: 46px 40px 44px;
  }

  .page-home .home-continue__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
    padding: 40px 36px 44px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 68px 0 96px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: 64px;
    align-items: center;
  }

  .page-home .home-schedule__grid {
    align-items: start;
  }

  .page-home .home-board__headline {
    margin-bottom: 34px;
  }

  .page-home .home-stories__item a {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    grid-template-areas: "meta title arrow";
    gap: 20px;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-board__row,
  .page-home .home-stories__item a {
    transition: none;
  }

  .page-home .home-board__row:hover,
  .page-home .home-board__row:focus-visible {
    transform: none;
  }
}
