.page-home {
  --home-pad: 64px 0;
  --home-title-sm: clamp(1.7rem, 4vw, 2.4rem);
  --home-title-lg: clamp(2rem, 5vw, 3.4rem);
  background: var(--paper);
}

/* ========== 01 首屏 ========== */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding: calc(var(--header-h) + 28px) 0 64px;
}

.page-home .home-hero__figure {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
}

.page-home .home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  filter: saturate(0.8) contrast(1.06);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, var(--deep) 4%, rgba(10, 31, 68, 0) 100%);
}

.page-home .home-hero__frame {
  position: absolute;
  z-index: 5;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius);
}

.page-home .home-hero__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid var(--gold);
}

.page-home .home-hero__corner--tl {
  top: -2px;
  left: -2px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: var(--radius-s);
}

.page-home .home-hero__corner--tr {
  top: -2px;
  right: -2px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: var(--radius-s);
}

.page-home .home-hero__corner--bl {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: var(--radius-s);
}

.page-home .home-hero__corner--br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: var(--radius-s);
}

.page-home .home-hero__ticks {
  position: absolute;
  z-index: 5;
  left: 28px;
  top: 46px;
  bottom: 46px;
  width: 2px;
  opacity: 0.6;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 7px,
    rgba(244, 242, 234, 0.34) 7px 9px
  );
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 6;
  width: 100%;
}

.page-home .home-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.page-home .home-hero__crumb {
  font-size: 0.78rem;
  color: rgba(244, 242, 234, 0.66);
  letter-spacing: 0.14em;
}

.page-home .home-hero__return {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.12);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.24s ease, background-color 0.24s ease;
}

.page-home .home-hero__return:hover,
.page-home .home-hero__return:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.2);
}

.page-home .home-hero__return-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.2);
}

.page-home .home-hero__return-arrow {
  color: var(--gold);
  font-size: 1.1rem;
}

.page-home .home-hero__return-preview {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  min-width: 236px;
  padding: 14px 16px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--deep-soft);
  box-shadow: 0 18px 36px rgba(10, 31, 68, 0.5);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.2s ease, translate 0.2s ease;
  pointer-events: none;
}

.page-home .home-hero__return:hover .home-hero__return-preview,
.page-home .home-hero__return:focus-within .home-hero__return-preview {
  opacity: 1;
  translate: 0 0;
}

.page-home .home-hero__preview-head {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-home .home-hero__preview-item {
  display: block;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(244, 242, 234, 0.76);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-size: var(--home-title-lg);
  line-height: 1.22;
  font-weight: 900;
}

.page-home .home-hero__title em {
  display: block;
  font-style: normal;
  color: var(--gold);
}

.page-home .home-hero__lead {
  max-width: 660px;
  margin: 0 0 30px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(244, 242, 234, 0.82);
}

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

.page-home .home-hero__meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(244, 242, 234, 0.56);
}

.page-home .home-hero__seal {
  display: none;
  position: absolute;
  z-index: 6;
  right: 56px;
  bottom: 76px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.72);
  box-shadow: 0 0 0 9px rgba(212, 175, 55, 0.08);
  background: radial-gradient(circle, rgba(10, 31, 68, 0.92), rgba(14, 42, 92, 0.6));
  place-items: center;
  text-align: center;
}

.page-home .home-hero__seal::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(212, 175, 55, 0.52);
  border-radius: 50%;
}

.page-home .home-hero__seal-text {
  display: block;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--paper);
}

.page-home .home-hero__seal-ver {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--gold);
}

.page-home .home-hero__seal-note {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(244, 242, 234, 0.7);
}

/* ========== 02 服务清单区 ========== */
.page-home .home-services {
  position: relative;
  padding: var(--home-pad);
  background: var(--deep-body);
  color: var(--paper);
  overflow: hidden;
}

.page-home .home-services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: var(--deep-soft);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.6;
  pointer-events: none;
}

.page-home .home-services__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-services__header {
  max-width: 720px;
  margin-bottom: 44px;
}

.page-home .home-services__title {
  margin: 12px 0 14px;
  font-size: var(--home-title-sm);
}

.page-home .home-services__intro {
  color: rgba(244, 242, 234, 0.74);
  line-height: 1.8;
}

.page-home .home-services__body {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-services__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: var(--deep-soft);
}

.page-home .home-services__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-services__figure figcaption {
  padding: 12px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(244, 242, 234, 0.58);
}

.page-home .service-tree {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .service-tree::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.28);
  transition: background 0.8s ease;
}

.page-home .home-services[data-visible] .service-tree::before {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 175, 55, 0.55) 58%, var(--turquoise) 100%);
}

.page-home .service-tree__step {
  position: relative;
  padding-left: 42px;
}

