.page-home {
  --home-cut: 26px;
  --home-rule: #3F5D53;
  background: var(--bench);
  color: var(--paper);
}

.page-home .home-paper {
  color: var(--ink);
}

.page-home .home-paper .eyebrow,
.page-home .home-paper .eyebrow .num {
  color: var(--ink);
}

.page-home .home-paper .eyebrow::before {
  background: currentColor;
}

.page-home .section {
  padding-top: clamp(38px, 7vw, 84px);
  padding-bottom: clamp(38px, 7vw, 84px);
}

.page-home [id] {
  scroll-margin-top: 84px;
}

/* ---------- 上下文条 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-context .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.page-home .home-context .crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--line);
}

.page-home .home-context .crumbs a {
  color: var(--dust);
  text-decoration: none;
}

.page-home .home-context .crumbs a:hover,
.page-home .home-context .crumbs a:focus-visible {
  color: var(--sand);
}

.page-home .home-context .crumbs [aria-current="page"] {
  color: var(--sand);
}

.page-home .home-context__meta {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dust);
}

/* ---------- 01 首屏 ---------- */
.page-home .home-hero {
  padding-top: clamp(26px, 5vw, 56px);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}

.page-home .home-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 12.5vw, 142px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--paper);
}

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

.page-home .home-hero__lede {
  max-width: 46ch;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--dust);
}

.page-home .home-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__acts .btn {
  flex: 1 1 200px;
  text-align: center;
}

.page-home .home-hero__fig {
  margin: 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 42px));
}

.page-home .home-hero__fig img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: cover;
}

.page-home .home-hero__fig .figure__cap {
  position: absolute;
  left: 0;
  bottom: 10px;
  margin: 0;
  padding: 6px 12px;
  background: var(--bench-3);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* 检索条 */
.page-home .home-search {
  display: grid;
  gap: 10px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: 16px;
  background: var(--bench-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
}

.page-home .home-search__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sand);
}

.page-home .home-search__input {
  width: 100%;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
}

.page-home .home-search__input::placeholder {
  color: #6E8A80;
}

.page-home .home-search__input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-home .home-search__go {
  justify-self: start;
}

.page-home .home-search__hint {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dust);
}

.page-home .home-search__hint a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 章节头 ---------- */
.page-home .home-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.16;
  letter-spacing: 0.03em;
}

.page-home .home-head__note {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.85;
  opacity: 0.88;
}

/* ---------- 02 检索台 ---------- */
.page-home .home-locator__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-loc {
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease;
}

.page-home .home-loc:hover,
.page-home .home-loc:focus-within {
  background: var(--teal);
}

.page-home .home-loc__num {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6B5A21;
}

.page-home .home-loc:hover .home-loc__num,
.page-home .home-loc:focus-within .home-loc__num {
  color: var(--bench);
}

.page-home .home-loc__title {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.page-home .home-loc__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-loc__eg {
  margin: 14px 0 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #4B4433;
  border-top: 1px dashed var(--dust);
  padding-top: 10px;
}

.page-home .home-loc:hover .home-loc__eg,
.page-home .home-loc:focus-within .home-loc__eg {
  color: var(--bench);
  border-top-color: rgba(14, 43, 36, 0.35);
}

/* ---------- 03 赛季带 ---------- */
.page-home .home-season__bg {
  margin: 0 0 clamp(20px, 3vw, 30px);
  height: clamp(130px, 22vw, 210px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 26px));
}

.page-home .home-season__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-season__track {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.page-home .home-season__track a {
  position: relative;
  flex: 0 0 auto;
  padding: 0 14px 14px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--dust);
  text-decoration: none;
  border-left: 1px solid var(--line);
}

.page-home .home-season__track a:first-child {
  border-left: 0;
  padding-left: 4px;
}

.page-home .home-season__track a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 7px;
  height: 7px;
  background: var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.page-home .home-season__track a:hover,
.page-home .home-season__track a:focus-visible {
  color: var(--sand);
}

.page-home .home-season__track a.is-now {
  color: var(--signal);
}

.page-home .home-season__track a.is-now::after {
  background: var(--signal);
  width: 9px;
  height: 9px;
  bottom: -5px;
}

.page-home .home-season__list {
  display: grid;
  gap: 1px;
  margin-top: clamp(20px, 3vw, 32px);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-season__row {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  background: var(--bench);
}

.page-home .home-season__yr {
  margin: 0;
  font-family: var(--font-num);
  font-size: 24px;
  line-height: 1;
  color: var(--sand);
}

.page-home .home-season__n {
  margin: 0;
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.page-home .home-season__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dust);
}

