/* =====================================================================
   AI² 外贸圈 v7.0 · 设计规范 ds.css（共用文件，页面组只读，不许改；v7.2 换苹果蓝配色，见规矩第 3 条）
   ---------------------------------------------------------------------
   规矩（Danny 10-17）：
   1. 默认白色。顶栏、首屏、页脚都是白或极浅灰，不许大块黑底。学 Apple / Tesla：
      白 #FFFFFF 与浅灰 #F5F5F7 全宽分段交替，超大清楚的标题，产品级大图当视觉重心。
   2. 白不等于平：画面感靠「老板用 AI 干活的界面」做成产品图（.stage + .device），
      大号前后数字（.delta），bento 格子（.bento），全宽分段节奏（.band / .band.alt）。
      不要满屏一样大的卡片，不要米色牛皮纸底，每屏都要有内容重心。
   3. 颜色（v7.2 苹果蓝，Danny 10-17 选的「丙」）：正文 #1D1D1F，次要 #6E6E73；装饰细线、卡片描边 #E0E0E0（--line），
      输入框边框要看得清，用 --line-firm #D2D2D7。
      蓝只给「动作」：主按钮 .btn 是苹果蓝胶囊（白天 #0066CC、黑夜 #0071E3，悬停 #0077ED，每屏最多一个）；
      文字链接 .lnk .lnk-a 和各页「点了去别处」的文字链接用 --accent（白天 #0066CC、黑夜 #2997FF），字重 400；
      键盘焦点圈是 2px 实线 --accent（白底 5.6:1，过 3:1 的焦点线）；输入框、搜索框聚焦时另加一圈 --focus 淡光（白天 rgba(0,113,227,.40)、黑夜 rgba(41,151,255,.45)）。
      语音条的播放键 .voice-play 也是动作，用主按钮蓝（产品图 .device 里面的照旧黑）。
      「状态」用黑 --ink，不用蓝：顶栏当前项下划线、选中的筛选胶囊、外观三档、开关、「我用了」四选一的选中、面包屑。
      顶栏导航、下拉菜单里的行、整张可点的卡片和列表行也不改蓝（那是导航和内容，不是文字链接）。
      深金 --brand-gold 只剩字标的「²」（.wm-sq），首屏正常只有 1 处；眉题 .eyebrow、已验证小对勾 .ok 改中性灰 --ink-2。
      --gold、--gold-soft 不再是金色（留着只为旧写法不出错，等于 --ink-2、--fill），新代码别用。
      正文不用红（红只给报错 .err-msg）；不用绿色状态字（灰字加灰色小对勾）。
   4. 黑夜只是可选项（html[data-theme=dark]），苹果式深灰，默认白天。
   5. 字体：阿里巴巴普惠体 300/400/500/700，禁止 800/900。数字开等宽。中文字距 0。
   6. 字号只用这 9 档：14 15 17 21 28 40 56 72 80。12–13px 只留在产品图（.device 模拟窗口、手机）里面。
      10-17 起 --t13 = 14px（变量名不改，免得页面里到处改）：老板晚上在 Windows 笔记本上看，13px 灰字发虚。
      有意义的小字（验证日期、署名、提醒）一律不小于 14px，颜色不浅于 --ink-2 #6E6E73。
   6b. 断行：标题 text-wrap: balance，段落和列表 text-wrap: pretty；数字和单位用不断行空格连住（APP.t 已自动做）。
   6c. 首屏别都用「左字右灰舞台」一个模子：首页、工具页、登录用左右舞台；问过的用居中大搜索（.hero-c + .search.xl），
       问题页用阅读版式（.read + .read-aside），问一句用居中大输入框（.col-880）。
   7. 间距用 8 的倍数（4 只给极小处）。圆角：大图 20、卡片 16、按钮胶囊。
   8. 阴影：只有产品图（.device）和浮层（弹层、下拉、吐司）有；界面卡片不用阴影，靠底色分。
   9. 页面私有样式一律写在 #pg-<页名> 下面，不改这里。
   ===================================================================== */

/* ---------- 颜色：白天（默认） ---------- */
:root, html[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;            /* 白段 */
  --bg-2: #F5F5F7;          /* 浅灰段 */
  --cell: #F5F5F7;          /* 白段里的格子 */
  --cell-alt: #FFFFFF;      /* 浅灰段里的格子 */
  --fill: rgba(0, 0, 0, .05);      /* 次按钮、筛选、输入的底 */
  --fill-2: rgba(0, 0, 0, .08);
  --ink: #1D1D1F;           /* 正文 */
  --ink-2: #6E6E73;         /* 次要（白底 5.1:1，浅灰底 4.7:1） */
  --ink-3: #86868B;         /* 只给占位字和停用，不给正文 */
  --line: #E0E0E0;          /* 装饰细线、卡片描边（v7.2 从 #D2D2D7 改淡，Apple 的 hairline） */
  --line-firm: #D2D2D7;     /* 要看得清的线：输入框边框、靠下划线认出来的灰字链接 */
  --line-2: #E8E8ED;        /* 更淡的分隔线 */
  --brand-gold: #8E621C;    /* 深金：只给字标的「²」 */
  --gold: var(--ink-2);     /* v7.2 起不是金色了，见规矩第 3 条 */
  --gold-soft: var(--fill);
  --accent: #0066CC;        /* 文字链接蓝：白底 5.6:1，浅灰底 5.1:1 */
  --btn-bg: #0066CC;        /* 主按钮苹果蓝，白字 5.6:1 */
  --btn-fg: #FFFFFF;
  --btn-hover: #0077ED;
  --btn2-bg: rgba(0, 0, 0, .05);     /* 次按钮 .btn-2 的灰底（= --fill）；黑夜单独提亮一档，见下 */
  --btn2-hover: rgba(0, 0, 0, .08);
  --err: #C4302B;
  --err-soft: rgba(196, 48, 43, .08);
  --nav-bg: rgba(255, 255, 255, .82);
  --stage: linear-gradient(180deg, #F5F5F7 0%, #EDEDF0 100%);
  --stage-alt: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  --device-bg: #FFFFFF;
  --device-bar: #F5F5F7;
  --device-line: #E8E8ED;
  --device-ink: #1D1D1F;
  --device-soft: #6E6E73;
  --mask: #D2D2D7;          /* 打码条 */
  --skel: #EDEDF0;          /* 骨架线 */
  --hl: rgba(0, 0, 0, .07);       /* 产品图里的高亮底（中性灰，不占金） */
  --shadow-product: 0 40px 80px -32px rgba(0, 0, 0, .22), 0 16px 32px -16px rgba(0, 0, 0, .10), 0 0 0 1px rgba(0, 0, 0, .04);
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .05);
  --shadow-thumb: 0 1px 3px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .06);
  --scrim: rgba(0, 0, 0, .28);
  --focus: 0 0 0 3px rgba(0, 113, 227, .40);
}

