.page-home{
  --home-cut:24px;
  --home-cut-sm:12px;
  background:var(--ink-0);
  color:var(--star);
  overflow:clip;
  position:relative;
}

.page-home .media-frame{position:relative;overflow:hidden;background:var(--ink-1);}
.page-home .media-frame img{display:block;width:100%;height:auto;object-fit:cover;}

/* ---------- 首屏 ---------- */
.page-home .home-hero{
  position:relative;
  isolation:isolate;
  padding:clamp(24px,5vw,54px) 0 clamp(38px,7vw,76px);
}
.page-home .home-hero::before{
  content:"";
  position:absolute;
  inset:-14% -24% 24% -24%;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(58% 62% at 84% 16%, rgba(124,58,237,.46), transparent 72%),
    radial-gradient(48% 50% at 10% 0%, rgba(34,211,238,.16), transparent 74%);
}
.page-home .home-hero::after{
  content:"";
  position:absolute;
  left:-14%;
  right:-14%;
  top:46%;
  height:38%;
  transform:rotate(-6deg);
  border-top:1px solid rgba(34,211,238,.42);
  border-bottom:1px solid rgba(124,58,237,.32);
  background:linear-gradient(96deg, rgba(124,58,237,.30), rgba(34,211,238,.12) 62%, transparent 94%);
  z-index:-1;
  pointer-events:none;
}

.page-home .hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(26px,5vw,44px);
  align-items:start;
}
.page-home .hero-copy{min-width:0;}
.page-home .hero-visual{min-width:0;}

.page-home .display{
  margin:14px 0 0;
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(2.4rem,8.4vw,4.6rem);
  line-height:1.04;
  letter-spacing:-.02em;
  color:var(--star);
  text-shadow:2px 0 0 rgba(124,58,237,.8), -2px 0 0 rgba(34,211,238,.45);
}
.page-home .lede{
  margin:20px 0 0;
  max-width:34em;
  font-size:1rem;
  line-height:1.78;
  color:var(--mauve);
}
.page-home .hero-actions{
  display:grid;
  justify-items:start;
  gap:18px;
  margin-top:30px;
}

.page-home .home-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:66px;
  padding:0 clamp(30px,5vw,52px);
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(1.08rem,3vw,1.38rem);
  letter-spacing:.08em;
  text-decoration:none;
  color:#1b0c03;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255,208,163,.95), transparent 62%),
    linear-gradient(96deg,#FF8A3D 0%,#FFA860 55%,#FF8A3D 100%);
  clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);
  animation:home-cta-glow 3.6s ease-in-out infinite;
  transition:transform .22s var(--ease),filter .22s var(--ease);
}
.page-home .home-cta:hover,
.page-home .home-cta:focus-visible{
  transform:translateY(-2px);
  animation:none;
  filter:drop-shadow(0 0 34px rgba(255,138,61,.72)) drop-shadow(0 16px 30px rgba(0,0,0,.55));
}
.page-home .home-cta:active{
  transform:translateY(0) scale(.985);
  filter:drop-shadow(0 0 46px rgba(255,138,61,.9)) drop-shadow(0 12px 22px rgba(0,0,0,.5));
}
@keyframes home-cta-glow{
  0%,100%{filter:drop-shadow(0 0 18px rgba(255,138,61,.36)) drop-shadow(0 14px 26px rgba(0,0,0,.5));}
  50%{filter:drop-shadow(0 0 34px rgba(255,138,61,.68)) drop-shadow(0 14px 26px rgba(0,0,0,.5));}
}

.page-home .entry-pairs{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
  width:100%;
  max-width:430px;
}
.page-home .entry-pairs a{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-left:2px solid var(--cyan);
  background:rgba(18,16,31,.72);
  text-decoration:none;
  color:var(--star);
  transition:border-color .2s var(--ease),background .2s var(--ease),transform .2s var(--ease);
}
.page-home .entry-pairs a:hover,
.page-home .entry-pairs a:focus-visible{
  border-left-color:var(--orange);
  background:rgba(124,58,237,.18);
  transform:translateX(3px);
}
.page-home .entry-key{
  font-family:var(--font-display);
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.05em;
}
.page-home .entry-desc{
  font-family:var(--font-mono);
  font-size:.74rem;
  letter-spacing:.02em;
  color:var(--mauve);
}

.page-home .hero-stats{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  margin:26px 0 0;
  padding:14px 0 0;
  border-top:1px solid var(--line);
  font-size:.82rem;
  color:var(--mauve);
}
.page-home .hero-stats .mono{
  margin-right:4px;
  font-size:.95rem;
  color:var(--cyan);
}

