.page-home {
  --home-shell: 1400px;
  --home-pad: clamp(18px, 3.4vw, 44px);
  --home-gap: clamp(14px, 2vw, 26px);
  --home-hair: rgba(244, 240, 228, .12);
  --home-hair-2: rgba(244, 240, 228, .26);
  --home-ease: cubic-bezier(.22, .68, .32, 1);

  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

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

.page-home .home-shell {
  width: min(100%, var(--home-shell));
  margin-inline: auto;
  padding-inline: var(--home-pad);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin: 0;
}

.page-home p {
  margin: 0;
}

.page-home ul,
.page-home ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ---------- 上下文提示 ---------- */
.page-home .home-context {
  padding-top: clamp(14px, 2vw, 22px);
}

.page-home .home-context__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-home .home-context__now {
  color: var(--lime);
}

.page-home .home-context__sep {
  color: var(--muted);
}

.page-home .home-context__next {
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(18px, 2.6vw, 34px) clamp(44px, 5.6vw, 84px);
}

.page-home .hero-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
}

.page-home .hero-rail {
  background: var(--ink-800);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  padding: clamp(16px, 2vw, 20px);
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .rail-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .rail-head__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 245, 63, .16);
}

.page-home .rail-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .rail-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-home .rail-track::-webkit-scrollbar {
  height: 3px;
}

.page-home .rail-track::-webkit-scrollbar-thumb {
  background: var(--home-hair-2);
}

.page-home .teamchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid var(--home-hair-2);
  border-radius: var(--radius-s);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .2s var(--home-ease), background .2s var(--home-ease), color .2s var(--home-ease);
}

.page-home .teamchip:hover {
  border-color: var(--lime);
}

.page-home .teamchip.is-on {
  border-color: var(--lime);
  background: rgba(201, 245, 63, .1);
  color: var(--lime);
}

.page-home .teamchip__name {
  white-space: nowrap;
}

.page-home .teamchip__score {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .85;
}

.page-home .rail-board {
  border-top: 1px solid var(--home-hair);
  padding-top: 14px;
  display: grid;
  gap: 6px;
}

.page-home .rail-board__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .rail-board__score {
  font-family: var(--font-mono);
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--lime);
}

.page-home .rail-board__colon {
  color: var(--muted);
  margin-inline: 2px;
}

.page-home .rail-board__meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .rail-cards {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--home-hair);
  padding-top: 14px;
}

.page-home .cardpill {
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-home .cardpill__chip {
  display: block;
  width: 28px;
  height: 40px;
  border-radius: 2px;
}

.page-home .cardpill--amber .cardpill__chip {
  background: var(--amber);
}

.page-home .cardpill--red .cardpill__chip {
  background: var(--red);
}

.page-home .cardpill__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
}

.page-home .cardpill__label {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

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

.page-home .hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .hero-title {
  font-size: clamp(34px, 6.4vw, 74px);
  max-width: 16ch;
}

.page-home .hero-lede {
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .collage {
  margin: 0;
  background: var(--ink-800);
}

.page-home .collage--lead {
  position: relative;
  overflow: hidden;
}

.page-home .collage--lead img {
  width: 100%;
  aspect-ratio: 1280 / 860;
  object-fit: cover;
}

.page-home .collage--lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 16, 0) 42%, rgba(11, 20, 16, .8) 100%);
  pointer-events: none;
}

.page-home .collage__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--paper);
}

.page-home .collage--brief {
  padding: clamp(18px, 2.4vw, 26px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .collage__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .collage__head {
  font-size: clamp(20px, 2.4vw, 28px);
}

.page-home .collage__list {
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .collage__list li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-home .collage__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--lime);
}

.page-home .collage__foot {
  padding-top: 4px;
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding-block: clamp(52px, 7.4vw, 104px);
}

.page-home .home-block + .home-block {
  border-top: 1px solid var(--home-hair);
}

.page-home .home-block--save,
.page-home .home-block--watch {
  background: var(--ink-800);
}

.page-home .home-block--flow {
  background: var(--ink-950);
}

.page-home .home-head {
  display: grid;
  gap: 10px;
  max-width: 62ch;
}

.page-home .home-head__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .home-head__title {
  font-size: clamp(26px, 3.8vw, 46px);
}

.page-home .home-head__note {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- 关注清单 ---------- */
.page-home .save-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

.page-home .save-shot {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ink-900);
}

.page-home .save-shot img {
  width: 100%;
  aspect-ratio: 720 / 480;
  object-fit: cover;
}

.page-home .save-body {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .save-lede {
  max-width: 52ch;
  color: var(--paper);
}

.page-home .save-steps {
  display: grid;
  border-top: 1px solid var(--home-hair);
}

.page-home .save-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .save-step__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--lime);
  padding-top: 3px;
}

.page-home .save-step__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .fact-row li {
  display: grid;
  gap: 6px;
}