/* ---------- 尺寸（不分白天黑夜）----------
   v7.1 修：原来和白天颜色写在同一块 `:root, html[data-theme="light"]` 里，html[data-theme="light"] 的优先级比下面响应式里的
   `:root { --gutter }` 高，白天外观下 1024／390 宽的页边距一直是 40px（黑夜才是 32／16）。尺寸单独放一块 :root，窄屏那两处才盖得住。 */
:root {
  /* 字号 9 档 */
  --t13: 14px; --t14: 14px; --t15: 15px; --t17: 17px; --t21: 21px; --t28: 28px; --t40: 40px; --t56: 56px; --t72: 72px; --t80: 80px;
  /* 间距（8 的倍数） */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  /* 圆角 */
  --r-img: 20px; --r-card: 16px; --r-sm: 12px; --r-xs: 8px; --r-pill: 999px; --r-stage: 28px;
  /* 版心 */
  --wrap: 1200px; --gutter: 40px; --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1); --dur: .24s;
}

/* ---------- 颜色：黑夜（可选，苹果式深灰） ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #161617;
  --cell: #1C1C1E;
  --cell-alt: #232325;
  --fill: rgba(255, 255, 255, .08);
  --fill-2: rgba(255, 255, 255, .12);
  --ink: #F5F5F7;
  --ink-2: #A1A1A6;
  --ink-3: #6E6E73;
  --line: #3A3A3C;
  --line-firm: #3A3A3C;     /* 黑夜细线不改淡，输入框边框和细线同一档 */
  --line-2: #2C2C2E;
  --brand-gold: #D6AE62;
  --gold: var(--ink-2);
  --gold-soft: var(--fill);
  --accent: #2997FF;        /* 黑底上的链接蓝（Apple 的 Sky Link Blue）：纯黑底 7:1 */
  --btn-bg: #0071E3;        /* 白字 4.7:1 */
  --btn-fg: #FFFFFF;
  --btn-hover: #0077ED;
  --btn2-bg: rgba(255, 255, 255, .14);   /* 次按钮：--fill 的 8% 白压在纯黑底上只有 (20,20,20)，按钮外形看不见；提到 14%（苹果深色次按钮那一档），悬停 18%。筛选胶囊、输入框不跟着变 */
  --btn2-hover: rgba(255, 255, 255, .18);
  --err: #FF6961;
  --err-soft: rgba(255, 105, 97, .10);
  --nav-bg: rgba(22, 22, 23, .82);
  --stage: linear-gradient(180deg, #161617 0%, #0E0E0F 100%);
  --stage-alt: linear-gradient(180deg, #1C1C1E 0%, #161617 100%);
  --device-bg: #1C1C1E;
  --device-bar: #2C2C2E;
  --device-line: #38383A;
  --device-ink: #F5F5F7;
  --device-soft: #A1A1A6;
  --mask: #48484A;
  --skel: #2C2C2E;
  --hl: rgba(255, 255, 255, .12);
  --shadow-product: 0 40px 80px -32px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  --shadow-thumb: 0 1px 3px rgba(0, 0, 0, .5);
  --scrim: rgba(0, 0, 0, .56);
  --focus: 0 0 0 3px rgba(41, 151, 255, .45);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "PHT", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--t17); line-height: 1.6; font-weight: 400; letter-spacing: 0;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
/* v7.1 英文：普惠体的弯双引号 “ ” 是全角字形（约 1em 宽），英文里每个带引号的名字两边都空出一大块。
   只在英文页面把这四个字（U+201C–201F）换成系统西文字体（Mac 的 Helvetica Neue，Windows 的 Arial），别的字照旧是普惠体；
   中文页面不挂这个字体，中文里的 “” 照旧全角。单引号、破折号、省略号普惠体本来就是西文宽度，不换。 */
@font-face { font-family: "PHT-Q"; font-style: normal; font-weight: 100 500; unicode-range: U+201C-201F;
  src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("ArialMT"); }
@font-face { font-family: "PHT-Q"; font-style: normal; font-weight: 600 700; unicode-range: U+201C-201F;
  src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"); }
html[lang="en"] body { font-family: "PHT-Q", "PHT", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
main { flex: 1 0 auto; outline: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, .h-hero, .h1, .h2, .h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
svg { flex: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }   /* v7.2 键盘焦点圈苹果蓝 */
::selection { background: var(--fill-2); }   /* 原来是淡金；v7.2 改中性灰 */
.lat { font-family: inherit; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 12px; transform: translateY(-120px); opacity: 0; z-index: 300; background: var(--bg); color: var(--ink); padding: 8px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-pop); font-size: var(--t15); }
.skip:focus { transform: none; opacity: 1; }

/* ---------- 字号与字重 ---------- */
.t13 { font-size: var(--t13); line-height: 1.5; }
.t15 { font-size: var(--t15); line-height: 1.6; }
.t17 { font-size: var(--t17); line-height: 1.6; }
.t21 { font-size: var(--t21); line-height: 1.45; }
.t28 { font-size: var(--t28); line-height: 1.3; }
.t40 { font-size: var(--t40); line-height: 1.2; }
.t56 { font-size: var(--t56); line-height: 1.1; }
.t72 { font-size: var(--t72); line-height: 1.06; }
.t80 { font-size: var(--t80); line-height: 1.04; }
.w3 { font-weight: 300; } .w4 { font-weight: 400; } .w5 { font-weight: 500; } .w7 { font-weight: 700; }
.muted { color: var(--ink-2); }
.ink { color: var(--ink); }

/* 标题：超大、清楚。h-hero 只给首页和登录这种首屏
   v7.2：56–80 号的大标题用 500（更轻，更像苹果）；窄屏缩到 40／28 的同一个元素也是 500。
   v7.2 审查后（10-18，待 Danny 点头）：40 号的段标题 .h2 也改 500——原来 40 号 700 比 56 号 500 的大标题还黑，一滚下去段标题声音比首屏还大，层级倒了。
   现在是三层：大标题 500、段标题 500（只靠字号拉开）、28 号及以下的小标题和卡片标题 700。
   大号数字同理：40 号以上的结果数字（.delta .to 等）500，序号类大数字一律 300 细体。 */
.h-hero { font-size: var(--t80); line-height: 1.04; font-weight: 500; }
.h1 { font-size: var(--t56); line-height: 1.1; font-weight: 500; }
.h2 { font-size: var(--t40); line-height: 1.2; font-weight: 500; }
.h3 { font-size: var(--t28); line-height: 1.3; font-weight: 700; }
.h4 { font-size: var(--t21); line-height: 1.45; font-weight: 500; }
.lead { font-size: var(--t21); line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.body { font-size: var(--t17); line-height: 1.65; }
.small { font-size: var(--t15); line-height: 1.6; }
.cap { font-size: var(--t13); line-height: 1.5; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t15); line-height: 1.4; font-weight: 500; color: var(--ink-2); }   /* v7.2 眉题不再用深金 */
.eyebrow.plain { color: var(--ink-2); }
/* 首屏大标题正上方那一个眉题（紧挨着 h1）：黑字 17 号，像苹果在大标题上方写产品名；卡片里、段落里的小眉题照旧灰 15 号 */
.eyebrow:has(+ h1), .eyebrow.plain:has(+ h1) { font-size: var(--t17); color: var(--ink); }
.nowrap { white-space: nowrap; }   /* 英文页面上 core.js 也用它把「6–20」「上一个词 ·」包起来，免得在 – 后面断开、· 跑到行首 */
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* v7.2 英文排版（只管 html[lang="en"]；中文字距一律 0、行距照旧）
   28 号以上的标题收一点字距（Apple 的「紧凑标题」）：40／28 号 -0.015em，56–80 号的大标题 -0.02em（窄屏缩到 40／28 也还在 -0.01～-0.02 之间）；
   窄屏缩到 28 号以下的 .h3 回到 0（见响应式 759 那段）。各页自己写的大标题在页面 css 里照这两档加。
   英文正文行距从 1.6 收到 1.5（Apple 正文 1.47）。字标 .wm、数字、产品图里的字不动。 */
html[lang="en"] :is(.h2, .h3) { letter-spacing: -0.015em; }
html[lang="en"] :is(.h-hero, .h1) { letter-spacing: -0.02em; }
html[lang="en"] body { line-height: 1.5; }
html[lang="en"] :is(.t15, .t17, .body, .small, .lead, .textarea) { line-height: 1.5; }

/* ---------- 版心、分段、布局 ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(800px + var(--gutter) * 2); }
.wrap.wide { max-width: calc(1360px + var(--gutter) * 2); }
.band { background: var(--bg); padding: var(--s12) 0; --cell-bg: var(--cell); --stage-bg: var(--stage); }
.band.alt { background: var(--bg-2); --cell-bg: var(--cell-alt); --stage-bg: var(--stage-alt); }
.band.tight { padding: var(--s8) 0; }
.band.hero { padding: var(--s10) 0 var(--s12); }
.band.flush-top { padding-top: 0; }
.band + .band:not(.alt):not(.hero) { border-top: 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.sec-h .h2 + .lead, .sec-h .h3 + .lead { margin-top: var(--s2); }
.sec-h.center { flex-direction: column; align-items: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row-x { display: flex; align-items: center; gap: var(--gap, 16px); flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap, 24px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.center { text-align: center; }
.mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; } .mt4 { margin-top: 32px; } .mt6 { margin-top: 48px; } .mt8 { margin-top: 64px; }
.hr { height: 1px; background: var(--line-2); border: 0; margin: var(--s4) 0; }

/* ---------- 顶栏：白、毛玻璃、一排 ---------- */
.top { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-2); }
.top-in { height: 100%; display: flex; align-items: center; gap: var(--s3); }
.top .brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.top-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top-a { position: relative; display: inline-flex; align-items: center; height: var(--nav-h); padding: 0 12px; font-size: var(--t15); color: var(--ink-2); transition: color var(--dur) var(--ease); white-space: nowrap; }
.top-a:hover { color: var(--ink); }
.top-a.on { color: var(--ink); font-weight: 500; }
.top-a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
.top-tools { display: flex; align-items: center; gap: 8px; flex: none; }
/* 头像右边露「我的」（英文 Me）；768 宽以下只留头像 */
.top-me { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 4px; border-radius: var(--r-pill); white-space: nowrap; }
.top-me.on .av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.top-me-t { font-size: var(--t15); color: var(--ink-2); transition: color var(--dur) var(--ease); }
.top-me:hover .top-me-t { color: var(--ink); }
.top-me.on .top-me-t { color: var(--ink); font-weight: 500; }

/* 账户入口独立于导航下拉，小屏保留原生展开与退出操作。 */
.account-menu { position: relative; flex: none; }
.account-menu > .account-toggle { width: auto; min-width: 40px; padding: 0 4px; list-style: none; cursor: pointer; }
.account-toggle::-webkit-details-marker { display: none; }
.account-chevron { display: inline-flex; flex: none; transition: transform var(--dur) var(--ease); }
.account-menu[open] .account-chevron { transform: rotate(180deg); }
.account-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 120; width: 200px; max-width: calc(100vw - 32px); padding: 8px; background: var(--bg); border-radius: var(--r-card); box-shadow: var(--shadow-pop); }
.account-pop a, .account-pop button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-xs); font-size: var(--t15); color: var(--ink); text-align: left; }
.account-pop a:hover, .account-pop button:hover { background: var(--fill); }
.account-pop a[aria-current="page"] { font-weight: 500; }
.account-pop form { margin: 0; }

