:root {
  --ink: #14251a;
  --text: #39503f;
  --mute: #6d8274;
  --line: #dce9de;
  --paper: #f7fbf7;
  --white: #ffffff;
  --pri: #3f8f4a;
  --pri-deep: #2f6f39;
  --accent: #ff9f1c;
  --soft: #e9f4ea;
  --soft-2: #fff1dc;
}

/* 方格纸画廊：方格底 + 平板画框 + 左上总量签 + 底部胶囊 */
.hv-gallery .hero-visual { min-height: 548px; }
.hv-gallery .hero h1 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.01em; }
.hv-gallery .hero-visual::before {
  content: ""; position: absolute; inset: 2% 0 4% 4%; border-radius: 30px;
  background:
    linear-gradient(#eaf5ea 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, #eaf5ea 1px, transparent 1px) 0 0 / 26px 26px,
    #fbfdfb;
  border: 1px solid #dfeadf; rotate: -.8deg;
}
.hv-gallery .hero-visual::after {
  content: "10M+ 皮肤在线"; position: absolute; right: 2%; top: 4%;
  padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--pri-deep);
  border: 1px solid #dfeadf; font-size: 12px; font-weight: 800;
  rotate: 2deg; box-shadow: 0 12px 26px rgba(30,60,36,.14);
}
.hv-gallery .hero-glow { width: 72%; opacity: .3; background: radial-gradient(circle at 50% 46%, rgba(63,143,74,.28), rgba(255,159,28,.12) 58%, transparent 74%); }
.hv-gallery .stage-phone {
  width: min(300px, 76%); justify-self: center; align-self: center; margin-top: 6px;
  padding: 8px; border-radius: 24px; background: #fff; border-color: #e2eae2;
  rotate: 1.4deg; animation: none; box-shadow: 0 26px 56px rgba(30,60,36,.18);
}
.hv-gallery .stage-phone img { border-radius: 16px; }
.hv-gallery .hero-badge {
  left: 3%; right: auto; top: auto; bottom: 13%; width: 86px; height: 86px;
  border-radius: 50%; background: var(--pri); color: #fff;
  rotate: -5deg; box-shadow: 0 16px 34px rgba(47,111,57,.3);
}
.hv-gallery .hero-badge strong { font-size: 22px; }
.hv-gallery .hero-badge span { color: rgba(255,255,255,.82); }
.hv-gallery .hero-strip {
  left: 5%; right: 5%; bottom: 2%; justify-content: center; gap: 6px; padding: 7px 10px;
  border-radius: 999px; background: #fff; border: 1px solid #dfeadf;
  box-shadow: 0 12px 26px rgba(30,60,36,.12);
}
.hv-gallery .hero-strip span:first-child { background: var(--pri); color: #fff; }
.fv-bento .feature { min-height: 0; }

@media (max-width: 640px) {
  .hv-gallery .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hv-gallery .hero-visual { min-height: 478px; }
  .hv-gallery .hero-visual::before { inset: 3% 0 4% 0; rotate: 0deg; border-radius: 24px; }
  .hv-gallery .hero-visual::after { display: none; }
  .hv-gallery .stage-phone { width: min(240px, 74%); margin-top: 34px; }
  .hv-gallery .hero h1 { font-size: 28px; }
  .hv-gallery .hero-badge { display: grid; left: 8px; right: auto; top: 8px; bottom: auto; width: 58px; height: 58px; }
  .hv-gallery .hero-badge strong { font-size: 16px; }
  .hv-gallery .hero-strip { left: 8px; right: 8px; bottom: 6px; padding: 6px 8px; gap: 4px; }
  .hv-gallery .hero-strip span { padding: 3px 7px; font-size: 10px; }
  .fv-bento .feature-grid { grid-template-columns: 1fr; }
}