.page-home .home-hero-frame{
  margin:0;
  aspect-ratio:4 / 3;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 44px),0 100%);
  background:var(--ink-1);
}
.page-home .home-hero-frame img{width:100%;height:100%;object-fit:cover;}
.page-home .home-hero-frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(7,6,15,.42) 0%, transparent 40%, rgba(7,6,15,.62) 100%),
    linear-gradient(96deg, transparent 58%, rgba(34,211,238,.24) 100%);
}

/* ---------- 三件事 ---------- */
.page-home .home-needs{
  position:relative;
  isolation:isolate;
}
.page-home .home-needs::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.55;
  background-image:repeating-linear-gradient(0deg, rgba(167,159,199,.07) 0 1px, transparent 1px 7px);
}
.page-home .needs-head{
  display:grid;
  gap:14px;
}
.page-home .needs-note{
  margin:0;
  font-family:var(--font-serif);
  font-size:.95rem;
  line-height:1.8;
  color:var(--mauve);
}

.page-home .filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:clamp(18px,3vw,26px) 0 0;
}
.page-home .pill{
  display:inline-flex;
  align-items:center;
  padding:9px 18px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:rgba(124,58,237,.14);
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.06em;
  color:var(--star);
  text-decoration:none;
  transition:border-color .2s var(--ease),background .2s var(--ease),color .2s var(--ease);
}
.page-home .pill:hover,
.page-home .pill:focus-visible{
  border-color:var(--cyan);
  background:rgba(34,211,238,.14);
  color:var(--cyan);
}

.page-home .needs-visual{
  position:relative;
  margin:clamp(18px,3.4vw,28px) 0;
  aspect-ratio:16 / 9;
  overflow:hidden;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),0 100%);
  background:var(--ink-1);
}
.page-home .needs-visual img{width:100%;height:100%;object-fit:cover;display:block;}
.page-home .needs-visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(7,6,15,.5), transparent 46%, rgba(7,6,15,.72));
}

.page-home .needs-grid{
  margin-top:clamp(4px,1vw,10px);
  align-items:start;
}
.page-home .need-card{
  position:relative;
  display:grid;
  align-content:start;
  gap:12px;
  padding:clamp(20px,3.2vw,28px);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease);
}
.page-home .need-card::after{
  content:"";
  position:absolute;
  left:clamp(20px,3.2vw,28px);
  right:clamp(20px,3.2vw,28px);
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--violet),var(--cyan));
  opacity:0;
  transition:opacity .28s var(--ease);
}
.page-home .need-card:hover::after,
.page-home .need-card:focus-within::after,
.page-home .need-card:target::after{opacity:1;}
.page-home .need-card:target{
  outline:1px solid rgba(34,211,238,.5);
  outline-offset:2px;
}
.page-home .need-card h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(1.02rem,2vw,1.18rem);
  line-height:1.45;
}
.page-home .need-card p{
  margin:0;
  font-size:.94rem;
  line-height:1.78;
  color:var(--mauve);
}
.page-home .card-link{
  justify-self:start;
  padding-bottom:2px;
  border-bottom:1px solid rgba(34,211,238,.45);
  font-family:var(--font-mono);
  font-size:.8rem;
  letter-spacing:.04em;
  color:var(--cyan);
  text-decoration:none;
  transition:color .2s var(--ease),border-color .2s var(--ease);
}
.page-home .card-link:hover,
.page-home .card-link:focus-visible{color:var(--orange);border-color:var(--orange);}

/* ---------- 版本速览 ---------- */
.page-home .version-head{
  display:grid;
  gap:12px;
  margin-bottom:clamp(18px,3vw,26px);
}
.page-home .version-head .editorial{
  margin:0;
  font-family:var(--font-serif);
  font-size:.95rem;
  line-height:1.8;
  color:var(--mauve);
}
.page-home .version-bar{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  padding:0;
  overflow:hidden;
  background:linear-gradient(96deg, rgba(18,16,31,.98), rgba(25,22,48,.92));
}
.page-home .ver-item{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding:16px clamp(18px,3vw,26px);
  border-bottom:1px solid var(--line);
}
.page-home .ver-item:last-child{border-bottom:0;}
.page-home .ver-label{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.12em;
  color:rgba(167,159,199,.8);
}
.page-home .ver-value{
  font-family:var(--font-mono);
  font-size:clamp(1.12rem,2.4vw,1.5rem);
  letter-spacing:.02em;
  color:var(--cyan);
}
.page-home .version-foot{
  margin:16px 0 0;
  font-size:.86rem;
  line-height:1.75;
  color:var(--mauve);
}
.page-home .version-foot a{color:var(--cyan);}

