.page-home {
  --home-sticky-top: 24px;
  --home-rail-w: 216px;
  color: var(--text);
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .home-crumb {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px var(--pad) 0;
}

.page-home .eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--text-strong);
}

/* ---------- 首屏 ---------- */
.page-home .masthead {
  position: relative;
  display: grid;
  gap: 32px;
  padding: clamp(24px, 5vw, 64px) var(--pad) clamp(36px, 6vw, 72px);
  overflow: clip;
}

.page-home .masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(42, 27, 61, .92), rgba(14, 16, 20, 0) 62%),
    repeating-linear-gradient(90deg, rgba(201, 206, 216, .04) 0 1px, transparent 1px 64px);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  pointer-events: none;
}

.page-home .masthead__copy,
.page-home .masthead__visual {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  width: 100%;
}

.page-home h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--text-strong);
  text-wrap: balance;
}

.page-home .lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.page-home .masthead__search {
  max-width: 520px;
  margin-bottom: 24px;
}

.page-home .masthead__search .command-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-800);
  transition: border-color var(--dur) var(--ease);
}

.page-home .masthead__search .command-search:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .12);
}

.page-home .command-search__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-mute);
}

.page-home .command-search__icon {
  color: var(--cyan);
  font-size: 16px;
  line-height: 1;
}

.page-home .masthead__search .command-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font-family: var(--sans);
  font-size: 15px;
}

.page-home .masthead__search .command-search__input:focus {
  outline: none;
}

.page-home .command-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-mute);
}

.page-home .command-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.page-home .command-status[data-state="empty"] .command-status__dot {
  background: var(--danger);
}

.page-home .hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--ink-800);
}

.page-home .hero-stat__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
  color: var(--orange);
}

.page-home .hero-stat:nth-child(2) .hero-stat__num { color: var(--orange-soft); }
.page-home .hero-stat:nth-child(3) .hero-stat__num { color: var(--cyan); }
.page-home .hero-stat:nth-child(4) .hero-stat__num { color: var(--mint); }

.page-home .hero-stat__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-mute);
}

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

.page-home .masthead__frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-800);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

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

.page-home .masthead__visual::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: radial-gradient(circle at 72% 26%, rgba(255, 138, 0, .24), transparent 58%);
  filter: blur(28px);
  pointer-events: none;
}

.page-home .masthead__stamp {
  position: absolute;
  right: 12px;
  bottom: -12px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-900);
  background: var(--orange);
  border-radius: 2px;
}

/* ---------- 版本状态条 ---------- */
.page-home .version-strip {
  border-block: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(42, 27, 61, .78), rgba(28, 31, 38, .55));
}

.page-home .version-strip__inner {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 16px var(--pad);
}

.page-home .version-strip__lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-home .version-strip__ver {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .version-strip__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text);
}

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

.page-home .version-strip__list .mono {
  font-size: 11px;
  color: var(--cyan);
}

.page-home .version-strip__inner .btn {
  margin-left: auto;
}

/* ---------- 战队索引地图 ---------- */
.page-home .league-map {
  position: relative;
  padding: clamp(44px, 7vw, 88px) var(--pad);
}

.page-home .league-map__head {
  max-width: var(--shell);
  margin: 0 auto 26px;
}

.page-home .league-map__hint {
  margin: 0;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
}

.page-home .league-map__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.page-home .league-map__grid {
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.page-home .league-rail {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-800);
}

.page-home .league-map:has(.league-map__radio:focus-visible) .league-rail {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .rail-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.page-home .rail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .chip:hover {
  border-color: var(--orange);
  color: var(--orange-soft);
}

.page-home .league-map:has(#lg-all:checked) .chip[for="lg-all"],
.page-home .league-map:has(#lg-lpl:checked) .chip[for="lg-lpl"],
.page-home .league-map:has(#lg-kpl:checked) .chip[for="lg-kpl"],
.page-home .league-map:has(#lg-sub:checked) .chip[for="lg-sub"],
.page-home .league-map:has(#st-all:checked) .chip[for="st-all"],
.page-home .league-map:has(#st-hi:checked) .chip[for="st-hi"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #0E1014;
  font-weight: 700;
}

.page-home .rail-link {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .rail-link:hover {
  color: var(--orange-soft);
}

.page-home .league-map:has(#lg-lpl:checked) .team-card:not(.is-lpl),
.page-home .league-map:has(#lg-kpl:checked) .team-card:not(.is-kpl),
.page-home .league-map:has(#lg-sub:checked) .team-card:not(.is-sub),
.page-home .league-map:has(#st-hi:checked) .team-card.is-star-low {
  display: none;
}

.page-home .team-stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 8px;
}

.page-home .team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-800);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .team-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 138, 0, 0));
}

.page-home .team-card:hover {
  border-color: rgba(255, 138, 0, .5);
  transform: translateY(-2px);
}

.page-home .team-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.page-home .team-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  background: linear-gradient(160deg, var(--orange), var(--orange-soft));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.page-home .team-card.is-kpl .team-badge {
  background: linear-gradient(160deg, var(--cyan), var(--mint));
}

.page-home .team-card.is-sub .team-badge {
  background: linear-gradient(160deg, var(--paper), #d3c2a4);
}

.page-home .team-card__id {
  min-width: 0;
}

.page-home .team-card__no {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-mute);
}

.page-home .team-card__name {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .bounty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  flex: 0 0 auto;
}

.page-home .bounty__star {
  width: 14px;
  height: 14px;
  fill: var(--orange);
}

.page-home .bounty__score {
  font-size: 13px;
  color: var(--orange-soft);
}

.page-home .team-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.page-home .team-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px dashed var(--line-strong);
}

.page-home .team-card__meta div {
  min-width: 0;
}

.page-home .team-card__meta dt {
  margin-bottom: 2px;
  font-size: 11px;
  color: var(--text-mute);
}

.page-home .team-card__meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-strong);
}

.page-home .team-card__meta .mono {
  color: var(--cyan);
}

.page-home .disclosure {
  border-top: 1px solid var(--line);
}

.page-home .disclosure__summary {
  padding: 8px 0;
  font-size: 13px;
  color: var(--cyan);
  cursor: pointer;
  list-style: none;
}

.page-home .disclosure__summary::-webkit-details-marker {
  display: none;
}

.page-home .disclosure__summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  font-family: var(--mono);
  color: var(--orange);
}

.page-home .disclosure[open] .disclosure__summary::before {
  content: "−";
}

.page-home .disclosure__body {
  padding-bottom: 4px;
}

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

.page-home .bp-mini li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .bp-mini .mono {
  flex: 0 0 auto;
  color: var(--text-mute);
  font-size: 11px;
}

/* ---------- 最近对局 ---------- */
.page-home .match-section {
  padding: clamp(44px, 7vw, 88px) var(--pad);
  background: linear-gradient(180deg, rgba(28, 31, 38, .55), rgba(14, 16, 20, 0));
}

.page-home .match-section > .eyebrow,
.page-home .match-section > .title,
.page-home .match-section > .match-section__lede,
.page-home .match-section > .match-layout {
  max-width: var(--shell);
  margin-inline: auto;
}

.page-home .match-section__lede {
  margin-top: 0;
  margin-bottom: 28px;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mute);
}

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

