/* ============================================================
   四季体育安装 · 首页 page-home
   ============================================================ */

.page-home {
  display: block;
}

/* ---------- 通用节奏 ---------- */
.page-home .section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .section-head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
  max-width: 46em;
}

.page-home .league-map__intro {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--rock);
  max-width: 44em;
}

/* ============================================================
   首屏
   ============================================================ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(circle at 80% 4%, rgba(95, 183, 220, 0.16), transparent 46%),
    radial-gradient(circle at 8% 96%, rgba(255, 106, 31, 0.13), transparent 44%);
  color: var(--bone);
  padding: calc(var(--header-h) + 34px) 0 clamp(52px, 8vw, 92px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 241, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 230, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
          mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
  pointer-events: none;
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

/* ---- 左侧叙事 ---- */
.page-home .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 230, 0.72);
}

.page-home .hero__eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: ph-pulse 2.4s ease-out infinite;
}

@keyframes ph-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 106, 31, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 106, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 31, 0); }
}

.page-home .hero__title {
  margin: 18px 0 0;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--bone);
  max-width: 15em;
}

.page-home .hero__lede {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.9;
  color: rgba(244, 241, 230, 0.76);
  max-width: 34em;
}

/* ---- 比分条 ---- */
.page-home .scoreboard {
  margin-top: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-m);
  background: rgba(20, 22, 26, 0.46);
  overflow: hidden;
}

.page-home .scoreboard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px;
  background: rgba(244, 241, 230, 0.05);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-home .scoreboard__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--bone);
}

.page-home .scoreboard__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.page-home .scoreboard__note {
  color: rgba(244, 241, 230, 0.5);
}

.page-home .score-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
}

.page-home .score-row__league {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 230, 0.2);
  color: rgba(244, 241, 230, 0.72);
  white-space: nowrap;
}

.page-home .score-row__teams {
  color: rgba(244, 241, 230, 0.86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .score-row__value {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .score-row--live .score-row__value {
  color: var(--signal);
}

.page-home .score-row__state {
  display: none;
  font-size: 12px;
  color: rgba(244, 241, 230, 0.48);
  white-space: nowrap;
}

/* ---- 首屏季节细色条 ---- */
.page-home .hero__seasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  max-width: 300px;
  margin-top: 30px;
}

.page-home .hero__seasons span {
  height: 4px;
  border-radius: 999px;
}

.page-home .hero__seasons span:nth-child(1) { background: var(--spring); }
.page-home .hero__seasons span:nth-child(2) { background: var(--summer); }
.page-home .hero__seasons span:nth-child(3) { background: var(--autumn); }
.page-home .hero__seasons span:nth-child(4) { background: var(--winter); }

/* ---- 右侧刻度盘 ---- */
.page-home .hero__side {
  position: relative;
}

.page-home .dial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 34px);
  border-radius: var(--radius-l);
  background: var(--ink);
  overflow: hidden;
  text-align: center;
  min-height: 420px;
}

.page-home .dial-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.65) contrast(1.05);
}

.page-home .dial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(18, 53, 46, 0.35), rgba(20, 22, 26, 0.94) 74%);
  pointer-events: none;
}

.page-home .dial-card > * {
  position: relative;
  z-index: 1;
}

.page-home .dial {
  position: relative;
  width: min(262px, 66vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 14px;
  background: conic-gradient(
    from -90deg,
    var(--signal) 0deg var(--p, 161deg),
    rgba(244, 241, 230, 0.14) var(--p, 161deg) 360deg
  );
}

.page-home .dial::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 31, 0.28);
  animation: ph-breathe 7s var(--ease) infinite;
  pointer-events: none;
}

@keyframes ph-breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.025); opacity: 1; }
}

.page-home .dial::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(244, 241, 230, 0.3) 0deg 0.7deg, transparent 0.7deg 9deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 0 86%, #000 86% 96%, transparent 96%);
          mask-image: radial-gradient(circle closest-side, transparent 0 86%, #000 86% 96%, transparent 96%);
  pointer-events: none;
}

.page-home .dial__face {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
}

.page-home .dial__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 230, 0.56);
}

.page-home .dial__round {
  font-family: var(--font-mono);
  font-size: clamp(58px, 9vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

.page-home .dial-card__cta {
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

.page-home .dial-card__hint {
  margin: -8px 0 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(244, 241, 230, 0.5);
}

/* ============================================================
   联赛归档目录
   ============================================================ */
.page-home .league-map {
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-raised) 100%);
}

.page-home .league-map__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .league-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 128px;
  padding: 26px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 40px 16px 30px 16px;
  background: var(--bone-raised);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.page-home .league-tile::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 46px;
  height: 5px;
  border-radius: 0 0 5px 5px;
  background: var(--tile-color, var(--moss));
}

.page-home .league-tile:hover,
.page-home .league-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
  border-color: rgba(20, 22, 26, 0.2);
}

.page-home .league-tile--football    { --tile-color: var(--spring); }
.page-home .league-tile--basketball  { --tile-color: var(--summer); }
.page-home .league-tile--volleyball  { --tile-color: var(--winter); }
.page-home .league-tile--tennis      { --tile-color: var(--autumn); }
.page-home .league-tile--pingpong    { --tile-color: var(--clay); }

