.page-home {
  --home-rail: 232px;
  --home-edge: clamp(20px, 4vw, 48px);
  position: relative;
  overflow-x: clip;
  color: var(--text-on-dark);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

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

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

.page-home .hero {
  position: relative;
  padding: clamp(26px, 5vw, 88px) 0 clamp(36px, 5vw, 76px);
  background:
    radial-gradient(120% 78% at 82% 4%, rgba(53, 233, 200, .11), transparent 62%),
    linear-gradient(180deg, rgba(18, 51, 42, .55), rgba(10, 30, 25, 0));
  border-bottom: 1px solid var(--line);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(157, 182, 172, .07) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.page-home .hero__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
}

.page-home .hero__rail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .rail-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--mist);
}

.page-home .round-list {
  list-style: none;
  margin: 0;
  padding: 3px 0 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

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

.page-home .round-item__link {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(18, 51, 42, .5);
  color: var(--text-on-dark);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}

.page-home .round-item__link:hover,
.page-home .round-item__link:focus-visible {
  border-color: rgba(53, 233, 200, .5);
  background: rgba(18, 51, 42, .8);
}

.page-home .round-item__num {
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  color: var(--mist);
}

.page-home .round-item__meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.page-home .round-item__meta em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--mist);
}

.page-home .round-item.is-current .round-item__link {
  border-color: rgba(255, 90, 43, .6);
  background: linear-gradient(90deg, rgba(255, 90, 43, .18), rgba(18, 51, 42, .7));
  box-shadow: inset 3px 0 0 var(--flame);
}

.page-home .round-item.is-current .round-item__num {
  color: var(--flame);
}

.page-home .round-item.is-current .round-item__meta,
.page-home .round-item.is-current .round-item__meta em {
  color: #FFD9CC;
}

.page-home .rail-fig {
  margin: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(18, 51, 42, .5);
}

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

.page-home .hero__main {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  align-content: start;
}

.page-home .hero__context {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--mist);
}

.page-home .hero__context .dot {
  width: 8px;
  height: 8px;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(255, 90, 43, .18);
}

.page-home .hero__title {
  margin: 0;
  font-size: clamp(29px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--mint);
  max-width: 22ch;
}

.page-home .hero__lede {
  margin: 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-on-dark);
}

.page-home .entry-row {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .entry__link {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 168px;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 51, 42, .92), rgba(10, 30, 25, .94));
  color: var(--text-on-dark);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(53, 233, 200, .55);
  background: linear-gradient(160deg, rgba(53, 233, 200, .16), rgba(10, 30, 25, .96));
}

.page-home .entry__idx {
  font-size: 13px;
}

.page-home .entry__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--mint);
}

.page-home .entry__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .entry__go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .hero__stage {
  position: relative;
  margin-top: clamp(10px, 2vw, 20px);
}

.page-home .hero__figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0C231D;
}

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

.page-home .hero__tag {
  position: absolute;
  z-index: 2;
  font-size: 12.5px;
  white-space: nowrap;
}

.page-home .hero__tag--round {
  top: 12px;
  right: 12px;
  background: rgba(255, 90, 43, .18);
  border-color: rgba(255, 90, 43, .55);
  color: #FFE1D7;
}

.page-home .hero__tag--round .mono {
  color: var(--flame);
  font-size: 15px;
}

.page-home .hero__tag--live {
  bottom: 14px;
  left: 12px;
}

/* ---------- 横向主题带 ---------- */

.page-home .band {
  position: relative;
  padding: clamp(34px, 5.4vw, 74px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .band--read {
  background:
    linear-gradient(115deg, rgba(53, 233, 200, .09), transparent 56%),
    var(--ink-slab);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
  padding-bottom: clamp(54px, 7vw, 100px);
}

.page-home .band--league {
  overflow: hidden;
  background: var(--ink-night);
}

.page-home .band__bg {
  position: absolute;
  inset: 0;
  opacity: .3;
}

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

.page-home .band--league::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(10, 30, 25, .95) 8%, rgba(10, 30, 25, .58) 72%, rgba(255, 90, 43, .14));
  pointer-events: none;
}

.page-home .band__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

.page-home .band__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--mint);
  max-width: 26ch;
}

.page-home .band__body p,
.page-home .band__text {
  margin: 0 0 14px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-on-dark);
}

.page-home .band__body p:last-child,
.page-home .band__text:last-child {
  margin-bottom: 0;
}

