/* 杂活小铺配色(2026-11-07 跟主站导航页统一成紫色系)
   浅色默认；html[data-theme="dark"] 换深色(由 zh_theme.js 切换)。
   页面里的颜色一律写 var(--xx)，新加颜色先在这里登记两套值。 */
:root{
  color-scheme:light;
  --bg:#f8f4fd;          /* 页面底 */
  --card:#ffffff;        /* 卡片 */
  --soft:#faf7fe;        /* 输入框、工具块 */
  --tint:#f2ecfc;        /* 选中、浅紫提示底 */
  --line:#ebe4f5;        /* 细边框 */
  --line2:#ddd3ee;       /* 稍深边框 */
  --line-pri:#d6c8f3;    /* 紫色提示框边 */
  --text:#2e2442;        /* 正文 */
  --text2:#4a3f60;       /* 次正文 */
  --sub:#6f6488;         /* 说明文字 */
  --sub2:#9a90ad;        /* 更淡的说明 */
  --pri:#7c5cd6;         /* 主色 */
  --pri-d:#6b4bb3;       /* 主色(链接、按钮) */
  --pri-shadow:rgba(107,75,179,.30);
  --muted:#8a7fa3;       /* 次要按钮 */
  --grad:linear-gradient(135deg,#6b4bb3,#a77fdc 60%,#d59ad0);   /* 顶部横幅、主按钮 */
  --grad2:linear-gradient(135deg,#8a5cd6,#d77fb0 60%,#ec9a8c);  /* 高级服务 */
  --title:#2b1d47;       /* 业务名称、板块标题(跟主站导航页卡片名同色系) */
  --price:#d6336c;       /* 价格 */
  --ok:#15924f;  --ok-bg:#ecfaf2;  --ok-line:#b5e8cb;
  --bad:#c0293b; --bad-bg:#fdf0f2; --bad-line:#f6c6ce;
  --warn:#b4610a; --warn-bg:#fff8eb; --warn-line:#f6dda0;
  /* 新用户介绍页(zh_intro.js)：渐变底 + 光斑 + 白字 */
  --intro-bg:linear-gradient(165deg,#4a2a9c 0%,#6d43c9 42%,#9b5ad0 72%,#c070b8 100%);
  --intro-glow1:rgba(255,150,210,.55); --intro-glow2:rgba(110,170,255,.42); --intro-glow3:rgba(255,214,120,.38);
  --intro-dot:rgba(255,255,255,.16); --intro-fg:#ffffff; --intro-sub:rgba(255,255,255,.84);
  --intro-chip:rgba(255,255,255,.14); --intro-line:rgba(255,255,255,.26); --intro-hi:#ffe27a;
  --intro-btn:#ffffff; --intro-btn-fg:#4e2fa0;
  --intro-paper:#ffffff; --intro-ink:#4e3a7a; --intro-ink2:#ddd5ec; --intro-wm:rgba(124,92,214,.22); --intro-cut:#ff5d7a; --intro-fast-chip:#efe8fc; --intro-mark:rgba(255,93,122,.45);
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#120d1c;
  --card:#1c1430;
  --soft:#231a37;
  --tint:#2a1f42;
  --line:#2f2545;
  --line2:#3d3157;
  --line-pri:#4a3a6e;
  --text:#ece4fa;
  --text2:#d2c6ea;
  --sub:#a597c2;
  --sub2:#7f7299;
  --pri:#a184e6;
  --pri-d:#c4a8fa;
  --pri-shadow:rgba(0,0,0,.45);
  --muted:#5b5075;
  --grad:linear-gradient(135deg,#3a2766,#5b3d8e 60%,#7a4a86);
  --grad2:linear-gradient(135deg,#4a2f6e,#7a3a6a 60%,#8a4a52);
  --title:#f1e6ff;
  --price:#ff8fb1;
  --ok:#5fd394;  --ok-bg:#132a1f;  --ok-line:#22543a;
  --bad:#ff8a96; --bad-bg:#2e1519; --bad-line:#5a2630;
  --warn:#f5b84a; --warn-bg:#2b2210; --warn-line:#5a4718;
  --intro-bg:linear-gradient(165deg,#120b24 0%,#24164a 45%,#3a1f5a 75%,#4a2048 100%);
  --intro-glow1:rgba(200,90,190,.38); --intro-glow2:rgba(80,110,230,.32); --intro-glow3:rgba(240,180,90,.2);
  --intro-dot:rgba(255,255,255,.08); --intro-fg:#f4ecff; --intro-sub:rgba(236,226,255,.76);
  --intro-chip:rgba(255,255,255,.08); --intro-line:rgba(255,255,255,.16); --intro-hi:#ffd36b;
  --intro-btn:#c4a8fa; --intro-btn-fg:#1a1030;
  --intro-paper:#e9e3f5; --intro-ink:#4e3a7a; --intro-ink2:#cbc1df; --intro-wm:rgba(124,92,214,.28); --intro-cut:#e04a6a; --intro-fast-chip:#b394f0; --intro-mark:rgba(224,74,106,.5);
}
html{background:var(--bg);overflow-x:hidden;overscroll-behavior-x:none}
/* ↑↓ 禁止页面被撑宽：小幽灵和它的气泡游到屏幕右边时会把页面撑宽(实测可视宽度 375→500)，
   手机整页缩小/左右晃，右上角按钮看着像"乱飘"。光设 html 不够(幽灵按整页定位，不受裁剪)：
   让 body 成为它的定位范围 + 横向 clip(不产生滚动条)。body 无外边距，幽灵坐标不变。 */
body{position:relative;overflow-x:clip}
/* 标题统一(2026-11-07)：中文全用黑体；板块标题、业务名称、免费工具名一律加粗 + 标题色。
   按钮/输入框默认会用 Arial，统一跟随页面字体 */
button,input,select,textarea{font-family:inherit}
.card h2,.card h3,.svc .t>span:first-child,.tool{color:var(--title)}
.card h2,.card h3,.svc .t>span:first-child{font-weight:700;letter-spacing:.02em}
.tool{font-weight:600}
.tool .hint{font-weight:400}
/* 防孤字的小标签(zh_theme.js 加的 span.nob)只负责不换行，外观一律跟随所在文字，
   防止被页面里 "xx span:last-child" 之类的规则误伤(11-07 踩过：标题后 4 字变紫色小字) */
span.nob{color:inherit!important;font:inherit!important;letter-spacing:inherit!important;
  background:none!important;padding:0!important;margin:0!important;border:0!important;white-space:nowrap!important}
/* 手机换行：正文避免最后一行只剩一两个字，标题几行长度均衡(老浏览器不认就照常换行) */
body{text-wrap:pretty}
h1,h2,h3,header p,.sub{text-wrap:balance}
/* 顶部横幅底边柔化：最后一段渐变融进页面底色，下面的卡片往上收一点压在淡出区上 */
header{position:relative}
header>*{position:relative;z-index:1}
header::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:98px;pointer-events:none;
  background:linear-gradient(to bottom,
    color-mix(in srgb,var(--bg) 0%,transparent) 0%,
    color-mix(in srgb,var(--bg) 14%,transparent) 22%,
    color-mix(in srgb,var(--bg) 40%,transparent) 45%,
    color-mix(in srgb,var(--bg) 70%,transparent) 66%,
    color-mix(in srgb,var(--bg) 90%,transparent) 84%,
    var(--bg) 100%)}
header+.wrap{position:relative;margin-top:-40px}
