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

/* ---------- 首屏 ---------- */
.page-home .hero {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(32px, 6vw, 76px) 0 clamp(40px, 7vw, 88px);
}

.page-home .hero__eyebrow {
  margin: 18px 0 12px;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(30px, 7vw, 56px);
}

.page-home .hero__intro {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero__find {
  margin: 0 0 26px;
  padding: 18px 20px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--glass-brd);
}

.page-home .hero__find-label {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.page-home .hero__find-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

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

.page-home .chip {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

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

.page-home .hero__rhythm {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  height: 58px;
  margin-top: 14px;
}

.page-home .hero__rhythm span {
  display: block;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(70, 240, 190, 0.12));
}

.page-home .hero__rhythm span:nth-child(1) { height: 34%; }
.page-home .hero__rhythm span:nth-child(2) { height: 44%; }
.page-home .hero__rhythm span:nth-child(3) { height: 78%; background: linear-gradient(180deg, var(--amber), rgba(255, 138, 61, 0.12)); }
.page-home .hero__rhythm span:nth-child(4) { height: 52%; }
.page-home .hero__rhythm span:nth-child(5) { height: 62%; }
.page-home .hero__rhythm span:nth-child(6) { height: 96%; background: linear-gradient(180deg, var(--amber), rgba(255, 138, 61, 0.12)); }
.page-home .hero__rhythm span:nth-child(7) { height: 68%; }

.page-home .hero__rhythm-note {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

@media (min-width: 960px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
  }
  .page-home .hero__rhythm { height: 72px; }
}

/* ---------- 章节头部 ---------- */
.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .sec-head__title {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-size: clamp(22px, 4vw, 34px);
}

.page-home .sec-head__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .sec-head--invert .sec-head__lead {
  color: var(--mist);
}

/* ---------- 本周时间轴 ---------- */
.page-home .week-banner {
  margin: 0 0 clamp(24px, 3.4vw, 38px);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

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

.page-home .week-banner .figure__caption {
  padding: 12px 16px 14px;
  background: rgba(6, 18, 29, 0.6);
  font-size: 13px;
  color: var(--stone);
}

.page-home .week-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.page-home .week-scroll:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .week-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .day {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid var(--line);
}

.page-home .day--key {
  border-top-color: var(--amber);
}

.page-home .day__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .day__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.page-home .day__count {
  font-size: 12px;
  color: var(--stone);
}

.page-home .match {
  padding: 10px 11px 9px;
  margin-bottom: 8px;
  background: rgba(6, 18, 29, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .match:hover,
.page-home .match:focus-within {
  transform: translateY(-2px);
  border-color: rgba(70, 240, 190, 0.5);
}

.page-home .match--key {
  padding: 14px 13px 12px;
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(28, 58, 48, 0.66);
}

.page-home .match__meta {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .match__time {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .match--key .match__time {
  font-size: 26px;
  color: var(--cyan);
}

@media (min-width: 720px) {
  .page-home .week-track { grid-auto-columns: 42%; }
}

@media (min-width: 1080px) {
  .page-home .week-scroll { overflow-x: visible; }
  .page-home .week-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-columns: auto;
  }
}

/* ---------- 焦点场次 ---------- */
.page-home .focus-grid {
  display: grid;
  gap: 18px;
}

.page-home .focus-card {
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(28, 58, 48, 0.72), rgba(6, 18, 29, 0.66));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .focus-card:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 240, 190, 0.5);
}

.page-home .focus-card--lead {
  background: linear-gradient(160deg, rgba(14, 32, 54, 0.9), rgba(10, 31, 25, 0.82));
  border-color: rgba(70, 240, 190, 0.34);
}

.page-home .focus-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .focus-card__when {
  font-size: 13px;
  color: var(--stone);
}

.page-home .focus-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: clamp(19px, 2.6vw, 26px);
}

.page-home .focus-card--lead .focus-card__title {
  font-size: clamp(22px, 3.4vw, 34px);
}

.page-home .focus-card__note {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .focus-card--lead .focus-card__note {
  font-size: 16px;
  max-width: 40ch;
}

.page-home .focus-card__foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--stone);
}

@media (min-width: 900px) {
  .page-home .focus-grid {
    grid-template-columns: 1.45fr 1fr 1fr;
    align-items: stretch;
  }
}

/* ---------- 比分与榜单 ---------- */
.page-home .stats-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(10, 31, 25, 0.9), rgba(6, 18, 29, 0.94));
}

.page-home .stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-home .stats-wrap > *:not(.stats-bg) {
  position: relative;
  z-index: 1;
}

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

.page-home .stat-block {
  padding: 18px 18px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-soft);
  background: rgba(6, 18, 29, 0.62);
}

.page-home .stat-block__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

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

.page-home .stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .stat-row:last-child {
  border-bottom: 0;
}

.page-home .stat-row__name {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mist);
}

.page-home .stat-row__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-align: right;
}

.page-home .stat-row__delta {
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--stone);
  text-align: right;
}

.page-home .stats-foot {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--stone);
}

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

/* ---------- 收藏 ---------- */
.page-home .saved-wrap {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

.page-home .saved-copy__title {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.22;
  font-size: clamp(22px, 4vw, 32px);
}

.page-home .saved-copy__text {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-home .saved-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-soft);
  background: rgba(6, 18, 29, 0.6);
}

.page-home .saved-group__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--clay);
}

.page-home .saved-group__name {
  margin: 0;
  flex: 1 1 auto;
  font-size: 15px;
  color: var(--paper);
}

.page-home .saved-group__count {
  font-size: 13px;
  color: var(--stone);
}

@media (min-width: 880px) {
  .page-home .saved-wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

/* ---------- 更新公告 ---------- */
.page-home .notes-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .notes-figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

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

.page-home .notes-figure .figure__caption {
  padding: 12px 16px 14px;
  background: rgba(6, 18, 29, 0.64);
  font-size: 13px;
  color: var(--stone);
}

.page-home .notes-copy__title {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.22;
  font-size: clamp(22px, 4vw, 32px);
}

.page-home .notes-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .note-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .note-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .note-item__ver {
  flex: 0 0 auto;
  padding: 3px 9px;
  border: 1px solid rgba(70, 240, 190, 0.4);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--cyan);
}

.page-home .note-item__title {
  flex: 1 1 12em;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .note-item__when {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}

@media (min-width: 920px) {
  .page-home .notes-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
  .page-home .notes-figure {
    position: sticky;
    top: 96px;
  }
}

/* ---------- 三种查询入口 ---------- */
.page-home .find-grid {
  display: grid;
  gap: 16px;
}

.page-home .find-way {
  padding: 22px 20px 24px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: rgba(14, 32, 54, 0.56);
  transition: border-color 0.2s ease;
}

.page-home .find-way:hover {
  border-color: rgba(70, 240, 190, 0.48);
}

.page-home .find-way__num {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .find-way__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.page-home .find-way__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

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

/* ---------- 延伸入口 ---------- */
.page-home .more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 4px 0;
}

.page-home .more-links a {
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .more-links a:hover,
.page-home .more-links a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}
