.page-home {
  display: block;
  width: 100%;
  color: var(--paper);
  background: var(--bg-deep);
  overflow: clip;
}

/* ===== 首屏专题封面 ===== */
.page-home .hp-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  isolation: isolate;
}

.page-home .hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
  pointer-events: none;
}

.page-home .hp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 42% at 12% 24%, rgba(255, 79, 139, 0.2), transparent 76%),
    radial-gradient(ellipse 38% 34% at 88% 82%, rgba(139, 92, 246, 0.2), transparent 76%);
  pointer-events: none;
}

.page-home .hp-hero__grid {
  position: relative;
  z-index: 1;
  width: min(100% - 36px, 1280px);
  margin-inline: auto;
}

.page-home .hp-hero__content {
  position: relative;
}

.page-home .hp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
}

.page-home .hp-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .hp-breadcrumb a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.page-home .hp-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 197, 61, 0.08);
  border: 1px solid rgba(255, 197, 61, 0.35);
}

.page-home .hp-alert__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--amber);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.page-home .hp-alert__copy {
  flex: 1 1 240px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hp-alert__link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .hp-alert__link:hover {
  border-bottom-color: currentColor;
}

.page-home .hp-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-wrap: balance;
  text-shadow:
    0 0 22px rgba(255, 79, 139, 0.3),
    0 0 44px rgba(139, 92, 246, 0.18);
}

.page-home .hp-hero__title-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.66em;
  font-weight: 700;
  color: var(--violet-soft);
  text-shadow: none;
}

.page-home .hp-hero__lead {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

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

.page-home .hp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}

.page-home .hp-stats__item {
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(20, 20, 28, 0.55);
  text-align: center;
}

.page-home .hp-stats__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--pink);
  text-shadow: 0 0 12px rgba(255, 79, 139, 0.35);
}

.page-home .hp-stats__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.page-home .hp-hero__cover {
  position: relative;
  max-width: 480px;
  margin: 36px auto 0;
}

.page-home .hp-cover-frame {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 79, 139, 0.18);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 79, 139, 0.08),
    0 0 32px rgba(255, 79, 139, 0.18);
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .hp-cover-frame:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.5),
    0 0 0 4px rgba(255, 79, 139, 0.14),
    0 0 44px rgba(139, 92, 246, 0.24);
}

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

.page-home .hp-cover-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: linear-gradient(120deg, var(--pink), var(--violet));
  clip-path: polygon(0 34%, 22% 0, 100% 100%, 0 100%);
  opacity: 0.86;
  pointer-events: none;
}

.page-home .hp-cover-frame__issue {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg-deep);
  background: var(--blue);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.35);
}

.page-home .hp-cover-frame__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
  background: rgba(10, 10, 15, 0.55);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.page-home .hp-cover-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-sm);
  background: rgba(20, 20, 28, 0.5);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .hp-cover-note__label {
  color: var(--gray);
}

.page-home .hp-cover-note__value {
  color: var(--mint);
  font-weight: 700;
}

/* ===== 各区块内层容器 ===== */
.page-home .hp-hot__inner,
.page-home .hp-fit__inner,
.page-home .hp-archive__inner {
  width: min(100% - 36px, 1280px);
  margin-inline: auto;
}

.page-home .hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page-home .hp-section-head__kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.page-home .hp-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--paper);
  text-shadow: 0 0 22px rgba(255, 79, 139, 0.16);
}

.page-home .hp-section-head__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .hp-section-head__more:hover {
  color: var(--paper);
  border-bottom-color: currentColor;
}

/* ===== 热门视频索引 Bento ===== */
.page-home .hp-hot {
  padding: 48px 0;
}

.page-home .hp-hot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hp-hot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .hp-hot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 139, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 79, 139, 0.1);
}

.page-home .hp-hot-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-elevated);
}

.page-home .hp-hot-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.page-home .hp-hot-card__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.page-home .hp-hot-card__body {
  flex: 1;
  padding: 18px 20px 22px;
}

.page-home .hp-hot-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .hp-hot-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

.page-home .hp-hot-card__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .hp-hot-card:hover .hp-hot-card__link {
  transform: translateY(0);
  border-bottom-color: currentColor;
}

.page-home .hp-hot-card--instant .hp-hot-card__body {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 90% at 100% 0%, rgba(139, 92, 246, 0.35), transparent 64%),
    radial-gradient(ellipse 130% 70% at 0% 100%, rgba(255, 79, 139, 0.2), transparent 62%);
}

.page-home .hp-hot-card__num {
  position: absolute;
  right: -4px;
  bottom: -18px;
  font-family: var(--font-mono);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.page-home .hp-hot-card--instant h3 {
  color: var(--violet-soft);
}

/* ===== 适配清单与异常排查 ===== */
.page-home .hp-fit {
  padding: 48px 0;
  background: radial-gradient(ellipse 60% 75% at 50% 100%, rgba(139, 92, 246, 0.06), transparent 70%);
}

.page-home .hp-fit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hp-fit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(20, 20, 28, 0.85), rgba(28, 28, 40, 0.65));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .hp-fit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(139, 92, 246, 0.12);
}

