.page-home {
  position: relative;
  background-color: var(--cream);
  color: var(--deep-brown);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ===== 首屏焦点 ===== */
.page-home .home-hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 56px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(139, 155, 180, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 155, 180, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "X0-12 / Y0-6";
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(139, 155, 180, 0.7);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    gap: 56px;
    align-items: center;
  }
}

.page-home .hero-copy .breadcrumb {
  margin-bottom: 24px;
}

.page-home .hero-copy > .index-label {
  display: inline-block;
  border: 1px solid var(--border-brown);
  color: var(--deep-brown);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  margin-bottom: 18px;
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--deep-brown);
}

.page-home .hero-tagline {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--orange-red);
  margin: 0 0 20px;
}

.page-home .hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--brown-muted);
  margin: 0 0 28px;
  max-width: 46em;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 480px) {
  .page-home .hero-stats {
    gap: 14px;
  }
}

.page-home .hero-stat {
  border-left: 3px solid var(--orange-red);
  padding-left: 10px;
}

@media (min-width: 480px) {
  .page-home .hero-stat {
    padding-left: 14px;
  }
}

.page-home .hero-stat .stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--brown-muted);
  margin-bottom: 4px;
}

.page-home .hero-stat .stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-brown);
}

@media (min-width: 480px) {
  .page-home .hero-stat .stat-value {
    font-size: 20px;
  }
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .hero-figure {
  position: relative;
  margin: 0;
  border: 2px solid var(--deep-brown);
  background: var(--cream-light);
  box-shadow: 10px 10px 0 rgba(43, 30, 22, 0.14);
}

.page-home .hero-figure a {
  display: block;
}

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

.page-home .hero-figure .index-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--deep-brown);
  color: var(--cream-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  padding: 6px 12px;
}

.page-home .media-frame-caption {
  background: var(--cream-light);
  border-top: 1px solid var(--border-brown);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brown-muted);
}

/* ===== 区块基础 ===== */
.page-home .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 960px) {
  .page-home .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange-red);
}

.page-home .section-title {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--deep-brown);
  margin: 0;
}

.page-home .section-rule {
  height: 4px;
  background: var(--orange-red);
  margin-bottom: 24px;
}

.page-home .section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown-muted);
  max-width: 56em;
  margin: 0 0 28px;
}

/* ===== 今日赛程回放 ===== */
.page-home .schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 960px) {
  .page-home .schedule-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
  }
  .page-home .schedule-card {
    grid-column: span 6;
  }
  .page-home .schedule-entry {
    grid-column: 1 / -1;
  }
}

.page-home .media-frame {
  position: relative;
}

.page-home .schedule-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--deep-brown);
  background: var(--cream-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(43, 30, 22, 0.14);
}

.page-home .schedule-card .media-frame {
  border-bottom: 1px solid var(--border-brown);
}

.page-home .schedule-card .index-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--deep-brown);
  color: var(--cream-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  padding: 5px 10px;
}

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

.page-home .schedule-info {
  padding: 18px 20px 22px;
}

.page-home .schedule-league {
  display: inline-block;
  border: 1px solid rgba(232, 93, 46, 0.35);
  color: var(--orange-red);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.page-home .schedule-title {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.25;
  color: var(--deep-brown);
  margin: 0 0 6px;
}

.page-home .schedule-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brown-muted);
  margin-bottom: 12px;
}

.page-home .schedule-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--deep-brown);
  border-bottom: 2px solid var(--orange-red);
  padding-bottom: 2px;
  text-decoration: none;
}

.page-home .schedule-entry {
  margin: 0;
  padding: 28px;
  background: var(--deep-brown);
  color: var(--cream-light);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .page-home .schedule-entry {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-home .schedule-entry .index-label {
  display: inline-block;
  background: var(--orange-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.page-home .schedule-entry-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--cream-light);
  margin: 10px 0 6px;
}

.page-home .schedule-entry p {
  color: rgba(245, 240, 230, 0.75);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.page-home .schedule-entry .btn-outline {
  border-color: var(--cream-light);
  color: var(--cream-light);
  white-space: nowrap;
}

/* ===== 联赛导航 ===== */
.page-home .league-section {
  background: var(--cream-light);
  border-top: 1px solid var(--border-brown);
  border-bottom: 1px solid var(--border-brown);
}

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

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

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

.page-home .league-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 12px;
  background: var(--cream);
  border: 2px solid var(--deep-brown);
  text-align: center;
  text-decoration: none;
  color: var(--deep-brown);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .league-item:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0 rgba(43, 30, 22, 0.16);
}

.page-home .league-abbr {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange-red);
  overflow-wrap: anywhere;
  transition: transform 0.22s ease;
}

@media (min-width: 720px) {
  .page-home .league-abbr {
    font-size: 24px;
  }
}

.page-home .league-item:hover .league-abbr {
  transform: scale(1.08);
}

.page-home .league-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}

