.page-home {
  --ph-line: rgba(199, 204, 214, 0.14);
  --ph-line-strong: rgba(199, 204, 214, 0.28);
  --ph-veil: rgba(7, 11, 20, 0.9);
  padding-bottom: 0;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding: 26px 0 0;
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

.page-home .hero-context .idx {
  color: var(--green);
}

.page-home .hero-context__sep {
  color: var(--line-strong);
}

.page-home .hero-window {
  position: relative;
  border: 1px solid var(--ph-line-strong);
  background: var(--bg-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-home .hero-window::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background-image: repeating-linear-gradient(180deg, var(--silver) 0 1px, transparent 1px 16px);
  opacity: 0.4;
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-window::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 136, 0.16), transparent 68%);
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-window__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.75);
  z-index: 0;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ph-line);
  backdrop-filter: blur(1px);
}

.page-home .hero-focus,
.page-home .hero-side {
  min-width: 0;
}

.page-home .hero-focus {
  padding: 30px 22px 28px 28px;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.82), rgba(7, 11, 20, 0.96));
}

.page-home .hero-focus .plate {
  margin-bottom: 4px;
}

.page-home .hero-focus h1 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 6.4vw, 54px);
  font-weight: 250;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 20ch;
}

.page-home .hero-focus__lead {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

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

.page-home .hero-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ph-line);
}

.page-home .hero-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--ph-veil);
}

.page-home .hero-clock__time {
  font-family: var(--font-mono);
  font-size: clamp(38px, 9vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green);
}

.page-home .hero-cell__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
}

.page-home .hero-cell__value--orange {
  color: var(--orange);
}

.page-home .hero-cell__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--silver);
}

/* ---------- 通用分区 ---------- */
.page-home .ph-section {
  padding: clamp(48px, 6vw, 88px) 0 0;
}

.page-home .ph-section--tight {
  padding-bottom: clamp(40px, 5vw, 72px);
}

/* ---------- 今晚更新流 ---------- */
.page-home .tonight-bento {
  margin-bottom: 14px;
}

.page-home .tonight-visual {
  padding: 14px;
}

.page-home .tonight-visual .figure {
  margin: 0;
}

.page-home .tonight-visual .figure__media {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.page-home .tonight-metrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 26px 24px;
}

.page-home .tonight-metrics .metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ph-line);
}

.page-home .tonight-metrics .metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .tonight-metrics .metric__value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .tonight-metrics .metric__value--green {
  color: var(--green);
}

.page-home .tonight-metrics .metric__value--orange {
  color: var(--orange);
}

.page-home .tonight-metrics .metric__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver);
}

.page-home .tonight-timeline {
  padding: 22px 24px 8px;
}

.page-home .tonight-timeline__head {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

.page-home .tonight-timeline .data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--ph-line);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-home .tonight-timeline .data-row__key {
  color: var(--silver);
  letter-spacing: 0.04em;
}

.page-home .tonight-timeline .data-row__val {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .tonight-timeline .data-row__val--green {
  color: var(--green);
}

/* ---------- 赛后记录 ---------- */
.page-home .recap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .recap-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 54ch;
}

.page-home .recap-copy .btn {
  margin-top: 8px;
}

.page-home .recap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ph-line);
  border: 1px solid var(--ph-line);
}

.page-home .recap-list li {
  padding: 18px 20px;
  background: var(--panel);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .recap-list li:hover {
  background: var(--panel-raised);
  transform: translateY(-2px);
}

.page-home .recap-list h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.page-home .recap-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- 多联赛面板 ---------- */
.page-home .leagues-visual {
  padding: 14px;
}

.page-home .leagues-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .leagues-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 24px;
}

.page-home .leagues-note__num {
  font-family: var(--font-mono);
  font-size: clamp(42px, 10vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.page-home .leagues-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .leagues-note__sub {
  font-size: 13px !important;
  color: var(--silver) !important;
}

.page-home .league-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .league-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.page-home .league-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- 移动端 ---------- */
.page-home .mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.page-home .mobile-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--ph-line-strong);
  padding: 12px;
  background: var(--panel);
  border-radius: var(--radius);
}

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

.page-home .mobile-copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 22ch;
}

.page-home .mobile-copy > p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 52ch;
}

.page-home .mobile-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .mobile-features li {
  border-left: 2px solid var(--green);
  padding: 2px 0 2px 16px;
}

.page-home .mobile-features h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.page-home .mobile-features p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .mobile-compat {
  font-size: 13px !important;
  color: var(--silver) !important;
  margin-bottom: 18px !important;
}

/* ---------- 观察报告导览 ---------- */
.page-home .report-index {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ph-line);
  border: 1px solid var(--ph-line);
}

.page-home .report-index__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 20px 22px;
  background: var(--panel);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .report-index__item:hover {
  background: var(--panel-raised);
  transform: translateY(-2px);
}

.page-home .report-index__item .idx {
  grid-row: span 2;
  color: var(--green);
  padding-top: 4px;
}

.page-home .report-index__item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.page-home .report-index__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .report-cta {
  display: flex;
  justify-content: flex-start;
}

/* ---------- 常见问题 ---------- */
.page-home .faq-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--ph-line);
  border: 1px solid var(--ph-line);
}

.page-home .faq-item {
  padding: 22px 24px;
  background: var(--panel);
}

.page-home .faq-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.page-home .faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .closing-strip {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px dashed var(--ph-line-strong);
  border-radius: var(--radius);
}

.page-home .closing-strip p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}

.page-home .closing-strip a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .closing-strip a:hover,
.page-home .closing-strip a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

.page-home .closing-strip__sep {
  color: var(--line-strong);
}

.page-home .btn:focus-visible,
.page-home .closing-strip a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .recap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .mobile-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .tonight-timeline .data-row {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }

  .page-home .faq-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding-top: 34px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }

  .page-home .hero-focus {
    padding: 54px 44px 50px 56px;
  }

  .page-home .recap-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .recap-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 52px;
  }

  .page-home .report-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .report-index__item:first-child {
    grid-column: span 2;
  }

  .page-home .faq-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .page-home .recap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .recap-list li,
  .page-home .report-index__item {
    transition: none;
  }

  .page-home .recap-list li:hover,
  .page-home .report-index__item:hover {
    transform: none;
  }
}