/* v7.1 顶栏下拉（现成工具、同学问答）：名字是链接，旁边小箭头开下拉。白底细边大圆角、一栏，每行名字 15px＋14px 灰字；不占深金、没有实心按钮 */
.top-dd { position: relative; display: inline-flex; align-items: center; flex: none; }
.top-dd .top-a { padding-right: 2px; }
.top-dd .top-a.on::after { right: 2px; }
.dd-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 28px; margin-right: 6px; border-radius: 6px; color: var(--ink-2); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.dd-btn:hover, .top-dd.open .dd-btn { color: var(--ink); background: var(--fill); }
.dd-btn svg { transition: transform var(--dur) var(--ease); }
.top-dd.open .dd-btn svg { transform: rotate(180deg); }
/* 跟搜索弹层、外观弹层一套：不画边，只用 --shadow-pop（白天一圈 5% 黑、黑夜一圈 8% 白，黑夜纯黑底上也分得开） */
.dd-menu { position: absolute; top: calc(100% - 4px); left: 0; z-index: 120; width: 340px; max-width: calc(100vw - 32px); padding: 8px;
  background: var(--bg); border-radius: var(--r-card); box-shadow: var(--shadow-pop); }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }   /* 名字到下拉之间那一道缝也算在里面，鼠标走过去不关 */
