: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.decode-on { color: var(--ok); border-color: #d8eadf; background: #e6f6ee; font-weight: 700; } .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; } .detail-link { margin-left: 8px; font-weight: 700; } /* 平台区内:创作知识 / 非创作知识 小标题(各自起一行) */ .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; } /* decode 真实单例详情 */ .source-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; align-items: start; margin: 12px 0 18px; } .source-summary { color: #3f3f46; margin: 12px 0; white-space: pre-wrap; max-width: 72ch; } .source-media { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 180px; } .source-media video { width: 100%; max-height: 360px; border-radius: 8px; background: #000; } .decode-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; } .decode-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: #f0f0f3; } .media-empty { display: grid; min-height: 160px; place-items: center; color: var(--muted); background: #fafafb; border-radius: 8px; } .decode-strip { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; margin-bottom: 20px; } .decode-strip > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; } .decode-strip span { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 3px; } .decode-strip b { font-size: 18px; } .decode-section { margin-top: 22px; } .decode-section h2 { font-size: 16px; margin: 0 0 10px; } .read-panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: #292932; white-space: pre-wrap; line-height: 1.72; max-height: 360px; overflow: auto; } .gate-panel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; color: var(--muted); } .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; background: #f0f0f3; color: #555; } .pill.decoded, .pill.ingested { background: #e6f6ee; color: var(--ok); } .pill.rejected, .pill.failed { background: #fbeaea; color: var(--bad); } .pill.draft, .pill.pending { background: #fff6df; color: #9a6a00; } .knowledge-grid, .payload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; } .knowledge-card, .payload-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; min-width: 0; } .knowledge-card.what { border-color: #cfe8ff; } .knowledge-card.how { border-color: #d8eadf; } .knowledge-card.why { border-color: #eadfcf; } .knowledge-head, .payload-head { display: flex; gap: 8px; justify-content: space-between; align-items: start; margin-bottom: 8px; } .knowledge-head span { flex: 0 0 auto; color: var(--accent); background: var(--accent-soft); border-radius: 7px; padding: 2px 7px; font-size: 11.5px; font-weight: 700; } .knowledge-head b, .payload-head b { font-size: 14px; line-height: 1.45; } .knowledge-meta, .payload-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 11.5px; margin-bottom: 9px; } .knowledge-purpose { margin: 8px 0 10px; color: #33343c; white-space: pre-wrap; } .step-list, .what-body { display: grid; gap: 8px; margin-top: 8px; } .step-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; padding: 9px 10px; background: #fafafb; border: 1px solid #eeeef1; border-radius: 8px; } .step-no { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; background: var(--accent); font-size: 12px; font-weight: 700; } .step-row b { display: inline-block; min-width: 34px; color: #555; margin-right: 8px; } .what-row { display: grid; gap: 4px; padding: 9px 10px; background: #fafafb; border: 1px solid #eeeef1; border-radius: 8px; } .scope-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .scope-chip { border-radius: 999px; border: 1px solid var(--line); background: #fafafb; color: #555; padding: 2px 8px; font-size: 11.5px; } .jsonbox, .payload-content { margin: 0; padding: 10px; border-radius: 8px; background: #14151f; color: #f1f1f5; white-space: pre-wrap; word-break: break-word; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-height: 280px; overflow: auto; } .payload-content { margin-top: 8px; background: #fbfbfd; color: #2f3038; border: 1px solid var(--line); } .decode-shell { min-height: 100vh; } /* 老版 Decode 知识详情页视觉系统:只作用于 decode-item 路由 */ .legacy-decode-page { height: 100vh; min-height: 100vh; overflow: hidden; background: #f5f5f7; color: #111827; font: 13px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; } .legacy-decode-page * { box-sizing: border-box; } .legacy-decode-page a { color: #2563eb; text-decoration: none; } .legacy-decode-page a:hover { text-decoration: underline; } .legacy-decode-page .app { height: 100vh; display: flex; flex-direction: column; } .legacy-decode-page header.top { flex: none; padding: 11px 18px 9px; background: #fff; border-bottom: 1px solid #e5e7eb; } .legacy-decode-page header.top h1 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: 0; } .legacy-decode-page .picker { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .legacy-decode-page .picker .lab { font-size: 11.5px; color: #9ca3af; margin-right: 2px; } .legacy-decode-page .pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 400; line-height: 1.4; padding: 4px 11px; border-radius: 14px; border: 1px solid #e5e7eb; background: #fff; color: #6b7280; cursor: pointer; } .legacy-decode-page .pill:hover { background: #f3f4f6; text-decoration: none; } .legacy-decode-page .pill.on { background: #1e293b; color: #fff; border-color: #1e293b; font-weight: 600; } .legacy-decode-page .pill .n { font-size: 10px; opacity: .7; margin-left: 4px; } .legacy-decode-page .scroll { flex: 1; overflow: auto; background: #f5f5f7; padding-bottom: 40px; } .legacy-decode-page .empty { color: #9ca3af; padding: 50px; text-align: center; } .legacy-decode-page details.src { display: block; margin: 10px 18px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; } .legacy-decode-page details.src summary { padding: 8px 14px; cursor: pointer; font-size: 12px; color: #475569; list-style: none; } .legacy-decode-page details.src summary::-webkit-details-marker { display: none; } .legacy-decode-page details.src summary::before { content: '▶ '; color: #94a3b8; font-size: 10px; } .legacy-decode-page details.src[open] summary::before { content: '▼ '; } .legacy-decode-page .srcbody { padding: 4px 16px 12px; font-size: 12px; } .legacy-decode-page .srcbody a { color: #2563eb; word-break: break-all; } .legacy-decode-page .srcimgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .legacy-decode-page .srcimgs img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid #e2e8f0; cursor: zoom-in; } .legacy-decode-page .srcvideo { margin-top: 8px; } .legacy-decode-page .srcvideo video { width: min(720px, 100%); max-height: 360px; background: #000; border-radius: 5px; } .legacy-decode-page .srcread { font-size: 12.5px; color: #1f2937; line-height: 1.6; margin-top: 6px; background: #fff; border-left: 3px solid #0e7490; padding: 6px 9px; } .legacy-decode-page .barhint { margin: 8px 18px 0; font-size: 11.5px; color: #6b7280; } .legacy-decode-page .ribbon { margin: 11px 18px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; } .legacy-decode-page .rcap { font-size: 11.5px; color: #6b7280; margin-bottom: 8px; } .legacy-decode-page .rsteps { display: flex; align-items: stretch; flex-wrap: wrap; } .legacy-decode-page .rstep { flex: 1; min-width: 118px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 9px; cursor: pointer; background: #f8fafc; } .legacy-decode-page .rstep:hover { background: #ecfeff; border-color: #99d5d0; } .legacy-decode-page .rstep.auto { cursor: default; background: #f1f5f9; opacity: .9; } .legacy-decode-page .rstep.auto:hover { background: #f1f5f9; border-color: #e2e8f0; } .legacy-decode-page .rtop { display: flex; align-items: center; gap: 7px; } .legacy-decode-page .rn { width: 18px; height: 18px; border-radius: 50%; background: #0e7490; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; } .legacy-decode-page .rstep.auto .rn { background: #94a3b8; } .legacy-decode-page .rlab { font-size: 13.5px; font-weight: 600; } .legacy-decode-page .rdesc { font-size: 11.5px; color: #6b7280; margin: 5px 0 7px; line-height: 1.5; } .legacy-decode-page .rbtn { font-size: 11.5px; color: #0e7490; } .legacy-decode-page .rstep.auto .rbtn { color: #94a3b8; } .legacy-decode-page .rarrow { display: flex; align-items: center; color: #cbd5e1; font-size: 18px; padding: 0 4px; flex: none; } .legacy-decode-page .lbtn { padding: 3px 9px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; cursor: pointer; font-size: 11.5px; color: #334155; font-family: inherit; } .legacy-decode-page .lbtn:hover { background: #f1f5f9; text-decoration: none; } .legacy-decode-page .kcard { margin: 12px 18px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; } .legacy-decode-page .khead { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #eef2f7; flex-wrap: wrap; } .legacy-decode-page .kno { font-size: 11px; font-weight: 700; color: #fff; background: #475569; border-radius: 4px; padding: 1px 7px; } .legacy-decode-page .ktype { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 8px; } .legacy-decode-page .ty-how { background: #cffafe; color: #155e75; } .legacy-decode-page .ty-what { background: #fae8ff; color: #86198f; } .legacy-decode-page .ty-why { background: #fef9c3; color: #854d0e; } .legacy-decode-page .ktitle { font-size: 14px; font-weight: 600; } .legacy-decode-page .krole { font-size: 10.5px; padding: 1px 6px; border-radius: 3px; background: #f1f5f9; color: #64748b; } .legacy-decode-page .kbiz { font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #fef3c7; color: #92400e; } .legacy-decode-page .kacts { margin-left: auto; display: flex; gap: 6px; } .legacy-decode-page .kbody { padding: 6px 14px 13px; } .legacy-decode-page .twrap { overflow: auto; border: 1px solid #e5e7eb; border-radius: 6px; margin-top: 8px; } .legacy-decode-page table.proc { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border: 0; border-radius: 0; } .legacy-decode-page table.proc th, .legacy-decode-page table.proc td { border: 1px solid #e5e7eb; padding: 6px 8px; vertical-align: top; line-height: 1.5; } .legacy-decode-page table.proc thead th { font-weight: 600; text-align: center; font-size: 12px; position: sticky; top: 0; z-index: 3; } .legacy-decode-page table.proc thead tr:nth-child(2) th { top: 30px; } .legacy-decode-page td.idx { width: 30px; text-align: center; color: #6b7280; background: #f8fafc; } .legacy-decode-page th.c-intent, .legacy-decode-page td.intent { width: 210px; min-width: 210px; max-width: 210px; white-space: pre-wrap; } .legacy-decode-page th.c-cstage, .legacy-decode-page td.cstage { width: 54px; text-align: center; background: #ecfeff; } .legacy-decode-page th.c-act, .legacy-decode-page td.act { min-width: 110px; max-width: 140px; word-break: break-word; background: #ecfeff; } .legacy-decode-page th.c-dir, .legacy-decode-page td.dir { min-width: 230px; max-width: 330px; white-space: pre-wrap; word-break: break-word; background: #ecfeff; } .legacy-decode-page th.c-out, .legacy-decode-page td.out { min-width: 160px; max-width: 240px; white-space: pre-wrap; background: #ecfeff; } .legacy-decode-page th.c-scope, .legacy-decode-page td.scope { width: 92px; min-width: 92px; max-width: 92px; word-break: break-word; } .legacy-decode-page th.g-frame { background: #0e7490; color: #fff; } .legacy-decode-page th.g-scope { background: #7c3aed; color: #fff; } .legacy-decode-page th.c-idx { background: #475569; color: #fff; vertical-align: middle; } .legacy-decode-page thead tr:nth-child(2) th.c-intent, .legacy-decode-page thead tr:nth-child(2) th.c-cstage, .legacy-decode-page thead tr:nth-child(2) th.c-act, .legacy-decode-page thead tr:nth-child(2) th.c-dir, .legacy-decode-page thead tr:nth-child(2) th.c-out { background: #0891b2; color: #fff; } .legacy-decode-page thead tr:nth-child(2) th.s-substance { background: #dc2626; color: #fff; } .legacy-decode-page thead tr:nth-child(2) th.s-form { background: #2563eb; color: #fff; } .legacy-decode-page thead tr:nth-child(2) th.s-feeling { background: #db2777; color: #fff; } .legacy-decode-page thead tr:nth-child(2) th.s-effect { background: #16a34a; color: #fff; } .legacy-decode-page thead tr:nth-child(2) th.s-intent { background: #d97706; color: #fff; } .legacy-decode-page td.scope.s-substance { background: #fef2f2; } .legacy-decode-page td.scope.s-form { background: #eff6ff; } .legacy-decode-page td.scope.s-feeling { background: #fdf2f8; } .legacy-decode-page td.scope.s-effect { background: #f0fdf4; } .legacy-decode-page td.scope.s-intent { background: #fffbeb; } .legacy-decode-page tr.step > td { border-top: 1.5px solid #cbd5e1; } .legacy-decode-page .cstage-chip { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 10px; background: #ede9fe; color: #5b21b6; } .legacy-decode-page .act-chip { display: inline-block; font-size: 11.5px; padding: 1px 7px; border-radius: 4px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; } .legacy-decode-page .dir-txt { font-size: 11.5px; color: #33312c; line-height: 1.65; } .legacy-decode-page .out-txt { font-size: 11.5px; color: #166534; } .legacy-decode-page .in-txt { font-size: 11.5px; color: #1e40af; line-height: 1.6; } .legacy-decode-page .kindb { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 9px; margin-right: 8px; vertical-align: middle; } .legacy-decode-page .kind-子集 { background: #dbeafe; color: #1e40af; } .legacy-decode-page .kind-多维关系 { background: #dcfce7; color: #166534; } .legacy-decode-page .kind-序列 { background: #fef3c7; color: #92400e; } .legacy-decode-page .dimrule { font-size: 10.5px; padding: 1px 8px; border-radius: 9px; background: #ecfccb; color: #3f6212; margin-right: 8px; vertical-align: middle; } .legacy-decode-page .def { font-size: 13px; background: #fdf4ff; border-left: 3px solid #a21caf; border-radius: 0 6px 6px 0; padding: 8px 12px; margin: 6px 0 10px; } .legacy-decode-page table.elem { border-collapse: collapse; width: 100%; font-size: 12.5px; background: #fff; border: 0; } .legacy-decode-page table.elem td { border: 1px solid #f0e6f5; padding: 6px 10px; text-align: left; vertical-align: top; } .legacy-decode-page table.elem td.el { font-weight: 600; color: #86198f; background: #fdf4ff; width: 130px; } .legacy-decode-page .why-exp { font-size: 12.5px; line-height: 1.72; color: #1f2937; background: #fdf4ff; border-left: 3px solid #a21caf; border-radius: 0 6px 6px 0; padding: 9px 13px; margin: 6px 0; } .legacy-decode-page .kscopes { margin-top: 9px; display: flex; gap: 5px; flex-wrap: wrap; align-items: center; } .legacy-decode-page .kscopes .lab { font-size: 11px; color: #9ca3af; } .legacy-decode-page .sv { display: inline-block; cursor: pointer; font-size: 11.5px; padding: 1px 5px; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.7); margin: 1px 0; } .legacy-decode-page .sv:hover { box-shadow: 0 0 0 1px #1e293b; } .legacy-decode-page .sv .k { font-size: 11.5px; opacity: .85; font-weight: 700; margin-right: 4px; } .legacy-decode-page table.proc th.c-scope { font-size: 13.5px; } .legacy-decode-page .sv .mk { font-size: 9px; padding: 0 3px; border-radius: 2px; margin-left: 3px; vertical-align: top; } .legacy-decode-page .mk-new { background: #fde68a; color: #92400e; } .legacy-decode-page .mk-reuse { background: #bbf7d0; color: #166534; } .legacy-decode-page .sv.s-substance { background: #fef2f2; } .legacy-decode-page .sv.s-form { background: #eff6ff; } .legacy-decode-page .sv.s-feeling { background: #fdf2f8; } .legacy-decode-page .sv.s-effect { background: #f0fdf4; } .legacy-decode-page .sv.s-intent { background: #fffbeb; } .legacy-decode-page .modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; width: auto; max-height: none; overflow: visible; border-radius: 0; box-shadow: none; } .legacy-decode-page .mbox { background: #fff; width: 760px; max-width: 94vw; max-height: 86vh; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; } .legacy-decode-page .mbox h2 { margin: 0; padding: 13px 18px; background: #0f766e; color: #fff; font-size: 14px; display: flex; align-items: center; gap: 8px; letter-spacing: 0; } .legacy-decode-page .mbox h2 .x { margin-left: auto; cursor: pointer; font-size: 18px; } .legacy-decode-page .mbox .body { padding: 15px 18px; overflow: auto; } .legacy-decode-page .mbox pre { margin: 0; font: 12.5px/1.7 ui-monospace, Menlo, monospace; white-space: pre-wrap; color: #1f2937; } .legacy-decode-page .copybtn { margin-left: auto; background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); } .legacy-decode-page .copybtn:hover { background: rgba(255,255,255,.2); } .legacy-decode-page .lb { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; z-index: 120; cursor: zoom-out; } .legacy-decode-page .lb img { max-width: 92vw; max-height: 92vh; border-radius: 6px; } @media (max-width: 720px) { .lanes { grid-template-columns: 1fr; } .source-panel { grid-template-columns: 1fr; } .decode-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .knowledge-grid, .payload-grid { 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; } .legacy-decode-page .rsteps { display: block; } .legacy-decode-page .rstep { margin-top: 7px; } .legacy-decode-page .rarrow { display: none; } .legacy-decode-page .khead { align-items: flex-start; } .legacy-decode-page .kacts { margin-left: 0; width: 100%; } }