.page-home {
  --home-gap: clamp(20px, 3vw, 40px);
  --home-rule: 2px solid var(--pine);
  background-color: var(--ink);
  color: var(--silver);
  overflow-x: hidden;
}

/* 页面上下文条 */
.page-home .home-context {
  border-bottom: var(--home-rule);
  background: linear-gradient(90deg, var(--ink) 0%, var(--pine) 100%);
}

.page-home .home-context__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
}

.page-home .home-context__path,
.page-home .home-context__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
}

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

.page-home .home-context__meta {
  color: var(--orange-soft);
}

/* 首屏 */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 6vw, 84px);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  opacity: 0.4;
  filter: saturate(0.65) brightness(0.62);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(7, 18, 14, 0.95) 0%, rgba(7, 18, 14, 0.86) 42%, rgba(7, 18, 14, 0.66) 100%),
    radial-gradient(120% 80% at 88% 20%, rgba(0, 229, 192, 0.08) 0%, transparent 60%);
}

.page-home .home-hero__tactic {
  position: absolute;
  top: 50%;
  right: -10%;
  z-index: -1;
  width: min(760px, 96vw);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.1;
  pointer-events: none;
}

.page-home .home-hero__tactic circle,
.page-home .home-hero__tactic line,
.page-home .home-hero__tactic rect,
.page-home .home-hero__tactic path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

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

.page-home .home-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

.page-home .home-hero__em {
  display: block;
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-hero__lede {
  max-width: 48ch;
  margin: 26px 0 0;
  color: var(--silver);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* 赛季快速切换 */
.page-home .home-season {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(32px, 5vw, 52px);
  padding: 16px 18px;
  border: var(--home-rule);
  background-color: rgba(14, 33, 27, 0.78);
  box-shadow: var(--shadow-hard);
}

.page-home .home-season__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-season .season-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-home .home-season .season-readout {
  margin: 0 0 0 auto;
  font-size: 13px;
  line-height: 1.6;
  color: var(--orange-soft);
}

/* 章节公共头部 */
.page-home .home-head {
  position: relative;
  max-width: 860px;
  margin: 0 0 clamp(28px, 4vw, 52px);
  padding-top: 24px;
  border-top: var(--home-rule);
}

.page-home .home-head__no {
  position: absolute;
  top: -16px;
  left: 0;
  display: inline-block;
  padding: 4px 12px;
  border: 2px solid var(--pine);
  background-color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--orange);
}

.page-home .home-head__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--white);
}

.page-home .home-head__desc {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

/* 章节节奏 */
.page-home .home-live,
.page-home .home-timeline,
.page-home .home-snapshot,
.page-home .home-paths {
  padding: clamp(52px, 8vw, 112px) 0;
}

.page-home .home-timeline {
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
  background-color: rgba(20, 48, 42, 0.32);
}

.page-home .home-brand {
  padding: clamp(56px, 8vw, 116px) 0;
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
  background: linear-gradient(158deg, var(--panel) 0%, var(--ink) 66%);
}

/* 比赛日更新 */
.page-home .home-live__grid {
  gap: var(--home-gap);
}

.page-home .home-live__main,
.page-home .home-live__side {
  min-width: 0;
}

.page-home .home-live__side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-home .home-live__card {
  padding: 22px 20px;
  border: 2px solid var(--orange);
  background-color: var(--pine);
  box-shadow: var(--shadow-hard);
}

.page-home .home-live__cardTime {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .home-live__cardTitle {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.page-home .home-live__cardText {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--silver);
}

/* 标签页 */
.page-home .tabs__list {
  display: flex;
  gap: 0;
  margin: 0 0 22px;
  border-bottom: var(--home-rule);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-home .tab {
  flex: none;
  padding: 12px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .tab:hover {
  color: var(--cyan-soft);
}

.page-home .tab[aria-selected="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 2px;
}

/* 更新条目 */
.page-home .home-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-rule);
}

.page-home .home-feed__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 15px 12px 15px 0;
  border-bottom: var(--home-rule);
  transition: background-color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.page-home .home-feed__item:hover {
  background-color: rgba(0, 229, 192, 0.06);
  padding-left: 12px;
}

.page-home .home-feed__time {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .home-feed__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--silver);
}

/* 赛季时间轴 */
.page-home .home-timeline__grid {
  gap: var(--home-gap);
}

.page-home .home-timeline__figure {
  margin: 0;
}

.page-home .home-timeline__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-timeline__list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--pine) 55%, rgba(20, 48, 42, 0) 100%);
}