.dd-i { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-xs); color: var(--ink); }
a.dd-i:hover, a.dd-i:focus-visible { background: var(--fill); }
.dd-i b { font-size: var(--t15); font-weight: 500; line-height: 1.4; color: var(--ink); }
.dd-i span { font-size: var(--t14); line-height: 1.45; color: var(--ink-2); }
/* 环节名做成灰色小胶囊，跟现成工具页的筛选条一个长相（原来黑字加常驻下划线，像旧式网页）；下拉里的是导航，不改蓝 */
/* 六个环节排整齐，不让最后一个落单：中文三列两行，英文名字长，两列三行（列宽按最长那个，同一列胶囊一样宽） */
.dd-stages .dd-st { display: grid; grid-template-columns: repeat(3, max-content); gap: 6px; margin-top: 6px; }
html[lang="en"] .dd-stages .dd-st { grid-template-columns: repeat(2, max-content); }
.dd-stages .dd-st a { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--fill); font-size: var(--t14); line-height: 1; color: var(--ink); white-space: nowrap; transition: background var(--dur) var(--ease); }
.dd-stages .dd-st a:hover { background: var(--fill-2); }
html[data-theme="dark"] .dd-stages .dd-st a { background: var(--fill-2); }   /* 黑夜 8% 白压在纯黑底上几乎看不见，提一档 */
html[data-theme="dark"] .dd-stages .dd-st a:hover { background: rgba(255, 255, 255, .18); }

/* 语言按钮：纯文字、14px、次要灰、无边框、不占金。写的是「点了会变成的那种语言」 */
.lang-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 8px; border-radius: var(--r-pill); background: transparent; border: 0; font-size: var(--t14); color: var(--ink-2); white-space: nowrap; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.lang-btn:hover { color: var(--ink); background: var(--fill); }
.lang-btn .lang-s { display: none; }

/* 字标：两种排法。① 导航 .wm（18px 一排，旁边一竖线接一行副标「外贸人的 AI 实践社区」）② 登录 .wm-lg（竖排大字）
   「定向邀请 · 研习社及以上学员」只放登录页和页脚，顶栏不挂（登录过的人不用每页再看一遍） */
.wm { display: inline-flex; align-items: flex-start; font-weight: 700; color: var(--ink); line-height: 1; white-space: nowrap; font-size: var(--t21); }
.wm-ai { font-weight: 700; }
.wm-sq { color: var(--brand-gold); font-weight: 700; font-size: .56em; line-height: 1; margin: -.1em .22em 0 .04em; }
.wm-cn { font-weight: 700; }
.top .wm { font-size: 18px; }
html[lang="en"] .wm-cn { margin-left: .2em; }   /* 英文站名 AI² Trade Circle：² 和 Trade 之间留一点空，不连成一个词 */
.wm-side { display: inline-flex; align-items: center; height: 16px; padding-left: 12px; border-left: 1px solid var(--line); font-size: var(--t14); line-height: 1; color: var(--ink-2); white-space: nowrap; }
.wm-lg { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.wm-lg .wm { font-size: var(--t72); }
.wm-lg .wm-sq { font-size: .4em; margin: .04em .18em 0 .04em; }
.wm-lg .wm-sub { font-size: var(--t21); line-height: 1.4; color: var(--ink); font-weight: 400; }
.wm-lg .wm-inv { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t13); color: var(--ink-2); }
.wm-lg .wm-inv::before, .wm-lg .wm-inv::after { content: ""; width: 24px; height: 1px; background: var(--line); }