/* ---------- 动态 ---------- */
.page-home .home-feed{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.page-home .home-feed-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.3;
  pointer-events:none;
}
.page-home .home-feed-bg img{display:block;width:100%;height:100%;object-fit:cover;}
.page-home .home-feed-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,6,15,.92), rgba(7,6,15,.74) 42%, rgba(7,6,15,.96));
}
.page-home .feed-head{
  display:grid;
  gap:14px;
  margin-bottom:clamp(18px,3vw,26px);
}
.page-home .ghost-link{
  justify-self:start;
  padding-bottom:3px;
  border-bottom:1px solid rgba(34,211,238,.45);
  font-family:var(--font-mono);
  font-size:.8rem;
  letter-spacing:.04em;
  color:var(--cyan);
  text-decoration:none;
  transition:color .2s var(--ease),border-color .2s var(--ease);
}
.page-home .ghost-link:hover,
.page-home .ghost-link:focus-visible{color:var(--orange);border-color:var(--orange);}

.page-home .feed-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:clamp(14px,2.4vw,20px);
}
.page-home .feed-item{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(14px,2.6vw,20px);
  padding:clamp(18px,3vw,26px);
}
.page-home .feed-thumb{
  position:relative;
  margin:0;
  aspect-ratio:4 / 3;
  overflow:hidden;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),0 100%);
  background:var(--ink-2);
}
.page-home .feed-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.page-home .feed-body{
  display:grid;
  justify-items:start;
  align-content:start;
  gap:10px;
}
.page-home .feed-body h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(1rem,1.9vw,1.16rem);
  line-height:1.45;
}
.page-home .feed-body p{
  margin:0;
  font-size:.92rem;
  line-height:1.75;
  color:var(--mauve);
}
.page-home .feed-meta{
  font-family:var(--font-mono);
  font-size:.74rem;
  letter-spacing:.05em;
  color:rgba(167,159,199,.82);
}
.page-home .tag-version{
  color:var(--violet-soft);
  border-color:rgba(167,139,250,.5);
  background:rgba(124,58,237,.2);
}
.page-home .feed-foot{
  margin:clamp(18px,3vw,26px) 0 0;
  font-size:.86rem;
  line-height:1.7;
  color:var(--mauve);
}
.page-home .feed-foot a{color:var(--cyan);}

/* ---------- 客服窄带 ---------- */
.page-home .home-trust{
  border-top:1px solid var(--line);
  padding:clamp(24px,4vw,40px) 0 clamp(30px,5vw,48px);
}
.page-home .trust-title{
  margin:0 0 16px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(1rem,2vw,1.16rem);
  letter-spacing:.02em;
  color:var(--star);
}
.page-home .trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px 34px;
  margin:0;
}
.page-home .trust-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
  min-width:0;
}
.page-home .trust-label{
  font-family:var(--font-mono);
  font-size:.7rem;
  letter-spacing:.12em;
  color:rgba(167,159,199,.72);
}
.page-home .trust-item .mono{
  font-family:var(--font-mono);
  font-size:.86rem;
  color:var(--star);
  overflow-wrap:anywhere;
}
.page-home .trust-note{
  margin:16px 0 0;
  max-width:52em;
  font-size:.82rem;
  line-height:1.72;
  color:var(--mauve);
}
.page-home .trust-more{
  margin:10px 0 0;
  font-size:.82rem;
}
.page-home .trust-more a{color:var(--cyan);}

/* ---------- 桌面 ---------- */
@media (min-width:720px){
  .page-home .feed-item--media{
    grid-template-columns:220px minmax(0,1fr);
    align-items:center;
  }
}

@media (min-width:820px){
  .page-home .needs-head{
    grid-template-columns:minmax(0,1fr) minmax(0,.82fr);
    align-items:end;
    gap:32px;
  }
  .page-home .feed-head{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:24px;
  }
  .page-home .version-head{
    grid-template-columns:minmax(0,1fr) minmax(0,.72fr);
    align-items:end;
    gap:28px;
  }
  .page-home .version-bar{grid-template-columns:repeat(4,minmax(0,1fr));}
  .page-home .ver-item{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    border-bottom:0;
    border-right:1px solid var(--line);
  }
  .page-home .ver-item:last-child{border-right:0;}
}

@media (min-width:880px){
  .page-home .hero-grid{
    grid-template-columns:minmax(0,42fr) minmax(0,58fr);
    align-items:center;
    gap:clamp(32px,4vw,60px);
  }
  .page-home .need-card:nth-child(2){margin-top:34px;}
  .page-home .need-card:nth-child(3){margin-top:68px;}
  .page-home .needs-grid{padding-bottom:68px;}
}

@media (prefers-reduced-motion:reduce){
  .page-home .home-cta{animation:none;filter:none;transition:none;}
  .page-home .home-cta:hover,
  .page-home .home-cta:focus-visible{transform:none;filter:none;}
  .page-home .need-card,
  .page-home .entry-pairs a,
  .page-home .card-link,
  .page-home .pill{transition:none;}
}
