/*!
 * MCRC 站群共用视觉组件（各站 head 里的 loader 和 ui.js 一起引入；线上 https://mcrc.top/kit.css）
 * 统一：图标、购买按钮、树洞入口、首页「你会拿到什么」（样张 / 维度 / 常见问题）、结果页复购按钮
 * 改这一个文件，所有站同时生效。改完记得把各页 loader 里的 ?v= 改新，否则老访客最多缓存 12 小时。
 * 类名都带 mk- 前缀，不会和 Tailwind 撞名。页面用 --mk 指定主色。
 */

/* ---------- 图标（ui.js 把 <i data-ic="名字"></i> 换成 SVG；大小跟随字号） ---------- */
.mk-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
i[data-ic] { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; }
h1, .mk-bal { text-wrap: balance; }

/* ---------- 购买：两个并排按钮（平台小标签 + 文字） ---------- */
.mk-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.mk-buy a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; box-sizing: border-box; border-radius: 14px; text-decoration: none;
            font-size: 14px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.86); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.11);
            -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.mk-buy a:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.2); }
.mk-buy.sm a { min-height: 40px; font-size: 12.5px; border-radius: 11px; }
.mk-pf { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 5px; border-radius: 5px; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: 0; font-style: normal; flex: none; }
.mk-pf.xy { background: #ffe14d; color: #1a1500; }
.mk-pf.xhs { background: #ff2442; color: #fff; }

/* ---------- 结果页：复购主按钮 + 次按钮 ---------- */
.mk-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 15px 14px; border-radius: 16px; text-decoration: none;
          font-size: 14.5px; font-weight: 700; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, rgba(255,36,66,.24), rgba(255,36,66,.08));
          border: 1px solid rgba(255,77,103,.45); box-shadow: 0 14px 34px -18px rgba(255,36,66,.75), inset 0 1px 0 rgba(255,255,255,.08); }
.mk-cta2 { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; margin-top: 10px; padding: 12px; border-radius: 14px; text-decoration: none;
           font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.72); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }

/* ---------- 树洞入口 ---------- */
.mk-tree { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 16px; text-decoration: none; text-align: left;
           background: linear-gradient(135deg, rgba(52,211,153,.085), rgba(255,255,255,.02)); border: 1px solid rgba(52,211,153,.2); transition: border-color .2s, background .2s; }
.mk-tree:hover { border-color: rgba(52,211,153,.42); }
.mk-tree .ti { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; font-size: 19px; color: #6ee7b7;
               background: rgba(16,185,129,.12); border: 1px solid rgba(52,211,153,.22); }
.mk-tree .tx { flex: 1; min-width: 0; }
.mk-tree b { display: block; font-size: 13.5px; font-weight: 700; color: #d1fae5; letter-spacing: .04em; }
.mk-tree small { display: block; margin-top: 2px; font-size: 11px; color: rgba(209,250,229,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tree .go { font-size: 16px; color: rgba(110,231,183,.75); flex: none; }

/* ---------- 首页：你会拿到什么 ---------- */
.mk-more { --mk: #a78bfa; position: relative; z-index: 5; width: 100%; max-width: 440px; margin: 0 auto; padding: 0 20px 8px; box-sizing: border-box; text-align: left; color: #e5e7eb; }
.mk-h { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 54px 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .32em; color: rgba(255,255,255,.45); text-transform: uppercase; white-space: nowrap; }
.mk-h:before, .mk-h:after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--mk)); opacity: .7; }
.mk-h:after { transform: scaleX(-1); }
.mk-t { text-align: center; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .06em; line-height: 1.45; text-wrap: balance; }
.mk-st { margin: 6px 0 20px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.75; text-wrap: balance; }

/* 报告样张：真实结果卡片缩略图，底部渐隐 */
.mk-sample { position: relative; width: 76%; max-width: 290px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #0b0b12; border: 1px solid rgba(255,255,255,.12);
             box-shadow: 0 34px 70px -26px rgba(0,0,0,.95), 0 0 0 6px rgba(255,255,255,.025), 0 0 60px -20px var(--mk); transform: rotate(-1.2deg); }
.mk-sample img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: cover; object-position: top; }
.mk-sample:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(6,6,10,0), rgba(6,6,10,.94) 78%); pointer-events: none; }
.mk-sample .tg { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 11px; font-weight: 700;
                 letter-spacing: .12em; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-sample .bd { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: rgba(255,255,255,.85);
                 background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); }
