.page-home {
  --home-panel: #0B1426;
  --home-cut: 25deg;
  background: var(--ink-900);
  color: var(--mist);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home h2,
.page-home h3 {
  margin: 0;
}

.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .home-context::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 32px);
  background:
    radial-gradient(120% 80% at 88% -10%, rgba(34, 230, 255, 0.16), transparent 62%),
    radial-gradient(90% 65% at 4% 100%, rgba(255, 107, 44, 0.12), transparent 66%),
    var(--ink-900);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(143, 163, 191, 0.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(143, 163, 191, 0.05) 0 1px, transparent 1px 44px);
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  padding-block: clamp(24px, 4vw, 48px) clamp(36px, 6vw, 72px);
}

.page-home .home-hero__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-home .home-hero__accent {
  color: var(--cyan);
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 33em;
  font-size: 16px;
  line-height: 28px;
  color: var(--body-soft);
}

.page-home .entry-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .entry-switch__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 20, 38, 0.72);
  font-size: 13px;
  line-height: 18px;
  color: var(--body-soft);
}

.page-home .entry-switch__chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 230, 255, 0.16);
}

.page-home .entry-switch__chip--pc::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.18);
}

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

.page-home .home-hero__visual {
  position: relative;
  min-width: 0;
}

.page-home .home-hero__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px 26px 26px 64px;
  border: 1px solid var(--line-strong);
  background: var(--home-panel);
  box-shadow: 0 44px 80px -44px rgba(0, 0, 0, 0.92);
}

.page-home .home-hero__frame img {
  width: 100%;
  object-fit: cover;
}

.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(234, 242, 255, 0.055) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent 45%, rgba(5, 8, 15, 0.88) 100%);
}

.page-home .home-board {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 15, 0.9);
}

.page-home .home-board__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.page-home .home-board__label {
  font-size: 13px;
  color: var(--steel);
}

.page-home .home-board__value {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .home-board .badge {
  justify-self: start;
}

/* ---------- 状态带 ---------- */
.page-home .home-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-800);
  padding-block: 12px;
}

.page-home .home-ticker__track {
  display: flex;
  width: max-content;
  animation: home-marquee 32s linear infinite;
}

.page-home .home-ticker:hover .home-ticker__track {
  animation-play-state: paused;
}

.page-home .home-ticker__group {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-ticker__group li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 24px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
  white-space: nowrap;
}

.page-home .home-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 全宽数据带 ---------- */
.page-home .home-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(34, 230, 255, 0.12) 0%, rgba(11, 20, 38, 0.4) 46%, rgba(255, 107, 44, 0.14) 100%),
    var(--ink-900);
}

.page-home .home-band__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  margin: 0;
  padding: 28px 0;
  list-style: none;
}

.page-home .home-band__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .home-band__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .home-band__unit {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--body-soft);
}

.page-home .home-band__label {
  font-size: 13px;
  line-height: 20px;
  color: var(--steel);
}

.page-home .home-band__item:nth-child(2) .home-band__num { color: var(--amber); }
.page-home .home-band__item:nth-child(3) .home-band__num { color: var(--green); }
.page-home .home-band__item:nth-child(4) .home-band__num { color: var(--mist); }
.page-home .home-band__item:nth-child(5) .home-band__num { color: var(--orange); }

/* ---------- 通用章节头 ---------- */
.page-home .home-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .home-head__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.page-home .home-head__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-home .home-head__desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 27px;
  color: var(--body-soft);
}

/* ---------- 资料与积分 ---------- */
.page-home .home-lookup {
  padding-block: clamp(56px, 8vw, 96px);
}

.page-home .home-lookup__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-lookup__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .home-lookup__main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.page-home .home-figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--ink-800);
  object-fit: cover;
}

.page-home .home-figure__caption {
  font-size: 12px;
  line-height: 20px;
  color: var(--steel);
}

.page-home .home-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--home-panel);
}

.page-home .home-panel--plain {
  background:
    linear-gradient(150deg, rgba(34, 230, 255, 0.1), transparent 58%),
    var(--ink-800);
}

.page-home .home-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 26px;
  color: var(--mist);
}

.page-home .home-panel__note {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 24px;
  color: var(--steel);
}