.page-home .home-timeline__node {
  position: relative;
  padding: 0 0 30px 42px;
}

.page-home .home-timeline__node:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__node::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted);
  background-color: var(--ink);
  transform: rotate(45deg);
}

.page-home .home-timeline__node:first-child::before {
  border-color: var(--cyan);
  background-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 192, 0.2);
}

.page-home .home-timeline__node--early::before {
  border-style: dashed;
  border-color: var(--orange);
}

.page-home .home-timeline__body {
  padding: 14px 18px;
  border: var(--home-rule);
  background-color: rgba(14, 33, 27, 0.66);
  transition: border-color 0.26s var(--ease), transform 0.26s var(--ease);
}

.page-home .home-timeline__node:hover .home-timeline__body {
  border-color: var(--cyan);
  transform: translateX(4px);
}

.page-home .home-timeline__name {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
}

.page-home .home-timeline__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0 0 10px;
}

.page-home .home-timeline__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-timeline__stat dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .home-timeline__stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
}

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

/* 栏目与版本快照 */
.page-home .home-snapshot__cards {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: 1fr;
}

.page-home .home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 22px;
  border: 2px solid var(--pine);
  background-color: var(--panel);
  box-shadow: var(--shadow-hard);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .home-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--cyan);
}

.page-home .home-card__no {
  align-self: flex-start;
  padding: 4px 12px 4px 9px;
  background-color: var(--cyan);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.page-home .home-card--sm .home-card__no {
  background-color: var(--orange-soft);
}

.page-home .home-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

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

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

.page-home .home-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .home-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background-color: var(--cyan);
}

.page-home .home-card__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .home-card__link:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* 品牌资料 */
.page-home .home-brand__grid {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: 1fr;
}

.page-home .home-brand__figure {
  margin: 0;
}

.page-home .home-brand__body {
  min-width: 0;
}

.page-home .home-brand__text {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.82;
  color: var(--silver);
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  border: var(--home-rule);
  background-color: var(--pine);
}

.page-home .home-stats li {
  padding: 18px 16px;
  background-color: var(--ink);
}

.page-home .home-stats__num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-stats__unit {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
}

.page-home .home-stats__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-brand__cta {
  margin-top: 4px;
}

/* 三条上手路径 */
.page-home .home-paths__grid {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: 1fr;
}

.page-home .home-path {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  border: 2px solid var(--muted);
  background-color: var(--ink);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.26s var(--ease), background-color 0.26s var(--ease), transform 0.26s var(--ease);
}

.page-home .home-path:hover {
  border-color: var(--cyan);
  background-color: var(--panel);
  transform: translateY(-3px);
}

.page-home .home-path__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border: 2px solid var(--pine);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange-soft);
}

.page-home .home-path__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
}

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

.page-home .home-path__go {
  padding-top: 14px;
  border-top: var(--home-rule);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-path:hover .home-path__go {
  color: var(--cyan-soft);
}

/* 响应式 */
@media (min-width: 560px) {
  .page-home .home-context__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

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

@media (min-width: 860px) {
  .page-home .home-snapshot__cards {
    grid-template-columns: 1.6fr 1.05fr 0.85fr;
    align-items: start;
  }

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

@media (min-width: 960px) {
  .page-home .home-brand__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
  }

  .page-home .home-timeline__figure {
    position: sticky;
    top: calc(var(--ticker-h) + 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card:hover,
  .page-home .home-path:hover,
  .page-home .home-timeline__node:hover .home-timeline__body {
    transform: none;
  }
}
