.page-home {
  --home-radius: 14px;
  --home-lift: 0px;
  padding-bottom: 104px;
  overflow-x: clip;
}

.page-home .breadcrumb {
  padding-top: clamp(14px, 3vw, 26px);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(23, 18, 14, 0.6);
}

/* ---------- 首屏 ---------- */
.page-home .home-masthead {
  padding-top: clamp(10px, 2.4vw, 22px);
  padding-bottom: clamp(26px, 5vw, 54px);
}

.page-home .home-masthead .eyebrow {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ochre);
}

.page-home .home-title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(34px, 7.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.page-home .home-title__hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.page-home .home-title__hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.07em;
  background: var(--flash);
}

.page-home .home-lede {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: rgba(23, 18, 14, 0.8);
}

.page-home .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

/* ---------- 四联赛入口 ---------- */
.page-home .home-leagues {
  padding-block: clamp(30px, 5vw, 56px) 0;
}

.page-home .home-leagues__head,
.page-home .home-tickets__head,
.page-home .home-archive__head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .home-leagues__head .lede,
.page-home .home-tickets__head .lede,
.page-home .home-archive__head .lede {
  margin: 10px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(23, 18, 14, 0.76);
}

.page-home .league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .league-card {
  --lift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border: 1px solid var(--hair);
  border-left: 5px solid var(--turf);
  border-radius: var(--home-radius);
  background: var(--sand-soft);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transform: translateY(var(--lift));
  transition: transform var(--t), box-shadow var(--t), border-left-color var(--t);
}

.page-home .league-card::after {
  content: "";
  position: absolute;
  inset: auto -34% -58% 38%;
  height: 150px;
  background: repeating-linear-gradient(115deg, rgba(20, 83, 45, 0.09) 0 12px, transparent 12px 24px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-home .league-card--csl { border-left-color: var(--ochre); }
.page-home .league-card--cl1 { border-left-color: var(--turf-2); }
.page-home .league-card--cl2 { border-left-color: var(--gold); }
.page-home .league-card--wsl { border-left-color: var(--violet); }

.page-home .league-card:hover,
.page-home .league-card:focus-visible {
  transform: translateY(calc(var(--lift) - 8px));
  box-shadow: var(--shadow-card);
  border-left-color: var(--flash);
}

.page-home .league-card__idx {
  position: relative;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ochre);
}

.page-home .league-card__name {
  position: relative;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
}

.page-home .league-card__desc {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(23, 18, 14, 0.74);
}

.page-home .home-arena {
  margin: clamp(28px, 5vw, 56px) 0 0;
  border: 1px solid var(--hair);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--turf);
}

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

.page-home .home-arena .media__caption {
  padding: 12px 16px;
  font-size: 12px;
  font-style: italic;
  color: var(--sand);
  background: rgba(20, 83, 45, 0.92);
}

/* ---------- 比分与赔率 ---------- */
.page-home .home-board {
  margin-top: clamp(38px, 6vw, 84px);
  padding-block: clamp(36px, 6vw, 76px);
  color: var(--sand);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(76, 29, 149, 0.6), transparent 62%),
    linear-gradient(160deg, var(--night) 0%, #14112f 58%, #0f1d2e 100%);
}

.page-home .board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.page-home .board-copy .eyebrow {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--flash);
}

.page-home .board-copy .section-title {
  margin: 10px 0 0;
  color: var(--sand-soft);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-home .board-copy p {
  margin: 14px 0 22px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 230, 200, 0.82);
}

.page-home .board-figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(245, 230, 200, 0.18);
}

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

.page-home .board-stats {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(245, 230, 200, 0.18);
  border-bottom: 1px solid rgba(245, 230, 200, 0.18);
}

.page-home .board-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 20px 18px;
  border-left: 3px solid rgba(255, 107, 26, 0.5);
}

.page-home .board-stat .num--xl {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--flash);
}

.page-home .board-stat__plus {
  font-family: var(--font-num);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--gold);
}

.page-home .board-stat__label {
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(245, 230, 200, 0.75);
}

.page-home .odds {
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .odds__title {
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .odds-scale {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.page-home .odds-scale a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(245, 230, 200, 0.18);
  border-radius: 10px;
  text-decoration: none;
  color: rgba(245, 230, 200, 0.8);
  transition: background var(--t), border-color var(--t), color var(--t);
}

.page-home .odds-scale li:nth-child(1) a { box-shadow: inset 0 3px 0 var(--flash); }
.page-home .odds-scale li:nth-child(2) a { box-shadow: inset 0 3px 0 var(--turf-2); }
.page-home .odds-scale li:nth-child(3) a { box-shadow: inset 0 3px 0 var(--gold); }
.page-home .odds-scale li:nth-child(4) a { box-shadow: inset 0 3px 0 var(--violet); }

.page-home .odds-scale a:hover,
.page-home .odds-scale a:focus-visible {
  background: var(--glass-strong);
  border-color: var(--flash);
  color: var(--sand-soft);
}

.page-home .odds__idx {
  display: block;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .odds__name {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.page-home .odds__desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: italic;
  color: rgba(245, 230, 200, 0.62);
}

/* ---------- 季票与城市 ---------- */
.page-home .home-tickets {
  padding-block: clamp(40px, 6vw, 84px);
  background:
    repeating-linear-gradient(95deg, rgba(180, 83, 9, 0.06) 0 2px, transparent 2px 16px),
    var(--sand-soft);
}

.page-home .home-tickets .eyebrow,
.page-home .home-map .eyebrow,
.page-home .home-notes .eyebrow,
.page-home .home-archive .eyebrow {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ochre);
}

.page-home .city-list {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 30px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 10px;
}

.page-home .city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t), background var(--t), transform var(--t);
}

