.page-home {
  --home-radius: 28px;
  --home-edge: rgba(247, 242, 232, .14);
  --home-pad: clamp(20px, 4vw, 38px);
  background: var(--navy);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 通用区块节奏 ---------- */
.page-home .home-block {
  padding-block: clamp(52px, 9vw, 106px);
  scroll-margin-top: calc(var(--head-h) + 12px);
}
.page-home .home-block--ink { background: var(--ink); }
.page-home .home-block--navy { background: var(--navy); }
.page-home .home-block--paper { background: var(--paper); color: var(--ink); }

.page-home .plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gray);
}
.page-home .plate b {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--red);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: .08em;
}
.page-home .home-block--paper .plate { color: var(--red-deep); }

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.page-home .section-head__aside {
  margin: 0;
  max-width: 46ch;
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.75;
}
.page-home .home-block--paper .section-head__aside { color: #46505f; }

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-block: clamp(26px, 5vw, 60px) clamp(56px, 9vw, 108px);
  background:
    radial-gradient(115% 85% at 88% -6%, rgba(215, 38, 61, .32), transparent 58%),
    radial-gradient(85% 70% at 4% 102%, rgba(49, 225, 232, .14), transparent 62%),
    var(--navy);
  overflow: hidden;
}
.page-home .hero__glow {
  position: absolute;
  right: -12vw;
  top: -18vw;
  width: 52vw;
  height: 52vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, .22), transparent 66%);
  pointer-events: none;
}
.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 48px);
}
.page-home .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gray);
}
.page-home .crumbs a { color: var(--gray); text-decoration: none; }
.page-home .crumbs a:hover { color: var(--yellow); }

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 11vw, 118px);
  line-height: .93;
  letter-spacing: -.02em;
  color: var(--paper);
}
.page-home .hero__title em {
  font-style: normal;
  color: var(--red);
  position: relative;
  display: inline-block;
}
.page-home .hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .07em;
  background: var(--yellow);
  border-radius: 999px;
}

.page-home .hero__lede {
  margin: 0 0 28px;
  max-width: 40ch;
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  color: rgba(247, 242, 232, .82);
}
.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.page-home .hero__hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gray);
}

.page-home .hero__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-home .hero__mono {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}
.page-home .hero__board {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.page-home .hero__board-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(52px, 13vw, 128px);
  line-height: .82;
  letter-spacing: -.03em;
  color: var(--cyan);
}
.page-home .hero__board-cap {
  font-size: .92rem;
  color: rgba(247, 242, 232, .72);
}
.page-home .hero__media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--home-radius);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 6% 94%);
  background: var(--ink);
}
.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  filter: saturate(1.06) contrast(1.06);
}
.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(196deg, rgba(11, 27, 51, .02) 32%, rgba(11, 27, 51, .88) 100%);
  pointer-events: none;
}
.page-home .hero__media-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--paper);
  opacity: .85;
}

/* ---------- 快捷条 ---------- */
.page-home .quickbar {
  background: var(--ink);
  border-block: 1px solid var(--line-light);
}
.page-home .quickbar__inner {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding-block: 14px;
}
.page-home .quickbar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--red);
}
.page-home .quickbar__link {
  font-size: .85rem;
  color: rgba(247, 242, 232, .78);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.page-home .quickbar__link:hover,
.page-home .quickbar__link:focus-visible {
  color: var(--paper);
  border-color: var(--yellow);
}

/* ---------- 双入口 ---------- */
.page-home .lanes__title,
.page-home .records__title,
.page-home .leagues__title,
.page-home .updates__title,
.page-home .explore__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -.01em;
}

