:root {
  --ink: #3c2f27;
  --sub: #7f6d60;
  --cream: #fffaf3;
  --paper: #fffdf9;
  --peach: #ff8c69;
  --coral: #f06d78;
  --lavender: #9b82f3;
  --lavender-soft: #f3effe;
  --mint: #4ea58b;
  --mint-soft: #eaf6f0;
  --butter: #fff2d6;
  --line: #eddccf;
  --shadow-lg: 0 20px 50px rgba(84, 54, 34, 0.09);
  --shadow-md: 0 10px 26px rgba(84, 54, 34, 0.07);
}

* { box-sizing: border-box; }
html { background: #fbf4ea; }

body {
  margin: 0;
  color: var(--ink);
  font: 15.5px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle, #e5d5c5 1.25px, transparent 1.25px) 0 0 / 24px 24px,
    radial-gradient(circle at 8% 4%, rgba(255, 214, 194, 0.65), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(226, 214, 255, 0.45), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(212, 241, 224, 0.62), transparent 36%),
    var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { cursor: pointer; transition: transform 0.14s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease; }
button:active:not(:disabled) { transform: scale(0.985); }
button:disabled { cursor: not-allowed; opacity: 0.45; }

.topbar {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 12px;
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fffdf9, #ffe9d6);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
  font-size: 24px;
}
.brand strong { display: block; font-size: 17px; letter-spacing: 0.2px; }
.brand small { display: block; font-size: 10px; letter-spacing: 1.6px; color: var(--sub); font-weight: 600; }

.top-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a85a46;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff0e5, #ffe2d6);
  border: 1px solid #f7d0be;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

main { max-width: 780px; margin: 0 auto; padding: 8px 16px 56px; }

.panel { display: none; position: relative; }
.panel.active { display: block; animation: rise 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* 奶油手账卡片主体 + 顶部胶带点缀 */
.home, .panel:not(.home) {
  background: rgba(255, 253, 249, 0.96);
  border: 1.5px solid #f0dfd0;
  border-radius: 34px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

.home::before, .panel:not(.home)::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 118px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 165, 134, 0.45), rgba(252, 211, 137, 0.55));
  box-shadow: 0 2px 6px rgba(130, 86, 52, 0.08);
  pointer-events: none;
}

.hero-text { text-align: center; }
.hero-text h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 6.8vw, 50px);
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: #3a2b22;
}
.hero-text h1 span {
  background: linear-gradient(120deg, #ff7a59, #ef5f7c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text p { font-size: 15.5px; color: var(--sub); line-height: 1.85; margin: 0; }

/* 拍立得双卡展示区 */
.hero-avatars {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 26px auto 22px;
  max-width: 520px;
}
.hero-avatars img {
  width: 46%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #fff;
  padding: 8px 8px 22px;
  border-radius: 20px;
  border: 1px solid #f0e3d6;
  box-shadow: 0 12px 28px rgba(125, 86, 62, 0.14);
}
.hero-avatars img:first-child { transform: rotate(-2.2deg); }
.hero-avatars img:last-child { transform: rotate(2.2deg); }

.trustrow {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.trustrow span {
  border: 1px solid #eed9c8;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #6b5243;
  background: linear-gradient(180deg, #fffdf9, #fff5e8);
  box-shadow: 0 2px 8px rgba(140, 96, 66, 0.06);
}

.deliver, .result-advice {
  background: linear-gradient(135deg, #eff8f2, #e8f5ee);
  padding: 18px 20px;
  border: 1.5px solid #cfe7d9;
  border-radius: 22px;
  margin: 20px 0;
  line-height: 1.75;
  color: #2f5748;
}
.deliver b, .result-advice b { display: block; margin-bottom: 4px; font-size: 15px; color: #214a3b; }

.gate-box {
  background: linear-gradient(135deg, #fffaf0, #fff4e4);
  border: 1.5px dashed #e6c6a8;
  border-radius: 20px;
  padding: 16px 18px;
  margin: 0 0 18px;
}
.gate-label { display: block; font-size: 12.5px; font-weight: 700; color: #7a5844; margin-bottom: 8px; }
.gate-box code { background: #fbe4c8; padding: 2px 7px; border-radius: 6px; color: #8c4527; font-weight: 800; }
.code-error { display: block; color: #d64545; font-size: 12px; margin-top: 6px; min-height: 16px; }

.primary, .secondary {
  border: 0;
  border-radius: 18px;
  padding: 15px 22px;
  font-weight: 800;
  min-height: 54px;
  letter-spacing: 0.3px;
}
.primary {
  background: linear-gradient(125deg, #ff8a65, #f0627c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(240, 108, 120, 0.35);
}
.primary:hover:not(:disabled) { filter: brightness(1.04); box-shadow: 0 12px 28px rgba(240, 108, 120, 0.42); }
.home > .primary, .panel > .primary { width: 100%; font-size: 17px; }
.secondary {
  border: 1.5px solid #e6d4c7;
  background: #fff;
  color: var(--ink);
}
.secondary:hover:not(:disabled) { background: #fff8f0; border-color: #dfbfa9; }

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12.5px;
  color: #8b776a;
}
.demo-btn {
  border: 1.5px solid #ecd9c9;
  background: #fffdf9;
  color: #5c4538;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(120, 82, 54, 0.06);
}
.demo-btn:hover { background: #fff0e5; border-color: #f08a6d; color: #a34934; }

.tiny-note { font-size: 12px; color: #968579; line-height: 1.8; }
.home .tiny-note { text-align: center; margin: 18px 0 0; }

.heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.heading small { font-size: 10.5px; letter-spacing: 2px; color: #a98678; font-weight: 700; }
.heading h2 { font-size: 25px; margin: 2px 0; }
.back {
  width: 44px;
  height: 44px;
  background: #fff2e8;
  border: 1px solid #f4d9c6;
  border-radius: 15px;
  font-size: 32px;
  color: #a9675a;
  line-height: 1;
}

.field-label { display: block; margin: 20px 0 9px; font-weight: 700; font-size: 14.5px; color: #4c3b30; }
.species-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.species {
  border: 2px solid #efe3d8;
  border-radius: 22px;
  padding: 18px 14px;
  font-weight: 800;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 18px;
  color: #5b483c;
}
.species.active {
  border-color: #f07e68;
  background: linear-gradient(135deg, #fff5ec, #ffece4);
  color: #9e4332;
  box-shadow: 0 8px 20px rgba(240, 126, 104, 0.16);
}
.species > span:first-child { font-size: 28px; }
.mini { font-size: 10px; color: #a7968e; letter-spacing: 1px; }

input:not([type=file]), select {
  width: 100%;
  height: 54px;
  background: #fffefb;
  border: 1.5px solid #e7d8cc;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:not([type=file]):focus, select:focus {
  border-color: #ef8a72;
  box-shadow: 0 0 0 4px rgba(239, 138, 114, 0.14);
}

.upload {
  background: linear-gradient(180deg, #fffcf6, #fbf3e7);
  border: 2px dashed #e2c2ae;
  border-radius: 22px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.upload:hover { border-color: #eb8a71; background: #fff7ed; }
.upload > span { font-size: 32px; }
.upload small { color: var(--sub); font-size: 12.5px; }

.check { display: flex; gap: 11px; margin: 22px 0; align-items: flex-start; font-size: 13px; color: #716156; }
.check input { accent-color: #ef7e6e; margin-top: 5px; width: 16px; height: 16px; }

.progress-title, .quiz-controls { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.progress-title { font-size: 13.5px; }
.progress-title span { color: #9a7462; font-weight: 600; }
.progress { height: 11px; background: #f3e5d7; border-radius: 999px; overflow: hidden; margin-top: 10px; }
.progress > div {
  height: 100%;
  width: 5%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6ad7b, #ef6d7e);
  transition: width 0.25s ease;
}

.question-card {
  border: 1.5px solid #f0dfd1;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf9, #fff8ef);
  padding: 26px 24px;
  margin: 22px 0;
  box-shadow: var(--shadow-md);
}
.question-tag {
  display: inline-block;
  font-size: 12px;
  color: #a46450;
  font-weight: 800;
  background: #ffece2;
  padding: 4px 12px;
  border-radius: 999px;
}
.question-card h3 { font-size: clamp(20px, 4.2vw, 26px); line-height: 1.5; margin: 14px 0 8px; color: #392c24; }
.question-card p { color: var(--sub); font-size: 13px; margin: 0; }

.options { display: grid; gap: 11px; margin-top: 18px; }
.option {
  border: 2px solid #ede1d6;
  border-radius: 18px;
  padding: 15px 18px;
  text-align: left;
  background: #fff;
  color: #5e4d43;
  font-weight: 700;
}
.option:hover { border-color: #eeb2a0; background: #fffaf5; }
.option.selected {
  border-color: #ef7778;
  background: linear-gradient(135deg, #fff2f0, #ffeae6);
  color: #9e3d42;
  box-shadow: 0 6px 16px rgba(239, 119, 120, 0.14);
}
.quiz-controls button { width: 50%; }

/* 结果页：精致夹板档案风 */
.result-head { text-align: center; }
.result-head h2 { font-size: 26px; line-height: 1.35; margin: 14px 0 6px; }
.result-head p { color: var(--sub); margin: 0 0 18px; font-size: 14px; }

.result-art {
  background: linear-gradient(135deg, #fff4e6, #f3ecff);
  border-radius: 28px;
  padding: 12px;
  border: 1.5px solid #efe0d3;
  box-shadow: var(--shadow-md);
}
.result-art img { width: 100%; display: block; border-radius: 20px; }

.result-badge {
  text-align: center;
  background: linear-gradient(135deg, #fff7e9, #ffefe4);
  border: 1.5px solid #f5d8c0;
  border-radius: 24px;
  margin: 16px 0;
  padding: 20px 16px;
}
.result-badge small { color: #a47c64; font-weight: 700; letter-spacing: 0.5px; }
.result-badge h2 { font-size: 32px; margin: 6px 0 4px; color: #3c2b21; }
.result-badge p { margin: 0; color: var(--sub); font-weight: 600; }

.secondary-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #e7cff7;
  font-size: 12.5px;
  font-weight: 700;
  color: #744ea8;
}

.quote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  color: #9e5642;
  background: #fffcf7;
  padding: 20px 18px;
  border: 1.5px dashed #e6bfa9;
  border-radius: 20px;
}

.scores-block { padding: 8px 0; }
.scores-block h3 { margin: 20px 0 2px; font-size: 18px; }
.radar-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 12px;
  padding: 16px 12px;
  background: linear-gradient(180deg, #fffdf9, #fff7ee);
  border: 1.5px solid #f0dfd2;
  border-radius: 24px;
  box-shadow: inset 0 1px 4px rgba(130, 88, 56, 0.04);
}
.radar-wrap svg { max-width: 320px; width: 100%; height: auto; }

.score-row { display: flex; align-items: center; gap: 12px; margin: 13px 0; }
.score-name { flex: 0 0 92px; font-size: 13.5px; font-weight: 700; color: #544236; }
.score-track { flex: 1; height: 12px; background: #f2e7db; border-radius: 999px; overflow: hidden; }
.score-track > div { height: 100%; background: linear-gradient(90deg, #7bc4a8, #f29d72); border-radius: 999px; }
.score-value { width: 42px; text-align: right; font-size: 13.5px; font-weight: 800; color: #4d7e6c; }

.card-preview-box {
  margin: 20px 0;
  text-align: center;
  background: linear-gradient(180deg, #faf7ff, #fff9f2);
  border: 1.5px solid #e7dbf6;
  border-radius: 26px;
  padding: 18px 14px;
  box-shadow: var(--shadow-md);
}
.card-preview-box img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(72, 50, 96, 0.14);
}
.card-preview-box small { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #7e6b85; }

.download-actions { display: grid; gap: 12px; }
.download-actions button { width: 100%; font-size: 16px; }
.primary.alt {
  background: linear-gradient(125deg, #74b89c, #498d7f);
  box-shadow: 0 10px 24px rgba(73, 141, 127, 0.3);
}
.full { width: 100%; margin-top: 16px; }
#downloadStatus { text-align: center; font-size: 13px; font-weight: 700; color: #49816d; margin: 12px 0; min-height: 21px; }

footer { font-size: 11.5px; color: #9c8b7b; text-align: center; padding: 20px 16px 32px; line-height: 1.8; }
footer a { color: #8c6e5d; text-decoration: none; border-bottom: 1px dotted #c7b0a0; }

@media (max-width: 520px) {
  .topbar { padding: 14px 16px 8px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 8.5px; }
  .top-pill { font-size: 11px; padding: 5px 10px; }
  .home, .panel:not(.home) { padding: 26px 18px; border-radius: 26px; }
  .hero-avatars { gap: 12px; }
  .hero-avatars img { padding: 6px 6px 16px; border-radius: 16px; }
  .trustrow span { font-size: 12px; padding: 6px 11px; }
  .question-card { padding: 20px 16px; }
  .score-name { flex-basis: 82px; }
}

/* === V6 情绪价值升级：出金开箱 + 4套SSR皮肤 + 3D正反翻卡 + 灵魂羁绊 + 盖章契约 === */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:520px){.two-col{grid-template-columns:1fr}}

.gacha-overlay{position:fixed;inset:0;z-index:999;display:none;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at center,#2c1e16 0%,#0f0b12 72%);color:#ffe6a7;text-align:center;overflow:hidden}
.gacha-overlay.show{display:flex;animation:fadeIn .22s ease}
.gacha-beam{position:absolute;width:220vmax;height:220vmax;background:conic-gradient(from 0deg,transparent 0 18deg,rgba(255,215,120,.22) 22deg,transparent 28deg 90deg,rgba(255,215,120,.18) 95deg,transparent 105deg 180deg,rgba(255,215,120,.22) 185deg,transparent 195deg 270deg,rgba(255,215,120,.18) 275deg,transparent 285deg);animation:spinBeam 6s linear infinite}
.gacha-ring{position:absolute;width:240px;height:240px;border-radius:50%;border:2px solid rgba(255,215,128,.55);box-shadow:0 0 60px rgba(255,200,90,.45),inset 0 0 36px rgba(255,200,90,.35);animation:pulseRing 1.2s ease-in-out infinite}
.gacha-text{position:relative;z-index:2;padding:24px}
.gacha-pill{display:inline-block;padding:5px 14px;border-radius:999px;border:1px solid rgba(255,220,140,.6);font-size:11px;letter-spacing:2px;color:#ffd980;margin-bottom:14px}
.gacha-text h2{margin:0 0 8px;font-size:26px;background:linear-gradient(180deg,#fff7d6,#f5b95b);-webkit-background-clip:text;background-clip:text;color:transparent}
.gacha-text p{margin:0;font-size:13.5px;color:#e8d4b0;opacity:.9}
@keyframes spinBeam{to{transform:rotate(360deg)}}
@keyframes pulseRing{0%,100%{transform:scale(.94);opacity:.7}50%{transform:scale(1.08);opacity:1}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

.meme-sub{font-size:15px;font-weight:800;color:#c95b45;margin:4px 0 6px}

.skin-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 18px}
.skin-btn{border:1.5px solid #ead8c7;background:#fffdf9;color:#5b4a40;border-radius:14px;padding:9px 6px;font-size:12px;font-weight:800;white-space:nowrap}
.skin-btn.active{background:linear-gradient(135deg,#2a202f,#4a3245);color:#ffe4a0;border-color:#d4a853;box-shadow:0 6px 16px rgba(42,32,47,.25)}
@media(max-width:480px){.skin-bar{grid-template-columns:repeat(2,1fr)}}

.flip-stage{perspective:1400px;margin:10px 0 22px;text-align:center}
.flip-card{position:relative;width:100%;max-width:390px;aspect-ratio:3/4;margin:0 auto;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.22,1,.36,1);cursor:pointer}
.flip-card.flipped{transform:rotateY(180deg)}
.flip-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:24px;overflow:hidden;box-shadow:0 18px 42px rgba(42,28,22,.22)}
.flip-face img{width:100%;height:100%;object-fit:cover;display:block}
.flip-back{transform:rotateY(180deg)}
.flip-actions{margin-top:14px}
.flip-tip{display:block;margin-top:8px;font-size:12px;color:#8a786d}

.bond-card{background:linear-gradient(135deg,#fff9f0,#fdf2f8);border:1.5px solid #f2d5df;border-radius:24px;padding:20px;margin:18px 0;box-shadow:0 8px 24px rgba(180,95,125,.08)}
.bond-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.5px;font-weight:800;color:#9d4a66;margin-bottom:10px}
.bond-quote{margin:0 0 14px;font-size:15px;line-height:1.8;color:#4a333b;font-weight:600;padding:12px 14px;background:rgba(255,255,255,.78);border-radius:16px;border-left:4px solid #e67e9c}
.cp-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.cp-item{background:#fff;border:1px solid #f0dbe2;border-radius:16px;padding:10px 12px}
.cp-item small{display:block;font-size:11px;color:#967581;margin-bottom:3px}
.cp-item b{font-size:13px;color:#452c35}
.weakness-bar{font-size:12.5px;color:#5e4950;background:rgba(255,244,225,.85);padding:10px 12px;border-radius:12px;line-height:1.6}

.oath-box{background:linear-gradient(135deg,#fffbf2,#fff2e0);border:1.5px dashed #dca97b;border-radius:24px;padding:20px;margin:20px 0;text-align:center}
.oath-title{font-size:15px;font-weight:800;color:#7a4b2a;margin-bottom:8px}
.oath-box p{font-size:13.5px;color:#5c4536;line-height:1.75;margin:0 0 14px}
.oath-btn{border:0;border-radius:999px;padding:12px 24px;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(120deg,#d9534f,#e67e5f);box-shadow:0 8px 20px rgba(217,83,79,.32)}
.oath-stamp{display:none;margin-top:12px;padding:8px 16px;border-radius:12px;border:2px solid #d94646;color:#c93535;font-weight:800;font-size:13px;background:#fff5f5;transform:rotate(-1.5deg)}
.oath-box.signed .oath-stamp{display:inline-block;animation:stampPop .28s cubic-bezier(.22,1,.36,1)}
@keyframes stampPop{from{transform:scale(1.8) rotate(-8deg);opacity:0}to{transform:scale(1) rotate(-1.5deg);opacity:1}}

.primary.violet{background:linear-gradient(125deg,#8d74e8,#6b53c9);box-shadow:0 10px 24px rgba(107,83,201,.32)}


/* === V7 深度详批 + 独家来信信纸 + 内置浏览器长图兜底 === */
.inapp-banner{background:linear-gradient(135deg,#fff5e6,#ffece0);border:1.5px solid #f2c9a6;border-radius:18px;padding:12px 15px;margin:14px 0 4px;font-size:12.5px;line-height:1.65;color:#7a4829}
.inapp-banner b{color:#a84122}
.inapp-banner code{background:#ffe1c4;padding:1px 6px;border-radius:5px;font-weight:800}

.deep-section{margin:22px 0}
.deep-head h3{margin:0 0 4px;font-size:18px;color:#3c2b21}
.deep-head small{display:block;font-size:12.5px;color:#8c7769;margin-bottom:12px}
.deep-list{display:grid;gap:12px}
.deep-card{background:#fffdf9;border:1.5px solid #eeded0;border-radius:20px;padding:16px 18px;box-shadow:0 6px 18px rgba(102,68,42,.05)}
.deep-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.deep-dim-name{font-size:15px;font-weight:800;color:#3b2a20}
.deep-score-pill{font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px;background:#fff0e4;color:#b85235;border:1px solid #f5d3bc}
.deep-analogy{font-size:12.5px;font-weight:700;color:#9b543c;background:#fff7ef;padding:7px 11px;border-radius:11px;margin:6px 0 10px;border-left:3px solid #ee8866}
.deep-body{font-size:13.5px;line-height:1.8;color:#4f3f35;margin:0 0 10px}
.deep-tips{background:#f2f9f5;border:1px solid #d5eadf;border-radius:14px;padding:10px 13px;font-size:12.5px;line-height:1.7;color:#2f5b48}
.deep-tips b{display:block;margin-bottom:4px;color:#214b39}
.deep-tips p{margin:3px 0}

.letter-paper{position:relative;background:repeating-linear-gradient(180deg,#fffdf8 0,#fffdf8 31px,#f4eadc 32px);border:1.5px solid #e6d1bc;border-radius:24px;padding:24px 20px 20px;margin:22px 0;box-shadow:0 12px 30px rgba(110,74,46,.09)}
.letter-badge{display:inline-block;font-size:10.5px;letter-spacing:1.5px;font-weight:800;color:#a56249;background:#ffefe2;padding:4px 12px;border-radius:999px;border:1px solid #f3cfb8;margin-bottom:10px}
.letter-paper h3{margin:0 0 12px;font-size:20px;color:#422f24}
.letter-salutation{font-size:15px;font-weight:800;color:#5a3c2d;margin-bottom:8px}
.letter-body p{margin:0 0 11px;font-size:14px;line-height:1.85;color:#4a3b31;text-indent:0}
.letter-sign{text-align:right;font-size:13.5px;font-weight:800;color:#9e5e46;margin-top:12px}
.letter-actions{margin-top:14px;text-align:center}

.primary.warm{background:linear-gradient(125deg,#e89a4d,#d66e3a);box-shadow:0 10px 24px rgba(214,110,58,.3)}
.img-preview-wrap{margin:14px 0 4px;padding:14px;background:#fffdf9;border:1.5px dashed #dec6b2;border-radius:20px;text-align:center}
.img-preview-wrap img{width:100%;max-width:420px;border-radius:14px;box-shadow:0 10px 28px rgba(72,48,32,.15);display:block;margin:0 auto}
.img-preview-wrap small{display:block;margin-top:10px;font-size:12px;font-weight:700;color:#8c634b;line-height:1.6}
