.page-home {
  --home-glow: rgba(25, 227, 208, 0.14);
  --home-glow-violet: rgba(122, 107, 255, 0.13);
  --home-card-bg: linear-gradient(158deg, rgba(23, 73, 110, 0.55), rgba(12, 43, 69, 0.92));
  background: var(--abyss);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px) 0 clamp(38px, 6vw, 70px);
  background:
    radial-gradient(820px 380px at 84% 4%, var(--home-glow), transparent 68%),
    radial-gradient(700px 420px at 4% 96%, var(--home-glow-violet), transparent 72%),
    linear-gradient(155deg, var(--abyss) 0%, var(--deep) 62%, var(--abyss) 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 59, 84, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 59, 84, 0.55) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(120% 92% at 50% 0%, #000 18%, transparent 78%);
  mask-image: radial-gradient(120% 92% at 50% 0%, #000 18%, transparent 78%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-size: clamp(1.85rem, 5.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

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

.page-home .hero__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  padding: 6px 12px;
  border: 1px solid rgba(25, 227, 208, 0.35);
  border-radius: var(--radius);
  background: rgba(25, 227, 208, 0.07);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-home .hero__lead {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.78;
  color: var(--text-dim);
}

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

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.page-home .hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.page-home .hero__stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.01em;
}

.page-home .hero__unit {
  font-size: 0.62em;
  margin-left: 2px;
  color: var(--cyan-soft);
}

.page-home .hero__stat-key {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.page-home .hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .hero__shot {
  margin: 0;
  transform: rotate(-1.4deg);
  border: 1px solid rgba(25, 227, 208, 0.28);
  box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.95);
  background: var(--deep);
  overflow: hidden;
}

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

.page-home .hero__timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(25, 227, 208, 0.32);
  border-radius: var(--radius);
  background: rgba(12, 43, 69, 0.95);
  box-shadow: var(--shadow-card);
}

.page-home .hero__ring {
  flex: none;
}

.page-home .hero__timer-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hero__clock {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.page-home .hero__timer-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--slate);
}

.page-home .hero__follow {
  margin-left: auto;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .page-home .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
  }

  .page-home .hero__visual {
    display: block;
    padding-top: 10px;
  }

  .page-home .hero__timer {
    position: absolute;
    right: -8px;
    bottom: -26px;
    width: 342px;
    flex-wrap: nowrap;
  }
}

/* ---------- 内容地图 ---------- */
.page-home .map {
  background: linear-gradient(180deg, var(--abyss), var(--deep) 55%, var(--abyss));
}

.page-home .map__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60ch;
  margin-bottom: 26px;
}

.page-home .map__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--text);
}

.page-home .map__lead {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.78;
}

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

.page-home .map-card {
  position: relative;
  display: block;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--home-card-bg);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .map-card--1 { transform: rotate(-0.8deg); }
.page-home .map-card--2 { transform: rotate(0.7deg); }
.page-home .map-card--3 { transform: rotate(-0.6deg); }
.page-home .map-card--4 { transform: rotate(0.9deg); }

.page-home .map-card:hover,
.page-home .map-card:focus-visible {
  transform: rotate(0deg) translateY(-2px);
  border-color: rgba(25, 227, 208, 0.55);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(25, 227, 208, 0.18);
  outline: none;
}

.page-home .map-card__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .map-card__title {
  margin: 10px 0 8px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-home .map-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-home .map-card__more {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
  font-size: 0.81rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .map-card__go {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

@media (min-width: 860px) {
  .page-home .map__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .map-card--1 { grid-column: span 7; }
  .page-home .map-card--2 { grid-column: span 5; }
  .page-home .map-card--3 { grid-column: span 5; }
  .page-home .map-card--4 { grid-column: span 7; }

  .page-home .map-card__more {
    max-height: 0;
    padding-top: 0;
    margin-top: 0;
    border-top-color: transparent;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.34s var(--ease), opacity 0.3s var(--ease),
                padding-top 0.3s var(--ease), margin-top 0.3s var(--ease);
  }

  .page-home .map-card:hover .map-card__more,
  .page-home .map-card:focus-visible .map-card__more {
    max-height: 160px;
    padding-top: 12px;
    margin-top: 14px;
    border-top-color: var(--line);
    opacity: 1;
  }
}

/* ---------- 设备同屏布局 ---------- */
.page-home .devices {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-home .devices__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .devices__bg img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.85);
}

.page-home .devices__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--abyss) 0%, rgba(6, 20, 35, 0.72) 42%, var(--abyss) 100%);
}

.page-home .devices__head {
  max-width: 62ch;
  margin-bottom: 22px;
}

.page-home .devices__title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .devices__lead {
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .devices__filters {
  margin-bottom: 20px;
}

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

.page-home .device-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 43, 69, 0.82);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .device-panel:hover {
  border-color: rgba(25, 227, 208, 0.45);
  transform: translateY(-2px);
}

.page-home .device-panel__title {
  margin: 4px 0 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-home .device-panel__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-home .device-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .device-panel__list li {
  position: relative;
  padding-left: 14px;
}

.page-home .device-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .device-panel__stat {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* 设备示意图 */
.page-home .mini {
  display: grid;
  gap: 5px;
  height: 92px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 20, 35, 0.66);
}

.page-home .mini--tablet {
  grid-template-columns: 1.1fr 1fr 0.9fr;
}

.page-home .mini__col {
  border: 1px solid rgba(25, 227, 208, 0.34);
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(25, 227, 208, 0.16), rgba(25, 227, 208, 0) 80%);
}

