.page-home {
  --ph-gap: 20px;
  --ph-pad: 56px;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-home .ph-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.page-home .ph-crumbs__now { color: var(--muted); }

.page-home .ax-crumbs { padding: 18px 0 2px; }

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

.page-home .ph-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
}

.page-home .ph-hero__frame {
  position: relative;
  display: grid;
  min-height: 340px;
  border: var(--rule);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .ph-hero__frame::before,
.page-home .ph-hero__frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 3;
  pointer-events: none;
}

.page-home .ph-hero__frame::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}

.page-home .ph-hero__frame::after {
  bottom: 9px;
  right: 9px;
  border-bottom: 1px solid var(--orange);
  border-right: 1px solid var(--orange);
}

.page-home .ph-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
}

.page-home .ph-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 13, 22, 0.96) 0%, rgba(6, 13, 22, 0.84) 44%, rgba(6, 13, 22, 0.42) 100%);
}

.page-home .ph-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px 20px 36px;
}

.page-home .ph-hero__content h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 7.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .ph-hero__lead {
  max-width: 46ch;
  margin: 0;
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .ph-rail {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: var(--rule);
  background: linear-gradient(180deg, rgba(18, 40, 60, 0.78), rgba(11, 27, 43, 0.42));
}

.page-home .ph-rail__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(38, 227, 210, 0.16);
  animation: ph-pulse 3s var(--ease) infinite;
}

@keyframes ph-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.page-home .ph-rail__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.page-home .ph-rail__fact dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .ph-rail__fact dd {
  margin: 5px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--text);
}

.page-home .ph-rail__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 通用区块头 ---------- */
.page-home .ph-sec-head {
  display: grid;
  gap: 20px;
}

.page-home .ph-sec-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.page-home .ph-sec-head .ax-lead {
  margin: 12px 0 0;
  max-width: 62ch;
}

.page-home .ph-sec-head__figure {
  margin: 0;
  border: var(--rule);
  background: var(--slate);
  max-width: 340px;
}

.page-home .ph-sec-head__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 近 7 天排期 ---------- */
.page-home .ph-schedule {
  padding: var(--ph-pad) 0;
  background: var(--ink-2);
  border-top: var(--rule);
}

.page-home .ph-timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 28px;
}

.page-home .ph-timeline > * { min-width: 0; }

