.page-home {
  --home-line: var(--hair);
  --home-line-strong: var(--hair-strong);
  display: block;
  background: var(--tvt-deep);
  color: var(--tvt-cream);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 10vh, 104px) 0 clamp(36px, 7vh, 80px);
  background: var(--tvt-deep);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.72) contrast(1.08);
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(188deg, rgba(11, 26, 20, 0.92) 8%, rgba(11, 26, 20, 0.6) 48%, #0b1a14 94%),
    radial-gradient(92% 72% at 88% 4%, rgba(46, 123, 255, 0.2), transparent 62%);
}

.page-home .home-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(26px, 6vh, 60px);
  min-height: min(70vh, 640px);
}

.page-home .home-hero__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--tvt-sage);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 9vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--tvt-cream);
}

.page-home .home-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--tvt-lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.page-home .home-hero__cue::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.page-home .home-hero__cue:hover {
  border-bottom-color: var(--tvt-lime);
}

.page-home .home-hero__note {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--tvt-paper);
}

/* ---------- 覆盖范围 ---------- */
.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2.4vw, 26px);
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(18, 38, 30, 0.7), rgba(11, 26, 20, 0.18));
}

.page-home .home-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--tvt-lime);
}

.page-home .home-stat--blue .home-stat__value {
  color: var(--tvt-blue);
}

.page-home .home-stat--orange .home-stat__value {
  color: var(--tvt-orange);
}

.page-home .home-stat__label {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--tvt-cream);
}

.page-home .home-stat__note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--tvt-sage);
}

/* ---------- 四类对象 ---------- */
.page-home .home-objects__inner {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

.page-home .home-objects__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.page-home .home-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-line);
}

.page-home .home-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tvt-sage);
}

.page-home .home-figure--tall img {
  max-height: 420px;
  filter: saturate(0.7);
}

.page-home .home-objects__aside-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--tvt-sage);
}

.page-home .home-objects__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .home-object {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0 14px;
  padding: clamp(18px, 3vw, 28px) 0;
  border-top: 1px solid var(--home-line);
  transition: border-color var(--t-mid) var(--ease);
}

.page-home .home-object:last-child {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-object:hover {
  border-top-color: var(--tvt-lime);
}

.page-home .home-object__index {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--tvt-sage);
}

.page-home .home-object--orange .home-object__index {
  color: var(--tvt-orange);
}

.page-home .home-object__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tvt-cream);
}

.page-home .home-object__desc {
  margin: 0 0 12px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--tvt-paper);
}

/* ---------- 轮次刻度 ---------- */
.page-home .home-rounds__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  margin-top: clamp(22px, 4vw, 38px);
  padding-bottom: 14px;
}

.page-home .home-rounds__hint {
  margin: 0;
  font-size: 13px;
  color: var(--tvt-sage);
}

.page-home .home-axis {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(136px, 1fr);
  gap: 0;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: auto;
  border-top: 1px solid var(--home-line-strong);
  scroll-snap-type: x proximity;
}

.page-home .home-tick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 96px;
  padding: 18px 16px 6px;
  border-left: 1px solid var(--home-line);
  outline-offset: -2px;
  scroll-snap-align: start;
}

.page-home .home-tick:first-child {
  border-left-color: var(--home-line-strong);
}

.page-home .home-tick__no {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--tvt-paper);
  transition: color var(--t-fast) var(--ease);
}

.page-home .home-tick__line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--home-line-strong);
  transition: background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.page-home .home-tick__sum {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--tvt-sage);
  transition: max-height var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}

.page-home .home-tick:hover .home-tick__no,
.page-home .home-tick:focus .home-tick__no {
  color: var(--tvt-lime);
}

.page-home .home-tick:hover .home-tick__line,
.page-home .home-tick:focus .home-tick__line {
  background: var(--tvt-lime);
  box-shadow: 0 0 12px rgba(201, 255, 61, 0.32);
}

.page-home .home-tick:hover .home-tick__sum,
.page-home .home-tick:focus .home-tick__sum {
  max-height: 140px;
  opacity: 1;
}

