/* ===== 页面专属：首页 .page-home ===== */
.page-home {
  --hero-gap: 16px;
  --card-radius: 12px;
  --speedline-color: rgba(230,57,70,0.15);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 16px 40px;
  max-width: var(--content-max-width, 1200px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
  font-size: 13px;
  color: var(--color-gray, #6B6B6B);
}
.page-home .breadcrumb a {
  color: var(--color-primary, #0066CC);
  text-decoration: none;
  font-weight: 500;
}
.page-home .breadcrumb a[aria-current="page"] {
  color: var(--color-text, #1C1C1C);
  pointer-events: none;
  font-weight: 400;
}

/* ===== 首屏拼贴区 ===== */
.page-home .hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-gap);
  padding: 20px 0 0;
}
.page-home .hero-diagonal {
  display: none;
}
.page-home .hero-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .hero-title {
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text, #1C1C1C);
  margin: 0;
  letter-spacing: -0.01em;
}
.page-home .hero-subtitle {
  font-size: 13px;
  color: var(--color-gray, #6B6B6B);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.page-home .season-switch {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.page-home .season-tab {
  padding: 6px 16px;
  border: 1px solid var(--color-border, #D4C9B8);
  border-radius: 20px;
  background: transparent;
  color: var(--color-text, #1C1C1C);
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-home .season-tab.active {
  background: var(--color-primary, #0066CC);
  color: #fff;
  border-color: var(--color-primary, #0066CC);
}
.page-home .season-tab:not(.active):hover {
  border-color: var(--color-primary, #0066CC);
  color: var(--color-primary, #0066CC);
}
.page-home .status-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,102,204,0.06);
  border-radius: 6px;
  margin-top: 4px;
}
.page-home .status-dot--live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent, #E63946);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.page-home .status-label {
  font-size: 12px;
  color: var(--color-gray, #6B6B6B);
}

/* ---- 右侧卡片组 ---- */
.page-home .hero-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-gap);
}
.page-home .hero-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border, #D4C9B8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* 主推场次大卡片 */
.page-home .hero-card--featured {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.page-home .hero-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-home .hero-card__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  background: linear-gradient(to top, rgba(28,28,28,0.85) 0%, rgba(28,28,28,0.15) 70%, transparent 100%);
  color: #fff;
  flex: 1;
}
.page-home .hero-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-home .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.page-home .tag--live {
  background: var(--color-accent, #E63946);
  color: #fff;
}
.page-home .tag--report {
  background: var(--color-primary, #0066CC);
  color: #fff;
}
.page-home .tag--lineup {
  background: var(--color-highlight, #FFD166);
  color: var(--color-text, #1C1C1C);
}
.page-home .tag--event {
  background: var(--color-border, #D4C9B8);
  color: var(--color-text, #1C1C1C);
  font-size: 10px;
  padding: 1px 8px;
}
.page-home .hero-card__title {
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.page-home .hero-card__teams {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}
.page-home .team-name {
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
}
.page-home .vs-mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  color: var(--color-highlight, #FFD166);
  font-weight: 700;
}
.page-home .btn--accent {
  background: var(--color-accent, #E63946);
  color: #fff;
  border: none;
}
.page-home .btn--accent:hover {
  background: #c92e3a;
}
.page-home .btn--small {
  padding: 6px 18px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.page-home .hero-card__speedline {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, var(--speedline-color) 40%, var(--speedline-color) 42%, transparent 42%),
              linear-gradient(155deg, transparent 55%, var(--speedline-color) 55%, var(--speedline-color) 57%, transparent 57%);
  pointer-events: none;
  z-index: 2;
}
/* 右侧小卡片 */
.page-home .hero-card--side {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 100px;
}
.page-home .hero-card__body {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.page-home .hero-card__excerpt {
  font-size: 14px;
  color: var(--color-text, #1C1C1C);
  margin: 0;
  line-height: 1.4;
}
.page-home .hero-card__body time,
.page-home .lineup-count {
  font-size: 12px;
  color: var(--color-gray, #6B6B6B);
}
.page-home .hero-card__thumb {
  width: 100px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-left: 1px solid var(--color-border, #D4C9B8);
}
.page-home .hero-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  margin: auto 12px;
}

/* ===== 赛季赛事切换指南 ===== */
.page-home .schedule-section {
  position: relative;
  padding: 24px 0 8px;
  border-top: 2px solid var(--color-border, #D4C9B8);
}
.page-home .section-heading {
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-text, #1C1C1C);
  position: relative;
  display: inline-block;
}
.page-home .section-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-highlight, #FFD166);
  border-radius: 2px;
}
.page-home .schedule-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.page-home .schedule-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.page-home .schedule-label {
  padding: 6px 18px;
  border: 1px solid var(--color-border, #D4C9B8);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text, #1C1C1C);
  background: transparent;
  user-select: none;
}
.page-home .schedule-label:hover {
  border-color: var(--color-primary, #0066CC);
  color: var(--color-primary, #0066CC);
}
.page-home #tab2025:checked ~ .schedule-label[for="tab2025"],
.page-home #tab2024:checked ~ .schedule-label[for="tab2024"],
.page-home #tabFav:checked ~ .schedule-label[for="tabFav"] {
  background: var(--color-primary, #0066CC);
  color: #fff;
  border-color: var(--color-primary, #0066CC);
}
.page-home .schedule-content {
  display: none;
  padding: 8px 0;
}
.page-home #tab2025:checked ~ .schedule-content[data-season="2025"],
.page-home #tab2024:checked ~ .schedule-content[data-season="2024"],
.page-home #tabFav:checked ~ .schedule-content[data-season="fav"] {
  display: block;
}
.page-home .schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 24px;
}
.page-home .schedule-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border, #D4C9B8);
  border-radius: 1px;
}
.page-home .timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  position: relative;
  flex-wrap: wrap;
}
.page-home .timeline-dot {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary, #0066CC);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--color-border, #D4C9B8);
  z-index: 1;
}
.page-home .timeline-dot--fav {
  background: var(--color-highlight, #FFD166);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--color-text, #1C1C1C);
  line-height: 1;
}
.page-home .timeline-time {
  font-size: 13px;
  color: var(--color-gray, #6B6B6B);
  min-width: 80px;
  font-weight: 500;
}
.page-home .timeline-match {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  min-width: 120px;
}
.page-home .timeline-match .vs-mono {
  font-size: 11px;
  color: var(--color-gray, #6B6B6B);
}
.page-home .live-pulse {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.page-home .btn--outline {
  background: transparent;
  color: var(--color-primary, #0066CC);
  border: 1px solid var(--color-primary, #0066CC);
}
.page-home .btn--outline:hover {
  background: var(--color-primary, #0066CC);
  color: #fff;
}
.page-home .fav-note {
  font-size: 12px;
  color: var(--color-gray, #6B6B6B);
  padding: 12px 0 4px;
  margin: 0;
  text-align: center;
  border-top: 1px dashed var(--color-border, #D4C9B8);
}

/* ===== 战报速递 ===== */
.page-home .reports-section {
  padding: 8px 0;
  border-top: 2px solid var(--color-border, #D4C9B8);
}
.page-home .reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
.page-home .report-card {
  background: #fff;
  border: 1px solid var(--color-border, #D4C9B8);
  border-radius: var(--card-radius);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.page-home .report-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.page-home .report-card__time {
  font-size: 13px;
  color: var(--color-gray, #6B6B6B);
  font-weight: 500;
}
.page-home .report-card__title {
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text, #1C1C1C);
}
.page-home .report-card__details {
  margin-top: 4px;
}
.page-home .report-card__details summary {
  font-size: 13px;
  color: var(--color-primary, #0066CC);
  cursor: pointer;
  font-weight: 500;
  padding: 4px 0;
  user-select: none;
}
.page-home .report-card__details summary:hover {
  color: var(--color-primary-dark, #004499);
}
.page-home .report-card__body {
  padding: 12px 0 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text, #1C1C1C);
}
.page-home .report-card__body p {
  margin: 0 0 8px;
}
.page-home .report-card__events {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .report-card__events li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* ===== 快捷入口 ===== */
.page-home .quick-section {
  padding: 8px 0;
  border-top: 2px solid var(--color-border, #D4C9B8);
}
.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.page-home .quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
.page-home .quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--card-radius);
  background: #fff;
  border: 1px solid var(--color-border, #D4C9B8);
  text-decoration: none;
  color: var(--color-text, #1C1C1C);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-home .quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--color-primary, #0066CC);
}
.page-home .quick-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-bg, #F5F0E8);
  color: var(--color-primary, #0066CC);
}
.page-home .quick-card--lineup .quick-card__icon {
  color: var(--color-highlight, #FFD166);
  background: rgba(255,209,102,0.15);
}
.page-home .quick-card--reports .quick-card__icon {
  color: var(--color-primary, #0066CC);
  background: rgba(0,102,204,0.1);
}
.page-home .quick-card--fav .quick-card__icon {
  color: var(--color-accent, #E63946);
  background: rgba(230,57,70,0.1);
}
.page-home .quick-card__label {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
}
.page-home .quick-card__note {
  font-size: 12px;
  color: var(--color-gray, #6B6B6B);
  margin-left: auto;
  white-space: nowrap;
}

/* ===== 信任声明装饰条 ===== */
.page-home .trust-bar {
  padding: 16px 20px;
  background: var(--color-sidebar-bg, #1C1C1C);
  border-radius: var(--card-radius);
  text-align: center;
}
.page-home .trust-bar__text {
  font-size: 13px;
  color: var(--color-sidebar-text, #F5F0E8);
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ===== 响应式：移动端优先（已默认） ===== */
@media (min-width: 640px) {
  .page-home .hero-right {
    grid-template-columns: 2fr 1fr;
  }
  .page-home .hero-card--featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 360px;
  }
  .page-home .hero-side {
    display: contents;
  }
  .page-home .hero-card--side {
    min-height: 0;
  }
  .page-home .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .quick-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  .page-home .quick-card__note {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .page-home {
    padding: 0 24px 48px;
    gap: 48px;
  }
  .page-home .hero-section {
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 28px 0 0;
  }
  .page-home .hero-diagonal {
    display: block;
    position: absolute;
    top: 0;
    left: 180px;
    width: 60px;
    height: 100%;
    background: linear-gradient(165deg, transparent 45%, var(--color-highlight, #FFD166) 45%, var(--color-highlight, #FFD166) 48%, transparent 48%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }
  .page-home .hero-title {
    font-size: 36px;
  }
  .page-home .hero-subtitle {
    font-size: 14px;
  }
  .page-home .season-switch {
    flex-direction: column;
    gap: 6px;
  }
  .page-home .season-tab {
    text-align: center;
  }
  .page-home .hero-card--featured {
    min-height: 400px;
  }
  .page-home .hero-card__title {
    font-size: 24px;
  }
  .page-home .reports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .section-heading {
    font-size: 24px;
  }
  .page-home .schedule-section {
    padding: 32px 0 12px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-section {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }
  .page-home .hero-diagonal {
    left: 220px;
  }
  .page-home .hero-title {
    font-size: 42px;
  }
  .page-home .hero-card--featured {
    min-height: 460px;
  }
  .page-home .hero-card__overlay {
    padding: 28px;
  }
  .page-home .hero-card__thumb {
    width: 130px;
  }
  .page-home .hero-card__icon {
    width: 56px;
    height: 56px;
  }
}

/* ---------- 工具类（限定作用域内使用） ---------- */
.page-home .mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace) !important;
}
.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.page-home .btn--primary {
  background: var(--color-primary, #0066CC);
  color: #fff;
  border: none;
}
.page-home .btn--primary:hover {
  background: var(--color-primary-dark, #004499);
}
