/* ============================================================
   css/panels/panels-ec-ui.css — 「外文」公共组件库（第 1 窗口这一轮的成果）
   ------------------------------------------------------------
   手册《外文模块优化执行手册》第 1 窗口要求：先出三套可截图方案，再按默认 A 方案
   落地「公共设计系统 + 交互基础」。这一份就是那套公共组件的样式：
     · 页眉与页结构（返回头之外的排版骨架）
     · 目录行 / 细线数值行 / 区块标题 / 「？」帮助入口
     · 自己画的选择器（下拉 / 底部抽屉 / 居中确认窗）——原生 select 一律不用
     · 自己画的开关（结构照抄标准写法，缺圆球就是 bug）
     · 小测选项 / 单词卡 / 原文块 / 语音录制条 / 数值滚动 / 小提示
     · 动效：可点按钮 0.16s、页面进入 0.22~0.26s、入场两拍、退场走统一出口

   规矩（别在这儿破）：
     · 令牌（--ec-*）只在 panels-learning.css 定义；这一份只消费，不定义。
     · 前缀 ec- 独占；零 emoji；线条图标；禁系统默认控件。
     · 全屏层/浮层一律挂 #app 或本面板内，禁挂 body（挂 body 桌面端会撑满）。
     · 触摸目标一律显式给下限 --ec-touch（44），窄屏也不许缩。
   ============================================================ */

/* ===== 左右留白：全外文模块唯一一处（2028w12learn1 统一）=====
   为什么要收成一条：横向留白从前是「每个块自己写一遍」（.ec-page-head / .ec-sec /
   .ec-block / .ec-help / .ec-crumb / .ec-lead…各写 24，窄屏再各写一遍 14，宽屏有的
   写了 26 有的没写）—— 于是「存了什么」这种块直接挂在面板上的页面就整屏贴边，
   写 / 成长 / 口语还各自用 margin 打了补丁。现在只认这一个变量：
   >370 与 370~399 用 24px、<370 用 14px、>=400 用 26px；断点用 369/400
   （不是 370/400 —— 写 370 会把 370px 的机器漏掉，长期规则 #148）。
   定义挂在外文面板根上（`#vocab-content`，所有外文页都挂在它里面），块只消费、
   不重复定义；这样「直接挂在面板上、没有 .ec-page 包裹」的块也能拿到同一个值。 */
#vocab-content, .ec-page { --ec-gutter: 24px; }
@media (max-width: 369px) { #vocab-content, .ec-page { --ec-gutter: 14px; } }
@media (min-width: 400px) { #vocab-content, .ec-page { --ec-gutter: 26px; } }
.ec-page { padding: 0 0 calc(26px + var(--safe-bottom, 0px)); }
.ec-page-en { font-family: var(--font-display); font-style: italic; font-size: 11.5px; letter-spacing: 1.5px; color: var(--ec-gold-ink); }
.ec-page-h {
    font-family: var(--font-body); font-size: 23px; font-weight: 600; color: var(--ec-ink);
    margin: 9px 0 0; line-height: 1.4; letter-spacing: 0.4px; text-wrap: balance; max-width: 15em;
}
.ec-page-sub { font-size: 12.5px; line-height: 1.8; color: var(--ec-sub); margin-top: 9px; max-width: 22em; }
.ec-page-head { padding: 16px var(--ec-gutter) 0; position: relative; }
.ec-wm {
    position: absolute; right: 10px; top: 2px; font-family: var(--font-display); font-style: italic;
    font-size: 44px; line-height: 1; color: var(--gold); opacity: 0.10; pointer-events: none;
}
/* 区块：只用一条细线分，不用卡片堆（手册 2.6 / 12） */
.ec-sec { padding: 24px var(--ec-gutter) 0; }
.ec-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ec-sec-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ec-ink); letter-spacing: 2px; }
.ec-sec-en { font-family: var(--font-display); font-style: italic; font-size: 11px; color: var(--ec-gold-ink); opacity: 0.9; }
.ec-sec-right { font-size: 11.5px; color: var(--ec-sub); }
.ec-hr { height: 1px; background: var(--ec-line); border: 0; margin: 0; }
.ec-hr-soft { height: 1px; background: var(--ec-line-soft); border: 0; margin: 0; }
/* 一屏「怎么用」的公共排布（第 11 窗口第二批搬进组件库；从前阅读 / 语法 / 口语 / 写作 /
   试卷各自写了一遍同样的形状，单词那一区要用第八遍 —— 那就只留一份） */
