.page-home {
  background: var(--night);
  color: var(--mist);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0;
}

.page-home .mono-path {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--sage);
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  isolation: isolate;
  padding: 40px 0 44px;
  background:
    radial-gradient(105% 78% at 94% 2%, rgba(20, 107, 58, .52), transparent 62%),
    radial-gradient(90% 70% at 2% 100%, rgba(12, 59, 36, .6), transparent 62%),
    var(--night);
  overflow: hidden;
}

.page-home .hero-home__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-home .hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: saturate(.7);
}

.page-home .hero-home__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 34, .68) 0%, rgba(6, 20, 34, .93) 62%, var(--night) 100%);
}

.page-home .hero-home__grid {
  display: grid;
  gap: 30px;
}

.page-home .hero-home__title {
  margin-top: 14px;
  font-size: clamp(2.35rem, 9.5vw, 4.3rem);
  text-wrap: balance;
}

.page-home .hero-home__title-mark {
  color: var(--volt);
  display: inline-block;
}

.page-home .hero-home__lead {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .hero-home__path {
  margin-top: 16px;
}

.page-home .hero-home__board {
  position: relative;
  padding: 22px 20px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(12, 36, 56, .96) 0%, rgba(6, 20, 34, .94) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.page-home .hero-home__board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .hero-home__board-num {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 17vw, 5.6rem);
  line-height: .88;
  letter-spacing: -.04em;
  color: var(--volt);
}

.page-home .hero-home__board-note {
  margin: 12px 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .hero-home__pins {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .hero-home__pins li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -.01em;
  color: var(--mist);
}

.page-home .hero-home__pins li span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .03em;
  color: var(--sage);
}

/* ---------- 射门统计 ---------- */
.page-home .shoot {
  position: relative;
  padding: 56px 0;
  background: linear-gradient(180deg, var(--night) 0%, var(--stand) 55%, var(--night) 100%);
}

.page-home .shoot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(47, 163, 95, .2), rgba(12, 59, 36, 0) 58%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  pointer-events: none;
}

.page-home .shoot > .container {
  position: relative;
  z-index: 1;
}

.page-home .shoot__head {
  max-width: 62ch;
}

.page-home .shoot__grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.page-home .shoot__panel {
  padding: 18px 18px 20px;
}

.page-home .shoot__panel .tabs__list,
.page-home .watch__main .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .shoot__panel .tabs__tab,
.page-home .watch__main .tabs__tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .shoot__panel .tabs__tab[aria-selected="true"],
.page-home .watch__main .tabs__tab[aria-selected="true"] {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--night);
}

.page-home .shoot__panel .tabs__tab:focus-visible,
.page-home .watch__main .tabs__tab:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.page-home .shoot__panel .tabs__panel {
  padding-top: 18px;
}

.page-home .shoot__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .shoot__metrics .metric__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--volt);
  margin: 0;
}

.page-home .shoot__metrics .metric__value span {
  font-size: .5em;
  color: var(--sage);
  margin-left: 1px;
}

.page-home .shoot__metrics .metric__label {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--sage);
}

.page-home .shoot__foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.page-home .shoot__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pitch-deep);
}

.page-home .shoot__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.page-home .shoot__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 34, .94));
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .03em;
  color: var(--mist);
}

/* ---------- 关注列表 ---------- */
.page-home .watch {
  padding: 56px 0;
  background: var(--night);
}

.page-home .watch__grid {
  display: grid;
  gap: 20px;
}

.page-home .watch__main {
  padding: 22px 18px 24px;
}

.page-home .watch__lead {
  margin: 14px 0 0;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .watch__tabs {
  margin-top: 22px;
}

.page-home .watch__main .tabs__panel {
  padding-top: 16px;
}

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

.page-home .bars + .bars {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.page-home .bars__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--mist);
}

.page-home .bars__row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 58px;
  margin-top: 8px;
}

.page-home .bars__tag {
  flex: 0 0 auto;
  width: 18px;
  align-self: center;
  font-family: var(--font-mono);
  font-size: .64rem;
  color: var(--sage);
}

.page-home .bar {
  flex: 1 1 0;
  min-height: 4px;
  border-radius: 3px 3px 1px 1px;
}

.page-home .bar--goal {
  background: linear-gradient(180deg, var(--volt) 0%, rgba(216, 255, 72, .28) 100%);
}

.page-home .bar--lost {
  background: linear-gradient(180deg, var(--sage) 0%, rgba(155, 181, 165, .2) 100%);
}

.page-home .bh-0 { height: 8%; }
.page-home .bh-1 { height: 25%; }
.page-home .bh-2 { height: 45%; }
.page-home .bh-3 { height: 65%; }
.page-home .bh-4 { height: 82%; }
.page-home .bh-5 { height: 100%; }

.page-home .watch__foot {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.page-home .watch__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .watch__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pitch-deep);
}

.page-home .watch__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
}

.page-home .watch__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 34, .94));
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--mist);
}

.page-home .watch__note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--pitch-lit);
}

