.page-home {
  --home-edge: 2px solid var(--c-line);
  --home-shadow: 6px 6px 0 rgba(0, 0, 0, .78);
  overflow-x: clip;
}

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

/* ---------- 顶部上下文条 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 18px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-muted);
}

/* ---------- 章节标题行 ---------- */
.page-home .section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 8px 0 0;
  color: var(--c-text);
}

.page-home .section__head .lede {
  margin: 0;
  max-width: 48ch;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hb {
  border: var(--home-edge);
  background: var(--c-panel);
  box-shadow: var(--home-shadow);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.page-home .hb:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .82);
}

.page-home .hb--lead .eyebrow {
  margin: 0;
}

.page-home .hb--lead h1 {
  font-family: var(--font-display);
  font-size: clamp(29px, 7vw, 52px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 10px 0 14px;
  color: var(--c-text);
}

.page-home .hb--lead .lede {
  margin: 0;
  max-width: 54ch;
}

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

.page-home .hb--media {
  padding: 0;
  overflow: hidden;
}

.page-home .hb--media .media {
  margin: 0;
  height: 100%;
}

.page-home .hb--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hb--focus {
  border-color: var(--c-lime);
  box-shadow: var(--shadow-lime);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .hb__focus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: var(--hair);
}

.page-home .hb__phone {
  margin: 0;
  border: var(--hair);
  background: var(--c-ink);
  overflow: hidden;
}

.page-home .hb__phone img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: top center;
}

.page-home .hb__focus-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .hb__taglist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hb__taglist .tag {
  text-decoration: none;
  display: inline-block;
}

.page-home .hb--stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

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

.page-home .hb__stat .data-figure {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
}

.page-home .hb__stat .data-figure small,
.page-home .home-standings__clock .data-figure small,
.page-home .home-trust__stats .data-figure small {
  font-size: .46em;
  margin-left: 2px;
  letter-spacing: 0;
}

.page-home .hb__stat-label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-muted);
}

/* ---------- 小屏面板演示 ---------- */
.page-home .home-board__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-home .phone-preview {
  border: var(--home-edge);
  background: var(--c-panel2);
  box-shadow: var(--home-shadow);
  border-radius: var(--radius);
  padding: 14px;
}

.page-home .phone-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .phone-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--c-ink);
  border-left: 2px solid var(--c-line);
  font-family: var(--font-data);
  font-size: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.page-home .phone-row:hover {
  border-left-color: var(--c-cyan);
  background: var(--c-panel);
}

.page-home .phone-row--live {
  border-left-color: var(--c-lime);
}

.page-home .phone-row__idx {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-muted);
}

.page-home .phone-row__score {
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--c-text);
}

.page-home .phone-row--live .phone-row__score {
  color: var(--c-lime);
}

.page-home .phone-row__min {
  font-size: 12px;
  color: var(--c-muted);
}

.page-home .phone-row__null {
  font-size: 12px;
  color: var(--c-line);
}

.page-home .home-board__notes h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--c-text);
}

.page-home .home-board__notes > p {
  margin: 0 0 20px;
  color: var(--c-muted);
  line-height: 1.75;
}

.page-home .home-board__specs {
  margin: 0 0 24px;
  border-top: var(--hair);
}

.page-home .home-board__specs > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: var(--hair);
}

.page-home .home-board__specs dt {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}

.page-home .home-board__specs dd {
  margin: 0;
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--c-text);
}

/* ---------- 即时记录清单 ---------- */
.page-home .home-log__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-home .home-log__media {
  margin: 0;
  border: var(--home-edge);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.page-home .home-log__media .media {
  margin: 0;
}

.page-home .home-log__media img {
  display: block;
  width: 100%;
}

.page-home .home-log__list .accordion__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.page-home .log-time {
  flex: 0 0 44px;
  font-size: 15px;
  color: var(--c-lime);
}

.page-home .log-kind {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-cyan);
  border: 1px solid var(--c-line);
  padding: 3px 8px;
  border-radius: var(--radius);
}