.ec-help { padding: 6px var(--ec-gutter) 0; }
.ec-help-row { padding: 13px 0; border-bottom: 1px solid var(--ec-line-soft); }
.ec-help-row:last-child { border-bottom: 0; }
.ec-help-q { font-size: 13.5px; font-weight: 600; color: var(--ec-ink); margin-bottom: 5px; }
.ec-help-a { font-size: 12.5px; line-height: 1.8; color: var(--ec-sub); }

.ec-header-right { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* 「？」帮助入口（手册 16：所有陌生功能旁边一个轻量入口） */
.ec-empty, .ec-error { text-align: center; }

/* 日期框：本体就是自绘的 ec-input，点它开全站那一套日历（只读，不会弹系统键盘） */
.ec-date { cursor: pointer; }
.ec-date::placeholder { color: var(--ec-faint); }
.ec-help-btn {
    flex-shrink: 0; width: var(--ec-touch); height: var(--ec-touch); min-width: var(--ec-touch);
    border: 0; background: none; padding: 0; cursor: pointer; color: var(--ec-sub);
    display: inline-flex; align-items: center; justify-content: center;
    transition: color var(--ec-dur) var(--ec-ease), transform var(--ec-dur-fast) var(--ec-ease);
}
.ec-help-btn::before {
    content: ''; width: 20px; height: 20px; border-radius: 50%;
    border: 1px solid var(--ec-line-strong); display: block; position: absolute;
}
.ec-help-btn { position: relative; }
.ec-help-btn::after {
    content: '?'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic; font-size: 12px; color: var(--ec-sub);
}
.ec-help-btn:active { transform: scale(0.9); color: var(--ec-rose-ink); }
.ec-help-btn:active::after { color: var(--ec-rose-ink); }
/* 「存了什么」那枚（第 7 条：页脚文字收成图标）：同一个圈，里面的字换成归档盒线条 */
.ec-mini-data::after { content: none; }
.ec-mini-data svg { width: 13px; height: 13px; position: absolute; inset: 0; margin: auto; }
.ec-help-note { font-size: 11.5px; line-height: 1.7; color: var(--ec-sub); }

/* ===== 目录行（细线 + 编号 + 中英 + 右侧状态 + 细箭头）===== */
.ec-rows { border-top: 1px solid var(--ec-line); }
.ec-li-row {
    width: 100%; display: flex; align-items: center; gap: 13px; min-height: var(--ec-touch);
    padding: 13px 2px; border: 0; border-bottom: 1px solid var(--ec-line);
    background: none; text-align: left; cursor: pointer; font-family: var(--font-body);
    transition: padding-left var(--ec-dur) var(--ec-ease), background var(--ec-dur) var(--ec-ease);
}
.ec-li-row:hover { background: rgba(201,168,168,0.05); }
.ec-li-row:active { background: var(--ec-tap); padding-left: 6px; }
.ec-li-row.is-disabled { cursor: default; opacity: 0.7; }
.ec-li-row.is-disabled:active { padding-left: 2px; background: none; }
.ec-li-row-text { flex: 1 1 auto; min-width: 0; }
.ec-li-row-label { display: block; font-size: 14.5px; font-weight: 500; color: var(--ec-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-li-row-en { display: block; font-family: var(--font-display); font-style: italic; font-size: 10.5px; color: var(--ec-gold-ink); opacity: 0.9; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-li-row-desc { display: block; font-size: 11.5px; color: var(--ec-sub); margin-top: 3px; line-height: 1.6; }
.ec-li-row-right { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ec-sub); }
.ec-li-row-arrow { display: inline-flex; color: var(--ec-sub); opacity: 0.75; }

/* ===== 细线分段（本周 / 本月 / 全部）===== */
.ec-tabs, .ec-segs { display: flex; gap: 18px; border-bottom: 1px solid var(--ec-line); }
.ec-tab, .ec-seg {
    border: 0; background: none; padding: 10px 0 9px; margin-bottom: -1px; cursor: pointer;
    font-family: var(--font-body); font-size: 13px; color: var(--ec-sub); position: relative;
    transition: color var(--ec-dur) var(--ec-ease);
}
.ec-tab::after, .ec-seg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose); transform: scaleX(0); transition: transform var(--ec-dur) var(--ec-ease); }
.ec-tab.is-on, .ec-seg.is-on { color: var(--ec-ink); }
.ec-tab.is-on::after, .ec-seg.is-on::after { transform: scaleX(1); }

/* 数值行 / 分段 / 列表行这几样不在这里另起一套：
   .ec-line（细线数值行）、.ec-lines、.ec-line-label/.ec-line-val 已在 panels-ec.css，
   复用它们（长期规则 #214：同一批类名两个文件各写一遍＝改一处不生效）。 */

/* ===== 小标签：证据强度 / 状态 ===== */
.ec-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
    border: 1px solid var(--ec-line); background: none; color: var(--ec-sub); font-size: 11px; line-height: 1.7;
    font-family: var(--font-body); white-space: nowrap;
}
.ec-chip.is-rose { color: var(--ec-rose-ink); border-color: rgba(201,168,168,0.35); }
.ec-chip.is-gold { color: var(--ec-gold-ink); border-color: rgba(196,168,106,0.35); }
.ec-chip.is-sage { color: var(--ec-sage-ink); border-color: rgba(168,184,160,0.42); }
.ec-chip.is-lav { color: var(--ec-lav-ink); border-color: rgba(184,168,196,0.42); }