@media (hover: none) {
  .page-home .home-tick__sum {
    max-height: 160px;
    opacity: 1;
  }
}

/* ---------- 单轮读数面板 ---------- */
.page-home .home-panel__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-readouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.page-home .home-readout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 138px;
  padding: clamp(14px, 2.4vw, 22px);
  background: rgba(18, 38, 30, 0.82);
}

.page-home .home-readout__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--tvt-sage);
}

.page-home .home-readout__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--tvt-lime);
}

.page-home .home-readout__unit {
  margin-left: 3px;
  font-size: 14px;
  color: var(--tvt-paper);
}

.page-home .home-readout__hint {
  margin: auto 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--tvt-sage);
}

.page-home .home-split,
.page-home .home-ring {
  display: block;
  margin-top: auto;
  max-width: 100%;
}

.page-home .home-panel__scopes {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--tvt-blue);
}

.page-home .home-panel__scopes p {
  display: none;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--tvt-paper);
}

.page-home .home-panel__scopes p[data-scope-note="recent"] {
  display: block;
}

.page-home:has(.scope-switch__btn[data-season-scope="season"][aria-pressed="true"]) .home-panel__scopes p[data-scope-note="recent"],
.page-home:has(.scope-switch__btn[data-season-scope="archive"][aria-pressed="true"]) .home-panel__scopes p[data-scope-note="recent"] {
  display: none;
}

.page-home:has(.scope-switch__btn[data-season-scope="season"][aria-pressed="true"]) .home-panel__scopes p[data-scope-note="season"],
.page-home:has(.scope-switch__btn[data-season-scope="archive"][aria-pressed="true"]) .home-panel__scopes p[data-scope-note="archive"] {
  display: block;
}

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

.page-home .home-panel__side .home-figure img {
  filter: saturate(0.8) contrast(1.05);
}

.page-home .home-float {
  position: absolute;
  right: clamp(10px, 3%, 22px);
  bottom: clamp(10px, 4%, 26px);
  left: clamp(10px, 3%, 22px);
  padding: 14px 16px;
  background: rgba(10, 13, 11, 0.74);
  border: 1px solid var(--home-line-strong);
  backdrop-filter: blur(6px);
}

.page-home .home-float p {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tvt-paper);
}

/* ---------- 底部路径（反色区） ---------- */
.page-home .home-paths {
  color: var(--tvt-deep);
}

.page-home .home-paths__grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(11, 26, 20, 0.24);
  background: rgba(11, 26, 20, 0.24);
}

.page-home .home-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: clamp(18px, 3vw, 26px);
  background: transparent;
  color: var(--tvt-deep);
  text-decoration: none;
  transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}

.page-home .home-path:hover {
  background: rgba(11, 26, 20, 0.07);
}

.page-home .home-path__num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(11, 26, 20, 0.55);
}

.page-home .home-path__label {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .home-path__desc {
  grid-column: 2 / 3;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(11, 26, 20, 0.72);
}

.page-home .home-path__go {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: rgba(11, 26, 20, 0.6);
  transition: transform var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}

.page-home .home-path:hover .home-path__go {
  transform: translateX(6px);
  color: var(--tvt-deep);
}

.page-home .home-figure--feature {
  margin-top: clamp(26px, 4vw, 46px);
}

.page-home .home-tail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid rgba(11, 26, 20, 0.24);
}

.page-home .home-tail__text {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(11, 26, 20, 0.76);
}

.page-home .home-tail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .home-tail .ulink {
  color: var(--tvt-deep);
}

/* ---------- 断点 ---------- */
@media (min-width: 680px) {
  .page-home .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-objects__inner {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-figure--tall img {
    max-height: 520px;
  }
}

@media (min-width: 960px) {
  .page-home .home-panel__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .page-home .home-panel__side .home-figure img {
    max-height: 460px;
  }

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

@media (max-width: 560px) {
  .page-home .home-readouts {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .home-readout {
    min-height: 0;
  }

  .page-home .home-hero__foot {
    align-items: flex-start;
  }
}
