.page-home {
  --home-line: rgba(45, 90, 61, 0.72);
  --home-panel-top: #0E3325;
  --home-panel-bottom: #071F16;
  background: var(--ink);
  color: var(--snow);
  overflow-x: clip;
}

.page-home .section {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.page-home .section-head {
  max-width: 64ch;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .headline {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .headline em {
  font-style: normal;
  color: var(--kiwi);
}

.page-home .section-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- hero ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(2rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(110% 130% at 86% 2%, rgba(155, 226, 43, 0.22), transparent 55%),
    radial-gradient(85% 110% at 4% 98%, rgba(107, 74, 47, 0.42), transparent 62%),
    linear-gradient(170deg, #071F16 0%, #0E3325 58%, #071F16 100%);
}

.page-home .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.24;
  filter: saturate(0.9) contrast(1.05);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.15rem, 3.5vw, 2.75rem);
  border: 1px solid var(--home-line);
  background: linear-gradient(165deg, rgba(14, 51, 37, 0.94), rgba(7, 31, 22, 0.9));
  clip-path: var(--cut-lg);
}

.page-home .hero-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background-image: repeating-linear-gradient(to right, var(--home-line) 0 1px, transparent 1px 26px);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hero-copy .display {
  margin: 0.55rem 0 1rem;
  font-size: clamp(1.85rem, 6.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.page-home .hero-copy .display em {
  font-style: normal;
  color: var(--kiwi);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  line-height: 1.75;
  color: #D7E2D4;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-home .hero-facts .num {
  margin-right: 0.3rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kiwi);
}

/* ---------- 关注条 ---------- */

.page-home .watch-strip {
  align-self: start;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--home-line);
  background: linear-gradient(158deg, rgba(14, 51, 37, 0.98), rgba(7, 31, 22, 0.96));
  clip-path: var(--cut-sm);
}

.page-home .watch-strip > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--home-line);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  list-style: none;
}

.page-home .watch-strip > summary::-webkit-details-marker {
  display: none;
}

.page-home .watch-strip > summary::after {
  content: "＋";
  margin-left: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-home .watch-strip[open] > summary::after {
  content: "－";
  color: var(--kiwi);
}

.page-home .watch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kiwi);
  box-shadow: 0 0 0 4px rgba(155, 226, 43, 0.18);
}

.page-home .watch-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
}

.page-home .watch-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .watch-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.7rem;
  align-items: baseline;
  padding: 0.5rem 0.65rem;
  border-left: 2px solid var(--home-line);
  background: rgba(155, 226, 43, 0.06);
}

.page-home .watch-meta {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .watch-state {
  margin-left: 0.3rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--kiwi-hi);
}

.page-home .watch-score {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .watch-more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--kiwi);
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 226, 43, 0.4);
}

.page-home .watch-more:hover,
.page-home .watch-more:focus-visible {
  color: var(--kiwi-hi);
}

/* ---------- 双轨 ---------- */

.page-home .track {
  background: linear-gradient(180deg, #071F16 0%, #0B2A1D 48%, #071F16 100%);
}

.page-home .track-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.page-home .track-card {
  position: relative;
  padding: clamp(1rem, 2.6vw, 1.65rem);
  border: 1px solid var(--home-line);
  background: linear-gradient(160deg, var(--home-panel-top), var(--home-panel-bottom));
  clip-path: var(--cut-sm);
}

.page-home .track-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--kiwi);
}

.page-home .track-card--review {
  background: linear-gradient(160deg, #123A2A, #08241A);
}

.page-home .track-card--review::before {
  background: var(--orange);
}

.page-home .track-card h3 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.0625rem, 2.4vw, 1.3rem);
  font-weight: 800;
  line-height: 1.35;
}

.page-home .track-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  margin: 0.9rem 0 1rem;
  border: 1px solid var(--home-line);
}

.page-home .track-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: #D2DDD0;
}

.page-home .track-card .card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--kiwi);
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 226, 43, 0.45);
}

.page-home .track-card--review .card-link {
  color: var(--orange);
  border-bottom-color: rgba(255, 138, 42, 0.45);
}