/* ===== 自己画的选择器（下拉 / 抽屉 / 确认窗共用一套骨架）=====
   为什么共用：手册要求「所有下拉、所有日期、所有 confirm 都自己画」，
   三套壳子各写一遍＝三套开合动画、三套返回栈，早晚不一致。 */
.ec-scrim {
    position: fixed; inset: 0; z-index: var(--ec-z-scrim);
    background: rgba(30,26,24,0.28); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    display: flex; opacity: 0; transition: opacity var(--ec-dur-slow) var(--ec-ease);
}
.ec-scrim.show { opacity: 1; }
.ec-scrim.is-sheet { align-items: flex-end; }
.ec-scrim.is-modal { align-items: center; justify-content: center; }
[data-theme-mode="dark"] .ec-scrim { background: rgba(0,0,0,0.48); }
/* 竖屏限宽：桌面端也当手机屏看（fixed 挂 #app 内时用 left:50% 让出限宽） */
@media (min-width: 481px) {
    .ec-scrim { left: 50%; max-width: 480px; transform: translateX(-50%) translateX(-0px); }
}
.ec-sheet {
    width: 100%; max-height: 82vh; z-index: var(--ec-z-sheet); box-sizing: border-box;
    background: var(--ec-surface); border-radius: var(--ec-radius) var(--ec-radius) 0 0;
    box-shadow: var(--ec-shadow-3); padding: 6px 0 calc(14px + var(--safe-bottom, 0px));
    display: flex; flex-direction: column;
    transform: translateY(14px); opacity: 0;
    transition: transform var(--ec-dur-slow) var(--ec-ease), opacity var(--ec-dur-slow) var(--ec-ease);
}
.ec-sheet.is-modal { border-radius: var(--ec-radius); max-width: 320px; margin: 0 24px; padding: 20px 20px 16px; transform: translateY(6px) scale(0.985); }
.ec-scrim.show .ec-sheet { transform: none; opacity: 1; }
.ec-grip { width: 34px; height: 3px; border-radius: 999px; background: var(--ec-line-strong); margin: 6px auto 4px; flex-shrink: 0; }
.ec-sheet-title { padding: 8px 20px 10px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--ec-ink); flex-shrink: 0; }
.ec-sheet-en { display: block; font-family: var(--font-display); font-style: italic; font-size: 10.5px; font-weight: 400; color: var(--ec-gold-ink); letter-spacing: 1.2px; margin-top: 2px; }
.ec-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0; }
.ec-sheet-body::-webkit-scrollbar { width: 3px; }
.ec-sheet-body::-webkit-scrollbar-thumb { background: var(--ec-line-strong); border-radius: 999px; }
.ec-sheet-foot { padding: 12px 20px 2px; display: flex; gap: 10px; flex-shrink: 0; }
.ec-sheet-foot .ec-btn { flex: 1 1 0; }
/* 选项行：她自己画的选择器里每一行都是这个（≥44 高，右侧一枚细勾） */
.ec-opt {
    width: 100%; display: flex; align-items: center; gap: 10px; min-height: var(--ec-touch);
    padding: 11px 20px; border: 0; border-bottom: 1px solid var(--ec-line-soft);
    background: none; text-align: left; cursor: pointer; font-family: var(--font-body); font-size: 14px; color: var(--ec-ink);
    transition: background var(--ec-dur) var(--ec-ease), padding-left var(--ec-dur) var(--ec-ease);
}
.ec-opt:last-child { border-bottom: 0; }
.ec-opt:active { background: var(--ec-tap); padding-left: 24px; }
.ec-opt-text { flex: 1 1 auto; min-width: 0; }
.ec-opt-desc { display: block; font-size: 11.5px; color: var(--ec-sub); margin-top: 2px; }
.ec-opt-mark { flex-shrink: 0; color: var(--ec-rose-ink); opacity: 0; transition: opacity var(--ec-dur) var(--ec-ease); }
.ec-opt.is-on .ec-opt-mark { opacity: 1; }
.ec-opt.is-on .ec-opt-text { font-weight: 500; }
.ec-opt.is-disabled { color: var(--ec-sub); cursor: default; }
.ec-opt.is-disabled:active { background: none; padding-left: 20px; }