.page-home .home-season__star {
  display: block;
  margin-top: 6px;
  color: var(--paper);
}

.page-home .home-season__row:target {
  background: var(--bench-2);
  box-shadow: inset 3px 0 0 var(--signal);
}

/* ---------- 04 地区联赛 ---------- */
.page-home .home-league__fig {
  margin: 0 0 clamp(20px, 3vw, 32px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}

.page-home .home-league__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-home .home-league__tags {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-region {
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-region[open] {
  background: #F6D9CE;
}

.page-home .home-region__sum {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-region__sum::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 16px;
  color: #6B5A21;
}

.page-home .home-region[open] .home-region__sum::after {
  content: "−";
}

.page-home .home-region__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.page-home .home-region__count {
  font-size: 12px;
  color: #4B4433;
  margin-left: auto;
  margin-right: 8px;
}

.page-home .home-region__list {
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--dust);
  padding-top: 12px;
}

.page-home .home-region__list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .home-region__list .num {
  color: #6B5A21;
}

/* ---------- 05 跟队清单 ---------- */
.page-home .home-follow__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-home .home-follow__copy h2 {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.16;
  letter-spacing: 0.03em;
}

.page-home .home-follow__lede {
  margin: 0 0 12px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--dust);
}

.page-home .home-follow__note {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--teal);
}

.page-home .home-follow__fig {
  margin: 0 0 18px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

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

.page-home .home-follow__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .home-follow__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.page-home .home-follow__item input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid var(--sand);
  background: transparent;
  cursor: pointer;
}

.page-home .home-follow__item input:checked {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: inset 0 0 0 2px var(--bench);
}

.page-home .home-follow__item input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.page-home .home-follow__city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.page-home .home-follow__last {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--dust);
}

.page-home .home-follow__item input:checked ~ .home-follow__last {
  color: var(--teal);
}

/* ---------- 06 资料背后 ---------- */
.page-home .home-trust__card {
  padding: clamp(18px, 3vw, 28px);
  background: transparent;
  border: 1px solid var(--line);
}

.page-home .home-trust__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.page-home .home-trust__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-trust__k {
  margin: 0 0 12px;
  font-family: var(--font-num);
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1;
  color: var(--signal);
}

.page-home .home-trust__stats {
  display: grid;
  gap: 1px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-trust__stat {
  padding: 16px 18px;
  background: var(--paper);
}

.page-home .home-trust__stat dt {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6B5A21;
}

.page-home .home-trust__stat dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.page-home .home-trust__stat dd .num {
  font-size: 19px;
  color: var(--bench-2);
}

/* ---------- 07 回看之外 ---------- */
.page-home .home-more__grid {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
}

.page-home .home-more__card {
  padding: 20px 0 0 18px;
  border-left: 2px solid var(--sand);
}

.page-home .home-more__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.page-home .home-more__card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dust);
}

.page-home .home-more__go {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 3px;
}

.page-home .home-more__go:hover,
.page-home .home-more__go:focus-visible {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

/* ---------- 08 联系 ---------- */
.page-home .home-contact__inner {
  display: grid;
  gap: 26px;
  align-items: end;
}

.page-home .home-contact__inner h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.page-home .home-contact__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.85;
}

.page-home .home-contact__box {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(14, 43, 36, 0.06);
}

.page-home .home-contact__k {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6B5A21;
}

.page-home .home-contact__mail {
  display: inline-block;
  font-size: clamp(16px, 3vw, 21px);
  color: var(--bench-2);
  text-decoration: none;
  border-bottom: 1px solid var(--bench-2);
  word-break: break-all;
}

.page-home .home-contact__mail:hover,
.page-home .home-contact__mail:focus-visible {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.page-home .home-contact__more {
  margin: 18px 0 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-search {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    align-items: end;
    padding: 20px 22px;
  }

  .page-home .home-search__label {
    align-self: center;
  }

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

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

  .page-home .home-season__row {
    grid-template-columns: 88px 108px minmax(0, 1fr);
    align-items: baseline;
    gap: 6px 20px;
    padding: 16px 18px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
    align-items: end;
  }

  .page-home .home-hero__fig {
    margin-top: 8px;
  }

  .page-home .home-hero__acts .btn {
    flex: 0 0 auto;
  }

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

  .page-home .home-contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

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

@media (min-width: 1024px) {
  .page-home .home-locator__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-loc,
  .page-home .home-search__input {
    transition: none;
  }
}