.page-home .fact-row strong {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .fact-row span {
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .save-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 54ch;
}

/* ---------- 更新节奏带 ---------- */
.page-home .rhythm {
  margin-top: clamp(24px, 3vw, 42px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--home-hair-2);
}

.page-home .rhythm__item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .rhythm__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 1px;
  height: 16px;
  background: var(--orange);
}

.page-home .rhythm__time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-home .rhythm__name {
  font-size: clamp(18px, 2vw, 22px);
}

.page-home .rhythm__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40ch;
}

/* ---------- 同一轮 ---------- */
.page-home .roundsheet {
  margin-top: clamp(22px, 3vw, 38px);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  background: var(--ink-800);
  overflow: hidden;
}

.page-home .roundsheet__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 14px clamp(16px, 2vw, 22px);
  background: var(--ink-950);
  border-bottom: 1px solid var(--home-hair);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-home .roundsheet__label {
  color: var(--lime);
}

.page-home .roundsheet__meta {
  color: var(--muted);
}

.page-home .roundrow {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "tag time"
    "text text";
  gap: 8px 12px;
  padding: 14px clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .roundrow:last-child {
  border-bottom: 0;
}

.page-home .roundrow__tag {
  grid-area: tag;
  justify-self: start;
  align-self: center;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.page-home .roundrow__time {
  grid-area: time;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--orange);
}

.page-home .roundrow__text {
  grid-area: text;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 判罚与走势 ---------- */
.page-home .watch-grid {
  margin-top: clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--home-hair);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .watch {
  background: var(--ink-900);
  padding: clamp(18px, 2.4vw, 30px);
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .watch__media {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-s);
  overflow: hidden;
}

.page-home .watch__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .watch__body {
  display: grid;
  gap: 10px;
}

.page-home .watch__name {
  font-size: clamp(20px, 2.2vw, 26px);
}

.page-home .watch__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 46ch;
}

.page-home .watch__list {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  font-size: 14px;
  color: var(--paper);
}

.page-home .watch__list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-home .watch__list li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--lime);
  transform: translateY(-4px);
}

.page-home .watch__mini {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 96px;
  padding: 12px;
  background: var(--ink-950);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-s);
}

.page-home .watch__bar {
  flex: 1 1 0;
  min-height: 5px;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, var(--lime), rgba(201, 245, 63, .22));
}

.page-home .watch__bar:nth-child(1) { height: 22%; }
.page-home .watch__bar:nth-child(2) { height: 46%; }
.page-home .watch__bar:nth-child(3) { height: 30%; }
.page-home .watch__bar:nth-child(4) { height: 68%; }
.page-home .watch__bar:nth-child(5) { height: 88%; }
.page-home .watch__bar:nth-child(6) { height: 40%; }

/* ---------- 比赛日动线 ---------- */
.page-home .flow-shot {
  margin: 0 0 clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .flow-shot img {
  width: 100%;
  aspect-ratio: 1080 / 620;
  object-fit: cover;
}

.page-home .flow {
  margin-top: clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--home-hair);
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .flow__step {
  background: var(--ink-950);
  padding: clamp(18px, 2.2vw, 26px);
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .flow__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .flow__name {
  font-size: clamp(17px, 1.9vw, 21px);
}

.page-home .flow__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 内容合作 ---------- */
.page-home .coop {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

.page-home .coop__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .coop__title {
  margin-top: 10px;
  margin-bottom: 14px;
  font-size: clamp(26px, 3.4vw, 42px);
}

.page-home .coop__text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 54ch;
}

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

.page-home .coop__list {
  display: grid;
  gap: 12px;
  padding-block: 18px;
  margin-bottom: 20px;
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .coop__list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-home .coop__list li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--lime);
  transform: translateY(-4px);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 940px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(250px, 3fr) minmax(0, 9fr);
    gap: clamp(24px, 3vw, 46px);
  }

  .page-home .hero-rail {
    position: sticky;
    top: calc(var(--header-h) + 52px);
  }

  .page-home .hero-collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .collage--lead {
    grid-column: 1 / 8;
  }

  .page-home .collage--brief {
    grid-column: 8 / 13;
  }

  .page-home .roundrow {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "tag text time";
    align-items: center;
    gap: 14px;
  }

  .page-home .roundrow__text {
    grid-area: text;
  }
}

@media (min-width: 860px) {
  .page-home .save-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

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

  .page-home .coop {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

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

  .page-home .rhythm__item {
    padding: 24px;
    border-bottom: 0;
    border-right: 1px solid var(--home-hair);
  }

  .page-home .rhythm__item:first-child {
    padding-left: 0;
  }

  .page-home .rhythm__item:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (min-width: 760px) {
  .page-home .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page-home .fact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-home .fact-row li {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: baseline;
  }

  .page-home .collage__list li {
    grid-template-columns: 54px minmax(0, 1fr);
  }
}
