:root{
  --mz-bg:#f5f7fb;--mz-card:#ffffff;--mz-ink:#0f172a;--mz-text:#334155;--mz-muted:#8592a6;
  --mz-line:#e6ebf3;--mz-soft:#f0f5ff;--mz-blue:#2563eb;--mz-blue-dark:#1d4ed8;
  --mz-green:#059669;--mz-amber:#b45309;--mz-red:#dc2626;--mz-radius:14px;
  --mz-shadow:0 1px 2px rgba(15,23,42,.03),0 8px 24px rgba(15,23,42,.04);
}
*{box-sizing:border-box}
body.mz-body{margin:0;background:var(--mz-bg);color:var(--mz-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.65;font-size:14px;-webkit-font-smoothing:antialiased}
body.mz-body a{color:inherit;text-decoration:none}
body.mz-body img{max-width:100%;display:block}
.mz-shell{display:flex;min-height:100vh}
.mz-sidebar{width:220px;flex:none;background:var(--mz-card);border-right:1px solid var(--mz-line);padding:16px 12px;position:sticky;top:0;height:100vh;overflow:auto;transition:width .2s ease,padding .2s ease;z-index:60}
.mz-shell.collapsed .mz-sidebar{width:0;padding-left:0;padding-right:0;border-right:0;overflow:hidden}
.mz-side-title{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--mz-muted);padding:8px 12px 6px;white-space:nowrap}
.mz-nav{display:flex;flex-direction:column;gap:2px}
.mz-nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:9px;color:var(--mz-text);font-size:14px;transition:background .15s,color .15s;white-space:nowrap}
.mz-nav a:hover{background:var(--mz-soft);color:var(--mz-blue)}
.mz-nav a.on{background:var(--mz-soft);color:var(--mz-blue);font-weight:600}
.mz-nav svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mz-side-foot{margin-top:auto;padding:18px 12px 4px;color:var(--mz-muted);font-size:12px;white-space:nowrap}
.mz-main{flex:1;min-width:0;display:flex;flex-direction:column}
.mz-topbar{height:64px;display:flex;align-items:center;gap:12px;padding:0 22px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--mz-line);position:sticky;top:0;z-index:50;backdrop-filter:saturate(1.2) blur(12px)}
.mz-menu-btn{width:38px;height:38px;border:1px solid var(--mz-line);background:var(--mz-card);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;flex:none;padding:0}
.mz-menu-btn span{display:block;width:16px;height:2px;border-radius:2px;background:var(--mz-ink)}
.mz-brand{display:flex;align-items:center;gap:9px;flex:none;font-weight:700;color:var(--mz-ink);font-size:16px;letter-spacing:.01em}
.mz-brand img{width:34px;height:34px;border-radius:10px;object-fit:cover}
.mz-search{flex:1;max-width:520px;min-width:160px;display:flex;align-items:center;gap:8px;background:var(--mz-bg);border:1px solid var(--mz-line);border-radius:10px;padding:0 12px;height:38px;transition:border-color .15s,background .15s}
.mz-search:focus-within{border-color:#bcd0f7;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.mz-search svg{width:17px;height:17px;stroke:var(--mz-muted);fill:none;stroke-width:2;flex:none}
.mz-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13.5px;color:var(--mz-ink);font-family:inherit}
.mz-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.mz-icon-btn{width:38px;height:38px;border:1px solid var(--mz-line);background:var(--mz-card);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:var(--mz-text);cursor:pointer;padding:0;transition:border-color .15s,color .15s}
.mz-icon-btn:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-icon-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mz-plus-wrap,.mz-user-wrap{position:relative}
.mz-plus{background:var(--mz-blue);border-color:var(--mz-blue);color:#fff}
.mz-plus:hover{background:var(--mz-blue-dark);border-color:var(--mz-blue-dark);color:#fff}
.mz-avatar-btn{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;overflow:hidden;border:1px solid var(--mz-line);background:var(--mz-blue);color:#fff;font-weight:700;font-size:14px;cursor:pointer;padding:0}
.mz-avatar-btn img{width:100%;height:100%;object-fit:cover}
.mz-dropdown{position:absolute;top:48px;right:0;min-width:190px;background:var(--mz-card);border:1px solid var(--mz-line);border-radius:12px;box-shadow:0 14px 40px rgba(15,23,42,.14);padding:7px;display:none;z-index:80}
.mz-dropdown.show{display:block}
.mz-dropdown a,.mz-dropdown button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 11px;border:0;background:none;border-radius:8px;color:var(--mz-text);font-size:13.5px;text-align:left;cursor:pointer;font-family:inherit}
.mz-dropdown a:hover,.mz-dropdown button:hover{background:var(--mz-soft);color:var(--mz-blue)}
.mz-dropdown .mz-dd-head{padding:9px 11px 10px;border-bottom:1px solid var(--mz-line);margin-bottom:5px}
.mz-dd-name{font-weight:700;color:var(--mz-ink);font-size:14px}
.mz-dd-user{color:var(--mz-muted);font-size:12px;margin-top:1px}
.mz-dd-logout{color:var(--mz-red)}
.mz-content{width:100%;max-width:1220px;margin:0 auto;padding:24px 24px 70px}
.mz-flash{padding:11px 14px;border-radius:10px;margin-bottom:16px;font-size:13px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.mz-flash.error{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
.mz-flash.info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.mz-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.mz-title{font-size:26px;line-height:1.25;color:var(--mz-ink);font-weight:700;margin:0}
.mz-sub{color:var(--mz-muted);font-size:13.5px;margin:6px 0 0}
.mz-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;border-radius:9px;border:1px solid transparent;font-size:13.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s;text-decoration:none;line-height:1.3}
.mz-btn-primary{background:var(--mz-blue);color:#fff}
.mz-btn-primary:hover{background:var(--mz-blue-dark);color:#fff}
.mz-btn-ghost{background:var(--mz-card);border-color:var(--mz-line);color:var(--mz-text)}
.mz-btn-ghost:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-btn-danger{background:#fff;border-color:#fecaca;color:var(--mz-red)}
.mz-btn-danger:hover{background:#fef2f2}
.mz-btn-sm{padding:6px 11px;font-size:12.5px;border-radius:8px}
.mz-card{background:var(--mz-card);border:1px solid var(--mz-line);border-radius:var(--mz-radius);box-shadow:var(--mz-shadow)}
.mz-card-pad{padding:18px 20px}
.mz-board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:11px;margin-bottom:22px}
.mz-board-card{display:block;background:var(--mz-card);border:1px solid var(--mz-line);border-radius:12px;padding:15px 16px;transition:transform .15s,border-color .15s,box-shadow .15s}
.mz-board-card:hover{transform:translateY(-2px);border-color:#bcd0f7;box-shadow:0 8px 22px rgba(37,99,235,.08)}
.mz-board-name{font-weight:700;color:var(--mz-ink);font-size:14.5px}
.mz-board-desc{font-size:12.5px;color:var(--mz-muted);margin-top:4px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.mz-board-count{font-size:12px;color:var(--mz-blue);margin-top:8px;font-weight:600}
.mz-home-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:18px}
.mz-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.mz-section-title{font-size:16px;font-weight:700;color:var(--mz-ink);margin:0}
.mz-section-link{font-size:12.5px;color:var(--mz-blue);font-weight:600;white-space:nowrap}
.mz-post-list{display:flex;flex-direction:column}
.mz-post-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--mz-line)}
.mz-post-row:last-child{border-bottom:0}
.mz-post-row:first-child{padding-top:0}
.mz-avatar-sm{width:36px;height:36px;border-radius:50%;overflow:hidden;flex:none;background:var(--mz-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.mz-avatar-sm img{width:100%;height:100%;object-fit:cover}
.mz-avatar-xs{width:26px;height:26px;border-radius:50%;overflow:hidden;flex:none;background:var(--mz-blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:11px}
.mz-avatar-xs img{width:100%;height:100%;object-fit:cover}
.mz-post-main{flex:1;min-width:0}
.mz-post-title{font-size:14.5px;font-weight:600;color:var(--mz-ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mz-post-title:hover{color:var(--mz-blue)}
.mz-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:var(--mz-muted);margin-top:5px}
.mz-meta .mz-dot{width:3px;height:3px;border-radius:50%;background:#c3ccda}
.mz-excerpt{font-size:12.5px;color:var(--mz-muted);margin-top:5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mz-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;background:var(--mz-soft);color:var(--mz-blue);white-space:nowrap}
.mz-badge.q{background:#fff7ed;color:#c2410c}
.mz-badge.a{background:#ecfdf5;color:#047857}
.mz-badge.v{background:#f5f3ff;color:#6d28d9}
.mz-badge.t{background:var(--mz-soft);color:var(--mz-blue)}
.mz-empty{padding:36px 16px;text-align:center;color:var(--mz-muted);font-size:13.5px}
.mz-empty a{color:var(--mz-blue);font-weight:600}
.mz-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px}
.mz-video-card{background:var(--mz-card);border:1px solid var(--mz-line);border-radius:12px;overflow:hidden;transition:transform .15s,box-shadow .15s}
.mz-video-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(15,23,42,.08)}
.mz-thumb{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#1e3a8a,#3b82f6);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff}
.mz-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mz-thumb .mz-play{width:40px;height:40px;border-radius:50%;background:rgba(15,23,42,.56);display:flex;align-items:center;justify-content:center;position:relative;z-index:2}
.mz-thumb .mz-play svg{width:16px;height:16px;fill:#fff;margin-left:2px}
.mz-video-info{padding:10px 12px 12px}
.mz-video-title{font-size:13.5px;font-weight:600;color:var(--mz-ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.mz-video-meta{font-size:11.5px;color:var(--mz-muted);margin-top:6px;display:flex;align-items:center;gap:7px}
.mz-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.mz-filter{display:flex;gap:6px;flex-wrap:wrap}
.mz-filter a{padding:6px 12px;border-radius:999px;font-size:12.5px;color:var(--mz-text);border:1px solid var(--mz-line);background:var(--mz-card)}
.mz-filter a:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-filter a.on{background:var(--mz-blue);border-color:var(--mz-blue);color:#fff;font-weight:600}
.mz-pagination{display:flex;justify-content:center;gap:6px;margin-top:22px;flex-wrap:wrap}
.mz-pagination a,.mz-pagination span{min-width:34px;height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--mz-line);background:var(--mz-card);display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:var(--mz-text)}
.mz-pagination a:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-pagination .on{background:var(--mz-blue);border-color:var(--mz-blue);color:#fff;font-weight:600}
.mz-article{background:var(--mz-card);border:1px solid var(--mz-line);border-radius:var(--mz-radius);padding:26px 30px;box-shadow:var(--mz-shadow)}
.mz-article-head h1{font-size:27px;line-height:1.35;margin:0 0 12px;color:var(--mz-ink)}
.mz-article-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--mz-muted);padding-bottom:18px;border-bottom:1px solid var(--mz-line);margin-bottom:20px}
.mz-article-body{font-size:15px;line-height:1.9;color:#273449;word-break:break-word}
.mz-article-body p{margin:0 0 14px}
.mz-article-body h1,.mz-article-body h2,.mz-article-body h3,.mz-article-body h4{color:var(--mz-ink);line-height:1.4;margin:24px 0 10px}
.mz-article-body img,.mz-article-body video{border-radius:10px;margin:14px 0;max-width:100%;height:auto}
.mz-article-body blockquote{border-left:3px solid #bfdbfe;background:#f8fbff;margin:16px 0;padding:10px 16px;color:#475569;border-radius:0 8px 8px 0}
.mz-article-body pre{background:#0f172a;color:#e2e8f0;padding:14px 16px;border-radius:10px;overflow:auto;font-size:13px;line-height:1.6}
.mz-article-body code{background:#f1f5f9;padding:2px 5px;border-radius:4px;font-size:.92em}
/* Quill 2 代码块：编辑器输出的是 div.ql-code-block-container / div.ql-code-block */
.mz-article-body .ql-code-block-container{background:#0f172a;color:#e2e8f0;padding:14px 16px;border-radius:10px;overflow:auto;font-size:13px;line-height:1.6;margin:16px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;white-space:pre;tab-size:4;word-break:normal;overflow-wrap:normal}
.mz-article-body .ql-code-block{font-family:inherit;font-size:inherit;line-height:inherit;white-space:pre;min-height:1.6em}
.mz-article-body a{color:var(--mz-blue);text-decoration:underline}
.mz-article-actions{display:flex;gap:8px;margin-top:22px;padding-top:16px;border-top:1px solid var(--mz-line)}
.mz-comment-wrap{margin-top:20px}
.mz-comment-form textarea{width:100%;min-height:92px;resize:vertical;border:1px solid var(--mz-line);border-radius:10px;padding:12px 13px;font:inherit;font-size:13.5px;color:var(--mz-ink);outline:none;background:#fbfcfe}
.mz-comment-form textarea:focus{border-color:#bcd0f7;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.07)}
.mz-comment-form .mz-form-foot{display:flex;justify-content:flex-end;margin-top:9px}
.mz-comment{display:flex;gap:11px;padding:15px 0;border-bottom:1px solid var(--mz-line)}
.mz-comment:last-child{border-bottom:0}
.mz-comment-main{flex:1;min-width:0}
.mz-comment-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:var(--mz-muted)}
.mz-comment-name{font-weight:600;color:var(--mz-ink);font-size:13px}
.mz-comment-text{font-size:13.5px;color:#334155;margin-top:4px;word-break:break-word;white-space:pre-wrap}
.mz-related{margin-top:20px}
.mz-related h2{font-size:15px;color:var(--mz-ink);margin:0 0 8px}
.mz-related a{display:block;padding:7px 0;border-bottom:1px solid var(--mz-line);font-size:13px;color:var(--mz-text)}
.mz-related a:last-child{border-bottom:0}
.mz-related a:hover{color:var(--mz-blue)}
.mz-form-row{margin-bottom:14px}
.mz-label{display:block;font-size:12.5px;font-weight:600;color:var(--mz-ink);margin-bottom:6px}
.mz-input,.mz-select,.mz-textarea{width:100%;border:1px solid var(--mz-line);border-radius:9px;padding:9px 11px;font:inherit;font-size:13.5px;color:var(--mz-ink);background:#fbfcfe;outline:none}
.mz-input:focus,.mz-select:focus,.mz-textarea:focus{border-color:#bcd0f7;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.07)}
.mz-editor-wrap{background:var(--mz-card);border:1px solid var(--mz-line);border-radius:var(--mz-radius);padding:18px 20px;box-shadow:var(--mz-shadow)}
.mz-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.mz-editor-head h1{font-size:20px;margin:0;color:var(--mz-ink)}
.mz-editor-grid{display:grid;grid-template-columns:1fr 220px;gap:16px}
.mz-editor-main{min-width:0}
.mz-editor-side{display:flex;flex-direction:column;gap:14px}
.mz-quill{background:#fff;min-height:320px;font-size:14px}
.mz-editor-note{font-size:11.5px;color:var(--mz-muted);line-height:1.6;margin-top:8px}
.mz-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.mz-chat{display:flex;height:calc(100vh - 112px);min-height:520px;background:var(--mz-card);border:1px solid var(--mz-line);border-radius:var(--mz-radius);overflow:hidden;box-shadow:var(--mz-shadow)}
.mz-chat-side{width:280px;flex:none;border-right:1px solid var(--mz-line);display:flex;flex-direction:column;background:#fbfcfe}
.mz-chat-side-head{padding:14px 16px;border-bottom:1px solid var(--mz-line);display:flex;align-items:center;justify-content:space-between;gap:8px}
.mz-chat-side-head b{font-size:14px;color:var(--mz-ink)}
.mz-chat-side-tools{display:flex;gap:5px}
.mz-chat-side-scroll{flex:1;overflow:auto;padding:8px 8px 14px}
.mz-chat-group{margin-top:8px}
.mz-chat-group h4{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--mz-muted);margin:8px 9px 5px;font-weight:600}
.mz-chat-item{display:flex;align-items:center;gap:9px;padding:9px 9px;border-radius:9px;cursor:pointer;color:var(--mz-text);font-size:13px}
.mz-chat-item:hover{background:var(--mz-soft)}
.mz-chat-item.on{background:var(--mz-soft);color:var(--mz-blue);font-weight:600}
.mz-chat-item .mz-avatar-xs{width:28px;height:28px;font-size:11px}
.mz-chat-item .mz-chat-item-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-chat-item .mz-chat-item-tag{font-size:10px;color:var(--mz-muted)}
.mz-chat-main{flex:1;min-width:0;display:flex;flex-direction:column}
.mz-chat-head{height:56px;flex:none;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--mz-line);background:#fff}
.mz-chat.chatting .mz-chat-side{display:none}
.mz-chat.chatting .mz-chat-back{display:inline-flex}
.mz-chat-back{display:none;width:34px;height:34px;border:1px solid var(--mz-line);border-radius:8px;background:#fff;color:var(--mz-text);align-items:center;justify-content:center;cursor:pointer;padding:0}
.mz-chat-back svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
.mz-chat-title{font-weight:700;color:var(--mz-ink);font-size:14px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-chat-sub{font-size:11.5px;color:var(--mz-muted)}
.mz-chat-menu{display:flex;gap:5px}
.mz-chat-msgs{flex:1;overflow:auto;padding:18px 18px 8px;background:#f8fafd}
.mz-msg{display:flex;gap:9px;margin-bottom:14px;max-width:82%}
.mz-msg.me{margin-left:auto;flex-direction:row-reverse}
.mz-msg-body{min-width:0}
.mz-msg-name{font-size:11.5px;color:var(--mz-muted);margin-bottom:3px}
.mz-msg.me .mz-msg-name{text-align:right}
.mz-bubble{background:#fff;border:1px solid var(--mz-line);border-radius:3px 11px 11px 11px;padding:8px 11px;font-size:13.5px;color:#273449;line-height:1.65;word-break:break-word;white-space:pre-wrap}
.mz-msg.me .mz-bubble{background:var(--mz-blue);border-color:var(--mz-blue);color:#fff;border-radius:11px 3px 11px 11px}
.mz-bubble img,.mz-bubble video{max-width:280px;border-radius:8px;display:block}
.mz-msg-time{font-size:10.5px;color:var(--mz-muted);margin-top:3px}
.mz-chat-compose{border-top:1px solid var(--mz-line);background:#fff;padding:10px 12px}
.mz-chat-tools{display:flex;align-items:center;gap:6px;margin-bottom:7px}
.mz-chat-tools .mz-icon-btn{width:32px;height:32px;border-radius:8px}
.mz-chat-compose textarea{width:100%;min-height:52px;max-height:140px;resize:none;border:1px solid var(--mz-line);border-radius:9px;padding:9px 11px;font:inherit;font-size:13.5px;outline:none;background:#fbfcfe}
.mz-chat-compose textarea:focus{border-color:#bcd0f7;background:#fff}
.mz-chat-compose-foot{display:flex;justify-content:space-between;align-items:center;margin-top:7px;color:var(--mz-muted);font-size:11.5px}
.mz-chat-empty{flex:1;display:flex;align-items:center;justify-content:center;color:var(--mz-muted);font-size:13.5px;padding:24px;text-align:center}
.mz-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);display:none;align-items:center;justify-content:center;z-index:200;padding:16px}
.mz-modal.show{display:flex}
.mz-modal-box{width:420px;max-width:100%;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.24);padding:18px 20px}
.mz-modal-box h3{margin:0 0 14px;font-size:16px;color:var(--mz-ink)}
.mz-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.mz-admin-grid{display:grid;grid-template-columns:190px 1fr;gap:18px}
.mz-admin-side{background:var(--mz-card);border:1px solid var(--mz-line);border-radius:12px;padding:8px;height:max-content}
.mz-admin-side a{display:block;padding:9px 11px;border-radius:8px;font-size:13px;color:var(--mz-text)}
.mz-admin-side a:hover{background:var(--mz-soft);color:var(--mz-blue)}
.mz-admin-side a.on{background:var(--mz-soft);color:var(--mz-blue);font-weight:600}
.mz-admin-main{min-width:0}
.mz-table-wrap{overflow:auto;border:1px solid var(--mz-line);border-radius:12px;background:#fff}
.mz-table{width:100%;border-collapse:collapse;font-size:13px}
.mz-table th{background:#f8fafd;text-align:left;color:var(--mz-muted);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--mz-line);white-space:nowrap}
.mz-table td{padding:10px 12px;border-bottom:1px solid var(--mz-line);color:var(--mz-text);vertical-align:middle}
.mz-table tr:last-child td{border-bottom:0}
.mz-stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.mz-stat{background:#fff;border:1px solid var(--mz-line);border-radius:12px;padding:16px 18px}
.mz-stat b{display:block;font-size:24px;color:var(--mz-ink);line-height:1.2}
.mz-stat span{display:block;font-size:12px;color:var(--mz-muted);margin-top:3px}
.mz-user-head{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--mz-line);border-radius:var(--mz-radius);padding:22px;margin-bottom:18px}
.mz-user-head .mz-avatar-lg{width:72px;height:72px;border-radius:50%;background:var(--mz-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;overflow:hidden;flex:none}
.mz-avatar-lg img{width:100%;height:100%;object-fit:cover}
.mz-user-head h1{font-size:21px;margin:0;color:var(--mz-ink)}
.mz-user-head p{margin:4px 0 0;color:var(--mz-muted);font-size:13px}
.mz-tabs{display:flex;gap:6px;border-bottom:1px solid var(--mz-line);margin-bottom:14px;flex-wrap:wrap}
.mz-tabs a{padding:9px 12px;font-size:13px;color:var(--mz-muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.mz-tabs a.on{color:var(--mz-blue);border-bottom-color:var(--mz-blue);font-weight:600}
.mz-search-result{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--mz-line)}
.mz-search-result:last-child{border-bottom:0}
@media(max-width:960px){
  .mz-home-grid{grid-template-columns:1fr}
  .mz-editor-grid{grid-template-columns:1fr}
  .mz-chat-side{width:240px}
}
@media(max-width:760px){
  .mz-sidebar{position:fixed;left:0;top:64px;width:250px;height:calc(100vh - 64px);transform:translateX(-100%);transition:transform .2s;box-shadow:0 20px 60px rgba(15,23,42,.18)}
  .mz-shell.nav-open .mz-sidebar{transform:none}
  .mz-shell.collapsed .mz-sidebar{width:250px;padding:16px 12px;border-right:1px solid var(--mz-line)}
  .mz-topbar{padding:0 12px;gap:8px}
  .mz-brand span{display:none}
  .mz-search{max-width:none}
  .mz-content{padding:16px 12px 50px}
  .mz-title{font-size:22px}
  .mz-article{padding:18px 16px}
  .mz-article-head h1{font-size:22px}
  .mz-chat{height:calc(100vh - 88px);min-height:480px}
  .mz-chat-side{position:absolute;inset:0 auto 0 0;width:100%;z-index:2;border-right:0}
  .mz-chat.chatting .mz-chat-side{display:none}
  .mz-chat-back{display:inline-flex}
  .mz-admin-grid{grid-template-columns:1fr}
  .mz-admin-side{display:flex;overflow:auto;gap:3px}
  .mz-admin-side a{white-space:nowrap}
}


/* 蓝色按钮文字统一白色，避免被全局 a 颜色覆盖 */
body.mz-body a.mz-btn-primary,
body.mz-body a.mz-btn-primary:hover,
body.mz-body .mz-btn-primary,
body.mz-body .mz-btn-primary:hover,
body.mz-body .mz-plus,
body.mz-body .mz-plus:hover,
body.mz-body .mz-filter a.on,
body.mz-body .mz-pagination a.on,
body.mz-body .mz-pagination span.on{color:#fff !important}
body.mz-body a.mz-btn-primary:hover{background:var(--mz-blue-dark);border-color:var(--mz-blue-dark)}

/* 首页分类行 + 三栏精选布局 */
.home-cat-row{display:flex;align-items:center;gap:10px;margin:2px 0 18px;overflow-x:auto;scrollbar-width:none}
.home-cat-row::-webkit-scrollbar{display:none}
.home-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;align-items:start}
.home-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.home-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.home-panel{min-width:0}
.home-video-list{display:flex;flex-direction:column}
.home-video-row{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--mz-line);color:inherit}
.home-video-row:first-child{padding-top:0}
.home-video-row:last-child{border-bottom:0;padding-bottom:0}
.home-video-thumb{width:96px;height:54px;border-radius:7px;overflow:hidden;flex:none;background:linear-gradient(135deg,#dbeafe,#93c5fd)}
.home-video-thumb img{width:100%;height:100%;object-fit:cover}
.home-video-info{flex:1;min-width:0}
.home-video-title{font-size:13px;font-weight:600;color:var(--mz-ink);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:880px){.home-layout{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:760px){.home-layout{grid-template-columns:1fr}.home-side{display:flex}.home-panel .mz-card-pad{padding:14px 14px}}

.mz-chat-side-head{display:flex;align-items:center;gap:7px}
.mz-chat-search{flex:1;min-width:0;height:30px;border:1px solid var(--mz-line);border-radius:8px;background:var(--mz-bg);padding:0 9px;font-size:12px;color:var(--mz-ink);outline:none;font-family:inherit}
.mz-chat-search:focus{border-color:#bcd0f7;background:#fff}
.mz-chat-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;flex:none;background:var(--mz-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.mz-chat-avatar img{width:100%;height:100%;object-fit:cover}

.mz-chat-side-tools{position:relative;display:flex;gap:5px;flex:none}

/* ===== 交流页 v2：搜索、群通知、群身份与成员管理 ===== */
.mz-chat{position:relative}
.mz-chat-side-head{padding:12px 12px;gap:8px;align-items:center}
.mz-chat-search-box{flex:1;min-width:0;display:flex;align-items:center;gap:7px;height:36px;padding:0 11px;border:1px solid var(--mz-line);border-radius:10px;background:var(--mz-card);transition:border-color .15s,box-shadow .15s}
.mz-chat-search-box:focus-within{border-color:#bcd0f7;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.mz-chat-search-box svg{width:16px;height:16px;stroke:var(--mz-muted);fill:none;stroke-width:2;flex:none}
.mz-chat-side-head .mz-chat-search{flex:1;min-width:0;height:auto;border:0;background:transparent;padding:0;font-size:13px;color:var(--mz-ink);outline:none;font-family:inherit}
.mz-chat-side-head .mz-chat-search:focus{border:0;background:transparent;box-shadow:none}
.mz-chat-add{width:36px;height:36px;flex:none;border:1px solid var(--mz-blue);border-radius:10px;background:var(--mz-blue);color:#fff;font-size:21px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 2px;font-family:inherit}
.mz-chat-add:hover{background:var(--mz-blue-dark);border-color:var(--mz-blue-dark)}

.mz-chat-title-row{display:flex;align-items:center;gap:6px;min-width:0}
.mz-chat-title-row .mz-chat-title{flex:0 1 auto;min-width:0}
#mzChatRole{flex:none;display:flex}
.mz-chat-avatar,#mzChatTitle{cursor:pointer}
.mz-role-badge{display:inline-flex;align-items:center;padding:1px 6px;border-radius:5px;font-size:10px;font-weight:700;line-height:1.6;white-space:nowrap;vertical-align:middle}
.mz-role-badge.owner{background:#fef3c7;color:#b45309;border:1px solid #fde68a}
.mz-role-badge.admin{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe}
.mz-msg-name{display:flex;align-items:center;gap:5px}
.mz-msg.me .mz-msg-name{justify-content:flex-end}
.mz-chat-bell{position:relative;width:34px;height:34px;flex:none;border:1px solid var(--mz-line);border-radius:8px;background:#fff;color:var(--mz-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.mz-chat-bell:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-chat-bell svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mz-notify-badge{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--mz-red);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 2px #fff}

.mz-chat-joinbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid #fde68a;background:#fffbeb}
.mz-chat-joinbar-text{display:flex;flex-direction:column;font-size:12px;color:#92400e;gap:2px}
.mz-chat-joinbar-text b{font-size:13.5px;color:#78350f}

.mz-chat-notify{width:310px;flex:none;border-left:1px solid var(--mz-line);background:#fbfcfe;display:flex;flex-direction:column;min-height:0}
.mz-chat.notify-closed .mz-chat-notify{display:none}
.mz-notify-head{height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--mz-line);background:#fff}
.mz-notify-head b{font-size:14px;color:var(--mz-ink)}
.mz-notify-head button{width:28px;height:28px;border:0;background:none;color:var(--mz-muted);font-size:20px;line-height:1;cursor:pointer;font-family:inherit;border-radius:7px}
.mz-notify-head button:hover{background:var(--mz-soft);color:var(--mz-blue)}
.mz-notify-tabs{display:flex;gap:2px;padding:8px 10px 0;border-bottom:1px solid var(--mz-line);flex:none;background:#fff}
.mz-notify-tabs button{flex:1;border:0;background:none;padding:8px 2px;font:inherit;font-size:12px;color:var(--mz-muted);cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.mz-notify-tabs button.on{color:var(--mz-blue);border-bottom-color:var(--mz-blue);font-weight:700}
.mz-notify-tabs button span{display:inline-flex;min-width:15px;height:15px;padding:0 4px;margin-left:3px;border-radius:999px;background:var(--mz-red);color:#fff;font-size:9.5px;font-weight:700;align-items:center;justify-content:center;vertical-align:1px}
.mz-notify-tabs button span:empty{display:none}
.mz-notify-body{flex:1;overflow:auto;padding:4px 12px 16px}
.mz-notify-item{display:flex;gap:9px;padding:11px 0;border-bottom:1px solid var(--mz-line)}
.mz-notify-item:last-child{border-bottom:0}
.mz-notify-item .mz-avatar-sm{width:34px;height:34px;font-size:12px}
.mz-notify-main{flex:1;min-width:0}
.mz-notify-text{font-size:12.5px;line-height:1.6;color:var(--mz-text);word-break:break-word}
.mz-notify-text b{color:var(--mz-ink)}
.mz-notify-meta{font-size:10.5px;color:var(--mz-muted);margin-top:3px}
.mz-notify-actions{display:flex;gap:6px;margin-top:7px}
.mz-notify-actions .mz-btn{flex:1}
.mz-notify-empty,.mz-notify-loading{padding:34px 10px;text-align:center;font-size:12.5px;color:var(--mz-muted)}
.mz-status{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap;margin-left:3px}
.mz-status.ok{background:#ecfdf5;color:#047857}
.mz-status.no{background:#fef2f2;color:#b91c1c}
.mz-status.wait{background:#fff7ed;color:#c2410c}

.mz-chat-mini-btn{flex:none;font-size:10px;line-height:1.5;padding:2px 6px;border-radius:6px;border:1px solid var(--mz-line);background:#fff;color:var(--mz-muted);cursor:pointer;font-family:inherit}
.mz-chat-mini-btn:hover{border-color:#fecaca;color:var(--mz-red)}
.mz-chat-item .mz-role-badge{flex:none}
.mz-chat-item .mz-chat-item-tag{flex:none}

.mz-group-modal-box{width:620px;max-width:100%;max-height:86vh;overflow:auto}
.mz-group-info-head{display:flex;gap:13px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--mz-line)}
.mz-group-avatar{width:58px;height:58px;border-radius:15px;overflow:hidden;flex:none;background:linear-gradient(135deg,#dbeafe,#93c5fd);color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}
.mz-group-avatar img{width:100%;height:100%;object-fit:cover}
.mz-group-info-head h3{margin:0;font-size:18px;line-height:1.35;color:var(--mz-ink);word-break:break-word}
.mz-group-sub{font-size:12px;color:var(--mz-muted);margin-top:4px}
.mz-group-desc{font-size:12px;color:var(--mz-text);margin-top:6px;line-height:1.6}
.mz-group-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 2px}
.mz-group-section{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--mz-ink);margin:15px 0 11px}
.mz-group-section span{font-size:11px;font-weight:600;color:var(--mz-muted);background:var(--mz-soft);border-radius:999px;padding:1px 7px}
.mz-group-members{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:14px 6px}
.mz-group-member{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;text-align:center}
.mz-group-member-avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;flex:none;background:var(--mz-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}
.mz-group-member-avatar img{width:100%;height:100%;object-fit:cover}
.mz-group-member-name{font-size:11.5px;color:var(--mz-ink);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mz-group-member-role{min-height:17px}
.mz-group-member-actions{display:flex;flex-direction:column;gap:3px;width:100%;margin-top:2px}
.mz-group-member-actions button{font-size:10.5px;padding:2px 4px;border-radius:6px;border:1px solid var(--mz-line);background:#fff;color:var(--mz-text);cursor:pointer;font-family:inherit;line-height:1.5}
.mz-group-member-actions button:hover{border-color:#bcd0f7;color:var(--mz-blue)}
.mz-group-member-actions button.danger{color:var(--mz-red);border-color:#fecaca}
.mz-group-member-actions button.danger:hover{background:#fef2f2}

.mz-cover-pick{border:1.5px dashed var(--mz-line);border-radius:10px;min-height:108px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fbfcfe;overflow:hidden;transition:border-color .15s}
.mz-cover-pick:hover{border-color:#bcd0f7}
.mz-cover-pick img{width:100%;height:108px;object-fit:cover;display:block}
.mz-cover-pick span{font-size:12px;color:var(--mz-muted);text-align:center;padding:8px}
.mz-post-cover{width:104px;height:62px;border-radius:8px;overflow:hidden;flex:none;background:linear-gradient(135deg,#dbeafe,#93c5fd)}
.mz-post-cover img{width:100%;height:100%;object-fit:cover}
.mz-article-cover{margin:0 0 20px;border-radius:12px;overflow:hidden;background:#f1f5f9;max-height:420px}
.mz-article-cover img{width:100%;max-height:420px;object-fit:cover}

@media(max-width:1400px){
  .mz-chat-notify{position:absolute;top:0;right:0;bottom:0;z-index:4;width:320px;display:none;box-shadow:-12px 0 32px rgba(15,23,42,.14)}
  .mz-chat.notify-open .mz-chat-notify{display:flex}
  .mz-chat.notify-closed .mz-chat-notify{display:none}
}
@media(max-width:760px){
  .mz-chat-notify{width:100%}
  .mz-chat-menu{display:none}
  .mz-chat-side-head{padding:10px}
  .mz-chat-head{padding:0 10px;gap:7px}
  .mz-group-modal-box{width:100%;padding:16px}
  .mz-group-members{grid-template-columns:repeat(auto-fill,minmax(78px,1fr))}
  .mz-chat-joinbar{padding:10px 12px}
}
.mz-chat-side-bell{width:36px;height:36px;background:var(--mz-card)}

/* ===== 交流页视觉精修 ===== */
.mz-chat{box-shadow:0 1px 2px rgba(15,23,42,.03),0 10px 30px rgba(15,23,42,.05);border-color:#e3e9f2}
.mz-chat-side{background:#fcfdff}
.mz-chat-side-head{padding:13px 12px 12px}
.mz-chat-search-box{height:38px;border-radius:11px;background:#f6f8fc;border-color:transparent;box-shadow:inset 0 0 0 1px #e8edf5}
.mz-chat-search-box:focus-within{background:#fff;border-color:#c7d8f6;box-shadow:0 0 0 3px rgba(37,99,235,.07)}
.mz-chat-add{background:#fff;color:var(--mz-blue);border:1px solid #dce5f2;font-size:20px;font-weight:500}
.mz-chat-add:hover{background:#f3f7ff;border-color:#bfd3f5;color:var(--mz-blue-dark)}
.mz-chat-side-bell{background:#fff;border-color:#dce5f2;color:#7f8da3}
.mz-chat-side-bell:hover{color:var(--mz-blue);border-color:#bfd3f5;background:#f7faff}
.mz-chat-side-tools{gap:7px}

.mz-chat-group{margin-top:6px}
.mz-chat-group h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 8px 5px;padding:0 2px;font-size:11.5px;letter-spacing:0;text-transform:none;color:#8b98ac;font-weight:600}
.mz-chat-group h4 em{font-style:normal;font-size:10.5px;line-height:17px;font-weight:600;color:#9aa7ba;background:#f1f5fb;border-radius:999px;padding:0 6px}
.mz-chat-item{position:relative;gap:10px;padding:7px 9px;border-radius:10px;margin:1px 0}
.mz-chat-item:hover{background:#f4f7fc}
.mz-chat-item.on{background:#eef4ff}
.mz-chat-item.on::before{content:'';position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--mz-blue)}
.mz-chat-item-avatar{width:38px;height:38px;border-radius:12px;overflow:hidden;flex:none;background:linear-gradient(135deg,#e4edff,#c9dcff);color:#2f5fb3;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;letter-spacing:0}
.mz-chat-item-avatar.friend{border-radius:50%;background:linear-gradient(135deg,#e8f5f0,#c9e8dc);color:#1f7a5c}
.mz-chat-item-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mz-chat-item-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mz-chat-item-line{display:flex;align-items:center;gap:6px;min-width:0}
.mz-chat-item-name{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;font-weight:600;color:#223047}
.mz-chat-item-sub{font-size:11px;line-height:1.5;color:#93a0b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-chat-item .mz-role-badge{flex:none;font-size:9.5px;line-height:1.5;padding:0 5px;border-radius:4px;font-weight:700}
.mz-chat-item .mz-chat-item-tag{display:none}
.mz-chat-mini-btn{padding:2px 7px;font-size:10.5px;border-color:#e6ebf3}
.mz-chat-mini-btn:hover{background:#fdf2f2}

.mz-chat-head{height:58px;padding:0 14px;gap:9px;background:#fff}
.mz-chat-title{font-size:14.5px;font-weight:700;color:#1c2a40}
.mz-chat-sub{font-size:11px;color:#96a2b5;margin-top:1px}
.mz-chat-menu{display:flex;align-items:center;gap:5px}
.mz-chat-more{position:relative}
.mz-chat-more-btn{width:34px;height:34px;border:1px solid #e6ebf3;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:3px;cursor:pointer;padding:0}
.mz-chat-more-btn span{width:3px;height:3px;border-radius:50%;background:#7d8ba1;display:block}
.mz-chat-more-btn:hover{border-color:#c9d9f3;background:#f8fbff}
.mz-chat-more-pop{position:absolute;right:0;top:40px;min-width:132px;background:#fff;border:1px solid #e6ebf3;border-radius:10px;box-shadow:0 14px 36px rgba(15,23,42,.13);padding:5px;display:none;z-index:30}
.mz-chat-more-pop.show{display:block}
.mz-chat-more-pop button{display:block;width:100%;border:0;background:none;text-align:left;padding:7px 10px;border-radius:7px;font:inherit;font-size:12.5px;color:#344256;cursor:pointer;white-space:nowrap}
.mz-chat-more-pop button:hover{background:#f3f7fe;color:var(--mz-blue)}
.mz-chat-more-pop button.danger{color:#c23a3a}
.mz-chat-more-pop button.danger:hover{background:#fdf3f3}

.mz-chat-msgs{padding:20px 20px 10px;background:#f7f9fd}
.mz-chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;height:100%}
.mz-chat-welcome-icon{width:66px;height:66px;border-radius:20px;background:#edf3ff;color:#4d7fdc;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.mz-chat-welcome-icon svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mz-chat-welcome b{font-size:15px;font-weight:600;color:#25344b}
.mz-chat-welcome span{font-size:12px;color:#9aa6b8}
.mz-msg-name{gap:5px;font-size:11.5px;color:#8d99ab}
.mz-msg-name .mz-role-badge{font-size:9.5px;padding:0 5px}
.mz-bubble{border-color:#e8edf4;border-radius:4px 12px 12px 12px;box-shadow:0 1px 1px rgba(15,23,42,.02)}
.mz-msg.me .mz-bubble{background:#2f6bdc;border-color:#2f6bdc;border-radius:12px 4px 12px 12px}
.mz-chat-compose{background:#fff;padding:10px 14px 12px}
.mz-chat-compose textarea{border-color:#e4eaf3;background:#f8fafd;border-radius:10px}
.mz-chat-joinbar{background:#fbfaf3;border-top-color:#eee5c8}

.mz-chat-notify{width:300px;background:#fcfdff;border-left-color:#e6ebf3}
.mz-notify-head{height:58px;padding:0 14px;gap:8px}
.mz-notify-head b{font-size:14px;color:#213049}
.mz-notify-count{font-size:10.5px;font-weight:700;color:#c2410c;background:#fff4e8;border-radius:999px;padding:1px 7px;line-height:17px}
.mz-notify-head button{margin-left:auto;width:26px;height:26px;font-size:19px;color:#9aa6b8}
.mz-notify-body{padding:0 14px 18px}
.mz-notify-section{padding:0}
.mz-notify-section-head{display:flex;align-items:center;justify-content:space-between;padding:14px 2px 6px;font-size:11px;font-weight:700;color:#8c98ab;letter-spacing:.02em}
.mz-notify-section-head em{font-style:normal;font-size:10.5px;font-weight:600;color:#a3aec0;background:#f1f5fb;border-radius:999px;padding:0 6px;line-height:16px}
.mz-notify-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f7}
.mz-notify-item:last-child{border-bottom:0}
.mz-notify-avatar{width:34px;height:34px;border-radius:10px;overflow:hidden;flex:none;background:linear-gradient(135deg,#e4edff,#c9dcff);color:#2f5fb3;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px}
.mz-notify-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mz-notify-text{font-size:12.5px;line-height:1.55;color:#46556b;word-break:break-word}
.mz-notify-text b{color:#213049;font-weight:600}
.mz-notify-meta{font-size:10.5px;color:#9aa6b8;margin-top:2px}
.mz-notify-actions{display:flex;gap:6px;margin-top:7px}
.mz-notify-btn{border:1px solid #e4e9f1;background:#fff;border-radius:7px;padding:3px 11px;font:inherit;font-size:11.5px;line-height:1.6;color:#516074;cursor:pointer}
.mz-notify-btn:hover{background:#f6f9fe;border-color:#c9d9f3;color:var(--mz-blue)}
.mz-notify-btn.primary{background:#2f6bdc;border-color:#2f6bdc;color:#fff}
.mz-notify-btn.primary:hover{background:#255bc4;border-color:#255bc4;color:#fff}
.mz-notify-empty{padding:48px 16px;text-align:center;color:#9aa6b8;display:flex;flex-direction:column;gap:6px;align-items:center}
.mz-notify-empty b{font-size:13px;color:#6f7d92;font-weight:600}
.mz-notify-empty span{font-size:11.5px;line-height:1.6}
.mz-status{margin-left:4px;font-size:9.5px;padding:0 6px;line-height:16px}
.mz-notify-item .mz-avatar-sm{width:34px;height:34px}

.mz-role-badge.owner{background:#fdf4dd;color:#9a6b09;border-color:#f3e3b8}
.mz-role-badge.admin{background:#edf3ff;color:#2f60ba;border-color:#d8e4fb}
.mz-group-modal-box{border-radius:16px;padding:22px 24px}
.mz-group-info-head{gap:14px;padding-bottom:16px}
.mz-group-avatar{width:60px;height:60px;border-radius:16px}
.mz-group-actions{margin-top:14px}
.mz-group-members{gap:16px 6px}
.mz-group-member-actions button{font-size:10px;padding:2px 5px}
@media(max-width:1400px){
  .mz-chat-notify{background:#fff;box-shadow:-16px 0 40px rgba(15,23,42,.12)}
}
@media(max-width:760px){
  .mz-chat-msgs{padding:14px 12px 8px}
  .mz-chat-joinbar{padding:10px 12px}
  .mz-chat-head{height:54px}
}

/* 视频无封面时用首帧 */
.mz-thumb video.mz-thumb-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.home-video-thumb video.mz-thumb-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-video-thumb{position:relative}

/* ===== 交流页：申请列表主页 + 群信息侧栏 ===== */
.mz-chat-home{flex:1;min-height:0;overflow:auto;background:#f7f9fd;padding:22px 26px 34px}
.mz-chat-home .mz-notify-section{max-width:780px;margin:0 auto 15px;background:#fff;border:1px solid #e6ebf3;border-radius:14px;padding:2px 18px 10px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.mz-chat-home .mz-notify-section-head{padding:13px 2px 9px;border-bottom:1px solid #f0f3f8}
.mz-chat-home .mz-notify-item{padding:12px 0;align-items:flex-start}
.mz-chat-home .mz-notify-avatar{width:38px;height:38px;border-radius:11px}
.mz-chat-home .mz-notify-text{font-size:13px;color:#3f4e63}
.mz-chat-home .mz-notify-meta{font-size:11px;margin-top:3px}
.mz-chat-home .mz-notify-actions{margin-top:8px}
.mz-chat-home .mz-notify-btn{padding:3px 13px;font-size:12px}
.mz-chat-home .mz-notify-empty{max-width:780px;margin:0 auto;background:#fff;border:1px solid #e6ebf3;border-radius:14px;padding:60px 20px}
.mz-chat-home .mz-status{font-size:10px;line-height:18px}
.mz-chat-hamburger{width:34px;height:34px;border:1px solid #e6ebf3;background:#fff;border-radius:9px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;padding:0}
.mz-chat-hamburger span{display:block;width:14px;height:1.8px;border-radius:2px;background:#6f7d92}
.mz-chat-hamburger:hover{border-color:#c9d9f3;background:#f8fbff}
.mz-chat-hamburger:hover span{background:var(--mz-blue)}
.mz-chat-drawer{position:absolute;top:0;right:0;bottom:0;width:400px;max-width:100%;background:#fff;border-left:1px solid #e6ebf3;box-shadow:-16px 0 40px rgba(15,23,42,.12);transform:translateX(100%);visibility:hidden;transition:transform .2s ease,visibility .2s;z-index:40;display:flex;flex-direction:column}
.mz-chat.drawer-open .mz-chat-drawer{transform:none;visibility:visible}
.mz-chat-drawer-head{height:58px;flex:none;display:flex;align-items:center;gap:9px;padding:0 14px;border-bottom:1px solid #eef2f7}
.mz-chat-drawer-head b{font-size:14px;color:#213049}
.mz-chat-drawer-back{width:32px;height:32px;border:1px solid #e6ebf3;background:#fff;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#5b6a80}
.mz-chat-drawer-back svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mz-chat-drawer-back:hover{border-color:#c9d9f3;color:var(--mz-blue)}
.mz-chat-drawer-body{flex:1;overflow:auto;padding:18px 18px 30px}
.mz-drawer-group{display:flex;gap:14px;align-items:flex-start}
.mz-drawer-avatar{position:relative;width:64px;height:64px;border:0;border-radius:18px;overflow:hidden;flex:none;background:linear-gradient(135deg,#e4edff,#c9dcff);color:#2f5fb3;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;cursor:pointer;padding:0;font-family:inherit}
.mz-drawer-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mz-drawer-avatar span{position:absolute;left:0;right:0;bottom:0;background:rgba(15,23,42,.55);color:#fff;font-size:9.5px;line-height:17px;text-align:center}
.mz-drawer-group-meta{flex:1;min-width:0}
.mz-drawer-group-meta h3{margin:2px 0 4px;font-size:17px;color:#1e2c42;word-break:break-word}
.mz-drawer-name-row{display:flex;gap:7px;align-items:center;margin-top:2px}
.mz-drawer-name-input{flex:1;min-width:0;height:34px!important;font-size:13px!important;padding:0 9px!important;border-radius:8px!important;background:#f8fafd!important}
.mz-drawer-sub{font-size:11.5px;color:#93a0b4;margin-top:4px}
.mz-drawer-field{margin-top:14px;padding-top:13px;border-top:1px solid #eef2f7}
.mz-drawer-field label{display:block;font-size:11.5px;font-weight:600;color:#8b98ac;margin-bottom:6px}
.mz-drawer-desc-input{width:100%;resize:vertical;font-size:12.5px!important;line-height:1.6;background:#f8fafd!important}
.mz-drawer-text{font-size:12.5px;color:#526179;line-height:1.7;word-break:break-word}
.mz-drawer-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.mz-drawer-action{border:1px solid #e4e9f1;background:#fff;border-radius:8px;padding:6px 12px;font:inherit;font-size:12px;color:#526179;cursor:pointer}
.mz-drawer-action:hover{border-color:#c9d9f3;color:var(--mz-blue);background:#f8fbff}
.mz-drawer-action.primary{border-color:#c9d9f3;color:#2f60ba;background:#f4f8ff}
.mz-drawer-action.danger{color:#c23a3a;border-color:#f0d9d9}
.mz-drawer-action.danger:hover{background:#fdf4f4;border-color:#e9c4c4}
.mz-chat-drawer-body .mz-group-section{margin:20px 0 12px}
.mz-chat-drawer-body .mz-group-members{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:15px 5px}

.mz-chat-compose{position:relative}
.mz-mention-pop{position:absolute;left:14px;right:14px;bottom:100%;margin-bottom:7px;max-height:232px;overflow:auto;background:#fff;border:1px solid #e4eaf3;border-radius:12px;box-shadow:0 18px 44px rgba(15,23,42,.16);padding:5px;display:none;z-index:35}
.mz-mention-head{font-size:10.5px;color:#9aa6b8;padding:6px 9px 4px}
.mz-mention-item{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;padding:7px 9px;border-radius:8px;font:inherit;font-size:12.5px;color:#374559;cursor:pointer;text-align:left}
.mz-mention-item:hover,.mz-mention-item:focus{background:#f3f7fe;outline:none}
.mz-mention-avatar{width:26px;height:26px;border-radius:50%;overflow:hidden;flex:none;background:#dbeafe;color:#2f60ba;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.mz-mention-avatar img{width:100%;height:100%;object-fit:cover}
.mz-mention-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.mz-avatar-menu{position:fixed;display:none;z-index:300;background:#fff;border:1px solid #e4eaf3;border-radius:10px;box-shadow:0 16px 40px rgba(15,23,42,.16);padding:5px;min-width:112px}
.mz-avatar-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:7px 11px;border-radius:7px;font:inherit;font-size:12.5px;color:#3d4b60;cursor:pointer;white-space:nowrap}
.mz-avatar-menu button:hover{background:#f3f7fe;color:var(--mz-blue)}
.mz-msg-nudge{display:flex;justify-content:center;margin:2px 0 14px}
.mz-msg-nudge span{font-size:11px;color:#8b98ab;background:#edf1f7;border-radius:999px;padding:2px 10px;max-width:80%;text-align:center}
@media(max-width:760px){
  .mz-chat-home{padding:14px 12px 24px}
  .mz-chat-home .mz-notify-section{padding:0 13px 8px;border-radius:12px}
  .mz-chat-drawer{width:100%}
  .mz-chat-drawer-body{padding:16px 16px 26px}
}

/* 交流页：申请与通知入口 / 手机端主页 */
.mz-chat-home-entry{display:flex;align-items:center;gap:9px;margin:2px 8px 5px;padding:8px 9px;border:0;background:none;border-radius:9px;font:inherit;font-size:13px;color:#3f4e63;cursor:pointer;text-align:left}
.mz-chat-home-entry:hover{background:#f4f7fc;color:var(--mz-blue)}
.mz-chat-home-entry svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mz-chat-home-entry em{margin-left:auto;font-style:normal;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#fff1e6;color:#c2410c;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
.mz-chat-home-entry em:empty{display:none}
@media(max-width:760px){
  .mz-chat.show-home .mz-chat-side{display:none}
  .mz-chat.show-home .mz-chat-back{display:inline-flex}
}

/* ===== 群信息：整页右侧滑入菜单 ===== */
.mz-chat-main{position:relative}
.mz-chat-drawer{position:absolute;inset:0;width:100%;max-width:none;background:#f7f9fd;border-left:0;box-shadow:none;transform:translateX(100%);visibility:hidden;transition:transform .22s ease,visibility .22s;z-index:45;display:flex;flex-direction:column}
.mz-chat.drawer-open .mz-chat-drawer{transform:none;visibility:visible}
.mz-chat-drawer-head{height:58px;flex:none;display:flex;align-items:center;gap:9px;padding:0 16px;border-bottom:1px solid #e6ebf3;background:#fff}
.mz-chat-drawer-head b{font-size:14px;color:#213049}
.mz-chat-drawer-back{width:32px;height:32px;border:1px solid #e6ebf3;background:#fff;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#5b6a80}
.mz-chat-drawer-back svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mz-chat-drawer-back:hover{border-color:#c9d9f3;color:var(--mz-blue)}
.mz-chat-drawer-body{flex:1;overflow:auto;padding:22px 26px 40px;background:#f7f9fd}
.mz-chat-drawer-body .mz-drawer-group,.mz-chat-drawer-body .mz-drawer-field,.mz-chat-drawer-body .mz-drawer-actions,.mz-chat-drawer-body .mz-group-members{max-width:760px;margin-left:auto;margin-right:auto;background:#fff;border:1px solid #e6ebf3;border-radius:14px;padding:18px 20px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.mz-chat-drawer-body .mz-drawer-group{display:flex;gap:16px;align-items:flex-start}
.mz-chat-drawer-body .mz-drawer-field{margin-top:14px;padding-top:18px;border-top:1px solid #e6ebf3}
.mz-chat-drawer-body .mz-drawer-actions{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.mz-chat-drawer-body .mz-group-section{max-width:760px;margin:20px auto 10px;padding:0 4px}
.mz-chat-drawer-body .mz-group-members{padding:18px 20px;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:18px 8px}
.mz-chat-drawer-body .mz-drawer-avatar{width:68px;height:68px}
.mz-chat-drawer-body .mz-drawer-group-meta h3{font-size:18px}
.mz-chat-drawer-body .mz-drawer-sub{font-size:12px}
.mz-chat-drawer-body .mz-drawer-field label{margin-bottom:8px}
@media(max-width:760px){
  .mz-chat-drawer-body{padding:14px 12px 30px}
  .mz-chat-drawer-body .mz-drawer-group,.mz-chat-drawer-body .mz-drawer-field,.mz-chat-drawer-body .mz-drawer-actions,.mz-chat-drawer-body .mz-group-members{padding:15px 14px;border-radius:12px}
  .mz-chat-drawer-body .mz-drawer-group{flex-direction:column;align-items:center;text-align:center}
  .mz-chat-drawer-body .mz-drawer-group-meta{width:100%}
  .mz-chat-drawer-body .mz-drawer-name-row{justify-content:center}
  .mz-chat-drawer-body .mz-group-section{margin:16px auto 8px}
}

/* 用户主页加好友 */
.mz-user-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.mz-user-friend{display:inline-flex;align-items:center;padding:5px 12px;border-radius:8px;background:#ecfdf5;color:#047857;font-size:12.5px;font-weight:600}

.pub-row{flex-wrap:wrap}
.pub-row a{flex:1 1 120px}

/* ===== 顶栏漏斗分类菜单 ===== */
.mz-filter-wrap{position:relative;display:flex;flex:none}
.mz-filter-btn{background:var(--mz-card)}
.mz-filter-btn.on{background:var(--mz-soft);border-color:#bcd0f7;color:var(--mz-blue)}
.mz-filter-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mz-filter-menu{position:absolute;right:0;top:48px;width:232px;max-height:70vh;overflow:auto;background:#fff;border:1px solid #e4eaf3;border-radius:14px;box-shadow:0 18px 48px rgba(15,23,42,.16);padding:6px;display:none;z-index:130}
.mz-filter-menu.show{display:block}
.mz-filter-menu-head{font-size:11px;font-weight:600;color:#93a0b4;padding:7px 11px 5px;letter-spacing:.02em}
.mz-filter-menu a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;border-radius:8px;font-size:13px;color:#3c4a5f;text-decoration:none}
.mz-filter-menu a:hover{background:#f4f8ff;color:var(--mz-blue)}
.mz-filter-menu a.on{background:#eef4ff;color:var(--mz-blue);font-weight:600}
.mz-filter-menu a.on::after{content:'✓';font-size:11px;color:var(--mz-blue)}

/* ===== 全站细节统一 ===== */
html{scroll-behavior:smooth}
body.mz-body{font-size:14px;letter-spacing:.005em}
body.mz-body ::selection{background:#dbeafe}
.mz-card{border-radius:16px;border-color:#e7edf5;box-shadow:0 1px 2px rgba(15,23,42,.025),0 6px 18px rgba(15,23,42,.035)}
.mz-section-title{display:flex;align-items:center;gap:8px}
.mz-section-title::before{content:'';width:3px;height:15px;border-radius:3px;background:var(--mz-blue);flex:none}
.mz-btn:focus-visible,.mz-icon-btn:focus-visible,.mz-filter-btn:focus-visible,.mz-btn-primary:focus-visible{outline:2px solid #93b4f5;outline-offset:2px}
.mz-input:focus,.mz-select:focus,.mz-search input:focus{outline:none}
.mz-input,.mz-select{transition:border-color .15s,box-shadow .15s,background .15s}
.mz-input:focus,.mz-select:focus{border-color:#bcd0f7;box-shadow:0 0 0 3px rgba(37,99,235,.08);background:#fff}
.mz-btn{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}
.mz-btn-ghost:hover{background:#f7faff}
.mz-post-title{transition:color .15s}
.mz-video-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mz-video-card:hover{transform:translateY(-3px);border-color:#d8e4f7;box-shadow:0 14px 30px rgba(15,23,42,.08)}
.mz-thumb{background:linear-gradient(135deg,#1f3b73,#3f74ca)}
.mz-article{box-shadow:0 1px 2px rgba(15,23,42,.03),0 10px 30px rgba(15,23,42,.04)}
.mz-article-body p{margin:0 0 16px}
.mz-article-body img,.mz-article-body video{border-radius:10px}
.mz-pagination a,.mz-pagination span{transition:border-color .15s,background .15s,color .15s}
.mz-pagination a:hover{background:#f7faff}
.mz-flash{border-radius:10px}
.mz-tabs a{transition:color .15s,border-color .15s}
.mz-empty{color:#93a0b2}
.mz-user-head{background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px rgba(15,23,42,.025),0 6px 18px rgba(15,23,42,.035)}
.mz-user-head h1{margin:0 0 4px}
.mz-nav a{transition:background .15s,color .15s}
.mz-sidebar::-webkit-scrollbar,.mz-chat-side-scroll::-webkit-scrollbar,.mz-chat-msgs::-webkit-scrollbar,.mz-chat-home::-webkit-scrollbar,.mz-chat-drawer-body::-webkit-scrollbar{width:8px}
.mz-sidebar::-webkit-scrollbar-thumb,.mz-chat-side-scroll::-webkit-scrollbar-thumb,.mz-chat-msgs::-webkit-scrollbar-thumb,.mz-chat-home::-webkit-scrollbar-thumb,.mz-chat-drawer-body::-webkit-scrollbar-thumb{background:#dbe4f0;border-radius:8px}
.mz-sidebar::-webkit-scrollbar-track,.mz-chat-side-scroll::-webkit-scrollbar-track,.mz-chat-msgs::-webkit-scrollbar-track,.mz-chat-home::-webkit-scrollbar-track,.mz-chat-drawer-body::-webkit-scrollbar-track{background:transparent}
@media(max-width:760px){
  .mz-brand{display:none}
  .mz-search{min-width:0}
  .mz-topbar{gap:7px}
  .mz-actions{gap:6px}
  .mz-user-head{padding:16px 15px}
  .mz-filter-menu{width:220px}
}

/* 文章封面缩略图 */
.mz-post-cover.sm{width:84px;height:48px}
.my-item-link{display:flex;align-items:center;gap:10px}
.my-item-link>div{min-width:0}
.my-item-cover{width:66px;height:42px;border-radius:7px;overflow:hidden;flex:none;background:linear-gradient(135deg,#dbeafe,#93c5fd)}
.my-item-cover img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:760px){
  .mz-post-cover{width:84px;height:50px}
  .mz-post-cover.sm{width:68px;height:40px}
  .my-item-cover{width:54px;height:34px}
}
.my-item-text{flex:1;min-width:0;display:flex;flex-direction:column}

/* 正文附件链接 */
.mz-article-body a[href$='#mz-file']{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border:1px solid #dbe5f2;background:#f7faff;border-radius:8px;color:#2f60ba;text-decoration:none;font-weight:500;word-break:break-all}
.mz-article-body a[href$='#mz-file']:hover{background:#eef4ff;border-color:#bcd0f7;color:#1d4ed8}
.mz-article-body a[href$='#mz-file']::before{content:'附件';display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:4px;background:#e8f0ff;color:#2f60ba;font-size:10px;font-weight:700;margin-right:6px;flex:none}

/* 侧栏内收起按钮 */
/* 漏斗排序分组 */
.mz-filter-section{margin:9px 5px 3px;padding-top:8px;border-top:1px solid #eef2f7;font-size:10.5px;font-weight:600;color:#9aa6b8;letter-spacing:.02em}
.mz-chat-avatar svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* 侧栏内菜单按钮：收起后保留图标栏，按钮不消失 */
.mz-side-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mz-side-menu-btn{width:28px;height:28px;flex:none;border:1px solid var(--mz-line);background:#fff;border-radius:7px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;padding:0}
.mz-side-menu-btn span{display:block;width:12px;height:1.6px;border-radius:2px;background:#7f8da3}
.mz-side-menu-btn:hover{border-color:#c9d9f3;background:#f8fbff}
.mz-side-menu-btn:hover span{background:var(--mz-blue)}
@media(min-width:761px){
  .mz-menu-btn{display:none}
  .mz-shell.collapsed .mz-sidebar{width:60px;padding:10px 8px;overflow:hidden}
  .mz-shell.collapsed .mz-side-title{justify-content:center;padding:8px 0 6px}
  .mz-shell.collapsed .mz-side-title>span{display:none}
  .mz-shell.collapsed .mz-nav a span{display:none}
  .mz-shell.collapsed .mz-nav a{justify-content:center;padding:10px 0}
  .mz-shell.collapsed .mz-side-foot{display:none}
}
@media(max-width:760px){
  .mz-side-menu-btn{display:none}
}

/* 申请列表主页不再显示聊天标题栏 */
.mz-chat.home-view .mz-chat-head{display:none}
.mz-group-member-name{display:block;color:inherit;text-decoration:none}
.mz-group-member-name:hover{color:var(--mz-blue)}
.mz-group-member-avatar{text-decoration:none}
.mz-group-member-avatar:hover{box-shadow:0 0 0 3px rgba(37,99,235,.12)}

/* 交流页列表按钮 */
.mz-chat-list-btn{width:36px;height:36px;flex:none;border:1px solid #dce5f2;background:#fff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#5b6a80}
.mz-chat-list-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mz-chat-list-btn:hover{border-color:#bfd3f5;background:#f7faff;color:var(--mz-blue)}

/* 手机 / 平板底部导航 */
.mz-bottom-nav{display:none;position:fixed;left:0;right:0;bottom:0;z-index:95;height:calc(60px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--mz-line);padding:4px 4px env(safe-area-inset-bottom);box-sizing:border-box;backdrop-filter:blur(12px)}
.mz-bottom-nav a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;line-height:1.3;color:#8b98ac;text-decoration:none;padding:2px 0;border-radius:8px}
.mz-bottom-nav a.on{color:var(--mz-blue);font-weight:600;background:#eef4ff}
.mz-bottom-nav svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1024px){
  .mz-bottom-nav{display:flex}
  .mz-sidebar{display:none}
  .mz-menu-btn{display:none}
  .mz-brand{display:flex}
  .mz-brand span{display:none}
  .mz-content{padding-bottom:82px}
  .mz-chat{height:calc(100vh - 156px);min-height:400px}
}

/* 手机端申请列表页显示返回按钮 */
@media(max-width:760px){
  .mz-chat.home-view.show-home .mz-chat-head{display:flex}
  .mz-chat.home-view.show-home .mz-chat-avatar,
  .mz-chat.home-view.show-home .mz-chat-title-row,
  .mz-chat.home-view.show-home .mz-chat-sub,
  .mz-chat.home-view.show-home .mz-chat-menu{display:none}
  .mz-chat.home-view.show-home .mz-chat-back{display:inline-flex}
}
.mz-join-public-title{font-size:11.5px;font-weight:600;color:#8b98ac;margin:14px 0 4px;letter-spacing:.02em}
.mz-drawer-setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;font-size:12.5px;color:#526179}
.mz-drawer-setting-row .mz-select{max-width:190px;height:32px;font-size:12px}
.cmt-item .av img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.cmt-form img.av{object-fit:cover}

/* 聊天未读、@ 跳转 */
.mz-chat-unread{flex:none;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;margin-left:auto}
.mz-chat-item-sub.mention{color:#dc2626;font-weight:600}
.mz-chat-list-btn{position:relative}
.mz-chat-list-dot{position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:50%;background:#ef4444;border:2px solid #fff;display:none}
.mz-mention-jump{position:absolute;top:66px;right:18px;z-index:25;display:none;align-items:center;gap:6px;border:0;border-radius:999px;background:#ef4444;color:#fff;font:inherit;font-size:11.5px;font-weight:600;padding:5px 12px;cursor:pointer;box-shadow:0 4px 14px rgba(239,68,68,.3)}
.mz-mention-jump svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mz-msg-mentioned .mz-bubble{box-shadow:0 0 0 1px rgba(239,68,68,.35)}
.mz-msg-mention-flash .mz-bubble{background:#fef2f2;border-color:#fecaca}
.mz-msg.me.mz-msg-mention-flash .mz-bubble{background:#dc2626;border-color:#dc2626}

/* 弹幕细节 */
.dm-item{font-weight:600;line-height:1.25;user-select:none;letter-spacing:.01em}
.dm-item .dm-ops{white-space:nowrap}
.dm-bar-below{flex-wrap:wrap}
.dm-colors{flex-wrap:wrap;max-width:100%}
@media(max-width:768px){
  .dm-bar-below{gap:6px}
  .dm-colors{order:5;width:100%;justify-content:flex-start;padding:2px 0}
}