/* ---------- 周末连看 ---------- */
.page-home .weekend {
  position: relative;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--night) 0%, var(--pitch-deep) 100%);
}

.page-home .weekend__head {
  max-width: 60ch;
}

.page-home .weekend .rail {
  margin-top: 26px;
}

.page-home .weekend__track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px var(--gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .weekend__card {
  flex: 0 0 84%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 36, 56, .85);
  overflow: hidden;
}

.page-home .weekend__img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.page-home .weekend__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.page-home .weekend__title {
  font-size: 1.15rem;
  color: var(--mist);
}

.page-home .weekend__text {
  margin: 0;
  font-size: .885rem;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .weekend__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 255, 72, .4);
  align-self: flex-start;
}

.page-home .weekend__link:hover,
.page-home .weekend__link:focus-visible {
  color: var(--mist);
  border-bottom-color: var(--mist);
  outline: none;
}

/* ---------- 升级版专区 ---------- */
.page-home .plus {
  padding: 56px 0;
  background: var(--night);
}

.page-home .plus__inner {
  display: grid;
  gap: 18px;
}

.page-home .plus__card {
  position: relative;
  padding: 24px 20px 26px;
  border: 1px solid rgba(255, 154, 77, .42);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 154, 77, .13) 0%, rgba(12, 36, 56, .92) 62%);
}

.page-home .plus__kicker {
  margin: 0 0 12px;
  color: var(--ember);
}

.page-home .plus__card .section__title {
  font-size: clamp(1.5rem, 5.6vw, 2rem);
}

.page-home .plus__text {
  margin: 14px 0 0;
  font-size: .925rem;
  line-height: 1.75;
  color: var(--sage);
}

.page-home .plus__cta {
  margin-top: 20px;
}

.page-home .plus__hint {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  line-height: 1.6;
  color: var(--ember);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.page-home .plus__card:hover .plus__hint,
.page-home .plus__card:focus-within .plus__hint {
  opacity: 1;
  transform: translateY(0);
}

.page-home .plus__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-home .plus__list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 36, 56, .7);
  font-size: .85rem;
  color: var(--mist);
}

.page-home .plus__list span {
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--ember);
}

.page-home .plus__record {
  padding: 18px 18px 20px;
  border: 1px dashed rgba(255, 154, 77, .45);
  border-radius: var(--radius-md);
  background: rgba(12, 36, 56, .55);
}

.page-home .plus__record .mono-path {
  margin: 0 0 10px;
  color: var(--ember);
}

/* ---------- 折叠内容 ---------- */
.page-home .more {
  padding: 56px 0 76px;
  background: var(--night);
}

.page-home .more__head {
  max-width: 48ch;
}

.page-home .more__list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.page-home .more__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 36, 56, .58);
  overflow: hidden;
}

.page-home .more__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 16px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--mist);
}

.page-home .more__item summary::-webkit-details-marker {
  display: none;
}

.page-home .more__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--volt);
}

.page-home .more__item[open] summary::after {
  content: "−";
}

.page-home .more__item summary:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -4px;
}

.page-home .more__body {
  padding: 0 16px 18px;
}

.page-home .more__body p {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--sage);
}

/* ---------- 媒体查询 ---------- */
@media (min-width: 720px) {
  .page-home .hero-home {
    padding: 56px 0 60px;
  }

  .page-home .hero-home__lead {
    font-size: 1.0625rem;
  }

  .page-home .hero-home__pins li strong {
    font-size: 1.5rem;
  }

  .page-home .shoot,
  .page-home .watch,
  .page-home .weekend,
  .page-home .plus,
  .page-home .more {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .page-home .shoot__panel {
    padding: 22px 22px 24px;
  }

  .page-home .watch__main {
    padding: 26px 24px 28px;
  }

  .page-home .bars__row {
    height: 70px;
  }

  .page-home .weekend__track {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .page-home .weekend__card {
    flex: 0 0 320px;
  }

  .page-home .weekend__img {
    height: 170px;
  }

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

  .page-home .plus__card {
    grid-row: span 2;
    padding: 30px 28px 32px;
  }

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

@media (min-width: 960px) {
  .page-home .hero-home__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 52px;
  }

  .page-home .hero-home__board {
    margin-top: 0;
    padding: 26px 26px 30px;
  }

  .page-home .shoot__grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
    align-items: stretch;
    gap: 22px;
  }

  .page-home .shoot__figure img {
    min-height: 100%;
    height: 100%;
  }

  .page-home .watch__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
    gap: 22px;
  }

  .page-home .watch__figure img {
    max-height: none;
    height: 320px;
  }

  .page-home .bars__row {
    height: 76px;
    gap: 8px;
  }

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

  .page-home .more__item summary {
    font-size: 1.08rem;
    padding: 18px 20px;
  }

  .page-home .more__body {
    padding: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .plus__hint,
  .page-home .shoot__panel .tabs__tab,
  .page-home .watch__main .tabs__tab {
    transition: none;
  }

  .page-home .plus__hint {
    transform: none;
  }
}