.page-home .lanes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-home .lane {
  position: relative;
  padding: var(--home-pad);
  border-radius: var(--home-radius);
  background: rgba(247, 242, 232, .055);
  border: 1px solid var(--home-edge);
  overflow: hidden;
}
.page-home .lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--red);
}
.page-home .lane--rank::before { background: var(--yellow); }
.page-home .lane__title {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
}
.page-home .lane__text {
  margin: 0 0 18px;
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(247, 242, 232, .78);
}
.page-home .lane__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.page-home .lane__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  line-height: 1.62;
  color: rgba(247, 242, 232, .7);
}
.page-home .lane__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--red);
}
.page-home .lane--rank .lane__list li::before { background: var(--yellow); }
.page-home .lane__mini {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.page-home .lane__mini-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 60px);
  line-height: .9;
  color: var(--yellow);
}
.page-home .lane__mini-cap {
  font-size: .88rem;
  color: rgba(247, 242, 232, .7);
}
.page-home .lane__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--paper);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.page-home .lane__go::after { content: "→"; }
.page-home .lane__go:hover,
.page-home .lane__go:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.page-home .lane--rank .lane__go:hover,
.page-home .lane--rank .lane__go:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.page-home .lanes__media {
  margin: 0;
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  background: var(--ink);
  aspect-ratio: 16 / 10;
}
.page-home .lanes__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}
.page-home .lanes__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 20, 24, .05), rgba(17, 20, 24, .82));
}
.page-home .lanes__media-cap {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(247, 242, 232, .85);
}

/* ---------- 记录速览 ---------- */
.page-home .records__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-home .feed {
  padding: var(--home-pad);
  border-radius: var(--home-radius);
  background: linear-gradient(160deg, rgba(215, 38, 61, .2), rgba(17, 20, 24, .2) 62%);
  border: 1px solid var(--home-edge);
}
.page-home .feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}
.page-home .feed__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
}
.page-home .feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.page-home .feed__item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 4px 12px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(247, 242, 232, .08);
}
.page-home .feed__dot {
  grid-row: 1 / span 2;
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 4px rgba(47, 191, 113, .16);
}
.page-home .feed__dot--yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 197, 61, .16);
}
.page-home .feed__name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--paper);
}
.page-home .feed__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gray);
}
.page-home .feed__foot {
  margin: 18px 0 0;
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(247, 242, 232, .6);
}

.page-home .records__stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .mini {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-md);
  background: rgba(247, 242, 232, .05);
  border: 1px solid var(--home-edge);
  border-left: 4px solid var(--red);
}
.page-home .mini--cyan { border-left-color: var(--cyan); }
.page-home .mini--yellow { border-left-color: var(--yellow); }
.page-home .mini__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}
.page-home .mini--yellow .mini__num { color: var(--yellow); }
.page-home .mini__title {
  margin: 8px 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}
.page-home .mini__text {
  margin: 0;
  font-size: .86rem;
  line-height: 1.68;
  color: rgba(247, 242, 232, .66);
}

/* ---------- 联赛索引 ---------- */
.page-home .leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
}
.page-home .leagues__text {
  margin: 18px 0 26px;
  max-width: 52ch;
  font-size: .96rem;
  line-height: 1.8;
  color: rgba(247, 242, 232, .78);
}
.page-home .league-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.page-home .league-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  grid-template-areas:
    "idx name link"
    "idx chip link";
  align-items: center;
  gap: 6px 12px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.page-home .league-row:hover { background: rgba(247, 242, 232, .04); }
.page-home .league-row__idx {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gray);
}
.page-home .league-row__name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}
.page-home .league-row .chip {
  grid-area: chip;
  justify-self: start;
}
.page-home .league-row__link {
  grid-area: link;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 197, 61, .38);
  transition: background .2s ease, color .2s ease;
}
.page-home .league-row__link:hover,
.page-home .league-row__link:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}
.page-home .leagues__note {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
  letter-spacing: .08em;
  color: var(--gray);
}
.page-home .leagues__media {
  margin: 0;
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
  align-self: start;
}
.page-home .leagues__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}
.page-home .leagues__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 27, 51, .1), rgba(11, 27, 51, .78));
}
.page-home .leagues__media-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(247, 242, 232, .88);
}

