
:root {
  --cream: #fff8f6;
  --pink: #f5d5d8;
  --rose: #d98c95;
  --rose-dark: #c4757f;
  --text: #3d2c2e;
  --muted: #8a6f72;
  --card-shadow: 0 12px 40px rgba(217, 140, 149, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--cream) 0%, #fff0f5 50%, #fce8ee 100%);
}

body.themed {
  background: linear-gradient(180deg, #fff 0%, var(--season-soft, var(--cream)) 55%, #fff 100%);
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 18px 48px;
}

.social-proof {
  text-align: center;
  padding: 10px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.social-proof strong { color: var(--rose-dark); }

.card {
  background: #fff;
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
}

.hero-card { padding-top: 22px; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--season-soft, var(--pink));
  color: var(--season-ink, var(--rose-dark));
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.3; }
h2 { margin: 0 0 6px; font-size: 22px; }

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Upload */
.upload-zone {
  border: 2px dashed var(--pink);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  background: #fffbfa;
  margin-bottom: 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover { border-color: var(--rose); background: #fff5f7; }
.upload-zone input { display: none; }
.upload-icon { font-size: 42px; margin-bottom: 6px; }
.upload-title { margin: 0; font-weight: 600; font-size: 15px; }
.upload-hint { margin: 6px 0 0; color: #aaa; font-size: 12px; }

#upload-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--pink);
  margin-bottom: 10px;
}

.preview-status { margin: 0; font-weight: 600; font-size: 14px; color: #4a9e6a; }
.preview-name { margin: 4px 0; color: var(--muted); font-size: 12px; }
.link-btn {
  background: none; border: none; color: var(--rose);
  font-size: 13px; cursor: pointer; padding: 4px;
  width: auto;
}
.upload-error {
  margin: 10px 0 0;
  color: #d45;
  font-size: 13px;
  background: #fff0f0;
  padding: 8px 12px;
  border-radius: 10px;
}

/* Buttons */
button, .btn {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--season-accent, var(--rose)), color-mix(in srgb, var(--season-accent, var(--rose-dark)) 80%, #000));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

button:disabled { opacity: 0.45; cursor: not-allowed; }

.pulse-btn { animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(217, 140, 149, 0.3); }
  50% { box-shadow: 0 6px 28px rgba(217, 140, 149, 0.55); }
}

.btn-secondary {
  background: #fff;
  color: var(--season-accent, var(--rose-dark));
  border: 1.5px solid var(--season-accent, var(--pink));
  margin-top: 10px;
}

/* Examples */
.example-label {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.example-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.example-item {
  flex: 0 0 108px;
  padding: 12px 10px;
  border-radius: 16px;
  text-align: center;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.8);
}

.example-item.spring { background: linear-gradient(160deg, #fff5f0, #ffe8e0); }
.example-item.summer { background: linear-gradient(160deg, #f5f8ff, #e8eef8); }
.example-item.autumn { background: linear-gradient(160deg, #fff8f0, #f0e8d8); }
.example-item.winter { background: linear-gradient(160deg, #f5f5fa, #e8e8f5); }

.ex-emoji { font-size: 24px; display: block; margin-bottom: 4px; }
.example-item strong { display: block; font-size: 14px; }
.example-item small { color: var(--muted); font-size: 11px; }

.swatches, .swatch-grid { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.swatches i, .swatch-item i {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.swatch-item i { width: 44px; height: 44px; }

/* Result */
.result-hero {
  --season-accent: var(--rose-dark);
  --season-soft: #fff5f6;
  --season-ink: #5a4548;
  text-align: center;
  padding: 16px 12px 22px;
  border-radius: 18px;
  margin: -8px -8px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.theme-spring { background: linear-gradient(160deg, #fff8f5, #ffece6); }
.theme-summer { background: linear-gradient(160deg, #f8faff, #eef2fa); }
.theme-autumn { background: linear-gradient(160deg, #fffaf5, #f5ece0); }
.theme-winter { background: linear-gradient(160deg, #f8f8fc, #ececf5); }

.season-group { font-size: 36px; font-weight: 700; margin: 0; }
.season-sub { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }

.score-ring {
  width: 130px; height: 130px;
  margin: 18px auto 8px;
  border-radius: 50%;
  background: conic-gradient(var(--accent, var(--rose)) calc(var(--score) * 1%), #f5e8ea 0);
  display: grid; place-items: center;
  position: relative;
}

.score-ring::before {
  content: "";
  width: 104px; height: 104px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
}

.score-value {
  position: relative; z-index: 1;
  font-size: 32px; font-weight: 700;
  color: var(--rose-dark);
}

.score-label { color: var(--muted); font-size: 14px; margin: 0; }

.percentile {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.percentile strong { color: var(--rose-dark); font-size: 18px; }

.dna-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.dna-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-size: 12px;
  color: var(--rose-dark);
  border: 1px solid var(--pink);
}

.insight-box {
  background: var(--season-soft, #fff8f9);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  text-align: center;
}
.insight-box p { margin: 0; font-size: 14px; }
.insight-sub { margin-top: 6px !important; color: var(--muted); font-size: 13px !important; }

.insight-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5a4548;
}

.avoid-text { color: #8a6068; }

.highlight-section {
  background: linear-gradient(
    135deg,
    var(--season-soft, #fff8f9),
    #fff
  );
  border-radius: 16px;
  padding: 16px;
  margin-top: 0;
}

.section { margin-top: 20px; }
.section h3,
.section-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--season-ink, var(--text));
  letter-spacing: 0.02em;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--season-soft, #fff5f6);
  color: var(--season-ink, var(--rose-dark));
  font-size: 13px;
}
.tag.avoid { background: #f5f5f5; color: #888; }

.share-box {
  background: var(--season-soft, #fff8f9);
  border-radius: 16px;
  padding: 16px;
  margin-top: 22px;
}
.share-label { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.share-copy { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--text); }

.feature-list { margin: 16px 0; padding: 0; list-style: none; }
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #fceef0;
  color: var(--muted);
  font-size: 14px;
}
.feature-list li::before { content: "✓ "; color: var(--rose); }

.analyzing-steps { list-style: none; padding: 0; margin: 28px 0; }
.analyzing-steps li { padding: 14px 0; color: var(--muted); font-size: 15px; transition: all 0.3s; }
.analyzing-steps li.active { color: var(--rose-dark); font-weight: 600; }
.analyzing-steps li.done { color: var(--text); }
.analyzing-steps li.done::before { content: "✓ "; color: var(--rose); }

.spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--pink);
  border-top-color: var(--rose);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.price-box {
  background: #fff8f9;
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
  text-align: center;
}

.price { font-size: 32px; font-weight: 700; color: var(--season-accent, var(--rose-dark)); }
.price small { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-left: 8px; }

.disclaimer { margin-top: 16px; font-size: 12px; color: #aaa; text-align: center; }

#poster-canvas { width: 100%; border-radius: 16px; margin: 12px 0; box-shadow: var(--card-shadow); }
.hidden { display: none !important; }

.hook-line { font-size: 14px; color: var(--season-accent, var(--rose-dark)); margin: 0 0 12px; line-height: 1.5; }
.persona-label { margin: 0; font-size: 14px; color: var(--muted); }
.persona-title { font-size: 32px; font-weight: 700; margin: 8px 0 4px; line-height: 1.3; letter-spacing: 0.02em; }
.identity-section { text-align: left; }
.identity-tendency { font-size: 15px; line-height: 1.7; color: var(--season-ink, #5a4548); margin: 0 0 12px; }
.identity-tendency strong { color: var(--season-accent, var(--rose-dark)); font-weight: 600; }
.identity-oneliner { margin-top: 0; margin-bottom: 16px; }
.micro-label { font-size: 12px; color: var(--muted); margin: 0 0 8px; font-weight: 600; letter-spacing: 0.04em; }
.tension-block, .quick-wins, .celeb-block { margin-top: 16px; }
.quick-win-list { margin: 0; padding-left: 0; list-style: none; }
.quick-win-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; line-height: 1.5; }
.quick-win-list li:last-child { border-bottom: none; }
.win-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--season-soft);
  color: var(--season-accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.celeb-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-copy-btn { width: 100%; margin-top: 12px; }
.one-liner { font-size: 14px; color: var(--season-ink, #5a4548); line-height: 1.7; margin: 14px 0 0; text-align: left; }
.hero-portrait-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  margin: -6px auto 12px;
  background: linear-gradient(135deg, var(--season-accent), #fff);
}
.hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}
.season-chip {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--season-accent);
  color: var(--season-ink);
  font-size: 12px;
  font-weight: 600;
}

.rarity-card {
  display: inline-block;
  margin: 14px 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--season-soft);
  font-size: 14px;
  color: var(--muted);
}
.rarity-card strong { color: var(--season-accent); font-size: 20px; }

.result-hero .badge,
.result-hero .tag,
.result-hero .hook-line,
.result-hero .persona-title {
  color: var(--season-ink);
}
.result-hero .badge {
  background: var(--season-soft);
}
.result-hero .tag {
  background: var(--season-soft);
}

.tension-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tension-yes {
  padding: 6px 10px;
  border-radius: 8px;
  background: #f0faf2;
  color: #3a7a4a;
  font-size: 13px;
}
.tension-no {
  padding: 6px 10px;
  border-radius: 8px;
  background: #faf0f0;
  color: #9a5050;
  font-size: 13px;
}

.system-card {
  background: var(--season-soft, #fffbfa);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,0.03);
}
.system-card h4 { margin: 0 0 6px; font-size: 14px; color: var(--season-accent, var(--rose-dark)); }
.system-summary { margin: 0 0 8px; font-size: 13px; color: var(--text); font-weight: 600; }
.system-bullets { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.system-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.system-tab-btn {
  flex: 0 0 auto;
  width: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--season-accent);
  background: #fff;
  color: var(--season-accent);
  font-size: 13px;
  font-weight: 600;
}
.system-tab-btn.active {
  background: var(--season-accent);
  color: #fff;
}
.system-panels {
  margin-top: 12px;
}
.system-tab-panel {
  display: none;
}
.system-tab-panel.active {
  display: block;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.color-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.color-cell i {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.09);
}
.color-section .color-grid.avoid .color-cell i {
  border-color: rgba(155, 42, 42, 0.25);
}

.quick-win {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #fceef0;
}
.qw-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--season-soft, var(--pink));
  color: var(--season-accent, var(--rose-dark));
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.quick-win p { margin: 0; font-size: 14px; line-height: 1.6; color: #5a4548; }

.celebrity-row { display: flex; gap: 10px; flex-wrap: wrap; }
.celebrity-card {
  flex: 1;
  min-width: 90px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--season-soft, #fff8f9);
}
.celebrity-card strong { display: block; font-size: 15px; }
.celebrity-card span { font-size: 12px; color: var(--muted); }

.emotional-section { text-align: center; }
.emotional-text { font-size: 15px; line-height: 1.8; color: var(--season-accent, var(--rose-dark)); font-weight: 500; }
.share-hook { margin: 8px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }

.wait-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }

.unlock-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.compare-col {
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
}
.compare-col.free { background: #f8f8f8; }
.compare-col.paid {
  background: var(--season-soft, #fff5f6);
  border: 1.5px solid var(--season-accent, var(--pink));
}
.compare-title { margin: 0 0 8px; font-weight: 700; font-size: 13px; }
.compare-col ul { margin: 0; padding-left: 16px; color: var(--muted); line-height: 1.8; }

/* Product kit — 抄答案 · 纵向模块 */
.palette-hero {
  margin-top: 0;
  padding-top: 8px;
}
.palette-tags {
  justify-content: center;
  margin-bottom: 14px;
}
.color-grid-lg {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.color-grid-lg .color-cell i {
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.avoid-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.avoid-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #b04040;
  margin-bottom: 10px;
}
.kit-scroll-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.kit-scroll .kit-module {
  margin-bottom: 8px;
}
.kit-module-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px !important;
}
.kit-emoji { font-size: 18px; }
.kit-hook {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--season-accent, var(--rose-dark));
}

/* 妆容配色 */
.makeup-guide-section {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 12px;
}
.makeup-summary {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
}
.makeup-swatch-block { margin-bottom: 14px; }
.swatch-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--season-ink, var(--muted));
}
.eye-swatch-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.eye-swatch {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.eye-swatch i {
  display: block;
  width: 100%;
  aspect-ratio: 1.4;
  border-radius: 8px;
  margin-bottom: 4px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.blush-swatch-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.blush-swatch-wrap {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.blush-swatch {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 4px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.lip-tags { justify-content: flex-start; }
.makeup-tips {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
}
.makeup-avoid {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.avoid-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0f0;
  color: #b04040;
  font-weight: 600;
}
.look-ref-grid,
.look-closeup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.look-ref-grid img,
.look-closeup-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* 产品清单 — 纯文字，有图才显示 */
.product-text-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-text-item,
.look-text-item {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.05);
}
.product-text-item.has-image {
  padding: 0;
  overflow: hidden;
}
.product-text-item.has-image .product-text-body {
  padding: 10px 12px 12px;
}
.product-thumb-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.product-thumb-img.look {
  aspect-ratio: 4 / 5;
}
.price-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--season-soft, #fff5f6);
  color: var(--season-accent, var(--rose-dark));
  margin-bottom: 6px;
}
.product-name {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.product-shade {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--season-accent, var(--rose-dark));
  font-weight: 600;
}
.product-why {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.look-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.look-items {
  margin: 0 0 6px;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}

/* 更多推荐 — 折叠 */
.kit-more-section {
  margin-top: 8px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}
.kit-more-section summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.kit-more-section summary::-webkit-details-marker { display: none; }
.kit-more-body {
  padding: 0 12px 12px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.kit-more-body .kit-module {
  margin-top: 12px;
}
.hair-guide {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.05);
}
.hair-block { margin-bottom: 12px; }
.hair-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--season-ink, var(--text));
}
.hair-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hair-chip {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--season-soft, #fff5f6);
  color: var(--season-ink, var(--text));
  font-weight: 600;
}
.hair-tip {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 380px) {
  .color-grid-lg {
    grid-template-columns: repeat(3, 1fr);
  }
  .eye-swatch-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .color-grid {
    gap: 10px;
  }
  .color-cell {
    font-size: 10px;
  }
}

/* ===== P0-1: 分享引导弹窗 ===== */
.share-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.share-guide-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.guide-emoji { font-size: 48px; margin: 0 0 12px; }

.guide-steps {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0;
  background: #f8f8f8;
  padding: 12px;
  border-radius: 12px;
}

.guide-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* 分享区域 */
.share-section-new { text-align: center; padding: 10px 0; }
.share-preview-text { font-size: 14px; color: var(--muted); margin: 8px 0; line-height: 1.6; }
.share-preview-hook { font-size: 16px; font-weight: 600; color: var(--season-ink, var(--rose-dark)); margin: 4px 0 16px; }

.share-xhs-btn {
  width: 100%;
  margin-bottom: 12px;
  font-size: 16px;
  padding: 14px;
  background: linear-gradient(135deg, #FF1B6D, #FF5C5C);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 27, 109, 0.3);
}

.share-actions { display: flex; gap: 8px; justify-content: center; }
.share-actions .btn-secondary { flex: 1; max-width: 140px; }
.share-tip { font-size: 12px; color: #ccc; margin-top: 12px; }

/* ===== P0-2: 动态社交证明 ===== */
.social-proof-main { margin-bottom: 6px; }
.social-proof-main strong { color: var(--rose-dark); font-size: 14px; }
.social-divider { margin: 0 6px; color: #ddd; }

.social-ticker {
  overflow: hidden;
  height: 24px;
  background: linear-gradient(90deg, transparent, rgba(217,140,149,0.06), transparent);
  border-radius: 12px;
  margin: 6px 0;
  position: relative;
}

.social-ticker::before,
.social-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  z-index: 1;
}

.social-ticker::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.social-ticker::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  padding: 0 24px;
  line-height: 24px;
  font-size: 12px;
  color: #b0a0a4;
}

.ticker-item { margin-right: 16px; }
.ticker-item strong { color: var(--rose-dark); }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.social-hot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.hot-label { font-size: 11px; color: #e88a4a; font-weight: 600; }
.hot-tag {
  font-size: 11px;
  background: rgba(217,140,149,0.1);
  color: var(--rose-dark);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ===== P0-3: 解锁页转化优化 ===== */
.urgency-banner {
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: #e87a4a;
  background: linear-gradient(90deg, rgba(255,140,80,0.08), rgba(255,140,80,0.15), rgba(255,140,80,0.08));
  border-radius: 12px;
  margin-bottom: 12px;
}

.urgency-icon { margin-right: 4px; }

.blur-palette {
  text-align: center;
  padding: 16px;
  margin: 12px 0;
  background: #fafafa;
  border-radius: 16px;
  border: 1px dashed #e0e0e0;
}

.blur-label { font-size: 13px; color: #aaa; margin: 0 0 12px; }

.blur-colors { display: flex; justify-content: center; gap: 10px; }

.blur-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
}

.blur-1 { background: #FF9E8A; }
.blur-2 { background: #A9B8D9; }
.blur-3 { background: #B8896E; }
.blur-4 { background: #5670B9; }
.blur-5 { background: #FF7A59; }
.blur-6 { background: #3F4B8D; }

.price-current {
  font-size: 36px;
  font-weight: 800;
  color: var(--rose-dark);
}

.price-original {
  font-size: 16px;
  color: #ccc;
  text-decoration: line-through;
  margin-left: 8px;
}

.price-save { font-size: 12px; color: #e87a4a; margin: 6px 0 0; font-weight: 600; line-height: 1.6; }

.compare-col ul li.disabled {
  color: #ccc;
  text-decoration: line-through;
}

.invite-entry {
  text-align: center;
  padding: 12px 0;
  margin: 8px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.invite-hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.invite-btn { width: 100%; }

.reviews-section { margin-top: 16px; }
.reviews-title { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.review-cards { display: flex; flex-direction: column; gap: 8px; }

.review-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 12px;
}

.review-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-avatar { font-size: 24px; }
.review-name { font-size: 13px; font-weight: 600; margin: 0; }
.review-season { font-size: 11px; color: var(--rose-dark); margin: 0; }
.review-text { font-size: 13px; color: var(--text); line-height: 1.5; margin: 0; }
.review-time { font-size: 11px; color: #ccc; margin: 4px 0 0; }

.guarantee { text-align: center; font-size: 11px; color: #ccc; margin: 16px 0 0; line-height: 1.6; }

/* ===== P0-4: 邀请页 ===== */
.invite-progress { text-align: center; margin: 20px 0; }

.progress-bar {
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF9E8A, #FF5C5C);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.progress-text { font-size: 14px; font-weight: 600; color: var(--text); margin: 8px 0; }

.progress-dots { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }

.dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.dot.pending { background: #f0f0f0; color: #ccc; }
.dot.completed { background: linear-gradient(135deg, #FF9E8A, #FF5C5C); color: #fff; }

.invite-reward {
  background: #fff8f6;
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.reward-title { font-weight: 600; font-size: 15px; margin: 0 0 10px; }

.reward-items { display: flex; flex-wrap: wrap; gap: 8px; }

.reward-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #f0e0e0;
}

.reward-icon { color: #4a9e6a; }

.invite-actions { margin: 16px 0; }
.action-title { font-size: 13px; color: var(--muted); margin: 0 0 10px; text-align: center; }
.invite-share-btn { width: 100%; margin-bottom: 8px; }

.invite-log { margin-top: 20px; border-top: 1px solid #f0f0f0; padding-top: 16px; }
.log-title { font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.log-empty { font-size: 13px; color: #ccc; text-align: center; }

.log-list { display: flex; flex-direction: column; gap: 8px; }

.log-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px;
  background: #fafafa;
  border-radius: 10px;
}

.log-emoji { font-size: 18px; }
.log-info { flex: 1; }
.log-time { color: #ccc; font-size: 11px; }

.ref-tip {
  font-size: 12px;
  color: #e87a4a;
  margin-top: 4px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 首页紧凑化 ===== */

/* social-proof 紧凑版 */
.social-proof.compact {
  padding: 6px 0 8px;
}

.social-proof.compact .social-proof-main {
  font-size: 12px;
}

.social-proof.compact .social-ticker {
  height: 20px;
  margin: 2px 0;
}

.social-proof.compact .ticker-track {
  font-size: 11px;
  line-height: 20px;
}

.social-proof.compact .social-hot {
  display: none;
}

/* hero-card 收紧 */
.hero-card { padding-top: 18px; }

.hero-card .badge { margin-bottom: 10px; }

.hero-card h1 { font-size: 24px; margin-bottom: 4px; }

.hero-card .subtitle {
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* 上传区收紧 */
.upload-zone {
  padding: 18px 14px;
  margin-bottom: 12px;
}

.upload-icon { font-size: 36px; margin-bottom: 4px; }

.upload-title { font-size: 14px; }

.upload-hint { font-size: 11px; margin-top: 4px; }

/* 隐私声明移出上传区 */
.upload-privacy {
  text-align: center;
  font-size: 11px;
  color: #b0a0a4;
  margin: 0 0 12px;
}

/* 按钮收紧 */
.hero-card button {
  padding: 13px;
  font-size: 15px;
}

/* 折叠式"你将获得" */
.what-you-get {
  margin-top: 12px;
}

.what-you-get summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--season-accent, var(--rose-dark));
  cursor: pointer;
  text-align: center;
  padding: 6px 0;
  list-style: none;
}

.what-you-get summary::-webkit-details-marker { display: none; }

.what-you-get-body {
  background: linear-gradient(135deg, var(--season-soft, #fff5f6), #fff);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 6px;
  border: 1px solid rgba(217,140,149,0.12);
}

.what-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.what-row:last-child { border-bottom: none; }

.what-row span:first-child { font-size: 16px; flex-shrink: 0; }

/* example-card 收紧 */
.example-card { padding: 14px 16px; margin-bottom: 12px; }

.example-label { font-size: 12px; margin-bottom: 8px; }

.example-item { flex: 0 0 96px; padding: 8px 8px; }

/* 页面底部间距 */
.page { padding-bottom: 24px; }

/* ===== 示例报告卡片 ===== */
.sample-report {
  margin: 16px 0 20px;
}

.sample-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--season-accent, var(--rose-dark));
  margin: 0 0 10px;
  text-align: center;
}

.sample-card {
  background: linear-gradient(135deg, var(--season-soft, #fff5f6), #fff);
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(217,140,149,0.15);
}

.sample-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}

.sample-row + .sample-row {
  border-top: 1px solid rgba(0,0,0,0.04);
}

.sample-emoji {
  font-size: 22px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.sample-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.sample-desc {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== 免费预览迷你色卡 ===== */
.preview-colors {
  background: var(--season-soft, #fff8f6);
  border-radius: 16px;
  padding: 16px;
  margin: 0 0 16px;
  text-align: center;
}

.preview-colors-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--season-ink, var(--text));
}

.preview-colors-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.preview-color-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}

.preview-color-dot span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.25);
  padding: 1px 6px;
  border-radius: 6px;
}

.preview-colors-tip {
  margin: 0;
  font-size: 13px;
  color: var(--season-accent, var(--rose-dark));
  font-weight: 500;
}


/* ===== 首页上传页：转化型结构优化 ===== */
.photo-tips {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}

.photo-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text);
  background: #fff8f8;
  border: 1px solid rgba(217,140,149,0.13);
}

.photo-tip.good { background: #fff9f6; }
.photo-tip.bad { background: #fff6f7; color: #9a6d73; }
.photo-tip span:first-child { flex: 0 0 auto; }

.what-you-get.static {
  margin-top: 16px;
}

.what-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--season-accent, var(--rose-dark));
}

.what-you-get.static .what-you-get-body {
  margin-top: 0;
}

.hero-card .badge {
  background: #f6d6dd;
}

.hero-card button:not(:disabled) {
  box-shadow: 0 10px 24px rgba(196, 117, 127, 0.22);
}


/* AI 判断依据：提升结果页可信度 */
.ai-basis-box {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 14px 14px 12px;
  margin: -4px 0 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.ai-basis-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--season-ink, var(--text));
}
.ai-basis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ai-basis-grid span {
  display: block;
  padding: 8px 9px;
  border-radius: 12px;
  background: var(--season-soft, #fff5f6);
  color: var(--season-ink, var(--text));
  font-size: 12px;
  line-height: 1.35;
}
.ai-basis-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== 季型妆容参考图：检测结果 / 完整报告 ===== */
.season-look-section {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.035);
  overflow: hidden;
}
.season-look-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.season-look-title {
  margin: 2px 0 0 !important;
  font-size: 17px !important;
  color: var(--season-ink, var(--text));
}
.look-value-badge {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--season-soft, #fff5f6);
  color: var(--season-accent, var(--rose-dark));
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.season-look-img {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
.season-look-desc {
  margin: 12px 2px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.preview-look-section {
  margin-bottom: 16px;
}
.full-look-section {
  margin-bottom: 12px;
}
@media (max-width: 380px) {
  .season-look-head { display: block; }
  .look-value-badge { display: inline-block; margin-top: 8px; }
}

/* ===== 付费页：让完整报告明显比免费页更值 ===== */
.unlock-look-card {
  background: linear-gradient(180deg, #fff, var(--season-soft, #fff6f7));
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 14px;
  margin: 4px 0 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.045);
}
.unlock-look-copy h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--season-ink, var(--text));
}
.unlock-look-copy p:not(.micro-label) {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.unlock-value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.unlock-value-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  color: var(--season-accent, var(--rose-dark));
  font-size: 11px;
  font-weight: 700;
}
.unlock-look-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.unlock-look-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.unlock-look-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
}
.unlock-look-lock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 9px 10px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,0.36);
  backdrop-filter: blur(8px);
}
.premium-blur-palette { margin-top: 12px; }

/* ===== 完整报告：开头先给付费爽点 ===== */
.full-value-intro {
  background: linear-gradient(160deg, var(--season-soft, #fff6f7), #fff);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 18px;
  padding: 16px;
}
.full-value-intro h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  color: var(--season-ink, var(--text));
}
.full-value-intro p:not(.micro-label) {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.full-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.full-value-grid span {
  display: block;
  padding: 9px 8px;
  border-radius: 12px;
  background: #fff;
  color: var(--season-accent, var(--rose-dark));
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.premium-look-section {
  background: linear-gradient(180deg, #fff, var(--season-soft, #fff6f7));
  border: 1.5px solid color-mix(in srgb, var(--season-accent, var(--rose)) 35%, #fff);
}
.preview-lock-note,
.premium-look-note {
  margin: 10px 2px 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--season-accent, var(--rose-dark));
  font-weight: 600;
}
.premium-look-note {
  background: rgba(255,255,255,0.72);
  border-radius: 12px;
  padding: 9px 10px;
}
.look-save-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.look-save-btn {
  margin: 0;
  padding: 11px 8px;
  font-size: 13px;
  border-radius: 12px;
}
.cheat-sheet-section {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.035);
}
.cheat-head .section-title { margin-bottom: 12px !important; }
.cheat-grid {
  display: grid;
  gap: 9px;
}
.cheat-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 14px;
  background: var(--season-soft, #fff6f7);
}
.cheat-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--season-accent, var(--rose-dark));
  font-size: 12px;
  font-weight: 800;
}
.cheat-row p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}
.cheat-avoid {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8f8;
  color: #b04040;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}
.product-text-item .product-why {
  line-height: 1.55;
}

@media (max-width: 380px) {
  .look-save-actions { grid-template-columns: 1fr; }
  .full-value-grid { grid-template-columns: 1fr; }
}


/* ===== 图文报告升级版：像小红书图文笔记一样一屏一张 ===== */
#report-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.report-card-block {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 24px;
  padding: 22px 18px;
  margin: 16px 0;
  box-shadow: 0 14px 42px rgba(90, 60, 60, 0.08);
  overflow: hidden;
}
.report-cover-card {
  text-align: center;
  background: linear-gradient(160deg, var(--season-soft, #fff6f6), #fff);
  border-color: color-mix(in srgb, var(--season-accent, #d98c95) 18%, #fff);
  padding-top: 24px;
}
.report-card-kicker {
  margin: 0 0 12px;
  color: var(--season-accent, var(--rose));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.report-cover-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.report-cover-avatar {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.report-cover-title span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--season-accent, var(--pink));
  color: var(--season-ink, var(--rose-dark));
  font-weight: 700;
  font-size: 13px;
}
.report-cover-title strong {
  display: block;
  margin-top: 10px;
  font-size: 31px;
  line-height: 1.2;
  color: var(--season-ink, var(--text));
}
.report-cover-title small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.report-keyword-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 12px;
}
.report-keyword-row span {
  background: rgba(255,255,255,.8);
  color: var(--season-ink, var(--rose-dark));
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
}
.report-cover-copy {
  margin: 0 auto 14px;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.8;
  color: #5f4a4d;
  text-align: left;
}
.report-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.report-metric-grid span {
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}
.report-card-headline {
  text-align: left;
  margin-bottom: 14px;
}
.report-card-headline h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--season-ink, var(--text));
}
.report-card-headline span {
  color: var(--muted);
  font-size: 13px;
}
.full-look-section.report-card-block,
.full-look-section {
  background: #fff;
}
.full-look-section .season-look-img,
.premium-look-section .season-look-img {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.season-look-section .premium-look-note,
.preview-lock-note {
  background: var(--season-soft, #fff6f6);
  color: var(--season-ink, var(--rose-dark));
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
}
.color-diagnosis-card {
  background: linear-gradient(180deg, #fff, var(--season-soft, #fff7f7));
}
.top-color-panel {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.04);
  margin-bottom: 12px;
}
.mini-title {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--season-ink, var(--rose-dark));
  font-weight: 800;
}
.report-chip-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.report-swatch {
  min-width: 0;
  text-align: center;
}
.report-swatch i {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.report-swatch.avoid i { filter: saturate(.75) brightness(.92); }
.report-swatch em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}
.usage-grid-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.usage-grid-card > div,
.avoid-diagnosis-row {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.04);
}
.usage-grid-card b,
.avoid-diagnosis-row b {
  display: block;
  margin-bottom: 8px;
  color: var(--season-ink, var(--text));
  font-size: 13px;
}
.usage-grid-card p,
.avoid-diagnosis-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.avoid-diagnosis-row { margin-top: 10px; }
.formula-report-card {
  background: #fff;
}
.formula-grid-card {
  display: grid;
  gap: 10px;
}
.formula-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 15px;
  background: var(--season-soft, #fff7f7);
}
.formula-item span {
  color: var(--season-accent, var(--rose));
  font-weight: 800;
  font-size: 13px;
}
.formula-item p {
  margin: 0;
  color: #514548;
  font-size: 13px;
  line-height: 1.65;
}
.formula-avoid {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff4f4;
  color: #a85252;
  font-size: 13px;
  line-height: 1.65;
}
.product-homework-card {
  background: linear-gradient(180deg, #fff, #fffaf9);
}
.homework-reason {
  background: var(--season-soft, #fff6f6);
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 12px;
  color: var(--season-ink, var(--text));
  font-size: 13px;
  line-height: 1.7;
}
.homework-category {
  margin-top: 16px;
}
.homework-category h4 {
  margin: 0 0 6px;
  color: var(--season-ink, var(--text));
  font-size: 16px;
}
.homework-category > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.report-product-card {
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
}
.product-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.scene-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f7f7f7;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.lifestyle-card {
  background: #fff;
}
.lifestyle-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lifestyle-mini-grid div {
  background: var(--season-soft, #fff7f7);
  border-radius: 16px;
  padding: 12px;
}
.lifestyle-mini-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--season-ink, var(--text));
  font-size: 13px;
}
.lifestyle-mini-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
}
.mini-more,
.report-details-fold {
  margin-top: 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.mini-more summary,
.report-details-fold summary {
  padding: 13px 15px;
  list-style: none;
  color: var(--season-ink, var(--text));
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.mini-more summary::-webkit-details-marker,
.report-details-fold summary::-webkit-details-marker { display:none; }
.report-details-fold .identity-section {
  padding: 0 14px 14px;
  margin-top: 0;
}
@media (max-width: 380px) {
  .report-metric-grid,
  .usage-grid-card,
  .lifestyle-mini-grid { grid-template-columns: 1fr; }
  .report-chip-swatches { grid-template-columns: repeat(3, 1fr); }
}

/* 2026-06 转化强化：首页更像图文报告入口 */
.home-report-preview {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  margin: 12px 0 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff6f2 0%, #fff 52%, #f4f7ff 100%);
  border: 1px solid rgba(217, 140, 149, 0.16);
  box-shadow: 0 10px 26px rgba(120, 80, 90, 0.08);
}
.home-report-preview img {
  width: 112px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(80, 60, 70, 0.16);
}
.home-preview-copy h3 {
  margin: 3px 0 6px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}
.home-preview-copy p:not(.micro-label) {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.home-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.home-preview-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 140, 149, 0.08);
}
.hero-card h1 {
  letter-spacing: -0.5px;
}
.hero-card .subtitle {
  font-size: 14px;
}

/* 专业分析过程 */
.analysis-note {
  margin: 14px auto 4px;
  padding: 12px 14px;
  max-width: 300px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f4, #f7f9ff);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}
.analyzing-steps.professional {
  margin-top: 22px;
}
.analyzing-steps.professional li {
  text-align: left;
  padding: 12px 14px;
  margin: 8px auto;
  max-width: 330px;
  border-radius: 14px;
  background: #fff9f8;
  border: 1px solid rgba(217, 140, 149, 0.08);
  font-size: 13px;
}
.analyzing-steps.professional li.active {
  background: var(--season-soft, #fff1f2);
  color: var(--season-ink, var(--rose-dark));
  transform: translateX(2px);
}
.analyzing-steps.professional li.done {
  background: #fff;
  color: var(--text);
}
.direct-pay-box {
  background: linear-gradient(135deg, #fff5f3, #fff);
  border: 1px solid rgba(217, 140, 149, 0.15);
}

/* 分享海报页强化 */
.poster-card h1 {
  font-size: 28px;
}
#poster-canvas {
  background: #fff;
  box-shadow: 0 16px 40px rgba(80, 60, 70, 0.16);
}

@media (max-width: 360px) {
  .home-report-preview { grid-template-columns: 1fr; }
  .home-report-preview img { width: 100%; height: 180px; }
}

/* ===== 2026-06 图文报告 V2：每一屏都像小红书图文卡 ===== */
.graphic-result-card,
#report-card {
  max-width: 440px;
  margin: 0 auto;
}
.graphic-card {
  position: relative;
  overflow: hidden;
  margin: 16px 0;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(160deg, #fff, var(--season-soft, #fff7f7));
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 18px 46px rgba(75,55,60,.09);
}
.graphic-card::before {
  content: "";
  position: absolute;
  inset: -60px auto auto -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--season-accent, #d98c95) 18%, transparent);
  filter: blur(10px);
  pointer-events: none;
}
.graphic-kicker,
.graphic-card-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--season-ink, var(--rose-dark));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.graphic-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.graphic-card-head em {
  max-width: 150px;
  text-align: right;
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.identity-graphic {
  text-align: left;
  min-height: 0;
  padding: 22px 18px 18px;
}
.identity-topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.graphic-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.identity-topline p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}
.identity-topline h2 {
  margin: 0;
  color: var(--season-ink, var(--text));
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.identity-topline small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.graphic-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.graphic-chip-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--season-ink, #6b4a4d);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(80,50,60,.04);
}
.identity-copy-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 18px;
  padding: 14px;
}
.identity-copy-card b {
  display: block;
  margin-bottom: 7px;
  color: var(--season-ink, var(--text));
  font-size: 15px;
  line-height: 1.6;
}
.identity-copy-card p {
  margin: 0;
  color: #6a5659;
  font-size: 13px;
  line-height: 1.8;
}
.identity-copy-card .identity-avoid {
  margin-top: 7px;
  color: #a7655d;
}
.identity-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.identity-metrics span {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.look-graphic-card {
  padding: 14px;
  background: #fff;
}
.look-poster-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #f8f8f8;
  box-shadow: 0 14px 34px rgba(0,0,0,.11);
}
.look-poster-wrap img {
  display: block;
  width: 100%;
  border-radius: 22px;
}
.look-poster-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.look-poster-caption b {
  display: block;
  margin-bottom: 5px;
  color: var(--season-ink, var(--text));
  font-size: 15px;
}
.look-poster-caption span {
  display: block;
  color: #6b5658;
  font-size: 12px;
  line-height: 1.55;
}
.graphic-note {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: var(--season-ink, var(--text));
  font-size: 13px;
  line-height: 1.7;
}
.graphic-note.strong {
  font-weight: 700;
}
.graphic-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.color-guide-graphic {
  background: linear-gradient(180deg, #fff, var(--season-soft, #fff6f6));
}
.color-top-board {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.color-top-board p {
  margin: 0 0 12px;
  color: var(--season-ink, var(--text));
  font-weight: 900;
  font-size: 14px;
}
.graphic-swatch-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.graphic-swatch {
  min-width: 0;
  text-align: center;
}
.graphic-swatch i {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.graphic-swatch em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}
.graphic-swatch-row.avoid .graphic-swatch i {
  filter: saturate(.78) brightness(.9);
}
.usage-poster-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.usage-poster-item,
.avoid-poster-strip {
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.85);
}
.usage-poster-item b,
.avoid-poster-strip b {
  display: block;
  margin-bottom: 10px;
  color: var(--season-ink, var(--text));
  font-size: 13px;
}
.usage-poster-item.text p {
  margin: 0;
  color: #6d5b5e;
  line-height: 1.7;
  font-size: 13px;
}
.usage-poster-item .graphic-swatch-row {
  grid-template-columns: repeat(2, 1fr);
}
.avoid-poster-strip {
  margin-top: 10px;
}
.formula-graphic-card {
  background: linear-gradient(160deg, #fff, #fff9f8);
}
.formula-visuals,
.lifestyle-visual-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.lifestyle-visual-row {
  grid-template-columns: repeat(2, 1fr);
}
.graphic-image-tile {
  position: relative;
  min-height: 118px;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.graphic-image-tile img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  display: block;
}
.graphic-image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.46));
}
.graphic-image-tile span,
.graphic-image-tile em {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,.35);
}
.graphic-image-tile span {
  bottom: 28px;
  font-size: 12px;
  font-weight: 900;
}
.graphic-image-tile em {
  bottom: 9px;
  font-style: normal;
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.formula-poster-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}
.formula-poster-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 15px;
  background: rgba(255,255,255,.82);
}
.formula-poster-list span {
  color: var(--season-accent, var(--rose));
  font-weight: 900;
  font-size: 13px;
}
.formula-poster-list p {
  margin: 0;
  color: #514548;
  font-size: 13px;
  line-height: 1.55;
}
.formula-warning {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 15px;
  background: #fff1f1;
  color: #a65353;
  font-size: 13px;
  line-height: 1.65;
}
.product-homework-graphic {
  background: linear-gradient(180deg, #fff, #fff7f5);
}
.homework-logic-card {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  margin-bottom: 12px;
}
.homework-logic-card b {
  color: var(--season-ink, var(--text));
}
.homework-logic-card p {
  margin: 7px 0 0;
  color: #6a5659;
  font-size: 13px;
  line-height: 1.7;
}
.product-homework-poster-section {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}
.product-homework-poster-section h4 {
  margin: 0 0 10px;
  color: var(--season-ink, var(--text));
  font-size: 16px;
}
.homework-product-grid {
  display: grid;
  gap: 10px;
}
.homework-product-line {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 7px 20px rgba(0,0,0,.035);
}
.homework-product-line img,
.fake-product-swatch {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: color-mix(in srgb, var(--season-accent, #d98c95) 55%, #fff);
}
.homework-product-line b {
  display: block;
  color: var(--season-ink, var(--text));
  font-size: 13px;
  line-height: 1.35;
}
.homework-product-line em {
  display: block;
  margin-top: 3px;
  color: var(--season-accent, var(--rose));
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.homework-product-line span {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--season-soft, #fff6f6);
  color: var(--season-ink, #6b4a4d);
  font-size: 10px;
  font-weight: 800;
}
.homework-product-line p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.lifestyle-graphic-card {
  background: linear-gradient(160deg, #fff, var(--season-soft, #fff7f7));
}
.lifestyle-guide-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lifestyle-guide-grid div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}
.lifestyle-guide-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--season-ink, var(--text));
  font-size: 13px;
}
.lifestyle-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.closing-graphic-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5b4d50;
  font-size: 14px;
  line-height: 1.8;
}
.pay-cta-graphic {
  text-align: center;
  background: linear-gradient(160deg, var(--season-soft, #fff5f5), #fff);
}
.pay-cta-graphic h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--season-ink, var(--text));
  font-size: 22px;
}
.pay-cta-graphic p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.pay-cta-graphic small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.preview-mini-card {
  text-align: left;
}
@media (max-width: 380px) {
  .identity-topline { grid-template-columns: 1fr; text-align:center; justify-items:center; }
  .identity-copy-card { text-align:left; }
  .identity-metrics,
  .usage-poster-grid,
  .lifestyle-guide-grid { grid-template-columns: 1fr; }
  .graphic-swatch-row { grid-template-columns: repeat(3, 1fr); }
  .formula-visuals { grid-template-columns: 1fr; }
  .graphic-action-row { grid-template-columns: 1fr; }
}


.visual-series-intro-card {
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--season-soft, #fff7f7) 92%, #fff));
}
.visual-series-intro {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5f5155;
  font-size: 13px;
  line-height: 1.8;
}
.visual-story-card {
  padding: 14px;
  background: #fff;
}
.visual-story-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #f8f8f8;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.visual-story-image-wrap img {
  display: block;
  width: 100%;
  border-radius: 22px;
}
.visual-story-desc,
.hero-visual-desc {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: #6b5658;
  font-size: 13px;
  line-height: 1.7;
}
.hidden-preview-card {
  display: none;
}