/* 搜索框（导航里的那个；页面里也能用 .search） */
.search { position: relative; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--fill); color: var(--ink-2); width: 260px; flex: 0 1 260px; min-width: 0; transition: background var(--dur) var(--ease); }
.search:focus-within { background: var(--bg); box-shadow: inset 0 0 0 1px var(--accent), var(--focus); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: var(--t15); color: var(--ink); text-overflow: ellipsis; }   /* 放不下的占位字收成「…」，不硬切半个字 */
.search input::placeholder { color: var(--ink-3); }
/* Chrome 自带的蓝色「×」不要（蓝只给动作，清空是小工具）；换成 core.js 加的 .search-x（灰色线条 ×，有字才露出来）。
   输入框自己的焦点框也不要，焦点只留 .search 外面那一圈 */
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search input:focus-visible { outline: none; }
.search-x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; margin-right: -6px; border-radius: 50%; color: var(--ink-2); }
.search-x:hover { color: var(--ink); background: var(--fill); }
.search.lg { height: 56px; padding: 0 24px; width: 100%; flex: 1 1 auto; font-size: var(--t17); }
.search.lg input { font-size: var(--t17); }
.search-pop { position: absolute; top: calc(100% + 8px); left: 0; width: 420px; max-width: calc(100vw - 32px); background: var(--bg); border-radius: var(--r-card); box-shadow: var(--shadow-pop); padding: 8px; z-index: 120; }
.search-pop h6 { margin: 8px 12px 4px; font-size: var(--t13); font-weight: 500; color: var(--ink-2); }
.search-pop a { display: flex; flex-direction: column; gap: 0; padding: 8px 12px; border-radius: var(--r-xs); }
.search-pop a:hover, .search-pop a.on { background: var(--fill); }
.search-pop a b { font-size: var(--t15); font-weight: 500; color: var(--ink); }
.search-pop a span { font-size: var(--t13); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-pop .none { padding: 12px; font-size: var(--t15); color: var(--ink-2); }

/* 外观三档：顶栏是一个小圆按钮 + 下拉；「我的」里用 .seg */
.theme-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.theme-btn:hover { background: var(--fill); color: var(--ink); }
.theme-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 168px; background: var(--bg); border-radius: var(--r-sm); box-shadow: var(--shadow-pop); padding: 6px; z-index: 120; }
.theme-pop button { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border-radius: var(--r-xs); font-size: var(--t15); color: var(--ink); }
.theme-pop button:hover { background: var(--fill); }
.theme-pop button .ck { margin-left: auto; opacity: 0; }
.theme-pop button[aria-checked="true"] .ck { opacity: 1; }
.theme-wrap { position: relative; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); font-size: var(--t15); font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.95); }   /* v7.2 学 Apple：按下缩一点 */
.btn.lg { height: 52px; padding: 0 32px; font-size: var(--t17); }
.btn.sm { height: 36px; padding: 0 16px; font-size: var(--t13); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .32; pointer-events: none; }
.btn-2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--btn2-bg); color: var(--ink); font-size: var(--t15); font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn-2:hover { background: var(--btn2-hover); }
.btn-2:active { transform: scale(.95); }
.btn-2.lg { height: 52px; padding: 0 30px; font-size: var(--t17); }
.btn-2.sm { height: 36px; padding: 0 16px; font-size: var(--t13); }
.btn-2.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-firm); }   /* 按钮的边要看得清，不跟装饰细线变淡 */
.btn-2.line:hover { box-shadow: inset 0 0 0 1px var(--ink); background: transparent; }
.btn-2.done { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; }
.btn-2[disabled] { opacity: .4; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.icon-btn:hover { background: var(--fill); color: var(--ink); }
/* 文字链（v7.2）：苹果蓝、字重 400、平时不画下划线，鼠标放上去才出下划线（Apple 官网的链接就是这样）。
   .lnk 是纯文字；.lnk-a 后面跟一个细箭头，悬停时箭头往右挪一点。
   原来的 .dim（故意灰的）挂的全是真链接（我问过的、回到同学问答、清空筛选、再选一次…），v7.2 一律蓝，.dim 不再单独上色；
   只是说明文字的，别挂 .lnk／.lnk-a。 */
.lnk { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: inherit; font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color var(--dur) var(--ease); }
.lnk:hover { text-decoration-color: currentColor; }
.lnk-a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color var(--dur) var(--ease); }
.lnk-a:hover { text-decoration-color: currentColor; }
.lnk-a svg { transition: transform var(--dur) var(--ease); }
.lnk-a:hover svg { transform: translateX(3px); }

