.page-home {
  background: var(--ink-900);
  color: var(--fog);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home a:focus-visible,
.page-home .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- hero ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 clamp(2.2rem, 6vw, 4.2rem);
  background:
    radial-gradient(90% 70% at 92% -12%, rgba(34, 211, 238, .18), transparent 62%),
    radial-gradient(80% 62% at 0% 2%, rgba(255, 122, 26, .16), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

.page-home .hero__wedge {
  position: absolute;
  z-index: -1;
  top: -36%;
  right: -32%;
  width: 78%;
  height: 155%;
  pointer-events: none;
  border-radius: 60px;
  transform: rotate(13deg);
  background: linear-gradient(155deg, rgba(255, 122, 26, .22), rgba(34, 211, 238, .1) 55%, transparent 78%);
}

.page-home .hero__grid {
  display: grid;
  gap: 1.6rem;
}

.page-home .hero__aside {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-width: 0;
}

.page-home .hero__title {
  margin: .2rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 7.4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--fog);
}

.page-home .hero__lead {
  margin: 0;
  font-size: clamp(.95rem, 2.6vw, 1.05rem);
  line-height: 1.78;
  color: rgba(244, 247, 251, .78);
  max-width: 46ch;
}

.page-home .jump {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .2rem .1rem .5rem;
  scrollbar-width: thin;
}

.page-home .jump__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(6, 18, 37, .5);
  color: var(--steel);
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.page-home .jump__link:hover {
  color: var(--fog);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .jump__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--orange);
}

/* 收藏队列面板 */
.page-home .queue {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 44, 78, .94), rgba(6, 18, 37, .94));
  box-shadow: var(--shadow-lift);
}

.page-home .queue__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-home .queue > *:not(.queue__bg) {
  position: relative;
  z-index: 1;
}

.page-home .queue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.page-home .queue__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--ice);
}

.page-home .queue__list {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
}

.page-home .queue__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
  padding: .6rem 0;
  border-top: 1px dashed rgba(43, 71, 107, .9);
}

.page-home .queue__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .14);
}

.page-home .queue__meta {
  font-size: .88rem;
  line-height: 1.45;
  color: var(--fog);
}

.page-home .queue__sub {
  font-size: .76rem;
  color: var(--steel);
}

.page-home .queue__time {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--steel);
  white-space: nowrap;
}

.page-home .queue__note {
  margin: .7rem 0 0;
  font-size: .78rem;
  line-height: 1.65;
  color: rgba(143, 163, 191, .95);
}

.page-home .queue__link {
  display: inline-block;
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 177, 92, .35);
}

.page-home .queue__link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* 比分看板 */
.page-home .hero__board {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-home .board {
  position: relative;
  overflow: hidden;
  padding: clamp(1.05rem, 4vw, 1.9rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900) 74%);
  box-shadow: var(--shadow-lift);
}

.page-home .board__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-home .board > *:not(.board__bg) {
  position: relative;
  z-index: 1;
}

.page-home .board__top {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.page-home .board__comp {
  font-family: var(--font-serif);
  font-size: .86rem;
  color: var(--ice);
}

.page-home .board__clock {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--amber);
}

.page-home .score {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: clamp(.8rem, 3.6vw, 1.5rem) 0 clamp(.6rem, 2.4vw, 1rem);
}

.page-home .score__team {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.9rem, 3vw, 1.1rem);
  color: var(--fog);
}

.page-home .score__team--away {
  text-align: right;
}

.page-home .score__nums {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
}

.page-home .score__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.6rem, 15vw, 4.8rem);
  line-height: 1;
  color: var(--orange);
}

.page-home .score__sep {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 7vw, 2.4rem);
  color: var(--amber);
  opacity: .85;
}

.page-home .board__mini {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .board__mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .7rem;
  padding: .55rem .1rem;
  border-top: 1px dashed rgba(43, 71, 107, .9);
  font-size: .84rem;
}

.page-home .board__mini-comp {
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .board__mini-score {
  font-family: var(--font-mono);
  color: var(--fog);
}

.page-home .board__mini-state {
  font-size: .72rem;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .board__foot {
  display: inline-block;
  margin-top: .9rem;
  font-size: .84rem;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 177, 92, .35);
}

.page-home .board__foot:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* 对照入口卡 */
.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 211, 238, .38);
  background: linear-gradient(120deg, rgba(34, 211, 238, .14), rgba(255, 122, 26, .1));
  text-decoration: none;
  color: var(--fog);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .entry-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.page-home .entry-card__tag {
  font-family: var(--font-serif);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ice);
}

.page-home .entry-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  line-height: 1.4;
}

.page-home .entry-card__meta {
  font-size: .8rem;
  color: var(--steel);
}

.page-home .entry-card__cta {
  margin-top: .15rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--orange);
}

/* ---------- 通用章节 ---------- */
.page-home .hp-sec {
  position: relative;
  padding: clamp(2.3rem, 7vw, 4.4rem) 0;
}