.page-home .band__stat {
  margin: 16px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-home .band__stat .mono {
  font-size: 46px;
  line-height: 1;
  font-weight: 600;
  color: var(--cyan);
  text-shadow: 0 0 0 rgba(53, 233, 200, .4);
}

.page-home .band__cta {
  margin: 4px 0 0;
}

.page-home .band--rules {
  background: linear-gradient(180deg, var(--ink-night), #081814);
}

.page-home .rules-side {
  padding: 22px 22px 20px;
  background: rgba(18, 51, 42, .6);
  border-left: 3px solid var(--flame);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .rules-side__note {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-dark);
}

.page-home .rules-side__cta {
  margin: 0;
}

/* ---------- 联赛导航侧块 ---------- */

.page-home .league-side {
  padding: 22px;
  background: rgba(10, 30, 25, .68);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .league-side__num {
  margin: 0;
  font-size: 58px;
  line-height: 1;
  font-weight: 600;
  color: var(--flame);
}

.page-home .league-side__label {
  margin: 6px 0 16px;
  font-size: 13px;
  letter-spacing: .6px;
  color: var(--mist);
}

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

.page-home .league-types li {
  padding: 6px 13px;
  font-size: 13px;
  color: var(--mint);
  border: 1px solid var(--line);
  background: rgba(53, 233, 200, .08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-home .league-side__cta {
  margin: 0;
}

/* ---------- 控球率面板区 ---------- */

.page-home .panel-zone {
  padding: clamp(38px, 6vw, 82px) 0;
  background: linear-gradient(180deg, #081814, var(--ink-night));
}

.page-home .panel-zone__shell {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .panel-zone__media {
  position: relative;
}

.page-home .panel-zone__media .media-frame {
  margin: 0;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0C231D;
}

.page-home .panel-zone__media .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .panel-zone__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 12.5px;
}

.page-home .panel-zone__body {
  display: grid;
  gap: 12px;
  align-content: start;
}

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

.page-home .fav-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-dark);
  border: 1px dashed rgba(157, 182, 172, .3);
  background: rgba(18, 51, 42, .38);
}

.page-home .fav-list .mono {
  font-size: 15px;
  color: var(--cyan);
}

.page-home .fav-list strong {
  color: var(--mint);
}

.page-home .panel-zone__actions {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .fav-mark {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  font-size: 12.5px;
  letter-spacing: .5px;
  color: var(--amber);
  border: 1px solid rgba(255, 200, 87, .5);
  background: rgba(255, 200, 87, .12);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* ---------- 更新节律与文档 ---------- */

.page-home .cadence {
  padding: clamp(38px, 6vw, 80px) 0;
  background: var(--ink-slab);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.page-home .cadence__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .cadence__stat {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .cadence__stat .mono {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  color: var(--amber);
}

.page-home .cadence__docs-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--mint);
}

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

.page-home .doc-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .doc-list__idx {
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .doc-list strong {
  display: block;
  font-size: 16px;
  color: var(--mint);
  margin-bottom: 4px;
}

.page-home .doc-list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-home .cadence__more {
  margin: 20px 0 0;
}

/* ---------- 收尾 ---------- */

.page-home .exit {
  padding: clamp(40px, 6vw, 88px) 0 clamp(46px, 7vw, 96px);
  background: linear-gradient(180deg, #081814, var(--ink-night));
}

.page-home .exit__head {
  margin-bottom: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 12px;
}

.page-home .exit__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .exit-card {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--text-on-dark);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18, 51, 42, .9), rgba(10, 30, 25, .92));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .exit-card:hover,
.page-home .exit-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(53, 233, 200, .55);
}

.page-home .exit-card--flame {
  border-color: rgba(255, 90, 43, .38);
}

.page-home .exit-card--flame:hover,
.page-home .exit-card--flame:focus-visible {
  border-color: rgba(255, 90, 43, .8);
}

.page-home .exit-card__k {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 1.2px;
  color: var(--cyan);
}

.page-home .exit-card--flame .exit-card__k {
  color: var(--flame);
}

.page-home .exit-card__t {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-on-dark);
}

.page-home .exit-card__go {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mint);
}

.page-home .exit__facts {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

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

@media (min-width: 720px) {
  .page-home .entry-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .hero__tag--round {
    top: 18px;
    right: 18px;
  }

  .page-home .hero__tag--live {
    left: 18px;
    bottom: 20px;
  }
}

@media (min-width: 900px) {
  .page-home .band__shell--split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
  }

  .page-home .band--read .band__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "head body"
      "cta  body";
    align-items: start;
    gap: 16px clamp(30px, 4vw, 56px);
  }

  .page-home .band--read .band__head {
    grid-area: head;
  }

  .page-home .band--read .band__body {
    grid-area: body;
  }

  .page-home .band--read .band__cta {
    grid-area: cta;
  }
}

@media (min-width: 980px) {
  .page-home .hero__shell {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 44px);
  }

  .page-home .hero__rail {
    position: sticky;
    top: calc(var(--topbar-h) + 26px);
  }

  .page-home .round-list {
    flex-direction: column;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .page-home .round-item__link {
    min-width: 0;
    width: 100%;
  }

  .page-home .rail-fig {
    aspect-ratio: 3 / 4;
  }

  .page-home .panel-zone__shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
  }

  .page-home .cadence__shell {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 4vw, 60px);
    align-items: start;
  }
}

@media (max-width: 719px) {
  .page-home .hero__tag {
    font-size: 11.5px;
  }

  .page-home .hero__tag--round {
    top: 10px;
    right: 10px;
  }

  .page-home .hero__tag--live {
    left: 10px;
    bottom: 10px;
  }

  .page-home .band__stat .mono {
    font-size: 38px;
  }

  .page-home .league-side__num,
  .page-home .cadence__stat .mono {
    font-size: 40px;
  }
}