/* ---------- bento 格子：12 栏，格子用底色分，不加阴影 ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.cell { position: relative; background: var(--cell-bg, var(--cell)); border-radius: var(--r-img); padding: var(--s5); overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
a.cell, button.cell { transition: transform var(--dur) var(--ease); }
a.cell:hover, button.cell:hover { transform: translateY(-2px); }
.c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; }
.c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.r-2 { grid-row: span 2; }
.cell .cell-k { font-size: var(--t13); color: var(--ink-2); }
.cell .cell-t { font-size: var(--t21); font-weight: 500; line-height: 1.4; margin-top: 8px; }
.cell .cell-p { font-size: var(--t15); color: var(--ink-2); margin-top: 8px; }
.cell .cell-foot { margin-top: auto; padding-top: var(--s3); }
.cell .cell-img { margin: var(--s4) calc(var(--s5) * -1) calc(var(--s5) * -1); padding: 0 var(--s5); }

/* 普通卡片（少用；同大小卡片铺满屏是被骂过的） */
.card { background: var(--cell-bg, var(--cell)); border-radius: var(--r-card); padding: var(--s4); min-width: 0; }
.card.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- 产品图：舞台 .stage + 窗口 .device ---------- */
.stage { position: relative; background: var(--stage-bg, var(--stage)); border-radius: var(--r-stage); padding: var(--s6); overflow: hidden; perspective: 1800px; display: flex; align-items: center; justify-content: center; }
.stage.flat { perspective: none; }
.stage.bare { background: transparent; padding: 0; overflow: visible; }
.device { position: relative; width: 100%; background: var(--device-bg); color: var(--device-ink); border-radius: var(--r-img); box-shadow: var(--shadow-product); overflow: hidden; text-align: left; font-size: 13px; line-height: 1.6; }
.device.tilt { transform: rotateX(6deg) rotateY(-9deg) rotateZ(.4deg); transform-origin: 60% 50%; }
.device.tilt-r { transform: rotateX(6deg) rotateY(9deg) rotateZ(-.4deg); transform-origin: 40% 50%; }
.device.back { position: absolute; width: 72%; right: -6%; top: 10%; opacity: .9; transform: rotateX(6deg) rotateY(-9deg) translateZ(-120px); }
.device-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; background: var(--device-bar); border-bottom: 1px solid var(--device-line); }
.device-dots { display: inline-flex; gap: 6px; flex: none; }
.device-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--mask); }
.device-title { font-size: 13px; color: var(--device-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.device-tabs { display: inline-flex; gap: 2px; margin-left: auto; padding: 2px; background: var(--fill); border-radius: 9px; flex: none; }
.device-tabs b, .device-tabs button { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 7px; font-size: 12px; font-weight: 400; color: var(--device-ink); }
.device-tabs .on { font-weight: 500; background: var(--device-bg); color: var(--device-ink); box-shadow: var(--shadow-thumb); }
.device-body { padding: 20px; }
.device-body.lg { padding: 28px; font-size: var(--t15); }
.device-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--device-line); font-size: 12px; color: var(--device-soft); }
/* 产品图里的零件 */
.d-row { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 6px 0; border-bottom: 1px solid var(--device-line); white-space: nowrap; overflow: hidden; }
.d-row:last-child { border-bottom: 0; }
.d-k { width: 56px; flex: none; color: var(--device-soft); }
.d-soft { color: var(--device-soft); }
.d-hl { background: var(--hl); border-radius: 4px; padding: 1px 4px; margin: 0 -2px; font-weight: 500; }
.d-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--fill-2); color: var(--device-ink); flex: none; }
.d-chip.a { background: var(--device-ink); color: var(--device-bg); }
.d-chip.b { background: var(--fill-2); }
.d-chip.c { background: transparent; box-shadow: inset 0 0 0 1px var(--device-line); color: var(--device-soft); }
.d-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--skel); overflow: hidden; min-width: 40px; }
.d-bar i { display: block; height: 100%; border-radius: 3px; background: var(--device-ink); opacity: .78; }
.d-table { width: 100%; border-collapse: collapse; }
.d-table th { text-align: left; font-weight: 400; color: var(--device-soft); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--device-line); white-space: nowrap; }
.d-table td { padding: 8px; border-bottom: 1px solid var(--device-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.d-table tr:last-child td { border-bottom: 0; }
.d-chat { display: flex; flex-direction: column; gap: 12px; }
.d-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; background: var(--fill); white-space: normal; }
.d-msg.me { align-self: flex-end; background: var(--device-ink); color: var(--device-bg); }
.mask { display: inline-block; height: .9em; width: 48px; border-radius: 3px; background: var(--mask); vertical-align: -.08em; }
.skel { display: block; height: 8px; border-radius: 4px; background: var(--skel); margin-top: 10px; }
.device-cap { margin-top: var(--s3); font-size: var(--t13); color: var(--ink-2); text-align: center; }
/* v7.1 英文窄屏（≤759）产品图：窗口标题、邮件的「收件人／主题」行放不下就折行，不出省略号；标签页放不下就挪到第二行。
   字号不变；只管英文，中文照旧。列表行、表格不折（折了更难看，窄屏右边被窗口裁掉是原设计，中文也一样）。 */
@media (max-width: 759px) {
  html[lang="en"] .device-bar { height: auto; min-height: 44px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; row-gap: 8px; }
  html[lang="en"] .device-title { white-space: normal; line-height: 1.4; }
  html[lang="en"] .d-row:has(> .d-k) { white-space: normal; }
}

/* ---------- 大号前后数字 ---------- */
.delta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; line-height: 1; }
.delta .from { font-size: var(--t40); font-weight: 300; color: var(--ink-2); }
.delta .from s { text-decoration-thickness: 1px; }
.delta .arr { display: inline-flex; color: var(--ink-2); align-self: center; }
.delta .to { font-size: var(--t80); font-weight: 500; color: var(--ink); }   /* v7.2 审查后：结果数字跟大标题一样 500，不比标题还粗 */
.delta .u { font-size: var(--t21); font-weight: 400; color: var(--ink-2); margin-left: -8px; }
.delta.m .from { font-size: var(--t28); } .delta.m .to { font-size: var(--t56); } .delta.m .u { font-size: var(--t17); margin-left: -10px; }
.delta.s .from { font-size: var(--t21); } .delta.s .to { font-size: var(--t40); } .delta.s .u { font-size: var(--t15); margin-left: -10px; }
.delta-cap { margin-top: 12px; font-size: var(--t15); color: var(--ink-2); }
.delta-note { margin-top: 4px; font-size: var(--t13); color: var(--ink-2); }

/* ---------- 筛选条 ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.fgroup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fgroup > .lab { font-size: var(--t13); color: var(--ink-2); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--fill); color: var(--ink-2); font-size: var(--t15); white-space: nowrap; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { color: var(--ink); background: var(--fill-2); }
.chip[aria-pressed="true"] { background: var(--bg); color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--ink); }
.band.alt .chip[aria-pressed="true"] { background: var(--cell-alt); }

/* 分段选择（外观三档、小开关组） */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--fill); }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: var(--r-pill); font-size: var(--t15); color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--bg); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-thumb); }

/* ---------- 列表行 ---------- */
.list { border-top: 1px solid var(--line-2); }
.list.no-top { border-top: 0; }
.li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
a.li, button.li { width: 100%; transition: background var(--dur) var(--ease); }
a.li:hover .li-t, button.li:hover .li-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.li-k { font-size: var(--t13); color: var(--ink-2); }
.li-t { font-size: var(--t17); font-weight: 500; line-height: 1.5; color: var(--ink); }
.li-p { font-size: var(--t15); color: var(--ink-2); margin-top: 4px; }
.li-r { display: flex; align-items: center; gap: 16px; color: var(--ink-2); font-size: var(--t13); white-space: nowrap; }
.li.lg { padding: 32px 0; }
.li.lg .li-t { font-size: var(--t21); }

/* 纯文字标签：用 · 隔开 */
.tags { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: var(--t13); color: var(--ink-2); line-height: 1.5; }
/* 点挂在前一项的尾巴上（::after），折行时点留在行尾，不跑到下一行开头（英文长，常折行）；一行排得下时和原来一模一样 */
.tags > span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--ink-3); }
.tag { font-size: var(--t13); color: var(--ink-2); }
.tag.strong { color: var(--ink); font-weight: 500; }
/* 已验证小标记：灰字＋灰色小对勾（v7.2 对勾不再用深金） */
.ok { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t13); color: var(--ink-2); }
.ok svg { color: var(--ink-2); }
.ok.plain svg { color: var(--ink-2); }

