.page-home {
  --home-rail: 106px;
  --home-tilt: 22px;
  --home-line: rgba(199, 206, 210, 0.18);
  --home-line-strong: rgba(199, 206, 210, 0.36);
  background: var(--ink-green);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ---------- 页面上下文条 ---------- */
.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 2px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

.page-home .home-context__text {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------- 首屏舞台 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 3vw, 38px) 0 clamp(44px, 5vw, 80px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(114deg, rgba(19, 20, 23, 0) 0 54%, rgba(19, 20, 23, 0.92) 54% 100%),
    linear-gradient(162deg, var(--ink-green) 0%, #0a201a 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  z-index: -1;
  width: min(56vw, 640px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 106, 26, 0.2), transparent 66%);
  pointer-events: none;
}

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

/* ---------- 左侧序号轨道 ---------- */
.page-home .home-rail__label {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: var(--text-mute);
}

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

.page-home .home-rail__item {
  flex: 0 0 auto;
}

.page-home .home-rail__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-mute);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .home-rail__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--silver);
  transition: color 0.2s ease;
}

.page-home .home-rail__text {
  font-size: 13px;
  white-space: nowrap;
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  color: var(--paper);
  border-left-color: var(--signal);
  background: rgba(255, 106, 26, 0.09);
}

.page-home .home-rail__link:hover .home-rail__num,
.page-home .home-rail__link:focus-visible .home-rail__num {
  color: var(--signal);
}

/* ---------- Bento 信息板 ---------- */
.page-home .home-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .home-bento__focus {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  background:
    linear-gradient(154deg, var(--deep-turf) 0%, #0d372c 58%, var(--carbon) 100%);
  border: 1px solid var(--home-line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-tilt)), calc(100% - var(--home-tilt)) 100%, 0 100%);
}

.page-home .home-title {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .home-lede {
  margin: 0 0 24px;
  max-width: 44ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
  color: var(--text-soft);
}

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

.page-home .home-bento__visual {
  margin: 0;
  min-height: 240px;
}

.page-home .home-bento__visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.page-home .home-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 40px 18px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--carbon);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--silver);
  transition: border-left-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.page-home .home-stat__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

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

.page-home .home-stat__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translate(-4px, -50%);
  color: var(--signal);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .home-stat:hover,
.page-home .home-stat:focus-visible {
  border-left-color: var(--signal);
  transform: translateX(2px);
  background: #17191d;
}

.page-home .home-stat:hover .home-stat__arrow,
.page-home .home-stat:focus-visible .home-stat__arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  padding: clamp(44px, 6vw, 86px) 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-section--carbon {
  background: var(--carbon);
}

.page-home .home-section--turf {
  background:
    linear-gradient(180deg, #10362b 0%, var(--ink-green) 100%);
}

.page-home .home-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.page-home .home-head .section__title {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--paper);
}

.page-home .home-head .section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .home-note {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

/* ---------- 标签页 ---------- */
.page-home .home-tabs .tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--home-line);
  scrollbar-width: none;
}

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

.page-home .home-tabs .tabs__tab {
  flex: 0 0 auto;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-tabs .tabs__tab[aria-selected="true"] {
  color: var(--paper);
  border-bottom-color: var(--signal);
}

.page-home .home-tabs .tabs__tab:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.page-home .home-tabpanel {
  padding-top: 24px;
}

.page-home .home-tabpanel:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

/* ---------- 轮次序列 ---------- */
.page-home .round-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(186px, 224px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .round-strip:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-home .round-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  background: var(--deep-turf);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--silver);
  transition: border-left-color 0.2s ease, transform 0.2s ease;
}

.page-home .round-card:hover {
  transform: translateX(2px);
  border-left-color: var(--amber);
}

.page-home .round-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(199, 206, 210, 0.55);
}

.page-home .round-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .round-card__state {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.page-home .round-card--current {
  border-left-color: var(--signal);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.4);
}

.page-home .round-card--current .round-card__num {
  color: var(--signal);
}

.page-home .round-card__state--live {
  color: var(--amber);
}

.page-home .round-card--next {
  border-left-style: dashed;
}

.page-home .round-card--next .round-card__num {
  color: rgba(199, 206, 210, 0.32);
}

/* ---------- 比分速览面板 ---------- */
.page-home .score-panel {
  max-width: 720px;
}

.page-home .score-panel__lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .score-panel__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px dashed var(--home-line);
}

.page-home .score-panel__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--home-line);
  font-size: 15px;
  color: var(--text-soft);
}

.page-home .score-panel__idx {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
}

/* ---------- 实时比分区 ---------- */
.page-home .live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .live-board {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(150deg, var(--deep-turf) 0%, #0b2b22 100%);
  border: 1px solid var(--home-line-strong);
  border-top: 3px solid var(--signal);
}

.page-home .live-board__tag {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: var(--amber);
}

.page-home .score-board {
  position: relative;
  border: 1px solid var(--home-line-strong);
  background: rgba(19, 20, 23, 0.72);
  padding: 6px 0 0;
}

.page-home .score-board__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .score-board__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.page-home .score-board__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.page-home .score-board__value--live {
  color: var(--signal);
}

.page-home .score-board__value--dim {
  font-size: 16px;
  color: var(--silver);
}

.page-home .score-board__ticks {
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(199, 206, 210, 0.4) 0 1px,
    transparent 1px 14px
  );
}