.mk-pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.mk-pts div { padding: 12px 6px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.mk-pts .mk-ic, .mk-pts i[data-ic] { font-size: 18px; color: var(--mk); }
.mk-pts b { display: block; margin-top: 6px; font-size: 12px; color: #f3f4f6; letter-spacing: .04em; }
.mk-pts small { display: block; margin-top: 2px; font-size: 10.5px; color: rgba(255,255,255,.42); line-height: 1.5; }

/* 测评维度 */
.mk-dims { display: grid; gap: 10px; }
.mk-dim { display: flex; gap: 13px; align-items: flex-start; padding: 15px 15px 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.mk-dim .n { flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .02em;
             color: var(--mk); background: rgba(255,255,255,.05); background: color-mix(in srgb, var(--mk) 12%, transparent); border: 1px solid rgba(255,255,255,.1); border-color: color-mix(in srgb, var(--mk) 30%, transparent); }
.mk-dim .n .mk-ic { font-size: 16px; }
.mk-dim b { display: block; font-size: 14px; color: #f3f4f6; letter-spacing: .03em; }
.mk-dim p { margin: 3px 0 0; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.52); }

/* 常见问题（点开 / 收起） */
.mk-faq { border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.075); }
.mk-faq details { border-top: 1px solid rgba(255,255,255,.06); }
.mk-faq details:first-child { border-top: 0; }
.mk-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-size: 13.5px; font-weight: 700; color: #e5e7eb; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary:after { content: ""; flex: none; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .45; transition: transform .25s, margin .25s; }
.mk-faq details[open] summary:after { transform: rotate(-135deg); margin-top: 4px; }
.mk-faq details[open] summary { color: #fff; }
.mk-faq details p { margin: 0; padding: 0 16px 16px; font-size: 12.5px; line-height: 1.85; color: rgba(255,255,255,.56); }

/* 首屏底部「往下看」提示 */
.mk-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 26px; font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.38); text-decoration: none; }
.mk-cue .mk-ic { font-size: 15px; transform: rotate(90deg); animation: mkCue 1.8s ease-in-out infinite; }
@keyframes mkCue { 0%, 100% { translate: 0 0; opacity: .5; } 50% { translate: 0 4px; opacity: 1; } }

/* 末尾再放一个开始按钮 */
.mk-again { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 26px; padding: 15px; border-radius: 16px; box-sizing: border-box; cursor: pointer;
            font-size: 15px; font-weight: 700; letter-spacing: .12em; color: #fff; background: rgba(255,255,255,.06); background: color-mix(in srgb, var(--mk) 18%, rgba(255,255,255,.03));
            border: 1px solid rgba(255,255,255,.14); border-color: color-mix(in srgb, var(--mk) 45%, transparent); box-shadow: 0 16px 36px -20px var(--mk); }
.mk-note { margin-top: 12px; text-align: center; font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .06em; }

/* ======================================================================
 * 结果页「诊断书」（假性亲密 / 情商 / MBTI / 占有欲 / 颜值 共用；心理年龄是原型）
 * 页面在 :root 设 --ac（主色）--ac2（副色）--acg（光晕，rgba）
 * ====================================================================== */
.mk-bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none;
           background: radial-gradient(70% 36% at 50% 0%, var(--acg, rgba(167,139,250,.18)), transparent 72%), radial-gradient(55% 40% at 0% 75%, rgba(255,255,255,.025), transparent 70%); }
.mk-bgfx:after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px); background-size: 22px 22px; }
.mk-wrap { position: relative; z-index: 1; }

.mk-rp { position: relative; border-radius: 28px; padding: 30px 22px 24px; overflow: hidden; text-align: left;
         background: linear-gradient(165deg, rgba(26,28,42,.95), rgba(8,9,15,.97) 68%); border: 1px solid rgba(255,255,255,.08);
         box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); }