/* 字标头像 */
.av { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fill-2); color: var(--ink); font-size: var(--t13); font-weight: 500; flex: none; line-height: 1; }
.av.s { width: 24px; height: 24px; font-size: var(--t13); }
.av.l { width: 48px; height: 48px; font-size: var(--t17); }
.av.xl { width: 72px; height: 72px; font-size: var(--t28); }
.av.host { background: var(--ink); color: var(--bg); }
.who { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.who-n { font-size: var(--t15); font-weight: 500; color: var(--ink); line-height: 1.4; }
.who-t { font-size: var(--t13); color: var(--ink-2); line-height: 1.4; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > .lab { font-size: var(--t15); font-weight: 500; color: var(--ink); }
.field > .hint { font-size: var(--t13); color: var(--ink-2); }
/* 输入框边框用 --line-firm（#D2D2D7），不跟着装饰细线变淡；聚焦时蓝边加蓝色焦点圈 */
.input { width: 100%; height: 52px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line-firm); background: var(--bg); color: var(--ink); font-size: var(--t17); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input:hover { border-color: var(--ink-3); }
.input:focus { border-color: var(--accent); box-shadow: var(--focus); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input.xl { height: 72px; padding: 0 24px; font-size: var(--t21); border-radius: var(--r-card); }
.input.code { letter-spacing: 0; font-size: var(--t28); height: 64px; text-align: center; font-weight: 500; }
.input.err, .textarea.err { border-color: var(--err); }
.textarea { width: 100%; min-height: 120px; max-height: 320px; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line-firm); background: var(--bg); color: var(--ink); font-size: var(--t17); line-height: 1.6; resize: vertical; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.textarea:focus { border-color: var(--accent); box-shadow: var(--focus); }
.err-msg { display: flex; align-items: center; gap: 6px; font-size: var(--t13); color: var(--err); }
.form-note { font-size: var(--t13); color: var(--ink-2); }
.fixed-line { display: flex; align-items: center; gap: 8px; font-size: var(--t15); color: var(--ink-2); }   /* 固定的一句话，如「只有研习社同学看得到」 */

/* 开关 */
.switch { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t15); color: var(--ink); cursor: pointer; text-align: left; }
.switch i { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--fill-2); flex: none; transition: background var(--dur) var(--ease); }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: var(--shadow-thumb); transition: transform var(--dur) var(--ease); }
.switch[aria-checked="true"] i { background: var(--ink); }
.switch[aria-checked="true"] i::after { transform: translateX(18px); background: var(--bg); }
.switch[disabled] { opacity: .4; cursor: default; }

/* 单选四格（我用了：能用／改了才能用／没跑通／还没用） */
.seg4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seg4-o { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 88px; padding: 16px 18px; border-radius: var(--r-card); background: var(--cell-bg, var(--cell)); text-align: left; transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.seg4-o:hover { box-shadow: inset 0 0 0 1px var(--line); }
.seg4-o b { font-size: var(--t17); font-weight: 500; color: var(--ink); }
.seg4-o span { font-size: var(--t13); color: var(--ink-2); }
.seg4-o .ck { position: absolute; right: 14px; top: 14px; opacity: 0; color: var(--ink); }
.seg4-o[aria-checked="true"] { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
.seg4-o[aria-checked="true"] .ck { opacity: 1; }

/* ---------- 时间线（问题页：从收到到答好） ---------- */
.tl { position: relative; display: flex; flex-direction: column; }
.tl-i { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
.tl-i:last-child { padding-bottom: 0; }
.tl-i::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--line-2); }
.tl-i:last-child::before { display: none; }
.tl-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); color: var(--bg); }
.tl-i.done .tl-dot { background: var(--ink); box-shadow: none; }
.tl-i.done::before { background: var(--ink); opacity: .24; }
.tl-i.now .tl-dot { box-shadow: inset 0 0 0 2px var(--ink); }
.tl-i.now .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tl-t { font-size: var(--t17); font-weight: 500; color: var(--ink); line-height: 1.45; }
.tl-i.todo .tl-t { color: var(--ink-2); font-weight: 400; }
.tl-d { font-size: var(--t13); color: var(--ink-2); margin-top: 2px; }
.tl-p { font-size: var(--t15); color: var(--ink-2); margin-top: 4px; }

/* 语音条（答案是文字加一段语音） */
.voice { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 20px 0 8px; border-radius: var(--r-pill); background: var(--fill); max-width: 100%; }
.voice-play { width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: flex; align-items: center; justify-content: center; flex: none; transition: background var(--dur) var(--ease); }   /* v7.2 播放是动作：主按钮蓝（原来黑色实心圆，成了问题页首屏最重的东西） */
.voice-play:hover { background: var(--btn-hover); }
.device .voice-play, .device .voice-play:hover { background: var(--device-ink); color: var(--device-bg); }   /* 产品图里的「示例」播放键配色不动 */
.voice-wave { display: flex; align-items: center; gap: 3px; height: 28px; min-width: 0; overflow: hidden; }
.voice-wave i { width: 3px; border-radius: 2px; background: var(--ink-2); opacity: .55; flex: none; }
.voice-wave i.on { background: var(--ink); opacity: 1; }
.voice-t { font-size: var(--t13); color: var(--ink-2); white-space: nowrap; }

/* 提示词正文块 */
.prompt { position: relative; background: var(--cell-bg, var(--cell)); border-radius: var(--r-card); padding: var(--s4); font-size: var(--t15); line-height: 1.75; white-space: pre-wrap; word-break: break-word; color: var(--ink); max-height: 420px; overflow: auto; }

/* 来源标记（「陈总在微信里问的」这一类） */
.source { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--fill); font-size: var(--t13); color: var(--ink); }

