/* ============================================================================
   v21-newsdesk.css —— 我的资讯台（2026-10-30）：卡头两个 Tab、添加区、识别结果框、我的源、无图条目、源菜单与底部 sheet。
   锚 docs/迭代/2026-10-30-我的资讯台/UI规格.md v1.2 §3（精确值来自画布 docs/前端参考/2026-10-30-我的资讯台/，10-30 用户确认）。
   载入顺序：mobile.css 与 v17–v20 组件层之后、theme-dark.css 之前——≤720 的值写在本文件 @media (max-width: 720px) 段，深色差异写在文末。
   沿用生产值不另定：.nw-src-btn（v17-news）、.nw-item / .nw-day / .nw-time / .nw-title / .nw-sum / .nw-pill / .nw-more（v14-news、v18-news）。
   ========================================================================== */

/* ============ §3.1 卡头：两个 Tab（选中墨色 + 2px 墨色底线，未选 --ink-3）+ 右侧「＋ 添加（n/5）」 ============ */
.dk-tabs { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dk-tab { position: relative; height: 28px; display: inline-flex; align-items: center; font-size: var(--fs-16); font-weight: 800; letter-spacing: -.15px; color: var(--ink-3); white-space: nowrap; transition: color var(--t-micro) var(--ease); }
.dk-tab:hover:not(.is-on) { color: var(--ink-2); }
.dk-tab.is-on { color: var(--ink); }
.dk-tab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--ink); }
.nw-src-btn.is-full { color: var(--ink-3); }
#news-col.is-desk #news-src-wrap { display: none; }          /* 「来源 x/y」只在严选 Tab */
/* 切 Tab 不跳（11-04）：卡至少一屏高（--nw-fill 由 news.js 按滚动口高度 − 吸顶基准 − 16 写入），内容短也不会把滚动位置压回看板 */
#news-col { min-height: var(--nw-fill, 0px); }
.dk-desk { position: relative; padding: 0 16px 14px; }

/* ============ §3.2 添加区 ============ */
.dk-add { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); }
.dk-add-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dk-type {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); font-size: var(--fs-13); font-weight: 600; white-space: nowrap;
  transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.dk-type svg { width: 14px; height: 14px; flex: none; }
.dk-type:hover:not(:disabled) { color: var(--ink); border-color: var(--line-hover); }
.dk-type.is-on { background: var(--green-soft); color: var(--green-d); border-color: rgba(11, 168, 74, .32); }
.dk-type:disabled { opacity: .45; cursor: default; }
.dk-quota { margin-left: auto; font-size: var(--fs-12); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dk-quota b { color: var(--ink-2); font-weight: 700; }
.dk-row { margin-top: 10px; display: flex; gap: 8px; }
.dk-input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  font: inherit; font-size: var(--fs-14); color: var(--ink);
}
.dk-input::placeholder { color: var(--ink-3); }
.dk-input:focus { outline: none; border-color: var(--line-hover); box-shadow: 0 0 0 3px var(--green-ring); }
.dk-input:disabled { background: var(--soft); }
.dk-submit { flex: none; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: var(--card); font-size: var(--fs-14); font-weight: 700; white-space: nowrap; }
.dk-submit:disabled { opacity: .32; cursor: default; }
.dk-check { margin-top: 8px; display: flex; align-items: flex-start; gap: 6px; min-height: 20px; font-size: var(--fs-13); line-height: 20px; color: var(--ink-2); }
.dk-check:empty { display: none; }
.dk-check svg, .dk-done svg { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--ink-3); }
.dk-check.is-ok svg, .dk-done svg { color: var(--green); }
.dk-check > span { min-width: 0; overflow-wrap: anywhere; }
.dk-check b { color: var(--ink); font-weight: 700; }
.dk-check .dk-sub { color: var(--ink-3); }
.dk-check-note { display: block; margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); }
.dk-done { margin-top: 8px; display: flex; align-items: flex-start; gap: 6px; font-size: var(--fs-13); line-height: 20px; color: var(--ink); }
.dk-ask { display: inline-flex; gap: 6px; margin-left: 4px; vertical-align: top; }
.dk-ask button { height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-12); font-weight: 600; color: var(--ink); line-height: 24px; }
.dk-ask button:hover { box-shadow: inset 0 0 0 1px var(--line-hover); }
.dk-guide { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-hover); display: grid; gap: 3px; font-size: var(--fs-12); line-height: 1.65; color: var(--ink-3); }
.dk-guide p { display: flex; gap: 8px; min-width: 0; margin: 0; }
.dk-guide p > b { flex: none; width: 48px; color: var(--ink-2); font-weight: 600; }
.dk-guide p > span { min-width: 0; }
/* 四类引导叠在同一格（11-04）：格高取最高的那类，只露当前类型；行贴顶排，不被拉开 */
.dk-guides { display: grid; }
.dk-guides > .dk-guide { grid-area: 1 / 1; align-content: start; }
.dk-guide.is-off { visibility: hidden; }
.dk-guide .dk-ai { color: var(--ink-2); }
.dk-eg {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-12); font-weight: 600; color: var(--ink-2); vertical-align: middle;
}
.dk-eg:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-hover); }
.dk-txtbtn { font-size: var(--fs-13); font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-hover); white-space: nowrap; }
.dk-guide .dk-txtbtn { font-size: var(--fs-12); }
.dk-txtbtn:hover { color: var(--ink); }
.dk-txtbtn:disabled { color: var(--ink-3); cursor: default; }