.page-home .match-layout__figure {
  margin: 0;
}

.page-home .match-layout__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-home .match-layout__cap {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-mute);
}

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

.page-home .match-item {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--violet-900);
  border-radius: var(--radius);
  background: var(--ink-800);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .match-item:hover {
  border-left-color: var(--cyan);
  background: #191C23;
}

.page-home .match-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .match-item__round,
.page-home .match-item__nodes {
  font-size: 11px;
  color: var(--text-mute);
}

.page-home .match-item__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .timecode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .timecode {
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .timecode:hover {
  border-color: var(--cyan);
  color: var(--text-strong);
}

/* ---------- BP 速览 ---------- */
.page-home .bp-section {
  padding: clamp(44px, 7vw, 88px) var(--pad);
}

.page-home .bp-section > * {
  max-width: var(--shell);
  margin-inline: auto;
}

.page-home .bp-section__lede {
  margin-top: 0;
  margin-bottom: 28px;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mute);
}

.page-home .bp-layout {
  display: grid;
  gap: 26px;
}

.page-home .bp-layout__figure {
  margin: 0;
}

.page-home .bp-layout__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-home .bp-dims {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-home .bp-dim {
  padding: 16px;
  background: var(--ink-800);
  border-top: 2px solid transparent;
}

.page-home .bp-dim:nth-child(1) { border-top-color: var(--orange); }
.page-home .bp-dim:nth-child(2) { border-top-color: var(--cyan); }
.page-home .bp-dim:nth-child(3) { border-top-color: var(--mint); }
.page-home .bp-dim:nth-child(4) { border-top-color: var(--orange-soft); }
.page-home .bp-dim:nth-child(5) { border-top-color: var(--danger); }

.page-home .bp-dim__idx {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--text-mute);
}

.page-home .bp-dim__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .bp-dim__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .bp-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(42, 27, 61, .7), rgba(28, 31, 38, .4));
}

.page-home .bp-note__num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .bp-note__text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- 订阅 ---------- */
.page-home .sub-section {
  padding: clamp(44px, 7vw, 88px) var(--pad);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 27, 61, .55), rgba(14, 16, 20, 0));
}

.page-home .sub-section__inner {
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .sub-section__figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-800);
}

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

.page-home .sub-section__lede {
  margin: 0 0 20px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}

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

.page-home .tier {
  display: grid;
  gap: 2px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--orange);
}

.page-home .tier:nth-child(2) { border-left-color: var(--cyan); }
.page-home .tier:nth-child(3) { border-left-color: var(--mint); }

.page-home .tier__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
}

.page-home .tier__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mute);
}

.page-home .sub-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .sub-section__path {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--cyan);
}

/* ---------- 收尾 ---------- */
.page-home .home-closing {
  position: relative;
  padding: clamp(40px, 6vw, 72px) var(--pad);
  background: var(--paper);
  color: #24211C;
}

.page-home .home-closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 33, 28, .1) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

.page-home .home-closing__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .home-closing .eyebrow {
  color: #9A5200;
}

.page-home .home-closing .title {
  color: #1A1712;
}

.page-home .home-closing__text {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.85;
  color: #3B362D;
}

.page-home .home-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.page-home .closing-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #24211C;
  text-decoration: none;
  border-bottom: 2px solid rgba(36, 33, 28, .32);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .closing-link:hover {
  color: #9A5200;
  border-bottom-color: var(--orange);
}

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

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

  .page-home .bp-dim:last-child {
    grid-column: span 2;
  }

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

@media (min-width: 900px) {
  .page-home .masthead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
  }

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

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

  .page-home .sub-section__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-home .home-closing__inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

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

@media (min-width: 960px) {
  .page-home .league-map__grid {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: 36px;
  }

  .page-home .league-rail {
    position: sticky;
    top: var(--home-sticky-top);
  }

  .page-home .team-stream {
    padding-bottom: 28px;
  }

  .page-home .team-stream > :nth-child(even) {
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .team-card,
  .page-home .match-item,
  .page-home .chip,
  .page-home .timecode,
  .page-home .closing-link {
    transition: none;
  }

  .page-home .team-card:hover {
    transform: none;
  }

  .page-home .team-stream > :nth-child(even) {
    transform: none;
  }
}
<<<END>>>
