.page-home {
  --home-accent: var(--rose);
  --home-accent-soft: rgba(255, 61, 127, .12);
  --home-accent-line: rgba(255, 61, 127, .42);
  --home-ice-soft: rgba(69, 214, 255, .12);
  --home-gold-soft: rgba(255, 194, 75, .12);
  --home-rail-w: 240px;
  width: 100%;
  max-width: var(--shell-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

.page-home > * {
  position: relative;
}

/* ---------- 首屏 ---------- */
.page-home .home-open {
  padding-top: 22px;
  padding-bottom: 34px;
}

.page-home .home-open::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(69, 214, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(69, 214, 255, .07) 1px, transparent 1px),
    radial-gradient(920px 420px at 82% 4%, rgba(69, 214, 255, .10), transparent 66%),
    radial-gradient(720px 380px at 8% 0%, rgba(255, 61, 127, .11), transparent 68%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-open > * {
  position: relative;
  z-index: 1;
}

.page-home .home-open__head {
  max-width: 900px;
}

.page-home .home-open__head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 12px 0 16px;
  color: var(--text);
  max-width: 22ch;
}

.page-home .home-open__head .lede {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-home .home-open__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 30px;
}

/* ---------- 左侧纵向栏目索引 ---------- */
.page-home .home-rail {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, rgba(13, 18, 25, .35) 100%);
  padding: 16px 14px 10px;
}

.page-home .home-rail__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-rail__count {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--home-accent);
}

