/* 权益比价 v3 定稿 · tokens（亮色 :root ／ 深色 .dark 作用域） */
@font-face{font-family:"QY Urbanist";src:url(/assets/urbanist-latin.e30f7f70b3.woff2) format("woff2");font-weight:400 900;font-display:swap}
@font-face{font-family:"QY Serif";src:url(/assets/instrument-serif-latin.1a329b4d71.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"QY Display";src:url(/assets/noto-sans-sc-black-display.128afdb455.woff2) format("woff2");font-weight:800 900;font-display:swap;unicode-range:U+4E00-9FFF,U+3000-303F,U+FF00-FFEF}
:root{
  --font-sans:"QY Urbanist",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --font-display:"QY Urbanist","QY Display",-apple-system,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --font-num:"QY Urbanist",-apple-system,"SF Pro Display",sans-serif;
  --font-serif:"QY Serif","Noto Serif CJK SC","Songti SC",serif;
  /* 中性 */
  --bg:#FFFFFF; --bg-soft:#FBF8F5; --surface:#FFFFFF; --surface-2:#F6F3EF;
  --line:#ECE6DF; --line-strong:#DDD5CC; --hair:1px; --ring:0 0 0 1px var(--line);
  --text:#17110E; --text-2:#4F453F; --text-3:#6B6058;
  /* 品牌：活力红（只做点缀） */
  --red:#E0300A; --red-deep:#C42D07; --red-grad:linear-gradient(135deg,#E0300A 0%,#D3243A 55%,#C8155A 100%);
  --yellow:#FFD23F; --on-yellow:#17110E;
  --btn:var(--red); --btn-text:#fff; --btn-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 18px -12px rgba(224,48,10,.75);
  --price:#17110E; --strike:#6B6058;
  --save-bg:var(--red-deep); --save-text:#fff;
  --chip-on:#17110E; --chip-on-text:#fff;
  --r-card:22px; --r-art:16px; --r-btn:14px; --r-pill:999px;
  --shadow-1:0 1px 2px rgba(40,20,10,.04),0 16px 28px -22px rgba(80,40,20,.30);
  --shadow-2:0 2px 4px rgba(40,20,10,.05),0 24px 40px -22px rgba(80,40,20,.40);
  --shadow-float:inset 0 0 0 1px rgba(255,255,255,.85),0 28px 40px -24px rgba(80,0,0,.6);
  --art-food:linear-gradient(140deg,#FFF1DF,#FFDDBA); --art-coffee:linear-gradient(140deg,#F8EEE4,#EDD8C4); --art-ice:linear-gradient(140deg,#FFF4DE,#FFE2A8); --art-card:linear-gradient(140deg,#FFEBE4,#FFD2C2);
  --orbit:rgba(224,48,10,.10); --perf:rgba(23,17,14,.22);
  --bb-bg:#FFF2E8; --bb-text:#A8360E; --bb-line:#F5D5BE;
  /* 风险 L1–L4 */
  --l1:#067647;--l1-bg:#ECF8F1; --l2:#1D4ED8;--l2-bg:#EEF3FE; --l3:#8A330B;--l3-bg:#FFF2E2; --l4:#475467;--l4-bg:#F0F1F4;
  --promo:#6B4E16;--promo-bg:#FFF6DC;--promo-line:#E6C56A;
  --sample:#5B21B6;--sample-bg:#F4F0FD;
  --risk:#B42318;--risk-bg:#FEF1F0;
  --notice-bg:#FFF6EA;--notice-text:#5C2E0B;--notice-line:#F3D2AA;
  --ok:#22C36F;--ok-soft:rgba(34,195,111,.22);
  --glass:rgba(255,255,255,.72); --glass-solid:#FFFFFF;
  --hd-bg:rgba(255,255,255,.86); --hd-solid:#FFFFFF;
  --nav-bg:#FFFFFF; --nav-on:#17110E; --nav-on-text:#FFFFFF; --surface-glass:rgba(255,255,255,.72);
  --x-bg:#0A0B0D; --x-shadow:0 24px 40px -26px rgba(0,0,0,.7); --hot-bg:#F4F3EF; --hot-text:#0A0B0D; --save-shadow:none; --bg-stage:#fff;
}
/* 深色作用域：AI / X 首屏、首页 X 条 */
.dark{
  --bg:#0A0B0D; --bg-soft:#0F1013; --surface:rgba(255,255,255,.04); --surface-2:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.10); --line-strong:rgba(255,255,255,.18); --ring:0 0 0 1px var(--line);
  --text:#F4F3EF; --text-2:#C3C6CD; --text-3:#9A9EA7;
  --btn:#F4F3EF; --btn-text:#0A0B0D; --btn-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 10px 24px -12px rgba(255,255,255,.25);
  --chip-on:#F4F3EF; --chip-on-text:#0A0B0D;
  --glass:rgba(255,255,255,.06); --glass-solid:#17181C;
  --hd-bg:rgba(10,11,13,.72); --hd-solid:#0A0B0D;
  --ok:#3DDC84;
  color:var(--text);background-color:var(--bg);
}
