/* 守护如初 · 瘦身版曝光页（V3 直接 + 画像钩子） */
:root {
  --primary: #4A90E2;
  --primary-dark: #3A7BC8;
  --primary-light: #E8F2FC;
  --accent: #FF6B2C;
  --accent-soft: #FFF0E8;
  --green: #0BA360;
  --green-bg: #E8F8EF;
  --gold: #D4940B;
  --gold-bg: #FFF7E6;
  --text: #1A1A1A;
  --text-sec: #4A4A4A;
  --text-muted: #8C8C8C;
  --bg-page: #F8F7F5;
  --bg-warm: #FFFBF7;
  --bg-card: #FFFFFF;
  --border: rgba(0,0,0,0.07);
  --r: 0.75rem;
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: clamp(16px, 4.8vw, 20px); scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  color: var(--text); background: var(--bg-page);
  padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0));
}
@media (min-width: 481px) { body { max-width: 480px; margin: 0 auto; } }

.hero-visual {
  height: 42vw; max-height: 11.5rem;
  background: linear-gradient(180deg, rgba(255,251,247,0) 30%, var(--bg-warm) 100%), center/cover;
  background-color: #D4B8A0;
}
.hero-body { padding: 0.875rem 1rem 0; }

.hook-line {
  font-size: 1.05rem; font-weight: 800; line-height: 1.35;
  margin: 0.5rem 0 0.35rem;
}
.hook-sub {
  font-size: 0.78rem; color: var(--text-sec); line-height: 1.5;
  margin-bottom: 0.75rem;
}
.hook-tags {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.875rem;
}
.hook-tag {
  font-size: 0.65rem; font-weight: 600; padding: 0.25rem 0.5rem;
  border-radius: 6px; background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  color: var(--text-sec);
}

.lp-trust-row {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem; background: var(--bg-card);
  border-radius: var(--r); box-shadow: var(--shadow-md);
  margin-bottom: 0.75rem;
}
.lp-trust-row img {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.lp-trust-row .meta { flex: 1; min-width: 0; }
.lp-trust-row .name { font-size: 0.9rem; font-weight: 700; }
.lp-trust-row .desc { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.15rem; }
.lp-wechat {
  width: 2.5rem; height: 2.5rem; border: none; border-radius: 50%;
  background: var(--green-bg); color: var(--green); font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.who-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.who-chip {
  padding: 0.65rem 0.5rem; text-align: center; border-radius: var(--r);
  background: var(--bg-card); box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent;
}
.who-chip.on { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

.feature-plan {
  background: var(--bg-card); border-radius: var(--r);
  padding: 1rem; box-shadow: var(--shadow-md);
  margin: 0 1rem 0.75rem;
}
.feature-plan .rec {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  color: var(--gold); background: var(--gold-bg);
  padding: 0.15rem 0.45rem; border-radius: 4px; margin-bottom: 0.4rem;
}
.feature-plan .plan-name { font-size: 0.95rem; font-weight: 700; }
.feature-plan .amount {
  font-family: 'DM Sans', sans-serif; font-size: 1.75rem; font-weight: 900;
  color: var(--primary); margin: 0.25rem 0;
}
.feature-plan .amount .u { font-size: 0.85rem; font-family: 'Noto Sans SC', sans-serif; }
.feature-plan .price-note { font-size: 0.68rem; color: var(--text-muted); }

.primary-zone { padding: 0 1rem; }
.btn-primary {
  width: 100%; min-height: 5.5rem; border: none; border-radius: 2rem;
  background: var(--primary); color: #fff;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  margin-bottom: 0.5rem;
}
.btn-primary:active { background: var(--primary-dark); }
.btn-ghost {
  width: 100%; min-height: 2.75rem; border: none; background: transparent;
  color: var(--primary); font-size: 0.8rem; font-weight: 600; cursor: pointer;
}

.fold-block {
  margin: 1rem 1rem 0; background: var(--bg-card);
  border-radius: var(--r); box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}
.fold-block summary {
  padding: 0.85rem 1rem; font-size: 0.82rem; font-weight: 700;
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.fold-block summary::-webkit-details-marker { display: none; }
.fold-body { padding: 0 1rem 1rem; font-size: 0.72rem; color: var(--text-sec); line-height: 1.55; }

.three-line { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.three-line span {
  flex: 1; text-align: center; padding: 0.5rem 0.25rem;
  background: var(--bg-page); border-radius: 8px;
  font-size: 0.65rem; font-weight: 600;
}
.three-line em { display: block; font-size: 0.72rem; font-style: normal; color: var(--primary); margin-bottom: 0.15rem; }

.trust-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem;
  margin: 0.5rem 0;
}
.trust-mini .n { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 800; color: var(--primary); }
.trust-mini .l { font-size: 0.55rem; color: var(--text-muted); line-height: 1.3; }

.co-strip { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.75rem 0; }
.co-strip img { height: 1.25rem; object-fit: contain; }
.co-x { color: var(--text-muted); font-size: 0.75rem; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(255,255,255,0.98);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
@media (min-width: 481px) {
  .sticky-cta { width: 480px; left: calc(50vw - 240px); right: auto; }
}
.sticky-cta .hint { font-size: 0.62rem; color: var(--text-muted); text-align: center; margin-bottom: 0.35rem; }

.parent-pick { display: none; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.parent-pick.show { display: flex; }
.parent-pick button {
  text-align: left; padding: 0.75rem 1rem; border: none; border-radius: var(--r);
  background: linear-gradient(160deg, #F0F7FF, #F5FBF5);
  font-size: 0.8rem; cursor: pointer;
}
.parent-pick button strong { display: block; margin-bottom: 0.15rem; }

.v4-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.45);
  display: flex; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.v4-overlay.show { opacity: 1; pointer-events: auto; }
.v4-sheet {
  width: 100%; max-width: 30rem; background: #fff;
  border-radius: 1rem 1rem 0 0; padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 0.25s;
}
.v4-overlay.show .v4-sheet { transform: translateY(0); }
@media (min-width: 481px) { .v4-overlay .v4-sheet { max-width: 480px; } }

.toast {
  position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%);
  background: rgba(0,0,0,0.78); color: #fff; font-size: 0.75rem;
  padding: 0.5rem 1rem; border-radius: 2rem; z-index: 600; opacity: 0;
  transition: opacity 0.2s; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; }

.record-name { font-size: 0.58rem; color: var(--text-muted); margin-top: 0.15rem; }