.page-home .live-board__text {
  margin: 18px 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .live-media {
  margin: 0;
  min-height: 200px;
}

.page-home .live-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.page-home .live-next {
  padding: 22px;
  background: var(--carbon);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--amber);
}

.page-home .live-next__label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--amber);
}

.page-home .live-next__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--paper);
}

.page-home .live-next__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
}

/* ---------- 往期战报 ---------- */
.page-home .archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .archive-main__text {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .archive-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-home .archive-list__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--home-line);
  font-size: 15px;
  color: var(--text-soft);
}

.page-home .archive-list__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
}

.page-home .archive-side {
  padding: 22px;
  background: var(--deep-turf);
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--amber);
}

.page-home .archive-side__label {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: var(--amber);
}

.page-home .archive-side__line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dashed var(--home-line);
}

.page-home .archive-side__line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .archive-side__k {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-home .archive-side__v {
  font-size: 15px;
  color: var(--paper);
}

/* ---------- 旧版本资料 ---------- */
.page-home .legacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .legacy-media {
  margin: 0;
  position: relative;
}

.page-home .legacy-media::after {
  content: "";
  position: absolute;
  top: 14px;
  left: -8px;
  width: 74px;
  height: 26px;
  background: var(--archive);
  transform: rotate(-4deg);
  opacity: 0.9;
  pointer-events: none;
}

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

.page-home .legacy-body__text {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .legacy-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .legacy-step {
  padding: 18px;
  background: rgba(122, 33, 53, 0.14);
  border: 1px solid rgba(122, 33, 53, 0.55);
  border-left: 3px solid var(--archive);
}

.page-home .legacy-step__num {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.page-home .legacy-step__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--paper);
}

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

/* ---------- 首次到访步骤 ---------- */
.page-home .start-path {
  list-style: none;
  margin: 0 0 clamp(26px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  counter-reset: none;
}

.page-home .start-step {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--deep-turf);
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--signal);
}

.page-home .start-step__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
}

.page-home .start-step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--paper);
}

.page-home .start-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
}

.page-home .start-band {
  margin: 0 0 18px;
}

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

.page-home .start-more {
  margin: 0;
  font-size: 14px;
  color: var(--text-mute);
}

.page-home .start-more a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .start-more a:hover,
.page-home .start-more a:focus-visible {
  color: var(--amber);
}

/* ---------- 栏目分工 ---------- */
.page-home .role-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.page-home .role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 52px 24px 22px;
  text-decoration: none;
  color: inherit;
  background: var(--carbon);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--silver);
  transition: border-left-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.page-home .role-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: rgba(199, 206, 210, 0.6);
  transition: color 0.2s ease;
}

.page-home .role-card__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-home .role-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
}

.page-home .role-card__arrow {
  position: absolute;
  right: 20px;
  top: 26px;
  font-size: 20px;
  line-height: 1;
  color: var(--signal);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .role-card:hover,
.page-home .role-card:focus-visible {
  border-left-color: var(--signal);
  transform: translateX(2px);
  background: #17191d;
}

.page-home .role-card:hover .role-card__num,
.page-home .role-card:focus-visible .role-card__num {
  color: var(--signal);
}

.page-home .role-card:hover .role-card__arrow,
.page-home .role-card:focus-visible .role-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 760px) {
  .page-home .home-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .home-bento__focus {
    grid-column: span 7;
  }

  .page-home .home-bento__visual {
    grid-column: span 5;
  }

  .page-home .home-stat {
    grid-column: span 3;
  }

  .page-home .live-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .page-home .live-board {
    grid-column: span 7;
  }

  .page-home .live-media {
    grid-column: span 5;
  }

  .page-home .live-next {
    grid-column: span 12;
  }

  .page-home .archive-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
  }

  .page-home .legacy-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
  }

  .page-home .legacy-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .start-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .page-home .role-card {
    grid-column: span 6;
  }

  .page-home .role-card--wide {
    grid-column: span 12;
  }
}

@media (min-width: 960px) {
  .page-home .home-stage {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 44px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 108px;
  }

  .page-home .home-rail__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--home-line);
  }

  .page-home .home-rail__link {
    padding: 10px 12px;
  }

  .page-home .home-bento {
    grid-auto-rows: minmax(104px, auto);
  }

  .page-home .home-bento__focus {
    grid-row: span 3;
  }

  .page-home .home-bento__visual {
    grid-row: span 3;
  }

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

  .page-home .live-next {
    grid-column: span 12;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label label"
      "title link"
      "text link";
    align-items: center;
    column-gap: 28px;
  }

  .page-home .live-next__label {
    grid-area: label;
  }

  .page-home .live-next__title {
    grid-area: title;
  }

  .page-home .live-next__text {
    grid-area: text;
    margin-bottom: 0;
  }

  .page-home .live-next .arrow-link {
    grid-area: link;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-stat,
  .page-home .role-card,
  .page-home .round-card,
  .page-home .home-rail__link,
  .page-home .home-stat__arrow,
  .page-home .role-card__arrow {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    transform: none;
  }

  .page-home .home-stat:hover,
  .page-home .home-stat:focus-visible,
  .page-home .role-card:hover,
  .page-home .role-card:focus-visible,
  .page-home .round-card:hover {
    transform: none;
  }
}