.page-home .hp-sec--timeline {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.page-home .hp-sec--compare {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(34, 211, 238, .1), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

.page-home .hp-sec--queue {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.page-home .hp-sec--trust {
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(255, 122, 26, .12), transparent 62%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

.page-home .hp-sec--entry {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.page-home .hp-sec__head {
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.page-home .hp-sec__title {
  margin: .35rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--fog);
}

.page-home .hp-sec__lead {
  margin: .6rem 0 0;
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(244, 247, 251, .74);
}

.page-home .hp-sec__more {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: .88rem;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, .4);
}

.page-home .hp-sec__more:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ---------- 时间轴 / 卡片切换 ---------- */
.page-home .tl {
  position: relative;
}

.page-home .tl__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-home .tl__switch {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.page-home .tl__switch label {
  cursor: pointer;
  padding: .42rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: .84rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .tl__switch label:hover {
  color: var(--fog);
  border-color: var(--cyan);
}

.page-home #tl-ax:checked ~ .tl__switch label[for="tl-ax"],
.page-home #tl-cd:checked ~ .tl__switch label[for="tl-cd"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-900);
  font-weight: 700;
}

.page-home .tl__radio:focus-visible ~ .tl__switch label {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

.page-home #tl-ax:checked ~ .tl__stage .tl__cards {
  display: none;
}

.page-home #tl-cd:checked ~ .tl__stage .tl__axis {
  display: none;
}

.page-home .tl__axis {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  padding: .3rem .1rem 1.1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .tl__node,
.page-home .tl__card {
  position: relative;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(18, 44, 78, .92), rgba(6, 18, 37, .94));
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .tl__node:hover,
.page-home .tl__card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .65);
}

.page-home .tl__node {
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: start;
}

.page-home .tl__node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.page-home .tl__node-time {
  margin: 0 0 .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-home .tl__node-score {
  margin: .7rem 0 .35rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--fog);
}

.page-home .tl__node-event {
  margin: 0 0 .8rem;
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(244, 247, 251, .72);
}

.page-home .tl__node-link {
  font-size: .82rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, .4);
}

.page-home .tl__node-link:hover {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.page-home .tl__cards {
  display: grid;
  gap: .8rem;
}

/* ---------- 主客场对照 ---------- */
.page-home .cmp {
  display: grid;
  gap: 1.6rem;
}

.page-home .cmp__facts {
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.page-home .cmp__facts li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(244, 247, 251, .78);
}

.page-home .cmp__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
}

.page-home .cmp__panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: clamp(1rem, 3.4vw, 1.6rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--ink-700), var(--ink-900) 80%);
  box-shadow: var(--shadow-lift);
}

.page-home .cmp__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .cmp__panel > *:not(.cmp__bg) {
  position: relative;
  z-index: 1;
}

.page-home .cmp__seasons {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .9rem;
}

.page-home .cmp__legend {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .76rem;
  color: var(--steel);
  margin-bottom: .7rem;
}

.page-home .cmp__key {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.page-home .cmp__key--home {
  background: var(--orange);
}

.page-home .cmp__key--away {
  background: var(--cyan);
  margin-left: .6rem;
}

.page-home .cmp__bars {
  display: grid;
  gap: .9rem;
}

.page-home .cmp__bar {
  display: grid;
  gap: .32rem;
}

.page-home .cmp__bar-head {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-size: .78rem;
  color: var(--fog);
}

.page-home .cmp__bar-head span:last-child {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--steel);
}

.page-home .cmp__track {
  display: block;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(43, 71, 107, .62);
  overflow: hidden;
}

.page-home .cmp__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: var(--bar, 60%);
}

.page-home .cmp__fill--home {
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.page-home .cmp__fill--away {
  background: linear-gradient(90deg, var(--cyan), var(--ice));
}

.page-home .cmp__cap {
  margin: .95rem 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 收藏说明 ---------- */
.page-home .qs {
  display: grid;
  gap: 1.4rem;
}

.page-home .qs__note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1rem;
  padding: .8rem .95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 211, 238, .32);
  background: rgba(34, 211, 238, .08);
  font-size: .84rem;
  line-height: 1.65;
  color: var(--ice);
}

.page-home .qs__note-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: .5em;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .qs__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
  counter-reset: none;
}

.page-home .qs__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  padding: .95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(18, 44, 78, .55);
}

.page-home .qs__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--orange);
}

.page-home .qs__step h3 {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fog);
}

.page-home .qs__step p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(244, 247, 251, .72);
}

/* ---------- 数据带 ---------- */
.page-home .stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.page-home .stat {
  padding: .95rem 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(18, 44, 78, .7), rgba(6, 18, 37, .7));
}

.page-home .stat__num {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.7rem, 6.4vw, 2.4rem);
  line-height: 1;
  color: var(--orange);
}

.page-home .stat__unit {
  font-size: .8rem;
  color: var(--amber);
  letter-spacing: .02em;
}

.page-home .stat__label {
  margin: .55rem 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .trust__strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--steel);
}

.page-home .trust__strip span {
  position: relative;
  padding-left: .9rem;
}

.page-home .trust__strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- 入口 ---------- */
.page-home .entries {
  display: grid;
  gap: .75rem;
}

.page-home .entries__card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(18, 44, 78, .82), rgba(6, 18, 37, .9));
  text-decoration: none;
  color: var(--fog);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-home .entries__card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .7);
}

.page-home .entries__eyebrow {
  font-family: var(--font-serif);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--ice);
}

.page-home .entries__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

.page-home .entries__desc {
  margin: 0;
  font-size: .82rem;
  line-height: 1.68;
  color: rgba(244, 247, 251, .7);
}

.page-home .entries__more {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--orange);
}

.page-home .hp-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin: 1.3rem 0 0;
  font-size: .8rem;
}

.page-home .hp-links a {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 163, 191, .35);
}

.page-home .hp-links a:hover {
  color: var(--fog);
  border-bottom-color: var(--cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .stats {
    gap: .85rem;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.26fr);
    gap: 2.2rem;
    align-items: start;
  }

  .page-home .jump {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding-bottom: .2rem;
  }

  .page-home .jump__link {
    justify-content: flex-start;
  }

  .page-home .cmp {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.4rem;
  }

  .page-home .qs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 2.2rem;
  }

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

  .page-home .tl__node {
    flex: 0 0 300px;
  }
}

@media (min-width: 1080px) {
  .page-home .hero {
    padding-top: calc(var(--header-h) + 3rem);
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
}

.page-home {
  --bar: 1rem;
}