.page-home .mini__col--score {
  border-color: rgba(255, 106, 31, 0.5);
  background: linear-gradient(180deg, rgba(255, 106, 31, 0.2), rgba(255, 106, 31, 0) 82%);
}

.page-home .mini--phone {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: 68%;
  margin: 0 auto;
}

.page-home .mini__bar {
  border: 1px solid rgba(122, 107, 255, 0.42);
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(122, 107, 255, 0.2), rgba(122, 107, 255, 0) 88%);
}

.page-home .mini--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 22px;
  align-content: start;
}

.page-home .mini__chip {
  height: 22px;
  border: 1px solid rgba(25, 227, 208, 0.32);
  border-radius: 1px;
  background: rgba(23, 73, 110, 0.6);
}

.page-home .mini--compact .mini__chip:first-child {
  border-color: rgba(255, 106, 31, 0.55);
  background: rgba(255, 106, 31, 0.16);
}

@media (min-width: 820px) {
  .page-home .devices__panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ---------- 两步路径 ---------- */
.page-home .quick {
  background:
    radial-gradient(620px 320px at 10% 10%, rgba(25, 227, 208, 0.1), transparent 70%),
    linear-gradient(180deg, var(--abyss), var(--deep) 70%, var(--abyss));
}

.page-home .quick__grid {
  display: grid;
  gap: 28px;
}

.page-home .quick__figure {
  margin: 0;
  transform: rotate(1.1deg);
  border: 1px solid rgba(25, 227, 208, 0.24);
  background: var(--deep);
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

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

.page-home .quick__title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .quick__lead {
  margin: 12px 0 22px;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--text-dim);
  max-width: 46ch;
}

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

.page-home .step {
  position: relative;
  padding: 16px 16px 16px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 43, 69, 0.6);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .step:hover {
  border-color: rgba(25, 227, 208, 0.45);
  transform: translateX(2px);
}

.page-home .step__no {
  position: absolute;
  left: 16px;
  top: 15px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .step__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-home .step__more summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  color: var(--cyan-soft);
}

.page-home .step__more summary::-webkit-details-marker {
  display: none;
}

.page-home .step__more summary::after {
  content: " ＋";
  font-family: var(--font-mono);
}

.page-home .step__more[open] summary::after {
  content: " －";
}

.page-home .step__more p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .quick__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.page-home .quick__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate);
}

.page-home .quick__badge .data-num {
  font-size: 1.5rem;
  color: var(--orange);
}

@media (min-width: 860px) {
  .page-home .quick__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 44px;
  }
}

/* ---------- 资讯信息带 ---------- */
.page-home .news {
  border-top: 1px solid var(--line);
  background: var(--abyss);
}

.page-home .news__head {
  max-width: 60ch;
  margin-bottom: 22px;
}

.page-home .news__title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .news__lead {
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .news__filters {
  margin-bottom: 18px;
}

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

.page-home .news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-home .news-item {
  display: grid;
  gap: 7px;
  padding: 16px 14px 16px 16px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.page-home .news-item:hover {
  border-left-color: var(--cyan);
  background: rgba(23, 73, 110, 0.3);
  padding-left: 22px;
}

.page-home .news-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .news-item__time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
}

.page-home .news-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.page-home .news-item__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .news-item__link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 227, 208, 0.4);
}

.page-home .news-item__link:hover {
  border-bottom-color: var(--cyan);
}

.page-home .news__aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .news__figure {
  margin: 0;
  transform: rotate(-1deg);
  border: 1px solid var(--line);
  background: var(--deep);
  overflow: hidden;
}

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

.page-home .news__figcaption {
  padding: 10px 12px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--slate);
  border-top: 1px solid var(--line);
}

.page-home .news__aside-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
}

@media (min-width: 900px) {
  .page-home .news__grid {
    grid-template-columns: minmax(0, 1fr) 306px;
    gap: 30px;
    align-items: start;
  }

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

/* ---------- 服务渠道 ---------- */
.page-home .support {
  background:
    radial-gradient(640px 320px at 88% 100%, rgba(255, 106, 31, 0.1), transparent 72%),
    linear-gradient(180deg, var(--abyss), var(--deep) 60%, var(--tactical) 180%);
}

.page-home .support__head {
  max-width: 58ch;
  margin-bottom: 24px;
}

.page-home .support__title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .support__lead {
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--text-dim);
}

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

.page-home .support-card {
  padding: 18px;
  border-radius: var(--radius);
}

.page-home .support-card__title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .support-card__value {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.page-home .support-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-home .support-card__list {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.page-home .support-card__list dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .support-card__list dd {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text);
  word-break: break-all;
}

.page-home .support-card__list--plain {
  list-style: none;
  padding: 0;
  color: var(--text-dim);
}

.page-home .support-card__list--plain li {
  position: relative;
  padding-left: 14px;
}

.page-home .support-card__list--plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

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

@media (min-width: 760px) {
  .page-home .support__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .map-card,
  .page-home .device-panel,
  .page-home .step,
  .page-home .news-item,
  .page-home .hero__shot,
  .page-home .quick__figure,
  .page-home .news__figure {
    transform: none;
    transition: none;
  }
}