.page-home .home-panel .btn {
  margin-top: 4px;
}

.page-home .home-table__scroll {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.page-home .home-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 22px;
}

.page-home .home-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  background: rgba(18, 48, 58, 0.5);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.page-home .home-table td {
  padding: 11px 12px;
  color: var(--body-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.page-home .home-table tbody tr:nth-child(even) {
  background: rgba(18, 48, 58, 0.3);
}

.page-home .home-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .home-table td:first-child {
  color: var(--mist);
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- 移动端入口 ---------- */
.page-home .home-mobile {
  padding-block: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(43, 217, 138, 0.1), transparent 62%),
    linear-gradient(180deg, transparent, rgba(18, 48, 58, 0.34));
  border-block: 1px solid var(--line);
}

.page-home .home-mobile__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-mobile__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 24px 0;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
}

.page-home .home-mobile__frame img {
  width: 100%;
  object-fit: cover;
}

.page-home .home-mobile__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(234, 242, 255, 0.05) 0 1px, transparent 1px 5px);
}

.page-home .home-mobile__lead {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 27px;
  color: var(--body-soft);
}

.page-home .home-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 38, 0.86);
}

.page-home .home-steps__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
}

.page-home .home-steps__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  color: var(--mist);
}

.page-home .home-steps__body p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--steel);
}

.page-home .home-mobile__stat {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 24px;
  color: var(--body-soft);
}

.page-home .home-mobile__stat .mono {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  margin-right: 6px;
}

/* ---------- 帮助路径 ---------- */
.page-home .home-help {
  padding-block: clamp(56px, 8vw, 96px);
}

.page-home .home-help__layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-home .home-help__list {
  display: grid;
  gap: 2px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .home-help__list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px dashed var(--line);
}

.page-home .home-help__num {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--cyan);
  padding-top: 2px;
}

.page-home .home-help__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  color: var(--mist);
}

.page-home .home-help__list p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 23px;
  color: var(--steel);
}

.page-home .home-help__proof {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 25px;
  color: var(--body-soft);
}

.page-home .home-help__proof .mono {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--amber);
}

/* ---------- 更新节奏 ---------- */
.page-home .home-rhythm {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-home .home-rhythm__panel {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(255, 107, 44, 0.16), transparent 58%),
    var(--ink-800);
}

.page-home .home-rhythm__lead {
  margin: 16px 0 22px;
  font-size: 15px;
  line-height: 27px;
  color: var(--body-soft);
}

.page-home .home-rhythm__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.page-home .home-rhythm__stat {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.6);
}

.page-home .home-rhythm__stat dt {
  font-size: 12px;
  line-height: 18px;
  color: var(--steel);
}

.page-home .home-rhythm__stat dd {
  margin: 8px 0 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .home-rhythm__stat:nth-child(2) dd { color: var(--green); }
.page-home .home-rhythm__stat:nth-child(3) dd { color: var(--amber); }
.page-home .home-rhythm__stat:nth-child(4) dd { color: var(--mist); }

/* ---------- 收口 ---------- */
.page-home .home-close {
  padding-bottom: clamp(56px, 8vw, 100px);
}

.page-home .home-close__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-home .home-close__lead {
  margin: 18px 0 26px;
  font-size: 15px;
  line-height: 27px;
  color: var(--body-soft);
}

.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-close__card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, rgba(34, 230, 255, 0.12), transparent 55%),
    var(--home-panel);
}

.page-home .home-close__label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .home-close__value {
  margin: 0 0 12px;
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  color: var(--mist);
  word-break: break-all;
}

.page-home .home-close__card .copy-btn {
  margin-bottom: 16px;
}

.page-home .home-close__note {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  line-height: 22px;
  color: var(--steel);
}

.page-home .home-close__card .home-close__value:last-child {
  margin-bottom: 0;
}

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }

  .page-home .home-board {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: min(64%, 330px);
    margin: 0;
    background: rgba(5, 8, 15, 0.92);
  }

  .page-home .home-band__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 34px 0;
  }

  .page-home .home-lookup__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 36px;
  }

  .page-home .home-lookup__side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

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

  .page-home .home-help__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .home-rhythm__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .home-close__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-ticker__track {
    animation: none;
  }
}