/* 触发按钮：显示当前值的那一行（原生 select 的替代） */
.ec-select {
    width: 100%; min-height: var(--ec-touch); box-sizing: border-box;
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border: 1px solid var(--ec-line-soft); border-radius: var(--ec-radius-s);
    background: var(--ec-surface); color: var(--ec-ink);
    font-family: var(--font-body); font-size: 14px; text-align: left; cursor: pointer;
    transition: border-color var(--ec-dur) var(--ec-ease), transform var(--ec-dur-fast) var(--ec-ease);
}
.ec-select:active { transform: scale(0.985); }
.ec-select.is-open { border-color: var(--rose); }
.ec-select-v { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-select-v.is-empty { color: var(--ec-faint); }
.ec-select-arrow { flex-shrink: 0; color: var(--ec-sub); }

/* ===== 自己画的开关（结构：轨道 + 圆球，缺一个都不算组件）===== */
.ec-switch {
    position: relative; flex-shrink: 0; width: 46px; height: 26px; padding: 0; cursor: pointer;
    border-radius: 999px; border: 1px solid var(--ec-line); background: var(--ec-fill);
    transition: background var(--ec-dur) var(--ec-ease), border-color var(--ec-dur) var(--ec-ease);
}
.ec-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--ec-surface); box-shadow: var(--ec-shadow-1);
    transition: transform var(--ec-dur) var(--ec-ease);
}
.ec-switch.is-on { background: #A57C7C; border-color: #A57C7C; }
.ec-switch.is-on::after { transform: translateX(20px); background: #fff; }
.ec-switch.is-disabled { opacity: 0.55; cursor: default; }
/* 开关那一行的命中区（开关本体 46×26，外面套一层 ≥44 高的行） */
.ec-switch-row { display: flex; align-items: center; gap: 12px; min-height: var(--ec-touch); padding: 8px 0; border-bottom: 1px solid var(--ec-line-soft); }
.ec-switch-row-text { flex: 1 1 auto; min-width: 0; }
.ec-switch-row-label { display: block; font-size: 14px; color: var(--ec-ink); }
.ec-switch-row-desc { display: block; font-size: 11.5px; color: var(--ec-sub); margin-top: 2px; line-height: 1.6; }

/* ===== 小测选项（自己画，禁原生 radio）===== */
.ec-choices { display: flex; flex-direction: column; gap: 9px; }
.ec-choice {
    position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: var(--ec-touch);
    box-sizing: border-box; padding: 12px 14px; cursor: pointer;
    border: 1px solid var(--ec-line); border-radius: var(--ec-radius-s); background: var(--ec-surface);
    font-family: var(--font-body); font-size: 13.5px; color: var(--ec-ink); line-height: 1.65;
    transition: border-color var(--ec-dur) var(--ec-ease), background var(--ec-dur) var(--ec-ease), transform var(--ec-dur-fast) var(--ec-ease);
}
.ec-choice:active { transform: scale(0.99); }
.ec-choice input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.ec-choice-key {
    flex-shrink: 0; width: 23px; height: 23px; margin-top: 1px; border-radius: 50%;
    border: 1px solid var(--ec-line-strong); color: var(--ec-sub);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic; font-size: 12px;
    transition: background var(--ec-dur) var(--ec-ease), color var(--ec-dur) var(--ec-ease), border-color var(--ec-dur) var(--ec-ease);
}
.ec-choice.is-on { border-color: var(--rose); background: var(--rose-light); }
.ec-choice.is-on .ec-choice-key { background: var(--rose); border-color: var(--rose); color: #fff; }
.ec-choice.is-right { border-color: rgba(168,184,160,0.7); background: var(--sage-light); }
.ec-choice.is-right .ec-choice-key { background: var(--sage); border-color: var(--sage); color: #fff; }
.ec-choice.is-wrong { border-color: rgba(201,140,140,0.65); background: rgba(201,140,140,0.10); }
.ec-choice.is-wrong .ec-choice-key { background: #B98A8A; border-color: #B98A8A; color: #fff; }
.ec-choice-tx { min-width: 0; flex: 1 1 auto; }

/* ===== 单词卡 / 原文块 ===== */
.ec-word {
    border: 1px solid var(--ec-line); border-radius: var(--ec-radius); background: var(--ec-surface);
    padding: 20px 18px; box-shadow: var(--ec-shadow-1);
}
.ec-word-h { font-family: var(--font-display); font-size: 30px; line-height: 1.15; color: var(--ec-ink); word-break: break-word; }
.ec-word-ph { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--ec-sub); margin-top: 6px; letter-spacing: 0.4px; }
.ec-word-pos { font-style: normal; font-family: var(--font-display); font-style: italic; font-size: 11.5px; color: var(--ec-gold-ink); margin-left: 8px; }
.ec-word-zh { font-size: 14px; color: var(--ec-ink); margin-top: 12px; line-height: 1.8; }
.ec-word-ex { font-size: 13px; color: var(--ec-sub); margin-top: 12px; line-height: 1.85; padding-top: 12px; border-top: 1px solid var(--ec-line-soft); }
.ec-word-ex em { font-style: normal; color: var(--ec-ink); }
.ec-quote {
    border: 1px solid var(--ec-line-soft); border-radius: var(--ec-radius-s);
    background: var(--ec-surface-2); padding: 14px 16px;
    font-size: 13.5px; line-height: 1.95; color: var(--ec-ink);
}
.ec-quote-line { display: block; padding: 3px 0; }
.ec-quote-line.is-hit { background: rgba(201,168,168,0.14); border-radius: 4px; padding-left: 6px; margin-left: -6px; }

/* ===== 语音录制条 / 播放条 ===== */
.ec-rec { display: flex; align-items: center; gap: 12px; min-height: var(--ec-touch); padding: 10px 12px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius-s); background: var(--ec-surface); }
.ec-rec-btn {
    flex-shrink: 0; width: var(--ec-touch); height: var(--ec-touch); border-radius: 50%; border: 1px solid var(--ec-line-strong);
    background: none; color: var(--ec-rose-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: transform var(--ec-dur-fast) var(--ec-ease), background var(--ec-dur) var(--ec-ease);
}
.ec-rec-btn:active { transform: scale(0.92); background: var(--ec-tap); }
.ec-rec-btn.is-live { background: var(--rose-light); border-color: var(--rose); }
.ec-rec-body { flex: 1 1 auto; min-width: 0; }
.ec-rec-wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.ec-rec-wave i { display: block; width: 3px; border-radius: 999px; background: var(--ec-line-strong); height: 30%; }
.ec-rec-wave.is-live i { background: var(--rose); animation: ecWave 1.1s ease-in-out infinite; }
.ec-rec-wave i:nth-child(2) { animation-delay: 0.1s; }
.ec-rec-wave i:nth-child(3) { animation-delay: 0.2s; }
.ec-rec-wave i:nth-child(4) { animation-delay: 0.3s; }
.ec-rec-wave i:nth-child(5) { animation-delay: 0.4s; }
@keyframes ecWave { 0%, 100% { height: 26%; } 50% { height: 92%; } }
.ec-rec-time { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--ec-sub); flex-shrink: 0; }
.ec-rec-note { font-size: 11.5px; color: var(--ec-sub); margin-top: 5px; }

/* ===== 模考题面（题号 + 题干 + 选项 + 计时）===== */
.ec-paper-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ec-line); }
.ec-paper-no { font-family: var(--font-display); font-style: italic; font-size: 12px; color: var(--ec-gold-ink); }
.ec-paper-timer { font-family: var(--font-mono, monospace); font-size: 13px; color: var(--ec-ink); display: inline-flex; align-items: center; gap: 6px; }
.ec-paper-q { font-size: 15px; line-height: 1.85; color: var(--ec-ink); padding: 16px 0; }
.ec-paper-caption { font-size: 11.5px; color: var(--ec-sub); }

/* ===== 数值滚动 / 里程碑细线 / 完成金线 ===== */
.ec-num-roll { font-variant-numeric: tabular-nums; }
.ec-mile-line { height: 1px; background: var(--ec-line); position: relative; overflow: hidden; }
.ec-mile-line i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width 0.5s var(--ec-ease); }
.ec-flash-gold { height: 1px; background: var(--gold); opacity: 0; }
.ec-flash-gold.is-on { animation: ecGoldLine 0.4s var(--ec-ease); }
@keyframes ecGoldLine { 0% { opacity: 0; } 40% { opacity: 0.9; } 100% { opacity: 0; } }

