.page-home {
  --home-glow-lime: rgba(184, 255, 60, .16);
  --home-glow-amber: rgba(255, 179, 71, .13);
  --home-grid-size: 72px;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-faint) 1px, transparent 1px);
  background-size: var(--home-grid-size) var(--home-grid-size);
  color: var(--mist);
  overflow-x: clip;
}

.page-home .sl-crumb {
  padding-top: 22px;
}

/* ============ 首屏封面 ============ */
.page-home .home-hero {
  position: relative;
  padding: clamp(20px, 3vw, 36px) 0 clamp(34px, 5vw, 62px);
  isolation: isolate;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -20% -15% 10%;
  background:
    radial-gradient(58% 62% at 82% 8%, var(--home-glow-lime), transparent 68%),
    radial-gradient(52% 58% at 6% 62%, var(--home-glow-amber), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.page-home .home-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(184, 255, 60, .18);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.15rem, 7.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--lime);
  background: linear-gradient(180deg, transparent 62%, rgba(184, 255, 60, .22) 62%);
}

.page-home .home-hero__lead {
  max-width: 36em;
  margin: 0 0 26px;
}

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

.page-home .home-hero__visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, var(--layer), var(--night));
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.page-home .home-hero__visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  background: rgba(6, 35, 28, .78);
  color: var(--mist);
  font-size: .75rem;
}

.page-home .home-index {
  list-style: none;
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-faint);
  background: var(--line-faint);
}

.page-home .home-index li {
  background: var(--ink);
}

.page-home .home-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 16px;
  color: var(--mist);
  font-size: .86rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-index a .sl-mono {
  color: var(--lime);
  font-size: .72rem;
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible {
  color: var(--paper);
  background: rgba(184, 255, 60, .07);
}

/* ============ 通用区块头 ============ */
.page-home .home-sec {
  position: relative;
}

.page-home .home-sec__head {
  max-width: 46rem;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.page-home .home-sec__head .sl-h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--paper);
}

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

/* ============ 未来七日赛程 ============ */
.page-home .home-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-home .home-fixtures-grid {
  display: grid;
  gap: clamp(26px, 3.5vw, 40px);
}

.page-home .home-fixtures {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
}

.page-home .home-fixtures::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--lime), var(--line) 24%, var(--line) 76%, transparent);
  opacity: .7;
}

.page-home .home-fixture {
  position: relative;
  display: grid;
  gap: 6px 16px;
  padding: 15px 18px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-faint);
  background: linear-gradient(120deg, var(--layer), var(--layer-deep));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-fixture:hover {
  border-color: rgba(184, 255, 60, .38);
  transform: translateX(2px);
}

.page-home .home-fixture[hidden] {
  display: none;
}

.page-home .home-fixture__node {
  position: absolute;
  left: -19px;
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink);
  transform: translateX(-50%);
}

.page-home .home-fixture--today .home-fixture__node {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(184, 255, 60, .16);
}

.page-home .home-fixture__when {
  color: var(--lime);
  font-size: .82rem;
  white-space: nowrap;
}

.page-home .home-fixture__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 0;
}

.page-home .home-fixture__teams {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--paper);
}

.page-home .home-fixture__status {
  font-size: .72rem;
  color: var(--slate);
  white-space: nowrap;
}

.page-home .home-fixture--today .home-fixture__status {
  color: var(--amber);
}

.page-home .home-side-figure {
  margin: 0;
}

.page-home .home-side-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--night);
}

.page-home .home-side-figure figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--line-soft);
  font-size: .85rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .home-side-figure figcaption a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, .4);
}

.page-home .home-side-figure figcaption a:hover {
  color: var(--paper);
}

/* ============ 内容目录 ============ */
.page-home .home-catalog__grid {
  display: grid;
  gap: clamp(26px, 3.5vw, 44px);
}

.page-home .home-anchor {
  align-self: start;
  padding: 22px 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, var(--layer), var(--layer-deep));
}

.page-home .home-anchor__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .home-anchor__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--mist);
  font-size: .9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .home-anchor__list a .sl-mono {
  color: var(--lime);
  font-size: .7rem;
}

.page-home .home-anchor__list a:hover,
.page-home .home-anchor__list a:focus-visible {
  color: var(--paper);
  background: rgba(184, 255, 60, .07);
  border-color: rgba(184, 255, 60, .35);
}

.page-home .home-anchor__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-faint);
  font-size: .78rem;
  line-height: 1.75;
  color: var(--slate);
}

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

