/* =========================================================================
 * AI 关系 8 型 · 样式
 * 主 UI 中性（白/灰），家族色只出现在结果侧（见 02_视觉识别系统.md §4）
 * ========================================================================= */
:root {
  --bg: #F6F5F9;
  --card: #FFFFFF;
  --ink: #34304A;
  --ink2: #4A4560;
  --muted: #8A85A0;
  --line: #E9E7F0;
  --radius: 20px;
  --radius-s: 14px;
  --shadow: 0 10px 34px rgba(52, 48, 74, .09);
  --shadow-s: 0 4px 16px rgba(52, 48, 74, .07);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: #ECEAF2;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.app {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 60px rgba(52, 48, 74, .10);
}
.screen { animation: fadeUp .38s ease both; padding: 0 22px calc(40px + env(safe-area-inset-bottom)); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 通用 ---------- */
.btn {
  display: block; width: 100%; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 17px; font-weight: 600;
  padding: 16px 18px; border-radius: 16px; margin: 12px 0 0;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s;
  color: #fff; background: var(--ink);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); box-shadow: 0 6px 18px rgba(52, 48, 74, .22); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-accent { background: linear-gradient(135deg, var(--g1, var(--ink)), var(--g2, var(--ink))); box-shadow: 0 8px 22px rgba(52, 48, 74, .22); }
.btn-sm { display: inline-block; width: auto; font-size: 14px; padding: 9px 16px; border-radius: 12px; margin: 0 8px 0 0; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.tiny { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.disclaimer { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 14px 0 0; }

/* ---------- 封面 ---------- */
.scr-landing { padding-top: 34px; text-align: center; }
.brand-pill {
  display: inline-block; font-size: 12.5px; color: var(--ink2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; letter-spacing: .04em; margin-bottom: 20px;
}
.landing-title { font-size: 33px; line-height: 1.32; margin: 0 0 14px; letter-spacing: .01em; }
.landing-title em { font-style: normal; }
.landing-sub { font-size: 14.5px; color: var(--ink2); margin: 0 auto 6px; max-width: 340px; }
.fig-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 22px 0 8px; }
.fig-strip img, .fig-strip svg { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: var(--shadow-s); }
.fig-strip .fig-item { display: block; animation: bob 4s ease-in-out infinite; }
.fig-strip .fig-item:nth-child(2n) { animation-delay: -1.2s; }
.fig-strip .fig-item:nth-child(3n) { animation-delay: -2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.landing-actions { margin-top: 20px; }
.landing-note { margin-top: 6px; }

/* ---------- 答题 ---------- */
.scr-quiz { padding-top: 18px; }
.qprog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.qcount { font-size: 13.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.qmodule { font-size: 12px; color: var(--muted); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; }
.qprog-bar { height: 6px; background: #E7E4EF; border-radius: 999px; overflow: hidden; }
.qprog-bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .35s ease; }
.qtext { font-size: 22.5px; line-height: 1.5; margin: 26px 2px 22px; letter-spacing: .01em; }
.opts { display: flex; flex-direction: column; gap: 11px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 15px 16px; cursor: pointer; line-height: 1.45;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt:active { transform: scale(.985); }
.opt .dot {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #CFCADF; background: #fff; transition: all .15s; position: relative;
}
.opt.multi .dot { border-radius: 7px; }
.opt.sel { border-color: var(--ink); background: #FBFAFE; }
.opt.sel .dot { border-color: var(--ink); background: var(--ink); }
.opt.sel .dot::after {
  content: ""; position: absolute; left: 6.2px; top: 2.6px; width: 5px; height: 9.5px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(43deg);
}
.opt.flash { border-color: var(--ink); background: #F1EFF8; }
.qnav { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.qback {
  background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer;
  font-family: var(--font); padding: 8px 0;
}
.qback[disabled] { opacity: 0; pointer-events: none; }
.qconfirm { margin-top: 20px; }
.free-wrap textarea {
  width: 100%; min-height: 84px; resize: none; font-family: var(--font); font-size: 16px;
  color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 14px; line-height: 1.6; outline: none; background: var(--card);
}
.free-wrap textarea:focus { border-color: var(--ink); }
.freelen { text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink2); margin-top: 12px; line-height: 1.6; }
.consent input { margin-top: 3px; accent-color: var(--ink); }

/* 即时反馈 */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 14px);
  background: rgba(52, 48, 74, .95); color: #fff; font-size: 14px;
  padding: 11px 18px; border-radius: 999px; max-width: 86vw; text-align: center;
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 50;
  box-shadow: 0 10px 30px rgba(52, 48, 74, .28); line-height: 1.5;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 彩蛋门 ---------- */
.scr-gate { text-align: center; padding-top: 90px; }
.gate-ico { margin-bottom: 18px; animation: bob 3.4s ease-in-out infinite; }
.gate-ico svg { width: 72px; height: 72px; }
.scr-gate h2 { font-size: 24px; margin: 0 0 10px; }
.scr-gate p { color: var(--ink2); font-size: 14.5px; margin: 0; }

/* ---------- 揭晓 ---------- */
.scr-reveal {
  min-height: 100vh; min-height: 100dvh; padding: 0;
  background: linear-gradient(165deg, var(--g1, #6D28D9), var(--g2, #8B5CF6));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-c, #fff); text-align: center; overflow: hidden;
}
.scr-reveal .deco-c { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.reveal-lines { padding: 0 30px; }
.revline {
  font-size: 15.5px; opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease; margin: 8px 0; letter-spacing: .05em;
}
.revline.on { opacity: .92; transform: none; }
.reveal-card { opacity: 0; transform: scale(.86); transition: all .55s cubic-bezier(.2, 1.4, .4, 1); padding: 0 30px; }
.reveal-card.on { opacity: 1; transform: none; }
.rv-badge { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 28px; background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .35); margin-bottom: 18px; }
.rv-badge svg { width: 52px; height: 52px; color: var(--ink-c, #fff); }
.rv-name { font-size: 46px; margin: 0 0 4px; letter-spacing: .06em; }
.rv-en { font-size: 14px; opacity: .75; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; }
.rv-quote { font-size: 17px; opacity: .95; margin: 0; line-height: 1.7; font-weight: 300; }
.reveal-btn { width: auto; min-width: 220px; margin-top: 34px; background: rgba(255, 255, 255, .94); color: #34304A; display: none; }
.reveal-btn.on { display: block; animation: fadeUp .5s ease both; }

/* ---------- 结果页 ---------- */
.scr-result { padding: 0 0 calc(46px + env(safe-area-inset-bottom)); }
.hero {
  background: linear-gradient(160deg, var(--g1), var(--g2));
  color: var(--ink-c, #fff);
  padding: 30px 22px 78px; position: relative; overflow: hidden;
}
.hero .deco-c { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; letter-spacing: .04em;
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 6px 13px; position: relative;
}
.hero-badge svg { width: 15px; height: 15px; }
.hero-name { font-size: 41px; margin: 16px 0 2px; letter-spacing: .05em; position: relative; }
.hero-en { font-size: 12.5px; opacity: .78; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; position: relative; }
.hero-quote { font-size: 17.5px; line-height: 1.7; font-weight: 300; margin: 0 0 8px; max-width: 88%; position: relative; }
.hero-fig { width: 218px; margin: -64px auto 8px; position: relative; }
.hero-fig img, .hero-fig svg { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 18px 44px rgba(52, 48, 74, .20); }
/* figure 微动效 */
.anim-queue rect, .anim-scroll, .anim-rocket, .anim-key { animation: bob 3.2s ease-in-out infinite; }
.anim-rocket { transform-box: fill-box; transform-origin: center; }
.anim-waves { animation: wavesPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes wavesPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.anim-ghost { animation: ghostFloat 4s ease-in-out infinite; }
@keyframes ghostFloat { 0%, 100% { transform: translateY(0); opacity: .30; } 50% { transform: translateY(-7px); opacity: .42; } }
.anim-lantern { animation: lanternGlow 3s ease-in-out infinite; }
@keyframes lanternGlow { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
.anim-pulse { animation: pendPulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pendPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.5); opacity: 1; } }

.res-body { padding: 18px 18px 0; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s);
  padding: 20px 18px; margin: 0 0 14px; position: relative;
}
.card-kicker { font-size: 12.5px; color: var(--accent, var(--muted)); letter-spacing: .12em; margin: 0 0 10px; font-weight: 600; }
.card-title { font-size: 15px; margin: 0 0 12px; letter-spacing: .06em; color: var(--ink2); }
.card p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--ink); }
.card p + p { margin-top: 10px; }

/* 分数 */
.score-card { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score-label { font-size: 13px; color: var(--muted); letter-spacing: .1em; width: 100%; margin-bottom: -6px; }
.score-num { font-size: 62px; font-weight: 700; line-height: 1; letter-spacing: .01em; color: var(--accent, var(--ink)); font-variant-numeric: tabular-nums; }
.score-pct { font-size: 14px; color: var(--ink2); }
.potential-note { width: 100%; font-size: 13.5px !important; color: var(--ink2) !important; margin-top: 6px !important; }

/* 雷达 */
.radar-wrap { display: flex; justify-content: center; }
.radar-wrap svg { width: 100%; max-width: 330px; height: auto; }
.combo-chip { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--accent, var(--ink)); background: color-mix(in srgb, var(--accent, #34304A) 10%, white); border-radius: 999px; padding: 7px 14px; margin-top: 4px; }
.combo-line { font-size: 13.5px !important; color: var(--ink2) !important; margin-top: 8px !important; }
.combo-line b { color: var(--accent, var(--ink)); }
.combo-freq { color: var(--muted) !important; font-size: 12.5px !important; }

/* 彩虹句 */
.rainbow { font-size: 16.5px !important; line-height: 2 !important; }

/* 建议 */
.tips { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: tip; }
.tips li { counter-increment: tip; display: flex; gap: 12px; font-size: 15px; line-height: 1.75; padding: 9px 0; align-items: flex-start; }
.tips li::before {
  content: counter(tip); flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #34304A) 12%, white); color: var(--accent, var(--ink));
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* 信任光谱 */
.trust-wrap svg { width: 100%; height: auto; display: block; }
.trust-zone { font-size: 19px; font-weight: 700; color: var(--accent, var(--ink)); margin: 10px 0 2px; }
.trust-line { font-size: 14px !important; color: var(--ink2) !important; }

/* 自由句 */
.freequote { font-size: 16.5px !important; line-height: 1.9 !important; font-style: italic; }
.freequote-sign { font-size: 12.5px !important; color: var(--muted) !important; margin-top: 8px !important; font-style: normal; }

/* 极速版缺口 */
.locked-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.locked-label { flex: 0 0 64px; font-size: 14px; color: var(--ink2); }
.bar-track { flex: 1; height: 10px; background: #EFEDF4; border-radius: 999px; overflow: hidden; position: relative; }
.bar-track i { display: block; height: 100%; border-radius: 999px; background: var(--accent, var(--ink)); opacity: .9; }
.locked-row.is-locked .bar-track i { filter: blur(5px); opacity: .5; }
.locked-chip { flex: 0 0 auto; font-size: 11.5px; color: var(--muted); border: 1px dashed #CFCADF; border-radius: 999px; padding: 3px 10px; }
.locked-note { font-size: 13px !important; color: var(--muted) !important; margin-top: 8px !important; }

/* 分享 */
.share-actions { margin-top: 12px; }
.card-preview { display: none; margin: 6px 0 4px; }
.card-preview img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.share-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* 深度报告 */
.deep-card { background: #FBFAFE; border: 1.5px dashed #D8D3EA; box-shadow: none; }
.deep-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deep-price { font-size: 19px; font-weight: 700; color: var(--ink); }
.deep-sub { font-size: 13px !important; color: var(--muted) !important; margin-top: 4px !important; }

/* 页脚 */
.result-foot { text-align: center; margin-top: 26px; padding: 0 10px; }
.exempt-line { font-size: 13.5px; color: var(--ink2); margin-bottom: 4px; }
.closing-line { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.result-foot .disclaimer { margin-top: 8px; }
.replay-btn { margin-top: 16px; }

/* ---------- 欢迎回来（本地存档） ---------- */
.wb-card { text-align: center; padding: 8px 0 4px; }
.wb-card img { width: 148px; border-radius: 18px; box-shadow: var(--shadow); margin: 10px 0 12px; }
.wb-name { font-size: 32px; margin: 0 0 2px; letter-spacing: .06em; }
.wb-en { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.wb-quote { font-size: 15px; color: var(--ink2); margin: 0 0 14px; line-height: 1.8; }
.wb-score { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 8px; }
.wb-num { font-size: 44px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.wb-pct { font-size: 12.5px; color: var(--ink2); }
.wb-date { margin: 4px 0 8px; }

/* ---------- 深度报告 ---------- */
.scr-report { padding: 0 16px calc(46px + env(safe-area-inset-bottom)); }
.rp-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 6px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.rp-top-t { font-size: 14.5px; font-weight: 600; letter-spacing: .1em; }
.rp-top-sp { width: 64px; }
.rp-hero { background: linear-gradient(160deg, var(--g1), var(--g2)); color: var(--ink-c, #fff); border-radius: 20px; padding: 22px 20px; margin: 6px 0 14px; box-shadow: var(--shadow-s); }
.rp-hero-kicker { font-size: 12px; opacity: .82; letter-spacing: .16em; margin: 0 0 8px; }
.rp-hero-name { color: inherit; font-size: 24px; margin: 0 0 8px; letter-spacing: .03em; }
.rp-hero-quote { color: inherit; font-size: 14.5px; font-weight: 300; margin: 0 0 10px; line-height: 1.7; }
.rp-hero-date { font-size: 11.5px; opacity: .74; margin: 0; }
.rp-sec { background: var(--card); border-radius: 18px; padding: 18px 16px; margin: 0 0 14px; box-shadow: var(--shadow-s); }
.rp-sec h2 { font-size: 16.5px; margin: 0 0 10px; letter-spacing: .04em; color: var(--ink); }
.rp-sec p { font-size: 14.5px; line-height: 1.95; color: var(--ink2); margin: 0 0 10px; }
.rp-sec p:last-child { margin-bottom: 0; }
.rp-meta { font-size: 13px !important; color: var(--muted) !important; }
.rp-sec .locked-row { padding: 7px 0; }
.rp-dim { border-top: 1px solid var(--line); padding: 16px 0 2px; }
.rp-dim-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rp-dim-name { font-size: 15.5px; font-weight: 700; }
.rp-dim-chip { font-size: 12px; border-radius: 999px; padding: 3px 11px; font-weight: 600; }
.lv-high { color: var(--accent, #34304A); background: color-mix(in srgb, var(--accent, #34304A) 12%, white); }
.lv-mid { color: var(--ink2); background: #F1EFF6; }
.lv-low { color: #8A6D1F; background: #FBF3DD; }
.rp-detail { border-left: 3px solid var(--accent, #34304A); padding-left: 10px; color: var(--ink) !important; }
.rp-practice { background: color-mix(in srgb, var(--accent, #34304A) 7%, white); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--ink); line-height: 1.85; margin: 0 0 4px; }
.rp-practice b { display: block; font-size: 11.5px; letter-spacing: .12em; color: var(--accent, #34304A); margin-bottom: 3px; }
.rp-blind { border-top: 1px solid var(--line); padding: 14px 0 2px; }
.rp-blind-t { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.rp-map-t { display: inline-block; font-size: 11.5px; color: var(--accent, #34304A); background: color-mix(in srgb, var(--accent, #34304A) 10%, white); border-radius: 999px; padding: 3px 11px; margin-bottom: 6px; letter-spacing: .06em; }
.rp-map-t.alt { color: #8A6D1F; background: #FBF3DD; }
.rp-map p, .rp-road p { margin-top: 2px; }
.rp-road { border-top: 1px solid var(--line); padding: 12px 0 6px; }
.rp-road:first-of-type { border-top: 0; }
.rp-close-quote { font-size: 16px !important; line-height: 2.05 !important; color: var(--ink) !important; font-weight: 500; }

/* 窄屏适配 */
@media (max-width: 360px) {
  .landing-title { font-size: 29px; }
  .hero-name { font-size: 36px; }
}

/* ---------- 赚钱曲线 ---------- */
.curve-svg { width: 100%; height: auto; display: block; margin: 4px 0 8px; }
.curve-name { font-size: 17px; font-weight: 700; margin: 0 0 6px; letter-spacing: .04em; }

/* 曲线图入场动画 */
.curve-svg .cg-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cgdraw 1.2s ease .2s forwards; }
.curve-svg .cg-area { opacity: 0; animation: cgfade .9s ease .9s forwards; }
.curve-svg .cg-dot { opacity: 0; animation: cgfade .5s ease 1.35s forwards; }
@keyframes cgdraw { to { stroke-dashoffset: 0; } }
@keyframes cgfade { to { opacity: 1; } }

/* 彩蛋 · 隐藏身份 */
.hideid { text-align: center; background: #FBFAFE; }
.hideid-name { font-size: 28px; font-weight: 800; letter-spacing: .08em; margin: 6px 0 10px; }
.hideid-text { font-size: 15px !important; line-height: 1.9 !important; color: var(--ink) !important; }
.hideid-note { font-size: 12px !important; color: var(--muted) !important; margin-top: 10px !important; }

/* ===== 深度报告 · 可视化 ===== */
.bar-typ { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: rotate(45deg); background: #fff; border: 1.5px solid var(--accent, #34304A); border-radius: 2px; box-sizing: border-box; }
.rp-bars-legend { display: flex; gap: 14px; justify-content: flex-end; margin-top: 8px; font-size: 10.5px; color: var(--muted); }
.rp-bars-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rp-bars-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.rp-bars-legend .lg-you { background: var(--accent); opacity: .9; }
.rp-bars-legend .lg-typ { background: #fff; border: 1.5px solid var(--accent); transform: rotate(45deg); border-radius: 2px; }

.rp-map-sec { overflow: hidden; }
.rp-posmap { width: 100%; height: auto; display: block; margin: 2px 0 4px; }
.rp-map-legend { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; font-size: 10.5px; color: var(--muted); margin: 2px 0 8px; }
.rp-map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rp-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rp-dot.other { background: #A8A3B8; }
.rp-dot.type { background: #fff; border: 2px dashed var(--accent); }
.rp-dot.you { background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--accent); }
.rp-insight { background: color-mix(in srgb, var(--accent) 7%, white); border-radius: 12px; padding: 10px 12px; font-size: 13px !important; line-height: 1.85 !important; color: var(--ink) !important; margin: 4px 0 0 !important; }

.rp-pair-row { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; }
.rp-pair-card { flex: 0 0 92px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(52,48,74,.10); border: 1px solid color-mix(in srgb, var(--pc) 18%, white); position: relative; }
.rp-pair-card img { width: 100%; height: 134px; object-fit: cover; display: block; }
.rp-pair-tag { position: absolute; top: 6px; left: 6px; background: var(--pc); color: #fff; font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 2px 7px; letter-spacing: .04em; }
.rp-pair-name { display: block; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--pc); padding: 6px 2px 7px; }
.rp-pair-mid { flex: 1; text-align: center; color: var(--muted); min-width: 56px; }
.rp-pair-kicker { display: block; font-size: 9.5px; letter-spacing: .08em; margin-bottom: 3px; }
.rp-pair-mid b { display: block; font-size: 12px; color: var(--ink2); }
.rp-pair-row.clash .rp-pair-mid b { color: #A16207; }
.rp-pair-note { border-left: 3px solid color-mix(in srgb, var(--accent) 28%, white); padding-left: 10px; font-size: 13.5px !important; line-height: 1.85 !important; margin: 6px 0 16px !important; }
.rp-pair-row.clash + .rp-pair-note { border-left-color: #E9D5A6; }

.rp-timeline { position: relative; margin: 8px 0 2px; padding-left: 4px; }
.rp-timeline::before { content: ''; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: color-mix(in srgb, var(--accent) 18%, white); border-radius: 2px; }
.rp-tl-item { position: relative; padding: 0 0 18px 34px; }
.rp-tl-item:last-child { padding-bottom: 0; }
.rp-tl-dot { position: absolute; left: 5px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, white); }
.rp-tl-when { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 2px; }
.rp-tl-body p { margin: 2px 0 0 !important; font-size: 14px !important; line-height: 1.9 !important; }

.rp-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.rp-step { display: flex; gap: 12px; background: color-mix(in srgb, var(--accent) 5%, white); border-radius: 14px; padding: 12px 12px 10px; }
.rp-step-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.rp-step-t { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.rp-step p { font-size: 13.5px !important; line-height: 1.8 !important; margin: 0 !important; }
.rp-step .rp-meta { margin-top: 4px !important; }

@media (max-width: 360px) {
  .rp-pair-card { flex-basis: 84px; }
  .rp-pair-card img { height: 123px; }
  .rp-pair-mid { min-width: 48px; }
}