.mk-rp:before { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ac), transparent); }
.mk-rp:after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, var(--acg, rgba(167,139,250,.16)), transparent 70%); pointer-events: none; }
.mk-cn { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ac); opacity: .5; }
.mk-cn.a { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; } .mk-cn.b { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; }
.mk-cn.c { bottom: 14px; left: 14px; border-width: 0 0 1.5px 1.5px; } .mk-cn.d { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }
.mk-head { position: relative; z-index: 1; text-align: center; }
.mk-ey { font-size: 10px; letter-spacing: .34em; color: var(--ac); font-weight: 700; text-transform: uppercase; }
.mk-rt { margin-top: 8px; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: .1em; }
.mk-rule { width: 56px; height: 2px; margin: 12px auto 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ac), transparent); }

/* 主结论：类型名 + 英文 */
.mk-hero { position: relative; z-index: 1; margin-top: 22px; text-align: center; }
.mk-hero .k { font-size: 10px; letter-spacing: .3em; color: #7f8aa3; font-weight: 700; }
.mk-hero .t { margin-top: 8px; font-size: 34px; font-weight: 900; line-height: 1.2; letter-spacing: .08em; color: #fff; text-wrap: balance; text-shadow: 0 0 30px var(--acg, rgba(167,139,250,.35)); }
.mk-hero .e { margin-top: 6px; font-size: 11px; letter-spacing: .32em; color: rgba(255,255,255,.42); text-transform: uppercase; font-family: "Playfair Display", Georgia, serif; }
.mk-hero .s { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .1em; }

/* 圆环分数 */
.mk-ring { position: relative; z-index: 1; width: 196px; height: 196px; margin: 18px auto 0; }
.mk-ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mk-ring .in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mk-ring .in small { font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.55); font-weight: 700; }
.mk-ring .in b { margin-top: 2px; font-size: 56px; line-height: 1; color: #fff; font-family: "Playfair Display", Georgia, serif; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 26px var(--acg, rgba(167,139,250,.5)); }
.mk-ring .in b i { font-style: normal; font-size: 18px; margin-left: 2px; color: var(--ac); }
.mk-ring .in > span { margin-top: 6px; font-size: 11px; color: var(--ac); letter-spacing: .14em; font-weight: 700; }

/* 两 / 三格数据 */
.mk-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.mk-stats.c3 { grid-template-columns: 1fr 1fr 1fr; }
.mk-stats > div { padding: 13px 8px; text-align: center; min-width: 0; }
.mk-stats > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.mk-stats .k { font-size: 10.5px; color: #7f8aa3; letter-spacing: .12em; white-space: nowrap; }
.mk-stats .v { margin-top: 4px; font-size: 18px; font-weight: 800; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-stats .v small { font-size: 11px; font-weight: 600; color: #94a3b8; margin-left: 2px; }

/* 小节标题 */
.mk-sec { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 8px; font-size: 11px; letter-spacing: .28em; color: #8f9bb3; font-weight: 700; white-space: nowrap; }
.mk-sec:before, .mk-sec:after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--ac)); opacity: .6; }
.mk-sec:after { transform: scaleX(-1); }
.mk-radar { position: relative; z-index: 1; }
.mk-radar svg { width: 100%; height: auto; display: block; overflow: visible; }
.mk-cap { position: relative; z-index: 1; margin-top: -2px; text-align: center; font-size: 10.5px; color: #636d84; letter-spacing: .08em; }

/* 引用式结论 */
.mk-quote { position: relative; z-index: 1; margin: 16px 2px 0; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
            font-size: 13px; line-height: 1.9; color: #b3bccd; text-align: left; }
.mk-quote:before { content: "\201C"; position: absolute; left: 10px; top: -14px; font-family: Georgia, serif; font-size: 44px; color: var(--ac); opacity: .55; }
.mk-quote b, .mk-quote strong, .mk-quote .strong-text { color: #fff; font-weight: 800; }

.mk-ft { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07);
         font-size: 10px; color: #5c6680; letter-spacing: .08em; line-height: 1.7; }
.mk-ft .mk-mark { font-family: "Playfair Display", Georgia, serif; font-size: 13px; letter-spacing: .24em; color: #75829e; }

.mk-savebtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-radius: 16px; cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: #fff;
              border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, var(--ac), var(--ac2)); box-shadow: 0 14px 34px -14px var(--ac); text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.mk-savebtn .mk-ic { font-size: 17px; }

/* 维度解析卡片 */
.mk-dimc { position: relative; margin-bottom: 12px; padding: 18px 18px 16px; border-radius: 20px; background: linear-gradient(160deg, rgba(24,27,42,.72), rgba(10,11,18,.78)); border: 1px solid rgba(255,255,255,.07); text-align: left; }
.mk-dimc .h { display: flex; align-items: center; gap: 12px; }
.mk-dimc .i { flex: none; width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--ac); letter-spacing: .04em;
              background: rgba(255,255,255,.05); background: color-mix(in srgb, var(--ac) 11%, transparent); border: 1px solid rgba(255,255,255,.1); border-color: color-mix(in srgb, var(--ac) 28%, transparent); }
.mk-dimc .tt { flex: 1; min-width: 0; }
.mk-dimc .tt b { display: block; font-size: 15px; color: #f1f5f9; letter-spacing: .03em; }
.mk-dimc .tt small { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .2em; color: #6b7894; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-dimc .sc { flex: none; text-align: right; }
.mk-dimc .sc b { font-size: 24px; line-height: 1.1; color: #fff; font-family: "Playfair Display", Georgia, serif; font-variant-numeric: lining-nums; }
.mk-dimc .sc b i { font-style: normal; font-size: 12px; color: #8a94ab; margin-left: 1px; }
.mk-dimc .sc small { display: block; font-size: 10px; color: var(--ac); letter-spacing: .1em; white-space: nowrap; }
.mk-bar { height: 6px; margin: 14px 0 12px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.mk-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--ac), var(--ac2)); box-shadow: 0 0 10px var(--acg, rgba(167,139,250,.4)); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.mk-dimc p { margin: 0; font-size: 13px; line-height: 1.85; color: #a7b0c3; }
.mk-dimc p + p { margin-top: 8px; }
.mk-dimc .tip { display: flex; gap: 8px; margin-top: 12px; padding: 11px 13px; border-radius: 13px; font-size: 12.5px; line-height: 1.75; color: #d5dbe7;
                background: rgba(255,255,255,.035); background: color-mix(in srgb, var(--ac) 7%, transparent); border: 1px solid rgba(255,255,255,.06); border-color: color-mix(in srgb, var(--ac) 18%, transparent); }
.mk-dimc .tip .mk-ic { flex: none; margin-top: 3px; color: var(--ac); }

/* 普通内容卡（深度剖析 / 预后 / 处方等） */
.mk-card { position: relative; margin-bottom: 12px; padding: 20px 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(24,27,42,.6), rgba(10,11,18,.7)); border: 1px solid rgba(255,255,255,.07); text-align: left; }
.mk-card .tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--ac);
                background: rgba(255,255,255,.04); background: color-mix(in srgb, var(--ac) 10%, transparent); border: 1px solid rgba(255,255,255,.08); border-color: color-mix(in srgb, var(--ac) 25%, transparent); }
.mk-card h3 { margin: 12px 0 8px; font-size: 16.5px; font-weight: 800; color: #f8fafc; letter-spacing: .04em; }
.mk-card p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #a7b0c3; }
.mk-card p + p { margin-top: 10px; }
.mk-card .strong-text, .mk-card b { color: #fff; font-weight: 800; }
.mk-card.voice p { font-size: 14.5px; line-height: 2; color: #dfe4ee; font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif; }
.mk-steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; }
.mk-steps li { position: relative; padding: 12px 0 12px 38px; font-size: 13.5px; line-height: 1.8; color: #b8c0d0; border-top: 1px dashed rgba(255,255,255,.07); counter-increment: s; }
.mk-steps li:first-child { border-top: 0; }
.mk-steps li:before { content: counter(s); position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
                      font-size: 11px; font-weight: 800; color: var(--ac); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.mk-steps .strong-text, .mk-steps b { color: #fff; font-weight: 800; }

/* 结果页底部次要按钮 */
.mk-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 16px; box-sizing: border-box; cursor: pointer; text-decoration: none;
            font-size: 14px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.82); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