.page-home .home-block {
  padding-top: 24px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line-faint);
}

.page-home .home-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-home .home-block:last-child {
  margin-bottom: 0;
}

.page-home .home-block .sl-h3 {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  color: var(--paper);
}

.page-home .home-block .sl-text + .sl-text {
  margin-top: 12px;
}

.page-home .home-block .sl-text a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, .4);
}

.page-home .home-block .sl-text a:hover {
  color: var(--paper);
}

/* ============ 标签与归档 ============ */
.page-home .home-tags__grid {
  display: grid;
  gap: clamp(26px, 3.5vw, 42px);
}

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

.page-home .home-tier {
  padding: 20px 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-faint);
  border-left: 3px solid var(--lime);
  background: linear-gradient(120deg, var(--layer), var(--layer-deep));
}

.page-home .home-tier__idx {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .7rem;
  color: var(--amber);
}

.page-home .home-tier .sl-h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--paper);
}

.page-home .home-tier .sl-text {
  margin: 0;
  font-size: .95rem;
}

.page-home .home-tags__side {
  display: grid;
  gap: 22px;
  align-content: start;
}

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

.page-home .home-tags__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--night);
}

.page-home .home-tags__panel {
  padding: 24px 22px 26px;
  border-radius: var(--radius-lg);
}

.page-home .home-tags__panel .sl-h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--paper);
}

.page-home .home-tags__panel .sl-text {
  margin: 0 0 12px;
  font-size: .95rem;
}

.page-home .home-tags__panel .sl-btn {
  margin-top: 4px;
}

/* ============ 导出 ============ */
.page-home .home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-tabpanels {
  padding: 24px 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(140deg, var(--night), var(--layer));
}

.page-home .home-tabpanel .sl-h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--lime);
}

.page-home .home-tabpanel .sl-text {
  margin: 0;
  max-width: 44em;
  font-size: .95rem;
}

.page-home .home-export__foot {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-faint);
}

.page-home .home-export__foot .sl-text {
  margin: 0;
  max-width: 46em;
  font-size: .93rem;
}

.page-home .home-export__foot .sl-text a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, .4);
}

.page-home .home-export__foot .sl-text a:hover {
  color: var(--paper);
}

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

/* ============ 服务保障 ============ */
.page-home .home-support__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(150deg, var(--night), var(--layer-deep));
  box-shadow: var(--shadow-card);
}

.page-home .home-support__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .home-support__inner {
  position: relative;
  padding: clamp(26px, 4vw, 52px);
}

.page-home .home-support__inner .sl-h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.18;
  color: var(--paper);
}

.page-home .home-support__lead {
  margin: 0 0 26px;
  max-width: 48em;
  font-size: .96rem;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--line-faint);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line-faint);
}

.page-home .home-stat {
  padding: 16px 18px;
  background: rgba(6, 35, 28, .82);
}

.page-home .home-stat dt {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--slate);
  margin-bottom: 6px;
}

.page-home .home-stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
}

.page-home .home-stat dd .sl-mono {
  color: var(--lime);
  font-size: 1.16rem;
  margin-right: 2px;
}

.page-home .home-support__contact {
  display: grid;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-faint);
}

.page-home .home-support__contact .sl-h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--paper);
}

.page-home .home-support__contact .sl-text {
  margin: 0 0 10px;
  max-width: 46em;
  font-size: .95rem;
}

.page-home .home-support__legal {
  font-size: .74rem;
  color: var(--slate);
  letter-spacing: .04em;
}

.page-home .home-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

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

  .page-home .home-fixture {
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
  }

  .page-home .home-fixture__status {
    grid-column: 2;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(36px, 5vw, 64px);
  }

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

  .page-home .home-fixture {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 6px 20px;
    padding: 16px 20px;
  }

  .page-home .home-fixture__status {
    grid-column: auto;
    text-align: right;
  }

  .page-home .home-fixture__node {
    top: 50%;
    transform: translate(-50%, -50%);
  }

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

  .page-home .home-export__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-export__foot .sl-btn {
    justify-self: end;
  }

  .page-home .home-support__contact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .home-support__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .page-home .home-fixtures-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-home .home-side-figure {
    position: sticky;
    top: 110px;
  }

  .page-home .home-catalog__grid {
    grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
    align-items: start;
  }

  .page-home .home-anchor {
    position: sticky;
    top: 108px;
  }

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

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

  .page-home .home-fixture:hover {
    transform: none;
  }
}