/* ---------- 弹层、吐司、空状态 ---------- */
.layer { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.layer-bg { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow: auto; background: var(--bg); border-radius: 24px; box-shadow: var(--shadow-pop); padding: var(--s5); }
.sheet.wide { max-width: 760px; }
.sheet-x { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--fill); color: var(--ink); }
.sheet-x:hover { background: var(--fill-2); }
body.modal-open { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 260; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px);
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow-pop); border-radius: var(--r-pill); padding: 12px 24px; font-size: var(--t15); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: var(--s8) var(--s3); }
.empty-i { width: 56px; height: 56px; border-radius: 50%; background: var(--fill); color: var(--ink-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.empty-t { font-size: var(--t21); font-weight: 500; color: var(--ink); }
.empty-p { font-size: var(--t15); color: var(--ink-2); max-width: 420px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line-2); padding: var(--s5) 0 var(--s6); font-size: var(--t13); color: var(--ink-2); }
.foot-in { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.foot .wm { font-size: var(--t17); }
.foot-rules { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-rules a { color: var(--accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }   /* 「三条规矩」是文字链接，v7.2 蓝 */
.foot-rules a:hover { text-decoration-color: currentColor; }
.foot-fake { font-size: var(--t13); color: var(--ink-2); }
.foot-inv { color: var(--ink-2); }
/* 页脚语言一行：语言：简体中文 · English（当前那个加粗、不可点） */
.foot-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.foot-lang-k::after { content: "："; }
html:not([lang="en"]) .foot-lang-k { margin-right: -6px; }   /* 全角冒号自带半格空白，再加 8px 间距就比「简体中文 · English」之间宽出一倍；抵掉一点 */
html[lang="en"] .foot-lang-k::after { content: ":"; }
.foot-lang button { font-size: var(--t14); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }   /* 换语言是设置，不改蓝；不画常驻下划线，鼠标停上去才出（苹果页脚的做法） */
.foot-lang button:hover { text-decoration-color: currentColor; }
.foot-lang button.on { font-weight: 700; text-decoration: none; cursor: default; }
.foot.min { background: transparent; border-top: 0; padding: var(--s3) 0; text-align: center; }

/* ---------- 三种首屏构图（10-17：别每页都是「左字右灰舞台」） ----------
   ① 居中大搜索（学 Apple 支持页，给「问过的」）：<div class="hero-c"><h1 class="h1">…</h1><div class="search xl">…</div><div class="filters">…</div></div>
   ② 阅读版式（给问题页）：<div class="read"><article>正文一栏 ≤760px</article><aside class="read-aside">时间线 280px，吸顶</aside></div>
   ③ 居中大输入框（给问一句）：<div class="col-880">…</div>；示意图放下面一段当全宽插图 */
.hero-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); }
.hero-c .h1, .hero-c h1 { font-size: var(--t56); max-width: 16em; }
.hero-c .filters { justify-content: center; }
.search.xl { width: 720px; max-width: 100%; flex: none; height: 64px; padding: 0 28px; gap: 12px; font-size: var(--t21); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-firm); }
.band.alt .search.xl { background: var(--cell-alt); }
.search.xl input { font-size: var(--t21); }
.search.xl:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), var(--focus); }
.read { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: var(--s8); justify-content: center; align-items: start; }
.read > article, .read-main { min-width: 0; }
.read-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.col-760 { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
.col-880 { width: 100%; max-width: 880px; margin-left: auto; margin-right: auto; }

/* ---------- 页面容器 ---------- */
.pg { display: block; }
body[data-chrome="bare"] #top, body[data-chrome="bare"] #foot,
body[data-chrome="login"] #top { display: none; }
body[data-chrome="login"] #foot { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 32px; }
  .search { width: 200px; flex-basis: 200px; }
  .wm-side { display: none; }
  .h-hero { font-size: var(--t72); }
}
@media (max-width: 1099px) {
  .top-in { gap: 16px; }
  .top-a { padding: 0 8px; }
  .search { width: 160px; flex-basis: 160px; }
  .band { padding: var(--s10) 0; }
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .read { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .read-aside { position: static; }
  .c-3, .c-4, .c-5 { grid-column: span 6; }
  .c-7, .c-8 { grid-column: span 12; }
  .h-hero { font-size: var(--t56); }
  .h1 { font-size: var(--t40); }
}
/* 768–819 宽（iPad 竖屏）：v7.1 顶栏多了 English、两个下拉箭头、「我的」，搜索框被挤到 82px，占位字「搜工具和问答」切掉半个字。
   这一档把顶栏几块之间的空隙从 16px 收到 10px，搜索框让回 18px（不缩字号、不改占位字） */
@media (min-width: 768px) and (max-width: 819px) {
  .top-in { column-gap: 10px; }
}
/* 768 宽以下：不做下拉（箭头不显示，名字照样能点）；语言按钮写 EN／中；头像旁的「我的」藏起来 */
@media (max-width: 767px) {
  .dd-btn, .dd-menu { display: none !important; }
  .top-dd .top-a { padding-right: 8px; }
  .top-dd .top-a.on::after { right: 8px; }
  .lang-btn .lang-l { display: none; }
  .lang-btn .lang-s { display: inline; }
  .top-me-t { display: none; }
  .top-me { width: 40px; min-width: 40px; padding: 0; border-radius: 50%; }
}
@media (max-width: 759px) {
  :root { --gutter: 16px; --nav-h: 52px; }
  body { font-size: var(--t15); }
  .top { height: auto; }
  .top-in { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 0; gap: 8px 12px; }
  .top .brand { height: 36px; }
  .search { order: 3; width: 100%; flex: 1 1 100%; }
  .top-links { order: 4; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .top-links::-webkit-scrollbar { display: none; }
  .top-a { height: 44px; padding: 0 12px; }
  .top-dd .top-a { padding-right: 12px; }
  .top-dd .top-a.on::after { right: 12px; }
  .top-tools { margin-left: auto; }
  .search-pop { width: 100%; }
  .band, .band.hero { padding: var(--s8) 0; }
  .band.tight { padding: var(--s6) 0; }
  .sec-h { flex-direction: column; align-items: flex-start; margin-bottom: var(--s4); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .cell { padding: var(--s3); }
  .cell .cell-img { margin: var(--s3) calc(var(--s3) * -1) calc(var(--s3) * -1); padding: 0 var(--s3); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .seg4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { padding: var(--s3); border-radius: var(--r-img); }
  .device.tilt, .device.tilt-r { transform: none; }
  .device.back { display: none; }
  .h-hero { font-size: var(--t40); line-height: 1.15; }
  .h1 { font-size: var(--t28); }
  .h2 { font-size: var(--t28); }
  .h3 { font-size: var(--t21); }
  html[lang="en"] .h3 { letter-spacing: 0; }   /* 缩到 21 号了，不算「28 号以上的标题」 */
  .lead { font-size: var(--t17); }
  .delta .to { font-size: var(--t56); } .delta .from { font-size: var(--t28); }
  .wm-lg .wm { font-size: var(--t56); }
  .hero-c .h1, .hero-c h1 { font-size: var(--t28); }
  .search.xl { height: 52px; padding: 0 18px; font-size: var(--t17); }
  .search.xl input { font-size: var(--t17); }
  .li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sheet { padding: var(--s3); border-radius: 20px; }
  .layer { padding: 12px; align-items: flex-end; }
  .demo-panel { width: calc(100vw - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