/* ---------- 大屏看板 ---------- */

.page-home .board {
  background: #071F16;
}

.page-home .board-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.page-home .board-points {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #D2DDD0;
}

.page-home .board-points .num {
  display: inline-block;
  min-width: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--kiwi);
}

.page-home .board-visual {
  position: relative;
  border: 1px solid var(--home-line);
  clip-path: var(--cut-sm);
  overflow: hidden;
}

.page-home .board-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.92;
}

.page-home .board-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(90deg, rgba(155, 226, 43, 0.95), rgba(200, 241, 105, 0.72));
  color: var(--seed);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- 换设备 ---------- */

.page-home .device {
  background: linear-gradient(180deg, #071F16, #0C2C1E 60%, #071F16);
}

.page-home .device-switch {
  position: relative;
}

.page-home .device-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-home .device-tabs label {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--home-line);
  background: rgba(14, 51, 37, 0.7);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home #home-device-a:checked ~ .device-tabs label[for="home-device-a"],
.page-home #home-device-b:checked ~ .device-tabs label[for="home-device-b"] {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: var(--seed);
}

.page-home .device-pane {
  display: none;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--home-line);
  background: linear-gradient(150deg, var(--home-panel-top), var(--home-panel-bottom));
  clip-path: var(--cut-sm);
}

.page-home #home-device-a:checked ~ .device-panes .device-pane--a,
.page-home #home-device-b:checked ~ .device-panes .device-pane--b {
  display: block;
}

.page-home .device-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--kiwi-hi);
}

.page-home .device-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .device-chips li {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--home-line);
  background: rgba(155, 226, 43, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--snow);
}

.page-home .device-chips li:not(:last-child)::after {
  content: ";";
  margin-left: 0.4rem;
  font-weight: 700;
  color: var(--kiwi);
}

.page-home .device-note {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 赛季时间轴 ---------- */

.page-home .seasons {
  background: #071F16;
}

.page-home .season-rail {
  position: relative;
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .season-rail::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--kiwi), rgba(45, 90, 61, 0.4));
}

.page-home .season-node {
  position: relative;
  padding-left: 2rem;
}

.page-home .season-dot {
  position: absolute;
  left: 4px;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--kiwi);
  box-shadow: 0 0 0 4px rgba(155, 226, 43, 0.16);
}

.page-home .season-node:not(:first-child) .season-dot {
  background: var(--line);
  box-shadow: none;
}

.page-home .season-node h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--snow);
}

.page-home .season-node p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #CBD6C9;
}

.page-home .season-detail {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--home-line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.22s var(--ease);
}

.page-home .season-node:hover .season-detail,
.page-home .season-node:focus-within .season-detail {
  color: var(--kiwi-hi);
}

.page-home .seasons-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

/* ---------- 信任条 ---------- */

.page-home .trust {
  background: linear-gradient(180deg, #071F16 0%, #0B2A1D 70%, #071F16 100%);
}

.page-home .trust-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.page-home .trust-figure {
  margin: 0;
  border: 1px solid var(--home-line);
  clip-path: var(--cut-sm);
  overflow: hidden;
}

.page-home .trust-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .trust-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.35rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .trust-list li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #D2DDD0;
}

.page-home .trust-list .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--kiwi);
  padding-top: 0.28rem;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .hero-facts {
    gap: 0.75rem 2.25rem;
  }

  .page-home .hero-inner {
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
  }
}

@media (min-width: 880px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
    align-items: start;
  }

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

  .page-home .track-card--review {
    margin-top: 3.25rem;
  }

  .page-home .season-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .page-home .season-rail::before {
    left: 0;
    right: 0;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--kiwi), rgba(45, 90, 61, 0.4));
  }

  .page-home .season-node {
    padding-left: 0;
    padding-top: 2.15rem;
  }

  .page-home .season-dot {
    left: 0;
    top: 1px;
  }
}

@media (min-width: 960px) {
  .page-home .board-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    align-items: center;
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .device-tabs label,
  .page-home .season-detail {
    transition: none;
  }
}