/* 空态：标题 + 名额 → 说明 → 四张类型卡 */
.dk-empty-h { display: flex; align-items: baseline; gap: 8px; }
.dk-empty-t { font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.dk-empty-s { margin: 2px 0 0; font-size: var(--fs-13); line-height: 1.6; color: var(--ink-2); }
.dk-br { display: none; }
.dk-cards { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.dk-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 12px 12px 13px; border-radius: 12px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: background var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.dk-card:hover { box-shadow: inset 0 0 0 1px var(--line-hover); }
.dk-card.is-on { background: var(--green-soft); box-shadow: inset 0 0 0 1.5px rgba(11, 168, 74, .45); }
.dk-card-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.dk-card-h svg { width: 16px; height: 16px; flex: none; color: var(--ink-2); }
.dk-card-s { font-size: var(--fs-12); line-height: 1.55; color: var(--ink-2); }
.dk-card-e { font-size: var(--fs-12); color: var(--ink-3); }

/* ============ §3.3 识别结果框：进度 / 预览 / 失败卡 ============ */
.dk-box { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
/* 进度行：文字在剩余宽度里自己换行（flex-basis 0），转圈与「取消」对齐第一行——11-02 文案变长后，375 下整块文字曾被挤到下一行、「取消」掉到第三行 */
.dk-prog { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; font-size: var(--fs-13); line-height: 1.6; color: var(--ink-2); }
.dk-prog b { color: var(--ink); }
.dk-prog-t { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.dk-prog > .dk-spin { margin-top: 3px; }
.dk-nw { white-space: nowrap; }
.dk-spin { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-hover); border-top-color: var(--ink-2); animation: dk-spin .9s linear infinite; }
@keyframes dk-spin { to { transform: rotate(360deg); } }
/* 进度条（11-02，需求 A9）：填充按 scaleX 伸长，值由 newsdesk.js paintProg 每秒写；is-init 是结果框重建那一帧，不过渡、直接定在当前值。
   高光用 --card（浅色主题是白、深色主题是深底），在两种主题的墨色填充上都看得出在动 */
.dk-bar { position: relative; display: block; height: 6px; margin: 8px 0 0 24px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.dk-bar > i { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform .6s linear; overflow: hidden; }
.dk-bar > i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--card), transparent); opacity: .45; transform: translateX(-100%); animation: dk-bar-sheen 1.6s linear infinite; }
.dk-bar.is-init > i { transition: none; }
@keyframes dk-bar-sheen { to { transform: translateX(100%); } }
.dk-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 24px; }
.dk-steps i { font-style: normal; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--soft); font-size: var(--fs-11); font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; }
.dk-steps i.is-on { background: var(--ink); color: var(--card); }
.dk-steps i.is-done { color: var(--ink-2); }
.dk-pv-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.dk-pv-n { min-width: 0; font-size: var(--fs-16); font-weight: 800; letter-spacing: -.15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-pv-k { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-12); font-weight: 600; color: var(--ink-3); }
.dk-pv-k svg { width: 13px; height: 13px; }
.dk-pv-u { margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-note { margin-top: 8px; display: flex; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--soft); font-size: var(--fs-12); line-height: 1.6; color: var(--ink-2); }
.dk-note svg { flex: none; width: 13px; height: 13px; margin-top: 3px; color: var(--ink-3); }
.dk-note.is-bad svg { color: var(--red); }
.dk-pv-list { margin-top: 10px; display: grid; gap: 5px; }
.dk-pv-li { display: flex; gap: 10px; min-width: 0; font-size: var(--fs-13); line-height: 1.55; color: var(--ink); }
.dk-pv-li time { flex: none; width: 92px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dk-pv-li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-pv-more { margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); }
.dk-cands { margin-top: 10px; display: grid; gap: 6px; }
.dk-cand { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-13); color: var(--ink); text-align: left; }
.dk-cand i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-hover); }
.dk-cand.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dk-cand.is-on i { box-shadow: inset 0 0 0 4px var(--ink); }
.dk-cand span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-cand em { flex: none; font-style: normal; font-size: var(--fs-12); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dk-foot { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dk-btn { height: 34px; padding: 0 16px; border-radius: 9px; font-size: var(--fs-13); font-weight: 700; white-space: nowrap; }
.dk-btn.is-pri { background: var(--ink); color: var(--card); }
.dk-btn.is-sec { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.dk-btn.is-sec:hover { box-shadow: inset 0 0 0 1px var(--line-hover); color: var(--ink); }
.dk-btn.is-dgr { background: var(--red); color: #fff; }
.dk-btn:disabled { opacity: .45; cursor: default; }
.dk-foot .dk-sub { font-size: var(--fs-12); color: var(--ink-3); }
.dk-fail { display: flex; gap: 10px; align-items: flex-start; }
.dk-fail > svg { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.dk-fail-t { font-size: var(--fs-14); font-weight: 700; line-height: 1.5; color: var(--ink); }
.dk-fail-u { margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); overflow-wrap: anywhere; }
.dk-fail-q { margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); }

/* ============ §3.4 我的源：个人添加任务在前、订阅在后；状态点 = 共享采集状态（压类型图标右下），小标 = 个人暂停 / 停更 ============ */
.dk-srcs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.dk-src {
  position: relative; display: inline-flex; align-items: center; height: 30px; max-width: 260px; padding-right: 4px; border-radius: var(--r-pill); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-12); font-weight: 600; color: var(--ink-2); transition: box-shadow var(--t-micro) var(--ease);
}
.dk-src:hover { box-shadow: inset 0 0 0 1px var(--line-hover); }
.dk-src-main { display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 100%; padding: 0 2px 0 10px; border-radius: var(--r-pill) 0 0 var(--r-pill); color: inherit; }
.dk-src-ic { position: relative; flex: none; width: 14px; height: 14px; display: grid; place-items: center; }
.dk-src-ic svg { width: 14px; height: 14px; }
.dk-src-ic.is-alert svg { color: var(--red); }
.dk-src-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dk-dot.is-gray { background: var(--ink-3); }
.dk-dot.is-red { background: var(--red); }
.dk-src-ic .dk-dot { position: absolute; right: -2px; bottom: -2px; box-shadow: 0 0 0 1.5px var(--card); }
.dk-tg { flex: none; height: 18px; padding: 0 6px; border-radius: 6px; background: var(--soft); font-size: var(--fs-11); font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; white-space: nowrap; }
.dk-more { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.dk-more:hover, .dk-more[aria-expanded="true"] { background: var(--soft); color: var(--ink); }
.dk-src .dk-spin { width: 12px; height: 12px; }
.dk-src.is-on { background: var(--ink); color: var(--card); box-shadow: none; }
.dk-src.is-on .dk-more, .dk-src.is-on .dk-src-ic svg { color: var(--card); }
.dk-src.is-on .dk-more:hover, .dk-src.is-on .dk-more[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.dk-src.is-on .dk-src-ic .dk-dot { box-shadow: 0 0 0 1.5px var(--ink); }
.dk-src.is-on .dk-tg { background: rgba(255, 255, 255, .16); color: var(--card); }
.dk-src.is-paused .dk-src-n { color: var(--ink-3); }
.dk-src.is-on.is-paused .dk-src-n { color: var(--card); }
.dk-src.is-task { background: var(--soft-2); }
.dk-src.is-await { background: var(--green-soft); color: var(--green-d); box-shadow: inset 0 0 0 1px rgba(11, 168, 74, .4); }
.dk-src.is-await .dk-tg { background: var(--card); color: var(--green-d); }
.dk-src.is-task.is-sel { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.dk-src.is-await.is-sel { box-shadow: inset 0 0 0 1.5px var(--green); }
.dk-filter { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: var(--fs-12); color: var(--ink-3); }
.dk-filter b { color: var(--ink); font-weight: 700; }
.dk-filter .dk-txtbtn { font-size: var(--fs-12); }
.dk-banner { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: var(--fs-13); line-height: 1.6; color: var(--ink); }
.dk-banner > svg { flex: none; width: 15px; height: 15px; color: var(--red); }
.dk-banner > span { flex: 1 1 0; min-width: 0; }
.dk-nw { white-space: nowrap; }
.dk-banner .dk-banner-a { flex: none; display: inline-flex; gap: 12px; }

/* ============ §3.5 条目：没有封面位，行首类型图标（需求 A7） ============ */
.dk-list { margin-top: 6px; }
.dk-list.is-busy .nw-list { opacity: .55; transition: opacity var(--t-micro) var(--ease); }
.dk-item { gap: 12px; }
.dk-icb { flex: none; width: 32px; height: 32px; margin-top: 2px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.dk-icb svg { width: 16px; height: 16px; }
.dk-item .nw-txt { gap: 4px; padding-top: 0; }
.dk-item .nw-title { font-size: var(--fs-16); }
.dk-item .dk-body, .dk-item .dk-pub, .dk-item .dk-icb { pointer-events: none; }
.dk-item.is-fresh { animation: nw-flash 2.6s ease 1; }
.dk-body { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-14); line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.dk-pub { min-width: 0; font-size: var(--fs-11); font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-empty-l { padding: 28px 0 18px; text-align: center; font-size: var(--fs-13); line-height: 1.7; color: var(--ink-3); }
.dk-empty-l .dk-txtbtn { font-size: var(--fs-13); }
.dk-more-btn { margin-top: 10px; }

/* ============ §3.6 源菜单（桌面弹层）与底部 sheet（≤720） ============ */
.dk-menu { position: absolute; z-index: 40; width: 232px; padding: 6px; border-radius: 12px; background: var(--pop); border: 1px solid var(--line); box-shadow: var(--sh-pop); animation: mg-pop var(--t-in) var(--ease) both; }
.dk-menu-h { padding: 6px 8px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.dk-menu-h b { display: block; font-size: var(--fs-13); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-menu-h span { display: block; margin-top: 2px; font-size: var(--fs-11); line-height: 1.6; color: var(--ink-3); }
.dk-menu > button, .dk-sheet > button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; text-align: left; color: var(--ink); }
.dk-menu > button { min-height: 34px; padding: 6px 10px; border-radius: 8px; font-size: var(--fs-13); line-height: 1.5; }
.dk-menu > button em, .dk-sheet > button em { font-style: normal; font-size: var(--fs-11); line-height: 1.5; color: var(--ink-3); }
.dk-menu > button:hover { background: var(--soft); }
.dk-menu > button.is-dgr, .dk-sheet > button.is-dgr { color: var(--red); }
.dk-confirm { padding: 4px 6px 6px; }
.dk-confirm p { margin: 0; font-size: var(--fs-13); line-height: 1.6; color: var(--ink); }
.dk-confirm .dk-sub { display: block; margin-top: 2px; font-size: var(--fs-12); color: var(--ink-3); }
.dk-confirm .dk-foot { margin-top: 10px; justify-content: flex-end; }
.dk-sheet-host { position: fixed; inset: 0; z-index: 70; }
.dk-scrim { position: absolute; inset: 0; background: var(--scrim); animation: mg-fade var(--t-in) var(--ease) both; }
.dk-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px calc(14px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0;
  background: var(--pop); box-shadow: var(--sh-pop); animation: nw-sheet-in var(--t-in) var(--ease) both;
}
.dk-sheet::before { content: ''; display: block; width: 36px; height: 4px; margin: 2px auto 8px; border-radius: 2px; background: var(--line-hover); }
.dk-sheet .dk-menu-h { padding: 4px 4px 10px; }
.dk-sheet > button { min-height: 44px; padding: 6px; font-size: var(--fs-14); line-height: 1.5; border-radius: 10px; }
.dk-sheet .dk-confirm p { font-size: var(--fs-14); }
.dk-sheet-host.is-closing .dk-scrim { animation: mg-fade-out var(--t-out) var(--ease) both; }
.dk-sheet-host.is-closing .dk-sheet { animation: nw-sheet-out var(--t-out) var(--ease) both; }

/* ============ 游客 ============ */
.dk-guest { margin-top: 12px; padding: 28px 16px; border-radius: 12px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.dk-guest p { margin: 0; font-size: var(--fs-14); line-height: 1.7; color: var(--ink-2); }
.dk-guest .dk-btn { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .dk-spin { animation: none; border-top-color: var(--ink-3); }
  .dk-item.is-fresh { animation: none; }
  .dk-bar > i { transition: none; }
  .dk-bar > i::after { animation: none; display: none; }
}

/* ============ ≤720（UI 规格 §3 各表右列、§7） ============ */
@media (max-width: 720px) {
  .dk-tabs { gap: 12px; }
  .dk-desk { padding: 0 0 4px; }
  .dk-add { margin-top: 10px; padding: 12px; }
  .dk-add-top { gap: 5px; flex-wrap: nowrap; }
  .dk-type { height: 36px; padding: 0 8px; gap: 4px; }
  .dk-type svg { width: 13px; height: 13px; }
  .dk-input { font-size: 16px; }   /* iOS 小于 16px 聚焦会缩放页面 */
  .dk-submit { padding: 0 14px; }
  .dk-guide p > b { width: 44px; }
  .dk-br { display: inline; }
  .dk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dk-card { padding: 10px 10px 11px; }
  .dk-srcs { flex-wrap: nowrap; overflow-x: auto; margin-left: -14px; margin-right: -14px; padding: 0 14px 2px; scrollbar-width: none; }
  .dk-srcs::-webkit-scrollbar { display: none; }
  .dk-src { flex: none; height: 32px; }
  .dk-more { width: 28px; height: 28px; }
  .dk-item { gap: 10px; padding: 8px 6px 8px 8px; }
  .dk-icb { width: 28px; height: 28px; border-radius: 8px; }
  .dk-icb svg { width: 14px; height: 14px; }
  .dk-item .nw-title { font-size: var(--fs-14); line-height: 1.5; }
  .dk-body { -webkit-line-clamp: 3; font-size: var(--fs-13); }
  .dk-pv-li { font-size: var(--fs-12); gap: 8px; }
  .dk-pv-li time { width: 76px; }
  .dk-menu { display: none; }   /* ≤720 用底部 sheet */
  /* 已失效横条：图标 + 文字一行，操作另起一行与文字左对齐 */
  .dk-banner { display: grid; grid-template-columns: 15px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; align-items: start; }
  .dk-banner > svg { margin-top: 3px; }
  .dk-banner .dk-banner-a { grid-column: 2; }
}

/* ============ 深色 ============ */
[data-theme="dark"] .dk-type.is-on { background: var(--green-solid); color: #fff; border-color: var(--green-solid); }
[data-theme="dark"] .dk-src.is-on .dk-more:hover, [data-theme="dark"] .dk-src.is-on .dk-more[aria-expanded="true"] { background: rgba(0, 0, 0, .12); }

/* ============ 11-03 详情弹窗（UI 规格 §9）：外壳与正文排版沿用严选（.news-ovl / .nw-pop / .nw-art，见 v14 / v17 / v18-news.css），这里只补资讯台自己的几处 ============ */
/* 头：类型图标 + 源名（不可点，13/700）+「·」+ 时间（沿用 .nw-pop-when 的 12 号、--ink-2、等宽数字） */
.nd-pop-src { gap: 6px; }
.nd-pop-ic { flex: none; display: inline-flex; color: var(--ink-3); }
.nd-pop-ic svg { width: 14px; height: 14px; }
.nd-pop-who { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-13); font-weight: 700; color: var(--ink); }
.nd-pop-dot { flex: none; color: var(--ink-3); }
/* Finviz 出处行；没有正文 HTML 时的摘要（同正文字号）；推文正文保留换行 */
.nd-art-pub { margin-top: 10px; font-size: var(--fs-13); color: var(--ink-2); }
.nd-art-sum { margin-top: 16px; font-size: var(--fs-16); line-height: 1.8; color: var(--ink); overflow-wrap: break-word; }
.nd-art-pub + .nw-art-body, .nd-art-pub + .nd-art-sum { margin-top: 12px; }
.nd-tweet { font-size: var(--fs-16); line-height: 1.8; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.nd-art.is-headless > .nw-offline { margin-bottom: 14px; }
/* 正文外的已存图片（推文配图等）：一张按原比例（最高 520）；两张及以上两列 16:9 裁切，三张时第一张占左侧两行 */
.nd-imgs { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.nd-imgs[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.nd-imgs img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--soft-2); }
.nd-imgs[data-n="1"] img { aspect-ratio: auto; height: auto; max-height: 520px; object-fit: contain; }
.nd-imgs[data-n="3"] img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.nd-imgs .nw-img-fail { margin: 0; min-height: 0; aspect-ratio: 16 / 9; }
/* 视频位说明：压暗封面上垫一层深色底（封面花的时候也看得清），较长的句子在逗号处换行。
   居中改用 left/right 0 + 自动外边距：基类的 left 50% + translate 会把收缩宽度限在播放器的一半，375 下在词中间折行 */
.nd-ph .nw-ph-t { left: 0; right: 0; width: fit-content; max-width: min(86%, 26em); margin: 0 auto; transform: translateY(-50%);
  padding: 6px 14px; border-radius: 14px; background: rgba(15, 19, 27, .74); color: #fff; text-align: center; line-height: 1.6; }
[data-theme="dark"] .nd-imgs img { outline: 1px solid var(--line); outline-offset: -1px; }