.page-home .log-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home .home-log__list .accordion__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ---------- 积分榜节奏 ---------- */
.page-home .home-standings__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border: var(--home-edge);
  background: var(--c-panel);
  box-shadow: var(--home-shadow);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.page-home .home-standings__copy .eyebrow {
  margin: 0;
}

.page-home .home-standings__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.1;
  margin: 8px 0 14px;
  color: var(--c-text);
}

.page-home .home-standings__copy p {
  margin: 0 0 12px;
  max-width: 62ch;
  color: var(--c-muted);
  line-height: 1.78;
}

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

.page-home .home-standings__clock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: var(--hair);
  background: var(--c-ink);
  align-self: start;
}

.page-home .home-standings__clock .data-figure {
  font-size: clamp(40px, 9vw, 68px);
  line-height: 1;
  animation: home-pulse 2.4s ease-in-out infinite;
}

.page-home .home-standings__clock-label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.page-home .home-standings__banner {
  margin: 20px 0 0;
  border: var(--home-edge);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.page-home .home-standings__banner img {
  display: block;
  width: 100%;
}

/* ---------- 使用场景 ---------- */
.page-home .home-audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .audience-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: var(--home-edge);
  background: var(--c-panel);
  box-shadow: var(--home-shadow);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.page-home .audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-lime-dim);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .82);
}

.page-home .audience-card__idx {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-muted);
}

.page-home .audience-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.22;
  margin: 0;
  color: var(--c-text);
}

.page-home .audience-card p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-muted);
}

.page-home .audience-card__link {
  align-self: flex-start;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .audience-card__link:hover {
  color: var(--c-lime-dim);
  border-bottom-color: var(--c-lime-dim);
}

/* ---------- 服务与支持 ---------- */
.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-trust__head .eyebrow {
  margin: 0;
}

.page-home .home-trust__head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.1;
  margin: 8px 0 14px;
  color: var(--c-text);
}

.page-home .home-trust__head p {
  margin: 0;
  max-width: 62ch;
  color: var(--c-muted);
  line-height: 1.8;
}

.page-home .home-trust__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: var(--home-edge);
  box-shadow: var(--home-shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-trust__stats li {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 16px;
  background: var(--c-panel);
  min-width: 0;
}

.page-home .home-trust__stats .data-figure {
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1;
}

.page-home .home-trust__stats li > span:last-child {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-muted);
}

.page-home .home-trust__support h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 24px);
  margin: 0 0 10px;
  color: var(--c-text);
}

.page-home .home-trust__support > p {
  margin: 0 0 16px;
  color: var(--c-muted);
  line-height: 1.78;
}

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

.page-home .home-trust__contacts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: var(--hair);
}

.page-home .home-trust__val {
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--c-text);
  word-break: break-all;
}

/* ---------- 响应式 ---------- */
@media (min-width: 800px) {
  .page-home .section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .page-home .home-standings__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 34px 32px;
  }

  .page-home .home-audience__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .audience-card--club {
    margin-top: -14px;
    border-color: var(--c-lime-dim);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "lead  lead  lead  focus focus focus"
      "lead  lead  lead  focus focus focus"
      "media media media focus focus focus"
      "tags  tags  tags  stat  stat  stat";
    gap: 20px;
    align-items: stretch;
  }

  .page-home .hb--lead { grid-area: lead; }
  .page-home .hb--media { grid-area: media; }
  .page-home .hb--focus { grid-area: focus; }
  .page-home .hb--tags { grid-area: tags; }
  .page-home .hb--stat { grid-area: stat; }

  .page-home .hb__phone img {
    max-height: 380px;
  }

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

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

  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
      "head    stats"
      "support stats";
    gap: 30px 40px;
    align-items: start;
  }

  .page-home .home-trust__head { grid-area: head; }
  .page-home .home-trust__stats { grid-area: stats; }
  .page-home .home-trust__support { grid-area: support; }
}

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

  .page-home .hb,
  .page-home .audience-card,
  .page-home .phone-row {
    transition: none;
  }

  .page-home .hb:hover,
  .page-home .audience-card:hover {
    transform: none;
  }
}