.page-home .ph-tick-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .ph-scale {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(108px, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: var(--rule);
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .ph-tick {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: var(--rule);
  background: rgba(18, 40, 60, 0.5);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-home .ph-tick:hover { border-color: var(--cyan); }

.page-home .ph-tick__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .ph-tick__day {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.page-home .ph-tick__meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home #ph-day-1:checked ~ .ph-scale [for="ph-day-1"],
.page-home #ph-day-2:checked ~ .ph-scale [for="ph-day-2"],
.page-home #ph-day-3:checked ~ .ph-scale [for="ph-day-3"],
.page-home #ph-day-4:checked ~ .ph-scale [for="ph-day-4"],
.page-home #ph-day-5:checked ~ .ph-scale [for="ph-day-5"],
.page-home #ph-day-6:checked ~ .ph-scale [for="ph-day-6"],
.page-home #ph-day-7:checked ~ .ph-scale [for="ph-day-7"] {
  border-color: var(--orange);
  background: linear-gradient(90deg, rgba(255, 122, 41, 0.14), rgba(18, 40, 60, 0.62));
  box-shadow: inset 2px 0 0 var(--orange);
}

.page-home #ph-day-1:checked ~ .ph-scale [for="ph-day-1"] .ph-tick__dot,
.page-home #ph-day-2:checked ~ .ph-scale [for="ph-day-2"] .ph-tick__dot,
.page-home #ph-day-3:checked ~ .ph-scale [for="ph-day-3"] .ph-tick__dot,
.page-home #ph-day-4:checked ~ .ph-scale [for="ph-day-4"] .ph-tick__dot,
.page-home #ph-day-5:checked ~ .ph-scale [for="ph-day-5"] .ph-tick__dot,
.page-home #ph-day-6:checked ~ .ph-scale [for="ph-day-6"] .ph-tick__dot,
.page-home #ph-day-7:checked ~ .ph-scale [for="ph-day-7"] .ph-tick__dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 41, 0.18);
}

.page-home .ph-tick-input:focus-visible ~ .ph-scale {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .ph-panels {
  border: var(--rule);
  border-top: 0;
  background: rgba(11, 27, 43, 0.62);
}

.page-home .ph-panel {
  display: none;
  gap: 14px;
  padding: 18px;
}

.page-home #ph-day-1:checked ~ .ph-panels .ph-panel[data-day="1"],
.page-home #ph-day-2:checked ~ .ph-panels .ph-panel[data-day="2"],
.page-home #ph-day-3:checked ~ .ph-panels .ph-panel[data-day="3"],
.page-home #ph-day-4:checked ~ .ph-panels .ph-panel[data-day="4"],
.page-home #ph-day-5:checked ~ .ph-panels .ph-panel[data-day="5"],
.page-home #ph-day-6:checked ~ .ph-panels .ph-panel[data-day="6"],
.page-home #ph-day-7:checked ~ .ph-panels .ph-panel[data-day="7"] {
  display: grid;
}

.page-home .ph-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: var(--rule);
}

.page-home .ph-panel__head h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.page-home .ph-fixtures {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.page-home .ph-fixture {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(44, 66, 87, 0.7);
  transition: background-color 0.2s var(--ease);
}

.page-home .ph-fixture:last-child { border-bottom: 0; }

.page-home .ph-fixture:hover {
  background: linear-gradient(90deg, rgba(38, 227, 210, 0.06), rgba(38, 227, 210, 0));
}

.page-home .ph-fixture__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .ph-fixture__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.page-home .ph-fixture__meta {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .ph-fixture .ax-tag {
  grid-column: 3;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

.page-home .ax-tag--warn {
  border-color: rgba(255, 122, 41, 0.5);
  color: var(--orange);
}

/* ---------- 关注列表 ---------- */
.page-home .ph-watch { padding: var(--ph-pad) 0; }

.page-home .ph-watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .ph-watch__body h2,
.page-home .ph-plans__head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .ph-watch__body .ax-lead {
  margin: 12px 0 0;
  max-width: 62ch;
}

.page-home .ph-steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.page-home .ph-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: var(--rule);
}

.page-home .ph-step__no {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  padding-top: 3px;
}

.page-home .ph-step h3 {
  margin: 0 0 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.page-home .ph-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .ph-watch__body .ax-btn { margin-top: 24px; }

.page-home .ph-watch__stats {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px 20px;
  border: var(--rule);
  background: linear-gradient(160deg, var(--indigo), rgba(18, 40, 60, 0.9));
}

.page-home .ph-stat {
  display: grid;
  gap: 3px;
}

.page-home .ph-stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-home .ph-stat__label {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-home .ph-watch__note {
  margin: 0;
  padding-top: 16px;
  border-top: var(--rule);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 伤停脉冲 ---------- */
.page-home .ph-injury {
  padding: var(--ph-pad) 0;
  border-top: var(--rule);
  background: linear-gradient(180deg, var(--wine) 0%, var(--ink-2) 72%);
}

.page-home .ph-injury__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.page-home .ph-injury__figure {
  margin: 0;
  border: var(--rule);
  background: rgba(6, 13, 22, 0.4);
}

.page-home .ph-injury__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .ph-injury__caption {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-top: var(--rule);
}

.page-home .ph-injury__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .ph-icard {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.page-home .ph-icard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .ph-icard h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text);
}

.page-home .ph-icard p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .ph-icard__bar {
  position: relative;
  height: 4px;
  background: rgba(232, 241, 248, 0.09);
  overflow: hidden;
}

.page-home .ph-icard__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-home .ph-injury__cta { margin-top: 26px; }

/* ---------- 资料与服务范围 ---------- */
.page-home .ph-res {
  padding: var(--ph-pad) 0;
  border-top: var(--rule);
  background: linear-gradient(180deg, var(--teal), var(--ink-2));
}

.page-home .ph-res__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .ph-res__body h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .ph-res__body .ax-lead {
  margin: 12px 0 0;
  max-width: 60ch;
}

.page-home .ph-res__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.page-home .ph-res__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-home .ph-res__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.page-home .ph-res__actions { margin-top: 26px; }

.page-home .ph-res__figure {
  margin: 0;
  border: var(--rule);
  background: rgba(6, 13, 22, 0.42);
}

.page-home .ph-res__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 订阅档位与收束 ---------- */
.page-home .ph-plans {
  padding: var(--ph-pad) 0 88px;
  border-top: var(--rule);
}

.page-home .ph-plans__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.page-home .ph-plan {
  padding: 20px;
  border: var(--rule);
  border-top: 2px solid var(--cyan);
  background: rgba(18, 40, 60, 0.34);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .ph-plan:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .ph-plan h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}

.page-home .ph-plan p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .ph-plans__cta {
  margin: 32px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .ph-plans__cta a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 227, 210, 0.45);
  transition: border-color 0.2s var(--ease);
}

.page-home .ph-plans__cta a:hover { border-bottom-color: var(--cyan); }

/* ---------- 章节索引 ---------- */
.page-home .ph-toc { display: none; }

/* ---------- 平板 ---------- */
@media (min-width: 640px) {
  .page-home .ph-injury__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .ph-plans__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home { --ph-pad: 72px; }

  .page-home .ph-hero { padding: 16px 0 72px; }

  .page-home .ph-hero__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: 24px;
  }

  .page-home .ph-hero__frame {
    grid-column: 2;
    min-height: 520px;
  }

  .page-home .ph-rail { grid-column: 1; grid-row: 1; }

  .page-home .ph-hero__content {
    padding: 48px 44px;
    max-width: 660px;
  }

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

  .page-home .ph-sec-head {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: end;
    gap: 30px;
  }

  .page-home .ph-sec-head__figure { justify-self: end; }

  .page-home .ph-timeline {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: 24px;
    align-items: start;
  }

  .page-home .ph-scale {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 0;
    border-bottom: 0;
    overflow: visible;
  }

  .page-home .ph-scale::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: linear-gradient(180deg, var(--cyan), rgba(38, 227, 210, 0.08));
  }

  .page-home .ph-tick {
    padding: 13px 14px 13px 36px;
  }

  .page-home .ph-tick__dot {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-home .ph-panels {
    border-top: var(--rule);
    min-height: 100%;
  }

  .page-home .ph-panel { padding: 22px 24px; }

  .page-home .ph-fixture { grid-template-columns: 72px minmax(0, 1fr) auto; }

  .page-home .ph-watch__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 34px;
  }

  .page-home .ph-injury__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    align-items: start;
  }

  .page-home .ph-res__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 40px;
    align-items: center;
  }
}

/* ---------- 窄屏细节 ---------- */
@media (max-width: 519px) {
  .page-home .ph-fixture {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .page-home .ph-fixture__meta { grid-column: 2; }

  .page-home .ph-fixture .ax-tag {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }

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

/* ---------- 宽屏章节索引 ---------- */
@media (min-width: 1440px) {
  .page-home .ph-toc {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: grid;
    gap: 7px;
  }

  .page-home .ph-toc__link {
    padding: 4px 9px;
    border-left: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  }

  .page-home .ph-toc__link:hover,
  .page-home .ph-toc__link.is-active {
    color: var(--cyan);
    border-left-color: var(--cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-rail__pulse { animation: none; }
  .page-home .ph-tick,
  .page-home .ph-plan,
  .page-home .ph-fixture { transition: none; }
  .page-home .ph-plan:hover { transform: none; }
}
