:root { --bg: #f7f7f8; --card: #fff; --ink: #1a1a1f; --muted: #8a8a94; --line: #e6e6ea; --accent: #5b5bd6; --accent-soft: #ececfb; --ok: #15a36a; --bad: #d04646; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .wrap { max-width: 1180px; margin: 0 auto; padding: 22px 18px 60px; } h1 { font-size: 22px; margin: 0 0 2px; letter-spacing: .5px; } .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; } /* 创作Demo:家族选择器左右两栏竖排,按尾缀分组 */ .famcols { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; } .famcol { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; } .famcol-hd { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 2px 4px; } .fbtn { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; text-align: left; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 13px; color: var(--ink); cursor: pointer; } .fbtn:hover { border-color: var(--accent); } .fbtn.on { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; } .fbtn-pre { flex: 0 1 auto; } .fbtn-suf { flex: 0 0 auto; margin-left: auto; opacity: 0.7; } /* 尾缀靠右、略淡 */ .fbtn.on .fbtn-suf { opacity: 0.85; } /* 创作Query正交搜索结果:每条 query 一块 */ .qblock { margin: 14px 0 22px; } .qbhd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); } .qbq { font-size: 15px; font-weight: 700; color: var(--ink); } /* 页面切换顶栏 */ .topnav { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; } .topnav a { padding: 8px 2px; color: var(--muted); font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; } .topnav a.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; } /* 创作Query Demo:多列(轴列 + Query列) */ .cdemo { display: flex; gap: 10px; align-items: flex-start; overflow-x: auto; padding-bottom: 8px; } .axcol { flex: 0 0 auto; width: 114px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; } .axcol.qcol { flex: 1 1 auto; min-width: 560px; } .axhd { font-size: 13px; font-weight: 700; padding: 9px 11px; border-bottom: 1px solid var(--line); background: #fafafb; display: flex; align-items: center; justify-content: space-between; gap: 6px; } .axhd.qhd { color: var(--accent); } .axhd .gn { font-size: 11px; font-weight: 600; color: var(--muted); background: #f0f0f3; border-radius: 10px; padding: 1px 7px; } .qhd-metrics { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .avgcreation { font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 8px; white-space: nowrap; } .avgcreation.done { color: var(--ok); background: #e6f6ee; } .avgcreation.pending { color: #9a6a00; background: #fff6df; } .axlist { max-height: 62vh; overflow: auto; } .axv { font-size: 12.5px; padding: 5px 11px; border-bottom: 1px solid #f3f3f5; color: #555; white-space: nowrap; } .axv.grp { font-weight: 700; color: #222; background: #fafafb; } .axv.child { padding-left: 26px; color: #666; } .axv.child::before { content: '·'; color: var(--muted); margin-right: 6px; } .qrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; padding: 6px 11px; border-bottom: 1px solid #f3f3f5; font-size: 13px; } .qrow.keep .qmark { color: var(--ok); font-weight: 700; } .qrow.drop { color: var(--muted); } .qrow.drop .qmark { color: var(--bad); } .qrow.drop .qtext { text-decoration: line-through; } .qmark { flex: 0 0 auto; } .qvalid { flex: 0 0 auto; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 9px; } .qvalid.ok { color: var(--ok); background: #e6f6ee; } .qvalid.low { color: var(--bad); background: #fbeaea; } .qtext { flex: 1 1 auto; white-space: normal; word-break: break-word; } /* 长 query 换行显示,别截断 */ .qreason { flex: 1 0 100%; margin-left: 20px; color: var(--muted); font-size: 11.5px; } /* 理由独占一行、占满宽 */ .qdetail { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; font-size: 11.5px; color: var(--muted); background: #fff; } .qdetail.on { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); } .qdetail span { color: inherit; opacity: .8; } .qcreation { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; border-radius: 9px; padding: 1px 7px; white-space: nowrap; } .qcreation.done { color: var(--ok); background: #e6f6ee; } .qcreation.pending { color: #9a6a00; background: #fff6df; } /* 顶部主导航 */ .nav { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; } .nav button { border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 7px 16px; border-radius: 9px; cursor: pointer; font-size: 13.5px; } .nav button.on { background: var(--accent); border-color: var(--accent); color: #fff; } /* 筛选条 */ .filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } .filters select, .filters .seg { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--ink); } .seg { display: inline-flex; padding: 0; overflow: hidden; } .seg button { border: 0; background: transparent; padding: 6px 12px; cursor: pointer; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); } .seg button:last-child { border-right: 0; } .seg button.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; } .count { color: var(--muted); font-size: 12.5px; margin-left: auto; } /* 表格(query 列表) */ table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; } th { background: #fafafb; color: var(--muted); font-weight: 600; white-space: nowrap; } tr:last-child td { border-bottom: 0; } td.q { font-weight: 600; } .tag { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 1px 7px; font-size: 12px; margin: 1px 3px 1px 0; white-space: nowrap; } .tag.k { background: #f0f0f3; color: #555; } /* 多轴正交 query 的创作筛选层(留/排除) */ .qdrop { opacity: 0.5; } .qdrop .q { text-decoration: line-through; } .fcell { white-space: nowrap; } .fbadge { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; } .fbadge.keep { color: var(--ok); background: #e6f6ee; } .fbadge.drop { color: var(--bad); background: #fbeaea; } .freason { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; max-width: 220px; white-space: normal; } /* 正交轴标签:横向拉开间距 */ .axes { display: flex; flex-wrap: wrap; gap: 6px 18px; } .axes .tag { margin: 0; } /* 「查看人工定义的轴」幽灵按钮 */ .btn.ghost { background: #fff; color: var(--accent); border: 1px solid var(--accent-soft); } .btn.ghost:hover { background: var(--accent-soft); text-decoration: none; } /* 人工定义轴弹窗 */ .modal-mask { position: fixed; inset: 0; background: rgba(20, 20, 30, .38); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 24px; } .modal { background: #fff; border-radius: 14px; width: min(560px, 100%); max-height: 80vh; overflow: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); } .modal-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; } .modal-hd b { font-size: 14.5px; } .modal-hd .x { cursor: pointer; color: var(--muted); font-size: 15px; padding: 2px 6px; } .modal-bd { padding: 8px 18px 18px; } .modal-bd .note { color: var(--muted); font-size: 12px; margin: 8px 0 14px; } .axrow { padding: 10px 0; border-bottom: 1px solid var(--line); } .axrow:last-child { border-bottom: 0; } .axname { font-weight: 700; font-size: 13px; margin-bottom: 7px; } .axvals { display: flex; flex-wrap: wrap; gap: 6px; } .axsub { display: flex; flex-direction: column; gap: 7px; width: 100%; } .axsubrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .axsubkey { font-size: 12px; color: var(--accent); font-weight: 600; min-width: 56px; } /* 判断提示词弹窗 */ .modal.wide { width: min(840px, 100%); } .ptabs { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; } .ptabs button { border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 12.5px; } .ptabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; } .prompt { background: #0f1021; color: #e6e6ea; border-radius: 10px; padding: 14px 16px; font: 12px/1.65 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 56vh; overflow: auto; margin: 0; } /* 搜索结果卡 */ .cards { display: grid; grid-template-columns: 1fr; gap: 12px; } .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; } .card .head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; } .card .head .q { font-weight: 700; font-size: 14.5px; } .card .head .m { color: var(--muted); font-size: 12px; } .lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .lane { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fcfcfd; min-width: 0; } .lane .pl { font-size: 12px; font-weight: 700; margin-bottom: 8px; } .lane .pl.dy { color: #111; } .lane .pl.wx { color: #15a36a; } .lane video, .lane img.cover { width: 100%; max-height: 210px; object-fit: cover; border-radius: 8px; background: #000; display: block; } .lane .t { flex: 1 1 auto; font-size: 12.5px; margin: 0; line-height: 1.45; font-weight: 700; min-width: 0; } .card-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 8px 0 3px; } /* 创作知识 / 非创作知识 分类角标 */ .cls { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; margin: 0; white-space: nowrap; } .cls.yes { background: #e6f7ee; color: var(--ok); } .cls.no { background: #fbeaea; color: var(--bad); } .cls.none { background: #f0f0f3; color: var(--muted); font-weight: 600; } /* 小红书/公众号完整图文:卡片内只放缩略条,点击进大图阅读 */ .thumbstrip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; } .thumbbtn, .coverbtn { border: 0; padding: 0; background: transparent; cursor: zoom-in; flex: 0 0 auto; position: relative; } .thumbbtn .gimg { width: 72px; height: 92px; object-fit: cover; object-position: top; border-radius: 7px; background: #f0f0f3; border: 1px solid var(--line); display: block; } .thumbbtn span { position: absolute; right: 4px; bottom: 4px; font-size: 10px; line-height: 1; color: #fff; background: rgba(0,0,0,.58); border-radius: 8px; padding: 2px 5px; } .coverbtn { width: 100%; display: block; } .lane .cover { cursor: zoom-in; } /* 长正文 / 知识点默认折叠,避免卡片一屏过高 */ .fold { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; } .fold summary { cursor: pointer; list-style: none; padding: 6px 9px; font-size: 12px; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: space-between; } .fold summary::-webkit-details-marker { display: none; } .fold summary::after { content: '展开'; font-size: 11px; font-weight: 600; color: var(--muted); } .fold[open] summary::after { content: '收起'; } .knfold { border-color: var(--accent-soft); } .knfold summary { background: var(--accent-soft); color: var(--accent); } .knbody { padding: 9px 10px; font-size: 12px; line-height: 1.68; color: var(--ink); white-space: pre-wrap; max-height: 260px; overflow: auto; } /* 点击放大大图(小红书原帖被反爬封,直接看本地大图) */ .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 22px 72px; cursor: zoom-out; } .lbfig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; } .lightbox img { max-width: calc(100vw - 150px); max-height: calc(100vh - 76px); object-fit: contain; border-radius: 6px; cursor: default; background: #fff; } .lbfig figcaption { color: #f4f4f7; font-size: 12px; max-width: min(860px, 90vw); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lightbox .lbx { position: fixed; top: 14px; right: 20px; color: #fff; font-size: 28px; cursor: pointer; border: 0; background: transparent; padding: 4px 8px; } .lbnav { position: fixed; top: 50%; transform: translateY(-50%); width: 42px; height: 54px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; cursor: pointer; } .lbnav:hover { background: rgba(255,255,255,.24); } .lbnav.prev { left: 18px; } .lbnav.next { right: 18px; } .lane .bt { font-size: 11.8px; color: #444; line-height: 1.58; padding: 0 10px 9px; margin: 0; max-height: 190px; overflow: auto; white-space: pre-wrap; } .lane .meta { color: var(--muted); font-size: 11.5px; } .lane .fail { color: var(--bad); font-size: 12.5px; padding: 18px 4px; text-align: center; } /* 分页 */ .pager { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 18px; } .pager button { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 13px; } .pager button:disabled { opacity: .4; cursor: default; } .pager .at { color: var(--muted); font-size: 12.5px; padding: 0 6px; } .empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 13.5px; } /* 每条 query 的「真实搜索结果」按钮 */ .btn { display: inline-block; background: var(--accent); color: #fff; border-radius: 8px; padding: 5px 11px; font-size: 12.5px; white-space: nowrap; } .btn:hover { text-decoration: none; opacity: .9; } .btn.off { background: #f1f1f4; color: var(--muted); cursor: default; } /* query 详情页(点进该 query 的多个视频) */ .detail-top { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .back { font-size: 13px; } .dq { font-size: 18px; margin: 10px 0 2px; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } .result-band + .result-band { margin-top: 16px; } .result-row { align-items: start; } .row-empty { color: var(--muted); font-size: 12.5px; padding: 8px 0 12px; border-top: 1px dashed var(--line); } /* 渠道分区:抖音一组、微信公众号一组,标题色区分 */ .pgroup { margin-top: 22px; } .ghead { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 2px solid var(--line); } .ghead.dy { color: #111; border-bottom-color: #111; } .ghead.wx { color: var(--ok); border-bottom-color: var(--ok); } .ghead.xhs { color: #ff2442; border-bottom-color: #ff2442; } .ghead .gn { font-size: 11.5px; font-weight: 600; color: var(--muted); background: #f0f0f3; border-radius: 10px; padding: 1px 8px; } .gnone { color: var(--muted); font-size: 12.5px; padding: 2px 0 6px; } .perr { color: var(--bad); font-size: 12px; margin: -6px 0 10px; } .status { font-size: 11.5px; font-weight: 700; border-radius: 10px; padding: 1px 8px; background: #f0f0f3; color: var(--muted); } .status.done { background: #e6f6ee; color: var(--ok); } .status.partial, .status.running { background: #fff6df; color: #9a6a00; } .status.failed { background: #fbeaea; color: var(--bad); } .src { display: inline-block; margin-top: 8px; font-size: 12px; } /* 平台区内:创作知识 / 非创作知识 小标题(各自起一行) */ .subhd { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink); margin: 14px 0 8px; } .subhd::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); } .subhd.dim { color: var(--muted); } .subhd.dim::before { background: var(--bad); } .subn { font-size: 11px; font-weight: 700; color: var(--muted); background: #f0f0f3; border-radius: 10px; padding: 1px 7px; } /* 卡片左侧细色条,进一步区分渠道归属 */ .lane.dy { border-left: 3px solid #111; } .lane.wx { border-left: 3px solid var(--ok); } .lane.xhs { border-left: 3px solid #ff2442; } @media (max-width: 720px) { .lanes { grid-template-columns: 1fr; } .lightbox { padding: 18px 12px 48px; } .lightbox img { max-width: 96vw; max-height: 82vh; } .lbnav { bottom: 10px; top: auto; transform: none; } .lbnav.prev { left: 26px; } .lbnav.next { right: 26px; } }