.page-home .league-latest {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brown-muted);
}

.page-home .league-note {
  margin-top: 20px;
  border-left: 3px solid var(--border-brown);
  padding-left: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brown-muted);
}

/* ===== 苹果设备专区 ===== */
.page-home .apple-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 960px) {
  .page-home .apple-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    align-items: center;
    gap: 56px;
  }
}

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

.page-home .apple-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--deep-brown);
}

.page-home .apple-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--orange-red);
}

.page-home .filter-demo {
  border: 1px solid var(--border-brown);
  background: var(--cream);
  padding: 18px;
  margin-bottom: 24px;
}

.page-home .filter-demo summary {
  font-family: var(--font-head);
  font-size: 16px;
  cursor: pointer;
  color: var(--deep-brown);
  list-style: none;
}

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

.page-home .filter-demo summary::before {
  content: "▶ ";
  color: var(--orange-red);
}

.page-home .filter-demo[open] summary::before {
  content: "▼ ";
}

.page-home .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-home .filter-chip {
  border: 1px solid var(--border-brown);
  background: var(--cream-light);
  color: var(--deep-brown);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 12px;
}

.page-home .filter-chip.is-active {
  background: var(--orange-red);
  border-color: var(--orange-red);
  color: #fff;
}

.page-home .filter-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--border-brown);
  padding-top: 14px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brown-muted);
}

.page-home .filter-result strong {
  color: var(--deep-brown);
}

.page-home .apple-figure {
  position: relative;
  margin: 0;
  border: 2px solid var(--deep-brown);
  background: var(--cream-light);
  padding: 20px;
  box-shadow: 8px 8px 0 rgba(43, 30, 22, 0.12);
}

.page-home .apple-figure .index-label {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--orange-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
}

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

/* ===== 下载帮助中心 ===== */
.page-home .download-section {
  background: var(--dark-brown);
  color: var(--cream-light);
}

.page-home .download-inner {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-home .download-inner .section-head {
  justify-content: center;
}

.page-home .download-section .section-title {
  color: var(--cream-light);
}

.page-home .download-section .section-lead {
  margin-left: auto;
  margin-right: auto;
  color: rgba(245, 240, 230, 0.8);
}

.page-home .search-demo {
  background: var(--cream-light);
  color: var(--deep-brown);
  border: 2px solid var(--cream);
  padding: 24px;
  margin: 28px 0;
  text-align: left;
}

.page-home .search-demo label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--deep-brown);
  margin-bottom: 10px;
}

.page-home .search-row {
  display: flex;
  gap: 10px;
}

.page-home .search-input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--deep-brown);
  background: #fff;
  color: var(--deep-brown);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
}

.page-home .search-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  border: 2px solid var(--deep-brown);
  background: var(--orange-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 20px;
  flex: 0 0 auto;
}

.page-home .search-hint {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brown-muted);
}

.page-home .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.page-home .download-section .btn-outline {
  border-color: var(--cream-light);
  color: var(--cream-light);
}

.page-home .download-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.65);
}

/* ===== 站内服务索引 ===== */
.page-home .service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.page-home .service-entry {
  display: block;
  border: 1px solid var(--border-brown);
  background: var(--cream-light);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--deep-brown);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .service-entry:hover {
  border-color: var(--orange-red);
  box-shadow: 4px 4px 0 rgba(232, 93, 46, 0.22);
}

.page-home .service-entry .index-label {
  display: inline-block;
  border: 1px solid var(--orange-red);
  color: var(--orange-red);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
}

.page-home .service-entry strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  margin: 12px 0 6px;
}

.page-home .service-entry span:last-child {
  font-size: 14px;
  line-height: 1.55;
  color: var(--brown-muted);
}

/* ===== 章节目录 ===== */
.page-home .home-toc {
  display: none;
}

@media (min-width: 1280px) {
  .page-home .home-toc {
    display: block;
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    z-index: 60;
    background: var(--cream-light);
    border: 1px solid var(--border-brown);
    padding: 18px;
    box-shadow: 4px 4px 0 rgba(43, 30, 22, 0.08);
  }

  .page-home .home-toc .toc-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--orange-red);
    border-bottom: 1px solid var(--border-brown);
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  .page-home .home-toc a {
    display: block;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--brown-muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--border-brown);
  }

  .page-home .home-toc a:hover,
  .page-home .home-toc a[aria-current="true"] {
    color: var(--orange-red);
    font-weight: 600;
  }
}