/* ---------- 版本与反馈 ---------- */
.page-home .updates__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
}
.page-home .updates__text {
  margin: 0 0 16px;
  max-width: 56ch;
  font-size: .96rem;
  line-height: 1.82;
  color: #333c4a;
}
.page-home .updates__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .upd-card {
  padding: clamp(20px, 3.4vw, 30px);
  border-radius: var(--home-radius);
  background: #fffdf8;
  border: 1px solid rgba(17, 20, 24, .1);
  box-shadow: 0 22px 48px -44px rgba(17, 20, 24, .8);
}
.page-home .upd-card--accent {
  background: var(--navy);
  color: var(--paper);
  border-color: transparent;
}
.page-home .upd-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
}
.page-home .upd-card--accent .upd-card__tag {
  background: var(--red);
  color: var(--paper);
}
.page-home .upd-card__title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.2;
  color: var(--ink);
}
.page-home .upd-card--accent .upd-card__title { color: var(--paper); }
.page-home .upd-card__text {
  margin: 0 0 18px;
  font-size: .92rem;
  line-height: 1.76;
  color: #46505f;
}
.page-home .upd-card--accent .upd-card__text { color: rgba(247, 242, 232, .76); }
.page-home .upd-card__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}
.page-home .upd-card--accent .upd-card__link { color: var(--yellow); border-bottom-color: var(--red); }
.page-home .upd-card__link:hover { color: var(--red-deep); }

.page-home .upd-card__contact {
  margin: 0 0 18px;
  display: grid;
  gap: 0;
}
.page-home .upd-card__row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid rgba(17, 20, 24, .1);
}
.page-home .upd-card__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gray);
  align-self: center;
}
.page-home .upd-card__row dd {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}
.page-home .upd-card__row dd a {
  color: var(--red);
  text-decoration: none;
}
.page-home .upd-card__row dd a:hover { text-decoration: underline; }
.page-home .upd-card__note {
  margin: 0 0 16px;
  font-size: .82rem;
  line-height: 1.7;
  color: #5b6573;
}

/* ---------- 继续探索 ---------- */
.page-home .explore__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}
.page-home .explore__media {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  background: var(--ink);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}
.page-home .explore__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}
.page-home .explore__text {
  margin: 18px 0 26px;
  max-width: 52ch;
  font-size: .96rem;
  line-height: 1.82;
  color: rgba(247, 242, 232, .78);
}
.page-home .explore__links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.page-home .explore__links li { border-bottom: 1px solid var(--line); }
.page-home .explore__link {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc";
  gap: 3px 12px;
  padding-block: 15px;
  text-decoration: none;
  transition: background .2s ease;
}
.page-home .explore__link:hover,
.page-home .explore__link:focus-visible {
  background: rgba(247, 242, 232, .05);
}
.page-home .explore__link-idx {
  grid-area: idx;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--red);
}
.page-home .explore__link-name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}
.page-home .explore__link-desc {
  grid-area: desc;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 760px) {
  .page-home .records__grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
  .page-home .updates__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .upd-card--wide { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }
  .page-home .hero__lead {
    grid-column: 1 / 8;
    align-self: end;
    padding-bottom: 8px;
  }
  .page-home .hero__aside {
    grid-column: 9 / 13;
    margin-top: clamp(20px, 4vw, 56px);
  }

  .page-home .lanes__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
  }
  .page-home .lane--sync { grid-column: 1 / 7; }
  .page-home .lane--rank { grid-column: 7 / 13; margin-top: 68px; }
  .page-home .lanes__media { grid-column: 3 / 11; margin-top: 34px; }

  .page-home .leagues__grid {
    grid-template-columns: 1.25fr .85fr;
    align-items: start;
  }
  .page-home .leagues__media { aspect-ratio: 3 / 4; }

  .page-home .updates__grid {
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
  }
  .page-home .updates__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .explore__grid {
    grid-template-columns: .72fr 1.28fr;
    align-items: start;
  }

  .page-home .league-row {
    grid-template-columns: 2.8rem minmax(0, 1fr) auto auto;
    grid-template-areas: "idx name chip link";
    gap: 16px;
  }
  .page-home .league-row .chip { justify-self: end; }
}

@media (min-width: 1200px) {
  .page-home .hero__title { font-size: clamp(64px, 8.4vw, 132px); }
  .page-home .hero__media { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * { transition: none !important; }
}
</main>