.page-home .hp-fit-card--primary {
  border-color: rgba(0, 212, 255, 0.32);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(0, 212, 255, 0.14), transparent 55%),
    linear-gradient(145deg, rgba(20, 20, 28, 0.9), rgba(28, 28, 40, 0.7));
}

.page-home .hp-fit-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .hp-fit-card__icon-shell {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.24);
}

.page-home .hp-fit-card--primary .hp-fit-card__icon-shell {
  color: var(--blue);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.24);
}

.page-home .hp-fit-card--entry .hp-fit-card__icon-shell {
  color: var(--amber);
  background: rgba(255, 197, 61, 0.08);
  border-color: rgba(255, 197, 61, 0.22);
}

.page-home .hp-fit-card__status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.page-home .hp-fit-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .hp-fit-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

.page-home .hp-fit-card .btn--ghost {
  align-self: flex-start;
  margin-top: auto;
}

.page-home .hp-fit-card__link {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .hp-fit-card__link:hover {
  color: var(--paper);
  border-bottom-color: currentColor;
}

/* ===== 按日期归档下载入口 ===== */
.page-home .hp-archive {
  padding: 48px 0 72px;
}

.page-home .hp-archive__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .hp-archive__timeline {
  position: relative;
  padding: 8px 0;
}

.page-home .hp-archive__line {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--violet), rgba(0, 212, 255, 0.5));
  opacity: 0.5;
}

.page-home .hp-timeline-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
}

.page-home .hp-timeline-item:last-child {
  margin-bottom: 0;
}

.page-home .hp-timeline-item__dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.page-home .hp-timeline-item--current .hp-timeline-item__dot {
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 79, 139, 0.8);
}

.page-home .hp-timeline-item__content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(20, 20, 28, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .hp-timeline-item:hover .hp-timeline-item__content {
  border-color: rgba(255, 79, 139, 0.35);
  background: rgba(28, 28, 40, 0.65);
}

.page-home .hp-timeline-item--current .hp-timeline-item__content {
  border-color: rgba(255, 79, 139, 0.3);
  background: rgba(28, 28, 40, 0.6);
}

.page-home .hp-timeline-item__issue {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
}

.page-home .hp-timeline-item--current .hp-timeline-item__issue {
  color: var(--paper);
  text-shadow: 0 0 10px rgba(255, 79, 139, 0.45);
}

.page-home .hp-timeline-item b {
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hp-timeline-item__type {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.page-home .hp-archive__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .hp-archive__card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 120% 70% at 100% 0%, rgba(0, 212, 255, 0.08), transparent 55%),
    var(--bg-panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .hp-archive__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 212, 255, 0.08);
}

.page-home .hp-archive__card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.28);
}

.page-home .hp-archive__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .hp-archive__card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

.page-home .hp-archive__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.page-home .hp-archive__list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.page-home .hp-archive__list dt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hp-archive__list dd {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}

.page-home .hp-archive__note {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 197, 61, 0.3);
  background: rgba(255, 197, 61, 0.05);
}

.page-home .hp-archive__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

/* ===== 侧边悬浮平台状态提示 ===== */
.page-home .hp-status-float {
  display: none;
}

/* ===== 媒体查询：平板与桌面 ===== */
@media (min-width: 640px) {
  .page-home .hp-hero__grid {
    width: min(100% - 48px, 1280px);
  }

  .page-home .hp-hot__inner,
  .page-home .hp-fit__inner,
  .page-home .hp-archive__inner {
    width: min(100% - 48px, 1280px);
  }

  .page-home .hp-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .hp-hot__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hp-hot-card--large {
    grid-column: span 2;
  }

  .page-home .hp-hot-card--wide {
    grid-column: span 2;
  }

  .page-home .hp-fit__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hp-fit-card--primary {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .page-home .hp-hero {
    padding: 64px 0 72px;
  }

  .page-home .hp-hero__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .hp-hero__cover {
    order: 1;
    max-width: 560px;
    margin: 0;
  }

  .page-home .hp-hero__content {
    order: 2;
  }

  .page-home .hp-hot,
  .page-home .hp-fit,
  .page-home .hp-archive {
    padding: 72px 0;
  }

  .page-home .hp-hot__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-home .hp-hot-card--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .hp-hot-card--wide {
    grid-column: span 2;
  }

  .page-home .hp-hot-card--large .hp-hot-card__body {
    justify-content: space-between;
  }

  .page-home .hp-fit__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .hp-fit-card--primary {
    grid-column: span 1;
  }

  .page-home .hp-archive__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
  }

  .page-home .hp-archive__timeline {
    padding-top: 4px;
  }

  .page-home .hp-status-float {
    position: fixed;
    left: 24px;
    bottom: 88px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(10, 10, 15, 0.78);
    border: 1px solid rgba(0, 212, 255, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray);
  }

  .page-home .hp-status-float__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    animation: page-home-pulse 2s ease-in-out infinite;
  }

  .page-home .hp-status-float__link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }

  .page-home .hp-status-float__link:hover {
    border-bottom-color: currentColor;
  }
}

@keyframes page-home-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px rgba(45, 212, 191, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.9);
  }
}
