.page-home {
  display: block;
  background: var(--navy);
  color: var(--white);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  padding-block: 26px 0;
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 95% at 18% 0%, rgba(37, 224, 208, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(6, 22, 39, 0.55), var(--navy) 88%);
}

.page-home .home-hero__inner {
  padding-block: 12px 0;
}

.page-home .home-hero h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.page-home .home-hero .lede {
  margin: 14px 0 0;
  max-width: 46em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
}

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

.page-home .home-hero__panels {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding-bottom: 30px;
}

/* 倒计时环 */
.page-home .kickoff {
  display: grid;
  place-items: center;
}

.page-home .kickoff__ring {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    var(--orange) 0deg 214deg,
    var(--cyan) 214deg 268deg,
    rgba(157, 176, 195, 0.16) 268deg 360deg
  );
  box-shadow: 0 0 46px -10px rgba(255, 106, 26, 0.55);
}

.page-home .kickoff__ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--line);
}

.page-home .kickoff__ring > * {
  position: relative;
  z-index: 1;
}

.page-home .kickoff__day {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--slate);
}

.page-home .kickoff__time {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.page-home .kickoff__cap {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

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

.page-home .kickoff__line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--white);
  background: rgba(13, 39, 64, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.page-home .dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--slate);
}

.page-home .dot--new { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 61, 127, 0.7); }
.page-home .dot--saved { background: var(--green); box-shadow: 0 0 10px rgba(91, 212, 110, 0.6); }
.page-home .dot--live { background: var(--orange); box-shadow: 0 0 10px rgba(255, 106, 26, 0.7); }
.page-home .dot--data { background: var(--cyan); box-shadow: 0 0 10px rgba(37, 224, 208, 0.6); }

/* ---------- 横向赛程条 ---------- */
.page-home .strip {
  padding-block: 26px 6px;
}

.page-home .strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.page-home .strip__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .strip__link {
  font-size: 0.85rem;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .strip__viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.page-home .strip__viewport::-webkit-scrollbar { display: none; }

.page-home .strip__viewport:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.page-home .strip__track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 14px 0 0;
  padding: 0 0 6px;
  list-style: none;
}

.page-home .strip__item {
  scroll-snap-align: start;
  flex: 0 0 200px;
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
  background: var(--stand);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cat, var(--cyan));
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.page-home .strip__cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cat, var(--cyan));
}

.page-home .strip__name {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.5;
}

.page-home .strip__time {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ---------- Bento ---------- */
.page-home .bento-zone {
  padding-block: 42px 8px;
}

.page-home .bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.page-home .bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: var(--stand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-home .bento__card--adapt {
  background:
    linear-gradient(160deg, rgba(255, 106, 26, 0.16), transparent 52%),
    var(--stand);
  border-color: rgba(255, 106, 26, 0.34);
}

.page-home .bento__card--cal {
  background:
    linear-gradient(200deg, rgba(37, 224, 208, 0.12), transparent 60%),
    var(--stand);
}

.page-home .bento__card--fav {
  background:
    linear-gradient(150deg, rgba(91, 212, 110, 0.12), transparent 58%),
    var(--stand);
}

.page-home .bento__card--sub {
  background: var(--indigo);
  border-color: rgba(157, 176, 195, 0.3);
}

.page-home .bento__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .bento__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--slate);
}

.page-home .bento__media {
  margin-top: 2px;
}

.page-home .bento__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

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

.page-home .bento__list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--slate);
}

.page-home .bento__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .bento__list .mono {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .bento__go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .bento__go:hover,
.page-home .bento__go:focus-visible {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 一周节拍 ---------- */
.page-home .beat {
  position: relative;
  isolation: isolate;
  margin-top: 48px;
  padding-block: 44px;
  background: var(--teal);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.page-home .beat__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
}

.page-home .beat__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.page-home .beat__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--teal) 18%, rgba(11, 59, 62, 0.5) 100%);
}

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