.page-home .league-tile__count {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tile-color, var(--moss));
  font-variant-numeric: tabular-nums;
}

.page-home .league-tile__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .league-tile__list {
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .league-map__figure {
  margin: clamp(28px, 4vw, 46px) 0 0;
}

.page-home .league-map__figure .media__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--rock);
}

/* ============================================================
   收藏与回看
   ============================================================ */
.page-home .records {
  background: var(--bone);
}

.page-home .records__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.page-home .records__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--ink-deep);
  color: var(--bone);
  padding: clamp(22px, 3.2vw, 34px);
}

.page-home .records__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 230, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .records__panel > * {
  position: relative;
  z-index: 1;
}

.page-home .records__panel-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 230, 0.55);
}

.page-home .rec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .rec-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.page-home .rec-item__when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 241, 230, 0.5);
  white-space: nowrap;
}

.page-home .rec-item__match {
  color: rgba(244, 241, 230, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .rec-item__match b {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--winter);
}

.page-home .rec-item__tag {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(244, 241, 230, 0.1);
  color: rgba(244, 241, 230, 0.7);
  white-space: nowrap;
}

.page-home .records__panel-foot {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(244, 241, 230, 0.66);
}

.page-home .records__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(22px, 3.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bone-raised);
}

.page-home .records__meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .records__meter b {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--clay);
}

.page-home .slot-dots {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 6px;
}

.page-home .slot-dots i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--signal);
}

.page-home .slot-dots i:nth-child(n + 6) {
  background: rgba(20, 22, 26, 0.14);
}

.page-home .records__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .records__steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .records__steps .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  padding-top: 4px;
}

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

/* ============================================================
   安装对比
   ============================================================ */
.page-home .compare {
  background: var(--bone-raised);
}

.page-home .compare__wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bone);
}

.page-home .compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .compare__table thead th {
  background: var(--ink-deep);
  color: var(--bone);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-home .compare__table th,
.page-home .compare__table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.page-home .compare__table tbody th {
  font-weight: 700;
  color: var(--ink);
  background: rgba(18, 53, 46, 0.045);
  white-space: nowrap;
}

.page-home .compare__table tbody td {
  color: rgba(20, 22, 26, 0.78);
}

.page-home .compare__table tbody td:nth-child(3) {
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 106, 31, 0.07);
  box-shadow: inset 3px 0 0 var(--signal);
}

.page-home .compare__table tbody tr:last-child th,
.page-home .compare__table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .install-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bone);
}

.page-home .install-bar__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  display: block;
}

.page-home .install-bar__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .install-bar__desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rock);
}

/* ============================================================
   本地支持（收尾）
   ============================================================ */
.page-home .local {
  background: var(--ink-deep);
  color: var(--bone);
}

.page-home .local__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 46px);
  align-items: start;
}

.page-home .local .eyebrow {
  color: rgba(244, 241, 230, 0.6);
}

.page-home .local .section-title {
  color: var(--bone);
}

.page-home .local__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(244, 241, 230, 0.74);
  max-width: 34em;
}

.page-home .quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 230, 0.14);
}

.page-home .quick-links a {
  color: rgba(244, 241, 230, 0.9);
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(244, 241, 230, 0.28);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .quick-links a:hover {
  color: var(--winter);
  border-color: var(--winter);
}

.page-home .local__card {
  border: 1px solid rgba(178, 90, 56, 0.42);
  border-radius: var(--radius-l);
  background: rgba(178, 90, 56, 0.16);
  padding: clamp(20px, 3vw, 30px);
}

.page-home .local__line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(244, 241, 230, 0.16);
  font-size: 15px;
  color: var(--bone);
}

.page-home .local__line span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 230, 0.55);
  padding-top: 4px;
}

.page-home .local__line b {
  font-weight: 600;
  word-break: break-word;
}

.page-home .local__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(244, 241, 230, 0.62);
}

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

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 620px) {
  .page-home .score-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .page-home .score-row__state {
    display: inline-block;
  }

  .page-home .install-bar {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 22px;
  }

  .page-home .install-bar .btn {
    grid-column: 2 / 3;
    justify-self: start;
  }
}

@media (min-width: 760px) {
  .page-home .league-map__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .league-tile--football   { grid-column: span 4; }
  .page-home .league-tile--basketball { grid-column: span 2; }
  .page-home .league-tile--volleyball { grid-column: span 2; }
  .page-home .league-tile--tennis     { grid-column: span 2; }
  .page-home .league-tile--pingpong   { grid-column: span 2; }
}

@media (min-width: 900px) {
  .page-home .records__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: stretch;
  }

  .page-home .local__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}

@media (min-width: 980px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hero__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .dial-card {
    min-height: 480px;
  }

  .page-home .install-bar {
    grid-template-columns: 168px minmax(0, 1fr) auto;
    gap: 28px;
  }

  .page-home .install-bar .btn {
    grid-column: auto;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero__eyebrow i,
  .page-home .dial::before {
    animation: none;
  }

  .page-home .league-tile {
    transition: none;
  }
}
<<<END>>>

.page-home {
  --p: transparent;
}
