/* CallWan 3.0.76 界面复刻（原型用），全部限定在 .cw 下 */
.cw {
  --bg: #fbfbf9; --side: #f4f3f0; --line: #e8e6e1; --line-2: #dedbd4;
  --tx: #1d1d1b; --tx-2: #5f5e5a; --tx-3: #9a988f;
  --olive: #5f6f3b; --olive-2: #6f8046; --olive-bg: #e6e8dd; --olive-soft: #eef0e7;
  --bubble: #efeee9; --blue: #3f6fd8; --terra: #c2754f; --terra-soft: #f6e9e1;
  --ok: #3f8f5a; --warn: #c58a1d; --bad: #c4493a;
  position: absolute; inset: 0; display: flex; background: var(--bg); color: var(--tx);
  font: 400 15px/1.6 -apple-system, 'PingFang SC', 'Noto Sans SC', sans-serif; text-align: left; overflow: hidden;
}
.cw * { box-sizing: border-box; }
.cw svg.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cw button { font: inherit; color: inherit; cursor: pointer; }
/* 侧栏 */
.cw-side { width: 286px; flex: none; background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px 12px 0; }
.cw .cw-lights { display: flex; gap: 8px; padding: 4px 6px 18px; }
.cw .cw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #e0ded8; }
.cw .cw-lights i:nth-child(1) { background: #ff5f57; } .cw .cw-lights i:nth-child(2) { background: #febc2e; } .cw .cw-lights i:nth-child(3) { background: #28c840; }
.cw .cw-brand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 18px; }
.cw .cw-brand .logo { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.cw .cw-brand .logo img { width: 30px; }
.cw .cw-brand b { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; }
.cw .cw-brand small { font-size: 11px; color: var(--tx-3); letter-spacing: .1em; }
.cw .cw-brand .tog { margin-left: auto; color: var(--tx-3); }
.cw .cw-nav { display: flex; flex-direction: column; gap: 2px; }
.cw .cw-nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--tx-2); }
.cw .cw-nav a.on { background: var(--olive-bg); color: var(--tx); font-weight: 500; }
.cw .cw-sep { height: 1px; background: var(--line); margin: 14px 6px; }
.cw .cw-new { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.cw .cw-new span { flex: 1; }
.cw .cw-proj-h { display: flex; align-items: center; gap: 12px; margin: 22px 2px 8px; color: var(--tx-2); font-size: 15px; }
.cw .cw-proj-h span { flex: 1; }
.cw .cw-proj-h svg { color: var(--tx-3); width: 17px; height: 17px; }
.cw .cw-proj { display: flex; flex-direction: column; gap: 1px; overflow: hidden; flex: 1; }
.cw .cw-proj .f { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; font-size: 14px; color: var(--tx-2); }
.cw .cw-proj .c { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 22px; border-radius: 8px; font-size: 14px; color: var(--tx-2); }
.cw .cw-proj .c span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cw .cw-proj .c small { font-size: 12px; color: var(--tx-3); }
.cw .cw-proj .c.on { background: var(--olive-bg); color: var(--tx); font-weight: 500; }
.cw .cw-proj .c .dot { width: 7px; height: 7px; border-radius: 50%; background: #d09a4a; flex: none; margin-left: -14px; }
.cw .cw-user { display: flex; align-items: center; gap: 10px; padding: 14px 6px; border-top: 1px solid var(--line); margin: 0 -12px; padding-left: 18px; }
.cw .cw-user .av { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #cfd6bf, #8d9a6b); }
.cw .cw-user b { display: block; font-size: 14px; font-weight: 500; }
.cw .cw-user small { font-size: 12px; color: var(--tx-3); }
/* 主区 */
.cw-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cw .cw-top { height: 56px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.cw .cw-top .crumb { color: var(--tx-2); display: flex; gap: 8px; align-items: center; }
.cw .cw-top .crumb b { color: var(--tx); font-weight: 500; }
.cw .cw-top .sp { flex: 1; }
.cw .cw-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--tx-2); font-size: 13px; }
.cw .cw-search kbd { font: 11px -apple-system, sans-serif; background: var(--side); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--tx-3); }
.cw .cw-ibtn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; color: var(--tx-2); }
.cw .cw-ibtn.on { background: var(--olive-bg); }
.cw .cw-body { flex: 1; min-height: 0; display: flex; }
.cw .cw-center { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.cw .cw-chat-h { height: 54px; flex: none; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.cw .cw-chat-h span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cw .cw-scroll { flex: 1; min-height: 0; overflow-y: auto; scroll-behavior: smooth; }
.cw .cw-scroll::-webkit-scrollbar { width: 6px; } .cw .cw-scroll::-webkit-scrollbar-thumb { background: #dcd9d2; border-radius: 3px; }
.cw .cw-thread { max-width: 820px; margin: 0 auto; padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 14px; }
.cw .cw-empty { margin: auto; text-align: center; color: var(--tx-3); padding-bottom: 60px; }
.cw .cw-empty .spark { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--olive); }
.cw .cw-empty h3 { font-size: 24px; color: var(--tx); font-weight: 600; margin-bottom: 8px; }
.cw .cw-empty .sugs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.cw .cw-empty .sugs span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--tx-2); background: #fff; }

.cw .m-user { align-self: flex-end; max-width: 78%; background: var(--bubble); border-radius: 16px; padding: 12px 18px; font-size: 15px; line-height: 1.7; animation: cwIn .4s ease-out; }
.cw .m-time { align-self: flex-end; display: flex; gap: 14px; font-size: 12px; color: var(--tx-3); margin-top: -6px; }
.cw .m-think { font-size: 15px; line-height: 1.75; color: var(--tx); animation: cwIn .4s ease-out; }
.cw .m-think::before { content: '思考：'; }
.cw .m-say { font-size: 15px; line-height: 1.75; animation: cwIn .4s ease-out; }
.cw .m-say b { font-weight: 600; }
.cw .m-tools { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; position: relative; }
.cw .m-tools::before { content: ''; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.cw .m-tool { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx-2); position: relative; animation: cwIn .35s ease-out; }
.cw .m-tool::before { content: ''; position: absolute; left: -16px; width: 7px; height: 7px; border-radius: 50%; background: var(--olive-2); }
.cw .m-tool.run::before { background: #d4d1c8; animation: cwPulse 1s infinite; }
.cw .m-tool svg { width: 15px; height: 15px; color: var(--tx-3); }
.cw .m-tool em { font-style: normal; color: var(--tx-3); }
.cw .m-tool .pi { width: 16px; height: 16px; }
.cw .m-status { font-size: 14px; color: var(--blue); }
.cw .m-status small { color: var(--tx-3); margin-left: 6px; }
@keyframes cwIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes cwPulse { 50% { opacity: .35; } }
/* 卡片 */
.cw .k { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; animation: cwIn .45s ease-out; }
.cw .k-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.cw .k-h .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; flex: none; }
.cw .k-h .ico img { width: 30px; height: 30px; border-radius: 8px; }
.cw .k-h .sub { font-weight: 400; font-size: 12.5px; color: var(--tx-3); }
.cw .k-h .r { margin-left: auto; display: flex; gap: 8px; align-items: center; font-weight: 400; }
.cw .k-b { padding: 16px 18px; }
.cw .k-f { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); background: #fcfcfa; }
.cw .k-f .note { margin-right: auto; font-size: 12.5px; color: var(--tx-3); }

.cw .btn { height: 34px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cw .btn.pri { background: #c8613b; border-color: #c8613b; color: #fff; font-weight: 500; }
.cw .btn.terra { background: var(--terra); border-color: var(--terra); color: #fff; font-weight: 500; }
.cw .btn.ghost { border-color: transparent; color: var(--tx-2); }
.cw .btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.cw .btn[disabled] { opacity: .45; }

.cw .pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; background: var(--side); color: var(--tx-2); white-space: nowrap; }
.cw .pill.ok { background: #e5f1e8; color: var(--ok); }
.cw .pill.warn { background: #f8eed8; color: #9a6a0e; }
.cw .pill.bad { background: #f6e3e0; color: var(--bad); }
.cw .pill.info { background: #e6edfb; color: var(--blue); }
.cw .pill.olive { background: var(--olive-bg); color: var(--olive); }
.cw .pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.cw .pill.nodot::before { display: none; }

.cw .tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cw .tbl th { text-align: left; font-weight: 500; color: var(--tx-3); font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fcfcfa; }
.cw .tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cw .tbl tr:last-child td { border-bottom: 0; }
.cw .tbl tr.hl td { background: #fbf6ef; }
.cw .tbl tr.dim td { color: var(--tx-3); }
.cw .tbl .t { font-weight: 500; }

.cw .list { display: flex; flex-direction: column; }
.cw .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cw .row:last-child { border-bottom: 0; }
.cw .row .main { flex: 1; min-width: 0; }
.cw .row .main b { font-weight: 500; display: block; }
.cw .row .main small { color: var(--tx-3); font-size: 12.5px; }
.cw .chk { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c9c6bd; flex: none; display: grid; place-items: center; background: #fff; }
.cw .chk.on { background: var(--olive); border-color: var(--olive); }
.cw .chk.on::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.cw .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9c6bd; flex: none; }
.cw .radio.on { border: 5px solid var(--olive); }

.cw .seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--side); border: 1px solid var(--line); gap: 2px; }
.cw .seg span { height: 30px; padding: 0 14px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--tx-2); cursor: pointer; }
.cw .seg span.on { background: #fff; color: var(--tx); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }

.cw .doc { font-size: 14.5px; line-height: 1.85; }
.cw .doc h5 { font-size: 16px; font-weight: 600; margin: 4px 0 6px; }
.cw .doc p + p { margin-top: 8px; }
.cw .doc .mark { background: #fff1c9; padding: 0 2px; border-radius: 3px; }
.cw .doc .del { text-decoration: line-through; color: var(--bad); background: #fbe7e4; padding: 0 2px; }
.cw .doc .ins { color: var(--ok); background: #e3f2e7; padding: 0 2px; }
.cw .quote { border-left: 3px solid var(--olive-bg); padding: 4px 0 4px 12px; color: var(--tx-2); font-size: 13.5px; }

.cw .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cw .tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.cw .tile.on { border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-bg); }
.cw .tile h6 { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cw .tile p { font-size: 12.5px; color: var(--tx-3); margin-top: 4px; line-height: 1.6; }
.cw .thumb { border-radius: 10px; overflow: hidden; background: var(--side); position: relative; }
.cw .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw .thumb .cap { position: absolute; left: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .5); padding: 2px 7px; border-radius: 6px; }
.cw .kv { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; font-size: 13.5px; }
.cw .kv dt { color: var(--tx-3); }
.cw .bar { height: 6px; border-radius: 3px; background: var(--side); overflow: hidden; }
.cw .bar i { display: block; height: 100%; background: var(--olive-2); border-radius: 3px; transition: width 1s ease; }
/* 底部输入框 */
.cw-compose { flex: none; padding: 10px 30px 18px; }
.cw .cw-input { max-width: 820px; margin: 0 auto; border-radius: 20px; background: #fff; border: 1.5px solid #ead9c8; box-shadow: 0 0 0 4px rgba(236, 180, 140, .12), 0 6px 20px rgba(0, 0, 0, .04); padding: 14px 16px 10px 18px; }
.cw .cw-input .ta { min-height: 26px; font-size: 15px; color: var(--tx); line-height: 1.6; }
.cw .cw-input .ta.ph { color: var(--tx-3); }
.cw .cw-input .ta .caret { display: inline-block; width: 1.5px; height: 18px; background: var(--tx); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.cw .cw-input .bar2 { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cw .cw-input .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--tx-2); }
.cw .cw-input .acc { font-size: 13px; color: var(--tx-2); display: inline-flex; align-items: center; gap: 6px; }
.cw .cw-input .send { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; }
.cw .cw-input .send.dis { background: #c9cdb9; }
.cw .cw-meta { max-width: 820px; margin: 8px auto 0; display: flex; justify-content: center; gap: 20px; font-size: 12px; color: var(--tx-3); }
/* 右侧浏览器 */
.cw-browser { width: 0; flex: none; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; transition: width .6s cubic-bezier(.2, .7, .1, 1); overflow: hidden; }
.cw .cw-browser.open { width: 640px; }
.cw .cw-browser.wide { width: 760px; }
.cw .br-tabs { height: 44px; flex: none; display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; background: var(--side); border-bottom: 1px solid var(--line); }
.cw .br-tab { height: 34px; max-width: 230px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px 9px 0 0; font-size: 12.5px; color: var(--tx-2); white-space: nowrap; overflow: hidden; }
.cw .br-tab.on { background: #fff; color: var(--tx); border: 1px solid var(--line); border-bottom: 0; }
.cw .br-tab span { overflow: hidden; text-overflow: ellipsis; }
.cw .br-url { height: 44px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--tx-2); }
.cw .br-url .u { flex: 1; height: 30px; border-radius: 8px; background: var(--side); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; color: var(--tx); }
.cw .br-page { flex: 1; min-height: 0; overflow: auto; position: relative; }
.cw .br-agent { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(31, 31, 29, .88); color: #fff; font-size: 12.5px; backdrop-filter: blur(6px); animation: cwIn .4s; }
.cw .br-agent i { width: 7px; height: 7px; border-radius: 50%; background: #9fd36b; animation: cwPulse 1s infinite; }
.cw .br-agent .tk { margin-left: auto; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .15); }
/* 平台页面：抖音（深色）—— 评论区可信观感：头像/昵称/时间/正文/分类标签，深色底文字对比度 ≥ 4.5:1 */
.cw .dy { background: #161823; color: #f0f1f5; height: 100%; display: flex; flex-direction: column; font-size: 13px; overflow: hidden; }
.cw .dy-top { flex: none; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #1b1c27; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cw .dy-top .s { flex: 1; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; padding: 0 12px; color: #a6a9b6; }
.cw .dy-video { flex: 1; min-height: 0; display: grid; grid-template-columns: 236px 1fr; }
.cw .dy-player { background: #000; position: relative; overflow: hidden; }
.cw .dy-player img { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.cw .dy-player .meta { position: absolute; left: 12px; right: 12px; bottom: 14px; font-size: 12.5px; line-height: 1.55; color: #f0f1f5; text-shadow: 0 1px 4px rgba(0, 0, 0, .75); }
.cw .dy-player .meta b { font-weight: 600; }
.cw .dy-cmt { min-height: 0; padding: 16px 14px 20px; overflow: auto; }
.cw .dy-cmt h6 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #eef0f5; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 4px; }
.cw .dy-c { display: flex; gap: 10px; padding: 12px 10px; border-radius: 10px; position: relative; transition: background .25s, box-shadow .25s; }
.cw .dy-c + .dy-c::before { content: ''; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: rgba(255, 255, 255, .05); }
.cw .dy-c .av { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cw .dy-c .main { flex: 1; min-width: 0; }
.cw .dy-c .cr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cw .dy-c .nm { flex: none; max-width: 108px; font-weight: 500; font-size: 12.5px; color: #c4c7d2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw .dy-c .tm { font-size: 11.5px; color: #979ba8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw .dy-c .tx { margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: #e6e8ee; word-break: break-word; }
.cw .dy-c .tag { margin-left: auto; flex: none; }
.cw .dy .pill { height: 23px; padding: 0 9px; border-radius: 6px; font-size: 11.5px; font-weight: 500; background: rgba(255, 255, 255, .09); color: #cdd0da; white-space: nowrap; }
.cw .dy .pill::before { width: 5px; height: 5px; opacity: .9; }
.cw .dy .pill.ok { background: rgba(52, 199, 123, .14); color: #62d492; box-shadow: inset 0 0 0 1px rgba(98, 212, 146, .32); }
.cw .dy .pill.nodot { background: rgba(255, 255, 255, .08); color: #b9bdc9; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cw .dy .pill.bad { background: rgba(255, 90, 92, .14); color: #ff9b9c; box-shadow: inset 0 0 0 1px rgba(255, 155, 156, .3); }
.cw .dy .pill.warn { background: rgba(255, 183, 77, .14); color: #ffc66d; box-shadow: inset 0 0 0 1px rgba(255, 198, 109, .3); }
.cw .dy-c.hl { background: linear-gradient(90deg, rgba(254, 44, 85, .18), rgba(254, 44, 85, .05) 72%); box-shadow: inset 0 0 0 1px rgba(254, 44, 85, .4), 0 6px 18px rgba(0, 0, 0, .22); }
.cw .dy-c.hl::after { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; background: #fe2c55; }
.cw .dy-c.hl .nm, .cw .dy-c.hl .tx { color: #fff; }
.cw .dy-c.dim { background: rgba(255, 255, 255, .015); }
.cw .dy-c.dim .nm { color: #9ea2af; }
.cw .dy-c.dim .tm { color: #8b8f9c; }
.cw .dy-c.dim .tx { color: #b4b8c3; }
.cw .dy-c.dim .pill { opacity: .85; }
/* 私信浮层：头像 + 昵称 + 消息气泡 + 送达状态 + 操作按钮 */
.cw .dy-dm { position: absolute; right: 16px; bottom: 16px; width: 344px; background: #232430; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; box-shadow: 0 18px 48px rgba(0, 0, 0, .55); overflow: hidden; animation: cwIn .4s; }
.cw .dy-dm .h { padding: 11px 14px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .045); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cw .dy-dm .h .av { width: 34px; height: 34px; flex: none; }
.cw .dy-dm .who { min-width: 0; line-height: 1.3; }
.cw .dy-dm .who b { display: block; font-size: 13px; font-weight: 600; color: #f2f3f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw .dy-dm .who small { font-size: 11px; color: #a4a8b4; }
.cw .dy-dm .x { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .07); position: relative; }
.cw .dy-dm .x::before, .cw .dy-dm .x::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; border-radius: 1px; background: #c2c5d0; }
.cw .dy-dm .x::before { transform: rotate(45deg); }
.cw .dy-dm .x::after { transform: rotate(-45deg); }
.cw .dy-dm .b { padding: 14px 14px 8px; background: #1b1c26; }
.cw .dy-dm .msg { min-height: 20px; margin-left: 54px; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #e01b47; color: #fff; font-size: 12.5px; line-height: 1.65; box-shadow: 0 6px 16px rgba(224, 27, 71, .28); }
.cw .dy-dm .st { min-height: 15px; margin-top: 8px; text-align: right; font-size: 11px; color: #a8acb8; }
.cw .dy-dm .st:not(:empty)::before { content: '\2713'; color: #5fd08b; margin-right: 5px; font-weight: 600; }
.cw .dy-dm .f { display: flex; gap: 8px; padding: 0 14px 14px; background: #1b1c26; }
.cw .dy-dm .act { flex: 1; height: 32px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #d7dae2; font-size: 12.5px; }
.cw .dy-dm .act.pri { border-color: #e01b47; background: #e01b47; color: #fff; font-weight: 500; }
/* 真视频（原型）：9:16 竖屏 / 16:9 成片都走 object-fit:cover */
.cw .vwrap { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0d0d10; }
.cw .vdo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw .vtime { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; line-height: 1.4; letter-spacing: .02em; }
.cw .dy-player .vwrap { position: absolute; inset: 0; }
.cw .up .vwrap { border-radius: 8px; }
.cw .up .vtime { right: 6px; bottom: 6px; font-size: 10px; }
/* 达人「近期作品」三联竖屏 */
.cw .vid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cw .vid3 .vwrap { height: auto; aspect-ratio: 9 / 16; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
/* 宣传片成片预览 16:9 + 播放条 mock */
.cw .vfilm { position: relative; border-radius: 10px; overflow: hidden; background: #0d0d10; }
.cw .vfilm .vwrap { height: auto; aspect-ratio: 16 / 9; }
.cw .vfilm .vbar { height: 4px; background: rgba(255, 255, 255, .18); }
.cw .vfilm .vbar i { display: block; height: 100%; background: #c2754f; }
.cw .vfilm .vtl { display: flex; justify-content: space-between; padding: 4px 8px 6px; background: #f7f6f3; color: #8a8781; font-size: 11px; }
.cw .vfilm .vplay { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(0, 0, 0, .5); }
.cw .vfilm .vplay::after { content: ''; position: absolute; left: 16px; top: 12px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
/* 平台页面：小红书（浅色） */
.cw .xhs { background: #fff; min-height: 100%; font-size: 13px; color: #333; }
.cw .xhs-top { height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid #f0f0f0; }
.cw .xhs-top .logo { color: #ff2442; font-weight: 800; font-size: 18px; }
.cw .xhs-top .s { flex: 1; height: 34px; border-radius: 999px; background: #f5f5f5; display: flex; align-items: center; padding: 0 14px; color: #999; }
.cw .xhs-note { display: grid; grid-template-columns: 300px 1fr; height: calc(100% - 52px); }
.cw .xhs-note .pic img { width: 100%; height: 100%; object-fit: cover; }
.cw .xhs-note .side { padding: 14px 16px; overflow: auto; }
.cw .xhs-note h6 { font-size: 15px; font-weight: 600; color: #222; }
.cw .xhs-note .txt { margin-top: 8px; line-height: 1.7; color: #333; }
.cw .xhs-c { display: flex; gap: 10px; padding: 9px 6px; border-radius: 10px; position: relative; }
.cw .xhs-c .av { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.cw .xhs-c b { color: #999; font-weight: 400; font-size: 12px; }
.cw .xhs-c.hl { background: #fff1f3; box-shadow: inset 0 0 0 1px #ffb3bf; }
.cw .xhs-c.dim { opacity: .45; }
.cw .xhs-c .tag { position: absolute; right: 6px; top: 8px; }
/* 平台：创作者后台通用 */
.cw .cc { background: #f6f7f9; min-height: 100%; padding: 16px; font-size: 13px; }
.cw .cc-card { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.cw .cc-card + .cc-card { margin-top: 12px; }
.cw .cc h6 { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cw .cc .fld { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: start; margin-bottom: 10px; }
.cw .cc .fld label { color: #888; padding-top: 6px; }
.cw .cc .inp { border: 1px solid #e5e6eb; border-radius: 6px; padding: 6px 10px; min-height: 32px; line-height: 1.6; background: #fff; }
.cw .cc .up { width: 120px; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; }
.cw .cc .up img { width: 100%; height: 100%; object-fit: cover; }
.cw .cc .pub { margin-top: 12px; display: flex; gap: 10px; }
.cw .cc .pub span { height: 34px; padding: 0 18px; border-radius: 6px; display: inline-flex; align-items: center; background: var(--c, #fe2c55); color: #fff; font-weight: 500; }
.cw .cc .pub span.o { background: #fff; color: #333; border: 1px solid #e5e6eb; }
/* 普通网页 */
.cw .web { background: #fff; min-height: 100%; font-size: 13px; }
/* 创作中心 / 知识库 / 日历 / 看板等主视图 */
.cw-pane { flex: 1; min-height: 0; overflow: auto; padding: 26px 40px; }
.cw .cw-tabs { display: flex; gap: 26px; padding: 0 30px; border-bottom: 1px solid var(--line); height: 54px; align-items: stretch; }
.cw .cw-tabs span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tx-2); border-bottom: 2px solid transparent; }
.cw .cw-tabs span.on { color: var(--tx); font-weight: 500; border-color: var(--tx); }
.cw .cw-tabs span em { font-style: normal; font-size: 11.5px; background: var(--olive-bg); color: var(--olive); padding: 1px 7px; border-radius: 6px; }
.cw .works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cw .work { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; animation: cwIn .5s; }
.cw .work .thumb { aspect-ratio: 3/4; border-radius: 0; }
.cw .work .wm { padding: 10px 12px; }
.cw .work .wm b { font-size: 13.5px; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cw .work .wm small { font-size: 12px; color: var(--tx-3); }
.cw .cal { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.cw .cal .d { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px; font-size: 12px; color: var(--tx-3); }
.cw .cal .d:nth-child(7n) { border-right: 0; }
.cw .cal .wd { min-height: 0; padding: 8px; text-align: center; background: #fcfcfa; font-size: 12px; }
.cw .cal .ev { margin-top: 6px; padding: 5px 8px; border-radius: 6px; font-size: 12px; color: var(--tx); display: flex; align-items: center; gap: 6px; background: var(--olive-soft); animation: cwIn .4s; }
.cw .cal .ev .pi { width: 14px; height: 14px; }
.cw .cal .d.today { background: #fcfbf6; }
.cw .cal .d.today > span { color: #fff; background: var(--olive); border-radius: 6px; padding: 1px 6px; }
.cw .dash { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cw .stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.cw .stat small { font-size: 12.5px; color: var(--tx-3); display: flex; align-items: center; gap: 6px; }
.cw .stat b { display: block; font-size: 28px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.cw .stat em { font-style: normal; font-size: 12px; color: var(--ok); }
.cw .chart { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.cw .chart svg { width: 100%; display: block; }
/* 设置弹窗（插件） */
.cw-modal { position: absolute; inset: 0; background: rgba(240, 239, 235, .7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 20; animation: cwIn .3s; }
.cw .cw-modal .box { width: 760px; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .15); padding: 22px 26px; }
.cw .plg { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cw .plg img { width: 44px; height: 44px; border-radius: 10px; }
.cw .plg b { display: block; font-weight: 600; }
.cw .plg small { color: var(--tx-3); font-size: 13px; }
.cw .tg { margin-left: auto; width: 40px; height: 24px; border-radius: 12px; background: var(--olive); position: relative; }
.cw .tg::after { content: ''; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
/* 问答卡（Agent 提问） */
.cw .qa .opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 4px; font-size: 14px; border-radius: 8px; }
.cw .qa .opt b { font-weight: 600; margin-right: 6px; }
.cw .qa .opt small { color: var(--tx-3); }
.cw .qa .opt .rec { font-size: 11px; background: var(--olive-bg); color: var(--olive); border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
/* 3D 场景容器 */
.cw .scene3d { position: relative; height: 100%; min-height: 420px; border-radius: 12px; overflow: hidden; background: #0d1a1f; }
.cw .scene3d canvas { width: 100%; height: 100%; display: block; }

/* Agent 新会话首页（3.0.76） */
.cw .cw-home { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 0 10px; animation: cwIn .5s; }
.cw .cw-home .hl { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 8px 20px rgba(80, 70, 220, .25); }
.cw .cw-home .kick { margin-top: 26px; display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .24em; color: #7b8a5a; font-weight: 600; }
.cw .cw-home .kick svg { width: 15px; height: 15px; }
.cw .cw-home h2 { margin-top: 10px; font-size: 32px; font-weight: 700; letter-spacing: .02em; color: #2a2a27; }
.cw .cw-home p { margin-top: 8px; font-size: 14px; color: var(--tx-3); }
.cw .cw-home .cards { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.cw .cw-home .hc { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; text-align: left; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.cw .cw-home .hc::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .78)); }
.cw .cw-home .hc > * { position: relative; }
.cw .cw-home .no { position: absolute; left: 12px; top: 10px; font-size: 10px; letter-spacing: .28em; display: flex; align-items: baseline; gap: 8px; }
.cw .cw-home .no i { font: italic 500 17px 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; }
.cw .cw-home .bt { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.cw .cw-home .bt b { font-size: 21px; font-weight: 700; }
.cw .cw-home .bt b em { font-style: normal; }
.cw .cw-home .bt span { font-size: 12.5px; opacity: .92; }
.cw .cw-home .bt small { font-size: 11px; opacity: .65; }
.cw .cw-home .bt u { text-decoration: none; margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: #1d1d1b; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.cw .cw-home .bt u svg { width: 12px; height: 12px; }
.cw .cw-home .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--tx-2); background: #fff; }
.cw .cw-home .more svg { width: 14px; height: 14px; }
.cw .cw-home .more em { font-style: normal; font-size: 11px; background: var(--side); border-radius: 6px; padding: 0 6px; }
.cw .cw-projsel { max-width: 820px; margin: 0 auto 8px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tx-2); }
.cw .cw-projsel svg { width: 15px; height: 15px; }

/* 任务日历 · 周视图（3.0.76） */
.cw .calbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cw .calbar .sp { flex: 1; }
.cw .wk { display: grid; grid-template-columns: 56px repeat(7, 1fr); border-top: 1px solid var(--line); background: #fff; }
.cw .wk .hd { text-align: center; padding: 8px 0; font-size: 12.5px; color: var(--tx-3); border-bottom: 1px solid var(--line); }
.cw .wk .hd b { display: block; font-size: 22px; font-weight: 500; color: var(--tx); }
.cw .wk .hd.today, .cw .wk .hd.today b { color: #c8613b; }
.cw .wk .tm { font-size: 11px; color: var(--tx-3); text-align: right; padding: 0 8px; height: 46px; border-right: 1px solid var(--line); }
.cw .wk .cell { height: 46px; border-bottom: 1px solid #f1efea; border-right: 1px solid #f1efea; position: relative; }
.cw .wk .cell.today { background: #faf9f3; }
.cw .wk .evb { position: absolute; left: 3px; right: 3px; top: 3px; min-height: 40px; border-radius: 7px; padding: 4px 7px; font-size: 11.5px; line-height: 1.35; background: #fbeee7; border-left: 3px solid #c8613b; color: var(--tx); display: flex; flex-direction: column; gap: 2px; animation: cwIn .4s; z-index: 2; }
.cw .wk .evb span { display: flex; align-items: center; gap: 4px; color: var(--tx-3); }
.cw .wk .evb .pi { width: 13px; height: 13px; }
.cw .cw-thread:has(.cw-home) { max-width: 1080px; }

/* ── 多窗口并排（AI 搜索可见度：同一问题问 4 个模型） ── */
.cw .br-grid { height: 100%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 10px; background: #f4f2ee; }
.cw .mini { flex: 0 0 calc((100% - 24px) / 3); height: calc((100% - 14px) / 2); display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); animation: miniIn .42s cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--d, 0) * 180ms); }
@keyframes miniIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.cw .mini-bar { flex: none; height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 10px; font-size: 12px; font-weight: 600; color: var(--tx); border-bottom: 1px solid var(--line); background: #fbfaf7; }
.cw .mini-bar svg, .cw .mini-bar .ic { flex: none; }
.cw .mini-flag { margin-left: auto; font-style: normal; font-weight: 500; font-size: 10.5px; color: #9a6a0e; background: #f8eed8; border-radius: 4px; padding: 1px 6px; }
.cw .mini-url { flex: none; height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 10.5px; color: var(--tx-3); background: #fff; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw .mini-url .lock { width: 6px; height: 6px; border-radius: 1px; background: #c9c6bd; flex: none; }
.cw .mini-body { flex: 1; min-height: 0; padding: 10px; overflow: auto; font-size: 11.5px; line-height: 1.55; color: var(--tx-2); }
.cw .mini-q { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.cw .mini-q span { max-width: 90%; background: #eef2ff; color: #33406b; border-radius: 10px 10px 3px 10px; padding: 5px 9px; }
.cw .mini-a { background: #faf9f6; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.cw .mini-a .mk { background: #fff1c9; padding: 0 2px; border-radius: 3px; font-weight: 600; color: var(--tx); }
/* 头像图（替换原渐变圆点） */
.cw img.av, .av img, img.av { object-fit: cover; vertical-align: middle; }

/* 四宫格可读性微调：字号 + 地址栏对比度（上屏缩放后仍需看清） */
.cw .mini-bar { font-size: 12.5px; }
.cw .mini-url { font-size: 11px; color: #7d7a72; }
.cw .mini-body { font-size: 12.5px; }
.cw .mini-q span { padding: 5px 10px; }
.cw .mini-flag { font-size: 11px; }

/* ───── 抖音模拟面板 v2：左手机框 + 右独立评论区（不再互相遮挡） ───── */
.cw .dy { background: #0e0f14; }
.cw .dy-video { grid-template-columns: 280px 1fr; background: #0b0c11; }
.cw .dy-player { padding: 12px; display: flex; align-items: center; justify-content: center; background: #0b0c11; }
.cw .dy-player > .vwrap { position: absolute; inset: 12px; border-radius: 12px; overflow: hidden; }
.cw .dy-player > .vwrap .vdo { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.cw .dy-player > img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; border-radius: 12px; }
.cw .dy-player .meta { left: 24px; right: 24px; bottom: 26px; }
.cw .dy-player::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 96px; border-radius: 0 0 12px 12px; background: linear-gradient(0deg, rgba(0,0,0,.62), transparent); pointer-events: none; }
.cw .dy-cmt { background: #121319; border-left: 1px solid rgba(255,255,255,.07); padding: 0 14px 20px; }
.cw .dy-cmt h6 { position: sticky; top: 0; z-index: 2; background: #121319; margin: 0 -14px 4px; padding: 14px 14px 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.cw .dy-c { padding: 13px 10px; }
.cw .dy-c .tag { display: flex; gap: 4px; }

/* 卡片底部按钮：避免被挤压 / 裁切 */
.cw .k-f { flex-wrap: wrap; }
.cw .k-f > button, .cw .k-f > .btn { flex: 0 0 auto; min-height: 34px; padding: 0 16px; white-space: nowrap; }
.cw .k-b > table + div { max-width: 100%; }

/* 卡片内表格不要撑破卡片宽度 */
.cw .k .tbl { width: 100%; table-layout: fixed; }
.cw .k .tbl th, .cw .k .tbl td { white-space: normal; word-break: break-word; }
.cw .k .tbl .t { font-weight: 500; }

/* 覆盖：卡片内按钮必须按 inline-flex 布局（此前被 grid 规则误伤） */
.cw .k-f > button.btn { display: inline-flex !important; grid-template-columns: none; width: auto !important; }

/* 附件小标 */
.cw .file-ico { flex: none; width: 34px; height: 26px; border-radius: 6px; background: #f3ece6; color: #a05a37; font: 700 10.5px var(--mono); display: inline-flex; align-items: center; justify-content: center; letter-spacing: .04em; }

/* ── 评论头像可点 ── */
.cw .dy-c .av-clk { position: relative; flex: none; display: inline-block; border-radius: 50%; cursor: pointer; transition: box-shadow .25s, transform .25s; }
.cw .dy-c .av-clk:hover { box-shadow: 0 0 0 2px rgba(254,44,85,.85); transform: scale(1.06); }
.cw .dy-c .av-clk.on { box-shadow: 0 0 0 2px #fe2c55, 0 0 0 6px rgba(254,44,85,.22); }

/* ── 全屏私信页：整页覆盖帖子 ── */
.cw .br-page.dm-page { position: absolute; inset: 0; background: #0f1015; }
.cw .dy-dmv { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0f1015; color: #eef0f5; transform: translateX(100%); opacity: .4; transition: transform .45s cubic-bezier(.2,.7,.1,1), opacity .3s; }
.cw .br-page.dm-in .dy-dmv { transform: none; opacity: 1; }
.cw .dy-dmv .dmv-h { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); background: #14161c; }
.cw .dy-dmv .dmv-back { font-size: 20px; color: #a6a9b6; line-height: 1; cursor: default; }
.cw .dy-dmv .dmv-h .who { display: flex; flex-direction: column; gap: 1px; }
.cw .dy-dmv .dmv-h b { font-size: 14px; }
.cw .dy-dmv .dmv-h small { font-size: 11px; color: #8f93a1; }
.cw .dy-dmv .dmv-follow { margin-left: auto; font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #cfd2dc; }
.cw .dy-dmv .dmv-b { flex: 1; min-height: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.cw .dy-dmv .dmv-quote { background: rgba(255,255,255,.05); border-left: 2px solid rgba(254,44,85,.7); border-radius: 8px; padding: 10px 12px; }
.cw .dy-dmv .dmv-quote span { font-size: 11px; color: #8f93a1; }
.cw .dy-dmv .dmv-quote p { margin: 4px 0 0; font-size: 13px; color: #d6d9e2; }
.cw .dy-dmv .dmv-msgs { display: flex; flex-direction: column; gap: 10px; }
.cw .dy-dmv .dmv-bubble { align-self: flex-end; max-width: 78%; background: linear-gradient(135deg,#fe2c55,#ff5a76); color: #fff; font-size: 13.5px; line-height: 1.65; padding: 10px 13px; border-radius: 14px 14px 4px 14px; }
.cw .dy-dmv .dmv-st { align-self: flex-end; font-size: 11px; color: #8f93a1; }
.cw .dy-dmv .dmv-f { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.07); background: #14161c; }
.cw .dy-dmv .dmv-plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #a6a9b6; flex: none; }
.cw .dy-dmv .dmv-msg { flex: 1; min-height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); padding: 9px 12px; font-size: 13.5px; line-height: 1.5; color: #e6e8ee; }
.cw .dy-dmv .dmv-msg.ph { color: #7a7e8c; }
.cw .dy-dmv .dmv-send { flex: none; border: 0; background: #fe2c55; color: #fff; font: 600 13px -apple-system,"PingFang SC",sans-serif; padding: 9px 16px; border-radius: 10px; cursor: pointer; }
.cw .dy-dmv .dmv-acts { flex: none; display: flex; gap: 8px; padding: 0 16px 14px; }
.cw .dy-dmv .dmv-acts .act { flex: 1; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #cfd2dc; border-radius: 8px; padding: 8px; font-size: 12.5px; cursor: pointer; }
.cw .dy-dmv .dmv-acts .act.pri { background: #fe2c55; border-color: #fe2c55; color: #fff; }

/* 私信页定位修正：相对 .br-page */
.cw .br-page { position: relative; }
.cw .br-page.dm-page { position: absolute; inset: 0; overflow: hidden; }
.cw .dy-dmv { height: 100%; }

/* 私信页打开时：隐藏浏览器标签栏与地址栏，整页就是私信 */
.cw-browser.dm-open .br-tabs, .cw-browser.dm-open .br-url, .cw-browser.dm-open .agent-bar { display: none !important; }
.cw-browser.dm-open .br-page.dm-page { position: relative !important; inset: auto !important; height: 100%; display: flex; }

/* 私信页：给顶部 Agent 状态条让位 */
.cw-browser.dm-open .dy-dmv { padding-top: 34px; }
.cw-browser.dm-open .dmv-h { border-top: 0; }

/* ── 多平台发布墙 ── */
.cw .pw { position: absolute; inset: 0; background: #101218; padding: 14px; }
.cw .pw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 100%; }
.cw .pw-p { display: flex; flex-direction: column; min-height: 0; border-radius: 10px; overflow: hidden; background: #171a22; border: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(8px); animation: pwIn .4s forwards; animation-delay: calc(var(--i) * .08s); }
@keyframes pwIn { to { opacity: 1; transform: none; } }
.cw .pw-h { display: flex; align-items: center; gap: 7px; padding: 9px 10px; background: #1d212b; font-size: 12px; color: #e8eaf0; }
.cw .pw-h b { font-weight: 600; }
.cw .pw-st { margin-left: auto; font-size: 10.5px; color: #9aa0ae; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.cw .pw-p.run .pw-st { color: #ffd08a; border-color: rgba(255,183,77,.5); }
.cw .pw-p.ok .pw-st { color: #7ce0a5; border-color: rgba(90,200,140,.55); background: rgba(90,200,140,.1); }
.cw .pw-url { display: flex; align-items: center; gap: 6px; padding: 5px 10px; font: 500 10px ui-monospace, monospace; color: #7d8290; background: #14171e; border-bottom: 1px solid rgba(255,255,255,.06); }
.cw .pw-url .lock { width: 7px; height: 7px; border-radius: 2px; background: #4b5160; display: inline-block; }
.cw .pw-b { flex: 1; min-height: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.cw .pw-th { height: 96px; border-radius: 8px; background-size: cover; background-position: center; background-color: #232833; }
.cw .pw-lines { display: flex; flex-direction: column; gap: 6px; }
.cw .pw-t { font-size: 12px; color: #dfe2ea; line-height: 1.45; display: block; }
.cw .pw-lines > span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); }
.cw .pw-lines > span.s { width: 55%; }
.cw .pw-bar { height: 3px; margin: 0 10px 10px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.cw .pw-bar > i { display: block; height: 100%; width: 0; background: #c8613b; transition: width .5s linear; }
.cw .pw-p.ok .pw-bar > i { background: #5ac88c; }

/* 发布墙：布局收紧，内容不叠加 */
.cw .pw-p { padding-bottom: 0; }
.cw .pw-b { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cw .pw-th { flex: 0 0 auto; height: 116px; }
.cw .pw-lines { flex: 0 0 auto; margin-top: 2px; }
.cw .pw-t { max-height: 38px; overflow: hidden; }
.cw .pw-bar { margin-top: auto; }
.cw .pw-p[data-p="xiaohongshu"] { box-shadow: inset 0 2px 0 #ff2e4d; }
.cw .pw-p[data-p="douyin"] { box-shadow: inset 0 2px 0 #25f4ee; }
.cw .pw-p[data-p="gongzhonghao"] { box-shadow: inset 0 2px 0 #07c160; }

/* 发布墙：填充面板信息，减少空洞 */
.cw .pw-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cw .pw-tags i { font-style: normal; font-size: 10px; color: #a9b0c0; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.06); }
.cw .pw-meta { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; color: #7f8593; }
.cw .pw-meta span::before { content: "· "; color: #5b616e; }

/* 私信页：顶部再让出状态条高度 */
.cw-browser.dm-open .dy-dmv { padding-top: 44px; }

/* 发布墙：五平台时 3 + 2 两行 */
.cw .pw-grid:has(.pw-p:nth-child(5)) { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.cw .pw-grid:has(.pw-p:nth-child(5)) .pw-th { height: 78px; }
.cw .pw-grid:has(.pw-p:nth-child(5)) .pw-p { min-height: 0; }
.cw .pw-p.warn .pw-st { color: #ffcf9a; border-color: rgba(255,183,77,.5); }
.cw .pw-p.warn .pw-bar > i { background: #d99a3f; }

/* 五平台发布墙：两行自适应高度，避免缩略图被裁 */
.cw .pw-grid:has(.pw-p:nth-child(5)) { grid-template-rows: auto auto; align-content: start; }
.cw .pw-grid:has(.pw-p:nth-child(5)) .pw-p { height: auto; }
.cw .pw-grid:has(.pw-p:nth-child(5)) .pw-th { height: 74px; }
.cw .pw-grid:has(.pw-p:nth-child(5)) .pw-b { overflow: visible; }
.cw .pw { overflow: auto; }

/* ── TikTok 帖子页：单栏，无左右拼贴 ── */
.cw .tt { height: 100%; overflow: auto; background: #0b0c10; }
.cw .tt .tt-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.07); background: #12141a; position: sticky; top: 0; z-index: 2; }
.cw .tt .tt-top b { font-size: 13px; color: #eef0f5; }
.cw .tt .tt-follow { margin-left: auto; font-size: 12px; color: #25f4ee; border: 1px solid rgba(37,244,238,.5); border-radius: 6px; padding: 3px 10px; }
.cw .tt .tt-media { padding: 16px 16px 0; }
.cw .tt .tt-media .vwrap, .cw .tt .tt-media img { width: 100%; max-height: 360px; border-radius: 12px; overflow: hidden; display: block; object-fit: cover; }
.cw .tt .tt-media .vdo { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; display: block; }
.cw .tt .tt-cap { padding: 12px 16px; font-size: 13px; line-height: 1.7; color: #d6d9e2; }
.cw .tt .tt-tags { color: #25f4ee; margin-left: 6px; }
.cw .tt .tt-cmts { padding: 4px 12px 18px; border-top: 1px solid rgba(255,255,255,.07); margin-top: 4px; }
.cw .tt .tt-cmts h6 { margin: 12px 4px 8px; font: 600 12px var(--mono, monospace); letter-spacing: .08em; color: #9aa0ae; }
.cw .tt .tt-c { display: flex; gap: 10px; padding: 10px 6px; border-radius: 10px; transition: background .2s; }
.cw .tt .tt-c.hl { background: rgba(37,244,238,.06); }
.cw .tt .tt-c.dim { opacity: .55; }
.cw .tt .tt-c .av-clk { flex: none; }
.cw .tt .tt-c .main { min-width: 0; }
.cw .tt .tt-c .cr { display: flex; align-items: center; gap: 8px; }
.cw .tt .tt-c .cr b { font-size: 12.5px; color: #e8eaf0; font-weight: 600; }
.cw .tt .tt-c .cr small { font-size: 11px; color: #7d8290; }
.cw .tt .tt-c .cr .tag { margin-left: auto; }
.cw .tt .tt-c p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #cfd3dd; }

/* ───── 抖音帖子页 + 底部评论半屏 ───── */
.cw .dp { position: absolute; inset: 0; background: #000; overflow: hidden; }
.cw .dp .dp-video { position: absolute; inset: 0; }
.cw .dp .dp-video .vwrap, .cw .dp .dp-video video, .cw .dp .dp-video > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw .dp .dp-meta { position: absolute; left: 14px; right: 92px; bottom: 76px; z-index: 2; color: #fff; font-size: 12.5px; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.cw .dp .dp-meta b { display: block; font-size: 14px; margin-bottom: 3px; }
.cw .dp .dp-rail { position: absolute; right: 12px; bottom: 104px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; color: #fff; }
.cw .dp .dp-av img { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #fff; display: block; }
.cw .dp .dp-ic { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 17px; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.cw .dp .dp-ic b { font-size: 10px; font-weight: 500; }
.cw .dp .dp-cbtn { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; height: 40px; border: 0; border-radius: 20px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; font: 500 12.5px -apple-system,"PingFang SC",sans-serif; }
.cw .dp .dp-cbtn i { font-style: normal; font-weight: 600; }
.cw .dp .dp-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: 4; display: flex; flex-direction: column;
  background: #16171c; border-radius: 16px 16px 0 0; box-shadow: 0 -14px 44px rgba(0,0,0,.55);
  transform: translateY(102%); transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.cw .dp.sheet-open .dp-sheet { transform: none; }
.cw .dp .dp-sh { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); color: #eef0f5; font-size: 13px; }
.cw .dp .dp-sh b { font-weight: 600; }
.cw .dp .dp-x { color: #8b90a0; }
.cw .dp .dp-list { flex: 1; min-height: 0; overflow: auto; padding: 6px 8px; }
.cw .dp .dp-c { display: flex; gap: 10px; padding: 9px 8px; border-radius: 10px; }
.cw .dp .dp-c.hl { background: rgba(254,44,85,.07); }
.cw .dp .dp-c.dim { opacity: .55; }
.cw .dp .dp-c .main { min-width: 0; }
.cw .dp .dp-c .cr { display: flex; align-items: center; gap: 8px; }
.cw .dp .dp-c .cr b { font-size: 12px; font-weight: 500; color: #c9ccd6; }
.cw .dp .dp-c .cr small { font-size: 10.5px; color: #767b8a; }
.cw .dp .dp-c .cr .tag { margin-left: auto; }
.cw .dp .dp-c p { margin: 3px 0 0; font-size: 13px; line-height: 1.6; color: #e6e8ee; }
.cw .dp .dp-input { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 9px 14px; border-radius: 18px; background: rgba(255,255,255,.06); color: #7d8290; font-size: 12.5px; }