.page-home .beat__item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(6, 22, 39, 0.55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
}

.page-home .beat__time {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .beat__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--white);
}

.page-home .beat__body p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 联赛分流 ---------- */
.page-home .leagues {
  padding-block: 48px 8px;
}

.page-home .leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.page-home .league-pill {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 20px 18px 22px;
  min-height: 44px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur) ease, transform var(--dur) ease;
}

.page-home .league-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tone, var(--cyan));
}

.page-home .league-pill:hover,
.page-home .league-pill:focus-visible {
  border-color: var(--tone, var(--cyan));
  transform: translateY(-2px);
}

.page-home .league-pill__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
}

.page-home .league-pill__desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .league-pill--fb { --tone: var(--cyan); }
.page-home .league-pill--bb { --tone: var(--orange); }
.page-home .league-pill--tn { --tone: var(--green); }
.page-home .league-pill--es { --tone: var(--magenta); }
.page-home .league-pill--rc { --tone: var(--gold); }

/* ---------- 数字 ---------- */
.page-home .numbers {
  margin-top: 48px;
  padding-block: 44px 56px;
  background: var(--wine);
  border-top: 1px solid var(--line);
}

.page-home .numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.page-home .numbers__item {
  padding: 16px 18px;
  background: rgba(6, 22, 39, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.page-home .numbers__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--white);
  opacity: 0.78;
}

.page-home .numbers__num {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.page-home .numbers__num span {
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--slate);
}

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

.page-home .numbers__foot p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.9;
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-hero__inner {
    padding-block: 20px 0;
  }

  .page-home .home-hero .lede {
    font-size: 1.05rem;
  }

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

  .page-home .beat__item {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

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

@media (min-width: 880px) {
  .page-home .home-hero {
    padding-block: 44px 0;
  }

  .page-home .home-hero__inner {
    padding-block: 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .home-hero__panels {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    margin-top: 34px;
    padding-bottom: 44px;
  }

  .page-home .strip {
    padding-block: 30px 10px;
  }

  .page-home .bento-zone {
    padding-block: 58px 10px;
  }

  .page-home .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "adapt adapt adapt adapt adapt adapt adapt cal cal cal cal cal"
      "fav fav fav fav fav fav fav cal cal cal cal cal"
      "sub sub sub sub sub sub sub sub sub sub sub sub";
    gap: 16px;
  }

  .page-home .bento__card--adapt { grid-area: adapt; }
  .page-home .bento__card--cal { grid-area: cal; }
  .page-home .bento__card--fav { grid-area: fav; }
  .page-home .bento__card--sub { grid-area: sub; }

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

  .page-home .bento__card--sub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "eyebrow chips"
      "title chips"
      "body go";
    align-content: center;
    column-gap: 28px;
    row-gap: 8px;
  }

  .page-home .bento__card--sub .eyebrow { grid-area: eyebrow; }
  .page-home .bento__card--sub .bento__title { grid-area: title; }
  .page-home .bento__card--sub .bento__body { grid-area: body; }
  .page-home .bento__card--sub .bento__chips { grid-area: chips; align-self: center; }
  .page-home .bento__card--sub .bento__go { grid-area: go; }

  .page-home .beat {
    margin-top: 64px;
    padding-block: 60px;
  }

  .page-home .leagues {
    padding-block: 64px 10px;
  }

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

  .page-home .numbers {
    margin-top: 64px;
    padding-block: 58px 70px;
  }

  .page-home .numbers__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .page-home .numbers__foot p {
    max-width: 46em;
  }

  .page-home .numbers__actions {
    margin-top: 0;
    flex: none;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero h1 {
    max-width: 13em;
  }

  .page-home .strip__item {
    flex-basis: 216px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .strip__viewport {
    scroll-behavior: auto;
  }

  .page-home .league-pill,
  .page-home .bento__go {
    transition: none;
  }

  .page-home .league-pill:hover {
    transform: none;
  }
}

.page-home {
  --cat: currentColor;
}