.page-home .city-item:hover,
.page-home .city-item:focus-visible {
  border-color: var(--ochre);
  background: #fff;
  transform: translateX(3px);
}

.page-home .city-item__name {
  font-size: 15px;
  font-weight: 500;
}

.page-home .city-item__go {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--ochre);
}

/* ---------- 球迷组织地图 ---------- */
.page-home .home-map {
  padding-block: clamp(40px, 6vw, 88px);
  color: var(--sand);
  background:
    radial-gradient(90% 70% at 82% 18%, rgba(255, 107, 26, 0.16), transparent 62%),
    linear-gradient(180deg, #08190f 0%, #123f24 100%);
}

.page-home .home-map__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .home-map__figure {
  margin: 0;
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .home-map__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .home-map__figure .media__caption {
  padding: 10px 14px;
  font-size: 12px;
  font-style: italic;
  color: rgba(245, 230, 200, 0.7);
}

.page-home .home-map__copy .section-title {
  margin: 10px 0 0;
  color: var(--sand-soft);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-home .home-map__copy p {
  margin: 14px 0 20px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 230, 200, 0.8);
}

.page-home .org-tags {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .org-tags li {
  padding: 6px 12px;
  border: 1px solid rgba(217, 164, 65, 0.42);
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.08);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .org-tags li:first-child {
  border-color: var(--flash);
  background: rgba(255, 107, 26, 0.14);
  color: var(--flash);
}

/* ---------- 赛季归档时间轴 ---------- */
.page-home .home-archive {
  padding-block: clamp(40px, 6vw, 84px);
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 22px 24px;
  border-left: 1px solid var(--hair);
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.16);
}

.page-home .timeline__year {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ochre);
}

.page-home .timeline__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(23, 18, 14, 0.78);
}

/* ---------- 轮次笔记 ---------- */
.page-home .home-notes {
  padding-block: clamp(38px, 6vw, 80px);
}

.page-home .home-notes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-home .home-notes .section-title,
.page-home .home-archive .section-title,
.page-home .home-tickets .section-title {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .note-list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.page-home .note-list__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--t), padding-left var(--t);
}

.page-home .note-list__link:hover,
.page-home .note-list__link:focus-visible {
  background: rgba(180, 83, 9, 0.07);
  padding-left: 12px;
}

.page-home .note-list__idx {
  padding-top: 3px;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--ochre);
}

.page-home .note-list__title {
  font-size: 15px;
  line-height: 1.6;
}

.page-home .note-list__meta {
  grid-column: 2;
  font-size: 12px;
  font-style: italic;
  color: rgba(23, 18, 14, 0.6);
}

.page-home .home-notes__figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--hair);
}

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

/* ---------- 固定返回 ---------- */
.page-home .home-return {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 40;
}

.page-home .home-return .btn {
  box-shadow: 0 12px 26px rgba(23, 18, 14, 0.3);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .board-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .board-stat + .board-stat {
    border-left: 1px solid rgba(245, 230, 200, 0.18);
  }
}

@media (min-width: 720px) {
  .page-home .league-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .odds-scale {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (min-width: 900px) {
  .page-home .board-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .page-home .home-map__grid {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-home .home-notes__grid {
    grid-template-columns: 1.32fr 0.68fr;
  }

  .page-home .timeline {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    padding-top: 34px;
    border-top: 2px solid rgba(23, 18, 14, 0.14);
  }

  .page-home .timeline__item {
    padding: 0;
    border-left: 0;
  }

  .page-home .timeline__item::before {
    top: -40px;
    left: 0;
  }
}

@media (min-width: 1060px) {
  .page-home .league-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 38px;
  }

  .page-home .league-card:nth-child(2) {
    --lift: 30px;
  }

  .page-home .league-card:nth-child(4) {
    --lift: 18px;
  }

  .page-home .odds-scale {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(245, 230, 200, 0.18);
    border-radius: 12px;
    overflow: hidden;
  }

  .page-home .odds-scale a {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .page-home .odds-scale li + li a {
    border-left: 1px solid rgba(245, 230, 200, 0.18);
  }
}

@media (max-width: 559px) {
  .page-home .home-return {
    left: 14px;
    right: 14px;
  }

  .page-home .home-return .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-card,
  .page-home .city-item,
  .page-home .note-list__link,
  .page-home .odds-scale a {
    transition-duration: 0.01ms;
  }

  .page-home .league-card:hover,
  .page-home .league-card:focus-visible {
    transform: translateY(var(--lift));
  }
}