.page-home .service-tree__details {
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  background: rgba(244, 242, 234, 0.045);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-home .service-tree__details:hover {
  border-color: rgba(212, 175, 55, 0.42);
}

.page-home .service-tree__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.page-home .service-tree__summary::-webkit-details-marker {
  display: none;
}

.page-home .service-tree__no {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

.page-home .service-tree__name {
  font-weight: 700;
  font-size: 1.04rem;
}

.page-home .service-tree__panel {
  padding: 0 20px 20px;
  line-height: 1.8;
  color: rgba(244, 242, 234, 0.76);
}

.page-home .service-tree__panel p {
  margin: 0 0 10px;
}

.page-home .service-tree__points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

/* ========== 03 最近伤停更新 ========== */
.page-home .home-injury {
  padding: var(--home-pad);
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-injury__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-injury__title {
  margin: 12px 0 12px;
  font-size: var(--home-title-sm);
}

.page-home .home-injury__hint {
  margin: 0;
  color: var(--muted);
}

.page-home .home-injury__table {
  margin: 28px 0 24px;
  border-top: 1px solid var(--line);
}

.page-home .home-injury__row {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.1fr 0.85fr;
  gap: 8px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  align-items: center;
}

.page-home .home-injury__row--head {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .home-injury__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.page-home .home-injury__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-injury__media figcaption {
  padding: 12px 16px;
  font-size: 0.75rem;
  color: var(--muted);
}

.page-home .home-injury__cta {
  margin-top: 6px;
}

/* ========== 04 移动端乐鱼视频集锦栏目 ========== */
.page-home .home-video {
  padding: var(--home-pad) 0;
  background: var(--deep);
  color: var(--paper);
}

.page-home .home-video__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.page-home .home-video__title {
  margin: 12px 0 14px;
  font-size: var(--home-title-sm);
}

.page-home .home-video__intro {
  color: rgba(244, 242, 234, 0.72);
  line-height: 1.8;
}

.page-home .home-video__viewport {
  overflow-x: auto;
  padding: 8px 24px 20px;
  scrollbar-color: rgba(212, 175, 55, 0.5) transparent;
  scrollbar-width: thin;
}

.page-home .home-video__track {
  display: flex;
  gap: 18px;
  min-width: 100%;
  width: max-content;
  scroll-snap-type: x mandatory;
}

.page-home .home-video__card {
  flex: 0 0 78vw;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: var(--deep-body);
  transition: border-color 0.24s ease;
}

.page-home .home-video__card:hover {
  border-color: rgba(212, 175, 55, 0.44);
}

.page-home .home-video__card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.page-home .home-video__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--deep-soft);
}

.page-home .home-video__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-home .home-video__card-link:hover .home-video__media img {
  transform: scale(1.02);
}

.page-home .home-video__duration {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(10, 31, 68, 0.8);
  color: var(--paper);
  font-size: 0.76rem;
}

.page-home .home-video__name {
  margin: 14px 18px 4px;
  font-size: 1.02rem;
  font-weight: 700;
}

.page-home .home-video__meta {
  margin: 0 18px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(244, 242, 234, 0.52);
}

/* ========== 05 赛季归档下载区 ========== */
.page-home .home-archive {
  padding: var(--home-pad);
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-archive__header {
  max-width: 720px;
  margin-bottom: 32px;
}

.page-home .home-archive__title {
  margin: 12px 0 14px;
  font-size: var(--home-title-sm);
}

.page-home .home-archive__intro {
  color: var(--muted);
  line-height: 1.8;
}

.page-home .home-archive__seasons {
  display: grid;
  gap: 14px;
  margin: 32px 0;
}

.page-home .home-archive__season {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.page-home .home-archive__season:hover,
.page-home .home-archive__season:focus-visible {
  border-color: var(--gold);
  transform: translateX(4px);
}

.page-home .home-archive__period {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .home-archive__flag {
  font-size: 0.84rem;
  color: var(--muted);
}

.page-home .home-archive__count {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.page-home .home-archive__more {
  margin-top: 6px;
}

/* ========== 响应式 ========== */
@media (min-width: 768px) {
  .page-home {
    --home-pad: 84px 0;
  }

  .page-home .home-hero__inner {
    padding-top: 20px;
  }

  .page-home .home-hero__frame {
    inset: 26px;
  }

  .page-home .home-hero__ticks {
    left: 40px;
  }

  .page-home .home-hero__seal {
    display: grid;
  }

  .page-home .home-services__body {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .page-home .home-injury__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-home .home-video__card {
    flex-basis: 340px;
  }

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

@media (min-width: 1024px) {
  .page-home .home-hero__content {
    max-width: 760px;
  }

  .page-home .home-hero__lead {
    font-size: 1.1rem;
  }

  .page-home .home-hero__seal {
    right: 6vw;
    bottom: 9vh;
  }

  .page-home .home-services__body {
    gap: 72px;
  }

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