.page-home .home-rail__label {
  font-size: .8125rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.page-home .home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-rail__item + .home-rail__item {
  border-top: 1px solid rgba(30, 42, 56, .7);
}

.page-home .home-rail__link {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 9px 6px;
  text-decoration: none;
  color: inherit;
  border-left: 2px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  background-color: var(--home-accent-soft);
  border-left-color: var(--home-accent);
}

.page-home .home-rail__no {
  font-size: .75rem;
  color: var(--muted);
  padding-top: 2px;
}

.page-home .home-rail__text {
  display: block;
  min-width: 0;
}

.page-home .home-rail__name {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.page-home .home-rail__desc {
  display: block;
  margin-top: 2px;
  font-size: .75rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- 右侧状态台 ---------- */
.page-home .home-stage {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.page-home .home-stage__media {
  margin: 0;
}

.page-home .home-stage__media .media__frame {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--panel-2);
}

.page-home .home-stage__media .media__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-stage__media .media__caption {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .home-stage__status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-stage__status .status-card {
  background-color: var(--panel);
  padding: 16px 16px 18px;
  border-radius: 0;
}

.page-home .home-stage__status .status-card--live {
  box-shadow: inset 0 2px 0 0 var(--home-accent);
}

.page-home .home-stage__status .status-card__label {
  margin: 0 0 6px;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .home-stage__status .status-card__value {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .home-stage__status .status-card__hint {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 热门二级入口 ---------- */
.page-home .home-hot {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-home .home-hot__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-hot__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--text);
}

.page-home .home-hot__count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: .8125rem;
  color: var(--on-accent);
  background-color: var(--home-accent);
}

.page-home .home-hot .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 14px;
}

.page-home .home-hot .filter-btn {
  appearance: none;
  font-family: var(--font-body);
  font-size: .8125rem;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-home .home-hot .filter-btn:hover {
  border-color: var(--home-accent-line);
  color: var(--text);
}

.page-home .home-hot .filter-btn.is-active,
.page-home .home-hot .filter-btn[aria-pressed="true"] {
  border-color: var(--home-accent);
  background-color: var(--home-accent-soft);
  color: var(--home-accent);
}

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

.page-home .home-hot__item {
  background-color: var(--panel);
  transition: opacity .12s var(--ease), transform .12s var(--ease);
}

.page-home .home-hot__item.is-hidden {
  display: none;
}

.page-home .home-hot__item.is-in {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-hot__link {
  display: block;
  padding: 11px 13px;
  text-decoration: none;
  color: inherit;
  transition: background-color .18s var(--ease);
}

.page-home .home-hot__link:hover,
.page-home .home-hot__link:focus-visible {
  background-color: var(--home-accent-soft);
}

.page-home .home-hot__name {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.page-home .home-hot__desc {
  display: block;
  margin-top: 3px;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 七项安全项 ---------- */
.page-home .home-checks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 26px;
}

.page-home .home-checks__media {
  margin: 0;
}

.page-home .home-checks__media .media__frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--panel-2);
}

.page-home .home-checks__media .media__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .checklist__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  padding: 13px 0 13px 10px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .checklist__item.is-done {
  border-left-color: var(--ice);
  background-color: var(--home-ice-soft);
}

.page-home .checklist__index {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: .9375rem;
  color: var(--muted);
  padding-top: 2px;
  transition: color .2s var(--ease);
}

.page-home .checklist__item.is-done .checklist__index {
  color: var(--ice);
}

.page-home .checklist__label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.page-home .checklist__input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--ice);
  cursor: pointer;
}

.page-home .checklist__text {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
}

.page-home .checklist__desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .checklist__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.page-home .checklist__track {
  flex: 1 1 auto;
  height: 6px;
  background-color: var(--panel-3);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-home .checklist__bar {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--ice);
  transition: width .24s var(--ease);
}

.page-home .checklist__count {
  flex: none;
  font-size: .8125rem;
  color: var(--muted);
}

.page-home .home-checks__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.page-home .btn--copy.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 按周归档时间轴 ---------- */
.page-home .home-archive__media {
  margin: 24px 0 0;
}

.page-home .home-archive__media .media__frame {
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--panel-2);
}

.page-home .home-archive__media .media__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-arc {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.page-home .home-arc__item {
  position: relative;
  padding: 20px 0 20px 24px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-arc__node {
  position: absolute;
  left: 0;
  top: 25px;
  width: 9px;
  height: 9px;
  background-color: var(--panel-3);
  border: 1px solid var(--line-strong);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .home-arc__item.is-lit .home-arc__node {
  background-color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--home-gold-soft);
}

.page-home .home-arc__week {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-home .home-arc__body .tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: .6875rem;
  letter-spacing: .06em;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.page-home .home-arc__body .tag--accent {
  border-color: rgba(255, 194, 75, .5);
  color: var(--gold);
  background-color: var(--home-gold-soft);
}

.page-home .home-arc__text {
  margin: 10px 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 固定访问偏好 ---------- */
.page-home .home-pref__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-home .home-pref__lead {
  max-width: 60ch;
  margin: 16px 0 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-pref__list {
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .home-pref__list li {
  padding: 9px 0 9px 20px;
  position: relative;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.page-home .home-pref__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 2px;
  background-color: var(--home-accent);
}

.page-home .home-pref__media {
  margin: 0;
}

.page-home .home-pref__media .media__frame {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--panel-2);
}

.page-home .home-pref__media .media__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-pref__media .media__caption {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--muted);
}

/* ---------- 咨询 ---------- */
.page-home .home-help__band {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--panel-2) 0%, var(--panel) 62%, var(--bg) 100%);
  padding: 26px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: inset 3px 0 0 0 var(--home-accent);
}

.page-home .home-help__band .section-title {
  margin: 10px 0 12px;
}

.page-home .home-help__band p {
  max-width: 58ch;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-help__band .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 动效 ---------- */
.page-home [data-reveal] {
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}

.page-home [data-reveal].js-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.page-home [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal],
  .page-home [data-reveal].js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .page-home .home-arc__node,
  .page-home .checklist__bar {
    transition: none;
  }
}

/* ---------- 中等屏幕：索引双列 ---------- */
@media (min-width: 640px) {
  .page-home .home-stage__status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 640px) and (max-width: 899px) {
  .page-home .home-rail__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .page-home .home-rail__item + .home-rail__item {
    border-top: 0;
  }

  .page-home .home-rail__item {
    border-top: 1px solid rgba(30, 42, 56, .7);
  }
}

/* ---------- 桌面：非对称分栏 + 横向时间轴 ---------- */
@media (min-width: 900px) {
  .page-home {
    padding-inline: calc(var(--gutter) * 2);
  }

  .page-home .home-open__grid {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .home-checks__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .home-pref__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 42px;
  }

  .page-home .home-help__band {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 32px 30px;
  }

  .page-home .home-arc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-arc__item {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 26px 20px 26px 24px;
  }

  .page-home .home-arc__item:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hot__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
</｜｜DSML｜｜ parameter>
</invoke>