/* 页间转场：进入 translateX(12px) + 淡入（手册 2.4） */
.ec-enter { animation: ecEnter var(--ec-dur-slow) var(--ec-ease); }
@keyframes ecEnter { from { transform: translateX(12px); opacity: 0; } to { transform: none; opacity: 1; } }
/* 浮层退场（统一走 core.js 的 _prefadeLayer 加这个类，别自己另发明） */
.ec-fade-out { opacity: 0 !important; transform: translateY(8px) !important; transition: opacity 0.2s var(--ec-ease), transform 0.2s var(--ec-ease) !important; }

/* ===== 小提示 ===== */
.ec-note { font-size: 11.5px; line-height: 1.8; color: var(--ec-sub); }
.ec-note-quiet { font-size: 11.5px; line-height: 1.8; color: var(--ec-faint); text-align: center; }
/* 「？」文案一长就换排版（第 11 窗口第四批）：一行一条 + 编号，别摆成一坨文字。
   实测 360 屏上三行以上就顶到小窗底部，一坨读不下去；一条一条扫得完。 */
.ec-help-list { display: flex; flex-direction: column; gap: 10px; }
.ec-help-item { display: flex; gap: 8px; align-items: flex-start; }
.ec-help-no {
    flex: 0 0 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ec-line);
    font-family: var(--font-display); font-size: 10.5px; line-height: 17px; text-align: center;
    color: var(--ec-gold-ink); margin-top: 1px;
}
.ec-help-dot {
    flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--ec-gold);
    margin-top: 8px;
}
.ec-help-tx { flex: 1; font-size: 12px; line-height: 1.75; color: var(--ec-sub); }
.ec-help-more { margin-top: 12px; font-size: 11px; color: var(--ec-faint); text-align: center; }

/* 窄屏（<370）：字号收一档，触摸目标不变。左右留白不在这里写 —— 它只认上面的
   --ec-gutter 一处（2028w12learn1 统一），不从媒体查询里再补一遍。 */
@media (max-width: 369px) {
    .ec-page-h { font-size: 20px; }
    .ec-wm { font-size: 36px; right: 6px; }
    .ec-li-row { gap: 10px; }
    .ec-sheet.is-modal { margin: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .ec-scrim, .ec-sheet, .ec-opt, .ec-choice, .ec-switch, .ec-switch::after,
    .ec-select, .ec-li-row, .ec-rec-btn, .ec-bar-fill, .ec-mile-line i { transition: none !important; }
    .ec-enter, .ec-flash-gold.is-on, .ec-rec-wave.is-live i { animation: none !important; }
    .ec-scrim { opacity: 1; }
    .ec-scrim .ec-sheet { transform: none; opacity: 1; }
}
