Peach: Local-first video metadata scraper and media manager.
统一口味页底部说明为中性 Note
longmeidao9208dd98576e
diff --git a/docs/HANDOFF.md b/docs/HANDOFF.mdindex 1fc830169..c4ab7c6d2 100644--- a/docs/HANDOFF.md+++ b/docs/HANDOFF.md@@ -76,7 +76,7 @@ Claude 的 `.claude/settings.json` 已配置 Stop、StopFailure、SessionEnd hoo**Vercel Geist 控件(2026-08-28)**:官方 introduction 页实测普通操作使用 4/6px 圆角、图标操作为 32×32px,圆形留给 emoji 反馈等特殊语义。Peach 的普通操作和关闭按钮因此统一用 `--control-radius:6px`,菜单与 Modal 使用 `--floating-radius:12px`,状态标记使用 `--badge-radius:4px`;Tag 保持胶囊,媒体左右切换与头像保留圆形。全站字号、顶栏、搜索、播放列表、设置、管理、详情、关注与移动端共用这套语义 token;弹层自己的滚动容器必须使用 `overscroll-behavior:contain`,粘性标题栏要设置 `scroll-padding-top`,不能遮住键盘焦点。锁定版本、完整测量和有意差异见 `vercel-geist-controls-measured.md`。**Vercel Geist MiddleTruncate(2026-08-30)**:官方页 <https://vercel.com/geist/middle-truncate> 规定只对文件路径、URL、ID、SHA 等首尾都有信息的值做中间省略;单个 `…` 随容器宽度重算,复制和无障碍名称保留完整原文,外层不得再套 `text-overflow:ellipsis`。Peach 用原生 ES module 适配这套行为,不引入 React;资源标识必须显式使用 `data-middle-truncate`,标题、说明、人名和标签保留末尾省略;页面源门槛登记全部末尾省略选择器,任何新增截断都必须先分类。实时浏览器 DOM/CSS/JS 本轮未取得,通道错误与候选判断见 `vercel-geist-middle-truncate.md`。**Vercel Tooltip/Collapse/Context Card/Projects/Analytics/Speed Insights 与 Geist Note/Progress/Switch/Fieldset/Scroller/Empty State(2026-08-30)**:登录态项目页确认搜索占剩余宽度、筛选为方形图标钮、主操作在右,菜单无展开动画且内部滚动;Analytics 与 Speed Insights 都使用「全局筛选或来源 Switch → 横向摘要指标带 → 主详情 → 同层 tablist 数据面板」层级,不把每个维度堆成独立 Bento。Peach 的统计页用真实库存、观看、覆盖和系统盘/资源盘/网盘使用空间复用该层级;口味页以浏览器记录/Peach 内部作为真实证据来源,不伪造体验分或时间图。Tooltip 固定在视口内,来源菜单不得套用 Collapse motion,作者别名才使用 Collapse;短元数据浮层最多一个主动作,Escape 关闭并交还焦点,瞬时成功回执用 Toast,错误恢复留在原位置;Note 只放字段/卡片/分区旁的持久上下文,页面问题用 Banner;Progress 必须有真实 value/max 和 ARIA,Switch 只用于 2–3 个互斥视图,布尔值用 Toggle;Fieldset 同组卡片固定同高,变化正文放单一 Scroller,Footer 保持固定动作区;Empty State 必须把图标、标题、说明和可选动作收在同一组件,且与上方工具条保持统一间距。完整 URL、资源 SHA、浏览器失败与恢复路径和 Peach 差异见 `vercel-geist-semantics-measured.md`、`vercel-geist-note-progress-switch-analytics.md` 与 `vercel-geist-fieldset-scroller-empty-state.md`;实现门槛见 `peach-web-ui`。**Vercel Geist Table/Home(2026-08-30)**:同形可比较数据使用语义 `table`,数字列保持 tabular numerals;Peach 因此把系统盘、资源盘、115 与 PikPak 容量放进同一张使用空间表。内容标签是固定 Top 排行和直接筛选,不伪装成可排序数据表,桌面使用保持 DOM 排名顺序的双栏有序列表,手机回到单栏。Vercel Table 的交互 DOM 与计算样式本轮未取得,Home 只确认共享对齐和清晰分区;失败通道、已取得原则与有意差异见 `vercel-geist-table-ranking.md`。-默认 Note、只读提示和 info 入口统一复用图片详情已有的本地 Lucide 圆圈 `i`,不复制未开放许可的 Geist 私有 SVG。**Vercel Command Menu/Search Input/Spinner/Loading Dots(2026-08-30)**:设置覆盖层使用锁定 Dialog CSS 的 350ms、`cubic-bezier(.4,0,.2,1)` 与 -40px 淡入轨迹,普通菜单仍无动画;Search Input 的搜索图标在查询期间原位换成 Spinner。用户直接触发的检查、加载、保存与应用使用 Spinner,后台抓取和扫描进度使用 Loading Dots;“没有更多历史内容”是中性、可关闭的 Note,不得登记为红色故障。证据哈希、未取得面与 Peach 差异见 `vercel-geist-command-search-loading.md`。+默认 Note、只读提示和 info 入口统一复用图片详情已有的本地 Lucide 圆圈 `i`,不复制未开放许可的 Geist 私有 SVG。**Vercel Command Menu/Search Input/Spinner/Loading Dots(2026-08-30)**:设置覆盖层使用锁定 Dialog CSS 的 350ms、`cubic-bezier(.4,0,.2,1)` 与 -40px 淡入轨迹,普通菜单仍无动画;Search Input 的搜索图标在查询期间原位换成 Spinner。用户直接触发的检查、加载、保存与应用使用 Spinner,后台抓取和扫描进度使用 Loading Dots;“没有更多历史内容”是中性、可关闭的 Note,不得登记为红色故障。证据哈希、未取得面与 Peach 差异见 `vercel-geist-command-search-loading.md`。**Vercel Notifications 中性说明 Note(2026-08-30)**:登录态截图确认底部补充说明使用带圆圈信息图标的整行中性表面,存在真实动作时链接紧跟正文;Peach 的口味归因和隐私说明复用 secondary `noteHtml`,没有真实动作时不伪造链接。实时 DOM/CSS 读取在 30 秒后超时,已取得边界、截图哈希和有意差异见 `vercel-notifications-note.md`。**Beeg 资料页(2026-08-30)**:Reislin 与 SweetieFox 页面证据锁定的顺序是头像与名称、简介、外部链接、关联艺人轨道、标签轨道、内容;轨道不另加可见标题。Peach 的女优/厂牌资料页和关注页复用这个阅读顺序;资料页有照片时只显示一个 32×32px `PicsIcon`,放在标签左侧,选中代表照片视图,再点一次回到视频,不保留独立的「视频/照片」文字标签栏。合集详情继续使用普通详情的左媒体、右信息,下方另设 Mix/分卷/播放列表/多视频的横向切换带。锁定样式摘要、哈希、未取得面和主动差异见 `beeg-profile-layout.md`。YouTube Shorts 沉浸页使用用户截图记录 `docs/reference-snapshots/youtube-shorts-immersive-user-screenshot.md`:竖屏复用中央 9:16 舞台和外置动作列,横屏使用在整个视口视觉居中的 16:9 舞台并把动作列收进视频右侧;Peach 保留自己的反馈语义,不复制订阅或社交动作。沉浸视频每次加载都要带独立 `session`,切片、关闭、失败和页面离开时取消旧会话;只清浏览器的 `src` 不足以停止 CloudDrive 预读或 FFmpeg。普通播放器控制栏另使用用户截图、实际 YouTube `e937390a` 播放器 DOM/CSS/JS 和官方帮助记录 `docs/reference-snapshots/youtube-player-controls-user-screenshot.md`:控制栏为透明 59 px 两排结构;左侧播放是 40 px 圆钮,音量从 40 px 展开到 111 px,时间透明;右侧画中画/设置/影院/全屏不是四个描边圆钮,而是 48×40 px 单钮共用一个 40 px 高、28 px 圆角胶囊。已播段、12 px 圆点和卡片观看进度统一使用 Peach 蓝。键盘仍按设置前后跳转,控制栏不重复画 10 秒按钮;本地时刻预览复用九宫格接触表,在线视频只显示时刻。设置浮层按实测 274 px 宽、12 px 圆角、48 px 行高,只列真实能力:氛围模式全局开关、播放速度和实际清晰度;影院模式用按钮或 `T` 切换为大播放器,详情移到下方。Peach 不复制没有实际能力的字幕、睡眠定时或自动播放按钮。F95 masked 链接与 Gofile 文件列表的凭据边界见 `f95-masked-gofile-media`;Mix 只按已解析且diff --git a/docs/STATUS.md b/docs/STATUS.mdindex 1f3dd3a4c..6db212816 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -39,6 +39,7 @@ undefine## 本批修正与验证+- 2026-08-30 口味页“不合口味”归因和底部隐私说明改用共享 secondary Note:圆圈信息图标、整行中性表面、16px 内容列对齐和 `role="note"` 语义一致,不再以悬空小字挤在面板边缘。Vercel Notifications 当前登录态截图、实时 DOM/CSS 读取超时和 Peach 有意差异已登记;没有真实后续动作,因此不伪造链接。1142×911 和 390×844 实测两条 Note 均无自身或页面横向溢出,窄屏自然换为两行,控制台警告/错误 0;Windows `catalog` 457 项通过。8924 临时预览已更新并恢复浏览器记录视图,不写真实 ledger、不部署或重启 80/443。- 2026-08-30 普通详情与在线关注播放器继续按锁定的 YouTube 证据收口:左下、右下五个可见按钮统一为 40×40 圆框并共用基线,左上统计圆钮与加载速度固定同高;设置浮层只列真实的氛围模式、播放速度和清晰度,氛围模式沿用 32×18 当前帧取色与模糊扩散并新增全局持久开关;影院按钮与 `T` 在不进入全屏时扩展播放器,详情和队列移到下方。1440×900 与 390×844 的真实在线关注视频实测浮层、开关、1.25× 速度、影院布局、无横向溢出和控制台 0 错误;生产页五个圆框均为 40×40、设置浮层 340×192/22px 圆角,氛围状态已恢复为开启。集成后 `catalog` 455 项全绿;全量 1295 项只剩与本批无关且前两轮通过的预览并发计时用例在高负载下瞬态失败,随后 `catalog` 中同域复核通过。生产 `app.js`/`app.css` 严格 HTTPS 哈希与 `master` 一致,项目 CA `/healthz` 返回 0.7.13、writer、非只读;纯前端资源无需重启,本轮未写真实 ledger、未替换 EXE。- 2026-08-30 完成统计/口味预览反馈:全站最深底色从 `#020408` 提亮为 `#080A0D`,覆盖关注管理、输入与登录表面;关注页直接在线播放新增独立观看事实,不再要求先保存成 asset,真实 ledger 尚未应用新迁移。统计页用系统盘、资源盘、115 与 PikPak 的使用空间表替代单一系统盘,标签 Top 排行在桌面分成两栏、手机单栏;重复分隔线、管理导航/标题对齐、口味数据源说明间距和 `Tag` 文案一并修正。Vercel Table/Home 的已取得原则、浏览器超时与有意差异已锁定。重放到最新主分支后 Windows 正式全量 1303 项通过、13 项按平台跳过;临时副本的 1280×900 与 390×844 实测页面横向溢出 0、管理导航相对内容区居中、标题与阅读列左边一致、存储表 4 行、标签排行 2/1 栏、可见面板唯一且控制台警告/错误 0。更新后预览保留在 8924;未写真实 ledger、未替换 EXE、未部署或重启 80/443。- 2026-08-30 继续收口口味页反馈:标签、创作者、女优、常访问网站、浏览候选与数据源统一为 8px 间隔、1px 边线、6px 圆角的独立小卡片;数据源标题、正文、底部隐私说明统一 16px 节奏,标签来源最后一行不再重复下划线。Peach 创作者/女优继续使用实体头像与代表作品回退;临时预览补齐头像缓存和只读接触表入口后,女优 20/20、创作者 19/20 取得图片。浏览器创作者没有可信个人头像时显示其聚合来源网站图标,API 不返回原始 URL;缓存契约升为 v3,避免 24 小时旧结果遮住新字段。桌面和 390×844 均无横向溢出,catalog 457 项通过;只更新 8924 预览,未写真实 ledger、未部署或重启 80/443。diff --git a/docs/reference-snapshots/vercel-notifications-note.md b/docs/reference-snapshots/vercel-notifications-note.mdnew file mode 100644index 000000000..80762f0ac--- /dev/null+++ b/docs/reference-snapshots/vercel-notifications-note.md@@ -0,0 +1,24 @@+# Vercel Notifications 中性说明 Note 证据(2026-08-30)++## 取得方式++- 页面:<https://vercel.com/sandun-bingshi/~/settings/notifications>+- 用户提供当前登录态截图,尺寸 `1990×139`,SHA-256 为+ `ae1d66ee4147aeeeb4c39b48e21cf655fd8c7b73f0b48034fbbc214bfec097c78`。+- 内置浏览器已打开该页面;继续读取实时 DOM/CSS 时在 30 秒后返回+ `js execution timed out; kernel reset, rerun your request`。实时结构与计算样式未取得,+ 不用猜测补齐。++## 截图锁定的结构++- 补充说明使用一整行中性深色表面,四周圆角,不作为正文末尾的悬空小字。+- 左侧是圆圈信息图标,正文在同一行;存在真实后续动作时,链接紧接正文并加强字重。+- 组件没有关闭按钮,属于持续可见的上下文说明;文字过长时应由正文列自然换行。++## Peach 的复用与差异++- `/taste` 的“不合口味”归因说明和底部隐私说明复用已有 `noteHtml` secondary Note,+ 沿用本地 Lucide 圆圈信息图标、语义 `role="note"` 和现有颜色变量。+- 两条说明都没有可执行的后续动作,因此不伪造链接或箭头;错误与页面级问题继续分别使用+ error Note 与 Banner,不扩大中性 Note 的语义。+- Note 与相邻内容保持口味页统一的 16px 内缩;窄屏只允许正文自然换行,不产生横向滚动。diff --git a/docs/reference-sources.json b/docs/reference-sources.jsonindex 6b9a2d299..d0e2cd1b8 100644--- a/docs/reference-sources.json+++ b/docs/reference-sources.json@@ -182,6 +182,20 @@"tests/test_web_ui.py"]},+ {+ "id": "vercel-notifications-note",+ "name": "Vercel Notifications 中性说明 Note",+ "url": "https://vercel.com/sandun-bingshi/~/settings/notifications",+ "snapshot": "docs/reference-snapshots/vercel-notifications-note.md",+ "checked_on": "2026-08-30",+ "sha256": "2876093eb7f3cad9a56af6a5b3e6d42e5aac8761f64de173bb1985822112b021",+ "role": "口味页底部补充说明的中性 Note 结构依据;持续可见、信息图标在左,无真实动作时不伪造链接。",+ "consumers": [+ "web/app.css",+ "web/app.js",+ "tests/test_web_ui.py"+ ]+ },{"id": "youtube-player-controls-user-screenshot","name": "YouTube 播放器控件、设置、影院与氛围模式证据",diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex f7555756a..21f904f75 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -769,6 +769,8 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("/api/taste/refresh")self.assertPageContains("/api/taste/source")self.assertPageContains("原始 URL、标题与搜索内容不会显示在页面")+ self.assertPageContains("noteHtml('“不合口味”只记录到具体项目与理由,不自动给标签降权。',{className:'tastefootnote tastenegative'})")+ self.assertPageContains("noteHtml('原始 URL、标题与搜索内容不会显示在页面,也不会写入 ledger;所有画像均为候选。',{className:'tastefootnote tasteprivacy'})")self.assertPageContains("data-taste-window")self.assertPageContains("data-taste-remove")self.assertPageContains('role="radiogroup" aria-label="口味证据来源"')@@ -1175,7 +1177,8 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains(".insighttable{border-top:0}")self.assertPageContains(".insight-layout .managebar{margin-left:auto;margin-right:auto}")self.assertPageContains(".insight-layout .managetitle,.insight-layout .pagelede{width:min(1100px,100%)")- self.assertPageContains(".tasteprivacy{margin:16px 16px 0")+ self.assertPageLacks(".tasteprivacy{margin:16px 16px 0")+ self.assertPageLacks('<p class="tasteprivacy">')def test_duplicate_and_trash_descriptions_share_one_page_lede(self):self.assertPageContains('class="pagelede mono" id="manageLede" hidden')diff --git a/web/app.css b/web/app.cssindex 6b228e686..b3b167005 100644--- a/web/app.css+++ b/web/app.css@@ -260,9 +260,8 @@ button,a,input,textarea,select,summary{touch-action:manipulation}.kv .u{color:var(--muted);font-size:var(--fs-xs);margin-left:5px}.statmetric{padding:3px 0 12px;border-bottom:1px solid var(--line-soft)}.statmetric:last-child{padding-bottom:0;border-bottom:0}.geist-progress{height:8px;margin-top:7px;overflow:hidden;border-radius:var(--pill-radius);background:var(--line-soft)}.geist-progress i{display:block;width:var(--progress-value);height:100%;border-radius:inherit;background:var(--tungsten)}.tastecovermetric{display:grid;gap:7px;padding:14px 0}.tastecovermetric+.tastecovermetric{border-top:1px solid var(--line-soft)}.tastecovermetric>span,.tastecovermetric>small{color:var(--muted);font-size:var(--fs-xs)}.tastecovermetric>b{font-size:var(--fs-2xl);font-variant-numeric:tabular-nums}-.tastehero{margin-bottom:16px}.tasteanalysis{margin-bottom:16px}.tasteranks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tasteranks-tags{grid-template-columns:repeat(4,minmax(0,1fr))}.tasterank{width:100%;min-width:0;min-height:58px;box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line-soft);border-radius:var(--control-radius);background:var(--overlay-5);color:var(--ink);text-align:left}.tasterank-tag{min-height:54px;padding:8px 10px}.tasterank-visual{grid-template-columns:32px 30px minmax(0,1fr) 18px}.tasterank:is(button){cursor:pointer}.tasterank:is(button):hover{border-color:var(--border-15);background:var(--hover)}.tasterank:is(button):focus-visible{position:relative;z-index:1;outline:2px solid var(--tungsten);outline-offset:-2px}.tasterank>span:nth-last-child(2){min-width:0}.tasterank b,.tasterank small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tasterank small{margin-top:2px;color:var(--muted);font-size:var(--fs-xs);font-weight:400}.tasterank>svg{justify-self:end;width:16px;height:16px;stroke:currentColor;fill:none}.tastepos{width:100%;text-align:center;color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.tasteavatar{position:relative;width:30px;height:30px;overflow:hidden;border-radius:50%;background:var(--overlay-5);display:grid;place-items:center;color:var(--muted);font-size:var(--fs-xs);font-weight:650}.tasteavatar .ini{position:absolute;inset:0;display:grid;place-items:center}.tasteavatar img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}.tasteavatar.tastesite{border-radius:8px}.tasteavatar.tastesite img{inset:5px;width:20px;height:20px;object-fit:contain}.tastenegative{margin:-4px 2px 16px;color:var(--muted);font-size:var(--fs-xs)}-.tastesources{margin-top:16px}.tastesources>header{min-height:0;padding-block:14px}.tastesources .insightpanelbody{padding:16px}.tastesources .insightpanelbody>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tastesource{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-soft);border-radius:var(--control-radius);background:var(--overlay-5)}.tastebrowser{width:32px;height:32px;border-radius:9px;background:var(--overlay-5);display:grid;place-items:center;color:var(--tungsten)}.tastebrowser svg,.tastesource>button svg{width:17px;height:17px;stroke:currentColor;fill:none}.tastesource b,.tastesource small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tastesource small{color:var(--muted);font-size:var(--fs-xs);margin-top:2px}.tastesource>button{width:32px;height:32px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}.tastesource>button:hover{background:var(--hover);color:var(--drop)}.tasteprivacy{margin:16px 16px 0;color:var(--muted);font-size:var(--fs-xs)}-.tastenegative{margin-inline:16px}+.tastehero{margin-bottom:16px}.tasteanalysis{margin-bottom:16px}.tasteranks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tasteranks-tags{grid-template-columns:repeat(4,minmax(0,1fr))}.tasterank{width:100%;min-width:0;min-height:58px;box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line-soft);border-radius:var(--control-radius);background:var(--overlay-5);color:var(--ink);text-align:left}.tasterank-tag{min-height:54px;padding:8px 10px}.tasterank-visual{grid-template-columns:32px 30px minmax(0,1fr) 18px}.tasterank:is(button){cursor:pointer}.tasterank:is(button):hover{border-color:var(--border-15);background:var(--hover)}.tasterank:is(button):focus-visible{position:relative;z-index:1;outline:2px solid var(--tungsten);outline-offset:-2px}.tasterank>span:nth-last-child(2){min-width:0}.tasterank b,.tasterank small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tasterank small{margin-top:2px;color:var(--muted);font-size:var(--fs-xs);font-weight:400}.tasterank>svg{justify-self:end;width:16px;height:16px;stroke:currentColor;fill:none}.tastepos{width:100%;text-align:center;color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.tasteavatar{position:relative;width:30px;height:30px;overflow:hidden;border-radius:50%;background:var(--overlay-5);display:grid;place-items:center;color:var(--muted);font-size:var(--fs-xs);font-weight:650}.tasteavatar .ini{position:absolute;inset:0;display:grid;place-items:center}.tasteavatar img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}.tasteavatar.tastesite{border-radius:8px}.tasteavatar.tastesite img{inset:5px;width:20px;height:20px;object-fit:contain}+.tastesources{margin-top:16px}.tastesources>header{min-height:0;padding-block:14px}.tastesources .insightpanelbody{padding:16px}.tastesources .insightpanelbody>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tastesource{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-soft);border-radius:var(--control-radius);background:var(--overlay-5)}.tastebrowser{width:32px;height:32px;border-radius:9px;background:var(--overlay-5);display:grid;place-items:center;color:var(--tungsten)}.tastebrowser svg,.tastesource>button svg{width:17px;height:17px;stroke:currentColor;fill:none}.tastesource b,.tastesource small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tastesource small{color:var(--muted);font-size:var(--fs-xs);margin-top:2px}.tastesource>button{width:32px;height:32px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}.tastesource>button:hover{background:var(--hover);color:var(--drop)}@media(max-width:900px){.insightdetailbody,.tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}.tasteranks{grid-template-columns:repeat(2,minmax(0,1fr))}.tasteranks-tags{grid-template-columns:repeat(3,minmax(0,1fr))}.tastesources .insightpanelbody>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.insighttoolbar,.tastehead{align-items:stretch}.tasteactions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-left:0}.tasteactions select{grid-column:1/-1}.tasteactions button{justify-content:center}.insightswitch{align-self:flex-start}.metricstrip,.tastesummaries{grid-auto-columns:minmax(168px,82%)}.insightdetailbody,.tastehero{min-height:0;grid-template-columns:minmax(0,1fr)}.insightcopy{border-right:0;border-bottom:1px solid var(--line-soft);padding:22px 18px}.insightcopy h2{font-size:var(--fs-3xl)}.insightcopy p{max-width:none;margin-top:18px}.insightvisual,.insightfacts,.tastebars{padding:18px}.insightpanel>header{padding:0 14px}.insightpanelbody{padding:12px}.insighttablehead,.insighttablerow{grid-template-columns:minmax(0,1fr);gap:3px}.insighttablehead span:last-child{display:none}.insighttablerow b{text-align:left;font-size:var(--fs-xs)}.tasteranks,.tasteranks-tags,.tastesources .insightpanelbody>div{grid-template-columns:minmax(0,1fr)}.tastesummary>b{font-size:var(--fs-xl)}.tastesource{grid-template-columns:32px minmax(0,1fr) 32px}}@media(max-width:640px){.insightranking{grid-template-columns:minmax(0,1fr)}.insightstorage{padding:0}}diff --git a/web/app.js b/web/app.jsindex f9f5d63bb..e570e7e00 100644--- a/web/app.js+++ b/web/app.js@@ -1685,10 +1685,10 @@ function renderTaste(d){${rankPanel('peach','creators',rank.peach_creators||[],'creator','暂无创作者证据','creator')}${rankPanel('peach','performers',rank.peach_performers||rank.performers||[],'performer','暂无女优证据','performer')}</div></section>- <p class="tastenegative" data-taste-evidence-panel="peach"${tasteEvidence==='peach'?'':' hidden'}>“不合口味”只记录到具体项目与理由,不自动给标签降权。</p>+ <div data-taste-evidence-panel="peach"${tasteEvidence==='peach'?'':' hidden'}>${noteHtml('“不合口味”只记录到具体项目与理由,不自动给标签降权。',{className:'tastefootnote tastenegative'})}</div><section class="insightpanel tastesources"><header><div><h3>数据源</h3><p>支持 macOS / Windows 的 Zen、Safari、Firefox、Chrome;这里列出已经采集的设备。</p></div></header><div class="insightpanelbody"><div>${sourceRows||emptyStateHtml('database','还没有数据源','导入或读取浏览记录后,这里会列出已采集设备。')}</div></div></section>- <p class="tasteprivacy">原始 URL、标题与搜索内容不会显示在页面,也不会写入 ledger;所有画像均为候选。</p>+ ${noteHtml('原始 URL、标题与搜索内容不会显示在页面,也不会写入 ledger;所有画像均为候选。',{className:'tastefootnote tasteprivacy'})}</div>`;const root=$('#stats'),stateEl=root.querySelector('[data-taste-state]'),file=root.querySelector('[data-taste-file]');root.querySelector('[data-taste-window]').value=d.window||tasteWindow;